HNHacker News
TopNewBestAskShowJobs

otabdeveloper2

71 karma · joined August 10, 2017

submissionscomments
otabdeveloper2··on Ask HN: Cool stuff that's still completely unregulated?
C++ programming.
otabdeveloper2··on Nim 1.0
> ...something impossible in C++

    vec[3_s & 4] 
is very much possible in C++. It's only two characters longer.

(C++ doesn't have a ':' operator, you'll need to use some other symbol.)

otabdeveloper2··on A view to the possible habitability of ancient Venus over three billion years [pdf]
> have found their next pseudo science

Nah. Like the Rapture, "climate change" is forever. That's the beauty of it, it's the falling sky to end all falling skies.

otabdeveloper2··on Why Go and Not Rust?
> Most defenses I've seen of C++ boils down to something along the lines of "you're using it wrong (tm)".

Maybe, but that wasn't what I said. The problem is that lots of people know C, but very, very few people know C++.

A big part of the problem is that both languages share one compiler, and people come from C thinking that C++ is just an upgrade with some features bolted on.

It's not. It's a completely different language, and if you approach it as "I'll learn a bit of C and then throw in some C++ features" you're setting yourself up for a world of hurt.

The hurt goes away if you forget C, start with a clean slate and learn C++ as a new language.

otabdeveloper2··on Why Go and Not Rust?
> Additionally it's the only language I've ever worked in that provides ample opportunities to blow off your own foot while copying a string.

False.

    std::string x = y;
There's no way to mess this up.

Again, learn the language. There is no such thing as "C/C++". 99% of the problems stem from the fact that people don't understand that C and C++ are completely different languages, despite sharing one compiler.

Learn C++ as itself and your problems go away.

> Lastly `const` what does it do where and why and should everyone ever use it...

`const` is a contract that means "I will not modify this object here". Nothing confusing or complex about it, unless you're trying to shoehorn this concept into C semantics somehow.

otabdeveloper2··on Why Go and Not Rust?
> C++ is one of the hardest languages to use,

No.

> full of edge cases,

Definitely no.

> it blows my mind every time I pick it up.

I'm tempted to say "programming is not for you", but I'll be charitable and just point out that you've never learned the actual language to make statements like that.

> If anyone tells you they know C++, they're absolutely wrong.

That's a load of crapola. It's impossible to "know C++" in the sense of knowing the ISO standard for C++; but that is also true of any other language with a real standard.

Languages without standards, of course, are worse in every way.

otabdeveloper2··on Why Go and Not Rust?
> C++'s approach to generic type usage has slowly evolved into the most absurd collection of left angle brackets out there

C++ templates are a purely-functional Lisplike language. There's nothing strange or absurd about it; it's a very vanilla way to approach string rewriting systems.

(It's ugly to read, yes, but then all Lisplikes are too.)

otabdeveloper2··on Why Go and Not Rust?
> the cognitive load required

There's no cognitive load required to code in C++. You just don't know the language.

There's no easy tutorials or learning materials for it, but it's not hard.

otabdeveloper2··on Google ML/AI Comic
> The comic is seriously a great intro learning resource

No, it isn't. It's horrible. It read like advertising copy to sway dumb investors into pouring their life savings into Google stock.

otabdeveloper2··on Why is Rust slightly slower than C?
> given the right subset of language chosen

Yes, if by that you mean "idiomatic C++ as C++ programmers write it".

It's the inexperienced "C/C++" (no such thing, BTW) that are 'choosing subsets', and doing it wrong 90% of the time.

otabdeveloper2··on Why Ada Is the Language You Want to Be Programming Your Systems With
> C/C++

No such thing.

otabdeveloper2··on Cue – A language for defining, generating, and validating data
> If configuration starts becoming more complex than looking up key value pairs, why not just write it in the programming language you are using?

Because you want to write a config file, not a program?

What next, config files, build systems and unit tests for your config files?

No thanks.

otabdeveloper2··on Google is ramping up its efforts to replace SMS with RCS
You're forced to run 8 chat apps where just 1 would work better, all of them with their respective security, privacy and battery-destroying performance problems.

How is that possibly not "harm"??

otabdeveloper2··on Google is ramping up its efforts to replace SMS with RCS
> Who uses sms for anything but authenticating WhatsApp/signal/telegram?

I do.

otabdeveloper2··on Neural Networks Are Essentially Polynomial Regression
The so-called 'neural networks' have nothing to do with the brain. They're only called that as a branding exercise. Because math is scary and boring, biology and brains are warm and fuzzy.
otabdeveloper2··on JavaScript: The Modern Parts
The "modern" Javascript parts make me almost physically sick.

Gimme back my plain old browser Javascript. It was primitive, but at least it wasn't actively harmful.

otabdeveloper2··on Async-std: an async port of the Rust standard library
> I thought Rust had other, better ways to create non-blocking code so I don't understand why to use async instead.

'async' exists because Python has that GIL bullshit and so Python programmers had to invent that fifth wheel of 'async programming'.

Programmers in other languages then got jealous because they, too, wanted a complex, unnecessary framework that pollutes the whole runtime and serves to differentiate regular programmers from 'rockstar' programmers.

And so async got fashionable and barely-literate coders now think async is magic performance dust that will automatically make your program run 1000% faster.

TL;DR - it's just fashion, give it five years and we'll be reading posts about how async sucks and that it's stupid legacy tech invented by bonehead dinosaurs.

otabdeveloper2··on Async-std: an async port of the Rust standard library
Cooperative multitasking, like it's 1995 again?

No thanks.

otabdeveloper2··on Ask HN: Why is everyone here so obsessed with Lisp?
It's a great excuse to claim a label of 'programming genius' without having to explain why you haven't written anything useful or groundbreaking.
otabdeveloper2··on Are We Living in a Computer Simulation? Let’s Not Find Out
> Simulating the Solar System would be sufficient.

But that's exactly how it is with our Universe! There's clear evidence that the important and relevant stuff happens only in the Solar System, and the rest of the Universe is just empty procedurally-generated useless filler.

otabdeveloper2··on In Praise of Samuel R. Delany
> I wasn't as open-minded as I thought I was.

Don't open it too wide, unhygienic stuff might fall in.

On a related note: why is it that people understand basic food hygiene (don't eat rotten meat, wash your vegetables, spoiled milk is bad, etc.), but can't seem to grasp that the same basic concept applies to mental food too?

You are what you eat, and that applies to what you read and consume in media too.

otabdeveloper2··on Future of Racket
> Still much better than C++ though.

Well, no. There is zero reason to use Rust if you already know modern C++. Rust's only benefit is being newbie-friendly.

otabdeveloper2··on “I would like to maintain the floppy driver”
Yeah, the 3.5" disks are actually 'stiffies', not 'floppies'.
otabdeveloper2··on How I use the good parts of AWS
> 1/25

Is there a more user-hostile webapp than Twitter? I think not.

otabdeveloper2··on Why did we wait so long for the bicycle?
Such a primitive bike is only a novelty, not a mode of transportation. It would be less efficient and more expensive than just walking. (I.e., a toy.)
otabdeveloper2··on Why did we wait so long for the bicycle?
Bad quality article.

There's a simple answer: ball bearings are relatively high tech that requires lots of innovation to come together at the same time.

otabdeveloper2··on English speakers should learn math instead of a second language
Why not both?

Seems to work for the rest of humanity.

otabdeveloper2··on Amtrak Has Lost Money for Decades. A Former Airline CEO Thinks He Can Fix It
> By the way, all passenger trains in Europe , China and Japan lose money too.

Not true. Russian passenger rail is profitable and growing.

otabdeveloper2··on The BS-Industrial Complex of Phony A.I.
> The real issue we are facing is that everything that we thought was not going to be pattern matching and tree search has turned out to be pattern matching and tree search.

Absolutely false. It just seems that way because you read biased research and articles.

There's a boatload of problems that cannot be solved with pattern matching and tree search. Even really simple ones.

One example is estimating/predicting binomial proportions adequately.

otabdeveloper2··on OpenMandriva, the first Clang-built Linux distribution
It's not great news. GCC is basically better in every way.

People promote Clang because it has a permissive license and opens the door for Google and Apple to inject proprietary crap into Linux.

← PreviousPage 3 of 8Next →