Miaou

joined 2 years ago
[–] Miaou@jlai.lu 34 points 1 year ago (6 children)

The amount of people nitpicking about the brand of pseudocode or arguing the question is tricky reminds me of some coworkers, and not the good kind.

If you belong to the above category, try to learn some new programming language / read about some algorithm descriptions (not implementation) and go out take some sun. The question is super intuitive if you're not stuck to a single paradigm or language.

[–] Miaou@jlai.lu 7 points 1 year ago (2 children)

I'll stop trying to learn your shitty language when the Finanzamt start communicating in English. Deal?

[–] Miaou@jlai.lu 11 points 1 year ago (2 children)

In case you're not joking, yes, the French are extremely formal, and starting any interaction without a "hi" will get you weird looks. Main reason Americans think the French are assholes, I guess

[–] Miaou@jlai.lu 2 points 1 year ago

I've dabbled a bit in learning Persian, and I've got the same impression.

[–] Miaou@jlai.lu 2 points 1 year ago (1 children)

Il y a beaucoup de différences entre l'anglais britannique et l'américain, je serais pas aussi catégorique là dessus!

[–] Miaou@jlai.lu -2 points 1 year ago (1 children)

I didn't bother reading much of your comment, but businesses obviously already need to detect which countries users come from. I'm sure you can come up with at least one reason on your own.

[–] Miaou@jlai.lu 1 points 1 year ago

Ça nous avait pourtant bien réussi, d'apaiser la Russie en leur laissant l'Autriche, puis la république Tchèque, et enfin la Pologne.

Ah merde attends je confonds quelque chose je crois.

[–] Miaou@jlai.lu 1 points 1 year ago (1 children)

Why would any of this have to do with elections?

[–] Miaou@jlai.lu 6 points 1 year ago (1 children)

Yup. Just moving between German and French websites can be a pain in the ass. Default filters in shops, prices with or without taxes displayed first for professional things, different menus etc. They can be different in the most subtle ways, which is way worse imo.

Don't get me started on websites who think they know better than you which website you'd like to visit. Stop redirecting me based on my IP or language settings! OK now I'm just venting sorry

[–] Miaou@jlai.lu 2 points 1 year ago* (last edited 1 year ago)

So this is solving the problem of reentrant deadlocks, with a non compile-time enforceable exclusion mechanism in the form of a threadkey.

It's quite different from solving deadlocks in general, and mostly moves the problem to getting the thread key. It's an interesting thought experiment, but unless I'm missing something else, it has no practical purpose over a try_lock.

But anyway, thanks for taking the time to explain, I should have read more carefully

[–] Miaou@jlai.lu 3 points 1 year ago (8 children)

"je ne voterai jamais pour la gauche française" sous-entend qu'il y a une gauche qui te plairait.

Dans le cas contraire, c'est bien que tu es de droite, et dans ce cas je comprends mal l'intérêt de ton premier commentaire. Les gens de droite ne votent pas à gauche, rien de bien nouveau.

[–] Miaou@jlai.lu 1 points 1 year ago (3 children)

I'm a bit confused by the need for the thread key. This makes me think I don't understand what problem this is supposed to solve. Does this crate do something more than what c++'s scoped lock offers?

view more: ‹ prev next ›