MurphyA/hacker-news huggingface dataset:
by lgleason | 2025-10-10 07:51:58+00:00
Reading the tea leaves, I think this incident may have more to do with politics than it being a real incident per se.

For the past 10 years the Ruby community had been co-opted by political activists. Things like COC's and the Contributor Covenant etc. started in the Ruby community. The activists went after many top contributors in the community because of personal political beliefs etc, instead of behavior in the community itself. Some even called for ejecting DHH, the creator of rails, and Matz, the creator of the language, from the community.

When the Overton window finally stopped shifting to the left and started to move right, a lot of people who had remained quiet due to real threats of loss of business, work etc. finally started to speak up. DHH was one of them and has been very outspoken with his beliefs that open source software should be a-political and open to all instead of the political purity tests the activists were pushing.

From what I observed, when I was in involved in the Ruby community, Arko appeared to be a political activist. While there may have been an actual security concern here, my guess is that this had more to do with a desire to not have someone who may have been involved in trying to eject the top creators in the community being a point of failure for key infrastructure for the Ruby ecosystem.
by rcxdude | 2025-10-10 07:52:15+00:00
If you're a normal market participant, HFT companies mainly make it harder for someone else to take more money off of the top of your underlying transaction (and you are, in general, going to be paying someone for that). HFT almost completely replaced hoards of the stereotypical wall street traders and I don't really see many people shedding tears for them.
by KeplerBoy | 2025-10-10 07:52:42+00:00
That's the thing with Python: A lot of things should be bound by all kinds of limitations, but are in practice often limited by the Python interpreter if not done carefully.

Fundamentally for example, if you're doing some operations on numpy arrays like: c = a + b * c, interpreted numpy will be slower than compiled numba or C++ just because an eager interpreter will never fuse those operations into an FMA.
by inkyoto | 2025-10-10 07:52:58+00:00
Other than the usual suspects being Lemurian and Atlantis civilizations from which everyone and everything have descended from, what actual evidence do we have for and against earlier writing systems?

Petroglyphs are not a form of writing, and the Kush tablet along with a few others are considered to be precursors of the proto-writing – at best.

So I reached for my trusted Ouija board to ask whether writing predates Sumer. It spelled, with unsettling clarity: «Y E S . B U R I E D . D E E P». Then it paused. «N O T Y E T M E A N T T O B E R E A D». Mysterious? Yes. Confirming? Not quite.
by alsiola | 2025-10-10 07:53:03+00:00
A concrete example then. Commonly want to prevent form submission default behaviour.

Vanilla

<script> const form = document.getElementById("form"); form.addEventListener("submit", event => event.preventDefault()) </script> <form id="form">...</form>

React

<form onSubmit={event => event.preventDefault()}>...</form>

Vue

<form @submit.prevent="onSubmit">...</form>

React's API has guided the developer to learn about events. If they move outside the React ecosystem they have transferable knowledge. As someone unfamiliar with React, but used to the DOM you're surely comfortable here. Yes, the syntax isn't identical to how you might use this in vanilla JS, but it's clearly the same concept. It's just been made a little nicer to use - the sugar.

Vue's API has reinvented the wheel. There's one place this syntax is useful and one place alone - Vue itself. It hasn't used my existing knowledge, or pushed me to become more familiar with the platform upon which I'm building. That's not sugar, that's a new language.

I've probably got the vanilla example wrong - when you don't do it frequently it's not the most ergonomic thing in the world. React takes that API, doesn't deviate far from it, and makes it easier to use. Sugar.
by jacquesm | 2025-10-10 07:54:22+00:00
That's an interesting point you are making there. The most common exploits are of the human variety. Even so it is probably a good idea to minimize the chances of all kinds of exploits. One other problem - pet peeve of mine - is that instead of giving people just security updates manufacturers will happily include a whole bunch of new and 'exciting' stuff in their updates that in turn will (1) introduce new security issues and (2) will inevitably try to extract more money from the updaters. This is extremely counterproductive.
by dvdkon | 2025-10-10 07:55:07+00:00
This is an interesting conclusion to a problem other countries are facing as well. The Czech Republic fully divided its railway infrastructure (under SŽ) and national train operator (ČD) sooner than most of the EU. SŽ being incompetent is a favourite topic of railway fans here, but most everyone agrees that this kind of split was for the best, at least for long-distance trains.

Pretty soon after the railways were opened to non-state operators, quality of long-distance train routes improved, both by new trains by private operators and increased competition forcing ČD to improve. On regional railways, where the state pays for train operations, costs have gone down thanks to competition. It seems to me like this model can work well, you just need an infrastructure operator that's receptive to its "customers" (which SŽ often isn't), or a political structure that can force them to listen.
by frm88 | 2025-10-10 07:55:29+00:00
Thank you for that link - I actually didn't find it. In my defense, I was at the dentist's and in a lot of pain, so no Google-fu left.

The preconditions are:

1. find at least 7 people who sign up for running this campaign with me 2. Plan and document how I want to run this campaign.

This will require some planning. I can get to it by the end of next week.
by kstenerud | 2025-10-10 07:55:31+00:00
Yup, unsigned math is just nasty.

Actually, unchecked math on an integer is going to be bad regardless of whether it's signed or unsigned. The difference is that with signed integers, your sanity check is simple and always the same and requires no thought for edge cases: `if(index < 0 || index > max)`. Plus ubsan, as mentioned above.

My policy is: Always use signed, unless you have a specific reason to use unsigned (such as memory addresses).
by thaumasiotes | 2025-10-10 07:55:44+00:00
A lot of Pompeii graffiti is the alphabet. For example: https://www.ancientgraffiti.org/Graffiti/graffito/AGP-EDR167...

21 letters.

It's post-3rd-century and includes the G; you might have remembered an accurate statistic ("20 or 21 letters") while forgetting to count your alphabet, which only contains 19 or 20.

K is barely used, but you wouldn't be able to argue that it wasn't used at all. It's used in "kal.", which you have to use when you're specifying a date.
by philipallstar | 2025-10-10 07:56:01+00:00
> which means that they are being paid approximately the same amount that their labor costs to produce

No, "living paycheck to paycheck" means you're spending everything you get each month. There can be all sorts of reasons for that.

> That makes their wages an exchange of equal value, and thus not profitable.

This is true for all profit. If you lend me money and profit off the interest, we've decided between us that the time value of that money is worth that interest, and so it's an exchange of equal value.
by mschuster91 | 2025-10-10 07:56:48+00:00
The GP is referring to the very early days of railway - only in 1840, the railway emergence led to standardized time [1] to make drafting timetables and schedules easier.

The benefits and downsides are something that we still experience two centuries later, all thanks to the railways.

[1] https://en.wikipedia.org/wiki/Railway_time
by xingwu82 | 2025-10-10 07:58:04+00:00
Discover Veo 3.1, the powerful text-to-video model from Google DeepMind, setting a new standard for generative content. Our platform leverages Veo 3’s state-of-the-art capabilities to instantly convert simple text prompts or reference images into stunning, high-definition videos. Key features include: Unmatched Realism: Superior physics, lighting, and lifelike human motion. Native Audio Generation: Perfectly synchronized sound effects, music, and dialogue. Cinematic Control: Precise control over camera shots, aspect ratios, and visual styles. Elevate your digital storytelling and production workflow with the industry's most advanced AI video engine. Start creating 4K-ready content that truly resonates.Key Features: Free AI Product Image Generator: Transform product descriptions into high-quality visuals instantly Professional Product Visualization: Create stunning product mockups for e-commerce, marketing, and presentations Text to Product Image Conversion: Simply describe your product and watch our AI generate realistic images Multiple Format Support: Generate images suitable for websites, social media, and print materials No Design Skills Required: User-friendly interface makes product image creation accessible to everyone Whether you're launching a new product, building an e-commerce store, or need quick product visualizations for marketing campaigns, our product to image converter delivers professional results in seconds. Join thousands of users who trust our AI image creator for their product visualization needs. Perfect for: E-commerce businesses, startups, marketers, designers, and anyone needing professional product images quickly and affordably. Start creating stunning product images today - completely free, no registration required!
by ZeroGravitas | 2025-10-10 07:58:23+00:00
I recommend McGill's Back Mechanic book, which is an end-user focused distillation of his academic work.

It suggests simple tests to discover exactly where your pain is coming from and then appropriate exercises to mechanically strengthen the right area and a few workarounds to avoid stressing that area in regular life e.g. alternate ways to pick up light items from the floor.

McGillcs big three are three simple exercises that are generally good for those with no patience for ordering a book and intros to them can be found all over YouTube.
by ludovicianul | 2025-10-10 07:58:27+00:00
Author here. It generates valid API requests based on your OpenAPI description. It also has generators that try to add meaningful values in the generated fields. You can do a simple run to see how it goes for your API on a single endpoint with the HappyPath playbook: `dochia test -c api.yaml -s http://localhost:8080 --path /test-path --playbook Happy`.
by VBprogrammer | 2025-10-10 07:59:05+00:00
Something which I only realised by watching a London Underground driver who was vlogging for a while (before he was asked to stop) is that, yes, the frequency of the trains is the main metric for customers.

However, once things go off schedule it can have pretty acute consequences for drivers and operational staff. The timetables are built around having drivers at specific places at specific times who will have required breaks at certain times and a maximum allowable working time. The rolling stock itself needs to be where it's needed as well, it's easy for it to get bunched up behind a track circuit failure etc.
by voidUpdate | 2025-10-10 07:59:06+00:00
This sort of thing really bugs me when I work with Unity and Unreal. Sometime the documentation for something is just so useless. A lot of the time when trying to understand Unreal nodes, the documentation page is just a picture of the node and the name of the node restated in slightly longer words, as if that helps anything. And so many times when I'm using Unity at £JOB, I just want to know how to use a function properly, and a short example would help so much. It's generally good but some pages just have nothing of value on them. If I could submit my own additions to the Unity docs pages, I would probably end up doing that
by 0xsn3k | 2025-10-10 07:59:43+00:00
personally, the evolution of replit makes me sad. i remember writing some of my very first ever programs in python using replit in middle school, as it wasn't blocked by the school network and it was the best way of running arbitrary code online back then. i used it to execute java code for AP computer science in high school, and i improved a ton at using the terminal as well. At some point, I stopped using the replit web editor and was coding by full-screening the built-in terminal and using vim. it was a formative experience and really helped me develop as a programmer even though all i had access to was a locked-down chromebook. but now, going back to the website and seeing the first thing it shows to you is how you can "build apps using AI", not even being able to even create an environment to run some python code without talking to an LLM, and the company focusing on ARR and becoming "AI-native" and creating value and all that jazz, and it feels like the magic of learning to code for the first time has been lost. luckily, kids these days are spoiled with webassembly and can run pretty much whatever they want in the browser, so i'm sure the next generation of young programmers will be alright
by NitpickLawyer | 2025-10-10 08:00:37+00:00
Since the title currently stands as "Add blog post about...", is it fair to say this was automated? If so did you automate the actual posting itself? That feels a little meh. I like this place because it offers the opportunity to talk to other humans about what they did. "I did a thing" is cool. "I did a thing and instructed my bot to post about it everywhere, and it did a poor job of the task" is pretty bad. If the automation can't even do the task it's supposed to do (i.e. find a proper title to a social post), what's to say about the automation talked about in the article?
by grues-dinner | 2025-10-10 08:00:51+00:00
In theory for something like a CE marked power adapter, a manufacturer should be prepared to be challenged on why they feel able to certify it. For example, they could present their testing certificates from some testing lab and show that they haven't changed anything that would materially affect the results.

I suspect that some manufacturers do not get challenged on that nearly as often as they should when they sell into channels like Temu and no-name importers. And so they can skate away with just not doing the certs, so they don't need to do the design work to meet them, and so they don't do it. If anyone asks, you just just don't sell to them.

Whereas if they sell, say, 500k units to Costco, they will be required to produce that paperwork because Costco is taking on the liability in the market and they can't just vamoose when something explodes.

It doesn't always work: things that have been "correctly" CE-marked sometimes do turn out to be unsafe and get recalled, but I suspect the real problems are things where the CE mark is fake and no one is stamping on heads in the way that UL does if you take their name in vain. Once it is known that testing and certification is statistically optional as long as you sell to the right channels, someone will do it unless they are stopped.
Show HN: An AI interface to zoom in and out of epubs
by kanodiaayush | 2025-10-10 08:02:30+00:00
Post ChatGPT, I found that I could turn passive chapters in books to summaries; but when I wanted to dive back in to them in parts where I found them interesting, I'd have to map from summary to source manually. Further, I couldn't switch to audio seamlessly.

This is an interface where you have on a chapter level, multiple levels of detailed summaries, bi directionally linked to source text on a paragraph level; the summaries are constrained to be linear/chronological as such. You can also switch to TTS anytime (and switch back to reading).

Please let me know if you find this useful, I personally really enjoy reading non fiction in this interface (sometimes fiction too).
by munchlax | 2025-10-10 08:02:50+00:00
If you have a class whose constructor depends on an instance of something else, you can instantiate that first and pass it on.

That's all there's to it.

You can do DI in your own startup code and have some logic in there that substitutes mocks when running under test. Or you could change the logging when debug is enabled. Hardly rocket science. If you can write code, you can write the startup code.

If your team likes patterns, dont mention dependency injection unless you're confident it wont get replaced with the framework of the day.

See https://www.jamesshore.com/v2/blog/2023/the-problem-with-dep...

Frameworks turn your DI code into highly complicated configuration. The end result is a giant lump of code whose only achievement is hiding the new operator and possibly also someones job security.
by mschuster91 | 2025-10-10 08:03:36+00:00
> On regional railways, where the state pays for train operations, costs have gone down thanks to competition.

German here. Yes, costs have gone down thanks to competition, but at what cost?

IMHO, the cost of "competition" on regionals has been massive. A lot of infrastructure has had to be rebuilt (e.g. maintenance shops), a huge expense and waste of space (think about how long a regional train is - easily 150 meters [1], which means the shop has to be at least that long). Some operators chose to run with old, run-down rolling stock or go for the absolutely cheapest options. Others, and that has happened at least twice in the last few years, calculate their offers to be barely profitable and then a crisis (Covid, Russian invasion and energy cost explosion) hits, forcing the companies into bankruptcy. Cleanliness of trains, regular expulsion of toilets takes a hit as that's a very easy way to save a few hundred euros. In the case of demand surges (e.g. soccer games, Oktoberfest, Karneval), there's no way to ad-hoc add rolling stock and drivers because there are no spares and modern rolling stock isn't compatible with anything other than its specific model and configuration.

And some regional tender processes have gotten even worse, where the state prescribes or outright buys the rolling stock... and suddenly the only way the providers can compete is staffing cost.

Thanks but no thanks, I'd rather like the old system back!

[1] https://de.wikipedia.org/wiki/Siemens_Desiro_HC
by jychang | 2025-10-10 08:04:01+00:00
You don't write for your median reader, you write for the vast majority of your readers.

That's a basic concept of writing. Journalism should be accessible, so even if you know what a database is and how to deploy it in different envs, you shouldn't write assuming that. If a large portion of your readers don't know what you're saying, you've failed as a writer. If your readership includes high school students, you write with that as the baseline.

Richard Feynman certainly didn't write as if he assumed the reader knew particle physics. Be like Richard Feynman.
by kortilla | 2025-10-10 08:04:38+00:00
>Indifference is acceptance of the status quo, though, yeah?

No, the world does not revolve around your pet problems.

I do not know the regional politics of Bulgaria and if people started spewing Bulgarian politics in my open source community, my lack of participation is not acceptance of the status quo. I don’t even know what the status quo is and there are just two sides screeching at each other.
by musebox35 | 2025-10-10 08:05:38+00:00
I think conceptually diataxis is brilliant. However, it is not trivial to implement. Every project needs a varying ratio of each component and stacking all forms in a single website in the same format is very ineffective. The ratio also evolves with community adoption and expertise level. I really wish it was simply more actionable. Documentation is a hard problem, maybe we will figure out a better way one day. Until then docs will only be as good as the amount of time and expertise spent on them, which is usually not as high as it should be due to resource constraints.
by 0xDEAFBEAD | 2025-10-10 08:05:57+00:00
>evolved

Yes, it evolved. It wasn't designed.

>Version numbers?

Without version numbers, it has to be backwards-compatible, making it difficult to remove cruft. What would programming be like if all the code you wrote needed to work as IBM mainframe assembly?

Tau is a good case study. Everyone seems to agree tau is better than pi. How much adoption has it seen? Is this what "heavy optimization" looks like?

It took hundreds of years for Arabic numerals to replace Roman numerals in Europe. A medieval mathematician could have truthfully said: "We've been using Roman numerals for hundreds of years; they work fine." That would've been stockholm syndrome. I get the same sense from your comment. Take a deep breath and watch this video: https://www.youtube.com/watch?v=KgzQuE1pR1w

>You're being facetious, right?

I'm being provocative. Not facetious. "Strong opinions, weakly held."
by MattPalmer1086 | 2025-10-10 08:06:05+00:00
"When I use a word,’ Humpty Dumpty said in rather a scornful tone, ‘it means just what I choose it to mean — neither more nor less.’

’The question is,’ said Alice, ‘whether you can make words mean so many different things.’

’The question is,’ said Humpty Dumpty, ‘which is to be master — that’s all."
by samus | 2025-10-10 08:06:29+00:00
What does that mean? A government agency can ask a company to do something. But unless there is legal force behind the order, it is nothing more than a request and can be ignored. In ambiguous cases the lawyers of each side will decide if they want to go to court over the matter. Eventually either the government will fold or the company will give in to the request. Until then it is a matter of opinion.

Of course the government could also exert other means to pressure the company or simply negotiate. But that's outside of the rule of law.
by mnky9800n | 2025-10-10 08:06:39+00:00
Delete Reddit account. Reddit is a cesspool of algorithmically delivered nothingness that’s just enough whatever you want without ever being enough of anything. Also delete twitch account too. You say they have useful information for programming and fitness. That is mostly besides the point. All that information is elsewhere and without the cost of endlessly scrolling that you want to stop paying.

Pick a hobby that is not connected to computers. For example I like to rebuild old bicycles.

Go for walks without a device. You don’t actually need a device with you for most of the days activities. Tell your gf you will be at the pub if she needs you. Walk to the park and sit on a bench and think your thoughts. Become comfortable with you.

Write your thoughts in a paper journal. Your thoughts don’t need to be broadcasted and they don’t need to be backed up to the cloud. But they likely need to be recorded as it helps to organise them.

Get a watch. You don’t need an 8 core 16 gb ram computer in your pocket to know the time.

Decide what you value and then make decisions based on those values.
by martindbp | 2025-10-10 08:07:59+00:00
What's different is that Meta has sold 20+ million headsets, and there is a decent sized user base, albeit much smaller than people expected 5 years ago. This is not a dead technology just because you don't use it. In 2023 Meta Quest had roughly 6.3 million monthly active users.

According to this, 1.63% of Steam MAU have a VR headset which translates to roughly 2 million MAU: https://store.steampowered.com/hwsurvey/Steam-Hardware-Softw...

So, in some sense not a lot, but it has a decent foothold of people using it often. It's clearly different from VR in the past where there were literally a handful or maybe on the order of hundreds of headsets in the world. VR now also has a ton of different niches and use cases beyond games. I also think a comparison with gaming console hardware is more apt than comparing it to something like PC or smartphone sales.