MurphyA/hacker-news huggingface dataset:
by socalgal2 | 2025-05-17 12:39:00+00:00
Variety is good! The fact the USA only has Mastercard and Visa and that they've colluded to keep all other forms of payments out is why their fees aren't lower.

https://www.justice.gov/archives/opa/pr/justice-department-s...

Japan has competition in payment systems. Paypay, D-Pay, Meri-pay, Line Pay, Rakuten Pay, etc... Each tries to entice both customers and retailers by offering discounts and bonuses.

Also I'm happy to pay cash as it's private.
by southernplaces7 | 2025-05-17 12:39:25+00:00
This kind of moral absolutism heavily breaks down the ability to form a reasoned historical analysis, or give consideration to context. By the standards of its time, the classical period Roman state often showed a remarkable degree of humane consideration to its subjects. If it was also often despotic and cruel, this stands out partly because the more sophisticated elements of that society made it so. Your average nation during classical antiquity on the other hand, could be much worse.

For example, by any modern ethical standards, an emperor like Marcus Aurelius, or his mentor Antoninus Pious would be considered slaving, war-making monsters, but in the context of Rome and most rulers of Rome's time, they were remarkable paragons of forbearance and ethical nuance, and given the context of their upbringing, this makes them remarkable leaders, not just something so simplistic as cruel war mongers.

By the implicit logic you use, we should disregard the vast majority of major figures, systems and philosophies that have ever existed because they lacked the magical foresight of first having also developed our exact modern ethics (which in any case are often broken today by many respected leaders).

Also, please, there's no comparing the truly deliberate monstrosity of the Nazis to the practices of the Romans. Rome never developed intentional industrial extermination of human lives as a deliberate state policy. The Nazis did, and worse still, did so despite millennia of philosophical moral development being available to guide them otherwise.
by kdmtctl | 2025-05-17 12:39:40+00:00
Copilot has it in preview. I found it looks deeper on devops tasks in the Agent mode. But context matters, you should include everything and it will push. Now I switch between Cloude and Gemini when one of them starts going circles. Gemini certainly could have more context but Copilot clearly limits it. Didn't try with Studio key though, only default settings.
by Agraillo | 2025-05-17 12:39:52+00:00
The programming languages are more predictable than human. So the rules are much easier to be "compressed" after they're basically detected when fed with big data. Your two examples imho are easily interchangeable during follow-up conversation with a decent LLM. Tested this with the following prompt and fed a c fragment and an SQL-fragment, got in both cases something like your first one

> Please convert the following fragment of a programming language (auto-detect) into a json-like parsing information when language construct is represented like an object, fixed branches are represented like properties and iterative clauses (statement list for example) as array.
by priceofmemory | 2025-05-17 12:40:32+00:00
That sounds very similar to my AI vibe writing process. Start with chapter outlines, then ask AI to fill in the details for each scene. Then ask AI to point out any plot holes or areas for improvement in the chapter (with relation to other chapters). Then go through chapter by chapter for a second rewrite doing the same thing. At ~100k words for a fan-fiction novel but expect to be at about 120k words after this latest rewrite.

https://frypatch.github.io/The-Price-of-Remembering/
by znpy | 2025-05-17 12:40:36+00:00
> The downside is that you sacrifice a lot of the benefits of guard rails of the language and tooling for what may not end up being much savings, depending on your workload.

I think that's mostly done in organisation where there's time, budget and willingness to optimize as far as possible.

Sacrificing the guardrails doesn't make sense for the "general public" software but does tremendous sense in environment where latency is critical and the scale is massive. But then again, in those environments there are people handsomely paid to have a thorough understanding of the software and keep it working (making updates, implementing features etc).

I worked on a software that was written to be garbage-free whenever it could. Latency (server-side latency, i mean) in production (so real-world use case, not synthetic benchmark) was about 7-8 microseconds per request (p99.9) and STW garbage collection was at around 5msec (G1GC, p50, mostly young generation) or ~40 msec (p99.9, full gc) and was later lowered to ~800-900 microseconds with ZGC.

I know it might sound elitist but the real difference here are... Skill issues. Some people will just shun java down and yap about rewriting in rust or something like that, while some other people will benefit from the already existing Java ecosystem (and tooling) and optimize what they need to get the speed they're targeting.

I know I'll be downvoted by the rust evangelism task force, but meh.
by losvedir | 2025-05-17 12:41:20+00:00
Growing up I always thought a sonic boom was something that happened once when you broke the speed of sound.

I now understand that's not the case, but still don't quite know what it is. I think a supersonic aircraft is constantly "dragging" a boom behind it. So when it passes overhead sometime later you'll hear a boom. Is that right? Does that mean you'll see a plane flying overhead, hear the normal drone associated with it, but at one particular moment here a distinctly louder but shorter noise?

And is this a real thing that can be done? How do you make the sonic boom go away? As someone who lives where planes are flying overhead constantly, can it be used to make non-supersonic planes quieter, too?
by dylan604 | 2025-05-17 12:42:47+00:00
What you describe is exactly how I felt about regular broadcast/cable. What you wanted to watch when you had time to watch might not have been on, so you channel surf until you find something. Maybe it was something you found interesting, or maybe you just got tired of surfing and just left it on whatever pissed you off the least. Very similar to doom scrolling a streaming platform’s listings where you realize you’ve just spent 15 minutes looking at the menu but not actually watching anything.
by immibis | 2025-05-17 12:43:43+00:00
This ignores that the deposit is also money.

Yes, stacking money is based on trust. Realistically, a 6-month $101 government bond which costs $99 should be valued about $100, and a bank deposit stacked on $101 of government bonds should be worth about $100, as long as trust in those continues to hold. And this sort of thing does happen in cryptocurrency systems. Stablecoins generally trade for a fraction of a cent less than their corresponding fiat currency. Bonds may trade for more, if the promise of interest is accepted, but less than their redemption value.
by socalgal2 | 2025-05-17 12:43:48+00:00
> You want people with similar tasks who need to communicate the most be closer together.

I'd shorten that to "You want people who need to communicate the most be closer together."

The worst thing to ever happen at a video game company I worked at was when they separated the art department from the programming department. Artist needed to communicate with programmers and visa versa to make the best product. Instead they got siloed by department and the communication went south. Programmers didn't easily learn pain points and needs of artists and artists didn't learn how to use the latest features because communication became harder
by mongol | 2025-05-17 12:44:40+00:00
I actually walked out of it. I was not alone, several others did before me.

I saw it without knowing what it was about, it was a summer evening, I was alone and just decided to see a movie as I passed the theatre.

When I came home and learned it was the same director as the Thin Red Line, I was blown away. Same director of both the best and the worst movie I have seen.
by fcoury | 2025-05-17 12:45:58+00:00
I upgraded to Pro just because of Codex and I am really not impressed. Granted, I am using rust so that may be the issue (or skill issue on my end too).

One of the things I am constantly struggling with is that the containers they use are having issues to fetch anything from the internet:

error: failed to get `anyhow` as a dependency of package `yawl-core v0.1.0 (/wor kspace/yawl/core)` Caused by: download of config.json failed Caused by: failed to download from `https://index.crates.io/config.json` Caused by: [7] Could not connect to server (Failed to connect to proxy port 8080 after 30 65 ms: Could not connect to server)

Hopefully they fix this and it gets better with time, but I am not going to renew past this month otherwise.
by norome | 2025-05-17 12:46:06+00:00
I don't think the claim is that it enhances human freedom necessarily, rather: by giving more freedom to i.e. set prices than people will use their particular knowledge of their area of concern to set those prices correctly.

It does coincidentally align with John Stuart Mill's reasoning for why Liberty is fundamentally necessary: that only at the level of the individual is it possible to know what is good and right for that individual.
by akrylov | 2025-05-17 12:46:16+00:00
Terraform and Ansible are powerful tools for infrastructure automation, but they fall short in handling complex, long-running workflows, state management, and fault tolerance. Modern DevOps tooling often struggles with scalability, error recovery, and dynamic orchestration across distributed systems. A workflow engine addresses these gaps by providing robust orchestration, retries, checkpointing, and multi-tool integration, making it a prerequisite for scaling operations in dynamic, cloud-native environments.
by lsaferite | 2025-05-17 12:46:28+00:00
The lack of some form of session setup process in the core protocol (not the current 'session' setup that negotiates the protocol) is certainly a PITA. I've been working on using MCP in a multi-tenant setup and it basically means I can't use any MCP Server as delivered at this point. Conceptually MCP is great. In certain single-user scenarios it is great. I think it'll eventually be great for me once the use case of "multi-tenant gateway service" becomes feasible.
by jethkl | 2025-05-17 12:48:35+00:00
how helpful was ai for this? The paper is light on details, but it says the agent was used to generate a kind of seed set (rank-1 bilinear products) that were then fed into the subsequent steps. Evidently this idea succeeded. Curious if anyone here has insight into if this is a common technique, how this agent's output would compare to random or a simple heuristic that attempts the same. Also interested to see how the training objective gets defined since the final task is a couple of steps downstream from what the agent generates.
by drakonka | 2025-05-17 12:49:11+00:00
This rings true for me. I still write a lot on my personal blog and still use writing as a way to process and solidify my learnings, but as I outsource more to LLMs during the process of writing (e.g., helping me find a source or something, or have it explain a topic to me instead of googling for an answer from multiple channels), I can feel my brain getting more sluggish. I think this is impacting not just my creative thinking and problem solving when learning something, but also how I form those thoughts into language. It's so hard to put a finger on exactly what the concrete factors are, but I can feel the change.
by immibis | 2025-05-17 12:49:13+00:00
I start by looking at the map. I go in the direction of the place I want to be. If I want to know the technically fastest route then I let my device calculate that. I don't always take that route. It's an assistant, not a boss. It's more interesting to walk down different streets sometimes. (And while I'm preaching to Americans, it's also good to walk down streets sometimes. It breaks away a few layers of abstraction that you have when driving.)

Looking at the map actually helps you learn the city layout. As of right now (literally as I'm typing this) the train was delayed, so I chose to get off at the next big station before everyone crowds on, and walk the rest of the way. I can do this without checking a map because I know where it is and where I am, because I don't let the machine think for me.

I don't drive (non-car-worshipping cities are amazing) but I do this when walking and also with train routes. I don't memorize the bus routes, since the train is better and has fewer routes, so I also sometimes ask my device for a route if I think there's a faster bus route than train (usually not the case).
by freeone3000 | 2025-05-17 12:49:29+00:00
When a boat goes faster than water, it makes water waves. When a plane goes faster than air, it makes air-waves. When a plane goes faster than sound, it makes sound-waves.

It’s lightning/thunder: you will be able to see the plane, and then after a bit, hear the boom. You won’t be able to hear other plane noise, all of the combined noise from turbulence and engines is forced back into the boom.

It is shorter duration, yes, but MUCH louder: F-18s at 5000 feet can rattle windows on the ground! Usually not a good trade-off.
by Imustaskforhelp | 2025-05-17 12:49:35+00:00
Yes, I think that is why I had written "have we forgotten about node" because most people seem to forget node given deno/bun (including "me"), so Of course, node won't have deno or bun occupy its market share and it would also add those features.

Its a net positive for everybody except the people who are working in alternative implementations unless they are being sponsored or they are doing it for fun.

As a company, I am sorry, but I just see no ways of pure revenue once node improves
by bitwize | 2025-05-17 12:49:36+00:00
> Why do I need to? Why can't I let the garbage collector deal with it?

Determinism.

With Rust lifetimes, you can statically prove when resources will be released. Garbage collectors provide no such guarantees. It has been shown that garbage-collected languages have a space-performance tradeoff: you need five times as much RAM to achieve the same performance, even with a "good" GC, as the same program with explicit memory management:

https://people.cs.umass.edu/~emery/pubs/gcvsmalloc.pdf
by tkluck | 2025-05-17 12:50:09+00:00
Even under the AI-maximalist assumption that human workers and LLMs are going to be interchangeable, I'm having a hard time seeing the logic.

LLMs are not going to go on parental leave; have various protected statuses; have worker protection, visa issues or a compensation structure. In other words, there's no synergy at all from having them be managed in the same way as actual human resources. (And I'm sorry for using the term human resources unironically -- that just follows from the AI maximalist assumption.)

There's maybe some synergy in workforce planning, but if HR was doing that then there's already something broken in the business. HR is supposed to contribute legal expertise first, cultural and team dynamics expertise second, and process expertise not at all.
by gruez | 2025-05-17 12:50:17+00:00
He's probably talking about one of those "smart dns proxy" services. The way they work is that they return a proxy server IP for geoblocked domains, and the normal IP for everything else. The proxy server in turn figures out which server to connect to using the SNI header.

It's misleading to call it "change your dns to a uk server", but he's also not totally making it up either.
by swores | 2025-05-17 12:50:53+00:00
If it worked for you, that could be because when you changed your DNS server you also changed your public IP, or possibly because you used a service that doesn't just provide DNS but also caches content meaning you were accessing it without touching the BBC's servers.

There just isn't any aspect of BBC's geo blocking that cares what DNS servers you use, and if you go spend 5 minutes on Google looking into how geo-blocking works you won't find anyone talking about DNS servers being relevant.

I can't speak to your personal experience as I wasn't there, but I do have experience on the side of actually doing geo-blocking so I can say with confidence how that works. Apart from anything, the website / streaming service literally doesn't have any way of knowing what country your DNS server is in... the DNS server is just the thing that your computer asks "where does bbc.co.uk point to?" and it replies with the IP address for that domain. From the BBC's point of view your visit looks identical regardless of which DNS server gave that answer. There are ways of doing geo-blocking that are more complicated than just IP address (though BBC doesn't use them, it just goes on IP address), but none of them involve DNS.
by api | 2025-05-17 12:51:22+00:00
Fuel is the #1 cost of airlines, so this will be niche unless the efficiency problem is solved.

As for climate change and oil use, all aviation globally is only about 7% of oil use and about 3% of carbon emissions. It’s not the main thing to worry about.

Coal fired electricity followed by oil fired land transport (mostly easily electrified cars) are together well over 50% of all emissions and are the easiest things to fix. Deforestation and agricultural emissions are also up there. All of these sources are way easier and cheaper to address than decarbonizing aviation.
by Agraillo | 2025-05-17 12:52:04+00:00
Good points. Also looking at your original example I noticed that not only humans can explain regularities they expect in many different ways (also correcting along the way), they can basically ask LLM to base the result on a reference. In your example you provided a template with an img tag and brackets having different attributes patterns. But one can also just ask for a html-style tag. As I did with the "Please create a regex for extracting image file names when in a text a html-style tag img is met" (not posting it here, but "src" is clearly visible in the answer). So the "knowledge" from other domains is applied to the regex creation.
by thrance | 2025-05-17 12:52:08+00:00
The public transport cards here in Paris also use NFC. This means you can use your phone to recharge them, or use your phone directly to access the subway network. As far as speed goes, your card/phone is detected pretty much instantly when you tap it on the sensor, at least when the gate isn't broken.

The only time I ever had to wait in line to get into the station was after a stadium event, which is understandable. Rest of the time, you can pass the gates almost without stopping.
by homarp | 2025-05-17 12:52:11+00:00
this is the official announcement, but pyrefly was previously discuted a few weeks ago: https://news.ycombinator.com/item?id=43831524

"Today we’re releasing Pyrefly as an alpha. At the same time, we’re busy burning down the long-tail of bugs and features aiming to remove the alpha label this Summer. "
by notpushkin | 2025-05-17 12:54:27+00:00
To embed code on HN, add 2 or more spaces at the beginning of each line:

async (() => (e) { try { await doSomething(); while (!done) { ({ done, value } = await reader.read()); } promise .then(goodA, badA) .then(goodB, badB) .catch((err) => { console.error(err); } catch { } finally { using stack = new DisposableStack(); stack.defer(() => console.log("done.")); } });

(indentation preserved as posted by OP – I don't understand how somebody can code like this either :-)
by teleforce | 2025-05-17 12:54:51+00:00
>I believe that future data platforms will adopt an all-in-one approach, offering OLTP, OLAP, as well as support for other hybrid workloads such as vector, graph, and time series

It's already available and open source by the nice folks from MIT and they even wrote a book on it [1],[2].

You can use it to develop modern datahub for data engineering and analytics [3],[4].

[1] D4M: Dynamic Distributed Dimensional Data Model:

https://d4m.mit.edu/

[2] Mathematics of Big Data: Spreadsheets, Databases, Matrices, and Graphs:

https://mitpress.mit.edu/9780262038393/mathematics-of-big-da...

[3] Technical Report: Developing a Working Data Hub:

https://arxiv.org/abs/2004.00190

[4] Collaborative data analytics with DataHub:

https://dspace.mit.edu/handle/1721.1/100937
by Imustaskforhelp | 2025-05-17 12:55:32+00:00
I meant deno's future as of how the company would survive with competitors/ the ecosystem growing and node adopting. Because the company is basically the only one "really" working on the product, if the company can't find a decent source of revenue, (I am not sure "what" is the product that deno sells that others can't / aren't selling already ie. bunny cdn / supabase hosting deno subhosting)

I would love deno to win, maybe be even faster than bun and maybe help with permissions a little bit more as I played around with deno scripts and it quickly devolved into a permission nightmare from my personal experience, maybe I am inexperienced, but I didn't had the issues in bun.
by mst | 2025-05-17 12:56:07+00:00
I regularly add Symbol based features to JS libraries I'm using (named methods are riskier, of course)

import { SomeStreamClass as SomeStreamClass_ } from "some/library" export class SomeStreamClass extends SomeStreamClass_ { [someSymbol] (...) { ... } ... }

I have not blown my foot off yet with this approach but, uh, no warranty, express or implied.

It's been working excellently for me so far though.
by lsaferite | 2025-05-17 12:57:01+00:00
The ideal is that you can simply connect to whatever MCP Server endpoint you need, without needing to code your own tools.

The reality is that the space is still really young and people are figuring things out as they go.

The number of people that have no real clue what they are doing that are jumping in is shocking. Relatedly, the number of people that can't see the value in a protocol specifically designed to work with LLM Tool Calling is equally shocking. Can you write code that glues an OpenAPI Server to an LLM-based Tool Calling Agent? 100%! Will that setup flood the context window of the LLM? Almost certainly. You need to write code to distill those OpenAPI responses down to some context the LLM can work with, respecting the limited space for context. Great, now you've written a wrapper on that OpenAPI server that does exactly that. And you've written, in essence, a basic MCP Server.

Now, if someone were to write an MCP Server that used an LLM (via the LLM Client 'sampling' feature) to consume an OpenAPI Server Spec and convert it into MCP Tools dynamically, THAT would be cool. Basically a dynamic self-coding MCP Server.
Show HN: Compress Long LLM Prompt, Right in your web browser
by letaem77 | 2025-05-17 12:57:23+00:00
I tried to port LLMLingua-2's official Python implementation into TypeScript.

For best performance, open the URL with a WebGPU enabled web browser.

Learn More: https://github.com/atjsh/llmlingua-2-js
by WhyNotHugo | 2025-05-17 12:57:31+00:00
I just installed python3 on Debian and Alpine. It takes 16s vs 4s (I ran the test three times, and kept the fastest measurement for Debian and the slowest measurement for Alpine).

Sure a one-time wait of 12s doesn't change my life. But I won't use apt/apk _once_; I'll use it every single time that I install something. It low-key bothers me when my flow is interrupted by having to wait for machines to do their job, increasing that by 300% doesn't help.

This wouldn't be a deciding factor for me. But it doesn't add points for the Debian-based approach.
by diggan | 2025-05-17 12:57:39+00:00
> I donated Home Assistant to it[1]. It's fully funded by users. There are no investors involved.

I cannot thank you enough for this. It was a bit risky adopting Home Assistant for everything ~two years ago, but that you guys did this move really makes me feel less scared about eventually having to replace it with something else.

I'm subscribed to Home Assistant Cloud (via Nabu Casa) even though I don't use it just because it seems to be one of the few ways to financially support you, is there any way of doing one time donations to the foundation itself?