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