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

A message queue has one (1) job: to keep track of the already-processed message pointer.

Which Kafka doesn't do. So you either store everything forever (lol) or you write some sort of broken half-baked solution for a message queue on top of Kafka. (Broken and half-baked because you're not going to achieve fault tolerance or consistency without re-implementing the storage layer.)

Now, you're just gonna say that "Kafka isn't a message queue". Well, I don't need half of a solution that isn't even a message queue. Nobody needs that.

comment 2y ago · link · parent

I don't see what ZMQ abstracts that you don't get in TCP already.

Is this all just about having a common cross-language API for TCP? Wasn't "BSD sockets" supposed to be that?

comment 2y ago · link · parent

Seems like a ./kafka-topic shell script is their "something automated".

[Pro tip: kafka is a piece of shit architecture and actually doesn't provide you with anything better.]

comment 2y ago · link · parent

No, the constant shilling of the idea that "don't worry, Russia won't do anything anyways" isn't coming from Russia's side.

comment 2y ago · link · parent

a) This isn't true, quite the opposite.

b) The shilling for "#yolo, let's start nuclear war with Russia" is a bad idea. Trust me. You don't want to go there.

comment 2y ago · link · parent

> There is a huge difference

Not to the advertiser, no.

comment 2y ago · link · parent

There is no dichotomy of "targeted" vs "content-related".

Advertisers want particular social groups. Large, well-defined ones. (E.g., "women with young kids and disposable income".)

What particular features you want in your ML model to get those groups is a technical implementation detail.

comment 2y ago · link · parent

Postgres doesn't do replication correctly.

Mongo does. (In fact, replication is about the only thing Mongo does correctly.)

If you actually want a replicated log then Mongo is a very good choice. Postgres isn't.

comment 2y ago · link · parent

Slack is a piece of shit software.

Sorry for being blunt. Yes, I will be that guy.

comment 2y ago · link · parent

It's easier to parallelize a flow graph than a sequential series of instructions. (This is why visual flow programming caught on in embedded hardware and IoT.)

comment 2y ago · link · parent

> Slack

Thanks but no thanks.

comment 2y ago · link · parent

Yes, they dispose of corpses on their garbage dump. (Every ant hill has a designated sanitation area.)

comment 2y ago · link · parent

It was likely an inflected language at the time it was spoken, and they just left the tedious grammar bits out when writing.

comment 2y ago · link · parent

Spoiler: all three options are actually the same option.

comment 2y ago · link · parent

If there was a good way to type of display them, then normal people would be typing them every day (say, pasting them into comment forms or whatever), and then we would need to have some standard for quoting them.

comment 2y ago · link · parent

> They just don't care about JavaScript.

Good. JavaScript sucks.

comment 2y ago · link · parent

> writing JSON parsers takes time

The promise of pure functional programming was to never write a 'JSON parser' by hand ever again. (Among other things.)

The paradigm failed because people in charge of Haskell and Elm and other similar languages failed at their job.

comment 2y ago · link · parent

There is no such thing as a "nix dependency", Nix builds everything from scratch. You yourself control the whole software supply chain.

[It's still not a completely fixed problem - Nix needs to finish their content-addressable scheme, and for that you need reproducible builds; this is a detail, though.]

comment 2y ago · link · parent

> I think Snap/Flatpak could probably be extended to cover most of the nix use cases.

Snap/Flatpak are broken by design, future tech won't need crutches like these.

comment 2y ago · link · parent

> want to have tools that work across different environments

Yes, exactly what Nix does.

comment 2y ago · link · parent

Development time.

"Parse API-produced JSON as a contract" is exactly the kind of programming problem pure functional languages were supposed to solve.

And we're building horrific and error-prone rube-goldberg machines to bolt onto our functional programming languages instead.

comment 2y ago · link · parent

Containers fix nothing, because inside your container is still a Linux distribution. (Often it's just Ubuntu, because why not.)

> the proper way to address this situation would be to compile static binaries

Nix is the proper way to address this. We'll get there eventually anyways, might as well bite the bullet now.

comment 2y ago · link · parent

Technically it can. In practice it is a massive overhead and defeats the purpose of using Elm in the first place.

Their solution is, uhm, to wait until JSON disappears and the problem fixes itself, I kid you not: https://gist.github.com/evancz/1c5f2cf34939336ecb79b97bb89d9...

comment 2y ago · link · parent

Don't care for legacy dying OS's, sorry.

comment 2y ago · link · parent

It boggles the mind that none of these "solutions" can parse JSON from an API endpoint, even after all these years. Consuming web API's is the whole reason Javascript exists in the first place!

comment 2y ago · link · parent

> Firefox breaks the monoculture

Not really as long as it is funded by Google.

comment 2y ago · link · parent

Clang isn't better. It just has a more permissive license so it's what Apple uses.

comment 2y ago · link · parent

He was involved in the AMQP mess, not in designing RabbitMQ.

comment 2y ago · link · parent

> RabbitMQ, ZeroMQ

There is literally nothing in common between RabbitMQ and ZeroMQ except for the two symbols 'MQ' in the name.

comment 2y ago · link · parent

They were, 16th century muskets aren't much better than bows and arrows.
1
585960
135