Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benhoyt
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
Show HN: Updating my wedding registry website with AI in 275 commits
(benhoyt.com)
1 points
by
benhoyt
27d ago
|
0 comments
2.
▲
Every dependency you add is a supply chain attack waiting to happen
(benhoyt.com)
4 points
by
benhoyt
6mo ago
|
1 comments
3.
▲
Detecting file changes on macOS with kqueue
(vegardstikbakke.com)
101 points
by
benhoyt
6mo ago
|
16 comments
4.
▲
Celebrating Tony Hoare's mark on computer science
(bertrandmeyer.com)
140 points
by
benhoyt
6mo ago
|
32 comments
5.
▲
by
benhoyt
7mo ago
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 unrepresentable". However, is there a similar artic
6.
▲
by
benhoyt
8mo ago
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 impressed, so started t
7.
▲
GNU Awk and Me: 37 Years of Free Software Development [video]
(youtube.com)
6 points
by
benhoyt
8mo ago
|
0 comments
8.
▲
Code Coverage for GoAWK (2022)
(maximullaris.com)
1 points
by
benhoyt
8mo ago
|
0 comments
9.
▲
I/O is no longer the bottleneck? (2022)
(stoppels.ch)
264 points
by
benhoyt
9mo ago
|
130 comments
10.
▲
Don't fear Python subprocess or Go codegen
(benhoyt.com)
2 points
by
benhoyt
9mo ago
|
0 comments
11.
▲
Jubilant: Python Subprocess and Go Codegen
(benhoyt.com)
2 points
by
benhoyt
9mo ago
|
0 comments
12.
▲
by
benhoyt
9mo ago
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 compiler, say type checking and code emitting, will
13.
▲
Coregex: Go regex lib 3-3000x+ as fast as stdlib via multi-engine arch and SIMD
(github.com)
1 points
by
benhoyt
10mo ago
|
0 comments
14.
▲
by
benhoyt
10mo ago
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 advertising emails, newsletters, notification email
15.
▲
by
benhoyt
1y ago
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 all the things I didn't think about
16.
▲
by
benhoyt
1y ago
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(sleep=time.sleep): for _ in range(10):
17.
▲
by
benhoyt
1y ago
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 to beat her instead. My idea for v1 is that I
18.
▲
by
benhoyt
1y ago
> “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 my brain in much the same way that names don't.
19.
▲
by
benhoyt
1y ago
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 better for you to enter life maimed or crippled than to have
20.
▲
by
benhoyt
1y ago
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 for. Those aren't "my" projects, o
21.
▲
by
benhoyt
2y ago
Sure, it's UptimeRobot: https://uptimerobot.com/
22.
▲
by
benhoyt
2y ago
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 minutes, so it's possible it missed another short bit of do
23.
▲
by
benhoyt
2y ago
> 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.commons.httpclient&qu
24.
▲
The small web is beautiful (2021)
(benhoyt.com)
2 points
by
benhoyt
2y ago
|
0 comments
25.
▲
A dive into the making of Immersion (64k demo)
(ctrl-alt-test.fr)
2 points
by
benhoyt
2y ago
|
0 comments
26.
▲
Disabling Scheduled Dependency Updates
(davidism.com)
18 points
by
benhoyt
2y ago
|
7 comments
27.
▲
by
benhoyt
2y ago
I missed this too. However, I've found you can work around it pretty easily with clauses like CASE WHEN @field != "" THEN column = @field ELSE true END. Example from the sqlc creator ( https://github.com/sqlc-d
28.
▲
by
benhoyt
2y ago
Brian Kernighan sent Gawk maintainer Arnold Robbins an email linking to this blog post with the comment "Hindsight has a lot of benefits, it would appear." Peter Weinberger (quoted with permission) responded: > That's inte
29.
▲
Don’t try to sanitize input, escape output (2020)
(benhoyt.com)
68 points
by
benhoyt
2y ago
|
79 comments
30.
▲
Structural pattern matching in Python 3.10 (2021)
(benhoyt.com)
1 points
by
benhoyt
2y ago
|
0 comments
More ›