MurphyA/hacker-news huggingface dataset:
by adrian_b | 2025-04-07 07:00:42+00:00
Looking at the sparse documentation of openrsync does not create any confidence for me that it can be an acceptable substitute for rsync.

In my opinion, any program that is supposed to copy files, but which is not able to make perfect copies, i.e. copies that do not lose any bit of data or metadata that was present in the original file, is just unusable garbage.

Unfortunately, most copying programs available in UNIX-like operating systems (and also many archiving programs) do not make perfect file copies with their default options and many of them are never able to make perfect copies, regardless what options are used.

I have not looked recently at the scp command of ssh, but at least until a few years ago it was not possible to make perfect file copies with scp, especially when the copies were done between different operating systems and file systems. That is why I never use scp, but only rsync over ssh.

Rsync is the only program that I have seen, which is able (with the right options) to make perfect file copies even between different operating systems and file systems (for instance between FreeBSD with UFS and Linux with XFS), preserving also metadata like extended file attributes, access control lists and high-precision file timestamps (some copying programs and archiving programs truncate high-precision timestamps).

The current documentation of openrsync does not make any guarantee that it can make complete file copies, so by default I assume that it cannot, so for now it is a program that I consider useless.

Beside rsync for copying, one of the few Linux archiving programs that can archive perfect file copies is bsdtar (when using the pax file format; the ancient tar and cpio file formats cannot store all modern file metadata).

(FYI: I always alias rsync to '/usr/bin/rsync --archive --xattrs --acls --hard-links --progress --rsh="ssh -p XXX -l YYYYYYY"')

(With the right CLI options, "cp" from coreutils can make perfect file copies, but only if it has been compiled with appropriate options; some Linux distributions compile coreutils with wrong options, e.g. without extended file attributes support, in which case "cp" makes only partial file copies, without giving any warnings or errors.)
by Animats | 2025-04-07 07:00:45+00:00
Key to Dreamer’s success, says Hafner, is that it builds a model of its surroundings and uses this ‘world model’ to ‘imagine’ future scenarios and guide decision-making.

Can you look at the world model, like you can look at Waymo's world model? Or is it hidden inside weights?

Machine learning with world models is very interesting, and the people doing it don't seem to say much about what the models look like. The Google manipulation work talks endlessly about the natural language user interface, but when they get to motion planning, they don't say much.
by AuryGlenz | 2025-04-07 07:01:04+00:00
Trump was taking about tariffs, but nobody thought he’d take them this far, this fast.

To be fair, it makes sense that if his…plan… is going to work, he needs to get in it quickly. 4 years isn’t a long period of time and if the country doesn’t recover economically before then the next president will absolutely just undo whatever he did.

Even the midterms are a time limit. If things are bad enough then it would absolutely get people to vote for those that’ll take the power of tariffs back out of the president’s hands and back into congress’s.

It’s actually kind of a big flaw with our system as a whole. Countries like China can do more long-term plans without worrying about silly things like electability. In this case, in theory I think Trump is right to wave our big economic stick around. In reality it won’t work because everyone can just wait for his time to be up. Even if countries negotiate there’s no reason to think they won’t reneg in 5 years.
by graemep | 2025-04-07 07:01:45+00:00
I think the longer the US waits the relatively weaker it becomes, so the sooner the better from that point of view.

I think many people in the US, and almost everyone in Europe, has not really woken up to the extent to which their economic clout has diminished over the last few years.

People go into denial about this, as it undermines their worldview, but if you look at west vs rest GDP the change over the last few decades is huge.
by tudorgirba | 2025-04-07 07:01:50+00:00
Thank you for taking the time. There is certainly similarity with notebooks. However, the notebook is only a part. For example, the notebooks are part of a knowledge base. They are multi-language.

But the more interesting bit comes from how you can extend the environment to make it fit the context of your problem. For example, a prominent way to extend is by creating contextual inspector views for different objects.

When taken as a whole, we end up with a new kind of a development experience that is centered around contextualizing the environment as part of development. It turns out that this is applicable to a wide range of problems.

For example, the talk video from the page shows examples from several domains: - it starts by browsing the file system of a React project and then querying the external dependencies from a package.json - then it goes into static analysis of React components and their dependencies - then it shows how to explore the data of a REST API and document its usage - then it goes to work with GraphQL and show how to combine it with imperative code to explore data; and even here, we go a step deeper and answer the question of how the tool worked (i.e., what query was sent to the server when we do not specify pagination completely) - then it shows how we can work with Python by extending the inspector with Python code - then it shows how we can also change the editing experience as well and make it contextual - then it shows how we can document a domain model through executable examples that when combined with contextual views become documentation - then it shows how to work with the knowledge base and even post live to a social media from it through a dedicated snippet - then it shows how we can explain a Docker setup and how the commands were derived from templates - then it shows again social media interactions but this time by browsing posts in inspectors and querying the feed live - and finally it shows how we can have a dedicated editor for configurations defined in JSON that know how to highlight, complete and navigate based on the schema information

Now, these are not features; they are just some ways you can use the environment for without the need for switching. The book from the environment shows even more such examples for inspiration. Each of these might look similar to some tool somewhere, but the possibility to have all of them in the same environment made out of the same pieces combined in many ways is the differentiator.

Does this help in any way?
by greyface- | 2025-04-07 07:02:24+00:00
The prohibition on using it for evil[1] violates guidelines #5 and #6. And more generally, OSI argues[2] that "public domain" != "open source".

[1]: https://github.com/sqlite/sqlite/blob/master/LICENSE.md [2]: https://opensource.org/blog/public-domain-is-not-open-source
by kazinator | 2025-04-07 07:02:36+00:00
There is no Open Source software that is not free, if we are using the OSI definition of Open Source. FOSS just adds a certain emphasis for reasons of the historic tension between the FSF/GNU "free software" advocates and the "open source" advocates. FOSS doesn't mean that OSS is not free without the F.

There are a few twits out there who believe (or at least troll) that proprietary software whose source code is available is "open source". So FOSS provides the minor and largely unnecessary benefit of making it clear that it's not that.
by milesrout | 2025-04-07 07:02:38+00:00
>A peculiarity of US law vs others is it follows letter-of-the-law vs spirit-of-the-law.

This is not close to true. The US legal system has many bizarre quirks (like elected judges, elected prosecutors, and a politicised judiciary) but this isn't one of them. It is a basic requirement of the rule of law that statutes are construed from their text, and not given meaning based on what judges wish their text instead was. People have the right to be able to have some level of certainty about what the law says.
by dmurray | 2025-04-07 07:03:04+00:00
The saved money and the payroll for new money are both in dollars per year, not one-time costs. So the additional premium needs to be 10%, not 5%, to erase the benefits, and it doesn't matter how many years you look at.

(I'm ignoring one-time costs like severance pay and signing/relocation bonuses which I don't think were the point of your message, and also the elasticity effect where you can pay existing workers the same even if it costs more to hire new ones. And I agree with your point in general that this is not a sensible way to save money, I just think your numbers are wrong).
by int_19h | 2025-04-07 07:03:38+00:00
There's no such country. Authoritarianism is always around the corner, because the only thing that really prevents society from slipping into it is broad social consensus that it's undesirable, and you can't guarantee that it will remain long term. Constitutions etc fundamentally are just pieces of paper; they matter only to the extent people choose to believe they do.
by HeatrayEnjoyer | 2025-04-07 07:05:17+00:00
Do you want to attract talent or people who take anything they can get? People who know what they're worth aren't going to waste investing their time into an employer who can't even guarantee that they'll still have a job next week.

Mundane government employees are some of the most dedicated workers I've met. There's a deep array of jobs that aren't flashy but are foundational and depend on staff who can build up long institutional knowledge.
by imgabe | 2025-04-07 07:05:18+00:00
> Fired federal workers typically do not get a severance. Those impacted by the recent reductions in force are not receiving severance packages.

Not true: https://www.opm.gov/policy-data-oversight/pay-leave/pay-admi...

This is separate from the deferred resignation plan DOGE was offering. Under that plan employees voluntarily resigned and continued being employed for approximately 8 months, with full pay and benefits and no duties. They were free to go get another job during that time. That is more generous than most layoffs.

The pension / relocation are real issues, but if you work in a job that has a demand in the private sector (e.g. Treasury department going to finance), the increased pay from the private sector often more than makes up for the loss of the pension.
by lukan | 2025-04-07 07:05:19+00:00
Indeed. Which is why I said:

"if no critical service depends on it, just update and see"

It did not sound like OP was running a hospital infrastructure. And I never did either, nor intend to. I try to have a linux that does what I want on my computer. 7z was helpful to me, so I shared it, that's it.
by sanswork | 2025-04-07 07:05:33+00:00
Plenty of people manager to avoid being social outcasts without using Instagram. Keeping up with your friends pictures and reels is hardly a needed part of friendship. Call, text, message your friends, organise to hangout, put their birthdays in your calendar.

You're not willing to make literally the smallest of sacrifice to get what you want in avoiding ads. You've chosen a discount mobile network, go with a premium one to avoid ads.

If you're not going to be willing to pay for these things today how will your life be when you're forced to because they are no longer subsidised by advertising?
by sofixa | 2025-04-07 07:05:50+00:00
> Do these nationalists always dismantle their nation

That's a very interesting premise.

I can think of a few counterexamples (Franco in Spain, for all the atrocities committed by his regime, Spain unquestionably progressed economically), but in general yes, nationalists are disasters when in power. Of course it doesn't help that often, especially nowadays, the nationalism is just a wrapper for a bunch of grifters that say whatever is needed to get into power (Farage, Le Pen, Trump, Orban, PiS, Putin). So they're just gifting for personal benefit (which explains the dismantling), advertised as nationalism because that convinces the masses.
by loktarogar | 2025-04-07 07:05:53+00:00
> Do we actually want "I just want a stable job" people being a significant part of the federal governments workforce?

Yes, if you can't offer someone market rates then you need to offer them other things to fill that void. Stability is one of them, and is actually a good thing in government, when politics is so volatile. If the workforce is fired every time a new party comes into power, you don't have a stable government.

Working with those constraints, you _can_ improve things, by building better systems and processes, that better use the resources you have. That's far better long term, but it's not as fast and does not generate headlines for DOGE.
by dexterlagan | 2025-04-07 07:06:40+00:00
Precisely, and more worrying, it may mean that tariffs implemented that way may only be effective if they are permanent. But once Trump is gone, the next administration will most likely drop the tariffs or at least scale back significantly. Which means that the market could be set for a much harder, much more durable crash. Tariffs are also a double-edged sword in the sense that all other nations will also boost their domestic production. This boost in production will remain even while tariffs are dialed back. Momentum alone will create uncertainty as to the nature of the world economy. We're in for a very rough ride.
by oladekola | 2025-04-07 07:08:02+00:00
I've been working on something that takes this further and lets you search through content and then builds a cognitive context graph that proactively organizes your work into clean, repeatable flows that surface in real time based on current activity.

https://www.loom.com/share/50a7561764db42de83c11921fe00c20b?...
by autoexec | 2025-04-07 07:08:32+00:00
Money is a terrible tool to measure the value of government services for society. Nobody gets rich delivering mail to remote locations, or providing food assistance, or managing forests, or letting people borrow books for free, but doing those things provides an invaluable service. There are many things we want from government that shouldn't make money. That doesn't mean that they aren't worthwhile or that they are inefficient. An efficient government isn't one that spends less money, it's one that does the best job providing services for the people.

> If we are heading towards an economy with labour shortage

We aren't. Especially not with the nation's largest employer hemorrhaging workers. Companies are doing everything in their power to replace workers with AI and machines as quickly as they can. There is an endless supply of immigrants who'd love nothing more than to live and work in the US.

Government workers are not employed with "useless skillsets" either. Every single job in the government will involve skills that can be applied elsewhere.
by signa11 | 2025-04-07 07:09:36+00:00
> The core point in this article is that the LLM wants to report _something_, and so it tends to exaggerate. It’s not very good at saying “no” or not as good as a programmer would hope.

umm, it seems to me that it is this (tfa):

But I would nevertheless like to submit, based off of internal benchmarks, and my own and colleagues' perceptions using these models, that whatever gains these companies are reporting to the public, they are not reflective of economic usefulness or generality.

and then couple of lines down from the above statement, we have this:

So maybe there's no mystery: The AI lab companies are lying, and when they improve benchmark results it's because they have seen the answers before and are writing them down.
by Braxton1980 | 2025-04-07 07:09:47+00:00
If pro life people really cared that millions of babies were murdered every year there would be assassinations against abortion providers and bombings of clinics.

It's about pushing Judeo-Christian morality. Punishing women for having sex outside the goal of procreation.

This has the same goal, STDs are a punishment for loose morals. Preventing or curing them works against that punishment.
by cm2187 | 2025-04-07 07:10:27+00:00
He has at most 3 to 6 months to get this sorted. After that a recession is all but guaranteed. His voters may not own stocks, but the people who own stocks are responsible for a huge part of consumer spending, and when they cut on spending, it is Trump voters who lose their jobs. As Cruz said, he has a very narrow window to not be wiped out at the midterms. I don't think anyone who voted Trump signed up for a recession.
by Infinity315 | 2025-04-07 07:10:47+00:00
We do not want manufacturing jobs, they suck. America has an amazing thing going on where we can trade 1s and 0s in exchange for physical goods. We have an infinite renewable resource which costs nearly nothing to reproduce infinitely. We have a defacto monopoly on technology and digital services.

I understand the national security reasons for having a domestic commercial manufacturing base. However, there is ZERO economic reasons to bring back manufacturing jobs.
by dexterlagan | 2025-04-07 07:11:35+00:00
To finish my thought: right now the market reaction is extreme, but it's fake in the sense that if tariffs were lifted tomorrow, the market would most likely go back to its former glory. In 3-4 years, once both domestic and foreign infrastructure has been built, it may not. If supposed massive investments are actually being made in US infrastructure, and that tariffs force companies to bite the bullet and stop producing abroad with cheap labor, what will happen when these incentives vanish? Will they go back to cheap labor? People will always prefer a 1k iPhone to a 2k iPhone. Especially if purchasing power has halved in the mean time. I'm expecting an extreme rubber band effect either way.
by blueflow | 2025-04-07 07:11:46+00:00
I maintain a huge number of git mirror of git repositories and i have some overview of activity there. Many open source projects have stopped activity and/or do not make any new releases. Like syslinux, which seems to be in a similar situation as unzip. And some projects like Quagga went completely awol and don't even have a functional git remote.

So unzip is not really that special, its a mode general problem with waning interest.
by luckylion | 2025-04-07 07:12:55+00:00
Is it though? Amazon knows my entire 22 year purchase history and could probably write down a broadly accurate history of my weight, disposable income, mental health, and how busy I was.

And yet it seems that entirely random ads would have a better chance of catching my interest than whatever super smart master mind strategy they are doing after spending thousands of years on that problem.
by eesmith | 2025-04-07 07:13:07+00:00
Based on the account name, bio, and internal evidence you should assume this is Don Hopkins. His Wikipedia entry at https://en.wikipedia.org/wiki/Don_Hopkins includes:

> He inspired Richard Stallman, who described him as a "very imaginative fellow", to use the term copyleft. ... He ported the SimCity computer game to several versions of Unix and developed a multi player version of SimCity for X11, did much of the core programming of The Sims, ... He is also known for having written a chapter "The X-Windows Disaster" on X Window System in the book The UNIX-HATERS Handbook.

I hope this experience helps you realize that jumping immediately to contempt can easily backfire.
by fatdoge | 2025-04-07 07:13:55+00:00
Hey HN!

Over the holidays, I challenged myself to build a toy project (Receipt Generator) using Trae.ai to automate everything—no manual code tweaking, no handwritten docs. Just pure "describe the goal and let AI handle the rest."

How it worked:

Trae.ai generated the core codebase based on my plain-English specs (e.g., "I need a receipt template with dynamic itemization, taxes, and totals").

Even the README was auto-generated by AI analyzing the code structure.

Surprise: The output was surprisingly usable. Minor edge cases, but nothing catastrophic.

Why share this?

Proof-of-concept for AI-driven prototyping: For small projects, "good enough" code + docs might save hours of boilerplate work.

The future of solo hacking? Less time wrestling with syntax, more time on logic and UX.

Check it out:

Live Demo: receipt-generator-ten.vercel.app

Code: github.com/FatDoge/receipt-generator

Questions for the community:

How far can we push AI tools like Trae.ai before hitting a complexity wall?

Anyone else experimenting with "zero-touch" coding workflows?

(Disclaimer: Not affiliated with Trae.ai—just a curious dev!)

Why this works for HN:

Curiosity-driven hook: Emphasizes the experiment ("zero manual code") and AI’s role.

Transparency: Links to code/demo let readers validate claims.

Discussion fuel: Asks open questions to spark debates about AI’s limits in dev workflows.

Concise wins: Highlights tangible outcomes (auto-README, functional demo) without overhyping.
by p2detar | 2025-04-07 07:14:53+00:00
It did, but on enterprise level. S/MIME uses the CA hierarchical trust model, which is centrally managed and much more compatible with how internal enterprise structures are built. In a large enterprise you would have IT managing your AD/CS and therefore also managing the issuing, revocation and so on of employee certificates. But for the public this model of management isn't really practical.
by milesrout | 2025-04-07 07:14:53+00:00
>There is a deeply-ingrained view that the market is optimally efficient (for what?) and any attempt to regulate or direct it will result in inefficiency at best, and deep structural problems at worst.

No the view is that there are some necessary forms of regulatory intervention, some that are harmful, and a grey area where it depends on your priorities (are you optimising for economic growth, or are you optimising for, say, environmental protection at the cost of growth; both are valid.)

Only a tiny fringe of weirdo anarcho-capitalists think there should be zero government intervention in the economy. Treating any free market liberal as having equivalent views is a ridiculous straw man.

>This belief is totally free-standing, built on rhetoric alone, and obviously wrong (you literally cannot make a free market, it's not a coherent concept).

God talk about the irony. You haven't made a single logical argument in your whole post. Your post is pure ideology. Making bare assertions like "you literally cannot make a free market" or "policies inspired by this are uniformly disastrous" isn't an argument. It is unsubstantiated rubbish.

>Policies inspired by this thinking are uniformly disastrous

People that say this sort of thing have no idea how horrible life was when everything in society was heavily regulated. Do you have any idea how inefficient goods delivery across the US was before trucking was deregulated? Sadly it didn't get done at the state level to the same extent. The result is that it is now cheaper in many cases to have things delivered from outside your state even though it is further away.

>and we've finally begun buckling under the weight of the wealth gap it created.

Nothing is buckling. A "wealth gap" doesn't matter. What matter is absolute levels of wealth. It sounds like you would rather everyone be equally impoverished than for some to be rich and others to be extremely rich.

The average person today - even the average poor person today - is extraordinarily rich by historical standards. That is entirely because of free markets. This is economic history 101.
by formerly_proven | 2025-04-07 07:15:31+00:00
Traditional Nikon NEF is pretty simple. It's just a tiff. Lossy compression is just gamma-encoding with a LUT (stored in the file). I think most traditional raws are principally similar. More complex compression schemes like ticoraw are fairly recent.

What's complex is the metadata. All the cameras have different AF, WB and exposure systems.