Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
181.
▲
by
teo_zero
9mo ago
> For roslyn, we aim for microsecond (not millisecond) parsing. Even for very large files, even if the initial parse is milliseconds, we have an incremental parser design [] that makes 99.99+% of edits happen in microseconds I'm cur
182.
▲
by
teo_zero
9mo ago
Interesting concept! Any examples?
183.
▲
by
teo_zero
9mo ago
True, but most probably you wouldn't be legally allowed to redistribute your driver or software.
184.
▲
by
teo_zero
9mo ago
Since the article is about open-sourcing the interface and not the software itself, why only when the product goes end of life? Also, "end of life" is hard to define. Does it mean not being produced , ordered or sold ? Aft
185.
▲
by
teo_zero
9mo ago
> So in my case, I shouldn't dump Windows (and thousand of $$ I've spent on audio software). If you mean that there's no Linux replacement for Digital Audio Workstation, then I agree: switching is not for you. But if what
186.
▲
by
teo_zero
9mo ago
I'm sure undefined behavior counts as an exception in the meaning intended in TFA. Example: int inv(int x) { return 1/x; }
187.
▲
by
teo_zero
9mo ago
How do you cope with parentheses being just one key off between US and most European layouts (above 9 and 0 vs. 8 and 9)? I mean, I can retrain my muscle memory to a completely new position, but just one key to the side is unbearable!
188.
▲
by
teo_zero
9mo ago
I can confirm that wincompose works like a charm with Windows 11. I map it to the Insert key, whose original purpose still evades me. I also want to say that once you try the Compose way, you begin laughing at the disproportionate efforts s
189.
▲
by
teo_zero
10mo ago
> One might feel that normal keyboards don't have a compose key. On the other hand, normal keyboard have an insert key which serves no purpose and can thus be remapped to compose.
190.
▲
by
teo_zero
10mo ago
Because that's a description of the intended behavior, and I reason about a language as an abstraction that allows one to express an expected behavior ignoring the implementation details. I know it's not universal: some languages
191.
▲
by
teo_zero
10mo ago
Thank you for the precise answer. I still think that the language property (or requirement, or behavior as seen by within the language itself) that we're talking about in this case is "unbounded nested calls" and that the lan
192.
▲
by
teo_zero
10mo ago
It wouldn't be the first time the specs have gone too far and beyond their perimeter. C's "register" variables used to have the same issue, and even "inline" has been downgraded to a mere hint for the compiler
193.
▲
by
teo_zero
10mo ago
In fact zero-based has shown some undeniable advantages over one-based. I couldn't explain it better than Dijkstra's famous essay: http://www.cs.utexas.edu/~EWD/ewd08xx/EWD831.PDF
194.
▲
by
teo_zero
10mo ago
> Lua has a crucial feature that Javascript lacks: tail call optimization. I'm not familiar with Lua, but I expect tco to be a feature of the compiler, not of the language. Am I wrong?
195.
▲
by
teo_zero
10mo ago
The real question is, why does Python even have parentheses? If semantic indent is superior to braces, it ought to beat parentheses, too. The following should yield 14: a = 2 * 3 + 4
196.
▲
by
teo_zero
10mo ago
Why does everybody confound "twice as hard" with "need to be twice as clever"? Why nobody contemplates twice the time, a team of twice the people, using debugging tools twice as powerful or costing twice?
197.
▲
by
teo_zero
10mo ago
This doesn't resonate with my experience. I place the line between a warning and an error whether the operation can or can't be completed. A connection timed out, retrying in 30 secs? That's a warning. Gave up connecting aft
198.
▲
by
teo_zero
10mo ago
Tesla vs. Edison is back! :)
199.
▲
by
teo_zero
10mo ago
Sorry, but I can't understand what this actually is. A library, a stand-alone tool, a Rust crate? What users does it target? Text editors, website creators?
200.
▲
by
teo_zero
10mo ago
Scaled up: case "$1" in *0|*2|*4|*6|*8) echo even;; *) echo odd;; esac If $1 had a trailing non-digit, or was empty, that would indeed be an odd situation!
201.
▲
by
teo_zero
10mo ago
Let me understand... Client-side JS is bad because etc. etc. Use this solution. It's implemented as a client-side JS library. Duh! So it's not a game changer, just a less-bloated JS solution?
202.
▲
by
teo_zero
10mo ago
But if scales were perfectly respected, how could you see both a neuron and a human on the screen?
203.
▲
by
teo_zero
10mo ago
I think you are referring to BEV cars. The definition of EV includes hybrid and plug-hybrid (which the fine article is about, by the way).
204.
▲
by
teo_zero
10mo ago
I don't understand if your comment is ironic. Intel is notorious for equipping different processors produced in the same period with different features. Sometimes even among different cores on the same chip. Sometimes later products ha
205.
▲
by
teo_zero
10mo ago
> A flat-earther would just tell you that you're not able to maintain a straight path over such long distances without relying on external guides that would definitely put you on curved paths. Do flat-earther reject the existence of
206.
▲
by
teo_zero
10mo ago
What has always baffled me is how CS uses the word "safety" where all other industries use "robustness". A robust design is one that not only is correct, but also ensures the functionality even when boundary conditions d
207.
▲
by
teo_zero
11mo ago
If this was true, teachers and trainers would have the easiest job in the world: just insulting their pupils would stop them from failing an exam, race or whatever again.
208.
▲
by
teo_zero
11mo ago
> Not sure what changed IP4 address exhaustion.
209.
▲
by
teo_zero
11mo ago
Well done! My remarks: 1) in calloc() you correctly check size*n against SIZE_MAX, but in multiple other spots you don't check size+META_SIZE. 2) the field is_mmap is useless: it can be replaced by (size>=MMAP_THRESHOLD) practically
210.
▲
by
teo_zero
11mo ago
> how many Italian dictators had biscuits named after them. So, how many?
More ›