Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
teo_zero
5mo ago
The equal operator should work on strings, too. It would allow formulas like IF(A1=C3,A2,0)
122.
▲
by
teo_zero
5mo ago
> Vim doesn't have an obvious idiom for "drag," so I'm leaning toward a visual-selection + fill-from-anchor key (Y is a candidate) Better I or A, to mimick vim's multiple insert after a block selection.
123.
▲
by
teo_zero
5mo ago
In fact it was one of the suggested tools. But installing a whole new application, and having it running in the background all the time listening for evey keypress, just to do its unique job once in a while... well, that's what I was r
124.
▲
by
teo_zero
5mo ago
> things I really wish existed. Just last week I was looking for a way to move all the windows from one screen to another in a go. After evaluating many clumsy or over-complicated existing solutions, I asked copilot to write a C program
125.
▲
by
teo_zero
6mo ago
Well said! Those Europeans with their tariffs, and their stupid motto "make Europe great again"! Oh wait...
126.
▲
by
teo_zero
6mo ago
Neither is ricotta, actually.
127.
▲
by
teo_zero
6mo ago
When you have so few bits, does it really make sense to invent a meaning for the bit positions? Just use an index into a "palette" of pre-determined numbers. As a bonus, any operation can be replaced with a lookup into a nxn tabl
128.
▲
by
teo_zero
6mo ago
Could anyone understand what this sentence means? > Upon freeing an unreachable AllocationRecord, call filc_free on it. I think the intention was to say: before freeing an unreachable AR, free the memory pointed to by its visible_bytes a
129.
▲
by
teo_zero
6mo ago
A form of self-fulfilling prophecy?
130.
▲
by
teo_zero
6mo ago
In fact it's not. The name itself mimicks cat, not less. It's a filter that adds annotations to its input, such as syntax highlighting, git diffs and special-char coloring. Personally I can't find any use for bat: I'm a
131.
▲
by
teo_zero
6mo ago
The current AI approach to technology is masterfully described as > to build something enormous, declare it transformative, and hope nobody asks what it actually computes. And the corollary: > [such] approach requires billions of doll
132.
▲
by
teo_zero
6mo ago
I feel that saying that EML can't generate all the elementary functions because it can't express the solution of the quintic is like saying that NAND gates can't be the basis of modern computing because they can't be use
133.
▲
by
teo_zero
6mo ago
> If you don't manage the history properly in your SPA, pressing the back button could take the user out of the app entirely. Yes. And that should be the default behavior: browser buttons should take you through the browser's h
134.
▲
by
teo_zero
6mo ago
Sorry, I've read and reread TFA but the concept still evades me. Is it that, since it's easier for a hash function to have higher entropy in the higher bits than in the lower ones, it would be more logical for hash tables to disca
135.
▲
by
teo_zero
6mo ago
While I generally like to reinvent the wheel, for hash functions I strongly recommend to use a proved good one. Djb2 by the venerable Daniel Bernstein satisfies all the requirements of TFA. h = 5381 while still has data: h = h * 3
136.
▲
by
teo_zero
6mo ago
So, do you see now the assumptions baked in your argument? > when you need to support larger deployments > shipping > passing it off to someone else
137.
▲
by
teo_zero
6mo ago
> Canonical isn’t making 6GB memory a hard requirement for Ubuntu 26.04. It will still install on machines that fall below the minimum requirement, but users will have to deal with slower performance. I think we have quite different defi
138.
▲
by
teo_zero
6mo ago
I think the author is too quick to dismiss the impact of the plugboard. > IC attacks only the rotor settings [...] Once you’ve found the right rotors and positions, you can solve the plugboard separately using frequency analysis. So two
139.
▲
by
teo_zero
6mo ago
The choice of countries seems arbitrary. I thought the list was limited to EU nations, but Iceland and Norway are there. Then I thought it was EFTA countries, but Switzerland is missing. Then noted Belgium is also missing... I give up!
140.
▲
by
teo_zero
6mo ago
Saying that IPv4 is ok because we have NAT and CGNAT is like saying that spam is not a problem because we have spam filters everywhere.
141.
▲
by
teo_zero
6mo ago
I can't help wondering how the 413,793 bars were stacked. 413,793 is 3×3×23×1999.
142.
▲
by
teo_zero
6mo ago
> it is legal to optimize out any code paths that rely on this, even if they occur earlier in program order. I don't think this is true. The compiler cannot remove or reorder instructions that have a visible effect. if (p == 0)
143.
▲
by
teo_zero
6mo ago
Why would power flowing out of my house into the grid be a theft?
144.
▲
by
teo_zero
6mo ago
> Last I checked I checked 10 seconds ago. The only models I can order in my country with linux are Pro Max and a Precision workstation. If I pretend to be located in the US, an XPS 13 from 2024 becomes available at 200$ more than the Wi
145.
▲
by
teo_zero
6mo ago
Pressing up, Ctrl-A and typing "sudo " adds the command to history, too. What's the difference?
146.
▲
by
teo_zero
6mo ago
> Also, you can use a comma with += and -= In the modified C advocated by the author, assignments (including ++ -- += etc.) are not expressions. So no comma, no.
147.
▲
by
teo_zero
7mo ago
It might sound easy to fix just a little detail that disturbs you and keep the rest as it is, but it's rarely feasible. If we ban side effects from expressions, we must change the "for" syntax too, because the third "arg
148.
▲
by
teo_zero
7mo ago
+1 on the convenience of a "mask" operator that perform the and-not. It's an operation that's used more often than others which do have the privilege of having their own symbol, like xor.
149.
▲
by
teo_zero
7mo ago
It's very subjective, and I don't want to say that semicolons are good or bad, indentation is good or bad, etc. But I think a language should decide whether white space is significant or not. If it's not, don't add excep
150.
▲
by
teo_zero
7mo ago
> this perpetual debate over which is the best only tricks me into believing that whichever distro I'd choose, it will be the wrong one. What a bizarre conclusion to draw! Why don't you believe that whichever distro you choose,
More ›