MurphyA/hacker-news huggingface dataset:
by photonthug | 2025-05-04 09:40:40+00:00
While removing weird stuff from daily bash annoyances is interesting, I'm not necessarily looking to replace that with brand new but also pretty random weird stuff. Adding new rules isn't the same as adding structure. The documentation is also frequently strange in a way that makes it hard to digest. From https://elv.sh/learn/first-commands.html#external-commands

> While Elvish provides a lot of useful functionalities as builtin commands, it can’t do everything. This is where external commands come in, which are separate programs installed on your machine. Many useful programs come in the form of external commands, and there is no limit on what they can do. Here are just a few examples: Git provides the git command to manage code repositories

At first I thought, wait, is this a shell or not, do I have to write code or something to get access to normal external commands? But no, this is more like going to a car dealership and having the salesman say "Hey thanks for coming by, a car is a mechanical device consisting of metal parts and rubber parts for the purpose of taking you where you need to go! Now that we're on the same page about that, money is a thing made of paper for the purposes of .."

Docs are hard, once or twice is fine, but lots of parts are like this and I gave up reading. Not sure if it's AI generated, but if the project is doing that then it should stop, and if it's not doing that it should consider starting to
by swores | 2025-05-04 09:41:09+00:00
It's an intentional policy shift that has come not only as guidance to medical professionals, but as an awareness campaign (posters in pharmacies etc.) to the general public that most minor infections don't need antibiotics, and so ones that the body should be able to deal with on its own will no longer be prescribed antibiotics.

It used to be that they were prescribed much more freely, because on the level of an individual case it's unlikely to do any harm and might help speed up getting better, and it was an easy way for doctors to make patients feel cared for to send them off with a prescription. But sensibly that's been course corrected now.
by bgwalter | 2025-05-04 09:43:10+00:00
""The adoption of these chatbots has been remarkably fast," Humlum told The Register about the study. "Most workers in the exposed occupations have now adopted these chatbots... But then when we look at the economic outcomes, it really has not moved the needle."

How does that comply with the GDPR? OpenAI now has all sensitive data?

The article markets the study as Danish. However, the working paper is from the Becker Friedman Institute of the University of Chicago:

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5219933

It is no wonder that the Chicago School of Economics will not find any impact of AI on employment. Calling it Danish to imply some European "socialist" values is deceptive.
by svilen_dobrev | 2025-05-04 09:43:25+00:00
sigh. Somewhat like the flying car, and the fusion..

Similar title, 7 years ago: https://news.ycombinator.com/item?id=17108828

Still keep fingers crossed it would make it.

btw, one possible side effect of mass-adoption of this will be that roads will be left to deteriorate and become worse - with much more potholes and what-not - as cars will not need it. Or such will be the excuse..
by ElFitz | 2025-05-04 09:43:52+00:00
We were a bit late when we discovered wireless USB had been a thing. Still, we managed to find one pair of emitter and receiver that also transmitted HDMI, power the "receiver" side with a battery, in a backpack, and hook it up with another power bank to an Oculus DK1.

Unexpectedly, battery time was never an issue. The WUSB chip in the receiver would overheat long before that and start throttling, leading to jittery head tracking.

Turned out, it was a widespread issue with that WUSB chip.
by lambdaone | 2025-05-04 09:43:56+00:00
I do something very similar, but use two time constants. One to determine how many consecutive samples are needed to change from the established state, and a second one, as suggested here, to ignore subsequent input for a bit after a registered state change to allow for bouncing before going back to the receptive state. This is a bit more robust, as practical systems are always at the mercy of occasional glitches in electromagnetically noisy environments.

With well-chosen constants, I've found similar behaviour to the above; low latency and high performance at once.
by wkat4242 | 2025-05-04 09:44:02+00:00
It probably doesn't even need a board, you can just wire all the sensors in a box and solder the cables. Each sensor only has 3 or 4 and so does the display.

But a board is cleaner and they're super cheap to get made in China unless you're shipping to the US I guess lol.

I've built sensor boards like these too. But more with Dallas one wire sensors to measure temperature in different locations of central heating systems.
by iainmerrick | 2025-05-04 09:44:21+00:00
I'll still be downloading some identical content 100 times.

That doesn't seem like a significant problem at all, on the consumer side.

What is this identical content across 100 different pages? Page header, footer, sidebar? The text content of those should be small relative to the unique page content, so who cares?

Usually most of the weight is images, scripts and CSS, and those don't need to be duplicated.

If the common text content is large for some reason, put the small dynamic part in an iframe, or swap it out with javascript.

If anyone has a genuine example of a site where redundant HTML content across multiple pages caused significant bloat, I'd be interested to hear about it.
by unfunco | 2025-05-04 09:45:35+00:00
Myself, and many of my friends here in Wales were outraged too, plenty of tutting could be heard. Mindless destruction of something old and beautiful just because it's there and people enjoy it, normally an act of children who can sometimes be excused for not yet having the capacity to appreciate things, but this is two grown ups.

Small towns across the country have turned to shit, they're boarded up, with only charity shops, vape shops, and betting shops left, more and more people are turning to the countryside for simple enjoyment, especially since Covid; and now that's being chopped up violently too. It was more than just a tree.
by hnlmorg | 2025-05-04 09:46:48+00:00
That’s how BT originally worked too but it got abused (I touched on this in my original comment when I said BT was insecure). The paring is a security measure to protect people from abuse.

Back when BT was new, I used to get all sorts of random shit pushed onto my phone every Friday night on the drunk train home from London.
by svilen_dobrev | 2025-05-04 09:47:01+00:00
they even had a project for hydraulic-driven wheels - some kind-of water-mill in each wheel, and a huge pump, and that's it :)

p.s. long time ago i bought a 15y old hydraulic Citroen, drove it for 10 years.. the hydraulics was less breaking than the engine :/ . Now i have another (recent) Citroen but that "road-surface-ignorant" feeling of the hydraulics is completely gone.
by rcMgD2BwE72F | 2025-05-04 09:47:04+00:00
I believe in the opposite.

Because we can't transfer easily transfer files between devices remotely, we had to get used to do it via apps. And so we didn't developed good, local files browsers (esp. for media) and companies invested in the cloud UI mostly because they could sell the storage and sharing capabilities. That was all unnecessary but we're used to that now to a point where sharing files is weird.

As a power user happily syncthinging all my files between all my devices, I'm sad because files is the easiest thing to share, organize, transfer, etc. I wish iOS supported this kind apps (full storage access!) as we could avoid the many, crazy, Alps specific workarounds just to share some stupid files.

And don't confuse the file itself (say, a pirated movie), the metadata (IMDb IDs) and the apps UI (Kodi!). Files is what we have, we should share files and let anyone pick the browser/apl they like for viewing, organizing…)
by andyjohnson0 | 2025-05-04 09:47:24+00:00
I'm disappointed by the amount of cynicism on display here. Yes, it was "just" a tree, and we have others. It also seems that the stump is still alive, so in some sense it wasnt "killed".

But it was also a thing of beauty that was deliberately mutilated for no reason. I think many people worry that this kind of casual destruction is becoming increasingly commonplace, and that valuing natural beauty is becoming harder to even comprehend in the coarsend popular culture of this little island.

Edit to add:

Over the last few years in the UK a great many ancient trees have been cut down to build HS2, as well as various roads. To the developers they were just an inconvenience: in the way, and not offering any opportunity for value extraction except as dead timber. They were probably also not as instagrammable as the tree in question.

Mostly the media coverage of this focussed on the human conflict, not the trees themselves. I wonder whether we're losing our ability to even talk about the dignity and intrinsic value of non-human things.
by wrasee | 2025-05-04 09:48:22+00:00
I thought the advent of UFEI would finally put GRUB to rest.

Worse, if you dual boot and each OS installs its own GRUB you can get all kinds of silly situations where one GRUB will chain load to another GRUB and then boot the OS.

Why not just hit F12 (or whatever) and UEFI gives you this nice little menu of all your boot options right there, before installers can come in and ruin it. (Like Windows that always seems to barge in and put itself on top trashing whatever you had before.)
by ibizaman | 2025-05-04 09:49:28+00:00
Ah you’re right. I should’ve been more clear.

I’m deploying on my server and it self hosts 10 or so services. Like Nextcloud and Vaultwarden. The playwright tests are to test those. It’s pretty basic like just checking I can create a user and still login. But it still caught a few regressions. And they’re still WIP. I’m getting close to being able to validate the LLDAP + Authelia config works too. It’s particularly useful in conjunction with automatically running flake update in CI. So all inputs get updated on a schedule and the tests give some level of guarantee that my server won’t break. It’s essentially QA tests automated.

This link shows what the playwright tests look like. They are parametrized on the service to test so I’m sure I’m testing the same functionality every time. https://github.com/ibizaman/selfhostblocks/blob/c2148eda7704...
by zacka | 2025-05-04 09:51:05+00:00
ClearMotion founder here! Wanted to share some insights that might answer questions from other commenters and clarify what we've developed.

The ClearMotion1 system is a major leap above all tech currently on the market, with transmitted vibration reduced about 80% versus top market technologies. Here's a video comparing it on production NIO cars against luxury vehicles using semi-active (or slow active) systems others mentioned - sort of like comparing a microcontroller to a NVIDIA H100. http://bit.ly/44TDtgl

This matters especially for autonomous vehicles, where the whole point is to give people back time, and preventing motion sickness while working/reading is essential.

Our tech stack:

- Electro-hydraulic actuators that both push/pull actuate and dampen within a few milliseconds, using electric motors (not solenoid valves or special fluids). We use integrated hydraulics as a mechanical gain lever

- Predictive control software that anticipates vehicle, driver, and road dynamics

- "Infinite preview" control using crowdsourced road data with <3cm localization precision

- Software-enabled features including pre-crash posture mitigation and tire grip technology

The combination creates a "software-defined" chassis, similar to how electric power steering enabled today's driver assist features.

Our Bose acquisition was to acquire specific control software and engineering talent, but most of our IP and our production hardware/software was developed in house.

There were a few questions about durability— our system has passed 5 years of testing across millions of miles - a requirement from all of our customers like NIO and Porsche. It’s also a reason why it’s so difficult to succeed as a startup in automotive, but once you’re in, you’re locked in long-term.
by librasteve | 2025-05-04 09:52:31+00:00
this here is the main idea of HTMX - extended to work for any tag p, div, content, aside …

there are many examples of HTMX (since it is a self contained and tiny) being used alongside existing frameworks

of course for some of us, since HTMX brings dynamic UX to back end frameworks, it is a way of life https://harcstack.org (warning - raku code may hurt your eyes)
by timr | 2025-05-04 09:52:43+00:00
> What if you have a modal opened with some state?

Stimulus controllers can store state.

> Or a form filled with data?

Again, you can either use a Stimulus controller, or you can just render the data into the form response, depending on the situation.

> Or some multi-selection in a list of items that triggers a menu of actions on those items?

So, submenus? Again, you can either do it in a Stimulus controller (you can even trivially do things like provide a new submenu on the fly via Turbo), or you can pre-render the entire menu tree server-side and update just the portion that changes.

None of these are complex examples.
by anenefan | 2025-05-04 09:52:51+00:00
https://archive.md/idcVg

To clarify some elections the body responsible for running the voting (Australian Electoral Commission -- AEC) at times sends out to each person on the electoral role, an ID card via mail to their listed address which they are meant to bring along to voting. But getting a licence out so the person taking those necessary details can see the official address which helps if it's a mouthful - just one of the things we do.

There are also a couple of exemptions where people won't get fined if they don't vote, those who've move frequently used to be one reason.

However most people are used to voting here and want their say even if their electorate is heavily one sided / aligned with one political party. (Once instead of party I'd have used the word ideology.) Certainly compulsory voting has its benefits considering the shenanigans elsewhere in the world, one can really appreciate not having the whine that inevitably follows non compulsory voting news - if only more people voted.
by 2Gkashmiri | 2025-05-04 09:53:30+00:00
Merge/compress with Max size / color-greyscale/ remove pages / multi format import like PDF and images as input / export options/ export into multiple files if file size exeeds certain size.

And like my earlier comment, a way to define these multiple steps in a flow so that people can do multiple steps with a single file without having to learn command
by swores | 2025-05-04 09:54:37+00:00
Keep in mind that even in the excellent documentary to which you refer, about Dr Hugh "House" Laurie, MD. PhD. McT., the premise is that his setup - a dedicated diagnostics team to focus on difficult to diagnose cases - is a rare concept, not something seen at most US hospitals. There wasn't, for example, a similar team in that other great documentary "Scrubs".
by ETH_start | 2025-05-04 09:55:12+00:00
Buffett's father, Howard Buffett, was perhaps the most libertarian congressman in U.S. history.

He was also a vehement opponent of foreign military intervention, including military aid:

"Even if it were desirable, America is not strong enough to police the world by military force. If that attempt is made, the blessings of liberty will be replaced by coercion and tyranny at home. Our Christian ideals cannot be exported to other lands by dollars and guns. Persuasion and example are the methods taught by the Carpenter of Nazareth, and if we believe in Christianity we should try to advance our ideals by his methods. We cannot practice might and force abroad and retain freedom at home. We cannot talk world cooperation and practice power politics."
by mmarian | 2025-05-04 09:56:10+00:00
I shared my profile on whoishiring[1] once, didn't get anywhere. To be honest I doubt that'll work unless you've got something that's in demand.

Bit surprising that you can't even get interviews after working at Meta. How pick are you with the roles?

1- https://news.ycombinator.com/submitted?id=whoishiring
by krisoft | 2025-05-04 09:59:05+00:00
> Not sure what are you even trying to say with your last sentence, pretty self-contradictory.

Not self contradictory at all. The sentence i was responding said hundreds of thousands want all to live “at the same place”. But they don’t all want to live “at the same place”. They just want to live at a good place. Mainly one where they can find a job. If we create more good places to live at they will be happy to live at the other good places. Instead of concentrating all the economic activity to a few places we could incentivise many smaller towns with good jobs so not everyone needs to live “at the same place”.

> If all could work 100% from home we would see suburbia explode in prices and development.

Didn’t say anything about working from home. Not sure what you are arguing against here.

> thanx to also people like you

And what does that supposed to mean?
by miki123211 | 2025-05-04 10:00:15+00:00
> the wireless headset was the killer app in its early days

Don't forget music piracy.

At least over here, a lot of kids had phones that did Bluetooth, and the primary use case for it was sharing songs they liked with each other. You could use infrared (IRDA) for that, and some people did before Bluetooth was common, but it was much slower.

This was mostly on low-end Nokias, maybe with a bit of Sony Ericsson thrown into the mix. They definitely did not have WiFi, in fact, Nokia even tried to limit internet over Bluetooth for usual carrier monopoly reasons as far as I'm aware, but Bluetooth was definitely there.

For many here, the iPhone not doing file and ringtone sharing over Bluetooth was one of its main limitations, at least early on. It was a social network in its own way, and having a device that couldn't participate in it was no fun.
by Manfred | 2025-05-04 10:00:59+00:00
People in the comments act like they have been to a family party and are now nitpicking every detail of the party, speculating that granddad might not let uncle celebrate their birthday next year, exclaiming that auntie had much better cake, and discussing the clip their niece posted to Facebook of the dirty basement.

It's fine to be skeptical about the intentions of big family, but it's also fine to enjoy the cake once in a while.
by lotsofpulp | 2025-05-04 10:01:36+00:00
All the Democrat led states have paid leave and higher minimum wages/overtime exempt laws. And higher unemployment benefits. And longer leave times for new moms. It’s also the Dem states that have free school lunches for kids and more robust Medicaid funding.

Democrats passed ACA, which made insurance even possible to purchase if you weren’t offered it by employer, and the annual out of pocket maximum, ban on pre existing conditions as a criteria for calculating premiums, and ACA premium credits made it more attainable than it was before ACA.

Build Back Better bill a couple years ago would have made paid leave policies nationwide and provided more assistance with childcare.
by mieses | 2025-05-04 10:02:17+00:00
cutting an annoying random tree down in your annoying random neighbor's yard is just as bad as this event. this is the foundation of western civilization. prioritizing one tree over another leads to bad stuff. many have thought this through and many have argued the opposite (as you) and have sought opportunity in dismantling this principle. it's not a new debate, despite what this HN clickbait makes it seem to be.
by bilbo-b-baggins | 2025-05-04 10:02:34+00:00
There’s loads of high throughput data cases where asking “does this already exist?” is a high cost tradeoff and bloom filters answer it with minimal resources. If the cost of a “no” is 100x lower than “yes” then a 1% bloom filter breaks even. If it’s a 10000x then a bloom filter is 100x better.

One of the most interesting applications are rolling time indexed filters. If you have T filters representing the current time interval, you can retain D filters to represent a value being seen in a Duration. Each new I time segment you add 1 filter representing I/T time and test against all filters in D. A consecutive positive result for T filters gives a range of I-T existence for set membership and both a positive result and the time range that it was found within.
by m000 | 2025-05-04 10:02:46+00:00
USB dongles are popular because the mouse is paired with the dongle. This comes handy in a number of use-cases (servicing a different computer, hot-desk office, non tech-inclined people).

It is true though that USB interference for wireless dongles is an annoying reality. My Logitech Unifying dongle has issues whenever I copy files over USB. I'm not sure if later revisions or their Bolt dongles have improved on that.
by MisterBastahrd | 2025-05-04 10:04:35+00:00
In Omaha, there's a bar that records the number of jello shots purchased by the fans of each team every College World Series. When LSU was in the CWS, they bought a record amount of jello shots, obliterating the old record. That's because McKernan and Todd Graves (of Raising Canes fame) were taking turns buying thousands of them and giving them away to the LSU faithful.
by miki123211 | 2025-05-04 10:06:00+00:00
I guess that was a lot less of a problem with IRDA as it required line-of-sight, which limited the abuse potential significantly.

Some devices would even establish an IRDA connection automatically as soon as they found anything. I have friends whose laptop names have suddenly appeared on lecture room projectors, as their laptop's IRDA receiver was in direct line of sight of that of the teacher's.

Not that you couldn't do that with Bluetooth, some early BT chipsets gave you a "<device name> wants to connect to you" dialog box any time somebody tried sending something to your device. This could be abused, to great student amusement, to display funny messages on that same projector if the lecturer's laptop had such a chipset.
by bornfreddy | 2025-05-04 10:06:06+00:00
That doesn't matter anymore. The wealthy class might not be called "royalty" (yet?), but they effectively are. The chances today for someone who starts in a poor family to reach middle class, let alone become rich, are very slim. Pretending that the current system in the US is catering to anyone else except the rich is disingenuous.

That said, I agree that the economy of such a society has a better chance of succeeding, but it's at the cost of suffering of lots of people. Actually both extremes are bad - socialism has its problems, but so does the unchecked capitalism.
by ajross | 2025-05-04 10:06:21+00:00
> Poverty in the US continued going down until 1968, when it began edging up again. 1968 was the advent of the "Great Society" programs.

Poverty rates are significantly lower in the industrial world outside the US, even (especially!) in the "socialist" countries you seem to liken to LBJ policies. Seems like the same data you're referring to above cuts directly and strongly against this point.
by sometimes_all | 2025-05-04 10:07:24+00:00
IFB is the best, we rarely look at any other brand for cleaning appliances. Our washing machine has lasted decades. Those who've bought at least one IFB product generally swear by it.

Also, the latest appliances are fine; the UX is good enough. You don't need fancy stuff for the products in such a market; fancier UX might appeal to first-time buyers, but they get tired of all that soon and look forward towards saner options the next time.