Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diffxx
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
diffxx
2y ago
Thank for sharing that paper. I am currently implementing a compiler that has very similar ideas to those presented in it. It's very different syntactically, but the mental model is quite similar. It's simultaneously encouraging a
62.
▲
by
diffxx
2y ago
I personally would make something like this the default interview approach for anything but entry level positions.
63.
▲
by
diffxx
2y ago
In my opinion, the only significant contribution Clean Code made was the concept of clean code. The problem is that my definition of clean code is almost completely contradictory to what the author of the book thinks constitutes clean code.
64.
▲
by
diffxx
2y ago
I certainly noticed that David Koch was a prominent funder of Vietnam. One of my great disappointments in it was it never seriously asked the question, who profited from the war. As I saw the napalm flames, I couldn't help but think of
65.
▲
by
diffxx
2y ago
Great title. I feel like in some sense we've lost our way with compiler design. Languages do not help us write code that require minimal optimizations to run fast enough on most workloads. Instead, we overoptimize with -O[23] everywher
66.
▲
by
diffxx
2y ago
Or maybe don't park illegally.
67.
▲
by
diffxx
2y ago
Reasonable general advice. It's important though to evaluate the quality of the constraints we submit to. There is both incredible freedom and oppression in constraint. Hopefully the constraints you choose push in the former direction.
68.
▲
by
diffxx
2y ago
It's not totally irrational. There is a reason for the phrase monkey see, monkey do.
69.
▲
by
diffxx
2y ago
I am quite sure that batch will work with good responsiveness for many, if not most, common languages provided source files have fewer than say 30k lines in them. If you just think about the io performance of modern computers, it should not
70.
▲
by
diffxx
2y ago
I don't understand how you can say the code size has nothing to do with GLR and the explain that it is due to the formatting of the parse tables. The point is that table driven parsers are almost always huge compared to their recursive
71.
▲
by
diffxx
2y ago
As one of the harsh and rude commentators, I would say I basically agree with your interpretation. You also correctly inferred that I have experience with working with it in an area that is arguably outside of its true use case. At the same
72.
▲
by
diffxx
2y ago
Even if tree-sitter had no bugs it can never really be trusted because there is always a divergence between the language's official parser and the tree-sitter grammar -- unless the language actually uses tree-sitter as its parser, whic
73.
▲
by
diffxx
2y ago
Abandon all hope, ye who enter here. Tree-sitter is great until you inevitably run into a problem with it and find that it is impossible to fix properly if you can even figure out why the problem even exists. The idea of a uniform api for q
74.
▲
by
diffxx
3y ago
I had the misfortune to use a sun workstation circa 2004 in a grad student lab. It was so sluggish and unpleasant to use that I developed a negative association with the logo. But now you've gotten me to look at it with fresh eyes and
75.
▲
by
diffxx
3y ago
For me it's a little more subtle. When I sit down to write, say, an email, I usually have a specific point that I want to make but I usually haven't yet figured out exactly how I want to get there. I'm not even sure it is eve
76.
▲
by
diffxx
4y ago
Interesting perspective. This requires a level of inner strength that many of us do not always have. Increasingly though I realize that I don't need a lot of verbal feedback. You can tell a lot just by people's physical reactions
77.
▲
by
diffxx
4y ago
> what are the various stories of Jesus other than total ridiculous bullshit...? Stories of deep psychological truth that transcend physical space and time. Just like all great religious stories.
78.
▲
by
diffxx
4y ago
I'm inclined to agree, but I am somewhat curious about this. The Boeing 737 max crashes certainly demonstrate that the industry does not universally prioritize safety above all. At the same time, there are strong incentives for any air
79.
▲
by
diffxx
4y ago
Every failed project I've ever been a part of has been a direct result of poor choice of dependencies. My experience is surely not universal, but nor is it rare.
80.
▲
by
diffxx
4y ago
The big problem here is really the library distribution system for java. Most jvm based projects use binary dependencies that are mostly sourced from maven central. A build tool could automatically block downloads of, or construction of a c
81.
▲
by
diffxx
4y ago
I think Not Invented Here syndrome is generally foolish and quite arrogant, but Not _Implemented_ Here syndrome can be a reasonable default. You rarely truly understand something unless you've implemented it yourself. You can draw insp
82.
▲
by
diffxx
4y ago
But how do you determine if someone is an authority? Our world is filled with epistemological bubbles. One person's expert is another's snake oil peddler.
83.
▲
by
diffxx
4y ago
I'm working through the stages of grief.
84.
▲
by
diffxx
4y ago
Also relevant, Before enlightenment: chop wood, carry water. After enlightenment: chop wood, carry water.
85.
▲
by
diffxx
4y ago
Once I was walking atop a mountain that is heavily populated with ravens at certain times of year. I looked over and noticed one was doing some aerial acrobatics. To my astonishment, it was holding a fairly large rock that it was using as a
86.
▲
by
diffxx
4y ago
I think part of the problem is the lax licensing standards in the US. For everyone's benefit, we should have higher standards. There also can and should be regional differences. Someone who has learned to drive in a rural or suburban a
87.
▲
by
diffxx
4y ago
> None of this shows Lyft's business model is broken. In fact it shows it's working splendidly for Lyft. Even if this is true, should this be celebrated even it comes at the expense of the > 99% of the population that doesn&
88.
▲
by
diffxx
4y ago
> we can't even eliminate tangible, clear-cut physical-reality problems like murder? Call me a pessimist, but I don't think it's possible to eliminate murder so I think that is an unreachably high bar. That being said, I t
89.
▲
by
diffxx
4y ago
Amen.
90.
▲
by
diffxx
4y ago
In theory, cycling could be comparable, but in practice I find it worse (and I spent 10+ years riding ~10 hours per week). With road cycling, you spend a lot of time riding on roads that are extremely unpleasant to share with cars which is
More ›