Hacker News new | past | comments | ask | show | jobs | submit | jsmith99's comments login

It’s very hard to compete on quality in leather bags without a reputation and a good bricks and mortar network because online customers have no way to tell the quality and even in person customers probably lack the knowledge - so from the producers perspective why bother spending more?

Many bundlers output module format - it makes features like code splitting (chunking into separate files) convenient.

ES modules mean you don't need to bundle your code; you just include your index.js in HTML, and all 30,000 JS files of your project come to the user's browser without trouble or delay (let's wish them luck, lol). Since you're bundling, it doesn't matter which module type you use; CJS has worked with code splitting perfectly for over 10 years. However, it's a pain every time you try to import a CJS library in your ESM or vice versa. The truth is, you can't just drop all legacy CJS packages in most real-world projects.

> “all 30,000 JS files of your project come to the user's browser without trouble or delay (let's wish them luck, lol)”

If only there was something in the HTTP protocol to make it more efficient to load multiple requests from the same server. Alas that must be a pipe dream, and every little image and script is loaded separately.

Oh wait, it’s not 1996 anymore…?


Oh, tell me how your browser will load all files simultaneously when your dependency tree looks like A->B->C->D->E->...

I hear there's this new HTTP 2 spec that might be able to do something like that... but obviously we need to wait on browser support

/s


I wonder if trying to account for that would make you look even more risky/fraudulent. Eg you access the bank portal from a US address but at similar time you physically use the card in Europe.


The weirdest thing about this bizarre comment is the suggestion that rabbis have any influence on the Israeli army.


What do you mean, "bizarre"?

It's well known that the IDF refuses to use dismounted infantry to protect their wagons, and that they've turned cities into rubble and given themselves some of the same kind of problems that the Nazis had in Stalingrad.

https://www.idf.il/en/mini-sites/military-rabbinate/

You'll also find interesting stories in israeli papers. Rabbis are important to the IDF because the state it is part of is based on religious convictions, and quite often there is no other justification for what they do.


The attacker changed the projects contact details at oss fuzz (an automated detection tool). There’s an interesting discussion as to whether that would have picked up the vulnerability https://github.com/google/oss-fuzz/issues/11760


I work on oss-fuzz.

I don't think it's plausible OSS-Fuzz could have found this. The backdoor required a build configuration that was not used in OSS-Fuzz.

I'm guessing "Jia Tan" knew this and made changes to XZ's use of OSS-Fuzz for the purposes of cementing their position as the new maintainer of XZ, rather than out of worry OSS-Fuzz would find the backdoor as people have speculated.


How many oss-fuzz packages have a Dockerfile that runs apt-get install liblzma-dev first?

Had this not been discovered, the backdoored version of xz could have eventually ended up in the ubuntu version oss-fuzz uses for its docker image - and linked into all those packages being tested as well.

Except now there's an explanation if fuzzing starts to fail - honggfuzz uses -fsanitize which is incompatible with xz's use of ifunc, so any package that depends on it should rebuild xz from source with --disable-ifunc instead of using the binary package.


This is interesting, but do you think this would have aroused enough suspicion to find the backdoor (after every Ubuntu user was owned by it)? I don't see why this is the case. It wasn't a secret that ifuncs were being used in XZ.

And if that's the case, it was sloppy of "Jia" to disable it in OSS-Fuzz and not do this:

``` __attribute__((__used__,__no_sanitize_address__)) ```

to the XZ source code to fix the false positive and turn off the compilation warning, no attention would have been drawn to this at all since no one would have to change their build script.

With or without this PR, it's very unlikely OSS-Fuzz would have found the bug. OSS-Fuzz also happens to be on Ubuntu 20. I'm not very familiar with Ubuntu release cycles, but I think it would have been a very long time before backdoored packages made their way into Ubuntu 20.


That's a fascinating extra detail. They really tried to cover all their bases.

There's some plausible evidence here that they may've tried to use alter egos to encourage Debian to update the package: https://twitter.com/f0wlsec/status/1773824841331740708


> It's not just good, it's way faster than the bloated alternatives.

I use Faststone, what am I missing?


Article says: ‘Chess-GPT also played chess well, with the best model playing at approximately 1500 Elo.’

So I’m guessing this wasn’t full strength stockfish.


The previous blog post [0] mentioned they were using stockfish with 0.1 seconds per move.

[0] https://adamkarvonen.github.io/machine_learning/2024/01/03/c...


It notes in the blog post that it was SF level 0.


This is what a TPM is designed to prevent, but they’re not very popular in Linux community.


This macOS version only supports models since 2017-19 (depending on product line). Apple don’t really have an excuse compared to Microsoft since they only have a few hardware options.

It’s amusing to compare the comments here to the comments on windows update threads. As nobody else has, let me add the reminder for everyone to switch to <different OS>.


Let’s be clear. 2017 is SEVEN years ago. Things could be far worse.


Seven years is nothing.

Appart from my 2y old corporate laptop the newest machine in my household is a lenovo Yoga X390 from 2019, nearly 5 year old. everything else is between 6 to 15 years old and they are all running a supported OS.

Also release date != purchase date.


Let's be clear. The Apple premium is LARGE. You expect more from them than any other computer company.


I’m surprised at the poor performance of python here. For reference there are several very brief R examples which are just 2-3 seconds. Eg http://blog.schochastics.net/posts/2024-01-08_one-billion-ro...


Are you talking about the 2nd table in the Benchmark section?

It seems they are not running against the full dataset:

> Moving on to the 100 million file to see if size makes a difference.

  ggplot2::autoplot(reorderMicrobenchmarkResults(bench1e8))
One would also have to run both approaches on the same hardware for a meaningful comparison?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: