Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

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

Submissions

comment 2y ago · link · parent

Mongo is great if you want a distributed replicated log. Existing tools sorely lack. (Postgres and Kafka are broken by design.)

comment 2y ago · link · parent

You don't need to guess, you can just ask the interviewer. (Shocker, I know.)

comment 2y ago · link · parent

Literally the exact same thing happens if you use exception passing style and encapsulate all errors as a generic `Error` type. (Which is what everyone does in practice.)

comment 2y ago · link · parent

As long as you only ever visit Google web properties, yes.

comment 2y ago · link · parent

> ...as it makes the contract between a caller and a callee hard to determine, and makes your code highly coupled. I prefer the Go or Rust style of handling it through return values.

There is literally (literally!) no difference at all between throwing and exception and returning it as a variable. Except for the fact that in the exception passing style you have to write the boilerplate by hand, instead of letting the compiler do it for you.

Why anybody with a sane and functioning brain would want to do that by hand in 2024 I will never understand.

comment 2y ago · link · parent

https://datatracker.ietf.org/doc/html/draft-toomim-httpbis-b...

Looks really stupid when transfer-encoding chunked already exists for exactly this use case.

comment 2y ago · link · parent

> If spiders can have complex behaviors hard-coded, humans certainly do too.

That does not follow. It's a logical fallacy. ('Spiders can have eight legs, so humans certainly do too.')

comment 2y ago · link · parent

"An abstract description of a concrete system using mathematical concepts and language", at least according to Wikipedia.

comment 2y ago · link · parent

I quibble with the terminology. Meta doesn't "give away" their model. They only let you run it for free. (They don't "give away" Facebook either, they only let you use it for free.)

comment 2y ago · link · parent

They do not. A model is the training set plus feature engineering scripts, not the resulting weights.

comment 2y ago · link · parent

Presumably, the same "problem" that gold-plated HDMI connectors are solving.

comment 2y ago · link · parent

It isn't broken.

As far as standards go it is a fairly clean and easy to implement one. (That is the reason for its enduring popularity.)

Source: wrote a terminal emulator once. Turned out to be not that difficult. We just need to agree on an xterm-compatible subset of functionality and throw away the rest, which nobody ever uses anyways.

Your complaints are just aesthetic complaints, the terminal isn't supposed to be a universal GUI toolkit.

comment 2y ago · link · parent

> But I still can’t grasp how we’ll achieve AGI within any reasonable amount of time.

That's easy, we just need to make meatspace people stupider. Seems to be working great so far.

comment 2y ago · link · parent

Technically, no words are being distributed here. (At least according to OpenAI lawyers.)

comment 2y ago · link · parent

No. Google owns your phone and your browser, your email, your video feed and often your office productivity tools too.

All human eyeballs go through Google's advertising network first. (Unless you're an Apple-only person.)

So for advertisers it makes no sense to budget anything but Google first and foremost. Maybe they'll add some Bing-Yahoo if they have spare money laying around and want to catch the remaining couple percent of the audience.

P.S. Search is only a small part of Google's advertising network, and not the most important one nowadays.

comment 2y ago · link · parent

Window functions very much fits the pattern of "forced bloat".

comment 2y ago · link · parent

Absolutely not. For example, there is literally nothing at all in common between a Postgres query and a Clickhouse query except some very basic surface-level syntax.

(And even then lots of things are incompatible, e.g., count(*) vs count())

comment 2y ago · link · parent

Google works because it is a monopoly.

All human eyeball traffic goes through Google.

It is in their interest to keep destroying the open information marketplace because then advertisers are forced to buy through Google. (Much easier and more profitable than trying to make a good adtech product.)

comment 2y ago · link · parent

Yes, indeed, and that is golang's main reason for existing.

comment 2y ago · link · parent

> Their solution: restart the server after 8000 requests.

8000 requests is something like 500 milliseconds for the average ad server.

You need exceptionally fast restarts for that to work.

comment 2y ago · link · parent

The whole point of an interactive shell is cosmetic convenience.

comment 2y ago · link · parent

> fascists

Well, they aren't actually. Lay off the hyperbole.

comment 2y ago · link · parent

> proof you can spend a lot of time and effort completing bullshit assignments on time without too much heel-dragging or back talk.

You don't need an MBA for that, a highschool GPA would be enough proof.

comment 2y ago · link · parent

That's a stupid argument because it also applies to anything from faster-than-light travel to Harry Potter's magic wand.

comment 2y ago · link · parent

There is no "longevity escape velocity", please stop reading sci-fi. (Or at least if you do, keep in mind it is only entertainment.)

comment 2y ago · link · parent

Currently you have to do `sudo systemd-run --shell` if you want a root shell from a regular user's account.

comment 2y ago · link · parent

'systemd-run except with privilege escalation' is a thing I wished for for a long time, needed in production.

Glad they finally made it, too bad it took them so long. (To be honest, it feels like it should have just been part of systemd-run in the first place.)

comment 2y ago · link · parent

Ansible tries to be declarative and idempotent, but fails at being both.

comment 2y ago · link · parent

Realistically, you only need logs to debug crashes. (Segv's and null pointer violations and such.)

Anything else will quickly get turned into a metric stream anyways.

1
606162
135