Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
assbuttbuttass
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
assbuttbuttass
2mo ago
Sounds like a great way to get dozens of dependencies before you even write a line of code
2.
▲
by
assbuttbuttass
2mo ago
And then bisect fails because it finds one of the many commits that broke the test before the actual regression
3.
▲
by
assbuttbuttass
2mo ago
Suppose we have a failing test. For many commits, gp carefully separated their change that would break our test, from the change that would fix the test. At some point, someone forgot to run the tests, and introduced a commit that broke the
4.
▲
by
assbuttbuttass
2mo ago
Of course, but this thread was in the context of someone "carefully curating" their git history
5.
▲
by
assbuttbuttass
2mo ago
That sounds like it would break bisect
6.
▲
by
assbuttbuttass
2mo ago
We've entered the "bond villain" era of VC startups
7.
▲
by
assbuttbuttass
3mo ago
If someone manages to become a world class chess player, they are likely very good at chess
8.
▲
by
assbuttbuttass
3mo ago
> I must admit I'm a little surprised how many people seem to disable secure boot. To me, secure boot is the setting that I need to remember to turn off before installing the OS, but I would be willing to be convinced otherwise
9.
▲
by
assbuttbuttass
4mo ago
Hmm I wasn't familiar with join, but it looks like you still need join + fmap for the construction? I believe fmap would also need a generic method
10.
▲
by
assbuttbuttass
4mo ago
It's (sadly) still not possible to express monads with this change, since generic methods can't implement interfaces. You'd probably want something like: type Monad[T any] interface { Bind[U any](func(T) Monad[U
11.
▲
by
assbuttbuttass
4mo ago
> Why would there be paranoia when writing blocking code with async? In languages like JavaScript, you have to be careful to avoid blocking the event loop, and use something like worker threads for CPU-intensive tasks. Otherwise you will
12.
▲
by
assbuttbuttass
4mo ago
> Your entire codebase is now a surface area that is at risk of being blocked The point of goroutines is that they can freely block when needed. It's not like async where you have to be paranoid at every moment about writing blockin
13.
▲
by
assbuttbuttass
4mo ago
Interesting, thanks
14.
▲
by
assbuttbuttass
4mo ago
Also C++/Java static initialization, C# static constructors, or Rust global variable initialization, ... Most languages have this feature Afaik
15.
▲
by
assbuttbuttass
5mo ago
I use lowercase for my personal environment variables. It works well since most programs only depend on variables in all caps. Hadn't thought of using MY_
16.
▲
by
assbuttbuttass
6mo ago
I really want to like Helix, but I wish the developers paid more attention to performance, or were more receptive to outside contributions. Helix can really chug, even on small files, and the perception in the community seems to be "it
17.
▲
by
assbuttbuttass
7mo ago
Which aspects of Rust syntax are adapted from ML? Semantics sure, but to me the syntax seems a lot more similar to C++ (e.g. semicolons, type parameters using <>, etc.)
18.
▲
by
assbuttbuttass
7mo ago
The incels have grown up and now work at the Pentagon
19.
▲
by
assbuttbuttass
7mo ago
This still doesn't help when you update your compiler to use a newer model
20.
▲
by
assbuttbuttass
8mo ago
Just a personal anecdote, but the errors from Guix are terrible. I had to reinstall because I couldn't figure out the scheme errors for my system config
21.
▲
by
assbuttbuttass
8mo ago
> the thing I hate by far the most in NixOS is .. nix nix has a pretty steep learning curve, sure > scheme? Aka Lisp? Seriously??? No nix, no scheme, got it. I wonder which language you would use? > YAML files exist for a reason. L
22.
▲
by
assbuttbuttass
8mo ago
Yeah, it only checks whether the last bot comment is older than 30 days, completely ignoring any human comment if (botCommentDate < oneMonthAgo) { // Close the issue - it's been stale for 60+ days Hard to
23.
▲
by
assbuttbuttass
8mo ago
> Writers kept sending to sub.messages. The channel grew. Memory grew. Channels are buffered in Go, they will not grow unbounded. > Tickers Are Not Garbage Collected It used to be necessary in older versions to call ticker.Stop(), but
24.
▲
by
assbuttbuttass
8mo ago
I fixed an almost identical bug at work a few months ago: an internal service was calling some network device, and would only fail for IPv6-only devices. Turns out it was trying IPv4 first, and then when it failed, it would retry the reques
25.
▲
by
assbuttbuttass
9mo ago
Screen sharing works in Zoom now, you'll have to find a new cherry-picked example
26.
▲
ProjectM – Cross-Platform Music Visualization Library
(github.com)
2 points
by
assbuttbuttass
9mo ago
|
0 comments
27.
▲
by
assbuttbuttass
9mo ago
At least for the Spanner DB, it's good to have a randomly-distributed primary key since it allows better sharding of the data and avoids "hot shards" when doing a lot of inserts. UUIDv4 is the typical solution, although a bit
28.
▲
by
assbuttbuttass
9mo ago
> To "force" someone to develop on a Chromebook is like giving someone a bicycle to become a race car driver. Lol, I use a Chromebook for development at work
29.
▲
by
assbuttbuttass
9mo ago
One cool thing about J (or any APL language) is that LLMs absolutely cannot write J code, so the whole thing feels like a breath of fresh air from the usual LLM slop
30.
▲
by
assbuttbuttass
10mo ago
Very interesting to see the ML influences like ~ for unary minus, unscoped enums, mut on specific struct fields... It seems like over time, a lot of that was replaced with C++-style syntax and semantics. Presumably to make the language appe
More ›