MurphyA/hacker-news huggingface dataset:
by abathur | 2025-08-25 04:25:02+00:00
When you say library system, do you mean something more or less like a separate search path and tools for managing it?

I've written a little about how we can more or less accomplish something like meaningfully-reusable shell libraries in the nix ecosystem. I think https://www.t-ravis.com/post/shell/the_missing_comprehensive... lays out the general idea but you can also pick through how my bashrc integrates libraries/modules (https://github.com/abathur/bashrc.nix).

(I'm just dropping these in bin, since that works with existing search path for source. Not ideal, but the generally explicit nature of dependencies in nix minimizes how much things can leak where they aren't meant to go.)
by Waterluvian | 2025-08-25 04:25:05+00:00
Yeah! I feel like long args very strongly fits with the overall idea of this blog post: when you are running a script you care about different things and want different behaviours than when you’re working interactively.

The short args are great for when you’re typing into a terminal. But when you’re writing and saving a script, be descriptive! One of the most irritating things about bash (and Linux, I guess?) is how magical all the -FEU -lh 3 -B 1 incantations are. They give off a vibe I call “nerd snobbish” where it’s a sort of “oh you don’t know what that all means? How fretful!”
by Sam6late | 2025-08-25 04:26:35+00:00
Politics is a messy business.Angela Merkel’s 2015 open-door policy faced harsh criticism, but the refugees it welcomed have proven their value. Two-thirds of Syrian refugees are now employed, many reducing public reliance and boosting the economy. Beyond jobs, some have become entrepreneurs—founding startups that create new employment and bring innovation. One Syrian-founded tech company alone employs 15 people. With over 83,000 granted citizenship last year, these contributions anchor refugees as vital to Germany’s future, turning initial fears into success stories. https://www.bloomberg.com/news/articles/2025-08-15/syrian-im...
by stephenlf | 2025-08-25 04:27:18+00:00
I am struggling to understand some of the explanations offered here. It’s certainly a skill issue on my part. I never learned DP in school and tabular DP has never clicked for me. However, I think there are a few things you could clarify.

> queue = [(A, 0)] # We track (length of walk, current node)

Surely the comment should be reversed, right?

Also, how are we encoding “current node”? Is it an integer? Does A=0, and the rest of the nodes have some arbitrary value? How do we calculate `neighbors(node)`?
by floren | 2025-08-25 04:27:53+00:00
I've always liked the end of the anti-foreword:

> Here is my metaphor: your book is a pudding stuffed with apposite observations, many well-conceived. Like excrement, it contains enough undigested nuggets of nutrition to sustain life for some. But it is not a tasty pie: it reeks too much of contempt and of envy.
by missingcolours | 2025-08-25 04:27:56+00:00
In those cases, the company controls all of the code running on those sites, so it's desirable for them to share data and cookies in particular. (e.g. any google.com site can read your login cookie)

In the case of user data domains, intentionally in the design of the service or via a security hole, users may be able to execute code and read cookies (e.g. in JavaScript on a page hosted on githubusercontent.com) and that's undesirable.
by t1E9mE7JTRjf | 2025-08-25 04:28:14+00:00
How a person feels is also a fact. I wonder if you are being selective in facts, as I'm not sure it's a politic (ie left/right matter). We could also look at facts on crime, tax contributions/burdens, etc and see a different yet factual perspective. I think the way forward is not increasing factuality (if that's even a word) but increasing people being heard and then reconciling those different perspectives. Looking for facts to entrench ones own opinions thus seems a step backwards to me.

Correction: spelling
by tamimio | 2025-08-25 04:28:59+00:00
Domestication. A lot of people are afraid to go against the status quo, or to be different from their colleagues, or demand things that aren't usually demanded. It shouldn't be hard for a programmer who is hired to demand that he owns the code he writes. Keep in mind too that a lot of company/startup founders are on HN and having this idea spreading around threatens their profits. Instead of having people paid peanuts to write code the company will own, then replace said people with a week's notice to bring another cheaper person, having programmers owning that code will end their exploitation model.

As for the up/down votes, I have them disabled so I don't know nor do I care about them. I actually should write that part in my signature.
by conradev | 2025-08-25 04:29:27+00:00
This is a silly take. The answer to preventing one branch of the federal government from abusing power is to strengthen the other branches, and to strengthen federalism itself. Both are enshrined in the constitution and are the largest checks on growing executive power? In effect “weakening” any one part of the government.

The UK doesn’t have Texas or California or New York.
by kelnos | 2025-08-25 04:30:09+00:00
> "I don't want my town/area to change demographically beyond my recognition"

If that is the position people hold, I think it would be good to understand why they feel that way.

To me, holding that position just feels racist or xenophobic, but I'm hoping that there's a lot more nuance to it than that. But I just don't know, and don't know anyone who holds that view such that I can ask them.
by echelon | 2025-08-25 04:30:37+00:00
Games are silly and inessential. And there are a dozen markets to choose from. Sony, Microsoft, Nintendo, Steam, GOG, Epic, Ubisoft, Humble, Itch, direct download, retro games, ...

Phones are essential. You can't get a job without one. It's impossible to stay connected or navigate without one. You can't even order food in a restaurant these days without your smartphone. Yet two companies control and tax the entirety of mobile computing.

Scratch that. Mobile computing *IS* computing for most people. It's the only computer or internet portal they know.

And two companies own it all. The passport to the modern world is owned and taxed by two trillion dollar companies.

2000's-era DOJ-litigated antitrust abuser Microsoft dreams that they had this much of a monopoly.

The Halloween papers sounded evil. Mobile computing monopolization is evil.

Here's what needs to be done:

1. Web installs. Both companies need to allow web native installs without scare walls or buried settings flags that need to be enabled. First class apps from the web, with no scaring users about it. We have all the technology to make this work safely: permissions, app scanning, signature blacklisting, etc.

2. Defaults. Both companies need to be prevented from pushing their apps as defaults. No more default browsers, default wallets, default app stores, default photo galleries, default search engine, etc.

3. Taxation and control. Apps cannot be taxed on any transactions. Users must not be forced to "sign in" with the monopoly provider's identity system. Apps must not be forced to use the monopoly payment rails. Apps must not be forced to be human reviewed or update to the latest UI changes / SDK on a whim.

Mobile apps and platforms must work like desktop software.

We need this freedom and flexibility for consumers, and we need competition to oxygenate the tech sector and reward innovation. Capitalism shouldn't be easy - it should be hard to keep your spot at the top. Resting on the laurels of easily defended moats for twenty years while reaping some of the most outsized benefits in the industry has created lethargy and held us back.
by throwaway290 | 2025-08-25 04:30:47+00:00
You are a sociopath. This tends to reduce with age. Trust me for normies it's an insane scenario.

You seem to be specifically trying to show how you're not like most people, so in a way you support my point!

> So yeah that would be hell for me. I probably would end up excluded.

Why hell, if you don't have ties anyway and you are fine? You are contradicting yourself

> I also tend to change pretty radically every few years or so. Including finding a new country to live, new hobbies etc. So I have few long term ties anyway. I like it like that. I tend to feel trapped in too stable situations.

Yeah so if your long term ties were religious or flat earth you would likely be that too. Because people don't usually fuck with long term ties. Re my point
by ianbutler | 2025-08-25 04:31:39+00:00
Equity ownership doesn't directly effect operating capacity on the same timescale as revenue. (sure investment does but in a positive way, but again not quite the same) Where as revenue does on shorter timescales, and 30% off revenue is an ongoing constraint to operating capacity day to day in a way ownership just isn't.

They don't behave the same way so to make the comparison didn't make any sense.

Note: Edited this a few times because words are hard.
by burnt-resistor | 2025-08-25 04:32:48+00:00
Expanding on this: each state is often run by a mix of public and for-profit institutions and services by crooked corporations like GEO Group and CoreCivic, and so there are often incentives like campaign $upport for politicians to find ways to imprison as many people as possible. In Texas, the facilities are like 19th century penal colonies.
by owenversteeg | 2025-08-25 04:32:59+00:00
Years ago I took many exams in a building bearing his name, so I would not personally say he was "erased", but yes, certainly under-appreciated relative to his contemporaries.

For a nice little English language piece on him and his "air conditioning": https://archive.nytimes.com/www.nytimes.com/books/first/s/sh...
by 3eb7988a1663 | 2025-08-25 04:34:01+00:00
All languages have foot guns, but bash is on the more explodey end of the scale. It is not senseless to note that if you can use a safer tool, you should consider it.

C/C++ got us really far, but greenfield projects are moving to safer languages where they can. Expert low level programmers, armed with all of the available linting tools are still making unfortunate mistakes. At some point we should switch to something better.
by missingcolours | 2025-08-25 04:34:17+00:00
A common scenario I've seen in the case of local governments is that a department (e.g. the Assessing Department) contracts with a vendor to run the website and has no idea how DNS works, and the vendor defaults to registering new domains for their clients since that's the easiest when dealing with non-technical clients. Texas alone for example has 254 countries, the vast majority of which are very small and have effectively no full time IT department, so when these vendors are engaging new clients, low IT expertise is the norm by volume.

The local government itself may have an IT department, but they may not know how to create a subdomain, or even be aware this contract is being made and the site is being set up until after it's announced to the public.
by usr1106 | 2025-08-25 04:35:04+00:00
Depopulated sounds like nobody is living there, something like Pripyat. This town is said to have lost over 50% of its former 53,000 so still over 25,000 left. And apartments in GDR were rather small.

Not a native speaker, but is depopulated really the right word here or just clickbait? At least I was expecting something else. Heavily shrunk of course.
by Nursie | 2025-08-25 04:35:24+00:00
> They’re not actually much better than their alternative, which is why they continually get voted out and kept out of power.

Labor won the last two general elections though? And the alternative is currently in disarray.

I'm not going to argue that Labor Australia are doing god's work - particularly on health at the system seems to be in crisis and need a lot more funding. But the opposition are in total disarray and desperately trying every wedge-issue in the book in an attempt to ignite culture-wars style partisanship here, which is (thankfully) falling on barren soil.
by hoherd | 2025-08-25 04:35:33+00:00
> One day their data was on the local drive and the next it became online-only files that had to be downloaded from Microsoft’s servers.

That is insane. If this happened to me, there is zero chance I would continue using that product. If something like this happened to my parents, I'd make them switch off windows if they wanted help with their computers (which I already did for other reasons, and the result was immensely positive, though the target OS was macOS, not linux.)
by bloomca | 2025-08-25 04:36:25+00:00
"Allow access" is pretty orthogonal, I don't know how it all works in mobile OSes, but I assume everything is virtualized there, so you can't just access whatever you want without user granting a permission (e.g. through a file picker system component).

You can also ship sandboxed apps on Desktop without the store (although I am not sure on how hard it is to auto-update them, usually stores handle that part), at least on Windows and macOS.

Stores handle storing the apps themselves and distributing updates, that part of the cost is real, plus they do manually review submissions (to some degree), but 30% is insane for that.
by throwaway31131 | 2025-08-25 04:37:34+00:00
We probably do need some kind of regulation in this space because for better or worse, and I think it’s worse, it’s hard to be a participant in modern society without a smart phone. (In my mind it would be something more akin to the communications act of 1934, but for apps to mandate a certain amount of “interoperability” across operating systems, whatever that may mean, but I digress)

on the other hand, it wasn’t all that long ago that we had many smart phone markers and operating systems, all with different strategies. It’s possible that the market did decide…
by repiret | 2025-08-25 04:37:40+00:00
I don't know what you mean by "home economics", but to me, that encompasses things like balancing a checkbook and making a budget and taxes and understanding how savings and debt and compound interest works how to choose when to save and when to go into debt. The sort of money matters that apply to any schmuck trying to live in the world. The reason so many people lack those skills is that for the most part we don't teach them in high school. Calculators have nothing to do with it.

Thank god we still teach quadratic equations, complex numbers, hyperbolic trig functions, and geometric constructions though. I don't know what would become of the world if most people didn't understand those things when we set them loose in the world.
by TheDong | 2025-08-25 04:37:50+00:00
Good luck with that.

People over in this github-actions issue are struggling to get github's attention for a 1-line fix to stop hanging jobs forever https://github.com/actions/runner/issues/3792#issuecomment-3...

That bug is incredibly dumb and obvious. There's been a PR to fix it for over a year with no attention.

I bet there's not a dedicated "github domain names" team, it's probably part of some overworked platform or infrastructure team, and there's no chance in hell any email you send to microsoft or github will end up with that team ever.

You won't have anyone to transfer the names to, you'll just be holding them and paying for them forever.

The best thing you can do if you want to fix this is:

1. Don't make typos.

2. Email github and tell them to reserve typosquat domains, and know it will get ignored, or _maybe_ added to a backlog and ignored for at least the next 15 years

3. Don't make typos.

4. Don't use ghcr for anything, and always mirror public ghcr.io packages using a "bot" github account with only permissions to public repositories to minimize blast radius.

Actually, the best bet to get this fixed is to wait for Microsoft to provide "Email Github Copilot support", hope that they hooked it up so the AI is capable of making purchase decisions, and convince it to purchase about 6000 domain names that might be typoes for security reasons.
by rramadass | 2025-08-25 04:38:12+00:00
My point was that MFC is not a "dumbed down" version of anything. What you are pointing out is merely a name change done by marketing from what the designers called it internally. This was explained in the documentation itself and obvious in the file names and class prefixes used in the library.

Borland's OWL predated MFC (not sure by how many years) and hence held the lead before MFC came along. Once the latter become available there was no longer any compelling reason to stick with Borland and of course their management failed to counter the threat and lost it all.

I myself started with Borland's tools on MS-DOS, moved to Windows with straight Win16/32 SDK programming and then moved to VC++/MFC before moving away from Microsoft platforms to Unix/Linux in the late 90's. It was a highly educational and career-forming experience.
by aspenmayer | 2025-08-25 04:39:08+00:00
I don’t know of one for Google News, but there is DeArrow for YouTube.

https://dearrow.ajay.app/

> DeArrow is an open source browser extension for crowdsourcing better titles and thumbnails on YouTube. The goal is to make titles accurate and reduce sensationalism. No more arrows, ridiculous faces, and no more clickbait.

Edit:

Found this, which does claim support for Google News:

https://github.com/iorate/ublacklist

https://ublacklist.github.io/subscriptions

I’m not sure if these are compatible with uBlock Origin, but some of them seem to be.

The demo gif is pretty clear on what it does and how it works, but it only makes it easier to block domains from the looks of it. It doesn’t actually rewrite titles which was your request.
by otohiwagt | 2025-08-25 04:39:29+00:00
The irony of our physical existence in a nutshell, and fascinating. It's unfortunate that more people cannot decouple this idea from corporate technology and many of its current pioneers. But, I suppose if you're saying this you already know full well that manned space flight has been, and for some time will continue to be, necessary. If for nothing other than the biophysical reality of our species and it's development.
by Nursie | 2025-08-25 04:39:35+00:00
The fixed term act, as the other poster pointed out, was repealed in 2022

It was also a hilarious failure given that during the 11 short years it was active there were two two-year parliaments. It also didn't stop PMs being deposed from within, during that same period there were 5 different prime ministers.

So I think your read on it is a little exaggerated there.
by Dig1t | 2025-08-25 04:39:46+00:00
Well some people don’t feel like all humans are perfectly identical interchangeable units. If you magically swapped the population of Ireland with the population Japan, do you think that the Japanese would suddenly behave like Irish people just because they were now living in Ireland?

Culture and identity are tied to nations, and just dropping millions of people from Africa into Europe doesn’t make them European.

If your answer is that they just assimilate, they often do not. Example: many churches are being replaced with mosques in London. That is not assimilation, that is simply replacing one population with another.

It is okay for a people who have existed for thousands of years to want their own country and culture to survive in its same state, even if the population shrinks for a while. These labor shortages and shrinking populations are not eternal, eventually the population will bounce back.
by indigodaddy | 2025-08-25 04:39:56+00:00
My favorite ping tool is fping, mainly because I can do bash expansion with it eg `fping mail{1..10}` .. very useful and saves me from doing a "for i" one-liner.

This idea is also very useful for host/dig DNS queries which I would also often previously do a one-liner for, but recently had a gpt script me a tool for it:

https://gist.github.com/jgbrwn/7dd4b262c544f750cb0291161b2ec...
by dsign | 2025-08-25 04:40:52+00:00
I’m reading a book that went through a competent editor that cares about spelling, semantics, style, tone and a type of depth. I can tell it’s a human editor from a certain craft school, and also that this editor has been at their job for at least a decade. I can tell the author of the book has also been at their job for a decade or longer, churning out book after book. And I can tell that because despite the impeccable grammar and prose, the book has no soul.

Wait, I phrased that wrong. The story is a mashup of commercial themes and the plot would be 3 out of 5, or maybe a 5 out of 5 for young people who haven’t yet had time to read thousands of books. But then the grammar is that of a sixty years-old person who would rather spend more time at the garden but who has excellent dominion of their craft and needs the few bucks to do groceries. Their exhaustive practice takes the whole work one notch down.
by niemandhier | 2025-08-25 04:41:04+00:00
It’s good that they try new ways to attract people. Very few people want to live in these areas.

An example to illustrate how dire this situation is: I was contacted multiple times by small East German universities that literally told me, I could immediately start a professorships there. Apparently the selection process is at the moment almost a formality, since they just don’t have any applicants for the positions..
by kennywinker | 2025-08-25 04:41:21+00:00
The point, to me, was that it’s a show about flawed people. Cameron’s flaws were frustrating sometimes, but so were Joe’s, Gordon’s, Donna’s flaws. She was chasing something… (the thing that computers get us to? Connection?) and was constantly worried someone was going to wreck it by taking it in the wrong direction. Like what happened in s01 with the interactive chat based OS she was building.
by riazrizvi | 2025-08-25 04:43:32+00:00
I was answering OPs comment, so in practice I’m saying I don’t use these pandering perspectives that provide convenient faceless enemies, and where I’m the good guy. Better to try to improve one relationship at a time, and re-examine ourselves for blame. And that probably we get most leverage out of improving the relationship with our own self first - it has knock on effects to all the others.
by dfc | 2025-08-25 04:43:34+00:00
I am not sure I agree with this. I don't think that running out of battery or rebooting a phone is that rare.

But more importantly, if these events are noticeable and Alice does what you suggest she is probably going to highlight her location. Especially if she naively waits till she is 15 minutes from home to switch her burner on. Over time there will be a circle around her house of no burner phone network attach events.
by zdragnar | 2025-08-25 04:43:37+00:00
We could have had other competitors, but nobody wanted them.

Windows phones had a very enthusiastic but too-tiny following. Blackberry lost the plot with terrible hardware and software for the app era (developing an app for the Storm was enough to convince me to never get one of their phones). Symbian's S60 was too little too late in the US. Ubuntu, Mozilla, and others all tried various flavors of Linux and web based phones to no success.

I don't think you can really blame Google or Apple for any of these failures in the same way Microsoft could be blamed in the 90's for their abuses.

With that said, I wouldn't be surprised if, eventually, Google was forced to change how they handle third party app stores. iPhones will likely never be big enough for Apple to be forced to allow other stores in the US.
by CGamesPlay | 2025-08-25 04:43:49+00:00
When Y Combinator gives $10,000 for a 7% stake in the company, the company goes from being "worth" $130,000 before the money to being worth $140,000 after, and they have $10,000 more in their bank account. Every dollar the company earns afterwards also increases their bank account by $1.00.

When an app store takes a 30% commission on sales, every dollar the company earns afterwards increases their bank account by $0.70.

The percent doesn't really matter (if YC took 30% ownership or app stores took 7% commission), the comparison doesn't really make sense either way.