skysight-inc/HackerNews huggingface dataset:
You linked to a playground that's in debug mode. If that's what you're measuring, you're absolutely going to be much slower. You need to compile with optimizations.

Additionally, while I don't have the time to dig into the specifics of the assembly here, your Rust code doesn't do the exact same thing as the JavaScript code. valand's version is a more direct translation. While it appears you tried a few things to optimize the function in this Rust version, ..= can be a performance hazard in microbenchmarks like this. I have no idea if that's relevant, but it's a good example of why it's important to actually show your code, how you compiled and ran it, and how you tested it.

But disregarding that, I still don't see how you're getting 400 seconds. You said you're testing up to 50,000 primes. In the playground that shows 0.02 seconds for me in debug, and 0.00 seconds in release.
Tricking AI generated content detection
I'm curious if this will start changing developers' attitudes regarding supply-chain vetting.

My guess is that it won't for most, because convenience and expedience seem more rewarding than safety and diligence.
> I can explain why I mock it even when knowing it was real software SGI shipped with IRIX.

OK, please do.
There's an hypothesis for that!

https://en.wikipedia.org/wiki/Fuzzball_(string_theory)
I’ve noticed the code reader is worthless on even slightly out of date browsers now, and even on newer browsers it tends to choke and stutter on large files. Sad :( it used to be the best
Link: https://proton.me/support/mail-desktop-app
I suspect this is going to end all further sales of these trains outside of Poland. What railway will ever trust them again?
The article says

>It also sets rules that mean digital platform workers will be considered employees if at least two of the following five conditions are met:

>* If the employer caps worker payments;

>* If the employer supervises worker performance, directly or electronically;

>* If the employer has control over the distribution or allocation of tasks;

>* If the employer has control over working conditions and working hours;

>* If the employer limits discretion about how work is done, appearance, or conduct.

None of these are valid reasons to differentiate between "someone with 27 000 trips in 3 years" and "a student delivering food 3 hours a week to pay his friday night bar trip"
I wonder what changes in particular they had to make to ensure legal compliance.
How is telegram Electron if it's https://github.com/telegramdesktop/tdesktop C++/QT?
That can be done by some of the extensions like Intellisense in VS Code, but I think Copilot has access to wider range of data.
Well it's IRIX, so you'd just create a little bourne shell script in /etc/init.d, with symlinks from e.g. /etc/rc2.d to start/kill it on the respective run levels.

This was a pretty critical system though so why not just place this particular program inside /etc/inittab ?
Fair enough.. I actually use ternary sometimes, especially in brief return statements, and especially when both results are simple values. I only really avoid it when the result expressions are multiline. I just felt like pointing out the obvious when I saw GP's comment.
Once this is proven false, they will blame the devs, just like VW did.
I think, as a thought exercise, one can make the same argument about plastic. Even though it is cheap and there is demand it does not mean that it does not have also bad consequences (non biodegradable in that case).

In the fast fashion case the bad consequences would be slave labour and pollution (from materials and from transport) for garments that do not last (usually fast fashion refers to mediocre quality items), or that are returned immediately.
Sorry for the confusion, but you did indeed decipher my meaning (if-statements)! I agree that if-expressions are far more readable in languages that support them (Python and Haskell come to mind for me), even though they're arguably just syntactic sugar for the ternary operator.
Code is law. I welcome our new overlords.
The question to start with is whether the argument is worth having. Irrespective of whether you disagree with a person's outlook, their opinion is likely inconsequential and yields no relevant outcomes, and to argue is ultimately a time-killing indulgence.

It might be a blow to the ego, particularly since it diminishes the messaging that is marketed to us from various sources, exemplifying our importance and the need to purchase what they're selling to support that importance, but the reality is that most people are on the sidelines of any given subject, and their outlook doesn't serve any ends besides a momentary distraction (as a fan's opinion of football doesn't impact the outcome of any given game).
The Sea-Monster-Sized Ship Disrupting Wind-Energy Dreams
The official Ledger post is here: [1] and we have asked there: "If there would be a post-mortem". Personally I think companies such as Ledger should be very aware and active over supply chain attacks [2]. They are not the first and they are a security company.

[1] https://nitter.net/Ledger/status/1735291427100455293

[2] https://en.wikipedia.org/wiki/Supply_chain_attack
For a moment I thought you were talking about X11...
I am buying a farm in the farmer has an ancient police interceptor the seller drives around to remote spots... It just runs forever with little maintenance.
Big fan of the "feed" mentality over the checklist of things to read/consume. I have picked up a few RSS readers over the years, but haven't stuck with them. Who needs another inbox to manage? I'll definitely check out feedi!(https://github.com/facundoolano/feedi)
Distributed Inference and Fine-Tuning of Large Language Models over the Internet
Abstract

Large language models (LLMs) are useful in many NLP tasks and become more capable with size, with the best open-source models having over 50 billion parameters. However, using these 50B+ models requires high-end hardware, making them inaccessible to most researchers. In this work, we investigate methods for cost-efficient inference and fine-tuning of LLMs, comparing local and distributed strategies. We observe that a large enough model (50B+) can run efficiently even on geodistributed devices in a consumer-grade network. This could allow running LLM efficiently by pooling together idle compute resources of multiple research groups and volunteers. We address two open problems: (1) how to perform inference and fine-tuning reliably if any device can disconnect abruptly and (2) how to partition LLMs between devices with uneven hardware, joining and leaving at will. In order to do that, we develop special fault-tolerant inference algorithms and load-balancing protocols that automatically assign devices to maximize the total system throughput. We showcase these algorithms in Petals - a decentralized system that runs Llama 2 (70B) and BLOOM (176B) over the Internet up to 10x faster than offloading for interactive generation. We evaluate the performance of our system in simulated conditions and a real-world setup spanning two continents.
If you want to give it a try, Street Fighter 6 is really, really good. Aside from just being an amazingly well thought-out fighting game[1], it's also got a big player base so you'll have plenty of other noobs to play with in the ranked matchmaking mode, and the networking code is perfect[2] so you can just hop on and start having fun.

If you do decide to jump in, just remember that you will be terrible at the start. Everyone is. No, you don't have to understand frame data and have a bunch of sick combos and understand all of the mechanics to play online. Just hop in, the game will match you against players that are about at your level. SF6 is my first fighting game, I started at the very bottom of the ranked ladder (like literally, the very bottom) and now I've played more than 80 hours this year and I've just now started breaking into the "good" ranks (Platinum). In the lower ranks I had no combos and never used the super gauge at all and still won and had a great time. Don't stress too much about your rank, just think of it as a way to match you with good quality opponents.

Anyway. Can't recommend it highly enough.

[1] Here's a very in-depth overview: https://words.infil.net/w04-sf6review.html

[2] They use rollback networking, which is the gold standard for online multiplayer games https://arstechnica.com/gaming/2019/10/explaining-how-fighti...
I've been working with this stack (building Open Data Portals¹) for a few months and am super happy with how well everything plays together.

¹ https://github.com/davidgasquez/gitcoin-grants-data-portal
Yes, in the context of JSON handling by JavaScript. I meant string keys that can be interpreted as non-negative numbers. Those are traversed first, the rest of the keys are coming in insertion order. For example:

> JSON.stringify({'one': 1, '3': 3, 'two': 2, '2': 2, 'three': 3, '1': 1})
'{"1":1,"2":2,"3":3,"one":1,"two":2,"three":3}'
The problem with OKRs is that they are a religion. Once a metric is established it becomes a god to worship at the expense of all else, until the harmful effects of such single mindedness become painful enough that the old god is deposed and a new god put in its place. With the same myopic thought process. True leaders call this blindness "focusing on what's important".

Simplifying something as complex as an engineering team or a company down to a couple of variables cannot possibly model the real world. You can't say this out loud though, because this goes against established leadership culture. You can't be one of them philosophers. We've got to have achievable goals here!

Example: once upon a time a goal was instituted where tasks were supposed to be assigned to the engineer with the most experience in a particular area. Focus! Faster time to close a ticket! Happier engineers - they work on what they are good at!

See the problem yet? Meeting the goal actually made it so that there were a ton of bottlenecks. If an engineer was out sick the team lost an expert in a particular area. Engineers got bored working on the same thing day in and day out. And because the OKR killed knowledge transfer it became impossible to tackle a problem as a group.

And so the old metric was declared a problem and a new ridiculously limited model of the world was put in its place.
Take a look at TypeSense. Faster, better filtering, and much much cheaper if you’re going the cloud version
https://proton.me/support/export-emails-import-export-app
The link to the Basecamp article from several years ago should not be overlooked - https://basecamp.com/hill-charts

Hill charts are a great way to keep people informed about a project status. I think they make much more sense than estimates.
Outfit Anyone: Ultra-high quality virtual try-on for Any Clothing and Any Person
Out of interest what are the benefits of a hand sewn garment vs something that is tailored, but using machines?

Edit: not sure why I am being downvoted, genuinely curious if there is a material difference or if it is just the more ethical thing to support.
I've used a foldable laptop for a month, and I'm ready to return to a clamshell
I agree with you. In 1975, the janitor was an employee of a company whose premises they were cleaning. It was theoretically possible for the janitor to become CEO one day, or at least an executive. [1]

Today, the janitor probably works for a contractor hired by the company who bills them out at a multiple of what they actually get paid. They probably don't have very good benefits, are lucky if they can afford the health insurance offered, and probably can't really afford to contribute to a 401k.

I would much rather be a janitor in 1975 than 2023.

---

[1]: https://en.wikipedia.org/wiki/Richard_Monta%C3%B1ez
Debugging Rules
TL;DR:

* Polish train maintenance company, SPS, was getting suspicious as trains made by a company, Newag, kept on "randomly" breaking and couldn't be fixed. They was getting fined millions by Polish government as they had a contract that fined them for being too slow with repairs.

* They secretly hired literal hackers (Dragon Sector) for 2 months to dig around Newag train code.

* Hackers found out some incredible things, generally that fit under the umbrella of "late-stage capitalism", or more specifically, corporate protectionism, sabotage, ransom, etc.

Some examples of the secret code that the hackers found:

* Breaks the trains if they go into geo polygons that are right around the warehouses of 5 Polish train maintenance companies, including SPS.

* Breaks the trains after 1 million kilometers.

* Breaks the trains if they don't move for 10 days.

* Secret button press combination (basically Tekken, Street Fighter, etc.) to disable the "malfunctions".
Because more powerful entities might be enraged.
You're right.

Because no one can ever have an opinion that is opposite to you and your claims never require evidence to back them up.

Calling someone a troll, because you just throw out absurd claims expecting everyone to take your word for it - is quite arrogant.
The official Telegram client is Qt on Windows and Linux and AppKit on macOS, not Electron.
These ideas are a dime a dozen in pro sports. NBA were selling NFTs as "exclusive content" through Top Shot not long ago.

Anyway, this $3.99/mo stuff doesn't work outside of the VC-subsidized world where subscriber growth is more important than revenue. Getting sponsorship money and working with sports betting companies is where the money's at.
Harvard OBGYN Professor accused of inseminating patient with his own sperm
I returned to it because someone linked to it a few weeks ago.

It seemed to be far more vibrant for the communities I follow and had even exceeded Twitter activity in a few.

I think it seems to be settling in nicely. Since I started looking at it again they’ve added topics (name?) which should help traction a lot.

Ultimately I will probably delete Threads as well because I’m increasingly worried about the downsides of such a public and yet instant mass social network (if nothing else on my own mental wellbeing) but it seems to be doing pretty well.
Last time I tried this was only an option after setting up the apple 2FA. So you still need the iDevice even if you don't plan on actually using it. eWaste at its finest!
Theoretically, the recently-revealed prosecution started with notice of two crimes that include 0.5 to 8 years jail time.
For larger projects, even trivial bugs can waste an enormous amount of time, since the number of places they can hide is much larger, and fixing them may mean blocking other work. Means that at such a scale, optimizing for correctness at all times makes sense.

In a small project where bugs are easy to identify and tend to be an easy 10 minutes fix, foregoing the correctness tax and fixing bugs as they become apparent is the more economic choice.
This is definitely still possible. Saw a guy a year or two ago in a web scraping Discord who does this for fun and found all sorts of API keys. I think he found a 2captcha API key for an account with a 5 grand balance by spamming the search API endpoints. I hope he didn’t actually use any of that….

Pretty sure some people also made a fortune in crypto exchange API keys because I’ve seen threads where people advertise services to “cash out” Binance API keys for 5 cents in the dollar. I assume they use the balance in the account to inflate the price of some random coin that the attacker bought just before the attack. Yeah, that’s what this world is coming to.
My company has invested in moving to Azure except where we need to stay on Google. Apparently MS gave us a package on all of their products if we use Azure and it was enough to sway the execs.

We were then given the directive that everyone at my level would need to get some certifications so we could properly use Azure, assist the architects and more jr devs. It’s a good idea but my god the training is so poorly executed. I want to like Azure but it also seems like an uncoordinated mess.

Maybe I’m just a grumpy dev. Anyone else have a better and more positive perspective? Who has good training for certs such as the Data Engineer or AI Engineer?
6 Ways to run a Local LLM (a.k.a. How to Use HuggingFace)
This is really cool, nice work! How does this differ from Apollo Federation? I'm a bit confused here, because you have integrations with AF too - is this competitive, or is this a more vertically-integrated solution? Cheers!
LLMFarm – LLaMA and other large language models locally on iOS and macOS
It's a cool project but I do wish these open source processor initiatives targetted more realistic design points.

In particular there's often a desire to push out of order design into the micro-architecture where the resulting performance just doesn't justify it. In this they're achieving a CoreMark/MHz of 2.44 (from the paper here: https://upcommons.upc.edu/bitstream/handle/2117/384912/sarga...). This is very low performance (on a par with the Arm M0+). Now CoreMark certainly isn't the be all and end all of Benchmarks. In particular it has very little relevance to high performance compute or application cores in general. However it's a useful performance smoke test. It is easy to perform well e.g getting close to 1.0 IPC for a single issue design such as Sargantana, CoreMark doesn't really stress the memory system so a major source of stalls that you need to hide latency for just isn't there. So if you're not hitting that you've definitely got work to do on the microarchitecture. They may well have been better off trying to build something simpler and putting more design time into improving the performance of the basic microarchitecture.

The other crucial aspect that's often overlooked is verification. This is a major part of producing a new production quality CPU design and it doesn't appear to be discussed in the paper at all. Maybe once they've released the RTL they'll also release the testbench so you can see what they have done.
I don't think I understand. Isn't it enough that each tab is treated as a separate process, so the normal per-process OOM logic can decide to kill a tab process just like it might decide to kill, say, Thunderbird?
Ledger has been hacked so many times now i've lost count.

I remember buying one in 2019, and shortly thereafter all customer data was dumped on the internet endangering everyone who bought one.

Then after deep diving the tech i threw it in the trash, it seemed like security theatre product.

There's also been so many phishing attempts, fake ledgers sold, bricked ones losing funds, it's total shitshow that ecosystem if you check their subreddit going back in time.

The more you rely on 3. parties, and the more obfuscated your setup is, the more unsafe your data is. I just use isolated cheap laptops and encrypted usb's now.
> This is on the general topic of right to repair and freedom of fixing and so forth so naturally HN hates the train company.

Actually, the issue here is that the train company is on the wrong side of this issue.

> Further, if your company is financially liable for a product failure, and another company is not, that second company can totally fix it more cheaply than you can. As it's not their liability.

There are tons of cases where the repairer, not the OEM is held liable. The manufacturer is at fault for the defective parts/product. The repairer is liable for a defective repair. Courts have been sorting this kind of thing out for centuries and it's not a difficult thing to deal with.

> "we want to use this cheaper repair shop, and it's now our problem when the budget train fix kills people" - that seems totally legitimate to me.

Except that really isn't the case at all, and hasn't been the case. If the repairer does not do the repair correctly, the repairer is liable, not the manufacturer. Most mechanical shops even carry insurance and offer their own warranties on their work. Most cities (and hopefully consumers) will only do business with repair shops that are insured for this exact reason.

> Say Tesla made all reasonable steps they could take to detect third party mods and refuse to start the car, do we hate them too?

Yes. It is not their car. It is my car.

Ford is not liable if that variable geometry camshaft I installed in my Mustang causes the engine to blow, killing six people with shrapnel. I would be liable for that. Why should Tesla be liable for someone hacking the software? The issue here is the world doesn't work the way you are describing, where manufacturers are held liable for the work of third parties. Tesla is held liable for their own warranties and laws applying to product safety.
NPM forces 2fa, so I’m curious what the scenario was here. Was a committers phone compromised?
Basically yes. Angular momentum is conserved so real black holes either receive angular momentum from the stuff they ingest or inherit it from the remnants of the originating star. Not so sure of possible micro black holes.
Yeah, I'm struggling to make sense of this too. Is the point of the hill chart simply to identify the amount of uncertainty/risk associated with a KR?
When I got a part time job teaching at a local community college, I was presented with this oath to sign. (This was pre-Internet). I told them that I had never read the CA State constitution. I signed it anyway, and then went to the library to find it and read it.

It's 100+ pages long. I can be pretty sore that the majorty of people who signed this oath never read it.

https://leginfo.legislature.ca.gov/faces/codesTOCSelected.xh...
One of my favorite scenes is when the protagonist is in the airplane looking down at the city, and the buildings warp into computer chips and circuitry. This fits well with the idea that what we're seeing is more about the feeling that the characters are experiencing rather than what's actually on their screen.
I think I follow the gist of what you're talking about and it doesn't sound all that advanced at all. Deliberately missing out getting blocked to make the opponent think they have an opening is not a particularly high level play in other games. It still baffles me that traditional 2D fighting games and Tekken in particular are so complex and that it is so hard to even pull off a specific move due to control schemes that are maximally unergonomic.

Compare this with the simplicity of Mount & Blade Warband which achieves greater depth, in 3D, with a very simple and intuitive control scheme.
It was a heavily queer-coded book. And if you read Figuring by Maria Popova you'll learn the reason behind the illustrious dedication to Nathaniel Hawthorne. It is quite fascinating in this regard!
This is current requirements for Talon in Wayland
https://github.com/splondike/wayland-accessibility-notes/blo...

Getting there but they need a bit of help if anyone is looking to contribute to an accessibility project.
Thanks, edited!

I must admit it / its performance feels very "webby"
> Immediate Reaction: Um, yes? Only the naive, self-deluding, and techno-utopians would have expected otherwise. Vs. an experienced teller from a well-run 1950's podunk bank could tell you that no security technology is worth crap if the managers don't actually care, or are crooked themselves.

If one isn't trained as (or thinking as) a scientist, then I think it's easy to miss the importance of documenting expected results. One shouldn't believe a conclusion, even an expected and obvious conclusion, without data supporting it. This makes gathering data to support expected results a valuable process, and one that should be recognized.

(For example, in this particular context, if one wants to argue against police claims that body-cams offer sufficient accountability, being able to argue from specific cases where the accountability has been subverted is much more likely to be useful than arguing from a general feeling that they won't be used properly.)
The new UX does a really bad job of helping you realize when you're logged out and search results are being suppressed. It very much implies "zero results" when in fact it means to say "zero results, except in code, where there might be results, but you need to log in first to find out".