Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jasone
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
jasone
2mo ago
If you enjoyed that experience, read The Book of the New Sun, by Gene Wolfe (5 books, 1-2 and 3-4 commonly printed as combined volumes: Shadow & Claw, Sword & Citadel, The Urth of the New Sun). I re-read them this spring, and they r
2.
▲
by
jasone
3mo ago
As for most book-based movies, the book is IMO better.
3.
▲
The APLR(1) Algorithm Is Simpler and More Capable Than IELR(1)
(branchtaken.com)
8 points
by
jasone
3mo ago
|
1 comments
4.
▲
by
jasone
3mo ago
APLR(1) generates ~minimal parsers with the full power of canonical LR(1). Suitable for use with GLR, fast enough generation to be default algorithm. LALR(1) is obsolete.
5.
▲
by
jasone
10mo ago
The C47/R47 appears to use the 4-level XYZT stack design by default, but it has an option to use an 8-level stack (XYZTABCD). I really like the unlimited stack option that can be enabled in Free42, but 8 levels might be enough to keep
6.
▲
by
jasone
1y ago
The former merely exposes a `BlogPostRepository` class. The latter requires some mechanism for creating a generic object of concrete type, which is a lot bigger change to the implementation. Does each parametrized generic type have its own
7.
▲
Jemalloc Postmortem
(jasone.github.io)
801 points
by
jasone
1y ago
|
233 comments
8.
▲
by
jasone
2y ago
The addition of infinite pages made my RM2 unusable. It's far too easy to accidentally scroll, and hugely disruptive. I checked for tuning improvements for a couple of software updates, then set it aside permanently. That such a "
9.
▲
by
jasone
2y ago
Hard disagree. Yacc has unnecessary footguns, in particular the fallout from using LALR(1), but more modern parser generators like bison provide LR(1) and IELR(1). Hand-rolled recursive descent parsers as well as parser combinators can easi
10.
▲
All Aboard the Bootstrap Transpiler Express
(branchtaken.com)
4 points
by
jasone
2y ago
|
0 comments
11.
▲
Now Back to Our Regularly Scheduled Programming Language
(branchtaken.com)
2 points
by
jasone
2y ago
|
0 comments
12.
▲
IELR(1) as Implemented by Hocc
(branchtaken.com)
4 points
by
jasone
2y ago
|
0 comments
13.
▲
by
jasone
2y ago
I'm pretty sure that is mentioned in this interview: https://www.youtube.com/watch?v=wqI7MrtxPnk By the way the CHM oral history video series is full of gems.
14.
▲
by
jasone
2y ago
This is an interesting read. As a software engineer who accidentally discovered the depth of Scrabble in middle age, I fell down a slightly different Scrabble rabbit hole. The probabilities behind the imperfect bag/rack state knowledge
15.
▲
by
jasone
3y ago
I've spent a lot of time over the years using bit shifting to multiply/divide by powers of 2 in low-level code. At some point I grokked the connection with (base 2) logarithms and found myself using them as a mental estimation too
16.
▲
by
jasone
4y ago
As an Idaho resident, I dearly hope not. And I'd be really surprised if such legislation did pass. Toxic extreme-right rhetoric appeals to a nontrivial proportion of Idahoans, and some politicians are pandering to the fringe of society
17.
▲
by
jasone
4y ago
Agreed. I was a bit disappointed the article didn't address this point.
18.
▲
by
jasone
4y ago
There are often situations in which the rational approach is to upstream enhancements, if only because it reduces ongoing maintenance of a derivative product. This is especially true of foundational infrastructure. BSD/MIT-like licensi
19.
▲
by
jasone
4y ago
I started reading the PDF last year after failing to find a hardcopy, but the pervasive OCR-induced typos stopped me cold.
20.
▲
by
jasone
4y ago
jemalloc does not assume a particular page size; it configures page size at build time. By default the configured page size is the actual page size (usually 4KiB), but optionally it's some power-of-two multiple of the actual page size.
21.
▲
by
jasone
4y ago
You're right that trumpets have cylindrical bores, but that's not a universal characteristic of brass instruments. For example, cornets and euphoniums have conical bores, yet they are brass instruments; their cylindrical-bore coun
22.
▲
by
jasone
4y ago
This was the idea that I kicked around for years before eventually writing a Scrabble engine in 2018. But by the time I got to the point where Monte Carlo simulation of the opponent's rack leave became feasible, I questioned the utilit
23.
▲
by
jasone
4y ago
I got sucked into a variant of Scrabble insanity. In 2018 I spent close to six months writing a Scrabble engine, initially as an exercise to learn OCaml. But the algorithmic challenges pulled me deep down a fascinating rabbit hole. Eventual
24.
▲
by
jasone
4y ago
Dune ( https://dune.build/ ) is the preeminent build tool for OCaml development. I don't love its input syntax (s-expressions), and I sometimes miss the ability to write high-level functions to reduce boilerplate (especi
25.
▲
by
jasone
4y ago
Minor nit: In a language like Erlang, function calls (including tail recursion) are instrumented to implement things like preemption, GC, and statistics updates. But loops (backward branches) can just as easily be instrumented, and various
26.
▲
by
jasone
4y ago
Around 1993 I had my tonsils out, which involved general anesthesia. Back then they administered a prep drug that put the patient in a weird dissociated awake state that I would describe as not realizing you're awake. This being my thi
27.
▲
by
jasone
4y ago
Even better IMO is to use different prefixes for outer vs inner tmux sessions. These are the first lines of my .tmux.conf: # Use C-a for outer sessions, and C-x for nested sessions. unbind-key C-b set-option -g prefix C-a
28.
▲
by
jasone
4y ago
I used screen for about a decade before switching to tmux. The biggest immediate benefit was that terminal configuration across systems was much less brittle. My backspace key backspaced, color consistently worked, etc. Over the past 10+ ye
29.
▲
by
jasone
4y ago
Really? As someone who lives 100 miles south of British Columbia, my smoke season experience suggests that Canadian forests have been managed similarly to US forests, which is to say "very poorly".
30.
▲
by
jasone
4y ago
No, MM is an abject abuse of Roman numerals (which means 2,000), as near as I can tell thanks to a nomenclature distortion originally involving CPM (cost per thousand impressions). I can't get over how messed up MM=million is.
More ›