Better HN
topnewbestaskshowjobs
Log inSign up

RandomThoughts3

1,515 karma · joined Jul 3, 2024 (2y ago) · 606 submissions

Submissions

comment 2y ago · link · parent

I think Python is entirely different and a perfect exemple of why popularity trumps quality. I can’t think of any domains where Python would be the better choice. It’s actually pretty bad all things being considered but well the ecosystem is okay and plenty of people know it so why not. JS is another great exemple of that.

comment 2y ago · link · parent

> it's coming from misunderstandings of what the language is

“You are just not holding it right.”

Rust borrow checker indeed does force you to make contorsion to keep it happy and will bite you if you fail to take its particularity into account. It’s all fine and proper if you think the trade-off regarding safety is worth it (and I think it is in some case) but pretending that’s not the case is just intentionally deluding yourself.

The people here implying that the BC forces you to use a good architecture are also deluding themselves by the way. It forces you to use an architecture that suits the limitations of the borrow checker. That’s pretty much it.

The fact that such delusions are so prevalent amongst part of the community is from my perspective the worst part of using Rust. The language itself is very much fine.

comment 2y ago · link · parent

Yes it’s one of those weird American things. Like being extremely worried about chicken meat because the conditions chicken are raised in are so awful you can’t trust it’s not contaminated.

I find it endlessly amusing that Americans are both extremely worried about food safety and apparently completely unable to pass reasonable food safety law.

comment 2y ago · link · parent

I will hasard that yes, they are against. The practice is barbaric. I still fail to see how it relates to their very valid comment that having your dogs buried next to you as their owner is fundamentaly different that having a burial for your dog.

comment 2y ago · link · parent

> What's the lesson for future leaders in tech companies?

The US judicial system makes as much sense as their tax code?

comment 2y ago · link · parent

I guess it’s also not worth it anymore. Engines seem to be quite good nowadays. I guess shifting the budget to assets makes a bigger difference.

comment 2y ago · link · parent

Then just use Ocaml or F#. You are welcome.

comment 2y ago · link · parent

Firstly is extremely expensive. To give you an idea, my 200Gb/month 5G uncapped speed plan costs me 14 euros a month here in France.

Amusingly this plan includes 40Gb/month in Germany at no additional costs which is much cheaper than a German plan.

comment 2y ago · link · parent

Everyone who has ever had to deal with food moths or weevils so many people I would guess. I also put it through the freezer before.

Air tight container is a game changer when it comes to properly storing dry goods for a long time.

comment 2y ago · link · parent

Could you explain more because the author passed away and left the solutions to the riddles in a notarised envelope to a close collaborator who worked on another part of the book so the hunt could live on - the solution is finally found by an unrelated party a whole decade later - doesn’t seem notably controversial to me?

comment 2y ago · link · parent

> The receiver can always make right.

Certainly but that’s hardly structs anymore. You are implicitly defining a binary format which is aligned on the sender memory layout then.

comment 2y ago · link · parent

RT is entirely about guarantee regarding response time. It is generally overall slower than non real time in basically any scenario where it doesn’t matter. Video games are purposefully written so as not to be latency critical so RT would be a net loss.

comment 2y ago · link · parent

> Uh, no, structs, records, whatever you want to call them

It's plenty clear from discussion context that OP is talking about C struct but yes, replace C with any languages which suit you. It will still be part of the language semantic and not an IPC specification.

The point is you can't generally use memory layout as an IPC protocol because you generally have no guarantee that it will be the same for all architectures.

comment 2y ago · link · parent

> That's very wrong. ASN.1 is complicated because it's quite complete by comparison to other syntaxes

So, it's quite complicated. Yes, what I have been saying from the start. If you start the conversation by "you can define a small subset of this terrible piece of technology which is bearable", it's going to be hard convincing people it's a good idea.

> Cavalier attitudes like "ASN.1 is too complicated" lead to bad results.

I merely say quite complicated not too complicated.

Still, ASN.1 is a telco protocol through and through. It shows everywhere: syntax, tooling. Honestly, I don't see any point in using it unless it's required by law or by contract (I had to, I will never again).

> but it's absolutely not inefficient unless you mean BER/DER/CER, but those are just _some_ of the encoding rules available for use with ASN.1.

Sorry, I'm glade to learn you can make ASN.1 efficient if you are a specialist and now what you are doing with the myriad available encodings. It's only inefficient in the way everyone use it.

comment 2y ago · link · parent

> The perceived complexity of ASN.1 comes from the schema language and specifications written in the convoluted telco/ITU-T style (and well, the 80's type system that has ~8 times two different types for “human readable string”).

I can’t resist pointing that it’s basically a longer way of saying quite complicated and not very efficient.

comment 2y ago · link · parent

Implying that the way Palestinian authorities use Sharia to persecute some minorities is not a dehumanisation of a group. That’s the truth. That’s not approving what Israel is doing either. Please don’t deform what’s being say to suit your agenda. It doesn’t help your argument.

comment 2y ago · link · parent

> And Hamas literally supports Nazis.

This is so stupid.

As a kind reminder, the Lehi itself tried to ally with the Nazis in 1940 to fight the British. Would you write that Israel supports Nazism because Shamir was president?

comment 2y ago · link · parent

Just to state the obvious as it seems it’s necessary Islam is 1400 years old. Despite what the Saudi would like you to believe, there is no such thing as a one and only heterodoxy that everyone agrees about and people have widely different relationship with the faith.

comment 2y ago · link · parent

I’m having trouble following what you mean.

Yes, you can certainly send a whole SQLite database using any binary communication protocol as a way to exchange data today. You can even compress it before if you feel like it.

It will not make for a good ipc format because, well, it’s not designed to be one but it would most definitely work.

What’s your point?

comment 2y ago · link · parent

Structs are a part of C semantic. They are not an ipc format. You can somewhat use them like one if you take a lot of precaution about how they are laid out in memory including padding and packing but it’s very brittle.

Asn.1 is both quite complicated and not very efficient.

They could certainly have gone with protobufs or another binary serialisation format but would it really be better than the current choice?

I don’t think the issue they are trying to solve is related to serialisation anyway. Seems to me they are unhappy about the bus part not the message format part.

comment 2y ago · link · parent

Varlink was specifically designed to be available as early as possible when the kernel is booting and requires virtually nothing apart from good old sockets. But yes, definitely getting yet another one vibe from this.

Then again, Dbus is not really what I would call an incredible piece of software - we are very much in the adequate territory if even - so anything shaking up the status quo can’t be too bad.

comment 2y ago · link · parent

To have the same build system for many languages with support for distributed artifacts caching and strong guarantees about build reproducibility if used correctly.

But yes, it’s like a lot of things whose need is born of scale. If you really needed it, it would be obvious to you and if you use it without needing it, it’s going to be painful and difficult to understand.

comment 2y ago · link · parent

By definition, you can’t build a parasocial relationship with an object. You could argue about parasocial attachment to characters I guess but even then I’m sceptical. I understand what you mean but parasocial is not the correct way to describe it.

comment 2y ago · link · parent

Benn Jordan made a video about midinous a year ago where he explains that the author, Nornec who is a music producer, liked Nodal so much but wanted improvements so direly they just learnt to program and developed modinous [1].

So yes, it’s completely inspired by nodal and the research papers which were published about it. It basically aims to be a better nodal in a lot of way. Also great origin story.

[1] https://m.youtube.com/watch?v=rtTWtzWav8I&t=770s&pp=2AGCBpAC...

1
91011
21