Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nasretdinov
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
nasretdinov
4mo ago
This sounds really great. As a Go developer I'm also really looking forward to their Go port of the filesystem watcher package — I agree that the existing packages don't fully allow to do a reliable recursive directory watch and i
62.
▲
by
nasretdinov
4mo ago
Isn't it still the case then? I used the basic HTML version when I was working at Google to try to understand whether or not it was slow because of the (unoptimal) frontend or not (it was the backend that sometimes took >=600ms to l
63.
▲
by
nasretdinov
4mo ago
Local food markets offer much better options than Pret to be fair
64.
▲
by
nasretdinov
4mo ago
1. I don't believe anyone in their right mind thinks that ffmpeg is still maintained and developed by a single person, and definitely not by Fabrice 2. Spaghetti code or not matters very little, especially in the beginning, before you
65.
▲
by
nasretdinov
4mo ago
Such a missed opportunity to call it C <orthodox cross emoji>
66.
▲
by
nasretdinov
4mo ago
Similar things apply to buffered channels in Go: buffering frequently hides deadlocks, etc, but you don't observe them until the buffer is full. So buffers generally should be kept either as zero or very small to be able to catch synch
67.
▲
by
nasretdinov
4mo ago
I had to look hard to find any AI-generated images and I've only found one at the very top. I guess I've just developed "banner blindness" because I didn't even register that image...
68.
▲
by
nasretdinov
4mo ago
Symbian phones were also based on WebKit, however it wasn't nearly as usable due to many factors, mostly because it emulated mouse pointer (and you controlled it via the joystick) and didn't provide the pinch-to-zoom fluidity of t
69.
▲
by
nasretdinov
5mo ago
Fork becomes more and more expensive the higher the RSS of the process, roughly 1ms per 1Gb of the process size with 4kb pages. Given that modern servers can easily support 1-2Tb of RAM the fork() part can easily take several hundred millis
70.
▲
by
nasretdinov
5mo ago
Regardless of the claims made in this analysis, I've personally observed that there are indeed more bugs (or more subtle issues, like nonsensical error messages) being shipped when using LLMs, but not _really_ because LLMs suck, but be
71.
▲
by
nasretdinov
5mo ago
I'm really looking forward to SIMD becoming standard in Go. It might sound very niche, however SIMD intrinsics (which is different from how they are available now, which is via non-inlinable assembly) allow to generate similar vector c
72.
▲
by
nasretdinov
5mo ago
Ideally you'd want to go further and actually store the is_alive as a bit mask and use SIMD instructions to filter out zeroes for example.
73.
▲
by
nasretdinov
5mo ago
Worktrees are different checkouts of the same repo. Clone with --reference is a separate repo altogether, with its own .git and worktree.
74.
▲
by
nasretdinov
5mo ago
You can also have multiple independent git repos that don't duplicate the full object store, via git clone --reference. It's less relevant in the container era, but otherwise it can save a lot of time and disk space when cloning r
75.
▲
by
nasretdinov
5mo ago
We already have monads at home (return X, err)
76.
▲
by
nasretdinov
5mo ago
Generic interfaces are going to be implemented later too if I'm reading correctly. So no real surprises there :). I guess the only surprise yet is that generic interfaces aren't supported, so generic methods physically can't
77.
▲
by
nasretdinov
5mo ago
Lack of generic methods was really surprising to me when I was first trying to use generics in Go. Nice to see it being actually implemented
78.
▲
by
nasretdinov
5mo ago
Very rarely you're bottlenecked by typing speed. If you truly are, and you are already typing at like 200 wpm, then you are probably doing something at the wrong abstraction level. E.g. for a very simple example when making a CRUD admi
79.
▲
by
nasretdinov
5mo ago
Being able to just return {}, err when returning an empty struct from a function sounds really exciting and encouraging to use pointers less, which is really good for nil safety if anything
80.
▲
by
nasretdinov
5mo ago
Looks really interesting. I assume this suggests that ClickHouse is going to gradually switch to using this library for network and I/O, thus addressing the main weakness (in my mind) of C++ thread-per-connection servers, which is, the
81.
▲
by
nasretdinov
5mo ago
If your problem could be solved without FUSE, it probably should!
82.
▲
by
nasretdinov
5mo ago
if("0") {} being equivalent to if(false) {} still gives me nightmares even though I've stopped using PHP for at least 6 years now :)
83.
▲
by
nasretdinov
5mo ago
I might be in a minority, but I actually prefer fish as an interactive shell and bash (or plain /bin/sh) for scripting, if anything because that's what I'm used to :), and it's portable
84.
▲
by
nasretdinov
5mo ago
Quite an odd thing for a British journal to pretend ARM doesn't exist...
85.
▲
by
nasretdinov
5mo ago
I think all the points that the author complains about are valid. I believe some libraries like Arrow chose a completely different approach to supporting Go altogether: https://github.com/apache/arrow-go#performance .
86.
▲
by
nasretdinov
5mo ago
It's interesting that the way you describe it, the world model itself is _not_ just a collection of words in our minds, and I have a small theory of my own that "thoughts" in our brains aren't actually words at all (othe
87.
▲
by
nasretdinov
5mo ago
Thanks! I've noticed...
88.
▲
by
nasretdinov
5mo ago
Wow my timing for buying a NAS and strong-arming my family to upload all of their stuff there was perfect it seems! I literally bought it a couple months ago, exactly because I was expecting to get locked out of either my account or my phot
89.
▲
by
nasretdinov
6mo ago
Honestly macOS probably can go much lower than that if you turn off some stuff that's not strictly necessary for a VM. The first iPhones only had 128 MiB of RAM and they ran a trimmed down version of macOS Tiger I believe. It's ju
90.
▲
by
nasretdinov
6mo ago
Yes, you are right. The word I was looking for is smoothness: the game won't feel like a stable 10fps, but it would feel as _smooth_ as a 10fps game, or even worse actually, because it's less predictable, and our brains can adapt
More ›