MurphyA/hacker-news huggingface dataset:
by garethrowlands | 2025-11-05 17:23:53+00:00
I used to use XSLT a lot, though it was a while ago.

You can use Javascript to get the same effect and, indeed, write your transforms in much the same style as XSLT. Javascript has xpath (still). You have a choice of template language but JSX is common and convenient. A function for applying XSLT-style matching rules for an XSLT push style of transform is only a few lines of code.

Do you have a particular example where you think Javascript might be more verbose than XSLT?
by toast0 | 2025-11-05 17:24:00+00:00
Sure, but Macs are around 10% of general desktop computing. To a first approximation, they don't count. User communities vary widely. If you target macs, then a high DPI screen is a must for testing. Otherwise, I dunno; ~ 100 DPI screens are way less expensive than ~ 200 DPI screens, so I'd expect that installed base is significantly higher for standard DPI. But there's probably enough high DPI users that it's worth giving it a look.

To address a question elsewhere, personally, I don't see the benefit to pushing 4x the pixels when ~ 100 DPI works fine for me. My eyes aren't what they were 20 years ago, and it's just extra expense at every level.
by observationist | 2025-11-05 17:24:02+00:00
This is where things like a HackRF or flipper zero are useful - leave a scan running over 24 hours from multiple fixed locations within the vehicle and you can detect if there are any wireless transmissions, and then triangulate on exactly where they come from using several pieces of yarn cut to the length of estimated distance from the source.

Cars should be independent, local only devices. Having cloud dependencies is just reckless and stupid.
by ryandrake | 2025-11-05 17:24:13+00:00
I was blown away when I learned one of my wife's friends, who has a single W2 and some bank interest, pays H&R Block every year to file her taxes! No stocks or rental income or IRAs or anything else that could complicate things. But still she, and millions of Americans, pay these companies to fill out what amounts to a single form. Eye opening.
by SR2Z | 2025-11-05 17:24:15+00:00
> Being selfish is against the religion, therefore selfish Christians are not implementing Christianity properly, or in other words they are being “bad Christians”.

So is a Christian also allowed to own a profitable business? Isn't that pretty selfish, instead of making only the minimum and using the rest to help the needy?

Or is a profitable business OK, but raising prices by more than inflation isn't?

Or can a Christian run a factory that dumps runoff straight into a river?

"Being selfish" is itself poorly defined. The Bible is not much use - when it's not contradicting itself, it's vague.

Christian morality is not one single thing, hence my "no true Scotsman" comment.
by ITHeadhunter | 2025-11-05 17:24:26+00:00
Sent you an email about an opportunity.

Hello,

I ran across your post on Hacker News about unbricking an exercise bike. Love the detail you provided.

If you're still looking for a new role, I'm recruiting for a Senior Software Engineer role. This is a fully remote salaried position with a fast growing Pharmacy Tech startup. We just celebrated our 5th year and have grown from 75 employees last year to over 1100 today and STILL growing!

If you're interested in learning more, reply with your contact info and your resume.

Regards, Jeremy Sigler Jeremy.Sigler@gGiftHealth.com
by kurtoid | 2025-11-05 17:24:35+00:00
I'm starting to maintain a COBOL codebase for my dad's small business. It uses MicroFocus's runtime so it runs fine on Windows 10/11 (but I'm trying to migrate it to OpenCOBOL). He helped write a good chunk of it, but doesn't make any major changes to it anymore. I'm not confident enough to make major changes to it, but I fix some bugs here and there. I ended up writing a python script to parse the database layout for a python-based fuzzy search tool, but I still stuck to a terminal UI for it.
by rkomorn | 2025-11-05 17:24:48+00:00
Edit: I actually think I just don't get the gist of your question/comment.

> I'm all for tighter regulations and enforcement on safety and maintenance, though.

That's from my first comment in this thread. I'm not sure what part of my comments make you think you should ask me that question.

What I'm arguing is against the notion that having minimum prices would fix said greed.
by rc5150 | 2025-11-05 17:25:18+00:00
This is the same logic that has parents buying games like GTA for their prepubescent children and being dumbfounded that the kids are exposed to violent images.

While we can definitely point the blame at tech companies that manipulate algorithms, engage in dark patterns, etc, it's ultimately up to the consumer to consume judiciously and moderate their own well being. Nobody ever asked Apple or Google to "deliver what's best" for society. What's best for society is a collection of rational, intelligent, and accountable adults.
by cogman10 | 2025-11-05 17:25:21+00:00
Yeah it is. It's a full generation.

The Spanish flu is a great example of that phenomena. It's hardly mentioned in history books yet we had a flu season where people were dying in the streets. Very shortly after it happened, people stopped talking about it or mentioning it.

COVID is looking like it will very much turn into the same thing.

These are massive global events that may only get small blubs 100 years later. Now imagine an event that happens in a localized area. How much of that event will get carried on or reported?

You also have to remember that in the 1200s, things like paper and ink were a lot more expensive than modern paper. That's part of the reason literacy rates were a lot lower.
by raw_anon_1111 | 2025-11-05 17:25:30+00:00
The problem isn’t your job - you’re the constant. I’m being absolutely serious. Getting another job is not going to solve the problem. Seek counseling. No sarcasm intended.

Leave your work at your job. Neither your employer nor your manager are thinking about you when they leave work and they probably aren’t thinking about you too much while they are at work. If you got hit by a truck tomorrow, they will have an open req for your position before your body gets cold and you will only be briefly remembered if someone does a “git blame” on code you wrote.

I was in a similar position from around 1999-2008 during my second job. I was in a mutually destructive codependent cycle at work where they wouldn’t fire me because I was cheap labor and I wouldn’t quit because 5 years in I let my skills atrophy and I my personal life was in the shitter.

Speaking of which, I was in a shitty marriage (divorced in 06 and remarried in 2012) that also affected my self worth and failing at a side real estate business. My only saving grace then is I took up teaching fitness classes that I was good at.

I said never again. I stayed at that job another 2 years after my divorce, did the bare minimum while I got my head on straight, up skilled and got another job and from then on I treated my job as a throwaway commodity where I worked 40 hours a week, did the best I could and stayed in my lane and have money deposited into my account.

That was my second job. My 8th job was at the most toxic company in the industry - Amazon.

Amazon put me “on focus”. This is where they continuously escalate the requirements to get off focus and then they give you an official PIP. At that point you can either try to overcome the PIP or in my case get $40K severance. But if you fail the PIP, you get 1/3 of the severance. If you try to dispute it and fail you get 1/2 of the 1/3.

I didn’t stress. I knew how the game was played. I did just enough to get my next vest of stocks, I went on vacation even though most people thought it was a bad idea and when the PIP or take severance conversation came, I didn’t even let them finish explaining what I had to do to get off PIP. I asked them where do I sign to get my severance and how much it was.

Then I took another vacation…

My coworkers were stressed about having to go through the process and bewildered why I was so calm.

Funny enough, I got a job quickly after being Amazoned and the same thing happened a year later - another layoff. I did the same, I saw the writing on the wall within three months of starting. I didn’t stress. I didn’t cancel our vacation to Hawaii.

My job doesn’t define me.
by tialaramex | 2025-11-05 17:26:05+00:00
I would argue that the structural problem is an underlying cause. So it won't be the proximate cause, but when you dig deeper, when you keep asking like a five year old, "But why?" the answer is ultimately ISO's structure and nothing to do with Bjarne's language in particular.

Hence the concern for the non-language but still deeply technical RISC-V standardization.
by CapricornNoble | 2025-11-05 17:26:27+00:00
>If Gaza stopped attacking, Israel would live in peace with it.

The fate of West Bank Palestinians clearly proves that to be an outright lie.

https://reliefweb.int/report/occupied-palestinian-territory/... Halfway through 2023 at least 156 Palestinians have been killed by Israeli action in the West Bank – more than in the whole of 2022 and the highest yearly total since the end of the second Intifada in 2004. At least 28 children are among those killed and thousands more civilians have been injured.
by embedding-shape | 2025-11-05 17:26:36+00:00
> If these were esims they would be much harder to detect or remove?

It's not clear in the article how exactly they discovered it, but by the text that mentions it, I do get the impression they just came across the SIM ports/cards themselves:

> internal tests at a secure facility found Romanian SIM cards inside the buses

But it could also have been that they put the entire bus in a giant Faraday cage (or similar) and tried to see if it emits anything. If they did that, then eSIM or SIM wouldn't have matter, nor where on the bus it was, they'd eventually see it. But if they just physically came across it, then maybe eSIMs would allow them to place them in less accessible areas. But then maybe that wouldn't matter anyways, if the SIM cards are permanently attached anyways.

Bottom line, hopefully wouldn't have made a difference.
by johnnyanmac | 2025-11-05 17:26:41+00:00
This has the same energy as "but if you tax the billionaires they'll just leave!"

I say the same thing to that: good. If you don't want to participate in society (or in this case, your job) out of political beliefs, lets get in talent that will.

>Impossible to get an apartment unless you want to get an illegal sublet at regular old $4500/mo prices.

That's already the situation, and that was with a mayor who was openly bailed out by Trump. About as hand rubbing as you can get.

I think that's why these "radical" solutions stick. When you've hit rock bottom, you don't want the status quo.
by tetromino_ | 2025-11-05 17:26:53+00:00
Building a luxury mansion on top of unused and uninhabited marginal land - sure, that can bring prices down. But building a luxury mansion for one family by replacing dilapidated, and therefore cheap, high-density housing which used to house a dozen families brings prices up. And in practice, that is what is happening in cities. Old low-rise multi-family buildings in nice neighborhoods are being modernized and then converted into single-family mansions.
by pixelready | 2025-11-05 17:27:03+00:00
Yes, I would not like my own prosperity to come at the cost of others’ suffering (where “others” here means all of humanity). I understand hard choices must sometimes be made but I think our technology has progressed to the point that we can honestly provide a good quality of life for the vast majority of human beings globally if we were able to overcome old modes of thinking and actually set ourselves to that problem.

But it seems there are certain types of people or that under certain circumstances have grown to have this twisted need for “all”, instead of “just enough”. I don’t really understand that mindset as I haven’t experienced it myself. If my friends and family had UBI that allowed us all a good quality of life, I would split my time between spending time with them, reading and endlessly tinkering with new technology and adjacent creative fields, and be perfectly satisfied with that life. I crave the occasional toy, but simply don’t understand this constant ache for material accumulation that some people have. It seems to hurt them as much as it does everyone else around them.
by PaulHoule | 2025-11-05 17:27:39+00:00
One of the standard architectures for complex applications is to put together a scripting language and an systems programming language. You can either look at the scripting language as primary with the systems language used for performance or hardware interfacing or you can look at the systems language being primary and the scripting being used around the edges.

The model of having a closely related scripting and systems language would be an optimization of this and SPy seems like an answer.

[1] AAA games that have a scripting engine on top of C/C++, a finite element solver that lets you set up a problem with Lua and solve it with FORTRAN, etc.
by autoexec | 2025-11-05 17:27:49+00:00
We could absolutely regulate corporations so that they didn't collect, keep, and sell everyone's personal data. When the consequences are high enough and enforcement is consistent your grocery store won't go overseas to hand your data to a mafia boss and Netflix isn't going to sell your data in a dark alley to an illegal black market data broker.

Corporations didn't need our current level of surveillance in order to become massively wealthy and they won't risk their wealth just to find out the last time you took a shit or who you're sleeping with and how often.

Surveillance capitalism is a choice. It's happening because at the moment it's profitable, but it can be made unprofitable (or even dangerous) to collect and sell and the moment that happens it all stops.

Just because the technology exists to abuse something that doesn't make it inevitable that it will happen everywhere all the time. The problem we have now is that abusing technology to exploit and control people through the misuse and sale of their personal data is making a lot of people money hand over fist (including people in government) and they'll fight like hell to keep that easy cash and to convince you that any other kind of life would be impossible. Don't fall for the lie.
by JumpCrisscross | 2025-11-05 17:28:02+00:00
> That's my biggest fear

Mamdani is a disciplined New York progressive. He’s left of the median voter. But the Mamdani that won the D primary was also left of the median NYC voter.

One can take a shallow policy lesson from this election. Or a deeper political lesson in the value of pragmatism and respect for the voter (versus the holier than thou crap that has polluted the far left).
by OkayPhysicist | 2025-11-05 17:28:04+00:00
Frankly, the Democrats have done nothing but pander to people who hate them, who will never vote for them, and fucking LOVE their opposition for years now. If there is one thing to take away from the Trump campaigns, it's that pandering to an imaginary moderate is not nearly as effective as being really exciting to your base. All ceding ground to the opposition does is lead to disillusionment and apathy amongst the people who might vote for you. You win over no one with morally bankrupt, least common denominator bullshit.

What you are advocating for is the same bullshit that cost the Democrats the election in 2016, and in 2024. We've tried it your way and it is nothing but a losing strategy. People want progress, people want change. If a candidate can't at least have balls to lie about wanting that too, then they are unfit to win an election.
by ErroneousBosh | 2025-11-05 17:28:22+00:00
It looks like a kit car version of a Porsche 356 crossed with a Nissan Figaro.

It actually looks rather more expensive than it is - it's about 44,000EUR putting it at the same sort of money as a Focus ST. Expensive toy, but not horribly so.

Unsure what it's based on, probably (like the Figaro) some fairly inexpensive existing car's subframes.
by OhMeadhbh | 2025-11-05 17:28:23+00:00
This whole thread reminds me of when I saw my first Windows-based ticket dispensing machine at a movie theater. Early in the year there was a screening of the Star Wars trilogy at the Cinema at the North Park Mall in Dallas. Every geek for miles beat a path to the theater. When I got there the line was moving along reasonably quickly and was maybe 20 people deep. No problem. You get to the front of the line, hand over a $10 for two $5 tickets and the cashier pressed the "dispense ticket" button twice. Two tickets came out immediately and you were on your way.

Later that same year Jurassic Park premiered at the same location. Again, every geek for miles around beat a path to the theater. But this time when I arrived, the line was hundreds of people deep and it took about 45 minutes to get to the head of the line (good thing we got there early.) When I got up to the cashier I found they had a new Windows-3.1 based ticket dispensing system. You said how many tickets you wanted and the cashier moved the mouse over a text field, took their hands off the mouse to type "1" or "2" or whatever. If you bought a child's ticket or a senior ticket, that went in a different form field. Then the cashier put their hands back on the mouse, scrolled down and hit the "calculate" button. It told them how much cash to take. They took their hands off the keyboard to collect the cash and then pressed the "dispense tickets" button. Thankfully, the system seemed to actually dispense tickets without crashing. (Windows 3.x had a very bad reliability reputation.)

What had taken 10-15 seconds with the "old school" interface now took about a minute.

Never let anyone tell you "the new system" is better just because it is new.

[[ Also, about this time I remembered Jef Raskin going on about keyboard interfaces, but this was long before the publication of The Humane Interface. And I know we're using the initialism "TUI" in this thread to mean "Text UI", but some people use it to mean "Tactile UI." No one ever got fired for recommending a React Single Page App optimized to quickly swap pages on the current model iPhone. Whether or not that's the best interface for the application is irrelevant. ]]
by refulgentis | 2025-11-05 17:28:32+00:00
Reading it twice and sitting on it, I have an uneasy feeling.

It feels like it distracts more than it illuminates. ex. Quasar Equation. I don't know what it capital-M Means that at (X, Y) = 0, there's a region where there's higher differences between y and x/x^2+y^2.

But counterpoint to myself:

I'm looking at a toy example.

I'm sure there's been plenty of times I was genuinely comparing two equations and needed to understand where there'd differ.

Its just harder for me to grok when one of the equations is "y".
by dragonwriter | 2025-11-05 17:29:10+00:00
> Essentially, you're testing that "my_sort" returns the same as python's standard "sort". Of course, this means you need a second function that acts the same as the function you wrote. In real life, if you had that you probably wouldn't have written the function "my_sort" at all.

You don't need that, that’s just a convenient shortcut when you do have a function that does that (but, I would argue, a not-great example for precisely that reason.)

All you actually need is the ability to verify the property (or set of properties) that you are testing in the output. You could replace the test in that sample with something like this, which I think is a better illustration of what is going on (this is somewhat simplified, rather than the length test you really want to test that it has the same set:

@given(st.lists(st.integers() | st.floats())) def test_sort_correct(lst): result = my_sort(lst) # result has the same unique items as original list assert set(result) | set(lst) # for each item, result has the same number of copies as original assert all( result.count(item) == lst.count(item) for item in set(result) ) # result is sorted assert all(result[n] <= result[n+1] for n in range(len(result)-1))
by wswope | 2025-11-05 17:29:15+00:00
> As a general rule, simplifying and removing code is one of the best things you can do for security.

Sure, but that’s not what they’re doing in the big picture. XSLT is a tiny drop in the bucket compared to all the surface area of the niche, non-standard APIs tacked onto Chromium. It’s classic EEE.

https://developer.chrome.com/docs/web-platform/
by PaulHoule | 2025-11-05 17:29:17+00:00
It's so common for something like this to struggle for decades before succeeding.

For instance people have been trying to make a memory safe C for a long time, just recently we got

https://fil-c.org/

which has high compatibility and relatively good performance for that kind of thing. The strength of Python is that so many people are trying things with it.
by ryandrake | 2025-11-05 17:29:30+00:00
Too many people treat politics like sports fandom. I know people whose political views are the exact opposite of Party X, but if you ask them, they will tell you they will always vote for Party X, because they were born and raised an X, and stick by their team no matter what they do. They're like fucking Eagles fans. They have this weird "team loyalty" that I just don't get.
by radley | 2025-11-05 17:29:35+00:00
> would a steam store work and be properly usable

I think there would be a few different models. Epic, of course, would lead as a gaming store, but I could easily see competition between Epic and Steam for this space. But there could also be other audience-focused stores as well, such as for creative professionals, like we had prior to iPhones. Then there's also suite apps that will maintain their own stores as well.

Just because Apple locked down the entirety of the mobile app world for 20 years, and told us we didn't want alternatives, doesn't mean it won't happen. If anything, it's evidence to the contrary.
by dkarl | 2025-11-05 17:29:37+00:00
> Once my property tests were running overnight and not finding any failures

Quickly addressing the time it takes to run property-based tests, especially in Python: it's extremely helpful to make sure that running subsets of unit tests is convenient and documented and all your developers are doing it. Otherwise they may revolt against property-based testing because of the time it takes to run tests. Again, especially in Python.
by Jtsummers | 2025-11-05 17:29:42+00:00
The telephone game lacks features in the telling that are common in oral storytelling that help reinforce the content and reduces the number of errors. Repeated telling, repetition in the structure, rhyming and alliteration (which is used, or even if they're used, depends on the language), being made into a song (seems to stick better than just straight speaking), etc. If you played the telephone game with a deliberately constructed story using those elements and taught that story to the next "generation" by repetition over a period of time before they, in turn, repeated it to the next generation it would be much more reliable. It also wouldn't be the telephone game.