HNHacker News
TopNewBestAskShowJobs

ac42

111 karma · joined February 17, 2019

submissionscomments
ac42··on Print Debugging Should Go Away
There's a similar war between logging and tracing. Tracing promises to give you everything you ever wanted to do with your logs and then botches it by sampling the data so you can't correlate anymore, or you don't sample and suffocate in data just as with logging but without the benefits.

For debuggers it's probably the same: if they make the assumption that you need less than complete freedom in instrumenting the code, you will need print and if they don't assume that, they likely are harder to use than the language itself.

ac42··on Parsing Protobuf at 2+GB/S: How I Learned to Love Tail Calls in C
> Instead, this feature should be implemented as part of some safe parser generator

Which safe parser generator would you recommend for writing a protobuf parser (preferably one that yields at least 25% of the throughput claimed by the OP)?

Full disclosure: I believe there is no such thing, and if what you're asking the OP is to write one, it would likely benefit greatly from generating code that leverages tail recursion. Yeehaw!

ac42··on Show HN: Verilog2factorio
Great idea to comment on someone else's post on HN by pointing to related work, but the communication standards of the parent definitely need some work before being unleashed to the world.
ac42··on UMN CS&E Statement on Linux Kernel Research
I sincerely hope they didn't just do that because someone whose empire is built on Linux rang them up.
ac42··on UMN CS&E Statement on Linux Kernel Research
Society works because of trust. Activities like these erode trust. It's like "let's try and pour a bottle of acid into the freshwater storage facility".
ac42··on Paternoster Lift
Perhaps not the accent. But there's a chance you would cut your sentences a tinge differently when not based on a German original.
ac42··on The Cursed Computer Iceberg Meme
Responses to the poll, I would presume?
ac42··on The Cursed Computer Iceberg Meme
Oh, wow... I haven't felt so nerdy in a long, long time. Lovely :)
ac42··on Timeline of Mathematics
I was somewhat disappointed to find a timeline of mathematicians instead of a smart way to capture the evolution of mathematics.

Pretty design for what it does, though!

ac42··on Maslow's Pyramid of Code Review (2015)
s/unreliable/unreadable/

(autocorrection got me wrong)

ac42··on Maslow's Pyramid of Code Review (2015)
Except for the "Elegant" thing, which I would drop entirely, I think the pyramid either has it backwards or should be read from top to bottom for priority.

Usually nobody cares for unreliable code because the "correct" bit can't be figured in most cases. And people messing with the code base kind of just failed the fizzbuzz test.

ac42··on Having children is not life-affirming: it’s immoral (2017)
And should that noble standard apply to humans specifically, or to life in general?

First world problems, my guess.

ac42··on Sleep Is the Mate of Death
I think you got that backwards. It's life that sucks, not the dreams ("Here I am with a brain the size of a planet and they ask me to pick up a piece of paper...")

Sleep deprivation has effects similar to alcohol consumption: impaired reasoning ability leads to mild euphoria because you forget about your conflicts and are also happily expectant to go _back to bed_ very soon.

ac42··on My bank sent me 64 copies of the same debit card
Twice as much!
ac42··on Ask HN: Alternatives to Suicide?
Well.. the obvious one: don't kill yourself. Assume you already died and this is the what-if-you-had-not version of things.
ac42··on What’s Wrong with “Multiplication Is Repeated Addition”? (2008)
Many commenters have already said it: the article is probably not helpful when teaching kids. Or is it? I recall having asked myself these questions at school: if lines are infinitely thin, how is it repeated addition that defines surface areas? What is "inside" the variables we use as units?

Measure theory (for your volume) and the structure of dimensional quantities [1] are non-trivial topics, and while probably not giving good answers, I think the article is certainly asking good questions.

[1] https://terrytao.wordpress.com/2012/12/29/a-mathematical-for...

ac42··on Why Can't Programmers.. Program?
During the interview, you find yourself fending for yourself alone, your corporate framework is gone, and you realise how you miss your desk phone, and somewhere out in space a voice you can't hear is hollering: "The secret is banging those rocks together, dude!"
ac42··on Taking a Stand in the War on General-Purpose Computing
Interesting, the VC firmware is ThreadX based, indeed[1]! The number of platforms this runs on is absolutely mind-blowing (from an engineering perspective).

[1] https://github.com/hermanhermitage/videocoreiv

ac42··on Taking a Stand in the War on General-Purpose Computing
Can you elaborate? AFAIK, the ARM on the PI is real silicon and controlled by Broadcom firmware via the VideoCore GPU. Where is the MSFT part?
ac42··on Modern software controls dependencies because it helps software authors
Linux has Linus Torvalds to prevent breaking "fixes".

Your JS fad of the day likely ain't even considering.

ac42··on Python strings are immutable, but only sometimes
From the python docs:

> Two objects with non-overlapping lifetimes may have the same id() value.

ac42··on What was the original reason for the design of AT&T assembly syntax? (2017)
If it's so close to Unix, why do all the C functions have it the other way around? e.g. memcpy(dst,src,n)

I've always thought AT&T syntax is made for machines & debugging compiler output while Intel syntax is made for people and large scale coding...

ac42··on New 10 Terapixel Image of the Night Sky Contains 1B Galaxies
"Tragula was horrified to learn he had destroyed her mind, even as he proved his point that if life was going to live in such a vast Universe, one thing it could not afford to have was a sense of perspective."
ac42··on Tesla buys $1.5B in Bitcoin, may accept it as payment in the future
63.8T USD o_O
ac42··on Physicists Prove Anyons Exist, a Third Type of Particle in the Universe
IIUC, this could be as important for quantum computers as p-n junctions are for semiconductors.
ac42··on Free Pascal
Yes! A Cheetah with muzzle and mittens because it's also safe.
ac42··on Free Pascal
I'm pretty sure sets supported up to 256 elements (32 bytes) in Turbo Pascal on 16 bit systems, because you could manage ASCII characters with them. Yes, didn't scale. Yes, tons of use cases nonetheless.
ac42··on Wall Street Begins Trading Water Futures as a Commodity
Time to start praying (or do something about it).

Artificial water shortages are already a thing it seems.

ac42··on AlphaFold: a solution to a 50-year-old grand challenge in biology
I think so, too. Linear algebra, control theory and quantum mechanics haven't gotten us anywhere and ivory towers prevail as this machine learning solution to a problem in biological chemistry clearly demonstrates. /s
ac42··on Lufthansa trialing lie-flat Economy seat concept
I had an economy row on intercontinental flights for myself a couple of times (back in 2009 during the financial crisis, when flights were routinely half empty). It definitely helps, but you can't fully stretch out if you are taller than 5ft and it doesn't compete with business class.
← PreviousPage 2 of 4Next →