HNHacker News
TopNewBestAskShowJobs

d_tr

968 karma · joined January 25, 2020

submissionscomments
d_tr··on Fixing the Loading in Myst IV: Revelation
Why not just do a search and get an answer in five seconds?
d_tr··on Canada euthanasia now accounts for nearly one in 20 deaths
Doctors are humans too though and you can't just ask them to gas and mutilate perfectly healthy people so easily. Not what they signed up for.
d_tr··on 1/0 = 0 (2018)
But if you write a + b and the result is wrapped around or saturated, it's not integer addition. It's something else and should be written in another way in code and have a different name. I am aware of modular arithmetic.

If you have a type named "int" with an operation called "addition", and that operation is not actually integer addition... it's wrong.

d_tr··on 1/0 = 0 (2018)
Whatever as long as the name does not imply that these are integers, because then it is just wrong. The same holds for overflowing results being clamped or resulting in smaller or negative values due to wraparound. These are not integers.

There is only one correct behavior for something named "int". Give the correct result or throw an error.

d_tr··on SQLite does not do checksums
Doesn't matter, you should explicitly specify such a basic configuration option yourself anyway unless you are clueless and don't know any better.
d_tr··on Scientists glue two proteins together, driving cancer cells to self-destruct
Cancer mRNA vaccines for solid tumors are administered to real patients in clinical trials right now.
d_tr··on Zig is everything I want C to be
Probably not much, but this is not the only change the language brings.
d_tr··on Thought experiments that fray the fabric of space-time
You'd need to somehow record refinements endlessly? I don't get what you're getting at.
d_tr··on The deconstructed Standard Model equation
I've had the same question for ages. Shouldn't there be an equation in "Schroedinger form" with some relativistic Hamiltonian?
d_tr··on On the design of text editors (2020)
The author is the creator of the nano-emacs package [1], by the way.

[1] https://github.com/rougier/nano-emacs

d_tr··on 3D-Stacked CMOS Takes Moore's Law to New Heights
Sure, I just said that "QLC" basically implies two bits.
d_tr··on 3D-Stacked CMOS Takes Moore's Law to New Heights
You mean you have to stack the chips first to test them, in which case the whole stack would have to be discarded?
d_tr··on 3D-Stacked CMOS Takes Moore's Law to New Heights
You also save quite a bit of routing, right?
d_tr··on 3D-Stacked CMOS Takes Moore's Law to New Heights
Which is a strange name and underselling it btw, since there are 16 levels...
d_tr··on Nobody Cares About Security
Types where the constructor takes care of the rules and aborts if you pass it something stupid (like an empty string for a user name).
d_tr··on Rust's Ugly Syntax (2023)
> Most people would probably be better served by a language that was a tiny bit slower but had better developer productivity.

D maybe? D and Rust are the two languages which come to mind when I think about "possible C++ replacements".

d_tr··on How WW2 bombs across the Pacific are found and destroyed, decades after war
If you call them to pick up dangerous material, in Germany? No. Plus, if you have neighbours, it's not only about you anymore.
d_tr··on Lung cancer vaccine trial begins in UK
Is this a joke? You are comparing two very different things.
d_tr··on Paper straws are often touted as alternative to plastic, but they're toxic
The paper ones I've been served drinks with have certainly been bad.

OTOH I have used a couple of types of "biodegradable" straws, from mango peel or sugarcane or something, and they were 100% fine.

d_tr··on Paper straws are often touted as alternative to plastic, but they're toxic
One degrades in your mouth and the other doesn't...
d_tr··on Perfect NAS Solution
It will take 100 hours to consume 1 KWh at 10 W. So at, say, 10 cents per KWh, this amounts to like ten dollars per year of 24/365 operation or to $800 for a full human life.

This is something that needs to be taken into account if one is planning to buy a new machine to reduce power draw by like 5W.

This is not taking into account the footprint of producing that extra machine earlier than it would need to be produced.

d_tr··on We Should Stop Using JavaScript According to Douglas Crockford (2023)
> I think javascript is one of the most successful programming languages of all time, and one that has added more to the world than almost any other.

It is just a scripting language. If it wasn't JavaScript, it would be something else. It hasn't added anything besides lots of crappy code, most of which shouldn't have been written in JavaScript anyway.

I can't understand how anyone could find its moronic semantics bearable.

d_tr··on Oh man! Our entire team has been replaced by Vietnam developers.
Not sure about the "when" part since current models can't write anything useful. Adapted snippets from popular plain old Google search results is all I've gotten, often with glaring errors.

But I often get answers faster this way, compared to doing a plain search, so they've been useful for me.

d_tr··on Why You Should Not Use Tcl (1994)
It's just too fast and loose. It is apparent and it says it on the tin. It was designed as a scripting language. Exactly the same holds for JS which is much worse.

I have no idea why these languages are considered "easy". I find them a pain to use for anything larger than a couple hundred lines of code.

d_tr··on Why You Should Not Use Tcl (1994)
I have hated industrial automation software from a particular manufacturer, but Structured Text, while a crappy language, was the least of my issues. The tools were really bad and the provided codebase amateurish.

Maybe it's a similar situatuon with these expensive proprietary EDA tools often being quirky?

d_tr··on Why You Should Not Use Tcl (1994)
I can't understand why anyone would decide to write anything complex in Python.
d_tr··on Women who make Samsung semiconductors are striking
I found it informative. It seems people interpreted the comment very uncharitably.
d_tr··on Physics-Based Deep Learning Book
Yeah, I came here expecting methods of mathematical physics applied to deep learning. I'd suggest a title change.

Still a great topic though, no doubt!

d_tr··on Anti-aging molecule successfully restores multiple markers of youth
If I were a billionaire and wanted to keep it for me and my immediate family... good luck to me.

How would I be able to enforce it? By somehow keeping the costs high? By lobbying?

Nothing would work, because this would be too big for the working class to just sit there and watch, and if lots of people get really pissed, it can turn very ugly, as history has taught.

People will want it and they'll get it, one way or the other.

d_tr··on Anti-aging molecule successfully restores multiple markers of youth
It's not crazy, no one thinks that. My question is why do so many people think of and fear this as a plausible scenario, to the point they prefer to rot and die than see progress in that front. Now this is crazy.
← PreviousPage 4 of 18Next →