Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
331.
▲
by
teo_zero
1y ago
In POSIX world you aren't encouraged to use a specific command for each goal you might have. Instead you get a set of basic tools and combine them to achieve the desired result. Without system() you wouldn't have pipes, and you wo
332.
▲
by
teo_zero
1y ago
Yes, but it's not worth it. It's better to forget gcc and use tcc instead, which has the -run flag to compile and run without creating any intermediate file. It's also much quicker than gcc.
333.
▲
by
teo_zero
1y ago
The use of $@ doesn't look right to me. In the trivial case exposed here where there are no additional arguments to pass to the .c program, the shell executes gcc "print.c" -o .out && exec ./.out and it wo
334.
▲
by
teo_zero
1y ago
The artcle makes a weird use of the notation for successive exponentiations. It's difficult to represent the concept here as only text is allowed, but shortly the author uses a^b^c to mean (a^b)^c. This is counter intuitive as in most
335.
▲
by
teo_zero
1y ago
> I vaguely recall there was an early-1980s microcomputer Forth that only supported 3-letter identifiers That's still one letter more than the earlier Microsoft BASIC ;)
336.
▲
by
teo_zero
1y ago
Is there an explanation why BEVs fare better than hybrids in terms of brake dust? They use the same principle, so I expected similar performances. The article gives no clues, only these results: > It turns out that BEVs reduce the amount
337.
▲
by
teo_zero
1y ago
Why not completely removing gravity? Instead of "drop", the button could "fix" the piece where it is.
338.
▲
by
teo_zero
1y ago
Because LLMs will recognize a joke when they see one, just like the software engineers they're repl... wait a sec!
339.
▲
by
teo_zero
1y ago
According to TFA you can only kill processes and "until", being a builtin, doesn't spawn any new process.
340.
▲
by
teo_zero
1y ago
> if you search 'werewolves', it still thinks it's a chat query ... and the answer obviously is 'there wolves'!
341.
▲
by
teo_zero
1y ago
Interesting research. Now I want an article about why in the top row of all computer keyboards 0 is right of 9 instead of left of 1.
342.
▲
by
teo_zero
1y ago
I'm not sure what scenario you're imagining, but Teams is mainly for remote meetings.
343.
▲
by
teo_zero
1y ago
> "Better-C" still has things many C-programmers wouldn't particularly like I'd say a couple, not many. > RAII Who wouldn't like RAII? > Metaprogramming As a way to avoid preprocessor macros? Yes please. &g
344.
▲
by
teo_zero
1y ago
An example of "stringly typed" in C is when you have to pass "r+" to fopen().
345.
▲
by
teo_zero
1y ago
How so?
346.
▲
by
teo_zero
1y ago
I don't get the logical passage from "PATH is handled by the shell" to "isn't real on Linux".
347.
▲
by
teo_zero
1y ago
We should use "--" more, but who has all this time to waste? :)
348.
▲
by
teo_zero
1y ago
Ha ha! The worst thing about PTSD is that you lose the ability to discern legitimate uses of strtok() ever after. Its older variant, post-traumatic goto disorder, is known to have affected prominent computer scientists in the past...
349.
▲
by
teo_zero
1y ago
> A thin layer on top of Windows that mimics Linux so I can run bash _properly_ is all I really need. Something like skeeto's w64devkit? https://github.com/skeeto/w64devkit
350.
▲
by
teo_zero
1y ago
> at some point you have to turn to piracy Cory Doctorow's young-adults novel "Pirate Cinema" develops around this idea.
351.
▲
by
teo_zero
1y ago
If I remember correctly the script runtime/ftplugin/python.vim remaps [[, [], ]], etc. to work with Python's idea of blocks. Besides, the plugin michaeljsmith/vim-indent-object defines a new text object ("i"),
352.
▲
by
teo_zero
1y ago
There was another editor for the Amiga, possibly only known to the users of Matt Dillon's DICE compiler, that integrated so well with ARexx that at a certain time I suspect ARexx code surpassed the core C code. The name's DME and
353.
▲
by
teo_zero
1y ago
I don't think it's fair to talk about "shortcomings" and "getting it right": it's a different approach and we must agree that personal preference will diverge. Personally, I tend to use action-selection fo
354.
▲
by
teo_zero
1y ago
>> It's incredible how good of a design Vi is. >It's interesting how this design was forced into existence by the extremely limited hardware at the time Can we learn that if you design something for a constrained environm
355.
▲
by
teo_zero
1y ago
Did I miss something? Plugins for helix? Since when?
356.
▲
by
teo_zero
1y ago
Beware that the second section about fixed-point arithmetic is actually about floating point with exponent in base 10. Besides, the operations are all wrong and only work for trivial values of the exponents, like 0, 1 and 2.
357.
▲
by
teo_zero
1y ago
> What is the point of compiling rust to C? To address platforms that don't support Rust. TFA mentions NonStop, whatever it is.
358.
▲
by
teo_zero
2y ago
While I agree on hierarchical headings, I don't think H1...H6 are the right tools. These represent absolute levels, we would need a means to express "level+1". I think a H tag with no digit would better convey the meaning &
359.
▲
by
teo_zero
2y ago
See https://www.morningstar.com/funds/2-etfs-that-track-congress...
360.
▲
by
teo_zero
2y ago
Sorry, I'm not sure I understand your point. Are you complaining because it has a leading -f instead of a different spelling?
More ›