Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
1584 lines (1498 loc) · 97.2 KB
/
Copy pathindex.html
File metadata and controls
1584 lines (1498 loc) · 97.2 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
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Nicholas Tavares | Mathematics, Machine Learning, Systems</title>
<meta name="description" content="Graduate mathematics research on early warnings for diversification breakdown, a from-scratch autodiff engine, a multi-model deliberation engine, fractal films with original scores, and a roguelike deckbuilder." />
<meta property="og:title" content="Nicholas Tavares | Mathematics, Machine Learning, Systems" />
<meta property="og:description" content="Structure, found in chaos. Research code that gets validated and infrastructure that runs itself." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://studyalwaysbro.github.io/" />
<meta property="og:image" content="https://studyalwaysbro.github.io/og.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<script>
(function () {
try {
var t = localStorage.getItem("theme");
if (!t && window.matchMedia && matchMedia("(prefers-color-scheme: dark)").matches) t = "dark";
if (t === "dark") document.documentElement.setAttribute("data-theme", "dark");
} catch (e) {}
})();
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"name": "Nicholas Tavares",
"url": "https://studyalwaysbro.github.io/",
"sameAs": [
"https://github.com/studyalwaysbro",
"https://www.linkedin.com/in/nicholas-tavares-34986399/",
"https://www.youtube.com/@wakaboomnick"
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ScholarlyArticle",
"headline": "Before the Correlation Moves: An Early Warning for Diversification Breakdown",
"author": [
{ "@type": "Person", "name": "Nicholas Tavares" },
{ "@type": "Person", "name": "A. Hanini" },
{ "@type": "Person", "name": "B. DaSilva" }
],
"about": "Network-topology early warning for portfolio diversification breakdown",
"url": "https://studyalwaysbro.github.io/#research"
}
</script>
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%2307070d'/%3E%3Ctext x='16' y='23' font-size='20' text-anchor='middle' fill='%23e94560' font-family='Georgia'%3E%E2%88%87%3C/text%3E%3C/svg%3E" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet" />
<style>
:root {
--paper: #f2ede2;
--paper2: #e9e2d2;
--ink: #1b1611;
--ink2: #5a5140;
--faint: #6e6553;
--rule: #d8cfbc;
--red: #a53125;
--red-solid: #a53125;
--hero-bg: #07070d;
--hero-text: #d9d9e3;
--hero-dim: #8c8ca3;
--hero-faint: #83839c;
--ember: #e94560;
--serif: "Newsreader", Georgia, serif;
--sans: "Inter", -apple-system, "Segoe UI", sans-serif;
--mono: "JetBrains Mono", ui-monospace, monospace;
}
:root[data-theme="dark"] {
--paper: #16120d;
--paper2: #211a13;
--ink: #e6ddca;
--ink2: #ab9f87;
--faint: #948a76;
--rule: #352d22;
--red: #e07a57;
--red-solid: #a53125;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
background: var(--paper);
color: var(--ink);
font-family: var(--serif);
font-size: 16.5px;
line-height: 1.72;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
transition: background 0.2s, color 0.2s;
}
::selection { background: #a53125; color: #f6f1e6; }
a { color: inherit; }
/* ---------- nav: transparent over the cover, ink on the pages ---------- */
nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
border-bottom: 1px solid transparent;
transition: background 0.25s, border-color 0.25s;
}
nav.on-paper { background: var(--paper); border-bottom-color: var(--ink); }
.nav-inner {
max-width: 1080px; margin: 0 auto; padding: 0 28px;
height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.nav-mark {
font-family: var(--serif); font-size: 19px; font-weight: 600;
color: #fff; text-decoration: none; letter-spacing: 0.2px;
white-space: nowrap; margin-right: 18px; transition: color 0.25s;
}
@media (max-width: 560px) { .nav-mark { font-size: 16px; } }
.nav-mark span { color: var(--ember); transition: color 0.25s; }
nav.on-paper .nav-mark { color: var(--ink); }
nav.on-paper .nav-mark span { color: var(--red); }
.nav-links { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
font-family: var(--mono); font-size: 11px; letter-spacing: 0.8px;
color: var(--hero-dim); text-decoration: none; text-transform: lowercase;
white-space: nowrap; transition: color 0.2s; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ember); }
nav.on-paper .nav-links a { color: var(--ink2); }
nav.on-paper .nav-links a:hover, nav.on-paper .nav-links a.active { color: var(--red); }
.nav-kbd {
font-family: var(--mono); font-size: 10.5px; color: var(--hero-dim);
border: 1px solid var(--hero-faint); background: transparent;
padding: 2px 8px; cursor: pointer; flex: none; align-self: center;
transition: color 0.2s, border-color 0.2s;
}
.nav-kbd:hover { color: var(--ember); border-color: var(--ember); }
nav.on-paper .nav-kbd { color: var(--ink2); border-color: var(--ink2); }
nav.on-paper .nav-kbd:hover { color: var(--red); border-color: var(--red); }
/* ---------- hero: the cover ---------- */
#hero {
position: relative; min-height: 100vh;
display: flex; flex-direction: column; justify-content: center;
overflow: hidden; background: var(--hero-bg); color: var(--hero-text);
}
#julia {
position: absolute; inset: 0; width: 100%; height: 100%;
display: block; z-index: 0;
}
.hero-veil {
position: absolute; inset: 0; z-index: 1; pointer-events: none;
background:
linear-gradient(to right, rgba(7,7,13,0.88) 0%, rgba(7,7,13,0.55) 45%, rgba(7,7,13,0.18) 100%),
linear-gradient(to top, var(--hero-bg) 0%, rgba(7,7,13,0) 28%);
}
.hero-inner {
position: relative; z-index: 2;
max-width: 1080px; width: 100%; margin: 0 auto; padding: 120px 28px 90px;
}
.kicker {
font-family: var(--mono); font-size: 12px; color: var(--ember);
letter-spacing: 2.5px; text-transform: uppercase;
}
.hero-inner h1 {
font-family: var(--serif); font-weight: 500; color: #fff;
font-size: clamp(46px, 7.5vw, 84px); line-height: 1.04;
letter-spacing: -1px; margin: 18px 0 0; max-width: 700px;
}
.hero-thesis {
font-family: var(--serif); font-style: italic; font-weight: 400;
font-size: clamp(19px, 2.4vw, 25px); color: var(--hero-text);
margin-top: 26px; max-width: 520px; line-height: 1.45;
}
.hero-sub {
color: var(--hero-dim); font-family: var(--sans); font-size: 14.5px;
max-width: 480px; margin-top: 18px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats {
display: flex; gap: 0; margin-top: 64px; flex-wrap: wrap;
border-top: 1px solid rgba(255,255,255,0.22);
max-width: 820px;
}
.hero-stat { padding: 18px 36px 0 0; }
.hero-stat b {
display: block; font-family: var(--mono); font-weight: 700;
font-size: 24px; color: #fff; letter-spacing: -0.5px;
}
.hero-stat span {
font-family: var(--mono); font-size: 10.5px; color: var(--hero-faint);
letter-spacing: 1.2px; text-transform: uppercase;
}
.hero-sync {
margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--hero-faint);
}
.hero-sync i { color: var(--ember); font-style: normal; }
.shader-caption {
position: absolute; right: 24px; bottom: 18px; z-index: 2;
font-family: var(--mono); font-size: 10.5px; color: var(--hero-faint);
text-align: right; line-height: 1.6; pointer-events: none;
}
.shader-caption b { color: var(--hero-dim); font-weight: 500; }
/* ---------- buttons: square, typographic ---------- */
.btn {
display: inline-block; padding: 11px 22px;
border: 1px solid var(--ink);
text-decoration: none; cursor: pointer;
font-family: var(--mono); font-size: 11px; font-weight: 500;
letter-spacing: 1.6px; text-transform: uppercase;
color: var(--ink); background: transparent;
transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-ember { background: var(--red-solid); border-color: var(--red-solid); color: #f6f1e6; }
.btn-ember:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
#hero .btn { border-color: rgba(255,255,255,0.5); color: var(--hero-text); }
#hero .btn:hover { background: #fff; color: var(--hero-bg); border-color: #fff; }
#hero .btn-ember { background: #d13050; border-color: #d13050; color: #fff; }
#hero .btn-ember:hover { background: #b82a45; border-color: #b82a45; }
/* ---------- sections: rules, not boxes ---------- */
section { position: relative; padding: 84px 0 56px; }
section.alt { background: none; border: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.sec-head { border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 44px; }
.sec-num {
font-family: var(--mono); font-size: 11px; color: var(--red);
letter-spacing: 2.5px; text-transform: uppercase;
}
.sec-head h2 {
font-family: var(--serif); font-weight: 500; color: var(--ink);
font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.3px; margin-top: 6px;
}
.sec-head p { color: var(--ink2); font-size: 15px; margin-top: 6px; max-width: 640px; font-style: italic; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
.reveal { opacity: 1; transform: none; transition: none; }
html { scroll-behavior: auto; }
}
/* the old boxes, dissolved */
.card { background: none; border: none; padding: 0; }
.card.hov:hover { transform: none; box-shadow: none; }
.card h3 {
font-family: var(--mono); font-size: 10.5px; font-weight: 700;
letter-spacing: 2px; text-transform: uppercase; color: var(--red);
margin-bottom: 10px;
}
.chip { display: inline; padding: 0; margin: 0; font-family: var(--mono); font-size: 11px; }
/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about-grid p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.8; }
.about-grid p:last-child { margin-bottom: 0; }
.hl-e, .hl-b, .hl-t { color: var(--red); font-weight: 500; }
.edu-item { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.edu-item:first-of-type { border-top: 1px solid var(--ink); }
.edu-item b { color: var(--ink); font-size: 16px; font-weight: 600; }
.edu-item div { color: var(--ink2); font-family: var(--mono); font-size: 11px; margin-top: 3px; }
/* ---------- disclosures: newspaper columns ---------- */
.disc-grid { columns: 3; column-gap: 48px; column-rule: 1px solid var(--rule); }
.disc-grid .card { break-inside: avoid; margin-bottom: 20px; padding: 0; }
.disc-grid h3 { color: var(--red); }
.disc-grid p { font-size: 13px; line-height: 1.75; color: var(--ink2); }
.disc-grid p b { color: var(--ink); }
.disc-grid a { color: var(--red); }
/* ---------- research: the paper, typeset as one ---------- */
.paper { padding: 0 0 40px; border-bottom: 2px solid var(--ink); }
.paper-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.paper h3 {
font-family: var(--serif); font-weight: 500; color: var(--ink);
font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 10px;
text-transform: none; letter-spacing: -0.3px;
}
.paper-authors { font-family: var(--mono); font-size: 11px; color: var(--ink2); }
.paper-kws { font-style: italic; font-size: 14px; color: var(--ink2); margin-top: 8px; }
.paper-kws b { font-weight: 600; color: var(--ink); font-style: normal; }
.paper-body { font-size: 16.5px; line-height: 1.78; margin-top: 24px; color: var(--ink); max-width: 860px; }
.paper-body::first-letter {
font-size: 54px; float: left; line-height: 0.8;
padding: 6px 8px 0 0; color: var(--red); font-family: var(--serif);
}
.paper-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 30px 0 4px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.paper-stat { padding: 13px 42px 13px 0; }
.paper-stat b { display: block; font-family: var(--mono); font-size: 21px; font-weight: 700; color: var(--ink); }
.paper-stat span { font-family: var(--mono); font-size: 9.5px; color: var(--faint); letter-spacing: 1.2px; text-transform: uppercase; }
.paper h4 {
font-family: var(--mono); font-size: 10.5px; color: var(--red);
letter-spacing: 2px; text-transform: uppercase; margin: 30px 0 12px; font-weight: 700;
}
.findings { list-style: none; counter-reset: fnd; columns: 2; column-gap: 52px; }
.findings li {
counter-increment: fnd; break-inside: avoid;
font-size: 14.5px; line-height: 1.7; color: var(--ink);
margin-bottom: 14px;
}
.findings li::before {
content: "Finding " counter(fnd) ".";
font-style: italic; color: var(--red); margin-right: 8px;
}
.kw-line { font-family: var(--mono); font-size: 11.5px; color: var(--ink2); letter-spacing: 0.3px; line-height: 2.1; }
.note {
background: none; border: none; border-top: 1px solid var(--rule);
padding: 14px 0 0; margin-top: 28px;
font-size: 12px; line-height: 1.7; color: var(--ink2);
}
.note b { color: var(--ink); }
/* ---------- projects: a numbered ledger ---------- */
#projects .wrap { counter-reset: proj; }
.filters { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 0; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.filter-btn {
font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
padding: 0; border: none; background: none; cursor: pointer;
color: var(--ink2); transition: color 0.2s;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.on { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
.entry { counter-increment: proj; border-bottom: 1px solid var(--rule); padding: 30px 0 26px; }
.entry-top { display: flex; align-items: baseline; gap: 16px; }
.entry-no { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: 1px; }
.entry-no::after { content: counter(proj, decimal-leading-zero); }
.entry h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--ink); margin: 4px 0 2px; letter-spacing: -0.2px; }
.entry-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink2); margin-bottom: 12px; }
.sw { display: inline-block; width: 8px; height: 8px; margin-right: 7px; }
.entry .desc { font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.entry-tags { margin-top: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: 0.4px; }
.proj-link {
font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase;
color: var(--red); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.proj-link:hover { color: var(--ink); }
.proj-private { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); }
.activity { font-family: var(--mono); font-size: 10px; letter-spacing: 0.6px; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.activity .dot { width: 6px; height: 6px; display: inline-block; }
.dot-hot { background: var(--red); }
.dot-warm { background: var(--ink2); }
.dot-cool { background: var(--faint); }
.more-list { display: block; }
.more-entry {
counter-increment: proj;
display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
border-bottom: 1px solid var(--rule); padding: 18px 0;
}
.more-entry h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--ink); }
.more-entry .entry-meta { margin-bottom: 0; }
.more-entry .desc { flex: 1 1 100%; color: var(--ink2); font-size: 13.5px; line-height: 1.7; }
.entry.flash, .more-entry.flash { background: rgba(165,49,37,0.07); outline: 1px solid var(--red); outline-offset: 6px; }
.pipeline-note {
margin-top: 36px; border: 1px solid var(--ink);
padding: 18px 24px; display: flex; gap: 16px; align-items: baseline;
}
.pipeline-note .pulse {
width: 8px; height: 8px; background: var(--red);
flex-shrink: 0; position: relative; top: -1px;
animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }
.pipeline-note p { font-size: 13px; color: var(--ink2); line-height: 1.7; }
.pipeline-note b { color: var(--ink); font-weight: 600; }
/* ---------- mathematics: a glossary of notation ---------- */
.math-grid { border-top: 2px solid var(--ink); }
.gloss {
display: grid; grid-template-columns: 230px 290px 1fr; gap: 28px;
padding: 15px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.gloss .mt { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); }
.gloss .eq {
font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--red);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gloss p { font-size: 13px; color: var(--ink2); line-height: 1.65; }
/* ---------- films: plates ---------- */
.films-lead { color: var(--ink); font-size: 16.5px; line-height: 1.8; max-width: 680px; margin-bottom: 44px; }
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 920px; }
.film-fig { margin: 0; }
.film {
position: relative; aspect-ratio: 9 / 16; overflow: hidden;
border: 1px solid var(--ink); background: #000; cursor: pointer;
}
.film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film .play {
position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px;
background: rgba(10,8,6,0.66); border: 1px solid rgba(255,255,255,0.55);
}
.film .play::after {
content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-38%, -50%);
border-style: solid; border-width: 8px 0 8px 14px;
border-color: transparent transparent transparent #fff;
}
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-cap { margin-top: 10px; font-size: 13.5px; color: var(--ink2); line-height: 1.6; }
.film-cap b { font-style: italic; font-weight: 600; color: var(--ink); }
.chan-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; }
/* ---------- experience: a curriculum vitae ---------- */
.timeline { border-top: 2px solid var(--ink); }
.tl-item { border-bottom: 1px solid var(--rule); padding: 30px 0; }
.tl-item .period { font-family: var(--mono); font-size: 10.5px; color: var(--red); letter-spacing: 1.4px; text-transform: uppercase; }
.tl-item h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--ink); margin: 8px 0 2px; text-transform: none; letter-spacing: -0.2px; }
.tl-item .org { color: var(--ink2); font-family: var(--mono); font-size: 11px; margin-bottom: 12px; }
.tl-item p { font-size: 15px; line-height: 1.75; color: var(--ink); max-width: 860px; }
.tl-item .proj-tags, .tl-item .chip { display: none; }
.toolbox { display: block; margin-top: 56px; border-top: 2px solid var(--ink); }
.tool-cell {
display: grid; grid-template-columns: 210px 1fr; gap: 26px;
background: none; border: none; padding: 12px 0;
border-bottom: 1px solid var(--rule);
}
.tool-cell b { font-family: var(--mono); font-size: 10px; color: var(--ink); letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700; padding-top: 4px; }
.tool-cell div { font-size: 14px; color: var(--ink2); line-height: 1.65; margin-top: 0; font-family: var(--serif); }
/* ---------- contact / footer ---------- */
.contact-box { text-align: center; max-width: 560px; margin: 0 auto; }
.contact-box p { font-size: 16px; line-height: 1.85; color: var(--ink); margin-bottom: 34px; }
footer { padding: 44px 28px 40px; border-top: 2px solid var(--ink); text-align: center; }
.foot-disc {
max-width: 760px; margin: 0 auto 24px; border: none; background: none; padding: 0;
font-size: 11.5px; line-height: 1.75; color: var(--ink2); text-align: left;
}
.foot-disc b { color: var(--red); }
.foot-disc a { color: var(--red); }
footer .colophon { font-size: 13.5px; color: var(--ink2); font-style: italic; }
footer .colophon-sub { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 8px; font-style: normal; }
/* ---------- activity ticker: the spine between cover and pages ---------- */
.ticker {
position: relative; overflow: hidden;
background: #14100c;
border-bottom: 1px solid var(--rule);
}
.ticker-track {
display: inline-block; white-space: nowrap; padding: 10px 0;
font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.9px;
color: rgba(242,237,226,0.5); will-change: transform;
animation: tick 70s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.ticker b { color: #f2ede2; font-weight: 500; }
.ticker .hot { color: var(--ember); }
.ticker .sep { color: var(--ember); padding: 0 14px; }
/* ---------- command palette: card catalog, not glass ---------- */
#palette { position: fixed; inset: 0; z-index: 300; }
#palette[hidden] { display: none; }
.pal-backdrop { position: absolute; inset: 0; background: rgba(20,15,8,0.45); }
.pal-box { position: relative; max-width: 560px; margin: 12vh auto 0; padding: 0 20px; }
.pal-inner {
background: var(--paper); border: 1px solid var(--ink); overflow: hidden;
box-shadow: 8px 8px 0 rgba(27,22,17,0.22);
}
#pal-input {
width: 100%; padding: 16px 20px; border: none; outline: none;
background: transparent; color: var(--ink);
font-family: var(--mono); font-size: 14px;
border-bottom: 1px solid var(--ink);
}
#pal-input::placeholder { color: var(--faint); }
.pal-list { max-height: 320px; overflow-y: auto; }
.pal-item {
display: flex; align-items: baseline; gap: 12px;
padding: 11px 20px; cursor: pointer;
border-left: 2px solid transparent;
font-family: var(--serif); font-size: 15.5px; color: var(--ink);
}
.pal-item .pk {
font-family: var(--mono); font-size: 10px; color: var(--faint);
letter-spacing: 1px; text-transform: uppercase; margin-left: auto; flex: none;
}
.pal-item.sel { background: var(--paper2); border-left-color: var(--red); }
.pal-item.sel .pk { color: var(--red); }
.pal-empty { padding: 18px 20px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.pal-foot {
padding: 9px 20px; border-top: 1px solid var(--rule);
font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.6px;
}
/* ---------- fractal explorer mode ---------- */
#julia.explorer { position: fixed; inset: 0; z-index: 200; cursor: crosshair; }
body.explorer-on { overflow: hidden; }
body.explorer-on nav { display: none; }
.explore-btn {
pointer-events: auto; margin-top: 8px; cursor: pointer;
background: transparent; border: 1px solid var(--hero-faint);
font-family: var(--mono); font-size: 10.5px; color: var(--hero-dim);
padding: 4px 10px; transition: color 0.2s, border-color 0.2s;
}
.explore-btn:hover { color: var(--ember); border-color: var(--ember); }
.exp-hud {
position: fixed; left: 18px; bottom: 16px; z-index: 201; display: none;
font-family: var(--mono); font-size: 11px; color: var(--hero-dim); line-height: 1.9;
background: rgba(7,7,13,0.78); border: 1px solid #2a2a40;
padding: 10px 16px;
}
body.explorer-on .exp-hud { display: block; }
.exp-hud b { color: #fff; font-weight: 500; }
.exp-hud .x { color: var(--ember); cursor: pointer; text-decoration: underline; }
/* ---------- figure 1: the deformation series ---------- */
.fig1 { margin: 30px 0 8px; }
.fig1-chart { position: relative; }
.f1-band { fill: var(--red); opacity: 0.10; }
.f1-grid { stroke: var(--rule); stroke-width: 1; }
.f1-zero { stroke: var(--faint); stroke-width: 1; }
.f1-thresh { stroke: var(--red); stroke-width: 1; stroke-dasharray: 4 4; }
.f1-axis { font-family: var(--mono); font-size: 9.5px; fill: var(--faint); }
.f1-line { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.f1-cross { stroke: var(--red); stroke-width: 1; }
.f1-dotp { fill: var(--red); }
.f1-tip {
position: absolute; display: none; pointer-events: none; white-space: nowrap;
font-family: var(--mono); font-size: 10.5px; color: var(--ink);
background: var(--paper); border: 1px solid var(--ink); padding: 3px 8px;
}
/* ---------- sparklines (Tufte would approve) ---------- */
.spark { flex: none; align-self: center; }
.spark polyline { fill: none; stroke: var(--faint); stroke-width: 1; }
.spark circle { fill: var(--red); }
/* ---------- paper grain ---------- */
body::after {
content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
opacity: 0.032;
}
:root[data-theme="dark"] body::after { opacity: 0.05; }
/* ---------- access ---------- */
.skip {
position: fixed; left: 16px; top: -64px; z-index: 400;
background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
padding: 8px 14px; font-family: var(--mono); font-size: 11px;
text-decoration: none; transition: top 0.15s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
#hero :focus-visible, nav:not(.on-paper) :focus-visible { outline-color: var(--ember); }
.begin {
display: inline-block; margin-top: 30px; text-decoration: none;
font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px;
text-transform: uppercase; color: var(--hero-dim); transition: color 0.2s;
}
.begin:hover { color: var(--ember); }
/* ---------- print: it is a paper, after all ---------- */
@media print {
body::after, nav, .ticker, #palette, .exp-hud, .shader-caption,
.hero-cta, .begin, .filters, .chan-row, .film .play, .skip { display: none !important; }
:root, :root[data-theme="dark"] {
--paper: #fff; --paper2: #f2f2f2; --ink: #000; --ink2: #333;
--faint: #555; --rule: #bbb; --red: #8c2418; --red-solid: #8c2418;
}
body { background: #fff; color: #000; font-size: 11.5pt; }
#hero { min-height: auto; background: #fff; color: #000; }
#julia, .hero-veil { display: none !important; }
.hero-inner { padding: 24pt 0 12pt; }
.hero-inner h1, #hero .hero-thesis, #hero .hero-stat b { color: #000 !important; }
#hero .hero-sub, #hero .hero-stat span, #hero .hero-sync { color: #333 !important; }
.hero-stats { border-top-color: #000; }
section { padding: 20pt 0 10pt; }
.entry, .more-entry, .tl-item, .gloss, .film-fig, .paper-stat { break-inside: avoid; }
.film iframe { display: none; }
}
/* ---------- responsive ---------- */
@media (max-width: 980px) {
.about-grid, .proj-grid { grid-template-columns: 1fr; }
.findings { columns: 1; }
.disc-grid { columns: 1; column-rule: none; }
.gloss { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
.gloss .eq { white-space: normal; }
.film-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
.film-grid { grid-template-columns: 1fr; max-width: 300px; }
.tool-cell { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
section { padding: 64px 0 44px; }
.hero-inner { padding: 110px 22px 80px; }
.wrap { padding: 0 22px; }
.shader-caption { display: none; }
.hero-stat { padding-right: 26px; }
}
</style>
</head>
<body>
<a class="skip" href="#about">Skip to content</a>
<nav id="nav">
<div class="nav-inner">
<a class="nav-mark" href="#hero"><span>N</span>icholas Tavares</a>
<div class="nav-links">
<a href="#about">about</a>
<a href="#disclosures">disclosures</a>
<a href="#research">research</a>
<a href="#projects">projects</a>
<a href="#mathematics">math</a>
<a href="#films">films</a>
<a href="#experience">experience</a>
<a href="#contact">contact</a>
<button class="nav-kbd" id="nav-theme" title="dark or light" aria-label="toggle dark or light theme">◐</button>
<span class="nav-kbd" id="nav-kbd" title="command palette">/</span>
</div>
</div>
</nav>
<!-- ================= HERO ================= -->
<section id="hero">
<canvas id="julia"></canvas>
<div class="hero-veil"></div>
<div class="hero-inner">
<div class="kicker">Mathematics · Machine Learning · Systems</div>
<h1>Structure,<br />found in chaos.</h1>
<p class="hero-thesis">I'm Nicholas Tavares, a graduate mathematician who builds research code that gets validated and infrastructure that runs itself.</p>
<p class="hero-sub">An early warning for the moment diversification quietly stops working. A from-scratch autodiff engine. A deliberation protocol for panels of language models. Short films made of math. Phonk written in Python. A deckbuilder about rigging slot machines. It all connects, I promise.</p>
<div class="hero-cta">
<a class="btn btn-ember" href="#research">The research</a>
<a class="btn btn-ghost" href="#projects">Projects</a>
<a class="btn btn-ghost" href="https://github.com/studyalwaysbro" target="_blank" rel="noopener noreferrer">GitHub ↗</a>
</div>
<div class="hero-stats" id="hero-stats"></div>
<div class="hero-sync" id="hero-sync"></div>
<a class="begin" href="#about">Begin § 1 ↓</a>
</div>
<div class="shader-caption">
<b>background:</b> Julia set, z → z² + c, c orbiting the cardioid<br />
rendered live on your GPU · little sibling of the Fractal Madness project<br />
<button class="explore-btn" id="explore-btn">take the controls →</button>
</div>
<div class="exp-hud" id="exp-hud"></div>
</section>
<div class="ticker" id="ticker" aria-hidden="true"><div class="ticker-track" id="ticker-track"></div></div>
<!-- ================= ABOUT ================= -->
<section id="about" class="alt">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 1 · About</div>
<h2>Where pure math meets messy data</h2>
</div>
<div class="about-grid">
<div class="reveal">
<p>I'm a mathematician and ML engineer who builds systems that find structure in chaos. My academic work sits at the intersection of <span class="hl-e">graph theory</span>, <span class="hl-b">information theory</span>, and <span class="hl-t">network analysis</span>, using tools from pure mathematics to study complex systems and multi-agent architectures.</p>
<p>I recently finished my M.S. in Mathematics. A lot of my research keeps circling one question: whether the network topology of markets genuinely reorganizes under macroeconomic stress, or whether that structure is mostly hindsight. It's an open problem, and it deserves rigor, not vibes.</p>
<p>The rest of my time goes to building. Lately that ranges from an automatic differentiation engine written from scratch to prove I understand the chain rule, to a deliberation protocol for panels of language models, to a raymarcher that renders 4D fractals in real time. I believe the best insights come from asking better questions, not running faster models.</p>
</div>
<div class="reveal">
<div class="card">
<h3>Education</h3>
<div class="edu-item">
<b>Stevens Institute of Technology</b>
<div>M.S. Mathematics · Dec 2023 to Jun 2026</div>
</div>
<div class="edu-item">
<b>Oregon Institute of Technology</b>
<div>B.S. Applied Mathematics · 2015 to 2018</div>
</div>
</div>
<div class="card" style="margin-top: 16px;">
<h3>Elsewhere</h3>
<div class="edu-item">
<b><a href="https://github.com/studyalwaysbro" target="_blank" rel="noopener noreferrer" style="text-decoration:none;">GitHub ↗</a></b>
<div>Open source: Quorum, nabla, forecast-compare</div>
</div>
<div class="edu-item">
<b><a href="https://www.linkedin.com/in/nicholas-tavares-34986399/" target="_blank" rel="noopener noreferrer" style="text-decoration:none;">LinkedIn ↗</a></b>
<div>Professional background</div>
</div>
<div class="edu-item">
<b><a href="https://www.youtube.com/@wakaboomnick" target="_blank" rel="noopener noreferrer" style="text-decoration:none;">YouTube ↗</a></b>
<div>Fractal films and the comedy lane</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ================= DISCLOSURES ================= -->
<section id="disclosures">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 2 · Disclosures</div>
<h2>Read this first</h2>
<p>Short version: personal site, academic work, nothing here tells you what to do with money.</p>
</div>
<div class="disc-grid reveal">
<div class="card">
<h3>Personal Site</h3>
<p>This website is maintained in my personal capacity only. It is <b>not affiliated with, endorsed by, or associated with any employer</b> or financial institution. All views and opinions expressed here are my own and do not represent the views of any firm. For professional background, see my <a href="https://www.linkedin.com/in/nicholas-tavares-34986399/" target="_blank" rel="noopener noreferrer">LinkedIn profile</a>.</p>
</div>
<div class="card">
<h3>Not Investment Advice</h3>
<p>Nothing on this site constitutes investment advice, a solicitation to buy or sell securities, or a recommendation of any investment product, strategy, or course of action. All content is for <b>educational and academic research purposes only</b> and should not be used as the basis for any investment decision.</p>
</div>
<div class="card">
<h3>Research Disclaimer</h3>
<p>All research findings, statistical results, and quantitative analysis presented here are theoretical and academic in nature. Historical patterns observed in specific datasets do not predict future performance and have not been validated for real-world application. Past performance, whether simulated or backtested, does not indicate future results.</p>
</div>
</div>
</div>
</section>
<!-- ================= RESEARCH ================= -->
<section id="research" class="alt">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 3 · Research</div>
<h2>The thesis</h2>
<p>Working-paper research on the moment portfolio diversification quietly stops working.</p>
</div>
<div class="card paper reveal">
<div class="paper-top">
<div style="flex:1; min-width:280px;">
<h3>Before the Correlation Moves: An Early Warning for Diversification Breakdown</h3>
<div class="paper-authors">N. Tavares, A. Hanini, B. DaSilva · Stevens Institute of Technology · 2025 to 2026</div>
<div class="paper-kws"><b>Keywords:</b> network topology; early warning; tail dependence; consensus clustering; regime shifts.</div>
</div>
<a class="btn btn-ember" href="https://github.com/studyalwaysbro/asset-cluster-migration" target="_blank" rel="noopener noreferrer" style="flex-shrink:0;">View on GitHub ↗</a>
</div>
<p class="paper-body">
Diversification failure is usually diagnosed after the fact, once correlations have already converged. This paper asks whether the breakdown is visible earlier as a structural process: assets defecting between data-drawn clusters, and the dependence network changing shape before correlation levels and volatility confirm anything. We build rolling similarity networks over a 76-ETF multi-asset panel spanning 2010 to 2026, cluster each window with consensus Leiden detection, and track two structural measures, a Cluster Migration Index and a Topology Deformation Score, across eleven market stress episodes.
</p>
<div class="paper-stats">
<div class="paper-stat"><b>76</b><span>ETF panel</span></div>
<div class="paper-stat"><b>16</b><span>years of data</span></div>
<div class="paper-stat"><b>781</b><span>rolling windows</span></div>
<div class="paper-stat"><b>11</b><span>stress episodes</span></div>
<div class="paper-stat"><b>7</b><span>pipeline stages</span></div>
</div>
<figure class="fig1 reveal">
<div id="fig1" class="fig1-chart" aria-label="Weekly deformation score from 2012 to 2026 with stress episodes shaded"></div>
<figcaption class="film-cap"><b>Figure 1.</b> Weekly deformation score (Pearson-layer TDS, z-scored against a strictly past window), 2012 to 2026, drawn from the paper's results file. Shaded bands mark the studied stress episodes; the dashed rule at z = 1.5 is the alert threshold used in the event studies. The 2011 euro-crisis episode predates the first valid causal score. Hover for dates and values.</figcaption>
</figure>
<h4>Key findings</h4>
<ol class="findings">
<li>The deformation score crossed its alert threshold 37 trading days before the 2022 Fed repricing and 8 before the October 2025 tariff shock, while volatility measures stayed quiet.</li>
<li>Surprise shocks are different: COVID gave no advance warning at all. The paper says so plainly instead of curve-fitting around it.</li>
<li>Out of sample and net of costs, a deformation-gated 60/40 de-risking rule kept 98 percent of the static portfolio's return at 83 percent of its volatility. Volatility gating never managed that on the same data.</li>
<li>Overlay parameters were frozen on 2012 to 2018 training data before any out-of-sample evaluation, and the tail-dependence variant that failed is disclosed in the appendix as tested and rejected.</li>
</ol>
<h4>Novel contributions</h4>
<div class="kw-line">CMI (Cluster Migration Index) · TDS (Topology Deformation Score) · Deformation-Gated Overlay · Strictly Causal Z-Scoring</div>
<h4>Methodology and robustness</h4>
<div class="kw-line">Consensus Leiden, 100 runs · Frozen-Parameter OOS Design · Bonferroni-Corrected Granger · Event Studies 2011 to 2026 · Failed Hypotheses Disclosed</div>
<div class="note"><b>† Academic research:</b> every number above regenerates from a single results file produced by a pinned seven-stage analysis pipeline; if a claim is not in that file, it does not appear here. Findings come from a specific historical dataset, have not been validated for real-world application, and are not investment recommendations.</div>
</div>
</div>
</section>
<!-- ================= PROJECTS ================= -->
<section id="projects">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 4 · Projects</div>
<h2>Things I've built</h2>
<p>Research systems, open source libraries, agents, graphics, and one video game.</p>
</div>
<div class="filters reveal" id="filters"></div>
<div class="proj-grid" id="featured-grid"></div>
<div class="more-list" id="more-list"></div>
<div class="pipeline-note reveal">
<span class="pulse"></span>
<p><b>This list writes itself.</b> A pipeline on my machine scans the local repos twice a day, pulls live git stats, runs a safety filter over every description, and republishes the JSON this page reads. New work shows up here when it's real, not when I remember to edit HTML.</p>
</div>
</div>
</section>
<!-- ================= MATHEMATICS ================= -->
<section id="mathematics" class="alt">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 5 · Mathematics</div>
<h2>The foundation</h2>
<p>From abstract structures to applied algorithms.</p>
</div>
<div class="math-grid" id="math-grid"></div>
</div>
</section>
<!-- ================= FILMS ================= -->
<section id="films">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 6 · Films</div>
<h2>The math makes movies</h2>
<p>Fractal films with original scores, and a comedy lane to keep things honest.</p>
</div>
<p class="films-lead reveal">The raymarcher behind Fractal Madness is also a film camera. Point it at a Kleinian limit set or a brand-new fractal object, choreograph the flight path, and score it with a track from Phonk Lab: the result is a running catalog of short films about mathematical objects that deserve the nature-documentary treatment. Sound on. And because not everything has to be profound, the same channel carries a comedy lane of captioned animal shorts.</p>
<div class="film-grid reveal">
<figure class="film-fig">
<div class="film" data-yt="SS9IltUi5DA" data-title="Gold Reliquary" role="button" tabindex="0" aria-label="Play Gold Reliquary">
<img src="https://i.ytimg.com/vi/SS9IltUi5DA/oardefault.jpg" alt="Gold Reliquary: a dive through a Kleinian limit-set fractal" loading="lazy" />
<span class="play"></span>
</div>
<figcaption class="film-cap"><b>Plate I.</b> Gold Reliquary: one unbroken dive through a Kleinian limit set.</figcaption>
</figure>
<figure class="film-fig">
<div class="film" data-yt="MvzqST6BIlg" data-title="Tetrabrot" role="button" tabindex="0" aria-label="Play Tetrabrot">
<img src="https://i.ytimg.com/vi/MvzqST6BIlg/oardefault.jpg" alt="Tetrabrot: a crystal made of two Mandelbrot sets multiplied together" loading="lazy" />
<span class="play"></span>
</div>
<figcaption class="film-cap"><b>Plate II.</b> Tetrabrot: two Mandelbrot sets multiplied together.</figcaption>
</figure>
<figure class="film-fig">
<div class="film" data-yt="cH1r8qriQb0" data-title="Comedy lane" role="button" tabindex="0" aria-label="Play a comedy short">
<img src="https://i.ytimg.com/vi/cH1r8qriQb0/oardefault.jpg" alt="Comedy lane: the coworker who stays calm during every crisis" loading="lazy" />
<span class="play"></span>
</div>
<figcaption class="film-cap"><b>Plate III.</b> Comedy lane: the coworker who stays calm during every crisis.</figcaption>
</figure>
</div>
<div class="chan-row reveal">
<a class="btn btn-ghost" href="https://www.youtube.com/@wakaboomnick" target="_blank" rel="noopener noreferrer">The full catalog on YouTube ↗</a>
</div>
</div>
</section>
<!-- ================= EXPERIENCE ================= -->
<section id="experience" class="alt">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 7 · Experience</div>
<h2>The path so far</h2>
</div>
<div class="timeline">
<div class="tl-item reveal">
<div class="card hov">
<span class="period">2025 to present</span>
<h3>Quantitative Researcher & ML Engineer</h3>
<div class="org">Stevens Institute of Technology / Independent</div>
<p>Built an early-warning framework for diversification breakdown, with novel structural metrics (CMI, TDS) evaluated on a frozen-parameter, strictly out-of-sample design. Building multi-agent research systems along the way, and releasing open source as I go: a multi-model deliberation engine, a from-scratch autodiff library, and a forecast comparison toolkit.</p>
<div class="proj-tags" style="margin-top:12px;">
<span class="chip" style="background:rgba(233,69,96,0.12);color:var(--ember);">Graph Theory</span>
<span class="chip" style="background:rgba(233,69,96,0.12);color:var(--ember);">Transfer Entropy</span>
<span class="chip" style="background:rgba(233,69,96,0.12);color:var(--ember);">HMM</span>
<span class="chip" style="background:rgba(233,69,96,0.12);color:var(--ember);">Multi-Agent Systems</span>
<span class="chip" style="background:rgba(233,69,96,0.12);color:var(--ember);">Open Source</span>
</div>
</div>
</div>
<div class="tl-item reveal">
<div class="card hov">
<span class="period">2023 to 2026 · completed</span>
<h3>M.S. Mathematics</h3>
<div class="org">Stevens Institute of Technology</div>
<p>Coursework in Machine Learning (CPE595), Applied Statistics (MA544), Time Series Analysis (MA641), Optimization & Stochastic Calculus (MA576), and Big Data Technologies (BIA678). Thesis on multi-asset network topology under macroeconomic stress, plus research projects that bridge academic rigor with working software.</p>
<div class="proj-tags" style="margin-top:12px;">
<span class="chip" style="background:rgba(91,123,255,0.12);color:var(--blue);">LSTM</span>
<span class="chip" style="background:rgba(91,123,255,0.12);color:var(--blue);">SARIMA</span>
<span class="chip" style="background:rgba(91,123,255,0.12);color:var(--blue);">HMM</span>
<span class="chip" style="background:rgba(91,123,255,0.12);color:var(--blue);">Spark</span>
<span class="chip" style="background:rgba(91,123,255,0.12);color:var(--blue);">Kafka</span>
<span class="chip" style="background:rgba(91,123,255,0.12);color:var(--blue);">PostgreSQL</span>
</div>
</div>
</div>
</div>
<div class="toolbox reveal" id="toolbox"></div>
</div>
</section>
<!-- ================= CONTACT ================= -->
<section id="contact">
<div class="wrap">
<div class="sec-head reveal" style="text-align:center;">
<div class="sec-num">§ 8 · Contact</div>
<h2>Get in touch</h2>
</div>
<div class="contact-box reveal">
<p>Open to academic research collaborations, quantitative mathematics discussions, and software engineering opportunities. If you're working on interesting problems at the intersection of mathematics and computation, I'm happy to connect.</p>
<div class="hero-cta" style="justify-content:center; margin-top:0;">
<a class="btn btn-ember" href="mailto:nickcosta32@gmail.com">nickcosta32@gmail.com</a>
<a class="btn btn-ghost" href="https://github.com/studyalwaysbro" target="_blank" rel="noopener noreferrer">GitHub</a>
<a class="btn btn-ghost" href="https://www.linkedin.com/in/nicholas-tavares-34986399/" target="_blank" rel="noopener noreferrer">LinkedIn</a>
</div>
</div>
</div>
</section>
<!-- ================= COLOPHON ================= -->
<section id="colophon">
<div class="wrap">
<div class="sec-head reveal">
<div class="sec-num">§ 9 · Colophon</div>
<h2>How this page is made</h2>
</div>
<div class="toolbox reveal" style="margin-top:0;">
<div class="tool-cell"><b>Type</b><div>Newsreader for text, JetBrains Mono for data, set in ink and printers red on warm paper. Dark pages use the same ink, inverted.</div></div>
<div class="tool-cell"><b>Engine</b><div>One hand-written HTML file. No framework, no template, no analytics. The cover is a single GLSL fragment shader your GPU runs live.</div></div>
<div class="tool-cell"><b>Data</b><div>The project ledger and its sparklines regenerate from local git history twice a day; Figure 1 regenerates from the paper's results file. Nothing on this page is typed in by hand twice.</div></div>
<div class="tool-cell"><b>Receipts</b><div>Zero rounded corners, zero stock illustrations, zero trackers, one shader. Both themes pass an automated contrast audit over every visible line of text.</div></div>
<div class="tool-cell"><b>Reading</b><div>Press / to jump anywhere, 1 through 9 for sections, ◐ for dark or light pages. It prints properly too; try it.</div></div>
</div>
</div>
</section>
<div id="palette" hidden>
<div class="pal-backdrop" id="pal-backdrop"></div>
<div class="pal-box">
<div class="pal-inner">
<input id="pal-input" type="text" placeholder="jump anywhere..." autocomplete="off" spellcheck="false" aria-label="command palette" />
<div class="pal-list" id="pal-list"></div>
<div class="pal-foot">↑↓ navigate · enter select · esc close · keys 1–9 jump sections</div>
</div>
</div>
</div>
<footer>
<div class="foot-disc">
<b>Disclosure:</b> this is a personal website. Nothing herein constitutes investment advice or a solicitation. This site is not affiliated with or endorsed by any employer or financial institution. All research content is academic and theoretical. <a href="#disclosures">Full disclosures →</a>
</div>
<div class="colophon">© <span id="year"></span> Nicholas Tavares. Built by hand, no framework, no template. Typeset like the papers it keeps citing.</div>
<div class="colophon-sub">The background up top is a Julia set your GPU rendered just now. Press / to move around faster.</div>
</footer>
<script id="fig1-data" type="application/json">{"s":[["2012-02-01",2.42],["2012-02-08",0.84],["2012-02-15",1.24],["2012-02-23",-0.05],["2012-03-01",1.16],["2012-03-08",0.6],["2012-03-15",1.07],["2012-03-22",0.37],["2012-03-29",0.77],["2012-04-05",0.54],["2012-04-13",-0.27],["2012-04-20",0.3],["2012-04-27",1.14],["2012-05-04",0.61],["2012-05-11",-0.62],["2012-05-18",1.63],["2012-05-25",0.19],["2012-06-04",1.1],["2012-06-11",0.55],["2012-06-18",0.58],["2012-06-25",-0.22],["2012-07-02",-0.0],["2012-07-10",0.04],["2012-07-17",-1.6],["2012-07-24",-0.0],["2012-07-31",-1.06],["2012-08-07",-1.24],["2012-08-14",-0.66],["2012-08-21",-0.76],["2012-08-28",0.76],["2012-09-05",0.46],["2012-09-12",-0.95],["2012-09-19",-0.52],["2012-09-26",-0.6],["2012-10-03",-1.35],["2012-10-10",-0.77],["2012-10-17",0.39],["2012-10-24",-0.25],["2012-11-02",-0.75],["2012-11-09",0.98],["2012-11-16",0.61],["2012-11-26",0.78],["2012-12-03",1.19],["2012-12-10",-0.56],["2012-12-17",0.86],["2012-12-24",-0.84],["2013-01-02",-0.13],["2013-01-09",0.3],["2013-01-16",1.76],["2013-01-24",0.32],["2013-01-31",0.68],["2013-02-07",-0.33],["2013-02-14",-1.19],["2013-02-22",1.69],["2013-03-01",1.82],["2013-03-08",1.27],["2013-03-15",0.12],["2013-03-22",0.88],["2013-04-01",0.72],["2013-04-08",0.94],["2013-04-15",3.84],["2013-04-22",1.05],["2013-04-29",0.67],["2013-05-06",0.11],["2013-05-13",0.38],["2013-05-20",1.11],["2013-05-28",0.56],["2013-06-04",2.85],["2013-06-11",1.64],["2013-06-18",0.48],["2013-06-25",4.27],["2013-07-02",1.39],["2013-07-10",-0.25],["2013-07-17",0.61],["2013-07-24",-0.8],["2013-07-31",-0.23],["2013-08-07",-0.52],["2013-08-14",-0.83],["2013-08-21",-0.8],["2013-08-28",-1.05],["2013-09-05",0.12],["2013-09-12",-0.1],["2013-09-19",0.05],["2013-09-26",-0.24],["2013-10-03",0.53],["2013-10-10",1.19],["2013-10-17",0.77],["2013-10-24",0.01],["2013-10-31",-1.29],["2013-11-07",-0.49],["2013-11-14",0.24],["2013-11-21",-1.21],["2013-11-29",2.07],["2013-12-06",0.9],["2013-12-13",0.51],["2013-12-20",0.61],["2013-12-30",-0.63],["2014-01-07",0.79],["2014-01-14",0.58],["2014-01-22",0.34],["2014-01-29",-0.03],["2014-02-05",1.45],["2014-02-12",-1.36],["2014-02-20",1.32],["2014-02-27",1.65],["2014-03-06",-0.19],["2014-03-13",0.23],["2014-03-20",-0.88],["2014-03-27",-0.05],["2014-04-03",0.51],["2014-04-10",1.32],["2014-04-17",-0.38],["2014-04-25",-0.42],["2014-05-02",-0.04],["2014-05-09",-0.11],["2014-05-16",-1.45],["2014-05-23",-1.3],["2014-06-02",-1.92],["2014-06-09",-0.64],["2014-06-16",-0.13],["2014-06-23",-0.49],["2014-06-30",0.51],["2014-07-08",0.3],["2014-07-15",0.15],["2014-07-22",-0.13],["2014-07-29",0.04],["2014-08-05",0.78],["2014-08-12",0.75],["2014-08-19",0.4],["2014-08-26",-0.25],["2014-09-03",-0.65],["2014-09-10",-0.5],["2014-09-17",-1.21],["2014-09-24",0.3],["2014-10-01",0.35],["2014-10-08",1.11],["2014-10-15",1.86],["2014-10-22",0.1],["2014-10-29",-0.71],["2014-11-05",0.52],["2014-11-12",1.4],["2014-11-19",1.4],["2014-11-26",-0.19],["2014-12-04",2.74],["2014-12-11",-1.68],["2014-12-18",-0.15],["2014-12-26",-0.34],["2015-01-05",-1.15],["2015-01-12",-2.16],["2015-01-20",-0.28],["2015-01-27",-0.47],["2015-02-03",-0.84],["2015-02-10",-1.25],["2015-02-18",-2.44],["2015-02-25",-1.51],["2015-03-04",-1.64],["2015-03-11",-2.43],["2015-03-18",-0.88],["2015-03-25",-1.0],["2015-04-01",-0.75],["2015-04-09",0.91],["2015-04-16",-0.31],["2015-04-23",-1.06],["2015-04-30",-0.14],["2015-05-07",-0.32],["2015-05-14",-1.28],["2015-05-21",-0.97],["2015-05-29",0.67],["2015-06-05",-1.47],["2015-06-12",0.22],["2015-06-19",-0.21],["2015-06-26",-0.42],["2015-07-06",0.41],["2015-07-13",0.75],["2015-07-20",-0.21],["2015-07-27",0.31],["2015-08-03",-0.48],["2015-08-10",-0.9],["2015-08-17",1.19],["2015-08-24",2.56],["2015-08-31",1.18],["2015-09-08",1.03],["2015-09-15",0.14],["2015-09-22",0.05],["2015-09-29",-0.01],["2015-10-06",-0.43],["2015-10-13",-1.06],["2015-10-20",0.34],["2015-10-27",0.65],["2015-11-03",-0.26],["2015-11-10",0.24],["2015-11-17",-2.04],["2015-11-24",-1.4],["2015-12-02",-2.04],["2015-12-09",-0.14],["2015-12-16",-1.21],["2015-12-23",-0.06],["2015-12-31",-0.84],["2016-01-08",-0.54],["2016-01-15",-1.45],["2016-01-25",-1.17],["2016-02-01",0.35],["2016-02-08",0.01],["2016-02-16",-0.46],["2016-02-23",1.57],["2016-03-01",-0.62],["2016-03-08",-1.02],["2016-03-15",0.66],["2016-03-22",-0.03],["2016-03-30",0.64],["2016-04-06",-0.9],["2016-04-13",0.09],["2016-04-20",-1.21],["2016-04-27",-0.76],["2016-05-04",-0.8],["2016-05-11",-1.44],["2016-05-18",-0.05],["2016-05-25",0.28],["2016-06-02",1.5],["2016-06-09",0.03],["2016-06-16",-0.82],["2016-06-23",-0.65],["2016-06-30",0.76],["2016-07-08",-0.63],["2016-07-15",-0.49],["2016-07-22",-0.0],["2016-07-29",0.83],["2016-08-05",0.41],["2016-08-12",0.53],["2016-08-19",0.1],["2016-08-26",1.23],["2016-09-02",-0.38],["2016-09-12",2.73],["2016-09-19",0.98],["2016-09-26",-0.93],["2016-10-03",0.41],["2016-10-10",1.41],["2016-10-17",-0.78],["2016-10-24",0.24],["2016-10-31",-0.35],["2016-11-07",-0.83],["2016-11-14",5.38],["2016-11-21",-1.35],["2016-11-29",0.7],["2016-12-06",1.19],["2016-12-13",0.13],["2016-12-20",2.6],["2016-12-28",-0.87],["2017-01-05",0.58],["2017-01-12",-0.65],["2017-01-20",-0.72],["2017-01-27",-0.4],["2017-02-03",-0.46],["2017-02-10",-1.07],["2017-02-17",-0.85],["2017-02-27",-0.8],["2017-03-06",-0.0],["2017-03-13",-0.53],["2017-03-20",-0.22],["2017-03-27",-0.27],["2017-04-03",-0.55],["2017-04-10",0.53],["2017-04-18",-0.25],["2017-04-25",-1.84],["2017-05-02",0.02],["2017-05-09",4.33],["2017-05-16",0.07],["2017-05-23",1.44],["2017-05-31",1.48],["2017-06-07",-0.12],["2017-06-14",0.21],["2017-06-21",-0.32],["2017-06-28",0.29],["2017-07-06",0.4],["2017-07-13",0.17],["2017-07-20",0.24],["2017-07-27",-0.54],["2017-08-03",-0.43],["2017-08-10",-0.38],["2017-08-17",-0.45],["2017-08-24",-0.64],["2017-08-31",-0.02],["2017-09-08",0.49],["2017-09-15",-0.14],["2017-09-22",-0.93],["2017-09-29",-0.43],["2017-10-06",-0.69],["2017-10-13",-0.38],["2017-10-20",-1.29],["2017-10-27",-0.06],["2017-11-03",-1.06],["2017-11-10",0.47],["2017-11-17",0.75],["2017-11-27",-0.03],["2017-12-04",0.31],["2017-12-11",-0.34],["2017-12-18",-0.77],["2017-12-26",-0.18],["2018-01-03",-0.1],["2018-01-10",-0.36],["2018-01-18",-0.95],["2018-01-25",-0.61],["2018-02-01",0.82],["2018-02-08",3.15],["2018-02-15",0.83],["2018-02-23",1.72],["2018-03-02",1.55],["2018-03-09",-0.2],["2018-03-16",-0.64],["2018-03-23",1.48],["2018-04-02",0.37],["2018-04-09",0.62],["2018-04-16",1.75],["2018-04-23",0.63],["2018-04-30",0.41],["2018-05-07",-1.01],["2018-05-14",1.24],["2018-05-21",-0.42],["2018-05-29",0.86],["2018-06-05",0.59],["2018-06-12",1.14],["2018-06-19",0.6],["2018-06-26",-0.19],["2018-07-03",-0.48],["2018-07-11",1.38],["2018-07-18",-1.43],["2018-07-25",-0.68],["2018-08-01",0.92],["2018-08-08",-0.46],["2018-08-15",0.65],["2018-08-22",-0.79],["2018-08-29",-1.27],["2018-09-06",-0.01],["2018-09-13",-0.38],["2018-09-20",-0.1],["2018-09-27",0.18],["2018-10-04",-0.13],["2018-10-11",1.21],["2018-10-18",-0.18],["2018-10-25",-0.98],["2018-11-01",0.79],["2018-11-08",0.24],["2018-11-15",0.29],["2018-11-23",0.67],["2018-11-30",1.05],["2018-12-10",2.24],["2018-12-17",-0.73],["2018-12-24",1.7],["2019-01-02",0.32],["2019-01-09",-1.31],["2019-01-16",-1.38],["2019-01-24",-2.33],["2019-01-31",-1.95],["2019-02-07",0.09],["2019-02-14",-1.48],["2019-02-22",-1.44],["2019-03-01",-0.33],["2019-03-08",-0.82],["2019-03-15",-1.51],["2019-03-22",-1.4],["2019-03-29",-0.75],["2019-04-05",-0.61],["2019-04-12",-0.64],["2019-04-22",-0.94],["2019-04-29",1.28],["2019-05-06",-0.37],["2019-05-13",-0.42],["2019-05-20",0.9],["2019-05-28",0.24],["2019-06-04",1.13],["2019-06-11",1.34],["2019-06-18",0.77],["2019-06-25",0.79],["2019-07-02",1.46],["2019-07-10",0.41],["2019-07-17",1.11],["2019-07-24",1.18],["2019-07-31",0.46],["2019-08-07",0.24],["2019-08-14",0.74],["2019-08-21",0.98],["2019-08-28",-0.7],["2019-09-05",-0.3],["2019-09-12",-0.07],["2019-09-19",1.19],["2019-09-26",-0.69],["2019-10-03",-0.83],["2019-10-10",-0.83],["2019-10-17",0.2],["2019-10-24",-0.34],["2019-10-31",0.04],["2019-11-07",0.04],["2019-11-14",-0.47],["2019-11-21",0.7],["2019-11-29",-0.83],["2019-12-06",0.0],["2019-12-13",-1.11],["2019-12-20",-0.28],["2019-12-30",-1.41],["2020-01-07",-0.01],["2020-01-14",0.28],["2020-01-22",0.62],["2020-01-29",-0.6],["2020-02-05",1.2],["2020-02-12",1.04],["2020-02-20",0.11],["2020-02-27",2.25],["2020-03-05",1.58],["2020-03-12",8.26],["2020-03-19",3.2],["2020-03-26",4.6],["2020-04-02",1.09],["2020-04-09",0.37],["2020-04-17",-0.51],["2020-04-24",-0.43],["2020-05-01",0.12],["2020-05-08",-1.41],["2020-05-15",-1.09],["2020-05-22",-0.74],["2020-06-01",-0.03],["2020-06-08",-1.01],["2020-06-15",-0.83],["2020-06-22",-1.6],["2020-06-29",-0.24],["2020-07-07",-0.2],["2020-07-14",-1.18],["2020-07-21",-1.28],["2020-07-28",-0.54],["2020-08-04",-1.82],["2020-08-11",-0.83],["2020-08-18",-1.81],["2020-08-25",0.23],["2020-09-01",1.96],["2020-09-09",2.24],["2020-09-16",1.06],["2020-09-23",1.51],["2020-09-30",0.93],["2020-10-07",0.28],["2020-10-14",-0.16],["2020-10-21",-0.24],["2020-10-28",0.43],["2020-11-04",1.17],["2020-11-11",1.29],["2020-11-18",-0.42],["2020-11-25",0.73],["2020-12-03",1.72],["2020-12-10",-0.84],["2020-12-17",-0.8],["2020-12-24",-0.76],["2021-01-04",0.42],["2021-01-11",-0.12],["2021-01-19",-0.85],["2021-01-26",0.56],["2021-02-02",0.48],["2021-02-09",-0.98],["2021-02-17",-0.93],["2021-02-24",-0.05],["2021-03-03",-0.12],["2021-03-10",0.37],["2021-03-17",0.29],["2021-03-24",-0.03],["2021-03-31",-0.53],["2021-04-08",-0.42],["2021-04-15",-0.38],["2021-04-22",-0.64],["2021-04-29",-0.22],["2021-05-06",1.59],["2021-05-13",0.22],["2021-05-20",0.34],["2021-05-27",-0.81],["2021-06-04",-1.12],["2021-06-11",-0.75],["2021-06-18",-0.46],["2021-06-25",-0.74],["2021-07-02",-0.44],["2021-07-12",-0.24],["2021-07-19",-0.67],["2021-07-26",-0.07],["2021-08-02",-0.66],["2021-08-09",0.45],["2021-08-16",-0.55],["2021-08-23",-0.05],["2021-08-30",-0.91],["2021-09-07",-0.8],["2021-09-14",-0.53],["2021-09-21",-0.75],["2021-09-28",0.8],["2021-10-05",0.43],["2021-10-12",0.06],["2021-10-19",-0.15],["2021-10-26",-0.44],["2021-11-02",0.92],["2021-11-09",1.93],["2021-11-16",1.9],["2021-11-23",-0.2],["2021-12-01",-0.01],["2021-12-08",2.18],["2021-12-15",-0.13],["2021-12-22",0.6],["2021-12-30",0.01],["2022-01-06",-0.13],["2022-01-13",0.24],["2022-01-21",1.14],["2022-01-28",0.33],["2022-02-04",-0.02],["2022-02-11",0.28],["2022-02-18",0.76],["2022-02-28",0.17],["2022-03-07",0.83],["2022-03-14",0.98],["2022-03-21",-0.47],["2022-03-28",-1.17],["2022-04-04",-0.91],["2022-04-11",-1.21],["2022-04-19",-0.97],["2022-04-26",-0.84],["2022-05-03",-0.85],["2022-05-10",-0.49],["2022-05-17",-0.68],["2022-05-24",-0.09],["2022-06-01",-1.48],["2022-06-08",-1.38],["2022-06-15",0.23],["2022-06-23",-0.12],["2022-06-30",-0.45],["2022-07-08",-0.72],["2022-07-15",-0.78],["2022-07-22",-1.18],["2022-07-29",-1.44],["2022-08-05",-0.54],["2022-08-12",-1.44],["2022-08-19",-0.51],["2022-08-26",0.19],["2022-09-02",1.95],["2022-09-12",-0.88],["2022-09-19",-0.54],["2022-09-26",-0.08],["2022-10-03",-0.31],["2022-10-10",-0.83],["2022-10-17",-0.19],["2022-10-24",-0.28],["2022-10-31",0.52],["2022-11-07",-0.01],["2022-11-14",0.02],["2022-11-21",-0.14],["2022-11-29",-0.48],["2022-12-06",-0.42],["2022-12-13",0.38],["2022-12-20",0.46],["2022-12-28",-0.69],["2023-01-05",-0.28],["2023-01-12",-0.09],["2023-01-20",-0.05],["2023-01-27",-0.65],["2023-02-03",-0.95],["2023-02-10",-0.15],["2023-02-17",-0.71],["2023-02-27",0.3],["2023-03-06",-0.92],["2023-03-13",0.04],["2023-03-20",0.41],["2023-03-27",0.3],["2023-04-03",-0.87],["2023-04-11",-0.21],["2023-04-18",-0.56],["2023-04-25",0.01],["2023-05-02",1.42],["2023-05-09",1.65],["2023-05-16",-0.77],["2023-05-23",-1.11],["2023-05-31",-0.5],["2023-06-07",0.2],["2023-06-14",0.48],["2023-06-22",-0.51],["2023-06-29",-0.01],["2023-07-07",-0.06],["2023-07-14",0.37],["2023-07-21",-0.88],["2023-07-28",-0.68],["2023-08-04",-0.66],["2023-08-11",-1.09],["2023-08-18",-0.81],["2023-08-25",-0.44],["2023-09-01",0.93],["2023-09-11",0.86],["2023-09-18",-0.93],["2023-09-25",-0.56],["2023-10-02",-0.07],["2023-10-09",1.84],["2023-10-16",2.85],["2023-10-23",1.39],["2023-10-30",2.34],["2023-11-06",1.88],["2023-11-13",1.52],["2023-11-20",3.11],["2023-11-28",-0.4],["2023-12-05",-0.0],["2023-12-12",-0.54],["2023-12-19",-0.07],["2023-12-27",-0.93],["2024-01-04",0.09],["2024-01-11",-0.03],["2024-01-19",2.19],["2024-01-26",1.51],["2024-02-02",-0.22],["2024-02-09",-0.73],["2024-02-16",-0.8],["2024-02-26",-0.73],["2024-03-04",-0.7],["2024-03-11",-0.47],["2024-03-18",-0.2],["2024-03-25",-0.61],["2024-04-02",-0.12],["2024-04-09",-1.35],["2024-04-16",0.21],["2024-04-23",0.02],["2024-04-30",-0.6],["2024-05-07",-0.4],["2024-05-14",-0.19],["2024-05-21",-0.84],["2024-05-29",-0.53],["2024-06-05",0.63],["2024-06-12",0.67],["2024-06-20",0.65],["2024-06-27",-0.53],["2024-07-05",-0.47],["2024-07-12",0.27],["2024-07-19",-0.05],["2024-07-26",1.29],["2024-08-02",2.52],["2024-08-09",0.42],["2024-08-16",2.8],["2024-08-23",-0.11],["2024-08-30",-0.58],["2024-09-09",0.13],["2024-09-16",-0.48],["2024-09-23",1.23],["2024-09-30",0.62],["2024-10-07",1.92],["2024-10-14",1.12],["2024-10-21",0.18],["2024-10-28",-0.09],["2024-11-04",-0.77],["2024-11-11",1.61],["2024-11-18",0.6],["2024-11-25",0.33],["2024-12-03",-1.05],["2024-12-10",-0.54],["2024-12-17",-0.78],["2024-12-24",-0.13],["2025-01-02",-1.0],["2025-01-10",0.32],["2025-01-17",0.26],["2025-01-27",1.5],["2025-02-03",0.04],["2025-02-10",-0.94],["2025-02-18",-0.42],["2025-02-25",-1.0],["2025-03-04",-0.05],["2025-03-11",-0.06],["2025-03-18",-0.96],["2025-03-25",-0.71],["2025-04-01",-1.53],["2025-04-08",1.75],["2025-04-15",2.06],["2025-04-23",-0.61],["2025-04-30",-0.79],["2025-05-07",0.79],["2025-05-14",-0.4],["2025-05-21",-1.52],["2025-05-29",-0.52],["2025-06-05",-0.66],["2025-06-12",-0.97],["2025-06-20",-0.58],["2025-06-27",0.33],["2025-07-07",-0.34],["2025-07-14",-0.39],["2025-07-21",-0.19],["2025-07-28",-1.06],["2025-08-04",-0.44],["2025-08-11",-0.67],["2025-08-18",-0.77],["2025-08-25",-0.49],["2025-09-02",-0.18],["2025-09-09",-0.01],["2025-09-16",-1.55],["2025-09-23",-0.42],["2025-09-30",2.85],["2025-10-07",7.77],["2025-10-14",1.17],["2025-10-21",-0.3],["2025-10-28",-0.1],["2025-11-04",-0.28],["2025-11-11",-0.51],["2025-11-18",0.25],["2025-11-25",-0.84],["2025-12-03",-0.72],["2025-12-10",-0.19],["2025-12-17",0.04],["2025-12-24",-1.02],["2026-01-02",-1.03],["2026-01-09",0.18],["2026-01-16",-0.38],["2026-01-26",-0.17],["2026-02-02",1.7],["2026-02-09",0.07],["2026-02-17",0.13],["2026-02-24",0.6],["2026-03-03",1.63],["2026-03-10",0.39],["2026-03-17",0.03],["2026-03-24",1.1],["2026-03-31",0.75],["2026-04-08",0.18],["2026-04-15",-0.64],["2026-04-22",-0.47],["2026-04-29",-0.12],["2026-05-06",0.88],["2026-05-13",-0.02],["2026-05-20",0.45],["2026-05-28",-1.37],["2026-06-04",0.23],["2026-06-11",0.69],["2026-06-18",-0.64],["2026-06-26",0.73],["2026-07-06",0.68],["2026-07-13",0.64],["2026-07-20",0.25]],"e":[{"l":"European Sovereign Debt Crisis & US Downgrade 2011","a":"2011-06-15","b":"2011-08-12"},{"l":"COVID-19 Market Crash February-March 2020","a":"2020-02-05","b":"2020-03-23"},{"l":"Fed Hawkish Repricing 2022","a":"2021-11-01","b":"2022-03-15"},{"l":"SVB Banking Stress March 2023","a":"2023-02-23","b":"2023-03-15"},{"l":"Iran-Israel Escalation April 2024 (Operation True Promise I)","a":"2024-04-01","b":"2024-04-15"},{"l":"Japan Carry Trade Unwind August 2024","a":"2024-07-31","b":"2024-08-05"},{"l":"Iran-Israel Escalation October 2024 (Operation True Promise II)","a":"2024-09-15","b":"2024-10-03"},{"l":"DeepSeek AI Cost Shock January 2025","a":"2025-01-10","b":"2025-01-28"},{"l":"Israel-Iran War June 2025","a":"2025-06-01","b":"2025-06-24"},{"l":"October 2025 tariff shock (post-hoc)","a":"2025-09-08","b":"2025-10-17"},{"l":"May-June 2026 episode (OOS postscript)","a":"2026-05-01","b":"2026-06-30"}]}</script>
<script>
(function () {
"use strict";
/* ---------- tiny helpers ---------- */
var $ = function (s) { return document.querySelector(s); };
var esc = function (s) {
return String(s == null ? "" : s).replace(/[&<>"']/g, function (ch) {
return { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }[ch];
});
};
$("#year").textContent = new Date().getFullYear();
/* ---------- live stats (stats.json, regenerated twice daily) ---------- */
fetch("stats.json?" + Date.now())
.then(function (r) { return r.json(); })
.then(function (s) {
var items = [
{ v: s.open_source_releases, l: "open-source releases" },
{ v: s.projects, l: "projects" },
{ v: s.public_repos, l: "public repos" },
{ v: s.active_this_month, l: "active this month" }
];
$("#hero-stats").innerHTML = items.map(function (it) {
return '<div class="hero-stat"><b>' + esc(it.v) + "</b><span>" + esc(it.l) + "</span></div>";
}).join("");
if (s.updated) {
var d = new Date(s.updated);
var when = d.toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
$("#hero-sync").innerHTML = '<i>●</i> live numbers, synced automatically on ' + esc(when);
}
})
.catch(function () {});
/* ---------- projects (projects.json, regenerated twice daily) ---------- */
var PROJECTS = [];
var FILTER = "All";
function activityBits(label) {
if (!label || label === "unknown") return null;
var heat = "dot-cool";
if (label === "today" || label === "this week") heat = "dot-hot";
else if (label === "this month") heat = "dot-warm";
return '<span class="activity"><span class="dot ' + heat + '"></span>active ' + esc(label) + "</span>";
}
function linkHTML(p) {
if (p.github && !p.github_private) {
return '<a class="proj-link" href="' + esc(p.github) +
'" target="_blank" rel="noopener noreferrer">github</a>';
}
return '<span class="proj-private">private</span>';
}
function tagsLine(p) {
return (p.tags || []).map(esc).join(" · ");
}
function sparkHTML(p) {
var s = p.stats && p.stats.spark;
if (!s || !s.length) return "";
var mx = Math.max.apply(null, s);
if (!mx) return "";
var W = 84, H = 16, n = s.length;
var coords = s.map(function (v, i) {
return [(i * (W - 6) / (n - 1) + 3), (H - 2.5 - (v / mx) * (H - 6))];
});
var pts = coords.map(function (c) { return c[0].toFixed(1) + "," + c[1].toFixed(1); }).join(" ");