MurphyA/hacker-news huggingface dataset:
by leogout | 2025-10-13 05:16:58+00:00
I've found motivation to work on a project I stopped lasr year. It's an interpreter for the duckyscript language to run it on a raspberry pi pico.

https://github.com/leogout/rasper-ducky

Duckyscript is a language for the USB rubber ducky that costs approximately 100$. A usb rubber ducky is an usb key that gets recognized as a keyboard and that starts typing text and shortcuts automatically once you plug it to anything. To specify to the key what to type, you can use duckyscript.

I'm using circuitpython. The last thing I did was to de-recursify the interpreter with a stack.

The more I'm implementing of duckyscript, the more i think that i should create my own language. Duckyscript sucks as a language...
by vkou | 2025-10-13 05:17:27+00:00
I understand the individual sentences in your post, but I don't understand what overall argument it makes.

(It also fails to take into account the practical aspects of collecting taxes, which is why food and labour were a common currency for them pre-industrialization, and money is the common currency for them post-industrialization. My post addresses the issue of collecting taxes more than it does the issue of generating wealth.)
by shihab | 2025-10-13 05:19:31+00:00
> To Koreans, they looked more like sauce bowls, leading them to conclude that the Japanese had starved themselves to stretch out the siege.

As a Bengali man, that's exactly how I felt when I came to USA and first visited japanese restaurants. Part of the reason we consume so much rice is that rice is kind of the main dish (not a side)- it literally takes up central and most of the space in your food plate.

https://commons.wikimedia.org/wiki/File:%E0%A6%87%E0%A6%B2%E...
by carabiner | 2025-10-13 05:19:42+00:00
Hypothesis is that the irishmen were doing hard physical labor that required a high caloric intake. PCT thru-hikers consume 4,000-4,500 calories per day (at least I did) while staying thin. According to inter-net, 13 lb of potatoes has about 4,500 calories. Apparently US civil war soldiers expended 3-4k per day.
by AdieuToLogic | 2025-10-13 05:20:02+00:00
An erroneous summarization is:

The Tiny Teams concept has resonated so strongly that it’s pretty clear it is the next major transition of the org chart as we go from level 2 to 3 AGI.

LLM's, nor any offerings based upon them, qualify as Artificial General Intelligence[0]. So to assert there is an existing "level 2" AGI, let alone a progression to "level 3" AGI, is nonsensical.

0 - https://en.wikipedia.org/wiki/Artificial_general_intelligenc...
by drnick1 | 2025-10-13 05:20:30+00:00
Free software has won on servers. It is making inroads into desktop/gaming PCs (above 5% market share now), and the exodus from Windows 10 could well push it over 10% soon.

But the computing landscape has shifted towards mobile devices and this is where our freedoms are now the most at risk. It is time that we turn our back on Apple and Google and exclusively buy devices that can run operating systems that are community-controlled such as Linux phones, and devices that can be flashed to Lineage and Graphene.
by matheusmoreira | 2025-10-13 05:21:17+00:00
In my country, banks force us to install "security modules" in order to do this. Once upon a time, back when I used Windows, I got bored and tried to pry one of these things open to see why they made the computer so unusably slow. I caught it intercepting every single network connection and doing god knows what with them. That told me all I needed to know.

It used to be that Linux users like me were exempt but at some point they added Linux support. Now there's a goddamn AUR package for this thing.

https://aur.archlinux.org/packages/warsaw

https://aur.archlinux.org/packages/warsaw-bin

> Banking security tool developed by GAS Tecnologia

Yeah. Banking security tool. Who the fuck even knows what it does? It sure as hell isn't me. That thing is not going anywhere near my system.
by mmmaantu | 2025-10-13 05:21:25+00:00
I have been working on a new Python HTTP client which is 100% Rust-based (sync+async). Using reqwest under the hood and providing everything it has to offer to Python land + much more. Also including mocking capabilities. Here: https://github.com/MarkusSintonen/pyreqwest

Started from the poor state of many Python HTTP clients and poor testing utilities there is for them. (Eg the neglected state of httpx and its all perf issues)
by hgs3 | 2025-10-13 05:21:26+00:00
In practice, there are still types, they are just validated by your application. I didn’t want Confetti itself to make assumptions. I wanted to give you the freedom to define your own custom types and keywords, like “on” and “off”, or even tri-states like “yes”, “no”, “maybe”.

The problem with mandatory keywords, like “true” and “false”, is they box you into the English language. And which data types should be intrinsic is arbitrary, for example, TOML has data types for date and time, but JSON does not [1]. Where do you draw the line? Confetti let’s you decide.

You might enjoy reading this take on the subject [2].

[1] https://toml.io/en/v1.0.0#offset-date-time

[2] https://github.com/madmurphy/libconfini/wiki/An-INI-critique...
Show HN: Piradio, Radio Garden on Terminal
by rupestre-campos | 2025-10-13 05:21:52+00:00
After seeing a nice built article about how trustMeIAmANinja did a really good job creating a web radio interface, worth to check out solely. Got interested on the python code and made a spin off using the terminal as interface, showing a simple ASCII map with selected station location and allowing to interactively search for stations by searching countries, cities and station names, allowing to favorite then, or to get a completely random one for exploring!
by bze12 | 2025-10-13 05:22:28+00:00
I’m working on a concept art gallery for app icons: https://001.graphics

I think app icons are an underrated artistic format, but they’ve only been used for product logos. I made 001 to explore the idea of turning them into an open-ended creative canvas. There are 99 “exhibit spaces” in the gallery, and artists can claim an exhibit to install art within. Visitors purchase limited-edition copies of pieces to display as the app’s icon, the art’s native format.

It’s a real-money marketplace too - the app makes money by taking commission of sales (Not crypto). I like economic simulation games and I think the constraints here could be interesting.

I’m currently looking for artists to exhibit in the gallery, if anyone is interested, or knows someone who may be, please let me know!
by ksec | 2025-10-13 05:23:56+00:00
>but even its most dedicated fans have given up the argument that it is the best for compression efficiency....

I will need to double check. I think even after PSY JPEGXL still excel at BPP 1.0+, and that is 85% of all images served according to Chrome. AVIF is still winning on below BPP 0.8.

Anyway we only have to wait a few more months to see AV2. Let's hope finally they have everything ready.
by thewisenerd | 2025-10-13 05:24:00+00:00
mirroring all the comments about this _needing_ to be an extension..

in theory, one should be able to extract the "rule" definitions [1] and have it run with a conn str; instead of this _needing_ to be an extension.

in practice though, query plan analysis and missing indexes is a bigger use-case; since it's bad queries that take down the db.. and i see no rules here to help with that.

[1] https://github.com/pmpetit/pglinter/blob/9a0c427fac14840a7d6...
by Aurornis | 2025-10-13 05:25:02+00:00
> while still being a terrible place in most other aspects.

When I worked for a multinational company we had a lot of people from foreign offices visit the United States for the first time.

It was really interesting for me to see how many of them, especially those who built their worldview from headlines and internet comment sections, were so surprised to discover that the US wasn’t the dystopian hellhole like they had come to believe. It was almost a rite of passage for us to dispel a bunch of myths over lunches and explain how the things they saw in a headline somewhere were not representative of typical American experiences.

Don’t get me wrong, this country has a lot of things that need to improve. However, the internet comments version of the US has taken on a life of its own.

I’m now old enough to have a lot of friends who either worked in foreign countries for extended periods of time or even emigrated abroad, only to come to realize that the rest of the world isn’t as picture-perfect as they though it would be according to the Internet. There’s a dynamic where no positive comments about the US are allowed, but negative comments about other countries are considered out of bounds, denied, or downvoted away.

For example, the recent US reductions in COVID vaccine availability are something I vehemently oppose, but even the current US system makes it far easier to get a COVID vaccine than in the NHS. Every time I tell people this fact (which is easily verifiable by Googling it) I get shouted down or accused of making it up. Both online and in person.
Show HN: Runtric AI – Learn to Code with Your Personal AI Tutor
by resetmerlin | 2025-10-13 05:27:17+00:00
Why We Built It

We noticed something strange while helping people learn to code:

AI chatbots and YouTube tutorials have made it easier than ever to start —

but harder to actually understand.

Many beginners now rely on copying AI-generated answers instead of thinking through the problem.

They can “get” the code to work, but can’t explain why it works.

We call this *AI-dependent learning*, and we wanted to fix it.

---

What Runtric Does

Runtric is an AI-powered coding education platform that helps people learn by reasoning, not just repetition.

Instead of giving answers, the AI tutor keeps learners in the thought process — asking questions, nudging ideas, and encouraging self-discovery.

Our MVP currently includes:

- A beginner-friendly Python curriculum

- An in-browser coding sandbox (no setup required)

- An AI tutor that guides instead of giving direct solutions

- A unified flow from lesson → code → quiz → feedback

Everything runs client-side, and it’s free for now.

---

Who It’s For

- Students and self-learners starting with Python

- Educators looking for an interactive way to teach programming

- Anyone who wants to understand code rather than just make it run

---

What’s Next

We’re still in MVP, gathering early feedback before expanding into advanced paths, project-based tracks, and educator tools.

Our long-term goal is to make AI in education a cognitive amplifier, not a crutch —

a system that trains learners to think through AI guidance rather than depend on it.

---

Background Reading

Our motivation aligns with several recent papers discussing AI’s impact on programming education and the risks of overreliance on chatbots:

- Aleedy, M., Atwell, E., & Meshoul, S. (2022). Using AI Chatbots in Education: Recent Advances, Challenges and Use Case. Springer, Singapore.

- Anagnostopoulos, C.-N. (2023). ChatGPT impacts in programming education: A recent literature overview that debates ChatGPT responses. F1000Research, 12:1393.

---

We’re just getting started and would love to hear your thoughts.

Try Runtric here: https://runtric.com

Feedback, criticism, and questions are all welcome — especially from educators, developers, and anyone interested in how AI changes the way we learn.
by Aurornis | 2025-10-13 05:28:18+00:00
There was another HN thread recently where someone was commenting about how living conditions in specific parts of Europe were better than the US. When everyone questioned them, they explained that they just didn’t consider various parts of the EU or even certain large cities in major EU countries to be part of the comparison because everyone knew their living standards were lower.

It’s a strange double standard where the US gets evaluated as a mix of the worst headlines from every state, but when commenters talk about Europe being a utopia they actually refer to a cherry picked mix of the best parts of different countries.
by curious9999_2 | 2025-10-13 05:28:52+00:00
It was indeed the SPARK dialect I am referring to.

I find the Ada community difficult to navigate, the existence of multiple dialects does not make it easier. Please do correct me if I am wrong, and I apologize for any mistakes that I might have made.

If it is not the case that the SPARK language or its proprietary compiler is ahead of what is available publicly, why does this page say that pattern matching is in production:

https://github.com/AdaCore/ada-spark-rfcs/blob/master/featur...

While as far as I can tell, it is not part of normal, not-SPARK Ada, and either is not available in open source compilers, or might require enabling an extension?
by CuriousRose | 2025-10-13 05:29:01+00:00
I love bun, but the things I wish it was used for it is not being implemented. Namely language servers in editors like VS Code and Zed for dramatic performance improvements, and serverless environments like Vercel and Cloudflare. Maybe I'm missing something, but aren't all these bun native APIs useless if they are deployed to environments that only support Node? Is everyone using bun for dev also managing their own infra stack?
by daemonologist | 2025-10-13 05:31:01+00:00
The advantage of micropython is that you don't have to deal with all the poorly maintained toolchains and UART and flashing and whatnot; for a novice working on their own, that stuff is a nearly insurmountable barrier. That the syntax is Python doesn't make a whole lot of difference.

I agree though, probably shouldn't be the first choice for a professional application.
by cyberax | 2025-10-13 05:32:32+00:00
> So basically you want to reap all the benefits from living in a big city without any of the downsides.

Yes? Why is that bad? And I want everyone to be able to do the same, and not get crammed into microapartments.

> Increasing density is the only realistic way to address housing affordability.

No single large Western European or American city lowered housing costs by increasing density within the last 30 years. Your _only_ option to reduce housing costs is to reduce the population.

It's as simple as that.
by curious9999_2 | 2025-10-13 05:33:11+00:00
> Doubly linked lists aren’t that important today.

I guess Rust is just not a viable or good language if one cannot even implement easily something as basic as a doubly linked list. Doubly linked list is the bare minimum; if that is not easy to implement, more complex data structures will often be even worse.

Rust, contrary to public claims, often does worse on memory safety than C++, which is a sad state of affairs.

I fear my arguments are way stronger than yours, sorry. Please make it easier to implement data structures in Rust.
by kritr | 2025-10-13 05:33:30+00:00
I was looking for this 2 days ago for a new computer setup.

I haven’t had a chance to download this yet, but hoping that it has native keybindings. (Cmd+N) on mac for composing a new email or something similar.

I know fastmail’s built in keybindings are robust, but I can’t keep track of them all.
by _delirium | 2025-10-13 05:34:36+00:00
The US is more like Latin America here, where top 25% does not mean you are immune to the problems of the other 75%. Your average resident of an affluent western European country does not come into daily contact with a poor resident of western Russia (except maybe through some recent drones...?). But in the US, it's hard to escape the poverty and violence unless you're closer to the top 1%. I am probably around top 20%, in an affluent part of an affluent coastal US city (but not Manhattan affluent). Still, I don't walk outside after dark because of the high crime rates. The crime rates are not as high as in the bad parts of the same city, but people are mugged on a daily basis, and even murders are uncomfortably frequent. I didn't have this problem when I lived in several different places in western Europe, which had lower incomes, but also much lower levels of violent crime. I will admit that American pay is better, but not sure about the quality of life.
by schoen | 2025-10-13 05:34:39+00:00
The other famous example which people have mentioned here is that "sideloading" is now used to refer to installing software on a computer, which used to be a normal, routine (and required) thing to do in order to use any computer. So the idea that someone curates what software you're allowed to run, and there's no way to even opt out of that, has become normalized for huge numbers of users and parts of the tech industry.

It's true that malware authors are much better funded and more aggressive than they were a few decades ago, so we have some long threads talking about how there is an element of the paternalism here that's protecting people from some pretty malicious stuff, which could also cause a lot of harm. However, seeing this paternalism as the basic normal way that software is used shows that we've lost a lot.
by yes_really | 2025-10-13 05:35:46+00:00
> The US can be "Winning" the monetary accumulation race while still being a terrible place in most other aspects

The US is definitely not "a terrible place in most other aspects". The US is at the top (or near the top excluding small countries like Switzerland) in:

- Consumer spending;

- Disposable income;

- Size of housing afforded;

- Top university rankings;

- Research and development;

Europe suffers from many things that would be hard to imagine in the US. Only 20% of European homes have air conditioning vs 88% of American homes. This causes real problems. In 2024, there were 62,700 Europeans who died from extreme heat, compared to ~3,000 Americans.
by travisgriggs | 2025-10-13 05:36:27+00:00
I work on the micros that aren’t plugged I to a grid. So solar and batteries and the like. In that world, power consumption is everything. Interrupts and aggressive sleeping of your processor are you biggest tool.

Does anyone have any experience with current draw of typical pieces of “firmware” using this? I see that it’s on the larger side of what feels like micro, BUT tomorrows micro has been growing heaps over yesterdays micros for a long time, so I can ignore that.
by danielbarla | 2025-10-13 05:37:09+00:00
> In response to this, Searle argues that it makes no difference. He suggests a variation on the brain simulator scenario: suppose that in the room the man has a huge set of valves and water pipes, in the same arrangement as the neurons in a native Chinese speaker’s brain. The program now tells the man which valves to open in response to input. Searle claims that it is obvious that there would be no understanding of Chinese.

I mean, I guess all arguments eventually boil down to something which is "obvious" to one person to mean A, and "obvious" to me to mean B.
by Aurornis | 2025-10-13 05:37:18+00:00
This is a cool project but that total cost is prohibitively expensive. This feels more like an academic proof of concept than a viable project.

It would be interesting if they could get some input from some industry experts to cost reduce and simplify for a few iterations. From a quick look at the files this appears to be what I’d expect from the dev board proof of concept stage of a project, before it was iterated on to be simplified for wider use. Hopefully they can get some time to do a few more cycles
by Terr_ | 2025-10-13 05:37:43+00:00
> Using rice as currency is not too different from using Joules as currency

There are enough differences that we still need to worry about them: Would you really have no preference between them when there's a famine? Which one would you rather have when someone announces they've just cracked fusion power generation?

Even among such "suitable" commodities (durable, fungible, divisible, etc.) there are differences in risk/utility which don't vanish simply because there's a market for exchanging the two.

Fiat currency is significantly more isolated from such confounding factors, at least as long as people assume the government will continue to exist. It doesn't go crazy

> it's ultimately for the most part powered by people eating.

I am reminded of the subsistence farmer's reasons [0] for not converting everything they have to/from coinage:

> The thing is, as the food supply contracts, the price of food rises and the ability to buy it with money shrinks (often accelerated by food hoarding by the wealthy cities, which are often in a position to back that up with force as the administrative centers of states).

> Consequently, for the [farming] family, money is likely to become useless the moment it is needed most. So while keeping some cash around against an emergency (or simply for market transactions – more on that later) might be a good idea, keeping nearly a year’s worth of expenses to make it through a bad harvest was not practical.

[0] https://acoup.blog/2020/07/24/collections-bread-how-did-they...
by hilbert42 | 2025-10-13 05:38:06+00:00
Gold and platinum group elements are far less abundant than REs and "extraction is costly, capital intensive and environmentally unfriendly", and yet we still engage in mining and refining them.

We've now reached the point where the strategic and economic importance of REs is enough to overcome those impediments/objections. As I mentioned earlier, this was very predictable at least 15 years ago. It's not lack of foresight but rather lack of political will—thus there's been no cogent or effective forward planning policy in place.
by uecker | 2025-10-13 05:38:49+00:00
Yes, you can not meaningfully assert anything after UB in C/C++. But you can let the compiler add the trap for overflow -fsanitize=signed-integer-overflow -sanitize-trap=all, or you could also write your assertion in a way where it does not rely on the result (e.g. ckd_add), or you use "volatile" to write in a way the compiler is not allowed to assume anything.
by tyami94 | 2025-10-13 05:39:25+00:00
I own one of these devices (pinephone) and it is legitimately not good enough for day-to-day use (despite the incredible efforts of the people who are working on it's software). I only use my phone for locally-stored music, text-only web browsing and calls/SMS. The Pinephone cannot perform any of these tasks competently. The thing it does best is playing music, but this drains the battery. It will not reliably place/recieve calls/texts (and 911 doesn't work IIRC). It can barely handle basic web browsing. KDE on this device literally pegs both CPU cores to 100% all of the time. Phosh is better but still dog-slow. This is the case even with the many years of improvements the community has been making to these devices. It used to be significantly worse, and the software is monumentally better than it ever has been. I love this device, and it deeply saddens me that it has such major flaws.

All of the current Linux phones have major showstopper issues, and saying we're complaining about them being "unable to run modern PC games" is a strawman. The simple fact of the matter is there are no decent mobile Linux options available.

The most endemic problem right now is "Linux" phones that use crummy forked vendor kernels and Halium. For all intents and purposes, these devices are trapped in time and can't meaningfully get software updates for major system components. The 2 decent Halium-free options, the Pinephone and the Librem 5, both still use downstream kernels, and the Pinephone's kernel is maintained by 1 person in their spare time. I think it's apparent that this is not sustainable, and one can't reasonably expect megi to maintain this device forever.

As sad as it makes me feel to say this, I don't foresee these problems improving for a long time. As of now, I remain stuck with a Moto E6 from 2019 (Android 9.0) as it seems to be the final device ever produced with a replaceable battery, headphone jack, SD card slot, and screws instead of glue.