chore: run fmt

This commit is contained in:
eggy 2023-10-25 21:00:11 -04:00
parent e26e2cbeb2
commit 1ab736b2d5
3 changed files with 327 additions and 763 deletions

View File

@ -5,28 +5,23 @@
#let color = rgb("#ff983e") #let color = rgb("#ff983e")
#let name = "Daniel Chen" #let name = "Daniel Chen"
#let contact_data = ( #let contact_data = ((
( service: fa[#globe],
service: fa[#globe], display: "eggworld.me",
display: "eggworld.me", link: "https://eggworld.me",
link: "https://eggworld.me" ), (
), service: fa[#github],
( display: "github.com/potatoeggy",
service: fa[#github], link: "https://github.com/potatoeggy",
display: "github.com/potatoeggy", ), (
link: "https://github.com/potatoeggy" service: fa[#linkedin],
), display: "linkedin.com/in/potatoeggy",
( link: "https://www.linkedin.com/in/potatoeggy/",
service: fa[#linkedin], ), (
display: "linkedin.com/in/potatoeggy", service: fa[#envelope],
link: "https://www.linkedin.com/in/potatoeggy/" display: "d7chen@uwaterloo.ca",
), link: "mailto://d7chen@uwaterloo.ca",
( ),)
service: fa[#envelope],
display: "d7chen@uwaterloo.ca",
link: "mailto://d7chen@uwaterloo.ca"
),
)
#show: doc => template(name, contact_data, color, doc) #show: doc => template(name, contact_data, color, doc)
@ -35,87 +30,131 @@
= Skills = Skills
#indent[ #indent[
*Languages:* Python, TypeScript/JavaScript, Rust, SQL, C++, Java, HTML, CSS \ *Languages:* Python, TypeScript/JavaScript, Rust, SQL, C++, Java, HTML, CSS \
*Frameworks:* Node.js, Express, React, Next.js, Vue, Flutter, Qt, Prisma, Apollo, Axum \ *Frameworks:* Node.js, Express, React, Next.js, Vue, Flutter, Qt, Prisma,
*Tools:* Linux, Git, Docker, PostgreSQL, Redis, Kubernetes, AWS, GCP, OpenTelemetry, GraphQL Apollo, Axum \
*Tools:* Linux, Git, Docker, PostgreSQL, Redis, Kubernetes, AWS, GCP,
OpenTelemetry, GraphQL
] ]
= Experience = Experience
#indent[ #show link: underline
#work_entry(
"Software Engineering Intern",
"Dropbase",
start_date: "May 2023", end_date: "Aug 2023",
location: "Remote",
tasks: (
[Automated synchronising Airtable and HubSpot APIs with Google Sheets via *AWS Lambda*],
[Engineered a *heuristic algorithm* to guarantee *SQL* aliases referenced in queries match the database schema],
[Refactored the frontend to use *react-hook-form* to aggregate and validate user input, improving DX],
[Built a service for *importing and validating CSV/Excel* files from personalised email addresses into databases],
)
)
#work_entry( #indent[
"Backend Developer", #work_entry(
"Techyon", "Software Engineering Intern",
start_date: "Mar 2023", end_date: "present", "Dropbase",
location: "Waterloo, ON", start_date: "May 2023",
tasks: ( end_date: "Aug 2023",
[Integrated *OpenTelemetry* and Grafana in a *Kubernetes* cluster to collect traces and improve observability], location: "Remote",
[Dynamically generated user-specific *Apple Wallet* passes over *Apollo GraphQL* Server to streamline check-in], tasks: (
[Automated judge-to-hacker matching and scheduling with a custom algorithm based on their preferences], [Developed a *FastAPI backend* to sync HubSpot and Airtable data with Google
[Horizontally scaled the *Node.js* server to handle *1000+ concurrent users* with *Redis* and *Kubernetes*], Sheets via *AWS Lambda*],
[Engineered a *heuristic algorithm* to guarantee *SQL* aliases referenced in
queries match the database schema],
[Refactored the frontend to use *react-hook-form* to aggregate and validate user
input, improving DX],
[Built a #link("https://dropmail.dev")[service] for *validating and importing
CSV/Excel* files from customer emails into client databases],
),
)
#work_entry(
"Backend Developer",
"Techyon",
start_date: "Mar 2023",
end_date: "present",
location: "Waterloo, ON",
tasks: (
[Horizontally scaled the *Node.js* server to handle *1000+ concurrent users* with
*Redis* and *Kubernetes*],
[Automated judge-to-hacker matching and scheduling with a custom algorithm based
on their preferences],
[Integrated *OpenTelemetry* and Grafana in a *Kubernetes* cluster to collect
traces and improve observability],
[Dynamically generated user-specific *Apple Wallet* passes over *Apollo GraphQL*
Server to streamline check-in],
),
) )
)
] ]
= Projects = Projects
#set strong(delta: SMALL_STRONG) #set strong(delta: SMALL_STRONG)
#indent[ #indent[
#project("Mandown Comic Converter", "https://github.com/potatoeggy/mandown", "Python, Qt") #project(
- Created a CLI and GUI to scrape, download, and convert webcomics into e-ink-optimised ebooks (EPUB, PDF) "Mandown Comic Converter",
- Designed an *intermediate representation* to store metadata and images as a standardised conversion target "https://github.com/potatoeggy/mandown",
- Implemented *image caching and multiprocessing* to increase download and update speeds by *300%* "Python, Qt",
- Minimised regressions between release cycles by writing *unit and integration tests* with 55% code coverage )
- Created a CLI and GUI to scrape, download, and convert webcomics into
e-ink-optimised ebooks (EPUB, PDF)
- Designed an *intermediate representation* to store metadata and images as a
standardised conversion target
- Implemented *image caching and multiprocessing* to increase download and update
speeds by *300%*
- Minimised regressions between release cycles by writing *unit and integration
tests* with 55% code coverage
#project(
"Primoprod Genshin Simulator",
"https://github.com/potatoeggy/primoprod",
"Vue, TypeScript",
)
- Built an interactive, realistic, and beautiful game simulator with fluid
animations based off a popular game
- Constructed an *extensible JSON data schema* to let the user dynamically switch
between game versions
#project("Primoprod Genshin Simulator", "https://github.com/potatoeggy/primoprod", "Vue, TypeScript") // #project("Kobink — Kobo Sync Server", "https://github.com/potatoeggy/kobink", "Rust, Axum, Postgres")
- Built an interactive, realistic, and beautiful game simulator with fluid animations based off a popular game // - ??? something here (reverse engineering)
- Constructed an *extensible JSON data schema* to let the user dynamically switch between game versions // - ??? something here (synchronisation and DB, HTTP headers)
// #project("Kobink — Kobo Sync Server", "https://github.com/potatoeggy/kobink", "Rust, Axum, Postgres") #project(
// - ??? something here (reverse engineering) "RecipeReady Recipe Aggregator",
// - ??? something here (synchronisation and DB, HTTP headers) "https://github.com/vincentjguo/recipeready-server",
"Flutter, Selenium, FastAPI, Android",
)
- Developed a *Flutter app* to generate recipes based on ingredients and filters
through a FastAPI server
- Scraped thousands of websites for recipes to build a database with a robust
*many-to-many tag system*
- Aggregated common ingredients heuristically to build a shopping list and a meal
plan for each week
#project("RecipeReady Recipe Aggregator", "https://github.com/vincentjguo/recipeready-server", "Flutter, Selenium, FastAPI, Android") #project(
- Developed a *Flutter app* to generate recipes based on ingredients and filters through a FastAPI server "Box Box Revolution",
- Scraped thousands of websites for recipes to build a database with a robust *many-to-many tag system* "https://github.com/potatoeggy/boxboxrevolution",
- Aggregated common ingredients heuristically to build a shopping list and a meal plan for each week "Rust, STM32",
)
#project("Box Box Revolution", "https://github.com/potatoeggy/boxboxrevolution", "Rust, STM32") - Created a rhythm game to detect punches with an ultrasonic sensor in line wth
- Created a rhythm game to detect punches with an ultrasonic sensor in line wth notes of popular songs notes of popular songs
- Developed firmware to measure from an ultrasonic sensor, tone a buzzer, and show scrolling notes on an LCD - Developed firmware to measure from an ultrasonic sensor, tone a buzzer, and show
scrolling notes on an LCD
] ]
= Awards = Awards
#show link: underline #show link: underline
- Winner of the #link("https://github.com/anyuan-chen/resketch")[EdTech] prize at StormHacks 2022 from 350+ participants - Winner of the #link("https://github.com/anyuan-chen/resketch")[EdTech] prize at
- Winner of the #link("https://github.com/anyuan-chen/perdiem")[IBM Open Source] prize at YRHacks 2022 from 90+ participants StormHacks 2022 from 350+ participants
- Winner of the #link("https://github.com/anyuan-chen/perdiem")[IBM Open Source] prize
at YRHacks 2022 from 90+ participants
= Education = Education
#indent[ #indent[
#work_entry( #work_entry(
"University of Waterloo", "University of Waterloo",
"B.A.Sc. in Computer Engineering", "B.A.Sc. in Computer Engineering",
start_date: "Sep 2022", end_date: "Apr 2027 (expected)", start_date: "Sep 2022",
location: "Waterloo, ON", end_date: "Apr 2027 (expected)",
tasks: ( location: "Waterloo, ON",
[Courses: Object-oriented programming, data structures & algorithms, digital computers & circuits], tasks: (
[Courses: Object-oriented programming, data structures & algorithms, digital
computers & circuits],
),
) )
)
] ]

File diff suppressed because it is too large Load Diff

89
lib.typ
View File

@ -23,10 +23,7 @@
} }
#let indent(content) = { #let indent(content) = {
block( block(inset: (left: 1em, right: 0.5em), content)
inset: (left: 1em, right: 0.5em),
content
)
} }
// General entry that is split into a left and right half (for experience and education). // General entry that is split into a left and right half (for experience and education).
@ -34,30 +31,32 @@
stack( stack(
dir: ttb, dir: ttb,
spacing: 0.9em, spacing: 0.9em,
grid( grid(columns: (11fr, 6fr), column-gutter: 1cm, {
columns: (11fr, 6fr),
column-gutter: 1cm,
{
set strong(delta: DEFAULT_STRONG) set strong(delta: DEFAULT_STRONG)
set align(left) set align(left)
left_content left_content
}, }, {
{
set strong(delta: SMALL_STRONG) set strong(delta: SMALL_STRONG)
set align(right) set align(right)
right_content right_content
} }),
), {
{ set align(left)
set align(left) set strong(delta: SMALL_STRONG)
set strong(delta: SMALL_STRONG) details
details },
} )
)
} }
// Entry for work. // Entry for work.
#let work_entry(role, company, tasks: none, start_date: none, end_date: none, location: none) = { #let work_entry(
role,
company,
tasks: none,
start_date: none,
end_date: none,
location: none,
) = {
let task_list = if tasks != none { let task_list = if tasks != none {
let list = [] let list = []
for task in tasks { for task in tasks {
@ -67,31 +66,27 @@
} else { } else {
none none
} }
cv_entry( cv_entry(left_content: {
left_content: { text(1.1em)[*#role*] + "\n" + text[#emph[#company]]
text(1.1em)[*#role*] + "\n" + text[#emph[#company]] }, right_content: {
}, [*#start_date -- #end_date*]
right_content: {
[*#start_date -- #end_date*]
if location != none { if location != none {
"\n" + format_location(location) "\n" + format_location(location)
} }
}, }, details: task_list)
details: task_list
)
} }
#let project(title, repo_link, tools) = { #let project(title, repo_link, tools) = {
set strong(delta: DEFAULT_STRONG) set strong(delta: DEFAULT_STRONG)
link(repo_link)[#text(1.1em)[*#title* #fa(github)]] + [ | _ #tools _] link(repo_link)[#text(1.1em)[*#title* #fa(github)]] + [ | _ #tools _ ]
} }
// Set name and contact data and format headings // Set name and contact data and format headings
#let template(name, contact_data, color, doc) = { #let template(name, contact_data, color, doc) = {
set page(margin: PAGE_MARGINS, paper: "us-letter") set page(margin: PAGE_MARGINS, paper: "us-letter")
set list(indent: 1.25em, marker: [•]) set list(indent: 1.25em, marker: [•])
set text(font: (BODY_FONT), BODY_FONT_SIZE) set text(font: (BODY_FONT), BODY_FONT_SIZE)
set par(justify: true, leading: BODY_LINE_HEIGHT) set par(justify: true, leading: BODY_LINE_HEIGHT)
align(center)[ align(center)[
#text(size: TITLE_FONT_SIZE, font: TITLE_FONT, fill: color)[*#name*] #text(size: TITLE_FONT_SIZE, font: TITLE_FONT, fill: color)[*#name*]
@ -99,7 +94,7 @@
#{ #{
if contact_data != none and contact_data.len() > 0 { if contact_data != none and contact_data.len() > 0 {
let elements = for el in contact_data { let elements = for el in contact_data {
(link(el.link)[#{el.service + " " + el.display}],) (link(el.link)[#{ el.service + " " + el.display }],)
} }
text(1.1em)[#elements.join(" | ")] text(1.1em)[#elements.join(" | ")]
} }
@ -111,24 +106,22 @@
let title = smallcaps(i.body) let title = smallcaps(i.body)
let colored_line(header_text) = style(styles => { let colored_line(header_text) = style(styles => {
let size = measure(header_text, styles) let size = measure(header_text, styles)
// 100% - spacing - width of text // 100% - spacing - width of text
line(length: 100% - HEADING_LINE_GAP - size.width, stroke: (paint: color, thickness: 2pt, cap: "round")) line(
length: 100% - HEADING_LINE_GAP - size.width,
stroke: (paint: color, thickness: 2pt, cap: "round"),
)
}) })
set block(above: 0.9em, below: 0.75em) set block(above: 0.9em, below: 0.75em)
set text(size: 1em, fill: color, font: HEADING_FONT) set text(size: 1em, fill: color, font: HEADING_FONT)
stack( stack(
dir: ltr, dir: ltr,
spacing: HEADING_LINE_GAP, spacing: HEADING_LINE_GAP,
title, title,
box( box(height: 2pt, fill: color, colored_line(title)),
height: 2pt,
fill: color,
colored_line(title)
)
) )
} }
doc doc