Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diffxx
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
121.
▲
by
diffxx
4y ago
Completely agree. That is why having built a tool similar to this one, I'm not even linking to it. The complexity involved in working around the OS limitations is maddening and convinced me that it would be better to think of a differe
122.
▲
by
diffxx
4y ago
What do you mean by beat kqueue? Is it faster than kqueue? Does it use less memory than kqueue? How does the baseline filesystem watcher work? If it doesn't use kqueue, does it poll the filesystem periodically and diff against an in me
123.
▲
by
diffxx
4y ago
What do you mean near-zero? You said that inotify doesn't work (and ned14 offers his comments about it). If you are using polling, I do not understand how your approach could be using non-zero amount of resources. Let's say you ar
124.
▲
by
diffxx
4y ago
I have personally written a similar tool and I am very curious about how this could be using a near-zero amount of resources while maintaining accuracy. As far as I know, there are two ways to implement this functionality: 1) store an in me
125.
▲
by
diffxx
4y ago
Yikes, this hit very close to home for me.
126.
▲
by
diffxx
4y ago
Yeah, this is difficult, though not impossible, to get right with the inotify/kqueue api. Windows and mac do provide apis for recursive directory monitoring but a cross platform tool will have to solve this problem. At a high level, th
127.
▲
by
diffxx
4y ago
Regardless of intention, the inability of the author to adequately explain why a fork was necessary, apart from some hand wavy arguments that some other solutions were inadequate, does not inspire confidence. I find it very hard to be gener
128.
▲
by
diffxx
4y ago
This comment perfectly encapsulates the point that I am making about best practices: the concept is used as a cudgel to silence debate and to confer a sense of superiority on the practitioner of "best practice." It is almost alway
129.
▲
by
diffxx
4y ago
Very good points. The proprietary test suite is clearly the (open) secret to SQLite's success. It seems to me that it isn't even entirely accurate to describe SQLite as written in C when the vast majority of its code is probably w
130.
▲
by
diffxx
4y ago
> it's not that "best practices" or any of those things are what causes trouble; it's failing to recognize that they're just tools, and people will still be the ones doing the work. And people should never be tre
131.
▲
by
diffxx
4y ago
Fair points, although the bus factor is more like 3 or 4 for SQLite as far as I know. The question though is that if the entire team vanished from the face of the earth, what would the impact be? My guess is that either SQLite would be good
132.
▲
by
diffxx
4y ago
Also, Fossil is essentially implemented _in_ SQLite. Fossil is used to develop SQLite which is used to implement Fossil. It's a virtuous cycle. For the SQLite project, using Fossil is obviously superior to git. This doesn't mean t
133.
▲
by
diffxx
4y ago
> The few core developers they have do not work with modern tools like git and collaboration tools like Github, and don’t accept contributions, although they may or may not accept your suggestion for a new feature request. The funny thin
134.
▲
by
diffxx
4y ago
That's not what I took away from the book. He mentions his own personal enjoyment of trashy television multiple times. His concern was that he believed that democracy is fundamentally incompatible with a media landscape dominated by te
135.
▲
by
diffxx
4y ago
Lua is misunderstood because it looks like superficially similar to a number of other languages but has a unique value proposition that is rarely well explained. The frustration that ensues from trying to use lua as though it is javascript
136.
▲
by
diffxx
4y ago
Define human.
137.
▲
by
diffxx
4y ago
The paradox of copilot is that anyone who is skilled enough that they can be responsibly trusted to use it doesn't need it.
138.
▲
by
diffxx
4y ago
> I agree that Rust is a large language, but I think you're overstating the complexity: it's been my experience that you don't need to know all (or even most) of the "clever" stuff to write large, performant Rust
139.
▲
by
diffxx
4y ago
Gavin, there is no point in arguing with fanatics. (You have to know that none of them are actually going to dive into your code and possibly learn something new that didn't come from a vetted authority figure). They are incapable of l
140.
▲
by
diffxx
4y ago
For anyone interested in the arguments in this piece, Deschooling Society by Ivan Illich is highly recommended.
141.
▲
by
diffxx
4y ago
As impressive as the tree-sitter ecosystem is, there is a certain danger in building tooling on top of it. Unless tree-sitter is used as the parser in the actual language compiler, it is almost always going to be an approximation to the lan
142.
▲
by
diffxx
4y ago
> I don't understand what the issue is with cross-compiling software, especially for different architectures. Agreed. The cosmopolitan project is incredible hacking and I appreciate the author's ingenuity, but this has always f
143.
▲
by
diffxx
4y ago
> people are just inherently greedy. While other political systems attempt to shut our nature down capitalism embraces ourselves and aligns our incentives to generally make society better. I understand where you are coming from but I wil
144.
▲
by
diffxx
4y ago
Actually the original comment makes complete sense. To only give tickets for drunk driving essentially makes it so that drivers have blanket immunity from any criminal liability for their behavior, no matter how reckless, so long as they ar