2) So arms manufacturers participating in a war (at best!) are now equivalent to.. gay establishments? I suggest thinking through your examples before sharing them :)
9,737 karma · joined July 2, 2011
All views are my own, etc.
* Homepage: https://assil.me
* Github: https://github.com/aksiksi
* Twitter: https://twitter.com/aksiksi
[ my public key: https://keybase.io/aksiksi; my proof: https://keybase.io/aksiksi/sigs/PhsFUqf4TTQdHrQvnrRhLU4bgilyPjSZjo5DQFHM9QU ]
2) So arms manufacturers participating in a war (at best!) are now equivalent to.. gay establishments? I suggest thinking through your examples before sharing them :)
But it is good to know that criminal assault is now equivalent to terrorism.
Oh, and don’t come crying when the same authoritarian laws put in place for Palestine Action are used to label your cause as terrorism to quash dissent.
On one side, two sovereign nations setting press restrictions in areas they control. Standard stuff.
On the other side, a genocidal state blockading a tiny strip of land for 20 years waging a campaign that has killed & maimed so many children that we have lost count unilaterally enforcing a total international media blackout. Also standard stuff.
Silly me, how could I even argue about this? It’s just so damn obvious! Sometimes, arguing with random anons on HN pays off :)
Let me reiterate: Ukraine is a sovereign nation with a sovereign military that has the ability to enforce restrictions within its own territory.
To bring your bad analogy more in line with reality on the ground, imagine if Ukraine was still part of/occupied by the USSR/Russia, and Russia enforced press restrictions across all of Ukrainian territory during a Ukrainian insurgency. However, in this theoretical USSR, Ukrainians did not get Soviet citizenship, and were under a total blockade.
> The only major difference is that Ukraine is >1000x larger, and has safe areas far from any fighting where such press restrictions aren't needed.
But Israel never allowed press into the strip, even during “ceasefire” periods - like right now! This implies that Israel is not somehow paternalistically concerned for press safety; it simply wants a media blackout.
So no, this “major difference” is irrelevant when comparing restrictions between the two conflicts.
1. Ukraine’s media restrictions are virtually non-existent when compared to those enforced by the Israelis in Gaza, including the intentional bombing of media offices. Keep in mind that Hamas has repeatedly called upon Israel to allow foreign press and NGOs to visit and see what’s happening on the ground.
2. The Ukraine war is a conventional war between sovereign nations with standing militaries with equivalent capabilities (air force, anti-air defenses, armored vehicles, bomb shelters, etc). The Gaza genocide is an onslaught by a sovereign nation with a well equipped military against a militant group in a dense urban area. Leveling entire city blocks when fighting against an opponent that has no air force or anti-air capabilities is not only unimpressive, but also breaks the principle of proportionality.
Regardless, the maintenance burden remains.
So it's ultimately a trade off rather than a strictly superior solution.
Also, nothing in Rust prevents you from doing the same thing. In fact, I would argue that Cargo makes this process easier.
Easier to lose context with longer comment chains...
Once setup, all you need to do is:
$ nix develop —-command hugo regenerate
$ # version is pinned by flake.lock
The beauty of this approach is that it extends to almost any CLI tool you can think of :)(1) the middle class (and above) who have money to spend on services
(2) the migrant working class, the bulk of whom send every last extra penny back home as remittances to support family
The second class of people are not considered as a market for the majority of services in the UAE. In the case of food, when they do eat out, they frequent traditional, low cost/quality establishments.
As for why a Big Mac costs that much, labor definitely doesn’t have much to do with it. My impression is that prices continued to get pushed up as long as sales didn’t take a hit, which means it’s mostly pure profit.
Keep in mind that the median salary isn’t that high. Without looking it up, I would guess it’s approx $25k USD/year, but I haven’t lived there in a while.
In the UAE, a Big Mac meal costs approximately 35 AED ($10). On the other hand, a manual car wash - approx. 1-2 hours of labor - can cost you around 20 AED.
In other words, you could get almost two manual car washes for the price of a Big Mac.
Is creating a TCP socket using stdlib functions unsafe? How about writing to a file? Or acquiring a mutex?
I would suggest doing some more reading before chiming in here :)
An Option type is a cleaner representation.
In general, I see two issues at play here:
1. C relies heavily on unsized pointers (vs. fat pointers), which is why strncpy_s had to "break" strncpy in order to improve bounds checks.
2. strncpy memory aliasing restrictions are not encoded in the API and can only be conveyed through docs. This is a footgun.
For (1), Rust APIs of this type operate on sized slices, or in the case of strings, string slices. Zig defines strings as sized byte slices.
For (2), Rust enforces this invariant via the borrow checker by disallowing (at compile-time) a shared slice reference that points to an overlapping mutable slice reference. In other words, an API like this is simply not possible to define in (safe) Rust, which means you (as the user) do not need to pore over the docs for each stdlib function you use looking for memory-related footguns.
As an aside, this is part of the reason why there are so many C successor languages: you can end up with undefined behavior if you don’t always carefully read the docs.