Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tangus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
tangus
6y ago
But why? The Hacker's Delight author justifies it: >Several of the variables below could be "short," but having them fullwords gives better code on gcc/Intel. But does the same happen in the "adapted" code?
92.
▲
by
tangus
6y ago
Well, I spent 5 minutes laboriously building a query for the whole thing to hang on me when I reached the ORDER BY clause. I actually don't see how this is better than a cheat sheet with SQL keywords and autocompletion of tables/f
93.
▲
by
tangus
6y ago
Deferred actions are not explicit at the exit points. That's quite implicit. You can no longer reason about a local piece of code; you now have to know its lexical nesting up to top level to see if it's inside a guard block that m
94.
▲
by
tangus
6y ago
It's documented. >A Date object can be created with an optional argument, the day of calendar reform as a Julian day number, which should be 2298874 to 2426355 or negative/positive infinity. The default value is Date::ITALY (22
95.
▲
by
tangus
6y ago
A heads up: if you use a dark theme in your phone, this webpage is recognizes it and changes its background to dark grey. This makes the grey words in the diagrams illegible.
96.
▲
by
tangus
6y ago
The standard says "bold or increased intensity". I see brighter colors on dark background (what everybody does) more in line with it than darker colors on dark background (what Kitty does).
97.
▲
by
tangus
6y ago
Good choice. CTWM and Sawfish are two of the best and more configurable window managers there are. Unfortunately I had to give up on both years ago when they got unmaintained on Debian and not even compiling them from source would make them
98.
▲
by
tangus
6y ago
So if A says something incorrect, B can't set the record straight because that's unfortunate and shuts down any respectful discussion? I'm thinking that reactions to this maintainer's answers probably align to which side
99.
▲
by
tangus
6y ago
Yeah, that was a silly year we'll never get back, but they seem to be on track again now.
100.
▲
by
tangus
6y ago
It's your responsibility to buy a car you can operate without causing an accident. If you can't use its wiper interface without losing control, don't buy it. The same as when people buy power cars which are difficult to drive
101.
▲
by
tangus
6y ago
You probably turn the 6 upside down.
102.
▲
by
tangus
6y ago
On the other hand, it makes the move to protect him more commendable. It wasn't just out of self-interest.
103.
▲
by
tangus
7y ago
They made the multiline field value format incompatible with the email/HTTP/etc headers one... Why?
104.
▲
by
tangus
7y ago
I would have tried sshd. What's the catch?
105.
▲
by
tangus
7y ago
Nice nostalgia. Unfortunately most of the ones that deal with text are from before the 8bit to utf-8 move, which makes them unusable nowadays (unless you restrict yourself to ASCII).
106.
▲
by
tangus
7y ago
Burning it, actually. It's a legend about how Seymour Cray would design and build a sailboat every year only to burn it afterward, so he could design a better one, or something like that.
107.
▲
by
tangus
7y ago
It's a subjective question, but given that A68's slices are already burdened with carrying their lower bound wherever they go, not much is lost with adding another piece of data to them. They are already quite fat, and more with e
108.
▲
by
tangus
7y ago
(In the same vein of other comments...) Algol 68 slices are also fat pointers. Only they also carry a `stride` field, since in Algol 68 you can slice multidimensional arrays in any direction.
109.
▲
by
tangus
7y ago
Civic honesty x civic duty, actually. One of the variables you measured was whether that unknown guy's problem is worth my effort to contact them. I'd guess (out of my ass, of course) that many people didn't steal it but also
110.
▲
by
tangus
8y ago
But he's perfectly right. I don't know if he can arrive to that conclusion from his experiment, nevertheless he's right. Spanish is full of ambiguous words. Just looking around at my desk, I can find... papel - paper/rol
111.
▲
by
tangus
9y ago
Did he just basically copy Joe Allen's Text Editor Performance Comparison[1] (which is already somewhat obsolete) without attribution? Wow. 1: https://github.com/jhallen/joes-sandbox/tree/master/edit
112.
▲
by
tangus
9y ago
Does anybody know how does undo work with this feature?
113.
▲
by
tangus
9y ago
But in fact it does not seek to mirror _any_ of find's powerful functionality. Maybe advertize it as "a better ls -R | grep -i"?
114.
▲
by
tangus
9y ago
You are so strict with your definition of democracy and so loose with your definition of war declaration...
115.
▲
by
tangus
9y ago
"All problems in computer science can be solved by another level of indirection" --David Wheeler or Butler Lampson
116.
▲
by
tangus
9y ago
Come on. The spouse in this case is a woman. Ok, OP already said s/he wasn't referring to this case, it "just made him/her think about divorce generally". Let's leave it already.
117.
▲
by
tangus
9y ago
Here is a great explanation of parser combinators, not tied to any specific implementation: https://qntm.org/combinators
118.
▲
by
tangus
10y ago
The answer is no, we all know this. It's an unfortunate title that provokes useless knee-jerk reactions. The author's main point is in the last three paragraphs: >Three centuries before the ancestors of Mr. Trump landed on Unit
119.
▲
by
tangus
10y ago
A long time ago, working for a BBS, I wrote a nice interactive utility to review and change user configurations. I named it uc ("user configure"). After some testing, I installed it in /usr/local/bin. Time to use it
120.
▲
by
tangus
10y ago
You simply use it to wait for the appropriate prompt before sending anything. If the expected prompt never arrives, something is wrong (CLI changed), so abort. The snippet for this particular case could be something like set timeout=1
More ›