HN user

TrustPatches

54 karma
Posts1
Comments19
View on HN

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

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

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.

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

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...

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

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

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.

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.

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.