HNHacker News
TopNewBestAskShowJobs

otabdeveloper2

71 karma · joined August 10, 2017

submissionscomments
otabdeveloper2··on Battery Reality: There’s Nothing Better Than Lithium-Ion Coming Soon
What, you mean you don't live in California??

Get with the times, gramps! Internal combustion engines, are, like, totally last century.

otabdeveloper2··on Error Handling in Go (2016)
Congrats, you've just reinvented exceptions, except manually coded and prone to bugs.

Hope you're proud of yourself, lol.

otabdeveloper2··on Ruby's Creed
> building database backed web applications where nils are simply unavoidable without some extreme over engineering or awkward idioms

Say what?

Adding a 'NOT NULL' to your database fields is a no-brainer.

otabdeveloper2··on What companies does Google own?
> July 18, 2008 ZAO Begun

Not true, this deal never went through due to anti-monopoly regulations.

otabdeveloper2··on Standardizing WASI: A system interface to run WebAssembly outside the web
The JVM and CLR suck balls.

They put in huge amounts of effort into things that don't need solving, and the things that need to be solved they do in the most roundabout way possible.

What we _really_ need is a sandboxed VM for running C code securely and efficiently.

The JVM is pretty much the opposite of that; it's not sandboxed, not secure and certainly not efficient as a target for C code.

We're hoping WASM starts over from scratch and does things right this time around.

otabdeveloper2··on Facebook to ban white nationalist content
Thought experiment for ya:

> Facebook to ban homosexual hookup content

How about that, eh? Funny how a simple change of political platform will U-turn your support of so-called 'free speech'!

otabdeveloper2··on Mathigon – an interactive, personalized mathematics textbook
No child learned anything useful in Minecraft.

It's better than Candy Crush (no overt addicting psychological tricks) but ultimately the same kind of waste of time.

No child ever grew up and said "gee, how great it is that I spent 10000 hours in Minecraft instead of doing sports or learning a useful skill".

I grew up on video games myself; trust me, it sucks.

otabdeveloper2··on Mathigon – an interactive, personalized mathematics textbook
Adult interests are a no-brainer in the same way.

"Figuring out your interests" isn't the hard or useful part. The hard part is changing your default (usually harmful) interests into something useful and productive.

That involves lots of psychology and (yes) manipulation and coercion.

otabdeveloper2··on Mathigon – an interactive, personalized mathematics textbook
> something that learns your interests

It's not rocket science, a mole rat could figure out that kids want to play video games and eat candy all day long.

otabdeveloper2··on Mathigon – an interactive, personalized mathematics textbook
"Edutainment" sucks donkey balls.

One of the things I'm forever resentful for is the way my life was ruined by not learning things in a structured and rigorous way in childhood. Re-learning (and learning to learn) in adulthood is a pain and is never quite as good as doing it right the first time around.

Thankfully, my own kids are spared of this horror.

otabdeveloper2··on Esoteric C++ Contest 2018
The cognitive dissonance required to believe that C++ templates are 'monstrous' while Lisp S-expressions are awesomely useful and productive is enormous.

C++ templates are far from user-friendly, but they're literally (literally) just Lisp S-expressions with a Lisp syntax and semantics.

otabdeveloper2··on Esoteric C++ Contest 2018
> Behold, I present you this fucking monstrosity

It's just a Lisp-like language with a slightly different syntax for S-expressions. Ugly, like all Lisps, but nothing 'monstrous'.

otabdeveloper2··on Show HN: Drogon – A C++14/17 based high performance HTTP application framework
There is zero benefit to using Rust vs. C++ in a high-performance and memory-safe network server. C++ is better in every way you could think of.

(Rust is good idea, but about 10 years immature. Come back in 2029.)

otabdeveloper2··on Show HN: Drogon – A C++14/17 based high performance HTTP application framework
> there is no way to guarantee memory safety.

Absolutely not true for C++. The language was invented to guarantee memory safety, like Rust was. (The fact that people ignore the safety features when coding is irrelevant, people liberally throw 'unsafes' around in Rust and Haskell too.)

otabdeveloper2··on Suse is once again an independent company
> Microsoft already has an operating systems business in Windows.

Windows the OS is gonna die sooner or later, it's a question of time. Windows the legacy application API layer is probably gonna stick around forever.

Linux kernel + proprietary Windows application compatibility secret sauce seems like a killer combination. (Think Wine, except easy to use and actually working, and commercial.)

I think the only thing stopping Microsoft from following this plan is legacy devs and managers having a vested interest to keep their jobs around.

otabdeveloper2··on Why I rewrote the mesh generator of Dust3D from Rust to C++
> Java is usually within factor of two

No. That's on synthetic benchmarks. Run a real server and you see that Java shits its pants while a C++ service is running rings around it.

That's because memory/cache fragmentation and usage is vastly more important in 2019 than CPU cycles.

otabdeveloper2··on An Insulin Index of Foods (1994)
> CICO is the default position

CICO is demonstrably bullshit. Vodka and Coca-Cola have the same number of calories, but vastly different effects on a person's metabolism. Just compare a vodka binge drinker with a coke binge drinker.

otabdeveloper2··on An Insulin Index of Foods (1994)
> They never are, because if this did happen it would have massive implications for our understanding of the human body. It would require us to be wrong about a lot of things.

Yeah, welcome to medicine. If you've ever encountered these things in a non-theoretic perspective (i.e., having some condition), you quickly see that doctors don't know shit.

Perhaps not surprising, given that human experimentation is taboo.

Anyways, how does what you're saying mesh with the fact that extra glucose is stored in your body's reserves while ketones are secreted with urine and breath?

otabdeveloper2··on Why I Quit Tech and Became a Therapist
> are then overwhelmed with work

No they're not. Most are doing pointless non-work (or negative work) because businesses need to show 'growth', usually by inflating head and report count.

otabdeveloper2··on MathML in Chromium
I've been coding C++ for 15 years and I've never seen a use-after-free in the wild. (I've seen lots of other bugs and security problems, but not use-after-free.)

Use-after-free is a C thing, not a C++ thing. Granted, C++ makes is super easy to code in C, but that's an organization problem that is already solved in any sane project.

otabdeveloper2··on Animals are no less emotional than we are
Don't know about you personally, but normal human babies certainly aren't at all like animals.

The sheer, mind-boggling rational and learning capacity needed to learn highly symbolic and abstract things like language and arithmetic means that babies are 'smarter' than adults.

(If by 'smarter' we mean the capacity for learning, mental models and abstract generalization.)

otabdeveloper2··on Animals are no less emotional than we are
So what?

Since when is 'emotion' is some sort of validation of personal worth instead of a condition you need to learn to live with?

otabdeveloper2··on The Planned Obsolescence of Old Coders
> for every anecdotal old-guy that hates Electron

Any sane person with half a brain hates Electron.

(Not that there are any good alternatives, but still...)

otabdeveloper2··on Black Hole Propulsion as Technosignature
Eh? It reads like a book translated into Chinese. It's probably one of the most not-Chinese Chinese books you can read.
otabdeveloper2··on Stop Wasting Connections, Use HTTP Keep-Alive
The extra CPU load for our balancers (nginx) didn't translate into any benefits for the user in performance or user experience. We ended up spending CPU cycles for no benefit.

Basically, HTTP/2 is tuned for a very specific case of Google traffic which pretty much never happens in places that aren't Google.

otabdeveloper2··on Stop Wasting Connections, Use HTTP Keep-Alive
Neither is the parent comment.
otabdeveloper2··on Stop Wasting Connections, Use HTTP Keep-Alive
> Better

No, http2 is not better. We actually did the tests. We're not quite Google-scale, but having to handle tens of thousands of requests per second put us in the 'high load' camp.

otabdeveloper2··on Square Inc. Co-Founder Tristan O’Tierney Dies at 35
> If someone becomes addicted to a substance

Are you mad? Nobody suddenly becomes 'addicted'. Addiction is something you do willfully and deliberately to yourself. Addiction is not a disease, it is a form of self-harm.

otabdeveloper2··on Pagedraw is shutting down and going open source
> Get something done and working, even if performance sucks.

Often if "performance sucks" then it isn't done and isn't working. Performance is a client requirement like any other.

otabdeveloper2··on Euboea – simple, fast, AOT-compiled programming language
We actually compared stock lua to luajit in production, for something with high load and serious performance requirements.

The difference turned out to be no big deal, less than x2 in speed. The real performance killer seems to be garbage collection and chasing pointers due to inefficient data structures. Luajit doesn't help much here.

In the end we went with stock lua because it doesn't have the 1 gigabyte memory limit, and so can use a much larger thread pool.

← PreviousPage 5 of 8Next →