MurphyA/hacker-news huggingface dataset:
by kstrauser | 2025-11-21 15:36:12+00:00
> You _can_ use a venv. I prefer a dedicated environment for this.

A venv is Python’s built-in way to handle dedicated environments. It’s what mise and uv use.

> I've grown wary of environment clobbering, it's an issue that Python has had, one that even Ruby does better than it, I've discovered. I like isolating these, helps debug a lot.

That’s a Python virtualenv. It’s had these for many years. I don’t know if there’s even any other way to get the same isolation with Python, short of using a container or something else at the OS level.
by ozim | 2025-11-21 15:36:49+00:00
We do priority high stuff in sprint planning. Non prio bug fixes can be dragged in by devs when the are out of sprint tasks or need to switch context to unfold thoughts.

You cannot just push high prio stuff on people.

Business gets their predictable workload done bonus stuff like things team wants to fix gets of course second seat but it has its place.
by tuzemec | 2025-11-21 15:39:16+00:00
Nice!

A couple of years ago, I tried something in that direction[1] using Phaser[2], and it was quite fun. I used Tiled Editor[3] to create the map and some pixel art that I purchased from itch.io.

[1] - https://story.tuzemec.com (not very mobile friendly)

[2] - https://phaser.io

[3] - https://www.mapeditor.org/
by jeroenhd | 2025-11-21 15:39:48+00:00
> Nothing you do with Google is private from Google but it's certainly designed to belong only to Google

The same also goes for Apple, although Apple doesn't monetize your data as much so they collect less. They'll suck up all kinds of data out of your devices but will strictly protect that data from third party applications any way they can. They're also willing to use that protection to prevent interoperability or integration with third-party devices.
by coldpie | 2025-11-21 15:40:24+00:00
Yes. I wrote a little image uploader script to easily upload images from my phone for embedding in web forums etc, and it strips out all the EXIF orientation and just converts it to the correct orientation. Aside from that I'm always having to fiddle with it in my image tools and hope every software I use supports it. It's such a crap feature. Just rotate the damn image, phones!
by strictnein | 2025-11-21 15:40:39+00:00
> For most people

I guess I wasn't clear enough that I was referring to people who are directly encountering them, like the author of the post we're discussing.

I've worked directly with them. In my case, to get things approved didn't require any concerted effort or significant cost, it was just time. The government group would sit on the requests for a long time, doing nothing with them, asking no questions about what was submitted, and then approve them.

This wasn't speculation on our part either. We were told that was how it was done by one of the people involved in the approval process who was also frustrated by how long it took, but didn't have the power to change things.

The end result was that we did less work in these areas, even though there would have been significant benefit to the users of our systems and the public in general.
by palata | 2025-11-21 15:41:00+00:00
> If I need to look up (or memorize) stuff like this then the entire advantage of metric goes away

Hmmm... no?

With metric, once you know what a "meter" is, you have the distances. <milli>meter, <centi>meter, <deci>meter, ... It's one unit: the meter. And fractions of it that require trivial conversions.

With imperial, you have multiple units of distance: inches, feet, yards, football fields, miles.

The benefit of metric is that you have to memorise fewer units, period. Your example is a formula in physics. There you have to memorise F = m * a AND in which units those are (bonus if they are consistent between the formulas, of course). That's strictly equivalent between imperial and metric there.

> It just comes down to what you're familiar with.

Of course, if you're familiar with imperial and not metric, then you're better off with imperial!

> There's certainly a benefit to everybody using Metric in the same reasoning as there's a benefit to everybody using Mandarin.

That's an interesting example: Mandarin is known for being a lot harder than English. Obviously, if you grew up with Mandarin and no English, you will be more comfortable with Mandarin. But people speaking Mandarin don't insist on saying that Mandarin is not harder than English, in my experience :-).
by ryandrake | 2025-11-21 15:41:18+00:00
> While an individual license is 25¢ [0], $25MM is a somewhat sizeable amount of money for any company.

Not for HP or Dell. Maybe I've been working in BigTech for too long, but I can't even count that low anymore. $25M is a rounding error for most major product lines I've worked on in the past decade. But, then again, every hardware producing team I've worked on had this exact penny-pinching attitude on BOM cost. They'd throw away $25M opex like it's nothing, but spend $0.25 extra on the BOM?? Never!!!
by embedding-shape | 2025-11-21 15:41:29+00:00
I'm not sure what the purpose is to go out on the streets for half a day, then everyone goes back inside and continue like nothing ever happen?

Go out, stay out until change is enacted. It's called striking, and if you had any sort of good unions, they'd be planning a general strike for a long time, and it should go on until you get change.

You know, like how other "modern" countries do it when the politicians forget who they actually work for.
by mrighele | 2025-11-21 15:41:33+00:00
Every regulation has a cost, even the good ones. The biggest cost is that they slow down the ability of people and companies to do business, which come out as a lower economic growth. Compared to its peers, EU's GDP has been growing very slowly for the past 20 years, I don't think it is a coincidence.

Some regulation is fine, but it should be really a fraction of what we currently have in Europe.

(Somewhat unrelated, but the EU's situation reminds me of "The End of Eternity" by Asimov, sans the time traveling)
by 0xDEAFBEAD | 2025-11-21 15:41:35+00:00
The US has a 2-party system. Those parties will tend to be very loose and ideologically diverse coalitions almost by definition.

There is an interesting philosophical issue around these accusations of "distributed hypocrisy". It would be one thing if you were pointing to a particular individual who took an inconsistent position. But if two loosely affiliated individuals disagree, that's not necessarily hypocritical. Even a single individual may change their mind on an issue over time.
by insane_dreamer | 2025-11-21 15:42:34+00:00
> In America, most people interface with doctors in order to get tests run and medicine prescribed.

In my experience, NPs already carry a lot of this load, especially in non medical speciality cases (i.e., what a GP or PCP would do).

Another example of self-harm to protect a wealthy segment of the population (doctors) at the expense of those who need medical care. It's not just time to care that's the problem. Scarcity drives up prices as well.
by super_mario | 2025-11-21 15:43:32+00:00
In ZFC set theory, indexed family over a set (possibly uncountable or even bigger), is just syntactic sugar for a function.

So let's say you have a set U (possibly uncountable). To say let {u_i}, i in I (another set, possibly uncountable) is equivalent to asserting existence of function f:I -> U, such that f(i) = u_i. Note that this does not even require axiom of choice, since you are allowed to postulate that a function exists.

Of course if I is uncountable you can't list the elements of I, but that is not important in this case.
by rincebrain | 2025-11-21 15:44:14+00:00
I would assume because it's hideously expensive to maintain a full OS and support and compatibility guarantees with all the random horseshit consumer platforms throw at them, and they did the math and concluded they liked the profit margins for purely online and non-consumer targeted things, where they can more effectively constrain what is and isn't supported, better.

In particular, my guess is that they looked at their estimates for how much they could make off recurring revenue sources in desktop OSes, and their estimates for how the desktop market is changing with more younger users not using them or viewing them as legacy platforms, and decided they should pivot to primarily being a services provider, in much the same way they're aggressively trying to slap the Xbox branding on other things and getting out of the console market as fast as they can run.

Could be wrong, I don't work there, but usually my experience with companies that large making apparent missteps is that their goal isn't the one you think it is, and attempting to extract as much data as they can from desktop users really sounds like what you do when you're trying to squeeze the sponge before you throw it out.
by Voultapher | 2025-11-21 15:44:35+00:00
I don't think it'll need draconian enforcement, parental controls on iOS and Android can co-exist with Linux. Having the option to enable specific filters on a client side and requiring a pass-code or OS level permissions to change them seems like a realistic way to tackle this that doesn't end in dangerous government power concentration.

As always with security, perfect is the enemy of good. A good set of hard to change - for children - client-side filters would do wonders in terms of real improvement. As much as I'm tired of the LLM hype, they might actually be a good fit for such tasks.
Show HN: Tree Editor – A Visual Structured Data Editor with Type Inheritance
by justindmassey | 2025-11-21 15:45:01+00:00
I built Tree Editor, a visual editor for structured data. It lets you define types (::Type), apply them to nodes (.Type), and the editor keeps everything consistent automatically. Changing a type updates all matching nodes instantly.

It also supports list types, a live preview pane, and interactive widgets (tables, headers, links, text areas, tabs). Everything runs locally in the browser, with no dependencies.

It’s useful for AI agent schemas, game data, configs, knowledge trees, and anything hierarchical.

Repo: https://github.com/justindmassey/tree-editor

Would love feedback on the type system, UI, and potential use cases.
by costco | 2025-11-21 15:45:01+00:00
Nice article and especially so for including the parsing that most people just outsource. What's great about using an emulator is that you can also do fun things with the syscalls like implementing your own "virtual filesystem" instead of just translating directly to the x86_64 equivalent syscall: https://github.com/gamozolabs/fuzz_with_emus/blob/master/src... (not my code but basically something like this)
by sowbug | 2025-11-21 15:45:39+00:00
My trusty TENS device has gotten me through a few bouts of whatever it is I have had for the last year (pudendal neuralgia, sciatica, pelvic floor issue, not sure). But it really is a pain in the ass (ha) to apply the sticky electrode pads.

Has anyone ever seen something like a TENS shirt or shorts that has the pads built-in?
by strictnein | 2025-11-21 15:45:49+00:00
> The problem with your laissez-faire fundamentalism is that it ignores the fact that what these organizations claim to "actually trying to accomplish" is actually harmful and has considerable negative impact on society in general.

We were trying to make our weather monitoring systems better, at minimal or no cost to our customers and the public.

> What is not ok is to frame regulations as whimsical rentism from bureaucrats

In our case it was, and we were told that it was from one of the people involved in the approval process.
by wongarsu | 2025-11-21 15:46:11+00:00
Windows has a lot of great ideas around users, groups and permissions. Primarily built around an enterprise use case instead of a home user or server use case, but overall still a lot more refined than the unix system (in large parts due to being developed decades later)

The Authority/UserName scheme that allows you to use user names from different authorities on the same computer without name collisions, and the hierarchical userids that are SIDs are both quite useful. The most obvious everyday use case are file permissions on shared media like a USB drive or a network drive: knowing these files belong to user 1000 isn't very useful if every computer has a different idea of who that is

They aren't perfect by any means. If you were to design the same thing today you'd probably use UUIDs. But there are a lot of good ideas in there
by tracker1 | 2025-11-21 15:46:11+00:00
Considering the product itself seems to be excessively limited without actually getting paid for it, and the paid tier itself having so many onboarding issues, as a critical usage path, it's pretty bad.

This is in a $3.6 Trillion company, for a product they're spending billions a quarter to develop, with specialized employees making mid 6-figure to 7-figure salaries and bonuses... you'd think somebody has the right connections into the departments that typically handle the payment systems.

My expectations shoot up dramatically for organizations that have all the funding they need to create something "insanely great" in terms of user experience the further they fall short... I don't know who the head of this group/project/department/product is... but someone failed at their job, and got payed excessively for this poor execution.
by micromacrofoot | 2025-11-21 15:46:25+00:00
Of course it's rent-seeking, akin to squatting — Rebble took Pebble apps developed at no cost to the users, and then maintained them and added cost. In some cases they might actually be required by the licenses of individual apps to open source their maintenance.

No one's actually entitled to anything here on either end (legally), I see 0 work being done to actually contact the original authors to seek permission or licensing details.

AFAIK, there wasn't a blanket license that covered all apps in the ecosystem... so each app would vary. In the absence of a license all rights are held by the original developers.
by zelphirkalt | 2025-11-21 15:46:51+00:00
Is it really excellent? I mean, the game still FPS drops, when only one person in a multiplayer match is lagging. But maybe that could be attributed to engine problems, rather than network code issues.

The rest of the code seems not too great either, considering the humongous system requirements, compared to the historical versions of the game. If you ask me, they could have kept it 2D sprites and it would have been completely fine. But they had to go 3D ...
by kstrauser | 2025-11-21 15:47:17+00:00
Way back when, I had a little trouble installing Qtile on Ubuntu 10.10 or so, so I wrote up a little guide on how to do it. I think that became part of the official docs somewhere along the way? But anyway, I didn’t think much about it.

I went to PyCon in Santa Clara with a coworker who was being a little full of himself that morning. We were standing in the swag line and idly chatting with people around us. The guy in front of me was saying something, stopped to look at my name tag, and did a double take. “Whoa, you’re that kstrauser? Who wrote the Qtile guide? Wow, thank you so much!” He shook my hand, then we got our swag and went different ways. I don’t recall anyone else ever mentioning it to me, but from my coworker’s POV, we’d talked to about 10 people in a conference of 3,000 and one of them knew of me, so clearly I must be quietly famous or something. He stopped being a know-it-all, at least for the morning.

So thanks, Qtile. You gave me 20 seconds of fame while standing in line once.
by AtlasBarfed | 2025-11-21 15:47:47+00:00
Taiwan is basically a mountain fortress island. And drones only make it far more so. You think transport helicopters could penetrate modern drone flotillas? You think the landing boats of WWII are vulnerable?

Higgins boats are CHEAP and move a lot of soldiers. Helicopters are EXPENSIVE and easily downed and move less soldiers and equipment.

The general tone of the dissenters is that mainland China is competent, and Taiwan is incompetent. If anything, it is likely to be the opposite. The CCP is a purged autocratic cult at this point with full communication and coordination breakdowns in basic government functions.

IMO, Xi and China are coasting on the Deng Xiaoping reform effects. Mainland China is an ossifying and crumbling state, they simply have so much momentum that it doesn't seem like it. Everyone with offshored manufacturing is attempting to move it from China. That's a multi-decade trend, but it's still the trend. Of the entire world.
by heddycrow | 2025-11-21 15:48:11+00:00
Someone please tell me we are not living in a time where the kids are pro-regulation. I'm not doubting you, it's just sad if it's true.

When I was younger, the youth were anti-establishment - that was cool and rebellious.

I guess this is what happens when the rage against the machine becomes part of the machine. Now we need the machine to do our raging for us?

I feel old now, thanks.
by codingdave | 2025-11-21 15:48:30+00:00
If your C code just pseudo-randomly ran the wrong code, gave the wrong results, would you be happy with it? Would having to write half a dozen programs to cross-check each others work to make C efficient? What if you could not write C from scratch and only could hire interns to go find and copy/paste pre-existing C code?

Yes, absolutely, AI is a tool. But it has some serious weaknesses and anyone who isn't educated and open about those weaknesses is going to apply the tool in the wrong places.
by JumpinJack_Cash | 2025-11-21 15:49:16+00:00
> > Speaking for rail safety alone: rules are written in hypothetical blood. The FRA and similar bodies in CAN and EU are VERY proactive about safety, as are the light rail train companies themselves.

Trains make thousands of victims each year, I think worldwide the number borders the 10,000 from all causes and nobody gets on their case like planes which in a good year make 0 victims per year worldwide

So you have it the other way around, the hypotetical blood is the aviation one and the real blood is the one shed by trains and yet the scare factor is all on planes
by pessimizer | 2025-11-21 15:49:18+00:00
> the "easy" bugs usually aren't actually easy (or else they would've been fixed already!).

This is a perfect expression of something I like to call Chesterton's Inertia. It's exactly the same as Chesterton's Fence.

What happens is that there is a mess on the floor, and somebody walks around it, maybe just because they were in a hurry, or maybe they didn't even see it. Somebody else walks in, maybe doesn't even notice the mess, just notices the faint trail that the last person left, and follows it. The next person walks in, sees a mess, and sees a trod path around the mess, and follows the path.

Years later, the path has been paved, has signage posted that doesn't refer to the mess, and has walls blocking the mess from sight. The mess has fused with the ground it used to just sit on, and is partially being used to support the wall. Every once in a while, someone asks why there's a weird bend in the path that makes no sense, and a old hand who's been around since the beginning tells him that the bend is a fence, and not for you to understand.
by snvzz | 2025-11-21 15:49:27+00:00
>Your phone likely is recording videos in HEVC format (if purchased in the last few years).

Checked. Seems to be h264+aac.

Arguably not a recent phone (OnePlus 3), although I feel no pressure to upgrade.

The current plan is to wait for first Google Pixel using RISC-V. Next year I would say it's fifty-fifty chance, informed by the switch to PowerVR GPU this year on their SoC, and next years expected general availability of RVA23 cores.
by elevation | 2025-11-21 15:49:35+00:00
You could do a lot of this with CI if you scheduled a job to fetch the most recent packages once a month and record a manifest with the current versions, then, if no security issues are reported before the end of the cooldown period, run integration tests against the new manifest. If no tests fail, automatically merge this update into the project.

For projects with hundreds or thousands of active dependencies, the feed of security issues would be a real fire hose. You’d want to use an LLM to filter the security lists for relevance before bringing them to the attention of a developer.

It would be more efficient to centralize this capability as a service so that 5000 companies aren’t all paying for an LLM to analyze the same security reports. Perhaps it would be enough for someone to run a service like cooldown.pypi.org that served only the most vetted packages to everyone.
by noobermin | 2025-11-21 15:49:57+00:00
blast from the past. I moved over from awesome to qtile as I really didn't use lua probably a decade ago (and I still don't) but unfortunately, over the years, I did the boring thing and just stuck with the gnome 3 default installed by whatever distro I use.

Does qtile work on fedora these days? Good to hear wayland support is coming along, I often miss tiling wms.
by fragmede | 2025-11-21 15:50:40+00:00
Thank you for bringing this matter to our attention, TeodorDyakov and bgwalter. I am a member of the fun police, and I have placed keepamovin, and accomplice, My_Name under arrest, pending trial, for having fun wrong. If convicted, thet each face a 5 year sentence to a joyless marriage for healthcare without possiblity of time off for boring behavior. We take these matters pretty seriously, as crimes of this nature could lead to a bubble collapse, and the economy can't take that (or a joke), so good work there!
by netsharc | 2025-11-21 15:50:47+00:00
I guess orientation isn't even metadata any more, but data: the RGB(A) value of each pixel is data, and the location of this pixel is also data. But the location of the pixel changes depending on the orientation. Of course absent of any orientation it can be understood as "information of the image is stored in the file describing the image" in left-to-right, top-to-bottom order (but with BMPs it's bottom to top!), but with orientation "metadata", it's whatever is defined there.

So yeah, I think "Stripping all EXIF metadata doesn't change an image" deserves an entry as a "falsehood programmers believe about...".
by notpublic | 2025-11-21 15:51:30+00:00
Check out the following for AM5 motherboards. It helped me a lot when I was in the market. Seems to be well maintained still:

https://docs.google.com/spreadsheets/d/1NQHkDEcgDPm34Mns3C93...

I ended up getting ASRock X870E Taichi Lite. The main reason to get it was because it had 2 CPU x8 slots which are spaced perfectly for an Nvidia NVLink. And, they are Gen5 PCIe.
by AtlasBarfed | 2025-11-21 15:51:59+00:00
- the US doesn't have to sit IN the Malacca Straits, but oil traffic does HAVE to go that way. The US can park naval assets in the middle of the Indian Ocean, and intercept traffic coming out of the Middle East from the Arabian Sea. They have satellites and tracking to enforce a wide area of denial, far from missile intercept.

- oil pipelines, railroads, and other continental transport modes, in addition to being more expensive, slower, and limited in bandwidth, and extremely vulnerable to sabotage, political interference from countries they have to go through, etc.

- submarines
by jaybrendansmith | 2025-11-21 15:52:00+00:00
This is all about student loans, and destroying the academia, with a nice dose of quackery and anti-intellectualism thrown in for amusement. While it does not impact me at all to know my degrees are no longer 'professional', it really impacts folks trying to get loans to pay for college. Having less nurses and teachers out there is going to create many problems in the coming years, that is if we actually care about we the people.