Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Annatar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
271.
▲
by
Annatar
7y ago
I never wrote set -e is bashism. I implied that people who use set -e will also write bashisms. Goodness knows I've had to fix enough of such garbage over the years to work with Solaris' /bin/sh and I'm revolted, si
272.
▲
by
Annatar
7y ago
M4 is a generic preprocessor, not a backend shell program compiler. And I'm not your bro.
273.
▲
by
Annatar
7y ago
You mean the same thing as the Linux / Docker / bash echo chamber on this site? Hm. Seems the good folk don't like a dose of their own medicine.
274.
▲
by
Annatar
7y ago
"He instead attacked me and said it wasn't his job to teach anyone anything." Sad to read this after having taught so many information technology professionals over the three decades, some of them in the heart of Silicon Vall
275.
▲
by
Annatar
7y ago
I am kicking the hornets' nest because IT is in a really bad shape because of the GNU/Linux monoculture and I want for things not only to change, but to effect change. GNU/Linux got to where it is by users bitching about how
276.
▲
by
Annatar
7y ago
The discussion was just fine until someone suggested set -e claiming that || exit 1 is "harder to understand" and "ugly".
277.
▲
by
Annatar
7y ago
Please take a moment to pause and consider what you're writing. Someone here wrote "let the backend generate correct code". I responded that people usually write shell programs, not backends.
278.
▲
by
Annatar
7y ago
How is || exit 1 harder to understand? With the exception of GNU autotools, I know of no backends which would emit shell programs. People write programs in shells.
279.
▲
by
Annatar
7y ago
Which part of the fact that Linux is a toy bothers you, and why does it bother you? Is Linux a religion for you?
280.
▲
by
Annatar
7y ago
I remember that. That was emulation and it was not usable the way a 75 MHz Z80 could be, running code directly on the CPU (even if it is an FPGA).
281.
▲
by
Annatar
7y ago
It doesn't matter what people think, what matters is that the code is portable. Isn't it better that the program JustWork(SM) unmodified on all platforms without having to worry about whether the shell is POSIX-compliant? Up until
282.
▲
by
Annatar
7y ago
This will make the program instantly unportable, because not all Bourne shells are POSIX-compliant. Please don't do that. || exit 1 is portable.
283.
▲
by
Annatar
7y ago
I never was a fan of the Zilog Z80 (its instruction set reminded me too much of the idiotic intel 80x86 family), but seeing someone running the Control Program for Microcomputers on a whopping 25 MHz Z80 is incredibly cool... just imagine w
284.
▲
by
Annatar
7y ago
Leon is a 32-bit, SPARC V8 ISA implementation. It's also one of the rare radiation-hardened designs (for use in space equipment where cosmic radiation has a significant influence on correctness of operation). An OpenSPARC T2 is a SPARC
285.
▲
by
Annatar
7y ago
"(a) nop doesn't prefetch;" I wrote nopsw and you are writing about nop. Are you doing this on purpose? nop doesn't, but only on intel family of processors , nopsw has a side-effect of prefetching. "Yes, that'
286.
▲
by
Annatar
7y ago
This is awesome!!! (Ultra)SPARC CPU's are a joy to code for in assembler, and modern T3, T4 and T5's are number crunching monsters. How about synthesizing the GPL-licensed OpenSPARC T2 now? https://www.oracle.com/t
287.
▲
by
Annatar
7y ago
"WRONG! It is factually correct that Linux beats illumos in performance." I don't believe that you making an argument in good faith here. "You can continue to use your Slowlaris based OS and live in the past. Your prerog
288.
▲
by
Annatar
7y ago
"A human would turn the for loop that counts up into a do-while loop that counts down?" Of course an experienced coder would do that; that's the entire point of why a compiler will never be able to generate as short and as fa
289.
▲
by
Annatar
7y ago
This is how a human would code the same (a human would know, for instance, that (s)he wants to multiply 50 times, passing that in %rax (that would be your "n" in C), something a compiler can never know, which is one of many rea
290.
▲
by
Annatar
7y ago
No sorry, but that's incorrect. I saw the bug requests myself when the database was still accessible, and I read multiple accounts from engineers working on performance improvements at Sun Microsystems , who I trust far more than anec
291.
▲
by
Annatar
7y ago
Considering I wrote above exactly what to do (gcc -S), I believe you are not making this request in good faith; rather, you seek to test whether I know what I'm writing about. However, had you done what I told you to do, you wouldn
292.
▲
by
Annatar
7y ago
No, the remote does not need new batteries; Linux is slow. There is an unfinished port of illumos to ARM. Solaris was traditionally used for embedded applications (such as flight control systems in airplanes) and it is ideal for embedded ap
293.
▲
by
Annatar
7y ago
What is true is that nobody is that any more thanks to low skilled Linux labor. Thanks, GNU! Thanks, Linux!
294.
▲
by
Annatar
7y ago
"Nowadays, when it's in half of phones, most consumer smart appliances, literally every internet company, and even cars, it's just wrong. Linux is the default work tool whether you like it or not." Yeah, that's prec
295.
▲
by
Annatar
7y ago
Neither is true. Well, the first might be true for you in your mind, but doesn't change the fact that C is a high level language modelling an abstract system, and providing that model through its standard libraries (which is what makes
296.
▲
by
Annatar
7y ago
The chickens haven't come home to roost yet.
297.
▲
by
Annatar
7y ago
Because in the long term, a bunch of cheap kids who aren't doing system engineering, hacking away on cheap unreliable consumer-grade architecture cost far more than two or three system engineers writing specifications and designing sof
298.
▲
by
Annatar
7y ago
C is a high level language with capability of low level access: we regularly made fun of C programmers in high school (like my math teacher) because they didn't know how to code in assembler and had to write abstract high level code in
299.
▲
by
Annatar
7y ago
And the really funny part for us C practitioners is, we know we'll rarely be as fast as machine code generated from Fortran.
300.
▲
by
Annatar
7y ago
C-like performance is required more than ever: we have to have monster multicore machines with gigabytes of memory just to run any software. That's absolutely ridiculous.
More ›