News for hackers. Stuff that matters.

mrcus

Re:Most of Europe is glowing pink under the aurora on Friday May 10, 2024 @07:05PM (#40324591)
Yeah, none of these other stories and photos are from reality
Yes, but this doesn’t prevent issues like the xz issue, where the code looks fine, but the build scripts alter it.
I am very concerned about Rust.

Rust’s “decision” to have a very slim standard library has advantages, but it severely amplifies some other issues. In Go, I have to pull in zero dependencies to make an HTTP request. In Rust, pulling reqwest pulls in at least 30 distinct packages (https://lib.rs/crates/reqwest). Date/time, “basic” base64, common hashing or checksums, etc, they all become supply chain vectors.

The Rust ecosystem’s collective refusal to land stable major versions is one of the amplifying issues. “Upgrade fatigue” hits me, at least. “Sure, upgrade ring to 0.17” (which is effectively the 16th major version). And because v0.X versions are usually incompatible, it’s not really possible to opt not to upgrade, because it only takes a short while before some other transitive dependency breaks because you are slow to upgrade. I recently spent a while writing my code to support running multiple versions of the `http` library, for example (which, to be fair, did just land version 1.0). My NATS library (https://lib.rs/crates/async-nats) is at version 34. My transitive base64 dependency is at version 22 (https://lib.rs/crates/base64).

This makes it nearly impossible for me to review these libraries and pin them, because if I pin [email protected], and bar needs [email protected], I just get both. bar can’t do =>0.41, because the point of the 0.X series is that it is not backwards compatible. It makes this process so time consuming that I expect people will either just stop (as if they did) reviewing their dependencies, or accept that they might have to reinvent everything from URL parsing to constructing http headers or doing CRC checks.

Combine this with a build- and compile-time system that allows completely arbitrary code execution, which is routinely just a wrapper for stuff like in the zx attack (look at a lot of the low-level libs you inevitably pull in). Sure, the build scripts and the macro system enables stuff like the amazing sqlx library, but said build and macro code is already so hard to read, it really takes proper wizardry to properly understand.

Re:Disneyland Shanghai shuts over COVID, visitors unable to leave on Wednesday November 02, 2022 @04:16AM (#33432646)
I suggest you read Amnesty’s report on the human rights situation in China and reevaluate your position: https://www.amnesty.org/en/location/asia-and-the-pacific/eas...
Re:Stranger Strings: An exploitable flaw in SQLite on Tuesday October 25, 2022 @12:48PM (#33333082)
“Program testing can be used to show the presence of bugs, but never to show their absence!”
Re:A Real World React – Htmx Port on Sunday October 16, 2022 @11:36AM (#33224391)
On a transatlantic flight I recently had the displeasure of browsing over a satellite connection. A lot of sites simply never loaded, even though the connection speed was reasonable. The multi-second latency made these sites that loaded tens to hundreds of resources completely unable to render a single character to screen.
Re:Aerc – a pretty good (terminal) email client on Tuesday October 11, 2022 @03:25PM (#33168030)
Why do you feel the need to bring this up?
Re:Amazon “suicide kits” have led to teen deaths on Sunday October 09, 2022 @01:08PM (#33143081)
This is a good example showing that all work is not removed by automating a task, such as selecting which products are related and displaying that on an online store’s product page. Some work may be removed, but new work is added to compensate for what the algorithms can not trivially do, such as considering whether the links between these products are ethical to present to users.

It seems to me that companies massively underestimate (or willingly don’t compensate for) the importance of this newly introduced work, only cashing in on the savings from the work removed. Other examples of similar behavior include automatic moderation, which also massively fails to remove actual dangerous content.

This kind of behavior looks like greed to me, but I guess it’s legal, and needs more regulation.

Re:Figma Alternatives on Friday September 16, 2022 @11:49AM (#32867800)
Genuinely asking: Do developers look at these styles as more than helpful tips? Surely these CSS/JS blobs that Figma outputs have to be correctly and carefully merged into the codebase?
Re:Webamp – Winamp 2 in the Browser on Friday September 16, 2022 @11:41AM (#32867643)
I think the correct response is that it really whips the llama’s ass.
Re:W3.css – A minimal alternative to Bootstrap on Wednesday September 14, 2022 @02:09AM (#32833797)
Most people seem to think w3schools has some form of association with the W3C. It is actually run by a small family company, Refsnes Data AS, from Sandnes, a depressing city on the western coast of Norway.
Re:The age of Scrum is over on Friday May 27, 2022 @03:54PM (#31534128)
Good questions. The usual answer is “because it’s a good staring point for teaching the team to talk and coordinate often”. As with most scrum ceremonies, the standup should probably be adapted to match the needs of the team. It doesn’t have to be a reporting circle where you tell your PM “what did you do, what will you do, what is blocking you”.

_edit_: Adapted or removed or reinvented.

Re:Eurovision Song Contest Bingo on Saturday May 14, 2022 @07:49PM (#31383848)
My bad. Great work by the Russian crew. Got my years mixed up, Norway won in ‘09, but hosted in ‘10.
Re:Eurovision Song Contest Bingo on Saturday May 14, 2022 @05:26PM (#31382693)
That’s from the Norwegian finals! The Norwegian Broadcasting Corporation has such an impressive and passionate technical crew, it is really fascinating how they manage to make truly world-class productions with a comparatively limited set of resources, both in terms of manpower and money.
Re:Apple Discontinues macOS Server on Thursday April 21, 2022 @06:20PM (#31115881)
They changed their charging port once since the release in 2007 and they made one other connector change (removing the headphone jack) during those 15 years.
Re:Google outage – resolved on Monday December 14, 2020 @07:16AM (#25416458)
Nope, especially considering the implications of this, with the amount of people working remotely. Google Meet, Classroom, etc. are down. This is probably literally costing billions every minute just in loss of productivity.