MurphyA/hacker-news huggingface dataset:
by _kush | 2025-04-09 16:13:20+00:00
Great article! I’ve noticed that most screen time discussions focus heavily on mobile usage, which makes sense given the data, but I think we underestimate how much desktop screen time also affects our health.

As someone who’s been building LookAway[0] (a mindful break reminder app for Mac), I’ve seen firsthand how easy it is to slip into hours of continuous screen time at a desk resulting in things like eye strain, posture issues, and even productivity dips.

Would love to see more awareness and tools around managing desktop screen habits!

[0]: https://lookaway.app
by throw4847285 | 2025-04-09 16:13:32+00:00
It is considered socially unacceptable to armchair psychoanalyze other people, but I think we can waive that when it comes to the most powerful politician on the planet.

https://www.nytimes.com/2025/04/09/opinion/trump-tariffs-rat...

In some cases, Occam's Razor says, "this person is not acting rationally" and you have to weigh that possibility even if it is uncomfortable. Desire for dominance is common, and is not rational. Why should it surprise us to see it in Trump?
by readthenotes1 | 2025-04-09 16:14:10+00:00
That's why there's no massive sweeps like fear mongers promised.

Even with the approximately 100,000 that have been rounded up since late january, my understanding is that holding facilities are full in the US.

--

The other side of this is that if the ~15 million people in the US illegally were to simply turn themselves in, it would cause such chaos that Congress might finally decide the problem is no longer more valuable to keep than to address. Malicious compliance is a powerful tool ...
by coryrc | 2025-04-09 16:14:15+00:00
If you come into ED with GGP's symptom's, you might only have an hour to live. Hopefully for you it's bacterial and didn't pick up resistance from horizontal transference from a strep throat treatment that's trivial to culture and, while unpleasant, can wait a few hours to start treatment while the correct bacteriophage is readied.
by pmontra | 2025-04-09 16:14:36+00:00
Every native toolkit has its own idiosyncrasies. Some are closer to the OS official look, which changes along the years, some are different. I'm for a relaxed definition: if it's graphical it's a GUI, if it's text it's a TUI. Then we have larger or smaller rendering libraries. The browser is a particularly large one but often it's got the advantage of automatic app updates.
by SamBam | 2025-04-09 16:14:36+00:00
I feel like Anthropic has an incentive to minimize how much students use LLMs to write their papers for them.

In the article, I guess this would be buried in

> Students also frequently used Claude to provide technical explanations or solutions for academic assignments (33.5%)—working with AI to debug and fix errors in coding assignments, implement programming algorithms and data structures, and explain or solve mathematical problems.

"Write my essay" would be considered a "solution for academic assignment," but by only referring to it obliquely in that paragraph they don't really tell us the prevalence of it.

(I also wonder if students are smart, and may keep outright usage of LLMs to complete assignments on a separate, non-university account, not trusting that Anthropic will keep their conversations private from the university if asked.)
by tfandango | 2025-04-09 16:14:42+00:00
We get to check a box on what AI we use when we close a ticket. I used to select "none" because most of the time that was the case, sometimes I would pick one if I used it to build some scaffolding or explore some performance issue.

But then we started having AI demos with the CTO where the presenters would say things like "I don't know how to code in python but now I don't need to! yay!" and the C level people would be very excited about this. That's when I realized that these poor developers who just want to brown nose and show off to big cheese are instead making an argument for their own demise.

Meanwhile I asked AI to make me a test and it mocked out everything I wanted to test, testing nothing, but passing. I wonder how much of these kinds of tests we have now...
by zX41ZdbW | 2025-04-09 16:14:49+00:00
ClickHouse is a single binary. It can be invoked as clickhouse-server, clickhouse-client, and clickhouse-local. The help is available as `clickhouse-local --help`. clickhouse-local also has a shorthand alias, `ch`.

This binary is packaged inside .deb, .rpm, and .tgz, and it is also available for direct download. The curl|sh script selects the platform (x86_64, aarch64 x Linux, Mac, FreeBSD) and downloads the appropriate binary.
by onion2k | 2025-04-09 16:15:37+00:00
Isn't the point that Google caches the site, and the visitor loads the caches SXG data from Google, and they never hit the server of the site itself. It's like AMP on steroids. It definitely doesn't count as a visit for the site in question.

https://developers.google.com/search/docs/appearance/signed-...
by rapawel | 2025-04-09 16:15:38+00:00
Thanks, fair point.

I skipped technical terms like “prefetch” or “SXG” in the title to make it more approachable and spark curiosity — but I get how that could feel misleading.

You're right that prefetching counts as a visit in some sense. The point of the demo was to highlight how unexpected it can feel to load a site while offline, even if you never actively opened it before.
by hx8 | 2025-04-09 16:16:40+00:00
> But if we bump the cost of freight, insurance, and customs from $5 to, say, $28, then they wholesale the shoes to Footlocker for about $75. And if Footlocker purchases Nike shoes for $75, then they retail them for $150. Everyone needs to fixed percentages to avoid losses.

I don't understand this paragraph. If Footlocker was okay with $50 profit/shoe, why do they need to claim $75 profit/shoe in their costs per shoe go up? The costs of handling the shoes, retail space, advertising, and labor are all fixed.
by tyoma | 2025-04-09 16:16:49+00:00
I think its less amnesia and more that many commenters were too young to have experienced pre-Uber taxis: the call for a pickup thats routinely ignored, flailing arms in the cold hoping someone stops, the smelly car, refusal to pick you up because your ride is too short or too long, getting taken for an extended ride to your destination, the credit card machine thats always broken. Oh, and if you want to complain I hope you can make an 8am hearing at the taxi commission in 6 weeks.
by TheGrognardling | 2025-04-09 16:17:03+00:00
The EU AI Act, while I personally find it to be overreach, has certain points that I certainly agree with, and are encouraging given that every major platform has huge userbases in the EU. The first Executive Order on AI in the US following announcement of the AI Action Plan is surprisingly rigid whilst still encouraging innovation, especially given all of the drama regarding federal agencies as-of late. Creative industries are increasingly drawing clear lines on where AI use is and isn't acceptable, especially among individual studios and unions following the SAG-AFTRA strikes of 2023-2024. And ultimately, this is all not even considering the profound advancements in education, biotech, and healthcare.

This is very easy to lose sight of, especially given rapid advancements, but it's important. I think certain companies like Anthropic definitely have safety approaches that I agree with more, being more thoughtful and having clearly-outlined scaling policies (such as the latest Responsible Scaling Policy effective March 31 of this year) versus more vague safety promises such as from companies such as OpenAI and Google. Websites such as https://www.freethink.com have wonderful essays espousing techno-humanism that ultimately gives compelling arguments on how AI will be a progressively beneficial force on humanity, rather than detract from it.

Yes, there WILL be growing pains - as is what happened with the internet and the World Wide Web. But, I am confident that we will adapt. There is no better time in history to be living in than right now.
by Sonnigeszeug | 2025-04-09 16:17:47+00:00
This is probably secondary.

The biggest f* to the world is an oligarch / the richest person in the world, dismantling social help for poor people.

I'm pretty sure there have been death due to this.

You can't disrupt a governance and poor people like twitter without real consequences (and yes even for the twitter people it was shitty but lets be real, no food vs. getting fired from a well paying job is not the same)
by brokencode | 2025-04-09 16:18:01+00:00
If it could be implemented that way and would be helpful where Google fails, then why has nobody done this? I’d love to try this out if you can point to a product that does this.

You can criticize LLMs all you want, but the fact is that they provide value to people in ways that alternatives simply don’t. The energy consumption is a concern, but don’t pretend there are viable alternatives when there aren’t.
by dboreham | 2025-04-09 16:18:27+00:00
The shoes aren't even needed. Growing up in Scotland (not poor) in the 1970s I had one pair of shoes. When they wore out my mother would buy me a new pair. Today in the US I have so many pairs of shoes I don't really have space to store them and sometimes end up buying a new pair of shows I already own because I can't keep track of what's in the closet.

Btw the one thing that will be left to show is a wider realization that it's a bad idea to elect a crazy person.
by piva00 | 2025-04-09 16:18:42+00:00
Where I live taxis are on par with Uber, sometimes cheaper when Uber has surge prices. We also have Bolt, an European competitor, which is usually 10-40% cheaper than Uber or taxis.

Every Uber or Bolt can also operate as a taxi since the regulations stipulate that any private passenger transport service is the same as a taxi, and has to follow the same regulations.
by bluefirebrand | 2025-04-09 16:19:12+00:00
> Meanwhile I asked AI to make me a test and it mocked out everything I wanted to test, testing nothing, but passing. I wonder how much of these kinds of tests we have now

This sort of thing is what I'm most worried about with programmers who are very bullish on AI.

I don't think it's too controversial to say that most developers are much worse at reviewing code than they are at writing code

AI generated code is a code review exercise. If you accept my premise that most devs are worse at reviewing code than writing it, this should ring some alarm bells
by tenwz1 | 2025-04-09 16:19:19+00:00
You are a kind person, and I admire you very much. At least before 2018, our general view was that there was nothing wrong with maintaining "one country, two systems" and we would work together for development. But the problem is that our relationship with Taiwan is always easily sown by other countries, who try to make Taiwan independent instead of recognizing "one China".
by dijit | 2025-04-09 16:19:38+00:00
Microsoft getting hacked proves my point more than you think, they're less likely to get hacked now because they have scar tissue. You're basically saying: "If you ever get hacked your reputation is burned forever, but I want these guys who have never done it before to handle logins for me even though they are saying that they are not comfortable with the extra responsibility". Get over yourself.

If you trust your email provider: Ask them to set up an OIDC provider then.

Email is insecure. I can't be the first person to tell you this.

Multiplying your logins is not more security, it's less in the majority of cases.
Show HN: Color characters then see them dance on screen (not AI)
by flippy_flops | 2025-04-09 16:19:53+00:00
I built a simple web app for my kids to color a character template, then see their creations dance on a screen (almost instantly). It was inspired by the Crayola Experience in Dallas.

I first built it as a weekend project for my daughter's Halloween party at school. Then my son asked to do it at his Valentines party. Then a friend asked me to run it at their STEAM party.

The code is a bit of a dumpster file - hacked together in a few weekends. Wish I could say it was vibe coded, but nope. I'm just that bad at animation stuff.

Tech stack: NodeJS, ThreeJS for animation, QR code scanning (zxing-wasm) for template detection/alignment, and Adobe Mixamo for the dance animation.

Anyways, I wanted to share in case someone would like to use it for their kids. It's got readme instructions if you want to customize the characters and background.

Code is MIT licensed and available at: https://github.com/bendytree/dancing-characters
by cyberax | 2025-04-09 16:19:54+00:00
To add to your point, for tariffs to even work, they _have_ to be permanent. There can't be any room for negotiation in them.

If an investor wants to build a factory to produce shoes (a process that can take years), they need to be sure that the tariffs won't just go away next year.

Trump's tariffs are anything but this.
by isotypic | 2025-04-09 16:20:02+00:00
> In guideline 1v1 a lot of very high level games are decided by garbage RNG which I think is even less interesting than determining who is 0.1pps faster.

I have played a lot of (moderately high level) 1v1 tetris and I would have to disagree. In fact I often felt that the reverse is true - if I felt I died to garbage hole RNG, really that meant I was getting out pressured and would have lost eventually anyways. And while my playstyle was more aggressive, try to out speed opponent, I lost my fair share of games to people playing (much) slower but just incredibly efficient.

I agree there is an overall disappointing amount of interaction between players, though. Watching your opponents board and adjusting to it is hard and takes a while to build the skill to do. And a lot of the times you can just get away with it by playing faster and out pressuring and ignoring the other player.
by aidanhs | 2025-04-09 16:20:32+00:00
As a number of comments have noted, there are a bunch of different axes that chroot could be 'better' on - e.g. security and sandboxing.

I wrote https://github.com/aidanhs/machroot (initially forked from bubble wrap) a while ago to lean into the pure "pretend I see another filesystem" aspect of chroot with additional conveniences (so no security focus). For example, it allows setting up overlay filesystems, allows mounting squashfs filesystems with an overlay on top...and because it uses a mount namespace, means you don't need to tear down the mount points - just exit the command and you're done.

The codebase is pretty small so I just tweaked it with whatever features I needed at the time, rather than try and make it a fully fledged tool.

(honestly you can probably replicate most of it with a shell script that invokes unshare and appropriate mount commands)
by poutrathor | 2025-04-09 16:20:52+00:00
Here is my feedback.

Steps are not clear enough. It looks to me it's a step by step guide but it missed at least 2 points :

- the search engine must be Google I think ? Mine is duckduckgo and it doesnot work

- I still dont know if my device is supposed to be in airplane mode or no for the test. In airplane mode, even with Google set as the search engine, it does not work. Pixel phone. If I am connected to internet, I do have the single result from the google search.

I guess we are expected to be pleasantly surprised by something, but since I don't know what to look for and it does not work, it's a miss for me.

Personally I prefer to have the explanation alongside the steps that way I know what I am doing and can correctly interpret the instructions. For me, learning the technical trick does not diminish my contentness.
by ncr100 | 2025-04-09 16:20:58+00:00
Cool, jumping in as a noob to multiplayer dev, so currently for BitCraft MMORPG simulation, e.g. to prevent "god-mode flying", would be done outside the server.

Q How is that coordinated with the SpacetimeDB? Is there a penalty, or perhaps a correction applied to the malicious client (and replicated to listening clients) in the case a hacker modifies their movement illegally?

Tx for sharing your time btw!
by jandrese | 2025-04-09 16:21:01+00:00
Here is the abstract if you can't load the page normally:

A recent meta-analysis in this journal (Taylor et al 2025) produced ostensible evidence of a negative correlation between fluoride exposure and intelligence in children, which garnered major public attention. There has, however, been criticism of this undertaking and conclusions. In order to address the controversy over this work, we in this special communication undertake an independent forensic meta-science review of the methodology and statistical approaches employed and inferences drawn by the authors, as well as an investigation of the underlying data integrity of the constituent studies. We find that the authors employed unjustified methodological and statistical errors which invalidate their conclusion, and demonstrate that the data cannot be analysed as the authors assert. We further find major problems with the sources employed, including reliance on studies from non-MEDLINE indexed publications with an anti-fluoridation editorial stance, and major underlying issues with the data reported in several instances, indicative of impossible or unreliable data. Taylor et al is not reliable nor are its errors remediable. It should be retracted to avoid harms to public health and scientific discourse.
by aimor | 2025-04-09 16:21:07+00:00
Trying to summarize the summary for myself

From a $100 shoe that sells for $76:

- $24 goes overseas (22 cost, 2 freight)

- $8 goes to the US gov't (3 import, 2 Nike tax, 3 Footlocker tax)

- $33 goes to US employees or businesses (5 Nike marketing, 11 Nike expenses, 17 Footlocker expenses)

- $5 goes to Nike (11% return)

- $6 goes to Footlocker (8% return)

But now with 100% tariffs, it's a $100 shoe that sells for $100 (or a $132 shoe that sells for $100) and:

- $24 goes overseas (22 cost, 2 freight)

- $29 goes to the US gov't (22 import, 3 Nike tax, 4 Footlocker tax)

- $33 goes to US employees or businesses (5 Nike marketing, 11 Nike expenses, 17 Footlocker expenses)

- $7 goes to Nike (11% return, 7.15 exactly)

- $7 goes to Footlocker (8% return, 7.45 exactly)

And if a US shoemaker wanted to undercut the import, a Made in USA shoe that sells for $100:

- $7+ goes to the US gov't (? shoemaker tax, 3 Nike tax, 4 Footlocker tax)

- $79 goes to US employees or businesses (46 to shoemaker, 5 Nike marketing, 11 Nike expenses, 17 Footlocker expenses)

- $7 goes to Nike (11% return, 7.15 exactly)

- $7 goes to Footlocker (8% return, 7.45 exactly)
by BrandoElFollito | 2025-04-09 16:21:20+00:00
Who came for you? You want to go to the US (or any other country) and therefore you align with their rules.

Nobody forces you to go there, and especially play secret agent. If you go, you know that what you have can be searched so have nothing, or have something that is not controversial.

The same applies to all the countries in the world.
by not_your_vase | 2025-04-09 16:21:29+00:00
Of course I read it. And unless you are posting pictures about yourself on reddit announcing that you are a ban evader, you are making mistakes that reveal your identity - you share one of your known IPs, or you share some of your registration details between the accounts.

Or alternatively reddit admins are psychics, in which case you should give up (or train to be a better psychic)
by JumpCrisscross | 2025-04-09 16:21:39+00:00
> the point isn’t to hurt China, it’s to reduce US dependence on China

This was the Thiel pitch. We’re instead driving our allies and trade partners into China’s arms.

> Americans should proceed with the assumption that the Chinese are a co-equal great power

America basically has been. Coëqual great powers compete. (And China is a regional power on the verge of becoming a great power. It doesn’t yet have demonstrated force-projection capabilities, though it’s building them.)
by dysoco | 2025-04-09 16:21:49+00:00
I don't know a single person who is better off, perhaps people in the finance industry.

Consumption is down, sales are down, there's more people in the streets and pretty much everyone has seen their real purchasing power gone down, but specially people in the public sector (I know a lot of people in education, health and science). I'm not saying it's drastically worse but it's worse.

No, we weren't doing great before but we are definitively not doing "better" now, at least not in the day to day, perhaps in some numeric metric published by the government.
by eastbound | 2025-04-09 16:21:55+00:00
Infringement is good for the economy. Even our nations have progressed at a time when none of that was enforced, and are only strolling since then (or, as you may aptly say, rent-seeking).

PS: For those of us in software who wonder whether an economy without IP could exist, entire software industries exist without copyright protection, one trick for example is to provide the service behind the cloud, so customers never have access to the source code; meanwhile OSS, which is based on preventing restrictions on sharing, is the eighth wonder of the world, which has proven that IP is unnecessary to software.
by 827a | 2025-04-09 16:21:58+00:00
We're hiring for a software engineer right now. The amount of time our single HR professional has had to invest in sorting through scam candidates is ungodly. We had someone apply to the job three times, using different names and resumes each time. We've had two candidates who we suspected were responding to questioning with an AI tool that was listening to the interviewer's voice (poorly, which might be the only reason why we caught them). We had one candidate who said they were on the east coast, but upon further investigation, the person didn't exist; and following a hunch, upon casually bringing up that it seemed pretty dark where they were at, they disconnected from the call and we never heard from them again.

If you think these scams aren't real, you aren't looking. We're a remote company, but our policy is now to only hire candidates from internal referrals, or candidates who are in a location where someone on the team they're hiring into can grab coffee with them.
by aidanhs | 2025-04-09 16:22:29+00:00
One annoying part of using chroot if you're creating them on the fly is teardown - you have to manually invoke umount, and also take care to get this right for partially created chroots (maybe you detected an error after mounting proc, in the process of getting other files in place).

This was my original motivation in creating machroot (mentioned elsewhere in this thread) and having it use namespaces.
by microtonal | 2025-04-09 16:22:43+00:00
this whole new thing believed to have "never been done before";

Nobody with knowledge of sandboxing believed this, Virtuozzo and later OpenVZ had been on Linux for a long time after all. Virtuozzo was even from a similar time frame as FreeBSD jails (2000-ish).

The key innovation of Docker was to provide a standardized way to build, distribute, and run container images.
by jandrewrogers | 2025-04-09 16:22:51+00:00
Anecdotally, working on mission-critical always-on systems when I was a junior developer was influential on the development of good habits when writing code that have carried through in contexts where such code quality was not required. In my view I benefited greatly from this exposure early in my career.

A lot of it is pretty basic: checking every single return code, testing every single branch, verifying that the external environment is doing what it claims or should be doing. All of this is muscle memory now, I find it difficult to write a throwaway python script without doing this. I also don’t feel like the degree of thoroughness I put into it significantly slows down development either compared to other developers that YOLO it a bit more; I spend a bit more time writing it, they spend a bit more time debugging it in test. And in prod, the former approach has lower defect rates.

It doesn’t need to be safety critical embedded software, which has a somewhat niche set of problems. Even fairly high-level data infrastructure has many of these same challenges.