Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit ad70079

Browse files
committed
vault backup: 2025-01-02 11:29:36
1 parent 9391383 commit ad70079

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+436
-252
lines changed

content/education/omscs/cs-6200.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ tags:
44
aliases:
55
- gios
66
---
7-
My first class I took at Georgia Tech's OMSCS program was cs-6200, or Graduate Introduction to Operating Systems (**GIOS**). I took it in **Spring 2024**. This is my first formal CS class, ever. I took a couple in college but they were mostly fluff and designed around numerical applications of code. I took it alongside [[cs-7674|ml4t]].
87

9-
I loved the class. It's probably my favorite class I've taken in anything, ever.
8+
My first class I took at Georgia Tech's OMSCS program was cs-6200, or Graduate Introduction to Operating Systems (**GIOS**). I took it in **Spring 2024**. This is my first formal CS class, ever. I took a couple in college but they were mostly fluff and designed around numerical applications of code. I took it alongside [[cs-7674|ml4t]].
9+
10+
I loved the class. It's probably my favorite class I've taken in anything, ever.
1011

1112
In GIOS, the cool thing is that the projects are open-ended. All you have to do is pass a test suite they provided. For Project 1, I did it strictly by the book. For Project 3, I did something very weird and zany to the point where the Autograder actually got confused by my project. Project 4 was my least favorite: it uses gRPC and C++, and I ended up disliking both by the end of it (mostly the C++ API of gRPC, I've used the protocol in other languages successfully).
1213

@@ -22,6 +23,6 @@ The projects don't really reflect "OS development". It's more, "you're developin
2223

2324
[[macos-native-docker]]: The class environment is an Ubuntu 20.04 x86 environment, I needed to run a class-provided docker image to perfectly replicate our testing environment to make sure I wasn't dealing with quirks. I use a M1 Pro Macbook 14 that I absolutely adore, and didn't want to deal with a Cloud VM to develop.
2425

25-
[[basic-fstream]]: I spent over 3 hours debugging this problem in Project 4. I hate C++.
26+
[[basic-fstream]]: I spent over 3 hours debugging this problem in Project 4. I hate C++.
2627

27-
[[destructive-moves]]: A design choice I made in Project 4 was rendered impossible due to this.
28+
[[destructive-moves]]: A design choice I made in Project 4 was rendered impossible due to this.

content/education/omscs/cs-7674.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ tags:
44
aliases:
55
- ml4t
66
---
7+
78
My second class at OMSCS was cs-7674, Machine Learning for Trading (**ML4T**). I thought it was... alright? It's mostly just Python stuff, of which I'm very familiar with. I took it alongside [[cs-6200|gios]]. It's kind of like an introduction into data science techniques with a focus on ML. Now I'm not an ML person at all, my undergraduate background is in economics and math, but ML is just statistical models. I came in not knowing much and breezed through the class with said knowledge of statistics.
89

910
I'm probably killing my career by saying ML isn't really my cup of tea. Honestly, stocks aren't either, I'm a believer in the Efficient Market Hypothesis and [[stocks|buy $VTSAX and chill]]. I'm more interested in ML from a mathematical standpoint, this class is mostly Applied ML. It'll certainly help you get a job, if that's what you're looking for.
1011

11-
I spent maybe 10 hours per week on the class. I didn't feel really engaged during the class at all. I just thought it was kinda...
12-
12+
I spent maybe 10 hours per week on the class. I didn't feel really engaged during the class at all. I just thought it was kinda...

content/education/omscs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Notes about all the classes I took at OMSCS, with a mini review and any thoughts I had about them.
1+
Notes about all the classes I took at OMSCS, with a mini review and any thoughts I had about them.

content/finance/credit-cards.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
tags:
33
- thoughts
4+
draft: true
45
---
6+
57
Credit cards are such a fun system. For me, there's kinda a thrill associated with them — you get access to "free" money for a month, but if you fuck up, you get hit with an exorbitant fine.
68

7-
Credit cards are a big driver of inequality. The current system is based on rewards being funded through irresponsible borrowers. It's basically a wealth transfer from the poor to the wealthy. On a logical level, I shouldn't really support it. If credit cards rewards were to disappear tomorrow, I wouldn't mourn it.
9+
Credit cards are a big driver of inequality. The current system is based on rewards being funded through irresponsible borrowers. It's basically a wealth transfer from the poor to the wealthy. On a logical level, I shouldn't really support it. If credit cards rewards were to disappear tomorrow, I wouldn't mourn it.

content/finance/finance-for-new-grads.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,39 @@
22
title: '"I just graduated! What the hell am I supposed to do with all this money?"'
33
tags:
44
- observations
5+
draft: true
56
---
7+
68
> [!warning] Disclaimer
79
> Do I need to put a disclaimer on my own notes? I'm not a financial advisor, I don't have a license, this is not advice, I'm not liable for any decisions you don't make. Don't sue me.
10+
811
# Introduction
912

1013
I want to preface this by saying
1114

1215
**YOU ARE NOT A DUMMY!!!!!**
1316

14-
Finance is not something that's taught in schools.^[1] Money doesn't matter until it does matter. I certainly blindly earned paychecks from odd jobs until I got my first big-boy job after college, until everything hit me.
17+
Finance is not something that's taught in schools.^[1] Money doesn't matter until it does matter. I certainly blindly earned paychecks from odd jobs until I got my first big-boy job after college, until everything hit me.
1518

16-
*What the heck is a ROTH IRA?*
17-
*Girl, what the hell is a Traditional IRA*
18-
*401k?? Employee match. Pre-tax deduction???*
19-
*Why should I care about Retirement? I'm 22 years old?*
20-
*Federal Taxes? State Taxes? WTF is a 'FICA'???*
21-
*Will the government jail me if I underpay my taxes?*
19+
_What the heck is a ROTH IRA?_
20+
_Girl, what the hell is a Traditional IRA_
21+
_401k?? Employee match. Pre-tax deduction???_
22+
_Why should I care about Retirement? I'm 22 years old?_
23+
_Federal Taxes? State Taxes? WTF is a 'FICA'???_
24+
_Will the government jail me if I underpay my taxes?_
2225

2326
You are not alone if you have these questions. There are few trustworthy sources for financial information, with most companies trying to sell some product. You really shouldn't trust me either — instead, I'll do my best to link the sources that further elaborate on my thinking.
2427

2528
I wrote this primarily because I became "the guy" explaining finance to all my friends, and quite frankly, I got tired of copy-pasting the spiel I wrote in my notes app. As such, this is written from the perspective of someone making the median income after graduating college in the United States, which I've guesstimated to be around 50k, give or take. If you're not a college graduate, or you're making more or less, don't sweat; your income is not a reflection of your self-worth, and this advice can be generalized to anyone. Even if you've been working for a long time, you might learn something new from this.
2629

27-
Let's dive in!
30+
Let's dive in!
2831

29-
>[!tip]
30-
>If you're interested in reading a book, I'd recommend checking out *A Simple Path to Wealth* by JL Collins. While I personally haven't read it, I've had plenty of friends who have and strongly recommend it. I'd recommend it over this document. At the very least, consider checking it out from your local library after you've read this.
32+
> [!tip]
33+
> If you're interested in reading a book, I'd recommend checking out _A Simple Path to Wealth_ by JL Collins. While I personally haven't read it, I've had plenty of friends who have and strongly recommend it. I'd recommend it over this document. At the very least, consider checking it out from your local library after you've read this.
3134
3235
# Give me the rundown!
3336

34-
Okay, so you have a big boy job now. You've just earned your first paycheck. Let's break down what your paycheck actually *is*.
37+
Okay, so you have a big boy job now. You've just earned your first paycheck. Let's break down what your paycheck actually _is_.
3538

3639
Here's an example paycheck for someone making a 50k salary, just base, no bonus/equity/whatever. This is modeled after my own paycheck in Massachusetts.
3740

@@ -44,18 +47,16 @@ Here's an example paycheck for someone making a 50k salary, just base, no bonus/
4447
| Social Security | -114 | Pays into Social Security |
4548
| Medicare | -27 | Pays for Medicare |
4649
| Healthcare | -85 | Healthcare you chose, deducted from your paycheck |
47-
| => Net Income | 1470 | *your* money |
48-
Your **gross** income is the money you make *before* taxes and various deductions, while your **net** income is the money you you get afterwards. Net goes into your bank account.
50+
| => Net Income | 1470 | _your_ money |
4951

52+
Your **gross** income is the money you make _before_ taxes and various deductions, while your **net** income is the money you you get afterwards. Net goes into your bank account.
5053

5154
# Let's go deep.
5255

5356
## Banking
5457

5558
## Taxes
5659

57-
58-
5960
## Healthcare
6061

6162
## Retirement
@@ -64,6 +65,4 @@ Your **gross** income is the money you make *before* taxes and various deduction
6465

6566
## Credit Cards
6667

67-
68-
69-
[^1]: And I don't want to hear the "oh, it should've been taught in school", face it, you and I would've both slept through it.
68+
[^1]: And I don't want to hear the "oh, it should've been taught in school", face it, you and I would've both slept through it.

content/finance/stocks.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
---
22
tags:
33
- thoughts
4+
draft: true
45
---
6+
57
> [!warning] Disclaimer
68
> Do I need to put a disclaimer on my own notes? I'm not a financial advisor, I don't have a license, this is not advice, I'm not liable for any decisions you don't make. Don't sue me.
79
810
I think investing in single stocks is pretty much the biggest myth that gets constantly paraded around in "get-rich" type content. Trying to find the needle is not worth your time. Buy the haystack instead.
911

1012
No one has managed to beat the market consistently for over 30+ years. People can do it in 1, 5, 10, even 20 year spurts, but no one has ever done it for 30 years. Why? The market is the sum of people's decision-making. If someone is successful at decision-making, other people are going to copy them. There's a first-movers advantage, and in the age of the internet, that has functionally evaporated.
1113

12-
Warren Buffet challenged a group of hedge fund managers in 2008 to beat his buy of the S&P500. 10 years later, he [overwhelmingly won](https://finance.yahoo.com/news/warren-buffett-once-bet-1m-113000485.html). Like, this is *thee* Warren Buffet, regarded as the greatest investor of all-time. And he won by doing something anyone can do, which is buy the S&P500 (or more broadly, an index).
14+
Warren Buffet challenged a group of hedge fund managers in 2008 to beat his buy of the S&P500. 10 years later, he [overwhelmingly won](https://finance.yahoo.com/news/warren-buffett-once-bet-1m-113000485.html). Like, this is _thee_ Warren Buffet, regarded as the greatest investor of all-time. And he won by doing something anyone can do, which is buy the S&P500 (or more broadly, an index).
1315

14-
This general idea is called the Efficient Market Hypothesis. There are several forms of it, strong weak etc. I don't remember the name of the variant that I believe in, but I believe it's impossible to beat the market consistently unless you have insider information.
16+
This general idea is called the Efficient Market Hypothesis. There are several forms of it, strong weak etc. I don't remember the name of the variant that I believe in, but I believe it's impossible to beat the market consistently unless you have insider information.
1517

16-
Hedge funds get a lot of praise but don't actually have much to show for it. Indeed, hedge funds aren't designed to grow your money, but to grow your money *consistently*. Sure, on a year-to-year basis you might outperform the S&P in a given year, but why care about that? Your goal is to grow your money over a long period of time, not to withdraw it on a year-to-year basis. You probably work a job, earn your money through there. They also charge a ridiculous fee, so even if they are growing your money, they're likely taking a huge chunk of it into their own properties.
18+
Hedge funds get a lot of praise but don't actually have much to show for it. Indeed, hedge funds aren't designed to grow your money, but to grow your money _consistently_. Sure, on a year-to-year basis you might outperform the S&P in a given year, but why care about that? Your goal is to grow your money over a long period of time, not to withdraw it on a year-to-year basis. You probably work a job, earn your money through there. They also charge a ridiculous fee, so even if they are growing your money, they're likely taking a huge chunk of it into their own properties.
1719

18-
You can be lucky, you could be right, you could really be smarter than the market. You're not, no one is. So like, buy your index funds. All the effort you spend towards thinking about stocks, spent it towards increasing your earning potential. The ROI on that is stronger than it'll ever be on stocks.
20+
You can be lucky, you could be right, you could really be smarter than the market. You're not, no one is. So like, buy your index funds. All the effort you spend towards thinking about stocks, spent it towards increasing your earning potential. The ROI on that is stronger than it'll ever be on stocks.

content/hardware/nvidia/installing-cuda-nvidia-drivers-on-lxc.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@ title: Installing CUDA/Nvidia Drivers on a host to be shared with Linux Containe
33
tags:
44
- observations
55
---
6+
67
I have a Proxmox server with an RTX 4090. I want to share the GPU across multiple lightweight Linux Containers (LXCs), of which they might share them with Docker containers, which could theoretically share... whatever, you get it. I want access to `nvcc` on LXCs for development. I also want access to the drivers so applications that use hardware acceleration (such as [Jellyfin](https://github.com/jellyfin/jellyfin)) can... accelerate.
78

89
This is a little bit more of a convoluted process than it may seem like. It involves messing with the kernel, building kernel modules, passing through drivers, and downloading multiple packages, but in the end, you get a GPU that can be used in multiple contexts avoiding the overhead of virtualization, with all the upside of containerization and isolation.
910

1011
> [!info]
11-
> If you can avoid it, don't install CUDA on your host or LXCs. You should use devcontainer ecosystem and develop inside a docker container, pulling [`nvidia/cuda-devel`](https://hub.docker.com/r/nvidia/cuda/) for `nvcc` access, and you *should* do this to pin your dependencies. However, you *will* need to have the corresponding drivers installed on the host and any additional layers of isolation. This guide includes the installation of drivers, you can skip the CUDA stuff if it's not relevant.
12+
> If you can avoid it, don't install CUDA on your host or LXCs. You should use devcontainer ecosystem and develop inside a docker container, pulling [`nvidia/cuda-devel`](https://hub.docker.com/r/nvidia/cuda/) for `nvcc` access, and you _should_ do this to pin your dependencies. However, you _will_ need to have the corresponding drivers installed on the host and any additional layers of isolation. This guide includes the installation of drivers, you can skip the CUDA stuff if it's not relevant.
1213
13-
I'm doing this on a fresh installation of Proxmox. My server is using a 7950x3D + a PNY RTX 4090 (my beloved). I will be using debian (btw) as my LXC guest since it's the gold standard, but all of this can be adapted to your relevant distro.
14+
I'm doing this on a fresh installation of Proxmox. My server is using a 7950x3D + a PNY RTX 4090 (my beloved). I will be using debian (btw) as my LXC guest since it's the gold standard, but all of this can be adapted to your relevant distro.
1415

1516
# Getting the relevant driver
1617

17-
Here's a fun fact: NVIDIA releases CUDA releases separately from their gaming/workload drivers, but the latter drivers may sometimes be ahead of their CUDA-based drivers. This can lead to some *fun* (author's note: horrible) scenarios. NVIDIA does not directly publish what version of the driver is associated with a CUDA release, you need to figure it out yourself. *woohoo!*
18+
Here's a fun fact: NVIDIA releases CUDA releases separately from their gaming/workload drivers, but the latter drivers may sometimes be ahead of their CUDA-based drivers. This can lead to some _fun_ (author's note: horrible) scenarios. NVIDIA does not directly publish what version of the driver is associated with a CUDA release, you need to figure it out yourself. _woohoo!_
1819

19-
God, NVIDIA, I might be your only defender left, but can you please make it easier for the rest of us?
20+
God, NVIDIA, I might be your only defender left, but can you please make it easier for the rest of us?

0 commit comments

Comments
 (0)