Viewing profile — benhoyt
benhoyt
HN member- Joined
- Wed, Feb 21, 2007, 9:17 PM UTC
- HN karma
- 7,375
- Public activity
- 1,119 items
- HN profile
- View on Hacker News ↗
About benhoyt
Recent public activity
- story
- story
- story
-
comment
Comment #46968599
I'm not very familiar with functional programming and Haskell in particular. I think I understand the gist of this article, and "use data structures that make illegal states unrepr…
-
comment
Comment #46652534
Not me personally, but a GitHub user wrote a replacement for Go's regexp library that was "up to 3-3000x+ faster than stdlib": https://github.com/coregx/coregex ... at first I was …
- story
- story
- story
- story
- story
-
comment
Comment #46223006
That's a good caution. However, traversing a flat AST (iterating a "struct of arrays" rather than a pointer-based tree) is also going to be faster. So the next steps of the compile…
- story
-
comment
Comment #45906028
I use the "baby bear" strategy mentioned in the article. My criteria are something like: archive emails from humans as well as important emails like receipts and invoices; delete a…
-
comment
Comment #44091531
Yes, definitely still got/getting something out of it, thanks. And I'll probably get more out of it when I read up on "how to write a real chess program" for v2, and learn about al…
-
comment
Comment #44091110
Yeah, I use this sometimes too (even though Python makes "monkey patching" easy). However, note that it's simpler and clearer to use a default value for the argument: def do_foo(sl…
-
comment
Comment #44090950
A program that will play chess (written in Go). My 18yo daughter can now beat me at chess (not that I'm any good). I figured if I can't beat her, I'll see if I can write a program …
-
comment
Comment #44090884
> “The ships hung in the sky in much the same way that bricks don’t.” That is probably my favourite phrase from the whole book. For some reason I find it hilarious. It has stuck in…
-
comment
Comment #43675565
The guy certainly had ba... uh, courage. Jesus is known for saying striking things, like "If your hand or your foot causes you to stumble, cut it off and throw it away. It is bette…
-
comment
Comment #43560923
I do it by working for Canonical. The vast majority of our projects are open source. Yes, Canonical's application process is very long and thorough, but it's a good company to work…
-
comment
Comment #42242980
Sure, it's UptimeRobot: https://uptimerobot.com/
-
comment
Comment #42242058
My fly.io-hosted website went down for 5 minutes (6 hours ago), but then came right back up, and has been up ever since. I use a free monitoring service that checks it every 5 minu…
-
comment
Comment #42119824
> It's all the design principles of Java that I don't like, but more of it. I'm curious what you're referring to there. I think of Go as the "anti-Java". Where Java has "org.apache…
- story
- story
- story