Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 5y ago · link · parent

Simple Bayesian logic.

P(buying crap) < P(buying crap | has bought crap before)

Advertising is applied statistics and works on large cohorts. Nobody cares about you personally or your psychology.

comment 5y ago · link · parent

Ebay sends me spam emails every day. Technically I guess it doesn't count as spam because they originate from ebay.com and I "consented" by signing up an account with them, but to me they're every bit as annoying and toxic as bona-fide spam.

comment 5y ago · link · parent

That's because underneath there's a primitive Bayesian engine with a simple rule of

    P(buying crap on the Internet) < P(buying crap on the Internet|already bought crap on the Internet)
there's nothing intelligent going on under the scenes and a massive tracking setup isn't needed here.

(And yes, the massive tracking by Google, Facebook et al isn't really for advertising purposes. It's so they are prepared to pivot from adtech to the much more profitable govtech, a la China's social credit system. TV advertising is actually much more targeted than web advertising and they do it with practically no tracking at all.)

comment 5y ago · link · parent

Yes. TV advertising is actually much more targeted than web advertising. (In the sense than TV advertisers know precisely their target audience and its response.)

The various annoying remarketing schemes are a tiny part of advertising technology and really only exist because of the well-meaning but poorly thought-out ideas about privacy on the web.

comment 5y ago · link · parent

Ads will be rendered server-side, and nothing will plummet.

In exchange you'll get completely opaque and abusable serverside user tracking systems and encrypted html pages.

This isn't what you want.

comment 5y ago · link · parent

Google's whole business is selling ad data from their first-party cookie.

This is nothing but another anti-competitive move from the Google monopoly.

comment 5y ago · link · parent

Wait ten more years and Rust will become one of these 'said languages'. (Maybe even faster; the Rust people make it their principle to never learn from others' mistakes. There is no way they won't repeat them.)

comment 5y ago · link · parent

"Undefined behavior" in a C++ context is a legalese feature of the ISO standard. The standard defines, very precisely, the behavior of a compliant C++ compiler. In places where behavior cannot be specified (for logical or practical reasons), the behavior is marked as "undefined".

In absence of a standard effectively every language construct is 'undefined behavior'.

Again, look at Python for a vivid example of this. (We were discussing just this is a neighboring thread: https://news.ycombinator.com/item?id=26826158)

I have zero reason to believe that Rust won't meet Python's fate.

The Rust people don't have a standard and don't understand why they need one; in fact, their lack of standards is somehow touted as a benefit. Apparently, people think that if there is no standard for "defined" and "undefined" behavior that everything is "defined" by default.

(They're absolutely wrong, of course; it's actually the opposite.)

comment 5y ago · link · parent

> Exceptions are terrible for correctness.

Sometimes they are, and sometimes they are not.

> They introduce hidden control flow paths that developers forget about and fail to handle correctly.

The problem that exceptions solve involve control flow paths that aren't supposed to be handled. Exceptions are not for handling recoverable errors, they are for graceful aborts in a complex, layered and modular program. (E.g., any multi-threaded server, for example.)

comment 5y ago · link · parent

> "Where do I find the devs to maintain this codebase long term? And what happens if the language dies upstream?"

This is the lowest of the low bars w.r.t. technology choice.

Compare, for example, to the vetting and QA the Linux kernel does.

comment 5y ago · link · parent

> undefined behavior

What does that even mean in the absence of a formal standard and competing compiler implementations? (Hint: nothing.)

If you refuse to define anything then you automatically make the "undefinedness" problem go away. (But not the pain it causes.)

> Rust's type system and safety guarantees put a floor on how crappy the code can be

No. The floor on crappiness is defined by the problem domain. Powerful features allow for powerful takes on crappiness.

Unless you want Rust to stay a teaching language forever, you must necessarily introduce abusable features. (See Python for a real-time slow-motion elaboration of this train wreck if you don't believe me.)

comment 5y ago · link · parent

> There are? Like what?

Exceptions, for example.

> There are 20 year old Java codebases, and yes they can be a mess and hell to work with, but they're not nearl as bad as C++ ones.

That's because Java doesn't attempt to solve difficult problems.

comment 5y ago · link · parent

No. There's all sorts of hoary crap in the core parts of Windows - Pascal, C++, C, C# and various dialects thereof, JavaScript, Visual Basic, Prolog. This just off the top of my head.

It's not really an endorsement because the bar to getting into a Google or Microsoft or Facebook codebase is as low as it gets in this industry.

comment 5y ago · link · parent

This isn't true. Or, rather, there are also a myriad of ways that C++ enforces correctness that Rust doesn't.

Legacy codebases are smelly not because of a lack of tools for enforcing correctness. They're smelly because a) programming is hard, and b) a boatload of things are more important than correctness, in the real world.

> I would much, much rather deal with a legacy Rust codebase than a legacy C++

Obviously, because right now legacy Rust codebases are only 5 years old, while legacy C++ codebases are 30+ years old.

But in 20 years it will make no difference. The Rust of 2031 that will need to accommodate 30 years of legacy backwards compatibility will be no prettier than C++ today.

comment 5y ago · link · parent

Rust won't make legacy code and legacy coders go away. In fact, as time goes on the amount of crappy legacy Rust code and low-skilled legacy Rust coders will only grow.

So Rust is not a solution.

comment 5y ago · link · parent

"A company like Microsoft" writes production code in literally every language.

The stakes are low and nobody cares if your little team writes code targeting a Brainfuck compiler. (Yes, this is a real thing; there's a Brainfuck compiler developed somewhere in the vast guts of Google. No, I don't have a link to share with you, sorry.)

comment 5y ago · link · parent

Please don't replace something that works with something that doesn't.

I understand developer thoughts on this are skewed (job security, promotions, fun, etc.), but please. Don't.

comment 5y ago · link · parent

Did you read my post?

Addicted people cannot consent.

comment 5y ago · link · parent

At this point Rust is not the prmary ecosystem for anything.

The important and exciting new things are written in C++, not Rust. Rust has no advantages over C++ once you know C++.

comment 5y ago · link · parent

> Now with systemd is more difficult to have something start after something else

Not really, it's just one simple line in a unit file. (https://fedoramagazine.org/systemd-unit-dependencies-and-ord...)

comment 5y ago · link · parent

systemd is exactly the boot time interpreter you're asking for.

comment 5y ago · link · parent

I'm guessing the management failure was engineered from the start. Follow the money.

comment 5y ago · link · parent

I'm strictly against all "cloud" lock-in, but if you're going down that path despite all caveats, then using the #1 cloud provider makes more sense than a third-place competitor from a company that's best known for not having customer service.

comment 5y ago · link · parent

That's why I said "white rice", and not just "rice".

comment 5y ago · link · parent

> Google poured millions of dollars into Mozilla (...), and yet, most of their projects failed.

Perhaps it's actually working as intended.

comment 5y ago · link · parent

People spent billions on "blockchain" too, this isn't any sort of indicator in the current economic climate.

comment 5y ago · link · parent

The technical problems are solvable, while the social and legal ones are not.

comment 5y ago · link · parent

Eh. White rice must be the blandest food in human history.

comment 5y ago · link · parent

The hemp that has been used historically in traditional cultures as a fiber and food source isn't the kind that can get you high.

But figuring out which kind is which is too hard for law enforcement, so it's easier to just ban it outright.

1
112113114
135