You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: content/education/omscs/cs-6200.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,10 @@ tags:
4
4
aliases:
5
5
- gios
6
6
---
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]].
8
7
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.
10
11
11
12
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).
[[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.
24
25
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++.
26
27
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.
Copy file name to clipboardExpand all lines: content/education/omscs/cs-7674.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ tags:
4
4
aliases:
5
5
- ml4t
6
6
---
7
+
7
8
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.
8
9
9
10
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.
10
11
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...
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.
6
8
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.
Copy file name to clipboardExpand all lines: content/finance/finance-for-new-grads.md
+17-18Lines changed: 17 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,36 +2,39 @@
2
2
title: '"I just graduated! What the hell am I supposed to do with all this money?"'
3
3
tags:
4
4
- observations
5
+
draft: true
5
6
---
7
+
6
8
> [!warning] Disclaimer
7
9
> 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
+
8
11
# Introduction
9
12
10
13
I want to preface this by saying
11
14
12
15
**YOU ARE NOT A DUMMY!!!!!**
13
16
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.
15
18
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?_
22
25
23
26
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.
24
27
25
28
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.
26
29
27
-
Let's dive in!
30
+
Let's dive in!
28
31
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.
31
34
32
35
# Give me the rundown!
33
36
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_.
35
38
36
39
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.
37
40
@@ -44,18 +47,16 @@ Here's an example paycheck for someone making a 50k salary, just base, no bonus/
44
47
| Social Security | -114 | Pays into Social Security |
45
48
| Medicare | -27 | Pays for Medicare |
46
49
| 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 |
49
51
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.
50
53
51
54
# Let's go deep.
52
55
53
56
## Banking
54
57
55
58
## Taxes
56
59
57
-
58
-
59
60
## Healthcare
60
61
61
62
## Retirement
@@ -64,6 +65,4 @@ Your **gross** income is the money you make *before* taxes and various deduction
64
65
65
66
## Credit Cards
66
67
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.
> 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.
7
9
8
10
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.
9
11
10
12
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.
11
13
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).
13
15
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.
15
17
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.
17
19
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.
Copy file name to clipboardExpand all lines: content/hardware/nvidia/installing-cuda-nvidia-drivers-on-lxc.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,18 @@ title: Installing CUDA/Nvidia Drivers on a host to be shared with Linux Containe
3
3
tags:
4
4
- observations
5
5
---
6
+
6
7
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.
7
8
8
9
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.
9
10
10
11
> [!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.
12
13
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.
14
15
15
16
# Getting the relevant driver
16
17
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!_
18
19
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