Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
972 lines (885 loc) · 34.9 KB
/
Copy pathindex.html
File metadata and controls
972 lines (885 loc) · 34.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<title>Jeremy Bogle</title>
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;515;600;700&display=swap" rel="stylesheet">
<link href="css/menu.css?v=15" rel="stylesheet">
<link href="css/toggle.css?v=5" rel="stylesheet">
<script src="https://kit.fontawesome.com/d74ce70443.js" crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<style>
/* ------------------ Common ------------------ */
#svg-outer {
cursor: grab;
}
.dark-mode {
color: white;
background: #000;
}
.dark-mode a, .dark-mode .resume a {
color: #62badd;
}
.dark-mode #menuToggle a {
color: white;
}
body {
margin: 0;
font-family: 'Quicksand', sans-serif;
overflow: hidden;
}
.background {
fill: none;
pointer-events: all;
}
.page-outer {
width: 100%;
height: 100%;
}
.page-inner {
padding: 40px;
}
svg {
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
}
.title {
font-size: 20px;
text-align: center;
}
.text-base {
font-size: 12px;
}
.list {
list-style: none;
margin-left: 0;
}
.list .list-item {
margin-bottom: 10px;
}
.list .list-item .notes {
margin-left: 20px;
font-size: 12px;
}
.list .list-item .heading .logo {
height: 100%;
}
.list .list-item .heading {
display: flex;
gap: 10px;
align-items: center;
height: 40px;
}
.list .list-item .label {
font-size: 20px;
}
.list .list-item div p {
margin-block-start: .6em;
margin-block-end: .6em;
}
/* ------------------ Reading Pages ------------------ */
#research-outer .page-inner {
box-sizing: border-box;
width: 100%;
max-width: 800px;
margin-left: auto;
margin-right: auto;
padding-left: 16px;
padding-right: 16px;
}
/* ------------------ About ------------------ */
#about-outer .page-inner {
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
max-width: 660px;
min-height: 100%;
margin: 0 auto;
padding: 40px;
}
.about-copy {
margin-top: 36px;
font-size: 16px;
line-height: 1.65;
}
.about-copy p {
margin: 0 0 22px;
}
.about-copy p:last-child {
margin-bottom: 0;
}
/* ------------------ Nav ------------------ */
#arrow {
display: inline;
}
#nav {
z-index: 100;
position: fixed;
left: 0;
top: 0;
height: 100%;
padding-top: 20px;
padding-left: 20px;
}
#nav .link {
z-index: 100;
margin-top:15px;
cursor: pointer;
display: inline-block;
padding-bottom: 2px;
border-bottom: 1px solid transparent;
transition: .1s all;
font-size: 16px;
}
#nav .link:hover {
/* border-bottom: 1px solid gray; */
letter-spacing: 1.1px;
}
/* ------------------ Home ------------------ */
#home #card {
display: flex;
width: 80%;
justify-items: center;
align-items: center;
margin-left: auto;
margin-right: auto;
margin-top: 25%;
}
#home #card #headshot {
border-radius: 50%;
height: 200px;
margin-right: 30px;
}
#home #card #info {
width: calc(100% - 230px);
display: flex;
flex-direction: column;
gap: 15px;
}
.info-divider {
height: 1px;
background: #ddd;
}
.dark-mode .info-divider { background: #333; }
/* ------------------ Resume ------------------ */
#resume-outer #resume {
margin: 10px auto;
display: block;
background: white;
padding: 20px;
}
#resume-outer {
padding-top: 20px;
height: 200%;
}
/* ------------------ Zoom-Buttons ------------------ */
#zoom-buttons {
position: fixed;
bottom: 10px;
right: 10px;
padding: 20px;
z-index: 100;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}
.zoom-button {
display: block;
width: 44px;
height: 44px;
padding: 0;
border: 0;
background: none;
font-family: inherit;
cursor: pointer;
font-size: 40px;
color: #777;
transition: .2s all;
text-align: center;
}
.zoom-button:hover {
transform: scale(1.1);
color: #444;
}
.dark-mode .zoom-button { color: #ddd; }
.dark-mode .zoom-button:hover { color: white; }
.zoom-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
#menuToggle span, #menuToggle a, #menu, #switch + label::after, .zoom-button {
transition: none;
}
.zoom-button:hover { transform: none; }
}
/* ------------------ Overrides ------------------ */
#teavar-logo {
font-size: 20px
}
#teavar-logo #highlight1 {
background-color: rgba(220,220,220,0.8);
color: rgba(40,40,40,1);
padding: 0px 3px;
}
#teavar-logo #highlight2 {
background-color: rgba(40,40,40,0.8);
padding: 0px 3px;
color: rgba(220,220,220,1);
}
/* Small screens use the same content as ordinary scrolling pages. */
@media screen and (max-width: 700px), screen and (max-height: 500px) {
body { overflow: auto; }
#svg-outer, #zoom-buttons { display: none; }
nav { position: fixed; top: 0; left: 0; right: 0; padding: 24px; background: white; z-index: 100; }
#menuToggle { top: 0; left: 0; }
#menu {
top: -16px;
left: -16px;
margin: 0;
padding: 64px 24px 24px;
background: white;
border: 1px solid transparent;
border-radius: 8px;
box-shadow: 0 4px 20px #0002;
}
.dark-mode nav, .dark-mode #menu { background: #000; }
.dark-mode #menu { border-color: #333; box-shadow: none; }
#mobile-page { padding: 88px 24px 48px; max-width: 660px; margin: 0 auto; }
#mobile-page .page-inner { width: 100%; padding: 0; margin: 0; }
#mobile-page .title { margin-bottom: 28px; }
#mobile-page #home { display: flex; align-items: center; min-height: calc(100dvh - 136px); }
#home #card { width: 100%; max-width: 280px; margin: 0 auto; flex-direction: column; gap: 24px; }
#home #card #headshot { height: 144px; margin: 0; }
#home #card #info { width: 100%; gap: 12px; line-height: 1.6; text-align: left; }
.list .list-item { margin-bottom: 28px; }
.list .list-item .notes { margin-left: 0; font-size: 16px; line-height: 1.6; }
#mobile-page .resume { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
#mobile-page .resume .text-medium { font-size: 17px; }
#mobile-page .resume .justify-between { flex-wrap: wrap; gap: 4px 12px; }
#mobile-page .resume .r-section { margin-top: 28px; }
#mobile-page .resume .r-item { margin-top: 20px; }
}
</style>
<body>
<!-- <div id="nav" xmlns="http://www.w3.org/1999/xhtml"></div> -->
<nav role="navigation">
<div id="menuToggle">
<input id="hamburger" type="checkbox" aria-label="Navigation menu" aria-controls="menu" />
<span></span>
<span></span>
<span></span>
<ul id="menu">
</ul>
</div>
</nav>
<div id="zoom-buttons">
<button class="zoom-button" id="zoom-in" type="button" aria-label="Zoom in" title="Zoom in (Ctrl/⌘ +)">+</button>
<button class="zoom-button" id="zoom-out" type="button" aria-label="Zoom out" title="Zoom out (Ctrl/⌘ −)">-</button>
</div>
<main id="mobile-page" hidden></main>
<svg id="svg-outer" viewbox="0,0,800,800">
<g id="view-box" width="100%">
<foreignObject id="home-outer" class="page-outer" x="0" y="0" width="100%" height="200%">
<div class="page-inner" id="home" xmlns="http://www.w3.org/1999/xhtml">
<div id="card">
<img id="headshot" src="img/headshot-generated-field-square.jpeg" alt="Jeremy Bogle"/>
<div id="info">
<div class="item">Jeremy Bogle | <a href="mailto:jeremy@bogle.cc">jeremy@bogle.cc</a></div>
<div class="info-divider"></div>
<div class="item">Software, Systems & Infrastructure</div>
<div class="info-divider"></div>
<div class="item">Master of Computer Systems (MIT)</div>
<div class="info-divider"></div>
<div class="item">New York, NY</div>
</div>
</div>
</div>
</foreignObject>
<foreignObject id="research-outer" class="page-outer" x="-1000" y="-600" width="100%" height="200%">
<div class="page-inner" xmlns="http://www.w3.org/1999/xhtml">
<div class="title">
<div>Research</div>
</div>
<div class="list">
<div class="list-item">
<div class="heading">
<div id="teavar-logo"><span id="highlight1">TEA</span><span id="highlight2">VAR</span></div>
</div>
<div class="notes">
<p>First author on a <a href="https://dl.acm.org/doi/10.1145/3341302.3342069">paper</a> published in ACM SIGCOMM 2019</p>
<p>Applied financial portfolio risk modeling (CVaR) to network routing, accounting for potential network failures</p>
<p>Implemented the optimization in Julia using Gurobi, with analysis and visualizations in Python and gnuplot</p>
</div>
</div>
<div class="list-item">
<div class="heading">
<img class="logo" style="margin-left: -8px" src="img/microsoft.png"/>
</div>
<div class="notes">
<p>Collaborated with researchers in Microsoft's cloud optimization group on TEAVAR</p>
<p>Evaluated the routing model using real Microsoft network data</p>
</div>
</div>
<div class="list-item">
<div class="heading">
<img class="logo" src="img/csail.png"/>
</div>
<div class="notes">
<p>Worked as a master's student in the CSAIL Networks lab with Professor Manya Ghobadi while pursuing my degree in computer systems</p>
<p>Master's <a href="docs/thesis.pdf">thesis</a> on traffic routing in software-defined networks</p>
</div>
</div>
<div class="list-item">
<div class="heading">
<a href="docs/sqo.pdf">Serverless Query Optimizer</a>
</div>
<div class="notes">
<p>Built a serverless query optimizer on AWS Lambda to offload query planning from the database</p>
<p>Prototyped in Java with SimpleDB, then adapted C++ GPORCA to use queries and table statistics supplied in one request</p>
<p>Benchmarked search strategies and planning runtimes, and explored cost trade-offs and parallel search</p>
</div>
</div>
<div class="list-item">
<div class="heading">
<a href="docs/flexnet.pdf">FLEXNET</a>
</div>
<div class="notes">
<p>Flexible, reconfigurable software-defined network modeled as a linear optimization</p>
<p>Given instant network reconfiguration on traffic shifts, optimizes routing to minimize loss and congestion</p>
</div>
</div>
<div class="list-item">
<div class="heading">
<img class="logo" src="img/media-lab.png"/>
</div>
<div class="notes">
<p>Undergraduate researcher on PEV self-driving car project</p>
<p>Built a job scheduling simulation server in Python using real taxi, Hubway, and subway data in Boston</p>
<p>Integrated the simulation with OpenStreetMap for <a href="https://www.media.mit.edu/projects/fleet-simulation/overview/">visualizations</a></p>
</div>
</div>
</div>
</div>
</foreignObject>
<foreignObject id="about-outer" class="page-outer" x="1000" y="-600" width="100%" height="200%">
<div class="page-inner" xmlns="http://www.w3.org/1999/xhtml">
<div class="title">About</div>
<div class="about-copy">
<p>I'm Jeremy, a software engineer and technologist based in New York.</p>
<p>I'm passionate about computers, engineering and building practical, scalable software systems.</p>
<p>I studied electrical engineering and computer science at MIT, then stayed for a master's focused on computer systems. My <a href="https://dl.acm.org/doi/10.1145/3341302.3342069" target="_blank" rel="noopener noreferrer">research</a> explored fault-aware traffic routing optimizations in a software-defined network.</p>
<p>I also swam and played water polo at MIT and grew up in Boston, MA.</p>
</div>
</div>
</foreignObject>
<foreignObject class="page-outer" id="resume-outer" x="0" y="1100" width="100%" height="200%">
<div class="page-inner resume" xmlns="http://www.w3.org/1999/xhtml">
<style>
.resume {
font-size: 7px;
width: 550px;
margin: 0px auto;
font-family: 'Quicksand', sans-serif;
}
.resume .r-item {
margin-top: 6px;
}
.resume .r-section {
margin-top: 12px;
}
.resume a {
color: #0044d6;
}
.resume .justify-between {
display: flex;
justify-content: space-between
}
.resume .text-medium {
font-size: 9px;
}
.resume .r-notes {
display: flex;
flex-direction: column;
padding-left: 20px;
}
.resume .text-italic {
font-style: italic;
}
</style>
<div style="display:flex;justify-content:space-between;margin-bottom:10px;">
<div style="font-size:15px">Jeremy Bogle</div>
<div style="text-align:right">
<a href="mailto:jpbogle22@gmail.com">jpbogle22@gmail.com</a>
<a href="tel:+1-781-835-9305"><div>781-835-9305</div></a>
</div>
</div>
<div class="r-section">
<div class="text-medium">EXPERIENCE</div>
<hr/>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">Citadel</div>
<div>June 2023 - June 2026</div>
</div>
<div class="text-italic">Head of Platform Engineering for EQR (Equities)</div>
<div class="r-notes">
<div>• Led <b>platform engineering</b> for a $XXB quant business—research tools, compute efficiency, ci/cd pipelines, k8s research environments, and dev experience</div>
<div>• Architected the hybrid cloud/on-prem <b>Kubernetes platform</b> (scaling to 5k+ cores, 100+TB) and owned the Google Cloud relationship and all GCP infra</div>
<div>• Promoted to team lead, owning <b>hiring and career development</b> (350+ interviews), performance reviews, and roadmap with research</div>
<div>• Drove <b>AI tooling strategy</b> including agent frameworks, MCP servers, async coding agents serving 200+ daily interactions and 50%+ of merged code</div>
<div>• Integrated <b>sandboxed research environments</b> in an interactive research cluster, enabling agentic workflows on sensitive code and data</div>
<div>• Built <b>low-latency trading APIs</b> (gRPC, C++, kdb+/q), delivering streaming access to real-time and historical orders and executions</div>
</div>
</div>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">Cardinal Labs</div>
<div>December 2021 - June 2023</div>
</div>
<div class="text-italic">Co-founder & CTO</div>
<div class="r-notes">
<div>• <b>0→1 founder experience:</b> formed the team, defined the product, shipped v1 with no precedent—reached 150k+ users, 40k MAU, and 5mm+ transactions</div>
<div>• Led a team of 5 building smart-contracts (<b>rust</b>), SDKs (<b>serverless, typescript</b>), and apps (<b>react, typescript</b>); deployed 15+ smart contracts in production</div>
<div>• Partnered directly with enterprise customers and integration partners on technical sales and turning customer learnings into engineering priorities</div>
<div>• Built CI/CD for node deployments (<b>terraform</b>), read-optimized query index (<b>postgres, graphQL</b>), and smart contract upgrade flows with multi-party sign-off</div>
</div>
</div>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">Apple</div>
<div>June 2018 - August 2018, August 2019 - December 2021</div>
</div>
<div class="text-italic">Senior Software Engineer</div>
<div class="r-notes">
<div>• Awarded patent for Music + Photos integration (live on every iPhone); shipped third-party Music APIs used by hundreds of partner integrations</div>
<div>• Architected systems and infra (<b>java, clojure</b>) on k8s serving billions of users at 100k+ QPS across Apple Music, Podcasts, TV+, and Shazam</div>
<div>• Owned globally distributed rate limit, authentication, and API infra (<b>Kong, Lua</b>) servicing internal, third-party, and enterprise partner integrations</div>
<div>• Developed global automated API diff service (<b>golang</b>) and dashboard for safer deployments with anomaly detection, rollback, and sign-off features</div>
<div>• Partnered with SREs on production issues, migrated core services from bare metal to edge DCs (<b>k8s, spinnaker, helm</b>), and led team infrastructure trainings</div>
</div>
</div>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">Microsoft + MIT CSAIL</div>
<div>August 2018 - August 2019</div>
</div>
<div class="text-italic">Software Engineer / Researcher (graduate student)</div>
<div class="r-notes">
<div>• Applied financial risk theory to optimize inter-data-center traffic—directly bridging financial-domain modeling with systems research; algorithm written in <b>Julia</b></div>
<div>• First author on research paper (<a href="https://dl.acm.org/doi/10.1145/3341302.3342069">https://dl.acm.org/doi/10.1145/3341302.3342069</a>) published in SIGCOMM 2019 and presented in Beijing (now 80+ citations)</div>
<div>• Integrated real Microsoft historical WAN data into backtesting experiments, graphical and statistical analysis (<b>julia, python</b>) for the paper</div>
</div>
</div>
</div>
<div class="r-section">
<div class="text-medium">PUBLICATIONS</div>
<hr/>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">TeaVaR: Striking the Right Utilization-Availability Balance in WAN Traffic Engineering</div>
<div>ACM SIGCOMM 2019</div>
</div>
<div class="text-italic">First Author</div>
<div class="r-notes">
<div>• Applied financial risk theory (conditional value-at-risk) to optimize inter-data-center WAN traffic; core written in <b>Julia</b> and backtested on real Microsoft WAN data</div>
<div>• Presented at ACM SIGCOMM 2019 in Beijing; now 80+ citations (<a href="https://dl.acm.org/doi/10.1145/3341302.3342069">ACM Digital Library</a>, <a href="https://news.mit.edu/2019/reduce-cost-cloud-infrastructure-0819">MIT News</a>)</div>
</div>
</div>
</div>
<div class="r-section">
<div class="text-medium">EDUCATION</div>
<hr/>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">Massachusetts Institute of Technology (Masters)</div>
<div>September 2018 - June 2019</div>
</div>
<div class="justify-between">
<div class="text-italic">Masters in Computer Science with a Concentration in Computer Systems</div>
<div>GPA: 5.0/5.0</div>
</div>
<div class="r-notes">
<div>• Distributed Systems, Computer Networks, Database Systems, Systems Security, Advanced Algorithms, Machine Learning, Economics</div>
<div>• First author on published research applying financial risk theory to optimize network traffic (<a href="https://news.mit.edu/2019/reduce-cost-cloud-infrastructure-0819">https://news.mit.edu/2019/reduce-cost-cloud-infrastructure-0819</a>)</div>
</div>
</div>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">Massachusetts Institute of Technology (Undergrad)</div>
<div>September 2014 - June 2018</div>
</div>
<div class="justify-between">
<div class="text-italic">B.S. in Electrical Engineering and Computer Science with a Minor in Economics</div>
<div>GPA: 4.4/5.0</div>
</div>
</div>
<div class="r-section">
<div class="text-medium">LEADERSHIP AND ACTIVITIES</div>
<hr/>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">Theta Tau Professional Engineering Fraternity</div>
<div>March 2016 - Present</div>
</div>
<div class="text-italic">President & Active Board Director</div>
<div class="r-notes">
<div>• Managed and led 50 diverse college students in the creation of a brand new professional engineering fraternity</div>
<div>• Governed all internal chapter operations and finances while acting as chapter president and now serve as active director of alumni association</div>
</div>
</div>
<div class="r-item">
<div class="justify-between">
<div class="text-medium">MIT Varsity Swimming & Diving, MIT Varsity Water Polo</div>
<div>September 2014 - June 2018</div>
</div>
<div class="text-italic">Captain</div>
<div class="r-notes">
<div>• Swimming: 7x All-American at Division III National Championships, 12x NEWMAC conference champion, 4x Academic All-American (sprint free and backstroke)</div>
<div>• Water Polo: Center and center defender, won a Division III Eastern Championships and placed 5th at the CWPA Eastern Championships</div>
</div>
</div>
</div>
<div class="r-section">
<div class="text-medium">SKILLS AND INTERESTS</div>
<hr/>
<div class="r-item">
<div class="text-medium">Software Engineering</div>
<div class="r-notes">
<div>• Programming Languages: Python, Go, Rust, Typescript, C/C++, Java, Lua, Clojure, Julia, SQL</div>
<div>• Technologies: Linux/UNIX, Kubernetes, Redis, Cassandra, Kafka, Kong, Prometheus, Grafana, Airflow, Postgres, GraphQL, React, Terraform, webRTC, AWS/GCP</div>
</div>
</div>
<div class="r-item">
<div class="text-medium">Other Interests</div>
<div class="r-notes">
<div>• Served as a prefect, senior RA, class president, and now alumni class representative at boarding school. </div>
<div>• Enjoys skiing, golf and music production</div>
</div>
</div>
</div>
</div>
</foreignObject>
</g>
</svg>
</body>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/topojson.v1.min.js"></script>
<script>
const pages = [
{
id: "home",
title: "Home",
x: 0,
y: 0,
},
{
id: "about",
title: "About",
x: 1000,
y: -600,
},
{
id: "research",
title: "Research",
x: -1000,
y: -600,
},
{
id: "resume",
title: "Resume",
x: 0,
y: 1100,
},
];
const reducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)");
function motionDuration(milliseconds) {
return reducedMotion.matches ? 0 : milliseconds;
}
let grabbingDisabled = false;
const zoom = d3.zoom()
.scaleExtent([.25, 2])
.duration(motionDuration(250))
.filter(() => !mobileLayout.matches && !d3.event.button &&
(d3.event.type !== "wheel" || d3.event.ctrlKey))
.wheelDelta(() => -d3.event.deltaY *
(d3.event.deltaMode === 1 ? .5 : d3.event.deltaMode ? 10 : .02))
.on("start", () => {
cancelScrollPreview();
if (!grabbingDisabled) {
d3.select('#svg-outer').attr("style", "cursor: grabbing")
}
})
.on("end", () => {
d3.select('#svg-outer').attr("style", "");
grabbingDisabled = false;
})
.on("zoom", () => {
let transform = d3.event.transform;
let g = d3.select("#view-box");
g.attr("transform", transform);
});
const birdsEyeTransform = d3.zoomIdentity
.translate(300,250)
.scale(.25);
const svg = d3.select("#svg-outer")
.on("click", stopped);
const retiredPages = ["#skills", "#interests", "#projects"];
const mobileLayout = window.matchMedia("screen and (max-width: 700px), screen and (max-height: 500px)");
const mobilePage = document.getElementById("mobile-page");
const menuToggle = document.getElementById("menuToggle");
const hamburger = document.getElementById("hamburger");
var active = d3.select(null);
let gestureStartScale = null;
let scrollAmount = 0;
let lastScrollAt = 0;
let scrollReadyAt = 0;
let scrollPreviewAt = 0;
let scrollOpenedMenu = false;
let scrollIdleTimer;
initLinks();
svg.call(zoom)
.on("wheel.prevent-browser-zoom", () => {
// Keep pinch gestures on the canvas even when it reaches a zoom limit.
if (d3.event.ctrlKey && !mobileLayout.matches) d3.event.preventDefault();
})
// Safari reports trackpad pinches as gesture events instead of Ctrl+wheel.
.on("gesturestart.zoom", () => {
if (mobileLayout.matches) return;
d3.event.preventDefault();
svg.interrupt();
gestureStartScale = d3.zoomTransform(svg.node()).k;
})
.on("gesturechange.zoom", () => {
if (mobileLayout.matches || gestureStartScale === null) return;
d3.event.preventDefault();
grabbingDisabled = true;
zoom.scaleTo(svg, gestureStartScale * d3.event.scale);
})
.on("gestureend.zoom", () => {
if (gestureStartScale === null) return;
d3.event.preventDefault();
gestureStartScale = null;
});
const playIntro = shouldPlayIntro();
navigate(false);
if (playIntro) svg.call(zoom.transform, birdsEyeTransform);
document.fonts.ready.then(() => {
if (!playIntro) return centerActivePage();
// Leave any navigation, panning, or zooming the visitor has already done alone.
if (d3.zoomTransform(svg.node()) !== birdsEyeTransform || active.node()?.id !== "home") return;
if (mobileLayout.matches || reducedMotion.matches) return navigate(false);
grabbingDisabled = true;
svg.transition()
.delay(150)
.duration(850)
.call(zoom.transform, getTransformForPage("home"));
});
window.addEventListener("resize", centerActivePage);
window.addEventListener("hashchange", () => navigate());
mobileLayout.addEventListener("change", () => navigate(false));
reducedMotion.addEventListener("change", () => zoom.duration(motionDuration(250)));
// Capture outside presses before the canvas handles dragging.
document.addEventListener("pointerdown", event => {
cancelScrollPreview(false);
scrollReadyAt = Math.max(scrollReadyAt, performance.now() + 200);
if (!menuToggle.contains(event.target)) hamburger.checked = false;
}, true);
menuToggle.addEventListener("focusin", () => cancelScrollPreview(false));
document.addEventListener("wheel", scrollSections, { passive: false });
document.addEventListener("keydown", event => {
if (event.key === "Escape" && hamburger.checked) {
event.preventDefault();
cancelScrollPreview();
scrollReadyAt = Math.max(scrollReadyAt, performance.now() + 200);
hamburger.checked = false;
hamburger.focus({ preventScroll: true });
}
if (!(event.ctrlKey || event.metaKey) || event.altKey || event.isComposing ||
event.defaultPrevented || mobileLayout.matches) return;
if (event.target.isContentEditable ||
event.target.matches("textarea, select, input:not([type=checkbox]):not([type=radio])")) return;
const zoomButton = event.key === "+" || event.key === "=" ? "zoom-in" :
event.key === "-" ? "zoom-out" : null;
if (!zoomButton) return;
event.preventDefault();
cancelScrollPreview();
document.getElementById(zoomButton).click();
});
function cancelScrollPreview(closeMenu = true) {
clearTimeout(scrollIdleTimer);
document.querySelectorAll("#menu .scroll-preview")
.forEach(item => item.classList.remove("scroll-preview"));
if (closeMenu && scrollOpenedMenu) hamburger.checked = false;
scrollAmount = 0;
scrollPreviewAt = 0;
scrollOpenedMenu = false;
}
function scrollSections(event) {
if (mobileLayout.matches || event.defaultPrevented || event.ctrlKey || event.metaKey ||
event.altKey || event.shiftKey || gestureStartScale !== null ||
!event.deltaY || Math.abs(event.deltaX) >= Math.abs(event.deltaY)) return;
event.preventDefault();
const now = performance.now();
const idle = now - lastScrollAt;
lastScrollAt = now;
const unit = event.deltaMode === 1 ? 16 : event.deltaMode === 2 ? window.innerHeight : 1;
const delta = event.deltaY * unit;
// Finish the pan, then briefly ignore a small momentum tail. Never lock indefinitely.
if (now < scrollReadyAt) return;
if (scrollReadyAt && idle < 150 && Math.abs(delta) < 20 && now < scrollReadyAt + 600) return;
scrollReadyAt = 0;
const direction = Math.sign(event.deltaY);
if (idle > 350 || Math.sign(scrollAmount) !== direction) cancelScrollPreview();
const currentId = active.node()?.id || window.location.hash.slice(1) || "home";
const currentIndex = Math.max(0, pages.findIndex(page => page.id === currentId));
const next = pages[(currentIndex + direction + pages.length) % pages.length];
scrollAmount += direction * Math.min(Math.abs(delta), 100);
clearTimeout(scrollIdleTimer);
scrollIdleTimer = setTimeout(cancelScrollPreview, 500);
if (!scrollPreviewAt) {
scrollPreviewAt = now;
scrollOpenedMenu = !hamburger.checked;
hamburger.checked = true;
}
const preview = document.querySelector(`#menu #${next.id}`);
preview.classList.add("scroll-preview");
preview.style.setProperty("--scroll-progress", Math.min(Math.abs(scrollAmount) / 120, 1));
// Show the preview before committing, even for a large mouse-wheel step.
if (Math.abs(scrollAmount) >= 120 && now - scrollPreviewAt >= 200) {
scrollReadyAt = now + motionDuration(700);
cancelScrollPreview();
window.location.hash = next.id;
}
}
function shouldPlayIntro() {
if (mobileLayout.matches || reducedMotion.matches) return false;
if (window.location.hash && window.location.hash !== "#home") return false;
try {
if (sessionStorage.getItem("home-intro-seen")) return false;
sessionStorage.setItem("home-intro-seen", "true");
return true;
} catch {
return false;
}
}
// Use the URL for initial loads, menu links, and browser Back/Forward.
function navigate(animate = true) {
cancelScrollPreview();
scrollReadyAt = performance.now() + motionDuration(animate ? 700 : 0);
let hash = retiredPages.includes(window.location.hash) ? "#about" : window.location.hash;
if (!pages.some(page => `#${page.id}` === hash)) hash = "#home";
if (window.location.hash && window.location.hash !== hash) {
window.history.replaceState(null, "", hash);
}
active.classed("active", false);
active = d3.select(`#menu ${hash}`).classed("active", true);
d3.selectAll("#menu a").attr("aria-current", function() {
return this.getAttribute("href") === hash ? "page" : null;
});
hamburger.checked = false;
grabbingDisabled = true;
svg.interrupt();
// Move the existing content; don't maintain a separate mobile copy.
pages.forEach(page => {
const parent = mobileLayout.matches && hash === `#${page.id}`
? mobilePage : document.getElementById(`${page.id}-outer`);
if (page.content.parentElement !== parent) parent.appendChild(page.content);
});
mobilePage.hidden = !mobileLayout.matches;
if (mobileLayout.matches) {
window.scrollTo(0, 0);
return;
}
const target = getTransformForPage(hash.slice(1));
const view = animate ? svg.transition().duration(motionDuration(700)) : svg;
view.call(zoom.transform, target);
}
function initLinks() {
const menu = d3.select("#menu");
pages.forEach(link => {
link.content = document.querySelector(`#${link.id}-outer .page-inner`);
d3.select(`#${link.id}-outer`)
.attr("x", link.x)
.attr("y", link.y)
menu.append("a")
.attr("href", `#${link.id}`)
.on("click", clicked)
.append("li")
.attr("id", link.id)
.html(link.title);
});
menu.append("input")
.attr("type", "checkbox")
.attr("id", "switch")
.attr("aria-label", "Dark mode")
.on("click", toggleDarkMode)
menu.append("label")
.attr("for", "switch")
}
function getTransformForPage(id) {
const content = document.querySelector(`#${id}-outer .page-inner`);
const rects = Array.from(content.children)
.filter(element => element.getClientRects().length)
.map(element => element.getBoundingClientRect());
const left = Math.min(...rects.map(rect => rect.left));
const right = Math.max(...rects.map(rect => rect.right));
const top = Math.min(...rects.map(rect => rect.top));
const bottom = Math.max(...rects.map(rect => rect.bottom));
// Convert the content's screen position back into canvas coordinates so
// navigation works from any pan or zoom level, including the overview.
const screenToCanvas = document.getElementById("view-box").getScreenCTM().inverse();
const center = new DOMPoint((left + right) / 2, (top + bottom) / 2)
.matrixTransform(screenToCanvas);
const viewport = svg.node().viewBox.baseVal;
return d3.zoomIdentity.translate(
viewport.x + viewport.width / 2 - center.x,
viewport.y + viewport.height / 2 - center.y
);
}
function centerActivePage() {
if (active.node() && !mobileLayout.matches) navigate(false);
}
function clicked() {
if (d3.event.ctrlKey || d3.event.metaKey || d3.event.shiftKey || d3.event.altKey) return;
if (active.node() === this.querySelector("li")) {
d3.event.preventDefault();
if (mobileLayout.matches) navigate();
else reset();
} else if (this.hash === window.location.hash) {
// Returning from the overview to the same URL won't fire hashchange.
navigate();
}
}
function reset() {
cancelScrollPreview();
hamburger.checked = false;
d3.selectAll("#arrow").remove();
active.classed("active", false);
d3.selectAll("#menu a").attr("aria-current", null);
active = d3.select(null);
svg.transition()
.duration(motionDuration(500))
.call(zoom.transform, birdsEyeTransform);
}
// If the drag behavior prevents the default click,
// also stop propagation so we don’t click-to-zoom.
function stopped() {
if (d3.event.defaultPrevented) d3.event.stopPropagation();
}
function toggleDarkMode() {
var element = document.body;
element.classList.toggle("dark-mode");
}
d3.select("#zoom-in").on("click", function() {
zoom.scaleBy(svg.transition().duration(motionDuration(100)), 1.2);
});
d3.select("#zoom-out").on("click", function() {
zoom.scaleBy(svg.transition().duration(motionDuration(100)), 0.8);
});
</script>