@turnipxenon/pineapple 2.4.23 → 2.4.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/.idea/workspace.xml +63 -58
  2. package/.svelte-kit/__package__/index.d.ts +1 -1
  3. package/.svelte-kit/__package__/index.js +1 -1
  4. package/.svelte-kit/__package__/template/Seaweed/GameSection.svelte +207 -0
  5. package/.svelte-kit/__package__/template/Seaweed/GameSection.svelte.d.ts +17 -0
  6. package/.svelte-kit/__package__/template/Seaweed/ProjectSection.svelte +289 -0
  7. package/.svelte-kit/__package__/template/Seaweed/ProjectSection.svelte.d.ts +17 -0
  8. package/.svelte-kit/__package__/template/Seaweed/SeaweedTemplate.svelte +246 -0
  9. package/.svelte-kit/__package__/template/{SeaweedTemplate.svelte.d.ts → Seaweed/SeaweedTemplate.svelte.d.ts} +1 -0
  10. package/.svelte-kit/__package__/template/Seaweed/seaweed.postcss +133 -0
  11. package/.svelte-kit/ambient.d.ts +2 -0
  12. package/.svelte-kit/generated/server/internal.js +1 -1
  13. package/dist/index.d.ts +1 -1
  14. package/dist/index.js +1 -1
  15. package/dist/template/Seaweed/GameSection.svelte +207 -0
  16. package/dist/template/Seaweed/GameSection.svelte.d.ts +17 -0
  17. package/dist/template/Seaweed/ProjectSection.svelte +289 -0
  18. package/dist/template/Seaweed/ProjectSection.svelte.d.ts +17 -0
  19. package/dist/template/Seaweed/SeaweedTemplate.svelte +246 -0
  20. package/dist/template/{SeaweedTemplate.svelte.d.ts → Seaweed/SeaweedTemplate.svelte.d.ts} +1 -0
  21. package/dist/template/Seaweed/seaweed.postcss +133 -0
  22. package/package.json +1 -1
  23. package/src/lib/index.ts +1 -1
  24. package/src/lib/template/Seaweed/GameSection.svelte +213 -0
  25. package/src/lib/template/Seaweed/ProjectSection.svelte +298 -0
  26. package/src/lib/template/Seaweed/SeaweedTemplate.svelte +275 -0
  27. package/src/lib/template/Seaweed/seaweed.postcss +133 -0
  28. package/src/routes/(seaweed)/portfolio/+page.svelte +1 -1
  29. package/src/routes/(seaweed)/portfolio/actual/+page.svelte +4 -4
  30. package/.svelte-kit/__package__/template/SeaweedTemplate.svelte +0 -910
  31. package/dist/template/SeaweedTemplate.svelte +0 -910
  32. package/src/lib/template/SeaweedTemplate.svelte +0 -877
@@ -1,910 +0,0 @@
1
- <script>import SocialSection from "../components/SocialSection.svelte";
2
- export let letChaos = true;
3
- export let name = "Turnip";
4
- export let email = "turnipxenon@gmail.com";
5
- export let linkedinSlug = "turnip-xenon";
6
- import SeaweedBaseLayout from "../components/layouts/SeaweedBaseLayout.svelte";
7
- import { Accordion, AccordionItem, getModalStore } from "@skeletonlabs/skeleton";
8
- import { ItchLogoHotLink } from "../consts";
9
- import { page } from "$app/stores";
10
- import Card from "../components/Card.svelte";
11
- import Chip from "../components/Chip.svelte";
12
- import { onMount } from "svelte";
13
- import HeaderPengi from "../assets/temp/header-pengi.mp4";
14
- import HeaderSoulwork from "../assets/temp/header-soulwork.mp4";
15
- import HeaderHepCat from "../assets/temp/header-hep-cat.mp4";
16
- import HeaderChefWings from "../assets/game_dev/footage-chef-wings.gif";
17
- import ElementVisbilityDetector from "../components/ElementVisbilityDetector.svelte";
18
- import GithubIcon from "../assets/icons/github-mark.svg";
19
- import BitbucketIcon from "../assets/icons/bitbucket-icon.svg";
20
- import LinkIcon from "../assets/icons/link-icon.svg";
21
- import WeaverFootage from "../assets/others/weaver-footage.gif";
22
- import WindowSetGraph from "../assets/others/window-set.png";
23
- import ThisWebsiteFootage from "../assets/others/seaweed-showcase.mp4";
24
- const modalStore = getModalStore();
25
- let isVisible = true;
26
- $:
27
- isSocialsGone = !isVisible;
28
- const chefWingsWarning = {
29
- type: "confirm",
30
- title: "Warning: please confirm",
31
- body: `This will directly link to the game itself, since this game does not have any game page or any publicly viewable source code. The game is only playable on desktop. Are you sure you wish to proceed? If there are any bugs, please report at <a href='mailto:${email}' target='_blank'>${email}</a>.`,
32
- response: (r) => {
33
- if (r) {
34
- window.open("https://selk.io/birb-project/trunk/");
35
- }
36
- }
37
- };
38
- const cmput401Info = {
39
- type: "confirm",
40
- title: "Information",
41
- body: `As a full disclosure, this link will lead you to <a href='https://cmput401.ca/projects/e5b13586-09c7-4ddd-baf6-fdb078d23398' target='_blank'>https://cmput401.ca/projects/e5b13586-09c7-4ddd-baf6-fdb078d23398</a>. We currently don't have any tests yet ensuring that the link is correct. Click confirm to go to the site. Please report any bugs at <a href='mailto:${email}' target='_blank'>${email}</a>.`,
42
- response: (r) => {
43
- if (r) {
44
- window.open("https://cmput401.ca/projects/e5b13586-09c7-4ddd-baf6-fdb078d23398");
45
- }
46
- }
47
- };
48
- let qtfontWeight = "normal";
49
- let additionalFontWeight = "";
50
- const filterSearchParams = (searchParams) => {
51
- const qtValue = searchParams.get("qt")?.trim();
52
- if (qtValue === void 0) {
53
- qtfontWeight = "bold";
54
- return;
55
- }
56
- qtfontWeight = "normal";
57
- const dynamicStyle = qtValue.split(",").map((term) => {
58
- return `span.qt-${term} { font-weight: bold !important; }`;
59
- }).join("\n");
60
- const style = document.createElement("style");
61
- style.type = "text/css";
62
- style.innerText = dynamicStyle;
63
- document.head.appendChild(style);
64
- };
65
- const chaoticWordBank = ["niko", "toba", "seal", "aquarium", "ojisan", "baikal"];
66
- let chaosDone = false;
67
- const runChaos = (node) => {
68
- for (let child of Array.from(node.children)) {
69
- if (child.nodeType === Node.ELEMENT_NODE) {
70
- runChaos(child);
71
- for (const childOfChild of child.childNodes) {
72
- if (childOfChild.nodeType === Node.TEXT_NODE && childOfChild.textContent?.trim()) {
73
- const max = childOfChild.textContent.length;
74
- childOfChild.textContent = "";
75
- while (childOfChild.textContent.length < max) {
76
- childOfChild.textContent += chaoticWordBank[Math.floor(Math.random() * chaoticWordBank.length)] + " ";
77
- }
78
- }
79
- }
80
- if (child.hasAttribute("href")) {
81
- child.setAttribute("href", "https://crouton.net/");
82
- }
83
- if (child.hasAttribute("src") && !child.hasAttribute("aria-hidden")) {
84
- if (child.hasAttribute("alt")) {
85
- child.setAttribute("src", "https://p.potaufeu.asahi.com/a2b9-p/picture/21583312/5c3310aec77068e24844c663aa62b37c.jpg");
86
- } else {
87
- child.setAttribute("src", "https://video.twimg.com/ext_tw_video/1318728494256410624/pu/vid/640x360/TMklz6hiTkQu3xhn.mp4");
88
- child.setAttribute("muted", "true");
89
- }
90
- }
91
- if (child.tagName.trim() === "VIDEO") {
92
- child.setAttribute("src", "https://video.twimg.com/ext_tw_video/1318728494256410624/pu/vid/640x360/TMklz6hiTkQu3xhn.mp4");
93
- child.setAttribute("muted", "true");
94
- }
95
- if (child.tagName.trim() === "BUTTON") {
96
- child.setAttribute("disabled", "true");
97
- }
98
- }
99
- }
100
- };
101
- onMount(() => {
102
- if (!letChaos && $page.url.searchParams) {
103
- filterSearchParams($page.url.searchParams);
104
- }
105
- if (letChaos) {
106
- runChaos(document.body);
107
- chaosDone = true;
108
- }
109
- });
110
- let mainVisibility = "visible";
111
- $:
112
- mainVisibility = letChaos && !chaosDone ? "hidden" : "visible";
113
- </script>
114
-
115
- <SeaweedBaseLayout bind:shouldDisplayLeadingIcons={isSocialsGone}>
116
- <!-- todo: limit main size to 1080 px? -->
117
- <main style={`
118
- --qt-font-weight: ${qtfontWeight};${additionalFontWeight};
119
- visibility: ${mainVisibility};
120
- `}>
121
-
122
- <div class="experience-and-about-div">
123
-
124
- <div class="greater-about-div">
125
-
126
- <Card includeDataNoSnippet={false}>
127
- <section class="section-card" slot="content">
128
-
129
- <h1>About</h1>
130
-
131
- <p>
132
- Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
133
- trying to do everything in between required to make one. I have some showcased below, our visit
134
- my itch.io page for more of them.
135
- </p>
136
- <!-- todo: link the degree details idk -->
137
- <p>
138
- I also graduated with BS Computing Science, Specializing in Software Practice, and a
139
- certificate in Computer Game Development at University of Alberta.
140
- </p>
141
- <p>
142
- I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
143
- Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
144
- </p>
145
-
146
- <!-- todo: maybe put cute stuff here -->
147
- <!-- </ToggleableContent>-->
148
- </section>
149
- </Card>
150
-
151
- <Card>
152
- <section class="section-card" slot="content">
153
- <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
154
- <ElementVisbilityDetector bind:isVisible={isVisible}>
155
- </ElementVisbilityDetector>
156
- </section>
157
- </Card>
158
-
159
- </div>
160
-
161
- <Card>
162
- <section class="section-card" slot="content">
163
- <h1>Experience</h1>
164
-
165
- <h2>Software Engineer</h2>
166
- <div class="two-column-separated">
167
- <div>July 2023 – January 2024</div>
168
- <div style="text-align: end">Twitch, Remote</div>
169
- </div>
170
- <ul>
171
- <li>Contributed to <span class="qt-go">Golang</span> and <span class="qt-ts">Typescript</span> codebases,
172
- across several teams, to accommodate adjustments for public-facing user safety related features, to better
173
- comply with EU’s <a target="_blank"
174
- href="https://commission.europa.eu/strategy-and-policy/priorities-2019-2024/europe-fit-digital-age/digital-services-act/europe-fit-digital-age-new-online-rules-platforms_en">
175
- Digital Services Act</a>, also including feature flags, alarms, unit tests, end-to-end testing, and
176
- documentation
177
- </li>
178
- <li>Improved observability for upcoming features by setting up new <span class="qt-aws qt-infra">AWS</span>
179
- resources to integrate internal data platform tools with existing alarms in our team’s microservice,
180
- utilizing <span class="qt-aws qt-infra">Cloudwatch</span> and <span class="qt-aws qt-infra">Kinesis Data Stream</span>,
181
- while adhering to best practices for <span class="qt-aws qt-infra">AWS CDK</span> (infrastructure as code)
182
- </li>
183
- </ul>
184
- <br>
185
-
186
- <h2>Software Engineer Intern</h2>
187
- <div class="two-column-separated">
188
- <div>May 2022 – Aug 2022</div>
189
- <div style="text-align: end">Twitch, San Francisco</div>
190
- </div>
191
- <ul>
192
- <li>
193
- Built a <span class="qt-infra">load testing service</span> that can be configured to generate different
194
- message types at different volumes that can be easily extended to target different chat services
195
- </li>
196
- <li>
197
- Used Twitch’s set of custom tools, including Twitch’s custom RPC protocol, to create a backend
198
- service with business logic written in <span class="qt-go">Go</span> and cloud infrastructure utilizing
199
- <span
200
- class="qt-infra qt-aws">ECS on Fargate, Cloudwatch, and DynamoDB</span>
201
- , defined in <span class="qt-ts">Typescript</span>-flavored CDK
202
- </li>
203
- <li>
204
- Wrote a technical specification document for the service’s MVP and possible future features, and
205
- additional documentation on how to use the service and how to extend the load testing service to include
206
- new services to test
207
- </li>
208
- </ul>
209
- <br>
210
- <!-- todo: turn off flashing when accordion is expanded -->
211
- <Accordion>
212
- <AccordionItem>
213
- <div slot="summary">
214
- <h2 class="accordion-header">More experience</h2>
215
- </div>
216
- <svelte:fragment slot="content">
217
- <section class="more-section">
218
- {#if (!letChaos)}
219
- <h2>Software Engineer Intern</h2>
220
- <div class="two-column-separated">
221
- <div>May 2021 – Dec 2021</div>
222
- <div style="text-align: end">Twitch / Amazon Web Services Canada, Remote</div>
223
- </div>
224
- <ul>
225
- <li>
226
- Implemented and wrote tests for a feature in Twitch’s backend authentication
227
- systems and frontend web application that will help suggest security improvements to
228
- over hundreds of thousands of users daily
229
- </li>
230
- <li>
231
- Learned <span class="qt-go">Go</span>, <span class="qt-ts">Typescript</span>, <span
232
- class="qt-react">React</span>, and other new technologies on the go to contribute to
233
- the codebase
234
- </li>
235
- </ul>
236
- {:else}
237
- niko baikal seal from toba aquarium
238
- {/if}
239
- <br>
240
- </section>
241
- </svelte:fragment>
242
- </AccordionItem>
243
- </Accordion>
244
- </section>
245
- </Card>
246
-
247
- </div>
248
-
249
- <Card>
250
- <div class="section-card title-card" slot="content">
251
- <h1 class="text-center">Games</h1>
252
- </div>
253
- </Card>
254
-
255
- <section class="games-section">
256
-
257
- <Card>
258
- <section class="game-card" slot="content">
259
- <video playsinline autoplay muted loop preload="none">
260
- video unavailable. original video contains pengi gameplay showing the dynamic dialog
261
- layout and character animation.
262
- <source src={HeaderPengi} type="video/mp4">
263
- </video>
264
-
265
- <section class="game-card-body">
266
-
267
- <h1>Pengi</h1>
268
-
269
- <blockquote>
270
- Well well, quite the dreamer, aren’t you? Might be hard to get in... costs a lot of
271
- money...
272
- </blockquote>
273
-
274
- <p>
275
- Pengi is a text-based adventure made in <span class="qt-unity">Unity</span>. I acted as the sole
276
- programmer for the team. Most of the work revolves around UI and creating <a
277
- href="https://yarnspinner.dev/" target="_blank">YarnSpinner</a> commands for writers
278
- to use to create expressive stage directions in the script.
279
- </p>
280
-
281
- <section class="game-link-section">
282
- <button type="button" class="game-button turnip-button"
283
- role="link"
284
- title="https://github.com/GreenTea-M/ProjectPengi"
285
- on:click={()=> window.open("https://github.com/GreenTea-M/ProjectPengi")}>
286
- <img alt="github icon" src={GithubIcon}>
287
- </button>
288
- <button type="button" class="game-button turnip-button"
289
- role="link"
290
- title="https://turnipxenon.itch.io/pengi"
291
- on:click={()=> window.open("https://turnipxenon.itch.io/pengi")}>
292
- <img alt="itch.io icon" src={ItchLogoHotLink}>
293
- </button>
294
- </section>
295
- </section>
296
- </section>
297
- </Card>
298
-
299
- <Card>
300
- <section class="game-card" slot="content">
301
- <!-- todo: move the image crop a bit lower -->
302
- <video playsinline autoplay muted loop preload="none" id="hepcat-video">
303
- <source src={HeaderHepCat} type="video/mp4">
304
- </video>
305
-
306
- <section class="game-card-body">
307
-
308
- <h1>Hepcat</h1>
309
-
310
- <blockquote>
311
- "Cats, Jazz, and a little bit of Death. What more could anyone ask for?"
312
- </blockquote>
313
-
314
-
315
- <p>This is a course project made by a team of six for <a
316
- href="https://sites.google.com/ualberta.ca/cmput250/">CMPUT 250</a>, and it won <a
317
- href="https://webdocs.cs.ualberta.ca/~nathanst/certificate/">Game of the year.</a>
318
- </p>
319
-
320
- <p>
321
- Hep Cat is a rhythm game made in <a
322
- href="https://www.rpgmakerweb.com/products/programs/rpg-maker-mv" target="_blank" class="qt-rpgmaker">
323
- RPG Maker MV</a> with the help of additional custom-made <span class="qt-js">Javascript</span> plugins. I
324
- wrote the rhythm game plugin's framework. For this plugin to work, I
325
- had to write a <span class="qt-python">Python</span> script that parses osu! files into readable JSON
326
- files.
327
- </p>
328
-
329
-
330
- <section class="game-link-section">
331
- <button type="button" class="game-button turnip-button"
332
- role="link"
333
- title="https://bitbucket.org/egginchicken/hep-cat/src/master/"
334
- on:click={()=> window.open("https://bitbucket.org/egginchicken/hep-cat/src/master/")}>
335
- <img alt="bitbucket icon" src={BitbucketIcon}>
336
- </button>
337
- <button type="button" class="game-button turnip-button"
338
- role="link"
339
- title="https://just-a-phantom.itch.io/hep-cat"
340
- on:click={()=> window.open("https://just-a-phantom.itch.io/hep-cat")}>
341
- <img alt="itch.io icon" src={ItchLogoHotLink}>
342
- </button>
343
- </section>
344
- </section>
345
- </section>
346
- </Card>
347
-
348
- <Card>
349
- <section class="game-card" slot="content">
350
- <img src={HeaderChefWings} alt="todo" loading="lazy">
351
- <section class="game-card-body">
352
-
353
- <h1>Chef Wings</h1>
354
- <p>
355
- A “roguelite-lite” where you gather ingredients in a procedurally-generated dungeon and use
356
- them to cook for customers and then critics!
357
- </p>
358
- <p>
359
- I built and documented several of the game’s systems including the game state management
360
- system that extends <span class="qt-unity">Unity’s</span> existing Monobehavior lifecycle with new events,
361
- and the dialogue, event, and level systems that coordinate the game flow using the interactive
362
- dialogue tool YarnSpinner
363
- </p>
364
-
365
- <section class="game-link-section">
366
- <button type="button" class="game-button turnip-button"
367
- title="https://selk.io/birb-project/trunk/"
368
- on:click={()=>modalStore.trigger(chefWingsWarning)}>
369
- <img alt="itch.io icon" src={LinkIcon}>
370
- <span>selk.io/birb-project/trunk/</span>
371
- </button>
372
- </section>
373
- </section>
374
- </section>
375
- </Card>
376
- <Card>
377
- <section class="game-card" slot="content">
378
- <video playsinline autoplay muted loop preload="none">
379
- <source src={HeaderSoulwork} type="video/mp4">
380
- </video>
381
- <section class="game-card-body">
382
-
383
- <h1>Soulwork</h1>
384
-
385
- <p>
386
- Soulwork is a 2D platforming game that uses unique physics to solve puzzle-based levels.
387
- This project is a Time to Game Jam entry, restricting game development to be under 48
388
- hours.
389
- </p>
390
- <p>
391
- I helped make the level designing tools used by the designers to drag-and-drop objects
392
- on the stage. I also helped program the unique physics-based gameplay mechanic. This was
393
- was made in <span class="qt-unity">Unity</span> written using <span class="qt-cs">C#</span>.
394
- </p>
395
-
396
-
397
- <section class="game-link-section">
398
- <button type="button" class="game-button turnip-button"
399
- role="link"
400
- title="https://github.com/Zeyu-Li/Clockwork"
401
- on:click={()=> window.open("https://github.com/Zeyu-Li/Clockwork")}>
402
- <img alt="github icon" src={GithubIcon}>
403
- </button>
404
- <button type="button" class="game-button turnip-button"
405
- role="link"
406
- title="https://itch.io/jam/time-to-game-jam-gadec-fall-game-jam/rate/514331"
407
- on:click={()=> window.open("https://itch.io/jam/time-to-game-jam-gadec-fall-game-jam/rate/514331")}>
408
- <img alt="itch.io icon" src={ItchLogoHotLink}>
409
- </button>
410
- </section>
411
- </section>
412
- </section>
413
- </Card>
414
- <Card overrideStyle="align-self: flex-start;">
415
- <section class="game-card itch-promo" slot="content">
416
- <h1 class="mb-12 text-center">Check out my itch.io page for more games</h1>
417
-
418
- <section class="game-link-section">
419
- <button type="button" class="btn variant-filled-primary turnip-button"
420
- role="link"
421
- title="https://turnipxenon.itch.io/"
422
- on:click={() => window.open("https://turnipxenon.itch.io/")}>
423
- <img src={ItchLogoHotLink} class="long-btn-image" alt="itch icon">
424
- <span>TurnipXenon</span>
425
- </button>
426
- </section>
427
-
428
- </section>
429
- </Card>
430
- </section>
431
-
432
- <Card>
433
- <section class="section-card title-card" slot="content">
434
- <h1 class="text-center">Projects</h1>
435
- </section>
436
- </Card>
437
-
438
- <section class="projects-section">
439
- <Card>
440
- <section class="project-card" slot="content">
441
- <iframe id="migrante-alberta"
442
- width="560" height="315" src="https://www.youtube.com/embed/ZemWwf8jh8E?si=RZwSfYHI-0Ael-RE"
443
- title="YouTube video player" style="border: none"
444
- allowfullscreen></iframe>
445
- <div class="project-card-body">
446
- <!-- todo: add regression to see if page is gone: https://cmput401.ca/api/projects/e5b13586-09c7-4ddd-baf6-fdb078d23398 -->
447
-
448
- <h2>Migrante Alberta</h2>
449
- <p>We developed a mobile-first cross-platform application to be used by the Canadian-based
450
- Filipino non-profit advocacy group, Migrante Alberta, to help new immigrants navigate
451
- through local services and events
452
- </p>
453
- <p>
454
- <Chip>Flutter</Chip>
455
- <Chip>Dart</Chip>
456
- <Chip>Python</Chip>
457
- <Chip>Django</Chip>
458
- <Chip>Heroku</Chip>
459
- <Chip>Android</Chip>
460
- <Chip>Postgresql</Chip>
461
- </p>
462
- <!-- todo: add a way to ask what did i do via chat? -->
463
- <!-- <p>-->
464
- <!-- I helped make reusable Flutter components for the application’s frontend, Dart utility files to-->
465
- <!-- help ease writing and debugging calls to the backend, and a troubleshooting documentation-->
466
- <!-- for handling common issues-->
467
- <!-- </p>-->
468
- <!-- <p>-->
469
- <!-- Added Python unit tests to the backend endpoints, refactored the backend’s authentication-->
470
- <!-- system from plain text to using Django’s authentication system, and wrote a script to ease-->
471
- <!-- deployment to Heroku-->
472
- <!-- </p>-->
473
-
474
- <!-- todo: add tags with Dart, Flutter, Python, Django, Heroku, Android -->
475
-
476
- <section class="game-link-section">
477
- <button type="button" class="btn variant-filled-primary turnip-button"
478
- title="https://selk.io/birb-project/trunk/"
479
- on:click={() => modalStore.trigger(cmput401Info)}>
480
- <img src={LinkIcon} class="long-btn-image" alt="itch icon">
481
- <span>cmput401.ca</span>
482
- </button>
483
- </section>
484
-
485
- </div>
486
- </section>
487
- </Card>
488
-
489
- <Card>
490
- <section class="project-card" slot="content">
491
- <div class="project-card-body">
492
-
493
- <h2>Decentralized social media</h2>
494
-
495
- <p>We made a full stack decentralized social media app made with <span class="qt-react">React</span> +
496
- <span class="qt-js">Javascript</span> for the client code, <span class="qt-django">Django</span> + <span
497
- class="qt-python">Python</span> for the backend code, and <span class="qt-heroku">Heroku</span> for
498
- deployment. This project was made
499
- for
500
- our Web Applications and Architecture class.</p>
501
- <p>The application can connect with three other decentralized social media app in the same class:
502
- </p>
503
- <ul>
504
- <li>
505
- <a href="https://github.com/hgshah/cmput404-project/blob/main/docs/testing_other_teams.md#team-14"
506
- target="_blank">Also
507
- a social media with the same Django + Python backend server where they act on behalf of
508
- our users interacting with theirs</a></li>
509
- <li>
510
- <a href="https://github.com/hgshah/cmput404-project/blob/main/docs/testing_other_teams.md#team-7"
511
- target="_blank">A
512
- social media that uses Fast API + Python for their backend server</a></li>
513
- <li>
514
- <a href="https://github.com/hgshah/cmput404-project/blob/main/docs/testing_other_teams.md#team-12"
515
- target="_blank">Another
516
- social media that has Django + Python for their backend but we have to act on behalf of
517
- our
518
- users interacting with their users</a>
519
- </li>
520
- </ul>
521
-
522
- <!-- todo: add tags with Javascript, React, Python, Django, Heroku -->
523
-
524
- <section class="game-link-section">
525
- <button type="button" class="game-button turnip-button"
526
- role="link"
527
- title="https://github.com/hgshah/cmput404-project"
528
- on:click={() => window.open("https://github.com/hgshah/cmput404-project")}>
529
- <img src={GithubIcon} alt="github icon">
530
- </button>
531
- </section>
532
- </div>
533
- </section>
534
- </Card>
535
-
536
- <Card>
537
- <section class="project-card" slot="content">
538
- <img alt="Footage of a visual novel-like dynamic dialog interaction happening on the same page we are on"
539
- src={WeaverFootage} />
540
-
541
- <div class="project-card-body">
542
- <h2>Customized Yarnspinner interpreter and dialog runner</h2>
543
-
544
- A custom dialog interpreter, written in <span class="qt-ts">Typescript</span>, that tokenizes then
545
- transpiles custom Yarnspinner dialog into a <span class="qt-ts">Typescript</span> file. The said files can
546
- be used on a corresponding runner or library, also implemented alongside it, allowing the ability to play a
547
- custom-flavor of YarnSpinner dialogs on <span class="qt-svelte">Svelte</span>.
548
-
549
- <section class="game-link-section">
550
- <button type="button" class="game-button turnip-button"
551
- role="link"
552
- title="https://github.com/TurnipXenon/pineapple/blob/main/docs/PineappleFiberSpec.md"
553
- on:click={() => window.open("https://github.com/TurnipXenon/pineapple/blob/main/docs/PineappleFiberSpec.md")}>
554
- <img src={GithubIcon} alt="github icon">
555
- </button>
556
- </section>
557
- </div>
558
- </section>
559
- </Card>
560
-
561
- <Card>
562
- <section class="project-card" slot="content">
563
- <div class="project-card-body">
564
- <h2>Full-stack <span class="qt-c">C</span> app</h2>
565
-
566
- <p>
567
- A terminal-based app consisting of a server observing several terminal apps all concurrently
568
- sending updates to the server, which then broadcasts these information concurrently to all the
569
- other terminal apps connected.
570
- </p>
571
- <p>
572
- The project involves <span class="qt-foundation">multiprocessing</span> programming featuring pthreads and
573
- mutexes, and <span class="qt-foundation">networking</span> via sockets.
574
- </p>
575
-
576
- <section class="game-link-section">
577
- <button type="button" class="game-button turnip-button"
578
- role="link"
579
- title="https://github.com/TurnipXenon/C380-1Code/blob/main/Assignment02/DESIGN.md"
580
- on:click={() => window.open("https://github.com/TurnipXenon/C380-1Code/blob/main/Assignment02/DESIGN.md")}>
581
- <img src={GithubIcon} class="long-btn-image" alt="github icon">
582
- </button>
583
- </section>
584
- </div>
585
- </section>
586
- </Card>
587
-
588
- <Card>
589
- <section class="project-card" slot="content">
590
- <img
591
- alt="A graph that visualizes the number of memory pages made by Quicksort cached within the window set as
592
- time goes by. The trend appears to look like a damping harmonic motion that does not go below the zero line. More
593
- details include the data size being 200000 entries, each data point skips 1060174 data points, with a
594
- page size of 4096 bytes, and window size of 100000 bytes."
595
- src={WindowSetGraph} />
596
- <div class="project-card-body">
597
- <h2>Working set simulation</h2>
598
-
599
- <p>
600
- A <span class="qt-c">C</span> program that simulates the working set model based on the output of memory
601
- addresses
602
- <span class="qt-valgrind">valgrind</span> detects as being accessed by a program being ran. It's
603
- implemented using a nested hashmap <span class="qt-foundation">data structure</span> implemented from
604
- scratch. The working set is the collection of memory pages referenced by a program within a certain time
605
- frame. It comes with a report analyzing and benchmarking how memory allocation, between sorting <span
606
- class="qt-foundation">algorithms</span> heapsort, quicksort, and radixsort, is affected by the window set
607
- size, page size, and their input size.
608
- </p>
609
-
610
- <section class="game-link-section">
611
- <button type="button" class="game-button turnip-button"
612
- role="link"
613
- title="https://github.com/TurnipXenon/C380-1Code/blob/main/Assignment03/REPORT.pdf"
614
- on:click={() => window.open("https://github.com/TurnipXenon/C380-1Code/blob/main/Assignment03/REPORT.pdf")}>
615
- <img src={GithubIcon} class="long-btn-image" alt="github icon">
616
- <span>Benchmark report</span>
617
- </button>
618
- <button type="button" class="game-button turnip-button"
619
- role="link"
620
- title="https://github.com/TurnipXenon/C380-1Code/blob/main/Assignment03/DESIGN.md"
621
- on:click={() => window.open("https://github.com/TurnipXenon/C380-1Code/blob/main/Assignment03/DESIGN.md")}>
622
- <img src={GithubIcon} class="long-btn-image" alt="github icon">
623
- <span>Design</span>
624
- </button>
625
- </section>
626
- </div>
627
- </section>
628
- </Card>
629
-
630
- <Card>
631
- <section class="project-card" slot="content">
632
-
633
- <video playsinline autoplay muted loop preload="none">
634
- <source src={ThisWebsiteFootage} type="video/mp4">
635
- video unavailable. original video contains clips of this website being resized and light-dark mode being
636
- toggled.
637
- </video>
638
- <div class="project-card-body">
639
- <h2>This webpage!</h2>
640
-
641
- <p>
642
- The webpage is made of two parts. The webpage that has the content for everything here, I've
643
- lovingly called Seaweed. I kept seaweed as a private package. On the other hand, the base package which I
644
- want to use for all spin offs of my websites is called Pineapple and have kept that codebase public.
645
- </p>
646
-
647
- <p>
648
- <Chip>Svelte</Chip>
649
- <Chip>Skeleton (Svelte UI library)</Chip>
650
- <Chip>Typescript</Chip>
651
- <Chip>Vercel</Chip>
652
- <Chip>YarnSpinner</Chip>
653
- </p>
654
-
655
- <section class="game-link-section">
656
- <button type="button" class="btn variant-filled-primary turnip-button"
657
- role="link"
658
- title="https://github.com/TurnipXenon/pineapple"
659
- on:click={() => window.open("https://github.com/TurnipXenon/pineapple")}>
660
- <img src={GithubIcon} class="long-btn-image" alt="github icon">
661
- </button>
662
- </section>
663
- </div>
664
- </section>
665
- </Card>
666
-
667
- <Card>
668
- <section class="project-card" slot="content">
669
- <div class="project-card-body">
670
- <h2>Mock Uber App</h2>
671
-
672
- <p>A course project app meant to emulate how Uber works by playing with <span class="qt-google">Google Maps API</span>.
673
- </p>
674
- <p>
675
- I implemented all interfaces related to the NoSQL cloud database <span
676
- class="qt-firebase qt-google qt-infra">Firebase</span>, making writing code easier for other programmers (<span
677
- class="qt-android">Android</span> / <span class="qt-java">Java</span>). I also wrote documentation to said
678
- code and added instrumented tests that are tested by the continuous integration tool <span
679
- class="qt-infra">Travis CI</span>, ensuring that our code is tested
680
- </p>
681
-
682
- <section class="game-link-section">
683
- <!-- todo: mock uber app find link -->
684
- <button type="button" class="game-button turnip-button"
685
- role="link"
686
- title="https://github.com/CMPUT301W20T10/UberApp"
687
- on:click={() => window.open("https://github.com/CMPUT301W20T10/UberApp")}>
688
- <img src={GithubIcon} class="long-btn-image" alt="github icon">
689
- </button>
690
- </section>
691
- </div>
692
- </section>
693
- </Card>
694
-
695
- </section>
696
-
697
- </main>
698
-
699
- <SocialSection slot="extraLeadingIcons"
700
- isSlot={true}
701
- email={email}
702
- linkedinSlug={linkedinSlug}
703
- isSmallVersion={true}></SocialSection>
704
- </SeaweedBaseLayout>
705
-
706
- <style>
707
- main {
708
- width: 100%;
709
- overflow: visible;
710
- display: flex;
711
- flex-direction: column;
712
- justify-content: center;
713
- align-items: center;
714
- }
715
-
716
- h1 {
717
- font-size: 2em;
718
- }
719
-
720
- h2 {
721
- font-size: 1.5em;
722
- }
723
-
724
- .section-card {
725
- padding: 3em;
726
- max-width: 800px;
727
- }
728
-
729
- .game-card, .project-card {
730
- width: 100vw;
731
- max-width: 36em;
732
- margin-bottom: 3em;
733
- }
734
-
735
- .game-card > video {
736
- border-top-left-radius: 1em;
737
- border-top-right-radius: 1em;
738
- max-height: 24em;
739
- width: 100%;
740
- -o-object-fit: cover;
741
- object-fit: cover;
742
- }
743
-
744
- #migrante-alberta, .game-card > img, .project-card > img {
745
- border-top-left-radius: 1em;
746
- border-top-right-radius: 1em;
747
- }
748
-
749
- #migrante-alberta {
750
- width: 100%;
751
- -o-object-fit: cover;
752
- object-fit: cover;
753
- }
754
-
755
- :is(.dark .game-button) {
756
- --tw-bg-opacity: 1;
757
- background-color: rgb(var(--color-primary-500) / var(--tw-bg-opacity));
758
- color: rgb(var(--on-primary));
759
- }
760
-
761
- .game-button:disabled {
762
- cursor: not-allowed;
763
- opacity: 0.5;
764
- }
765
-
766
- .game-button:disabled:hover {
767
- --tw-brightness: brightness(1);
768
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
769
- }
770
-
771
- .game-button:disabled:active {
772
- --tw-scale-x: 1;
773
- --tw-scale-y: 1;
774
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
775
- }
776
-
777
- .game-button {
778
- font-size: 1rem;
779
- line-height: 1.5rem;
780
- padding-left: 1.25rem;
781
- padding-right: 1.25rem;
782
- padding-top: 9px;
783
- padding-bottom: 9px;
784
- white-space: nowrap;
785
- text-align: center;
786
- display: inline-flex;
787
- align-items: center;
788
- justify-content: center;
789
- transition-property: all;
790
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
791
- transition-duration: 150ms;
792
- border-radius: var(--theme-rounded-base);
793
- }
794
-
795
- .game-button > :not([hidden]) ~ :not([hidden]) {
796
- --tw-space-x-reverse: 0;
797
- margin-right: calc(0.5rem * var(--tw-space-x-reverse));
798
- margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
799
- }
800
-
801
- .game-button:hover {
802
- --tw-brightness: brightness(1.15);
803
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
804
- }
805
-
806
- .game-button:active {
807
- --tw-scale-x: 95%;
808
- --tw-scale-y: 95%;
809
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
810
- --tw-brightness: brightness(.9);
811
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
812
- }
813
-
814
- .game-button {
815
- --tw-bg-opacity: 1;
816
- background-color: rgb(var(--color-primary-500) / var(--tw-bg-opacity));
817
- color: rgb(var(--on-primary));
818
- }
819
-
820
- :is(.dark .game-button) {
821
- --tw-bg-opacity: 1;
822
- background-color: rgb(var(--color-primary-500) / var(--tw-bg-opacity));
823
- color: rgb(var(--on-primary));
824
- }
825
-
826
- .game-button > img {
827
- max-height: 1lh;
828
- /* todo: consider night mode day mode */
829
- }
830
-
831
- .two-column-separated {
832
- display: flex;
833
- justify-content: space-between;
834
- }
835
-
836
- .more-section {
837
- padding: 1em;
838
- }
839
-
840
- .greater-about-div {
841
- display: flex;
842
- flex-direction: column;
843
- max-width: 36em;
844
- }
845
-
846
- .experience-and-about-div {
847
- display: flex;
848
- gap: 2em;
849
- flex-wrap: wrap;
850
- justify-content: center;
851
- align-items: flex-start;
852
- }
853
-
854
- .game-card-body, .project-card-body {
855
- padding: 1em;
856
- }
857
-
858
- .game-card-body > blockquote {
859
- margin-bottom: 0.7lh;
860
- }
861
-
862
- .game-card-body > h1, .project-card-body > h2 {
863
- text-align: center;
864
- }
865
-
866
- .game-link-section {
867
- display: flex;
868
- flex-direction: row;
869
- justify-content: center;
870
- gap: 1em;
871
- margin-top: 1em;
872
- }
873
-
874
- .games-section, .projects-section {
875
- display: flex;
876
- flex-wrap: wrap;
877
- gap: 2em;
878
- justify-content: center;
879
- }
880
-
881
- .projects-section {
882
- align-items: flex-start;
883
- /*justify-content: flex-start;*/
884
- }
885
-
886
- .long-btn-image {
887
- max-height: 1lh;
888
- }
889
-
890
- .itch-promo {
891
- padding: 4em;
892
- }
893
-
894
- #hepcat-video {
895
- -o-object-position: 0 0;
896
- object-position: 0 0;
897
- }
898
-
899
- .title-card {
900
- width: clamp(360px, 80vw, 800px);
901
- }
902
-
903
- [class*='qt-'] {
904
- font-weight: var(--qt-font-weight);
905
- }
906
-
907
- .accordion-header {
908
- margin-top: 0.25em;
909
- }
910
- </style>