MurphyA/hacker-news huggingface dataset:
by fuzzfactor | 2025-08-04 12:11:23+00:00
I like the looks of those.

I have been carrying miniPC's between locations instead of laptops when there are keyboard, mouse, and monitor at each desk that I can utilize when I am sitting there. Beefy power adapters which are already in place are good to have too, I might use multiple external HDDs.

Actually a miniPC alone can be more convenient to carry than a laptop.

This HP is about twice the size I consider "normal" but more than twice as powerful :)

A bit less than twice the weight, but more than twice the money though.

This size a brick would still be as feasible as when I occasionally carry two miniPC's, I know I could handle it, but then it barely may be more convenient than a laptop.

So I'm sold, even if I don't exactly need one right now.

Hopefully these will fly off the shelf and they'll come out with a much more powerful unit real soon for about the same price, and move up from there. Ideally a whole new generation of something trending could emerge that can be made desirable in ways not possible in 2025, allowing prices of this exact model to be slashed beyond the bone.

Hopefully before the next couple years is up, looking forward to it ;)
by bcardarella | 2025-08-04 12:11:42+00:00
This is another extraction from the project that I discussed in this HN thread: https://news.ycombinator.com/item?id=44651539#44652356

tldr; we're building a headless browser in Elixir that will embed on device, communicate to the native 1st class rendering engine (i.e. SwiftUI, Jetpack Compose, WinUI3, etc...) via disterl, and allow for web-like ergonomics to build truly native SSR applications.

The README for Elixir Pack is a bit focused on the LiveView Native project but that documentation will soon be updated to remove mention of it.
by infecto | 2025-08-04 12:11:50+00:00
I am quite surprised how wrong opinions like yours are. There is no argument of free speech here, they are a private business and as such can decide what they allow and don’t allow on their network. It’s no different than if cloudflare had a click through that said no adult material.

You can hand wave around well they are a monopoly or some related argument but the government does not see it that way. Visa and Mastercard for decades have censored adult sites on their network. At the end of the day I suspect they would be happy to take the fees but they are the ones underwriting the risk and there have been cases over the year in the US at least that challenge how extreme you can go with Adult material. Even today there are certain categories that are much harder to get setup for processing.

Edit: to be ultra clear, I would love more competition in this space but at the same time there is no argument around free speech here.
by spwa4 | 2025-08-04 12:11:52+00:00
Yes it is. What you're conveniently forgetting is that governments and banks (which are kind-of government, except profits go to private hands) think this is a very, very, very, VERY good thing indeed.

Why? Well, what is wealth inequality? It is people and companies (indirectly also people) not spending money. Just keeping it. "For the future". In bank accounts. On the stock market. In government bonds. Under their pillow. This also explains that a very large chunk of "the rich" is in practice people's pensions.

This means that governments can create almost unlimited new money, without taxing anything, and know it'll be hoovered up by the wealthy. What happens in practice? Wealthy people and companies will provide goods and services to hoover up that money, but they won't want (any new) goods and services in return. In other words: it is a way for governments to acquire almost unlimited goods and services in return for ... nothing at all. A few updates to a database "to be paid in the future".

And if you look at what governments spend money on, it's "everyone", the "public good", in other words: on the poor. In other words: this is a way for the poor to get more stuff now.

You want to kill this effect? Expect every government employee, every pensioner, every unemployment benefit receiver, every sick or disabled person and so on to scream bloody murder, because you'll have to seriously cut a LOT of benefits. Or, frankly, if recent history is any indication, to actually just kill you with a 3d printed gun.

Of course, because the government is still overspending, and debt servicing is becoming bigger and bigger. New debt is adding less and less spending power to government budgets. In some countries debt servicing is already bigger than the growth in debt (and not just Argentina and Pakistan). You can calculate: if Trump continues like this, the US will cross this critical threshold halfway through his term (assuming 5% interest rate). At that point the US government will lose the ability to trade government debt for goods and services. And last Trump term spending went up and up and up as his term progressed, and so far the same is happening this term. Had we elected a deceased possum instead of Trump, our country would have been fiscally better of than we are now.

So you'll see the maga republicans join the democrats in shouting and screaming how evil banks and "the rich" are, in 3 years or less. What's scary is that due to Trump this moment is coming towards us a LOT faster than it was under Biden, despite, of course, Trump getting elected on the promise that he would make the opposite happen. But, as said before, a dead possum would have far outperformed Trump on the fiscal front.
by bboygravity | 2025-08-04 12:11:53+00:00
What we need is a universal standard way to store all of our personal data on our phone and share whatever is relevant at whatever company/government at the touch of a button.

Nor a secretary nor a doctor nor anybody should have to hand-type data that already exists digitally.

I'm so mind-blown that this doesn't exist yet that I feel maybe I should try and build it. I have tried building the next-best thing: OCR based form filling, but hard to get far as a solo FOSS'er.
by bookofcooks | 2025-08-04 12:11:57+00:00
It actually depends on the page. Some pages, I don't use the SolidJS JSX, just its plain-js state primitives.

For other page, I'll use full-blown SolidJS (with JSX and everything) for like a popup. Example: https://pasteboard.co/hY35xM7VbATG.png

Now, how I specifically embed SolidJS, its pretty simple, I have my entrypoint files for specific pages: assets/admin-edit-book.tsx assets/admin-edit-song.tsx assets/single-worship.tsx assets/worship-edit.tsx

Then I have a 30-line build script that invokes esbuild along with esbuild-plugin-solid (to compile JSX to plain-old html, no fancy virtual dom) to compile the scripts into javascript.

I can share the build script if you'd like. It helps that SolidJS is so self-contained that it makes such a setup trivial.
by klibertp | 2025-08-04 12:12:32+00:00
> It should also be noted that handling state like that is not really idiomatic Erlang.

It's not about the state but about intermediate results. When you have a value that you pass to one function, and then you need to pass the result to another function, you're not dealing with a "state" as OTP defines it, unless the calls are asynchronous. Often, they're not, and that's where variable rebinding comes in.

Worth noting: `|>` macro operator in Elixir serves a similar purpose, as long as you don't need pattern matching between calls. In that case, you don't have to name intermediate results at all, resulting in cleaner code.

> State variables are what I think corpos call a "code smell".

Having to call multiple functions in a sequence is the most natural thing to do, and Erlang code is littered with "X1 = ..., X2 = ...(X1), X3 = ...(X2)" kind of code everywhere.
by vlovich123 | 2025-08-04 12:13:16+00:00
Except, the OS hasn’t actually solved it. Any program you can run can access arbitrary files of yours and it’s quite difficult to actually control that access even if you want to limit the blast radius of your own software. Seriously - what software works you use? Go write eBPF to act as a mini adhoc hypervisor to enforce difficult to write policies via seLinux? That only even works if you’re the admin of the machine which isn’t necessarily the same person writing the software they want to code defensively.

Also modern software security is really taking a look at strengthening software against supply chain vulnerabilities. That looks less like traditional OS and more like a capabilities model where you start with a set of limited permissions and even within the same address space it’s difficult to obtain a new permission unless your explicitly given a handle to it (arguably that’s how all permissions should work top to bottom).
by spwa4 | 2025-08-04 12:13:41+00:00
> Economic growth comes from a large population that spends and innovates.

No it doesn't. Economic growth comes from "doing more with more". WHO does that doesn't matter. It matters for inequality and jobs and a lot of things, but not for economic growth. If skynet kills all Americans and builds 5 million nukes, that will be economic growth.
by bloomca | 2025-08-04 12:14:26+00:00
What kind of forms do you need? I honestly feel people think they have to use all sort of dependencies. There are some you definitely need, like the router or any state management (you can build both, but there is a decent amount of boilerplate and efficient hooks can be tricky).

But for forms I honestly would recommend to start with plain React and only abstract things you need in your project.
by dm319 | 2025-08-04 12:14:57+00:00
As a doctor, I often get asked when I'm going to be replaced by AI, or if AI can help in my work.

The reality is that our work efficiency could have been made so much efficient with a bit of decent user-friendly software that is optimised for the user.

I also love computers and IT, but as a result I understand highly-optimised (usually open source) software.

The proprietary system we have at work is a mess. Inconsistent widgets, some keyboard shortcuts for some dialog boxes, but not for others. Lots of forms that need filling that I shouldn't be having to fill out (it's the same every time but I have to go through the whole process just to speak to a patient over phone).

As others have mentioned here, senior doctors used to look at the patient, and give their opinion. Admin and junior doctors would turn it into action in a safe way, following protocol and prescribing advice to make it happen.

These days senior doctors are checking in their patients themselves, clicking through many menus to order blood tests, checking out their patients, writing their patient letters, and basically sorting out the majority of the admin for enacting what they recommended should happen.
by TrufiAssoc | 2025-08-04 12:15:14+00:00
We attended UITP 2025 to represent the billions who rely on informal transport systems that mainstream mobility experts often discount. Many conference attendees remained unfamiliar with how informal transport actually works until we explained it. "A lot of them still don't fully understand what informal transport is," said Eva Asturizaga. We also hosted a dinner for 20 paratransit thought leaders including Jackie Klopp and Benjie de la Peña - the people who actually understand how transport works in the global South. Our open-source applications digitize these informal networks instead of treating them as problems to eliminate.
by flohofwoe | 2025-08-04 12:15:17+00:00
At least the popcount example (along with some other 'bit twiddling hacks' inspired optimizations) is just a magic pattern matching trick that happens fairly late in the compilation process though (AFAIK at least), and the alternative to simply offer an optional popcount builtin is a completely viable low-tech solution that was already possible in the olden days (and this still has the the advantage that it is entirely predictable instead of depending on magic compiler tricks).

Basic compile time constant folding also isn't anything modern, even the most primitive 8-bit assemblers of the 1980s allowed to write macros and expressions which were evaluated at compile time - and that gets you maybe 80% to the much more impressive constant folding over deep callstacks that modern compilers are capable of (e.g. what's commonly known as 'zero cost abstraction').
by hugs | 2025-08-04 12:15:29+00:00
Nim might hit the sweet-spot here: typed, compiled, and Python-like.

I wrote this [1] comment a few weeks ago:

""" ... Claude Code is surprisingly good at writing Nim. I just created a QuickJS + MicroPython wrapper in Nim with it last week, and it worked great!

Don't let "but the Rust/Go/Python/JavaScript/TypeScript community is bigger!" be the default argument. I see the same logic applied to LLM training data: more code means more training data, so you should only use popular languages. That reasoning suggests less mainstream languages are doomed in the AI era.

But the reality is, if a non-mainstream language is well-documented and mature (Nim's been around for nearly 20 years!), go for it. Modern AI code gen can help fill in the gaps. """

[1]: https://news.ycombinator.com/item?id=44400913
by anal_reactor | 2025-08-04 12:15:31+00:00
Yes, that's correct. In other words, my cost-benefit analysis concluded that shipping fast and iterating later is a much better strategy than spending countless manhours on plans and meetings in order to provide a product that is perfect from technical perspective but misses both the timing and market needs. I don't understand this fetishation of "perfect code" when experience shows again and again that for most use cases, the correct approach is to ship fast and fix later. We're not sending a spaceship to Mars, we're making an AI-based social media app, either we ship this week or next week facebook will launch its own version which will make our product completely irrelevant and being first to release a feature is the only way to capture a statically significant part of the market. As long as the most common use case works we're grand, if 80% of the app doesn't work that's fine because 80% of the users only use the main 20% of the app, and the focus is on making sure that this works correctly.
by Den_VR | 2025-08-04 12:15:51+00:00
When you get into the “ at any price ” range, then you should be up for engineering the room to support fully automated cleaning, and so I’d contend this is possible today. For certain situations. For example, automatic cleaning of a capsule hotel. I’ve just checked into one myself, nearly everything is self-service with an rfid band for access. How about automatic cleaning of a clean room?
by bestest | 2025-08-04 12:16:16+00:00
That is fine as long as your forms are simple text inputs and buttons. Now plug in drag-and-drop and multiple file uploads and selects and checkboxes and radios and more of these various inputs you're in the world of pain.

I've recently, once again, gave native inputs a chance in a new project. It lasted as long as I've described in the first sentence. And I've been in the frontend world for 20 years. Trust me, you don't want complicated native forms.

And react-hook-form is just what you need (albeit it also is boilerplate-ish, so I always end up wrapping it up in a simpler and smarter hook and component).

edit: Same, in a sense, for HTMX. It's ok for simple things. But eventually you may end up trying to build a house with a fork. The fork in itself is not a bad tool, sure. But you also don't need a concrete mixer with your morning toast.
by pbowyer | 2025-08-04 12:16:27+00:00
I do this with Vue in Symfony PHP apps. Depending on the scope I eitehr have a full build pipeline for the JS (preferred) or will include the files direct from a CDN and have in-HTML templates that are parsed on load.

For passing data into it I've used Inertia.js [0] and also my own data-in-page setup that's parsed and loaded into the Vue app. The app then writes the changes back out, usually into a hidden form input. The form on the page is then submitted as usual to the server, along with any other data that I need.

It's a great way for adding more complicated behaviour to an existing app.

0. https://inertiajs.com/
by Herz | 2025-08-04 12:17:10+00:00
EU is already working on an alternative: Wero https://en.wikipedia.org/wiki/Wero_(payment)

Honestly, I'm really critical towards EU, but this is one of the few things that EU does well. When the market is stagnating, it's better than nothing to propose an alternative or some kind of benefits in order to change the market a bit. Like the Roaming in EU.

Regarding the rest, the EU is mining competition with the obsession of regulating everything.
by throw0101d | 2025-08-04 12:17:30+00:00
> Yes individuals can rise and fall.

One of the critiques of meritocracy:

> […] It’s wild that everyone is using “merit” and “meritocracy” as though it somehow avoids elitism, when in reality it’s a sneaky way to cement biases without the appearance of bias. Of course people should be judged on their skills and not their wealth. But, how’d they acquire those skills, and why would anyone assume the money didn’t help? Of course it’s a self-reinforcing system. […]

* https://news.ycombinator.com/item?id=44571491

From the Wikipedia § Criticisms page:

> In his 2019 book The Meritocracy Trap, Daniel Markovits poses that meritocracy is responsible for the exacerbation of social stratification, to the detriment of much of the general population. He introduces the idea of "snowball inequality", a perpetually widening gap between elite workers and members of the middle class. While the elite obtain exclusive positions thanks to their wealth of demonstrated merit, they occupy jobs and oust middle class workers from the core of economic events. The elites use their high earnings to secure the best education for their own children, so that they may enter the world of work with a competitive advantage over those who did not have the same opportunities. Thus, the cycle continues with each generation.

* https://en.wikipedia.org/wiki/Meritocracy#Books

> In his book The Tyranny of Merit: What's Become of the Common Good?, the American political philosopher Michael Sandel argues that the meritocratic ideal has become a moral and political problem for contemporary Western societies. He contends that the meritocratic belief that personal success is solely based on individual merit and effort has led to a neglection of the common good, the erosion of solidarity, and the rise of inequality. Sandel's criticism concerns the widespread notion that those who achieve success deserve it because of their intelligence, talent and effort. Instead, he argues that this belief is flawed since it ignores the role of luck and external circumstances, such as social and external factors, which are beyond an individual's control.[91]

* Ibid
by mahogany | 2025-08-04 12:17:44+00:00
> It’s basically the Laffer curve which argues that tax receipts can actually go down with higher taxes rates as tax’s can discourage growth if high enough.

What you are describing is if we are on the right side of the curve. But is there any evidence that this is true?

When I read Sowell, someone who I imagine would be a champion for this cause, he cites the 1920s as his evidence that trickle-down works which doesn’t inspire confidence. If there is no modern evidence, why are we even entertaining this theory today?
by seeyebe | 2025-08-04 12:18:47+00:00
Thanks for the thoughtful question. The tool doesn’t aim to declare what’s “important,” but rather to highlight patterns. like hotspots, dormant code, or contributor trends. that can guide refactoring, onboarding, or even just curiosity. For some workflows (e.g. legacy cleanup, team handover, bug tracking), that context can be quite valuable.
by miningape | 2025-08-04 12:19:29+00:00
I like to start my design documents with a solution section (sometimes including time breakdowns) - it's a good way to get non-technical audiences up to speed on what will happen, and allows the technical audience to frame their thoughts on the rest of the document.

They usually follow the structure:

1. Solution

2. Context (problem space)

3. Alternatives + Details

4. Logic behind the decision for the solution (reiterating drawbacks)

5. Time/task breakdown (if applicable)

6. Closing remarks

7. Notes (usually only useful for technical audiences engaged in the implementation)
by fuzzfactor | 2025-08-04 12:19:57+00:00
This is somewhat analogous to the way that perfectly good buildings are sometimes demolished simply because the taxes are too high (demolished not much differently than other buildings which are in terminal disrepair).

When you think about it, every other political party up until now has had the fiscal responsibility to be able to afford more research satellites like this, not less.

In effect this is economically behaving like the highest-tax environment that has ever been seen in anybody's lifetime, now snowballing in a way that good Republicans & Democrats have never allowed to occur before.
by devnull3 | 2025-08-04 12:21:22+00:00
With DS (and HTMX) the backend is the source of truth. In the context of the blog post, the state will be made-up of: step no, file content, file path, etc. This can be stored against the session ID in a database.

So when opened on a different tab, the backend would do authentication and render the page depending on the store state.

In general, the backend must always compare the incoming state/request with stored state. E.g the current step is step 2 but the client can forces it to go to step 4 by manipulating the URL.

DS v1.0 now supports non-SSE (i.e. simple request/response interaction as well) [1]. This is done by setting appropriate content-type header.

[1] https://data-star.dev/reference/actions#response-handling
by numpad0 | 2025-08-04 12:22:01+00:00
I kind of wonder if there had been misinterpretations as to the results of previous campaigns against Japan.

English in Japan is more of a customer support tool than a language. Proficiency is improving in some places, but on decline at large, below already atrocious status quo. This means the size of English-speaking audiences for actually Japan-centric news is small and not the first priority, not small && more important. Extremely little of whatever happening in Japan appear on mainstream English social media, let alone regular mainstream media.

If that much was not obvious to whoever pulling strings on this ongoing thing, I think there may be a chance that lack of observable responses after their earlier actions led to a misplaced confidence that gaming is a tiny top-down market and consumer resistance is nonexistent.

The responses were significant enough that it elected an equivalent of senate for third term and got former PM Kishida make a hand-wavy assurance on video even just few days before this one. It was almost certainly just a lip service, but also not nothing. How would anyone interpret that as a situation safe to escalate further?
by nemomarx | 2025-08-04 12:22:09+00:00
Barely even "next" - itch might have gone overboard out of caution, but they hit random non sexual queer stuff already, and it's not hard to see how "don't do anything that hurts our brand" coming down from MC/Visa would lead to that basically immediately. Lots of stuff could hurt a corporate brand. Maybe your product has some bad press so now it's removed from storefronts, etc.
by Simulacra | 2025-08-04 12:22:11+00:00
I disagree with this. High stress environment, already with an alcohol and spending problem (super high interest car loans etc) that in this case: the machines need to go.

But that also challenges a broader trend in games of chance proliferating. In some places, small businesses are pushing hard to allow them to put them in their businesses because they make money.

Gambling is one of those places where I draw the line about freedom of choice and disposition. It's too easy to lose everything, and get suckered in to lose more. It needs stronger regulation because the House never loses, and people who can't control themselves suffer.