Better HN
topnewbestaskshowjobs
Log inSign up

TrustPatches

55 karma · joined Jul 14, 2020 (6y ago) · 21 submissions

Submissions

comment 1mo ago · link · parent

Fiction: Between Two Fires

Non-fiction: 21st Century Monetary Policy

comment 11mo ago · link · parent

A lot, but my favorites of the year:

- Children of Time

- Hyperion & The Fall of Hyperion

- Red Dragon & Silence of the Lambs

- Cat's Cradle

- The Book of the New Sun

comment 2y ago · link · parent

Started playing fantasy football last year. Vastly improved my enjoyment of football, find myself following players and teams I wouldn’t care about before. I use my fantasy app for scores, news, etc.

I watch RedZone, and created a multireddit for nfl, teams, fantasy, etc. for the rest + YouTube for highlights

comment 2y ago · link · parent

Gossip Glomers might be fun if you’re looking for some hands-on exercises :)

https://fly.io/dist-sys/

5.

Filling in the Gaps: HTTPS/TLS Certificates(blog.bityard.net ↗)

1 points · by TrustPatches · 2y ago · discuss

comment 2y ago · link · parent

Almost done with Beej's Guide to Networking Concepts[1] and absolutely loving it, following along in Go. Gotta check this out and his other guides afterwards

[1]: https://beej.us/guide/bgnet0/html/split/index.html

comment 3y ago · link · parent

One problem I’ve experienced doing something like this is you end up with both exceptions and error values since the standard library and 3rd party libraries are still primarily exception based. You either have to live with it or create wrappers that catch errors and return them as values.

comment 3y ago · link · parent

I always thought it would be cool to build an entire toy “stack”. Maybe start with a language, DB, and web server. You could start out simple, for example building a language that transpiles to JS, and overtime replace parts with lower level implementations

comment 3y ago · link · parent

CSE 374, good times :)

comment 3y ago · link · parent

+1, being able to write tests that access private fields and functions means you never need to expose behavior or data purely for testability

comment 3y ago · link · parent

I’ve always felt that strings are a little abused, we say “string” when we actually mean 100 different things.

comment 3y ago · link · parent

I got it to solve day 1 while playing with it yesterday, not shocked at all that this happened. Wonder if they'll try to prevent this somehow to preserve the competitive nature of AoC...

comment 4y ago · link · parent

Very cool, I guess one the the advantages of rust macros is that you could write your own to do something more advanced in theory

comment 4y ago · link · parent

Not sure if it’s an exact parallel, but you can also embed files into rust binaries with “include_bytes!” and “include_str!”.

comment 4y ago · link · parent

Really liked this post. One of the hardest things for me as a junior engineer is navigating complicated codebases and understanding them enough to make the change I want. This gives useful insight on how one might approach a similar problem.

comment 4y ago · link · parent

What about the web? The browser isn’t a perfect sandbox and certainly limits capabilities but many apps these days could be (and are) served via the browser

comment 4y ago · link · parent

Halfway through crafting interpreters and I couldn’t recommend it enough, the entire book is free on the website, and contains every line of code you need to create your own programming language. Very practical, with just the right amount of theory.

Even if you don’t care about language design, it’s a great way to get you to think about the tools we use everyday, how they get made, and why their limitations exist.

comment 4y ago · link · parent

Same, I’ve found it incredibly productive for scaffolding web apps, also helps when I’m less familiar with a language or framework.

comment 4y ago · link · parent

Love it, procedural world generation is a ton of fun

comment 5y ago · link · parent

That’s what I did, a lot of the smaller pre-build retailers are out of stock but HP/Dell/etc. still have the high end cards in reasonably priced builds.

comment 6y ago · link · parent

They didn’t know apparently, the photo was taken years ago with a random seed just for the purpose of using it in the menu IIRC.