Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chubot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
chubot
2y ago
It's a wiki, you can add it! Looks legit to me, e.g. https://github.com/rear/rear/blob/master/usr/share/rear/lib/...
302.
▲
by
chubot
2y ago
A bigger challenge, and a “senior engineer” thing, is to write code with small/tractable state spaces in the first place It’s not either/or of course, and AI can help But sometimes it takes another leap beyond the current set of t
303.
▲
by
chubot
2y ago
I'll also argue that the ideas in this post absolutely matter in practice. For example, Github Actions uses YAML as its Reader / S-expression / CST layer. And then it has a separate "parser", for say "if"
304.
▲
by
chubot
2y ago
It excludes languages that build a single AST directly from tokens. I am pretty sure Clang is like this, and probably v8. (They don't have structured macros, so it's not observable by users.) As opposed to building first an unty
305.
▲
by
chubot
2y ago
What’s better about Samurai? I thought it was a compatible subset of ninja Also, “not the thing I wanted” doesn’t mean “wrong”, simply because there are other people in the world with different preferences
306.
▲
by
chubot
2y ago
Yeah but you could have a shell script that does rm -rf /foo/bar and in theory it could reduce it to rm -rf / The passes are very heuristic, so that doesn't seem like something you can rule out. (and I
307.
▲
by
chubot
2y ago
Great list! I appreciate whenever an open source project links to similar ones (FWIW my own contribution is https://github.com/oils-for-unix/oils/wiki/Alternative-Shell... )
308.
▲
by
chubot
2y ago
Yes definitely, the terminal doesn't necessarily imply doing a bad job... and I'm sure it can improve it. But I guess I'm saying I could see this unfortunate person being worn down by bureaucracy, not really engaged. Also I
309.
▲
by
chubot
2y ago
Sure, but that changes the average too, not the maximum When I say maximum, I mean that presumably 10,000 years ago, there were people who didn't get sick, didn't get wounded, etc. They died of "old age" How long did th
310.
▲
by
chubot
2y ago
Medicine increased the average life span, but I don't think it increased the maximum very much A lot of figures you see are biased by infant mortality and such Random article I googled - Did Ancient People Die Young? https:/&#x
311.
▲
by
chubot
2y ago
It's true, but corporate policies and insurance are already like "slow AI" They remove most of what's real in interactions I remember going for a routine checkup at Kaiser, and the doctor was literally checking boxes on
312.
▲
by
chubot
2y ago
I read somewhere that cephalopods are kind of like "individual flashes of genius". They develop large brains very rapidly, with lots of skills, BUT they don't pass on their skills, in part because they die quickly! This artic
313.
▲
by
chubot
2y ago
That already exists -- TSV. You disallow the tab metacharacter.
314.
▲
by
chubot
2y ago
Yup exactly, it just pushes the problem around, without solving it. The delimiters can occur in binary data, or when there's nesting -- trying to store TSV in TSV, or JSON in JSON, etc. The latter definitely happens a lot, for better
315.
▲
by
chubot
2y ago
Which apps use it?
316.
▲
by
chubot
2y ago
Yeah I actually remember that too, this article mentions it: Coroutines for Go - https://research.swtch.com/coro The parallelism provided by the goroutines caused races and eventually led to abandoning the design in favo
317.
▲
by
chubot
2y ago
Hm that's kind of interesting, what's your source for this phenomenon? It sounds plausible, but I haven't seen anyone discuss it
318.
▲
by
chubot
2y ago
I generally like his podcast, as well as Fridman's, but I always wonder whether they are inadvertently (or purposely) pumping crypto, with certain guests: Well at least he did ask SBF the obvious question a couple years ago: Now in cr
319.
▲
by
chubot
2y ago
Yes, good point -- aliases makes parse time depend on runtime. That is mentioned in Morbig: A static parser for POSIX shell - https://scholar.google.com/scholar?cluster=15754961728999604... (at the time I wrote the post
320.
▲
by
chubot
2y ago
Have you developed against TreeSitter? Some feedback from people who use it here - https://news.ycombinator.com/item?id=39783471 And here - https://lobste.rs/s/9huy81/tbsp_tree_based_source_proces
321.
▲
by
chubot
2y ago
Yup, bash and GNU Make have the same issue as Perl does, and I mention the C++ issue here too: Parsing Bash is Undecidable - https://www.oilshell.org/blog/2016/10/20.html I remember a talk from Larry Wall
322.
▲
by
chubot
2y ago
Yeah the article is giving what looks like a bad definition: According to: https://rust-lang.github.io/rfcs/3128-io-safety.html Rust’s standard library almost provides I/O safety, a guarantee that if one part of
323.
▲
by
chubot
2y ago
Yeah the way I think of it is that most big organizations are willing to burn the costs of a whole employee or a whole team to avoid adopting new/risky software As long as the cost is kinda spread out and not directly visible by manage
324.
▲
by
chubot
2y ago
Will Jai be public? From the outside, it seems like the creator is using it to build his own software, but doesn't have that much interest in making it public? (which is fine, but I was surprised to hear talk of its impending release
325.
▲
by
chubot
2y ago
I remember seeing it back then, and playing it for quite awhile. Great game, thank you!
326.
▲
by
chubot
2y ago
Ha!
327.
▲
by
chubot
2y ago
That’s honestly awesome — someone who takes his job seriously. And I don’t doubt that he may need to call on that ability, and that achieving and maintaining this habit has all sorts of great side effects in his life, physically and mental
328.
▲
by
chubot
2y ago
Yeah but the application we're talking about here is JavaScript tools, or more generally "language processors" / AST-based workloads These are very different than your average JavaScript program And that's exactly w
329.
▲
by
chubot
2y ago
It's maybe 90% right in general, but it's 10% right (90% wrong) for the workload of language processors in particular. Lots of tiny objects are terrible workloads for JavaScript and Python. Related comments: https://ne
330.
▲
by
chubot
2y ago
Hm interesting, I thought it was 11 pieces, not 11 cuts, but that one looks like 4 pieces, which is surprising Now I am more curious to find this program Either I didn't do it optimally, or there is some variation like a triangle/
More ›