Skip to content

Commit

Permalink
python isnt easy
Browse files Browse the repository at this point in the history
  • Loading branch information
mbund committed Aug 22, 2024
1 parent ee1097b commit efdd289
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 4 deletions.
Binary file added public/assets/python-isnt-easy/matplotlib.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/content/blog/cicd-for-university.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ One script later which calls [`pandoc`](https://pandoc.org) with some custom CSS
<iframe class="w-full h-full" src="/assets/cicd-for-university/MyAverageLengthJavaClassName-custom.pdf"></iframe>
</div>

It doesn't look quite the same, but it serves the same purpose, which is for graders to mark up the code. And, as a side note, Eclipse's printing is not deterministic either. If you zoom in on the code view, it will zoom in on the print too. If you change the font in the editor, it will change the font in the print. And if you change the color theme, it will also change the colors in the print. Considering that, I think the script gets close enough (and I wanted to get started on actually working on the assigned projects eventually).
It doesn't look quite the same, but it serves the same purpose, which is for graders to mark up the code. And, as a side note, Eclipse's printing is not perfectly consistent either. If you zoom in on the code view, it will zoom in on the print too. If you change the font in the editor, it will change the font in the print. And if you change the color theme, it will also change the colors in the print. Considering that, I think the script gets close enough (and I wanted to get started on actually working on the assigned projects eventually).

### CI/CD

Expand Down Expand Up @@ -126,7 +126,7 @@ Where `CANVAS_URL` is something like `https://your.instructure.com/courses/12345

## The command line beckons

My freshman year roommate once asked me how I used my computer. I wasn't sure what he meant at first. But after asking more about what he meant, it turns out that he wasn't confused by Linux or Gnome, he thought _vscode_ was my desktop environment, because I never left it. I realized that he was kind of right.
My freshman year roommate once asked me how I used my computer. I wasn't sure what he meant at first. But after asking more, it turns out that he wasn't confused by Linux or Gnome, he thought _vscode_ was my desktop environment, because I never left it. I realized that he was kind of right.

- Math homework? LaTeX, in vscode
- CS homework? See [above](#vscode-dev-environment) if it wasn't clear that was vscode
Expand Down
4 changes: 2 additions & 2 deletions src/content/blog/homelab.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ In 2022 I started my homelab journey. Finally in 2023 I reached a point where I'

## Why

If you're anything like me, you're the tech support person in your family. What that means in practice is that you're the one who gets called when the printer doesn't work or the internet is down. It also means that I somehow end up with everyone's old laptops and phones whenever they get an upgrade. And you know what? Hardware got really good a few years ago. Those laptops are perfectly usable with 8GB RAM each + some storage. If I just straight added up each computer's RAM, I'd have 24GB at this point, which is more than enough to run a few VMs and self hosted services.
Over the past few years I've been collecting old laptops and phones whenever someone in my family gets an upgrade. Those "old" laptops are still perfectly good machines with 8GB RAM each + some storage. If I just straight added up each computer's RAM, I'd have 24GB at this point, which is more than enough to run a few VMs and self hosted services.

At this time I also began to become more aware of the privacy implications of using cloud services. I think that it's important to be aware of what data you're giving away and to whom. Recently there have been some awesome FOSS projects which claim to match the functionality of their cloud counterparts, easily self hostable with docker, which I would really like to try out. I also wanted to learn more about networking and Linux administration, and what better way to do that than to build a homelab?
Around this time I also began to become more aware of the privacy implications of using cloud services. I think that it's important to be aware of what data you're giving away and to whom. Recently there have been some awesome FOSS projects which claim to match the functionality of their cloud counterparts, easily self hostable with docker, which I would really like to try out. I also wanted to learn more about networking and Linux administration, and what better way to do that than to build a homelab?

## The Dream

Expand Down
Loading

0 comments on commit efdd289

Please sign in to comment.