MurphyA/hacker-news huggingface dataset:
by jerf | 2025-07-21 12:50:11+00:00
XSLT is a bad programming language wrapped around XPath. I'd rather take any existing general purpose programming language, add an XPath library to it, and write anything I'd do in XSLT in a programming language where I don't have to wait until version 3.0 for, well, all this stuff: https://www.w3.org/TR/xslt-30/#whats-new-in-xslt3

And a lot of that "badness" is precisely that XSLT is a very closed, scarcity-minded language where basic library and language features have to be routed through a standards committee (you think it's hard to get a new function into Python's or Go's standard library?), when all you really need is an XPath library and any abundance-mindset language you can pick up, where if you need something like "regular expression" support you can just go get a library. Or literally anything else you may need to process an XML document, which is possibly anything. Which is why a general-purpose language is a good fit.

That "What's New In XSLT 3.0" is lunatic nonsense if you view it through the lens of being a programming language. What programming language gets associative arrays after 18 years? And another 8 years after that you still can't really count on that being available?

Programming languages tend to have either success feed success, or failure feed failure. Once one of those cascades start it's very difficult to escape from them. XSLT is pretty firmly in the latter camp, probably kept alive only by the fact it's a standard and that still matters to some people. It's frozen because effectively nobody cares, because it's frozen, because nobody cares.

I definitely recommend putting XPath in your toolbelt if you have to deal with XML at all though.
by logicalfails | 2025-07-21 12:51:42+00:00
That doesn't really prove that much. They only made 3 accounts on X, then with each account they followed the 4 major parties and their leaders. Not a very good sample size.

Additionally, the underlying algo could lean toward to what causes more engagement rather than equally tailoring each party. Without having any information personally about German politics or their cultural engagement with social media, I can only anecdotally say that in America, it appears to me that the ones most engaged with social media on X are more often than not right leaning. More of the left-leaning engagement seems increasingly moving towards other outlets, such as Bluesky.
by SweetHour | 2025-07-21 12:51:43+00:00
We’re excited to announce the launch of Unblur Video AI, the #1 AI-powered online tool to instantly fix blurry videos. With just one click, you can remove blurriness, enhance video quality, correct colors, and adjust brightness — all in your browser, no software needed. Whether you're restoring old memories or improving video content, Unblur Video AI makes it fast, easy, and accessible for everyone.
by practal | 2025-07-21 12:52:19+00:00
All the information you need to know about that article is right at the top of it [1]. I am very clear that this is a conversation with a Claude impersonation of Graham Priest, not Graham Priest himself.

I don't see what is unethical about that.

> Why should we find it interesting what any LLM has to say about your work, regardless of whose voice you dress it up as?

Who is "we"? I don't even know who you are, AbstractPlay. The article exists because I personally find it interesting, and I actually learnt something through it. If somebody else finds it interesting, great. If you don't, too bad. Thanks for letting me know either way.

[1] https://practal.com/press/cwgpaal/1
by aljgz | 2025-07-21 12:52:29+00:00
In the university, we had a team for ACM ICPC. We helped our professor organize a local competition, to encourage more people to practice. We participated in that competition, of course. One question would give you a few numbers no greater than 13, and you would output the number of ways to put N queens on the cheeseboard of those sizes. Not a difficult problem, but our first implementation, needed 2 minutes while time limit was 1 minute. We could optimize, but we decided to run it for all possible numbers, write a new program with just a switch-case. This was q perfectly legal move. We could see his face while judging our submission, his huge surprise when code ended in milliseconds, his look of admiration at us, the curiosity about the solution, and finally his reaction when he checked out our code. Priceless.
by blincoln | 2025-07-21 12:52:30+00:00
https://dynomight.net/img/colors/generate.html?inside=0000ff... is the one I was using.

https://dynomight.net/img/colors/generate.html?inside=0000ff... was suggested by another commenter.

But as I mentioned in a parallel thread, I think the effect is caused by an imperfect optical path. Without my contacts in, there's no purple ring.
by StrLght | 2025-07-21 12:53:23+00:00
No, I don't think so and I honestly don't see how this is relevant.

I am not saying that regulations are bad. It just that governments are accepting insane laws, and often they don't have mechanisms to undo what they've previously done. Or maybe they're not willing to use these mechanisms, it depends on the country.

This is just another example of that — law that sounds good on the paper and that doesn't make any sense in real life. I really doubt that mindlessly amending this regulation will make it better.
by nottorp | 2025-07-21 12:53:25+00:00
:)

I have a playstation 5 and i snagged a ps4 disc of cyberpunk 2077 from the bargain bin for next to nothing when it was the scandal of the day that it didn't really work on consoles.

CDProjekt Red being CDProjekt red, that gets me a full free upgrade to whatever the current version of the game is on ps5.

Damned if i'm playing that game without a mouse though. Unless they dumbed down the inventory to the point it's usable with the sticks since the last time i played.

Some games have "console dna". I wouldn't go near the PC version of Elden Ring or Death Stranding. But some have "pc dna". I don't think I want to try to play cyberpunk on a console. Not any of the acceptable to brilliant indies I bought, most of which aren't available on consoles.

Let's put it this way:

I'm going to play the games i please on the hardware i please to play them on. I will not build or buy a bling box that hovers above the ground from all the fans to be able to get 1400 fps at 12k resolution just so I can brag on Twitch.
by al_borland | 2025-07-21 12:53:40+00:00
Worse yet is when AI gives answer that are ads without knowing it.

Not long ago I asked ChatGPT for the best washing machines (or something). It gave me a list with a little information about each one. I then asked for its sources. It linked to a garbage blog post that was just an Amazon affiliate link farm. There was no research, no testing, nothing... just random links to try and generate a few cents per click. This is the "knowledge" we often get from AI, without knowing it.
by gomodon | 2025-07-21 12:54:29+00:00
Even worse, in practice you still often only get to use XSLT 1 and XPath 1, because that's what the common Open Source libraries (i.e. libxml/libxslt and Xalan) typically used to embed XSLT into Software support. (The existence of EXSLT should better be forgotten). For anything else, esp. dedicated standalone XSLT development, there is basically only saxon. I wish, there was better Open Source support for XSLT/XPath 2+ but i don't think it's likely to happen.
by throwaway287391 | 2025-07-21 12:54:44+00:00
"99.9% of our passengers don't break the rules, they don't get penalised. The 0.1% of the guys who delay the boarding process, the guys who are there delaying the departure of the aircraft because their bag doesn't fit in the overhead (cabin), they are going to pay and we're going to eliminate them."

Somehow I doubt the compliance rate is anywhere near 99.9% -- that's roughly 1 passenger breaking the rules every 5 flights? Would they really be investing so much (including having the CEO spend time on air to rant) in catching the delinquents if that's the scale of the problem?

As someone who mostly follows the rules, the thing that really bothers me about Ryanair and the like are, I'll get to the airport at least 2 hours early as I'm supposed to, and then there'll be a massive hour+ long check-in queue (which I have to wait in just to show my passport, even if I'm not checking bags, since online check in never seems to work when I need to enter passport info), and all the while they'll have staff shouting "Anyone going to <destination of flight that closes boarding in 20-30 minutes>?" and shepherding those passengers to the front of the queue. It irritates me to no end -- why the hell should I bother arriving early if I'm just going to be punished with a longer wait for it?
by DrScientist | 2025-07-21 12:55:07+00:00
The rich benefit most from a stable society and the rule of law though.

No point owning most of Mayfair if you don't feel safe enough to enjoy your lifestyle.

And it's not just funding the police and courts that leads to this - it's making sure there aren't too many desperate people with no hope. ie paying unemployment benefit so people can live while looking for work - is all part of that stable society from which everyone benefits - but particularly the rich as they have more to lose.
by bluGill | 2025-07-21 12:55:19+00:00
While not wrong, that is very misleading - for the vast majority we already get plenty of vitamin C in our diet and we don't have the specific situations where enormous doses will be effective.

At least vitamin C is water soluble: your body will almost always just pee out any extra quick so it is very hard to overdose. Those who have a kidney problem should check with a doctor, for the rest of us massive doses just make our pee more expensive.
by mft_ | 2025-07-21 12:55:25+00:00
I wish whatever they decide to do could be clear and fairly applied.

For example, there are plenty of stories on TikTok of travellers being penalised for bags which fit into the Ryanair sizing tool, but which bulge ever so slightly out on the open side. There are businesses now which cater to Ryanair’s specific regulations in response.

As a result, when I flew with them recently, I was careful (almost to the point of paranoia!) to meet their specifications; and yet many passengers on the same flight were egregiously breaching the sizing rules, and not a single person was challenged.
by retinaros | 2025-07-21 12:55:31+00:00
freedom of speech is above everything. France and Europe have been pushing narratives to hinder this under the premises of fighting evil (at the moment far right). first they wanted to track any cash usage to fight "terrorism" now they want to watch over social network and remove anonymity from the web. just like they cried over deepseek not talking about tiananmen they opressed people that criticized the left-leaning propaganda baked into the GPTs/Anthropic. in a few years we will have social points like china and those who disagree with left-leaning ideas and government interventionism will be reduced to silence or even jailed.
by JohnBooty | 2025-07-21 12:57:42+00:00
Sure, you can get 32GB of RAM for less than $100, but that's not the relevant thing to think about.

Think about it from another angle. RAM is expensive when you're talking about cloud infrastructure at scale.

Or, think about it this way.

For a given compute budget, I can run X instances of Rails, or X times Y instances of a framework that uses less RAM. 100 instances of Rails versus 300 instances of Express or whatever.

Now, it still might be worth it to run Rails, because developer time is more expensive than cloud infrastructure. Or maybe you don't really need to scale. Or you could skip the cloud infrastructure and go bare metal, which is what Basecamp does last I checked.
by bmf-san | 2025-07-21 12:57:50+00:00
What does your daily Git workflow look like?

I'm curious how other engineers manage their Git setup and workflows in practice. Specifically:

1. Primary Git client: Do you mostly use the CLI, a GUI tool, IDE integration, or custom scripts? And why?

2. Workflow shortcuts: Do you follow the classic `git add → commit → push` step-by-step, or do you bundle them into a single alias or script?

3. Interactive tasks: How do you handle more interactive tasks like staging hunks, resolving conflicts, or browsing history?

4. Alias and script maintenance: If you maintain custom aliases or functions, how do you keep them organized and shareable?

I’d love to hear what works for you (and what didn’t). Tools, habits, setups — anything goes!
by ants_everywhere | 2025-07-21 12:58:11+00:00
> So it cannot produce novel insights

You write as if this is your conclusion but it's really your premise.

> if it was only trained on papers supporting the dogma.

It's not, it's also trained on all the papers the authors of the current study read to make them think they should spend money researching fatty acid combustion in the brain.

> so that information is probably already in the training data.

Run an offline copy of Gemma with training cutoff before this study came out and it will also tell you about fatty acid combustion in the brain, with studies going back to the 60s and taking off around the 2000s or 2010s.
by ralferoo | 2025-07-21 12:58:20+00:00
Borg 1.x will still be fine for your needs, especially if you only have a single machine that you want to back up. The main advantage for Borg 2.x will bethat multiple machines can backup to the same repository and de-duplication will work across all of them.

There are plenty of storage server providers where you can get ssh access and 1-2TB for a few dollars per TB per month. You can run multiple repositories from a single server.

As the data is encrypted, even if the storage server is compromised, your data can't be read by others without the key.
by pm215 | 2025-07-21 12:58:38+00:00
I see that this article says they were already giving 1.50 euro bonuses for this; on the other hand this other article from just a few months back says they "categorically denied" paying commissions for oversized bag detection:

https://www.dublinlive.ie/lifestyle/travel/ryanair-set-recor...

O'Leary is on record as saying that this kind of "bad publicity" story is actually good for the business, because it builds up the Ryanair image that the base price of the tickets is extremely low and keeps them in the minds of potential customers. So I'm always a bit sceptical about how much this kind of story is real vs just a successful attempt to get their brand all across the news for a day...
by anarazel | 2025-07-21 12:59:34+00:00
> It also seemed to be calling fsync much more than once per transaction.

If it's called many more times than once per transaction the likely reason is that wal_buffers is sized small. Whenever generated WAL exceeds wal_buffers, postgres flushes the WAL, so it does not have to reopen the file later. At that point you already gotten most benefits from batching too.

Edit: A second reason is that data pages need to be written out due to cache pressure or such, and that requires the WAL to be flushed first.
Show HN: I made an Amazon Ads AI Agent that works in email/Slack
by arpit_bansal | 2025-07-21 12:59:35+00:00
Hey HN,

I built Cohesyve after years of wrestling with Amazon ads myself. Most PPC tools I tried made me spend even more time in dashboards I didn't want to be in—or kept their AI logic hidden. So I made something different:

- Works where you already are: Get real optimization suggestions via email or Slack (no extra logins) - Transparent: Explains every recommendation, not a black box - Actionable: Key suggestions you can approve/reject instantly - Agency- or solo-friendly: Manage one brand or many

You can run and review optimizations in your inbox—no need to touch a dashboard unless you want to.

Why share here? - I'm looking for honest, technical feedback from folks tired of fiddly SaaS tools - Would love to know where other tools let you down or what reporting/features are missing - Open to ideas/collaborations around automation or Amazon ads

Happy to answer questions and hear the blunt truth—what would make this genuinely useful for you?

Thanks!
by krisoft | 2025-07-21 12:59:50+00:00
It has nothing to do with the fuel cost. This is what ryanair's website says about oversized luggage: "Passengers who bring an oversize bag (over 55x40x20cm) to the boarding gate will either have their bag refused or, where available, placed in the hold of the aircraft for a fee of £/€ 70.00 - £/€ 75.00."

Ryanair earns every time they identify an oversized bag at the boarding gate. They just share some of that money with their staff.
by ben_w | 2025-07-21 13:00:00+00:00
While true, lots of people will tell you at length how much they don't trust the police.

Also, for police to function, each person cannot be sovereign over their home, they are under the authority of the state whose police force is allowed to break into their home. Same applies to nations: if there's a global peacekeeping corp, and it's allowed to go wherever with the full support of world governments, no government is sovereign over that corp. This may start out fine, but even then there's a danger of it quickly becoming a case of "who watches the watchers?"
by lelanthran | 2025-07-21 13:00:16+00:00
> Something that can go from a backend handlers straight to terse markup for reactive UI would be a massive simplification to all this, and a big productivity boost.

I do this for custom software I build for clients, mostly on the backend though[1]. Started it two years ago, have rapid velocity and, without AI generally take 30 to 60 minutes to implement a new feature that touches backend persistence and front end UI.

‐----------

[1] I did a show HN on a tiny front end component that gets the most use, recently, I think. ISTR most people in the comments said they they preferred React, a few said it was not novel enough to be a paper (they are correct. It isn't). You can see it here: https://github.com/lelanthran/ZjsComponent/

I'm not really in the mood to open up the whole stack I use yet, I still make money bu having a low effort way to build web apps, and due to the way it works it requires a fraction of the tokens required when actually using AI assist (output for the last time I implemented a backend call from scratch was 10 lines, most of which were comments).
by al_borland | 2025-07-21 13:01:05+00:00
Have you ever watched someone use Google? Most people look at and click on the sponsored links as if they are organic search results.

Product placement, especially without specific calls outs, are something subtle that most people don't notice. Something like the boxes of cereal sitting on the shelf in Seinfeld's kitchen. Are those ads, is it just set design? I don't really know.

There is also car choice in a movie or TV show. The studio isn't going to design and build an actual car just to avoid using a company's product. Which car do they pick and what does that communicate about the brand to the viewer. Is this an ad?
by sgarland | 2025-07-21 13:02:18+00:00
I’m positive you know this already, but for anyone else, this section [0] of the lddecode project has a wonderful example of all the visible and non-visible portions of an analog video signal.

The project as a whole is also utterly fascinating, if you find the idea of pulling an analog RF signal from a laser and then doing software ADC interesting.

[0]: https://github.com/happycube/ld-decode/wiki/ld-analyse#under...
by edvaldodfreitas | 2025-07-21 13:02:18+00:00
I'm part of the team at Kodus, and we're building a code review agent called Kody.

It runs directly on GitHub PRs and automatically comments with suggestions based on your team’s own patterns. Kody learns from what you usually accept or reject in reviews, so the feedback gets more aligned with your style over time.

You can also create custom rules to enforce the practices your team already follows, without relying on traditional linting or static analysis.

And if you want to go further, you can bring in external data through MCP — for example, pulling context from tools like Jira, Notion, or Playwright to make the suggestions even more relevant.

The goal is to speed up reviews without losing quality. If you want to give it a try: (https://kodus.io)
by Arch-TK | 2025-07-21 13:03:18+00:00
People are saying: "Oxygen is blue and that's why the sky is blue." Someone is replying: "The sky isn't blue because of the oxygen." You are then saying: "Well what if the people who are saying that the sky is blue because of oxygen are right."

Although it gets a bit more complicated, the statement `io_uring` is insecure might be true, that's not really in dispute here. The people who are saying it, aren't saying it because they know it to be true, they are saying it because they heard about security issues in the context of `io_uring` and assumed that using `io_uring` would make your code less secure.

This is incorrect, the security issues are in security features in Linux which have not been updated to handle `io_uring`. This means that your application won't be any less/more secure when using `io_uring`. But your system might be less secure if you have support for `io_uring` enabled and applications can make use of it.

Moreover, the "security issues" are only undoing security related hardening you would have put in place over the baseline, they're not putting you below baseline.

That's why a statement such as `io_uring` is insecure isn't very useful.

If these people make the argument that: "I don't want to use `io_uring` because that would mean that security conscious system administrators would not want to run my software as a precaution." then it would make sense and nobody would be disputing it.
by sergiolema | 2025-07-21 13:03:19+00:00
Is your LLM assistant more of a burden than a benefit?

Many developers, including me, have struggled with AI models that misinterpret simple requests or overwhelm us with unrelated code. It feels like they are always in a "junior developer" stage.

But what if the issue lies not with the LLM, but with how we communicate with it?
by notepad0x90 | 2025-07-21 13:03:36+00:00
I am not disagreeing, but it is a design fault if you continually end up having to choose between breaking or improving things.

When you have major platform updates like windows NT rewrite back in 2000, windows 8 and now windows 11, they're opportunities to shed legacy things. The choice should have been to keep supporting a long-term-stable version of windows for security fixes (like XP or Win7) and get rid of tech designed to support old software.

Their problem now is they want everyone to be on win10 and then win11 and then whatever they come up with, or else.

You can carry legacy dependencies with you to new major versions or you can support old versions for security fixes long-term.
by byroot | 2025-07-21 13:04:33+00:00
From: https://www.lemonde.fr/pixels/article/2025/02/07/le-parquet-...

Deepl translation of the relevant part:

> At the heart of this investigation lies a legal innovation. Mr. Bothorel's alert is largely based on a recent analysis published on February 6 by legal scholar and law professor Michel Séjean. In the specialist journal Dalloz, he argues that under French law, distorting the operation of a recommendation algorithm on a social network can be punishable by the same penalties as computer hacking. According to this analysis, manipulating a platform's algorithm without the users' knowledge would be punishable under Article 323-2 of the French Penal Code, which punishes “hindering or distorting the operation of an automated data processing system”.