• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle
  • Some of this is probably just getting to know your tools. Learn the language, look at others’ code and interrogate what they did and why. The higher-order functions (scary-sounding term, but they’re not actually scary) you mentioned are useful, go learn them and use them.

    Some of it might also be (I haven’t seen your code) getting a better understanding of the problem you’re trying to solve. Figure out what all the separate pieces you need are, and then break those pieces into their pieces and so on, until you’ve got simple, self-contained chunks of functionality that you can give simple names to. Some of those might be functions, or you may find that they’re simple enough that they don’t need to be. Refactor and think about how to make the problem simpler. I think a lot of it is just staring at your work and dreaming of ways the make it simpler and easier to read.

    If you really want to optimize for performance, that can come later once you really have a feel for it.


  • I suspect there are a lot of “Rust devs” that are little more than kool-aid drinkers. Common refrains are that Rust is the fastest language, most type-safe language, and most powerful language. Rust certainly seems to move the state of the art forward in some ways, but you can still write garbage code in it.

    I’ve worked with lots of different people in lots of different languages, and I think I’d rather good people in a bad language than the other way around by a mile.


  • I got a handle on amazon and it came with blades. You don’t need anything special, I literally just bought the cheapest ones, but I have found it helpful to change disposable blades just about every time I shave. Maybe there expensive ones that I could use for longer, but at this point I already have enough blades to last me about 5 years.

    I actually now use a cheap straight razor that takes disposable blades, and the shave is noticeably the best I’ve ever had. It is time consumung, though.


  • I’ve had that grinder for about ten years now and I bang that basket on the knockbox everyday and it’s doing okay, but I get what you mean. The hopper lid has a crack in it from falling not very hard a while ago, so I think it might just be luck of the draw as to whether one gets a fragile plastic piece.

    Watch, I’m sure the basket will shatter tomorrow, now. But the good news would be that I don’t think they sell replacement parts for it anymore, so I guess I’d have to upgrade.





  • Today it’s decaf, because I can’t seem to keep regular coffee in the house since I got a gaggia classic. I’m really struggling with anything darker than a medium roast, it seems. I enjoy the sour, fruity espresso from a light roast, but it’s not as good for milk drinks. Meanwhile the darker roasts are a little more charcoal than I’d like in an espresso.