MurphyA/hacker-news huggingface dataset:
by aleph_minus_one | 2025-07-26 07:16:37+00:00
> But that is a communication context, and there are other contexts where implications and assumed meanings are expected, and spelling everything out would be considered pompous, self-important, and ridiculous.

> Perhaps not in Germany? But certainly elsewhere (but i believe that in German the pronoun "sie" can require assumed context to understand).

I would indeed claim that in German such assumptions are often spelled out more explicitly than in English.
by Animats | 2025-07-26 07:18:05+00:00
Britain tried that. Network Rail, a unit of the Government, owns the tracks, and 28 or so Train Operating Companies run the trains.

The UK started out with railroads in private ownership. They were nationalized in 1948, as British Rail. Then they were de-nationalized in the 1980s and 1990s. Now, they're being re-nationalized.

None of this is considered a huge success.
by PartiallyTyped | 2025-07-26 07:18:14+00:00
We should always have human experts, things can and will go wrong, as they do with humans.

When thinking about everything one goes through to become a surgeon it certainly looks artificial, and the barrier of entry is enormous due to cost of even getting accepted, let alone the studies themselves.

I don’t expect the above to change. So I find that cost to be acceptable and minuscule compared to the cost of losing human lives.

Technology should be an amplifier and extension of our capabilities as humans.
by davkan | 2025-07-26 07:19:27+00:00
Paying $10/yr for a domain is well worth the cost just to be free of attaching your entire digital life to a gmail etc account that can be easily taken from you with no recourse.

But beyond that self hosting is a hobby. It’s not nearly turnkey or cheap enough to justify unless you enjoy the process of self hosting itself.

There are other benefits outside the monetary equation of course like control of which the value is dependent on the self-hoster.
by wobfan | 2025-07-26 07:19:55+00:00
What. The article reads just as an ad for clouds. It tips into the benefits, ownership problems, setup. Then it says "but how do I share photos???" and this apparently is enough to counter all benefits.

Even if I had to (and this is what I actually do actively) push the photos I want to share to Google Photos, ALL the benefits remain. I see it, it's a slight inconvenience of having to do like 2 more taps and wait for the upload, but that's it. You get so much for this small inconvenience. You own your data, your infrastructure, you're not locked in, and your data is private. But having to share the photos via another app is the dealbreaker?
by p_l | 2025-07-26 07:20:01+00:00
In ye olden times, when most X11 applications understood "-geometry" and didn't try to do too much in absence of WM, things worked.

Chromium and possibly others (Chromium is just what I have personally dealt with) was confused about what did it mean to be fullscreen, and various other ideas regarding placing itself on screen.

I did success in making it work for a time, but it was problematic.
by djaychela | 2025-07-26 07:20:47+00:00
> But the problem is that while kids like it a lot, it doesn't translate to engineering careers.

I think there has always been that though. When having a guitar was cool and people thought they'd be famous doing it. Of course 0.00001% actually managed it, but some craft out a career in music or related areas such as being studio engineers etc. (I did)

And for some it shows that it is possible, that people like them can be enabled and make their own stuff.

It might be that they're are organisations needed to bridge this new gap and get people into more formal engineering, but they'll also hopefully realise that people like them might work one day at top tier engineering companies.
by anonzzzies | 2025-07-26 07:21:17+00:00
Outsourcing job was it? Modern programmers are literally terrible at all basic stuff (who stores ID images in the db and then in the clear, do you have many other mental issues or what?) (I see startups like Resend making the same mistakes and still people use them, so there isn't much punishment even from people with half a brain) and AI is going to make it all so much worse. And a public bucket. I think it should be criminally liable to be that sloppy.
by jpc0 | 2025-07-26 07:21:18+00:00
I don’t want to write an article but I think when SPAs are called for they are the least worst option.

Usually I want to ship an app to customers, but for that I need an app the targets Apple platforms, hopefully I can built it to target iOS, iPadOS and MacOS but maybe those are three different apps. I need an app that targets Android. I also need an app that targets Windows, and I need a linux app.

Then I need to distribute all those apps, so I need to get onto the AppStore for MacOS, the play store for linux, and whatever Huawei/other Chinese manufacturers use, and whatever amazon uses, and probably have an “official” APK available for stuff like fdroid.

I need a windows installer, maybe a portable package for windows, and get onto MSStore (which will then cover winget).

I need to pick some collection of linux distros to target, usually targeting having a deb release and rpm can be good enough. And you can build an “installer” yourself if you are so inclined.

Or I could just ship an SPA, I had to build out the same servers if the data was not local anyway.
by aglobalstory | 2025-07-26 07:21:39+00:00
A Global Story — Add Your Voice in Just 3 Words --- Hi, I’m Joshua, and I’m 13 years old. I created A Global Story because I wanted to make something that brings people around the world a little closer—three words at a time.

The idea is simple: anyone, anywhere can add just three words to a growing story. No accounts, no pressure—just a fun way to see how different voices can build something together.

I made this site so people everywhere could be part of something positive and creative. Whether the story turns silly or serious, it’s written by people like you, from all over the world.

www.aglobalstory.com
by gloosx | 2025-07-26 07:23:28+00:00
Oh yeah, when I open a typical big project with Tailwind I always love to see some:

<div class="group relative w-full max-w-md mx-auto bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-2xl shadow-lg p-6 md:p-8 transition-all duration-300 hover:shadow-xl hover:border-blue-500 dark:hover:border-blue-400"> <div class="flex items-center justify-between mb-4"> <h3 class="text-lg sm:text-xl font-semibold text-gray-800 dark:text-white tracking-tight group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors">Team Settings</h3> </div> <p class="text-sm sm:text-base text-gray-600 dark:text-gray-400 leading-relaxed mb-6">Manage your team permissions, invites, roles, and integrations here. Changes apply instantly across all team workspaces.</p> <div class="flex flex-col sm:flex-row gap-4 sm:justify-end"> <button class="px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-200 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-md transition-colors">Cancel</button> <button class="px-4 py-2 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-400 dark:focus:ring-blue-300 transition-all duration-150">Save Changes</button> </div> </div>
by wobfan | 2025-07-26 07:24:36+00:00
> for services that are already "free".

The problem is that people still believe that if they don't pay money, a service is free. But so many do not question why it is free. Hint: Not because Google just wants you to succeed and have a good life. And then, without any second thought, they literally upload their whole private digital life.

If you don't pay, usually, you're the product.
by pflenker | 2025-07-26 07:25:27+00:00
Besides collecting data, there are more obvious and less sinister reasons for asking people to use an app:

Engagement and real estate.

Keeping the users up to date is way easier with push notifications, especially with younger audiences who are less likely to read email.

And the app sits there on the Home Screen and advertises itself without having to do anything, while a web page relies on the user remembering its name and go there.
by Earw0rm | 2025-07-26 07:25:36+00:00
We already do.

Cache hierarchies operate on the principle that the probability of a bit being operated on is inversely proportional to the time since it was last operated on.

Registers can be thought of in this context as just another cache, the memory closest to the compute units for the most frequent operations.

It's possible to have register-less machines (everything expressed as memory to memory operations) but it blows up the instruction word length, better to let the compiler do some of the thinking.
Show HN: I'm trying to make it easier to run local LLMs directly in the browser
by jakobhoeg | 2025-07-26 07:28:18+00:00
If you've ever built web applications with local language models or attempted to experiment with them, you're likely familiar with the challenges: creating custom hooks and UI components from scratch, and building complex integration layers to fall back to server-side models when client-side compatibility is an issue.

To simplify this, I've created 2 new model providers for the Vercel AI SDK that makes it easy to use local and in-browser AI models with a unified API. This allows you to leverage the power of the AI SDK.

It currently supports:

- Chrome/Edge Built-in AI: Leverages the experimental Prompt API in Chrome (Gemini Nano) and Edge (Phi-4-mini) for native performance. It even includes support for multimodal inputs (images and audio), text embeddings and generating structured data.

- WebLLM Integration: Run popular open-source models like Llama 3 and Qwen directly in the browser.

The core idea is to offer a seamless developer experience. You can use the same streamText, generateText, streamObject, generateObject and useChat hook from the Vercel AI SDK, and easily switch to server-side models if the client lacks compatibility.

This is still in its early stages, and I would love to get your feedback, suggestions and help me improve it.
by herbst | 2025-07-26 07:29:58+00:00
I can tell how this would be implemented. Microsoft rolls their own awkward standard nobody asked for. Other major companies try to use a somewhat common standard.

The Industrie enforces new rules and suddenly it costs $150000 and has awkward requirements to get your OS certified adult.

For the years to come only the most recent windows versions and customer devices like phones will work. No Linux will pay to get a standard they haven't asked for. Embed devices will stop working as more and more stuff gets simply flagged "adult only"

Just don't ... :)

Edit:// see Silverlight, or why it took years until something like Netflix was even legally technically possible
by teo_zero | 2025-07-26 07:30:31+00:00
You don't need an explicit allocator: you can create an empty object and vec_push() does the magic of (re)allocating the memory when needed.

Instead, what is missing is an automatic deallocator, one that's automatically called when the variable goes out of scope. For example:

{ vec(int) v={}; /* no extra room allocated */ vec_push(v,1); /* space allocated */ ... use v ... } /* here the space is dellocated, then v is released */

This example doesn't use the same definition of vec as TFA, but something more similar to 'span' by the same author.
by dimmke | 2025-07-26 07:30:33+00:00
I've also found that they have gotten a lot more restrictive with new card offers likely because of the massive influencer industry encouraging churning etc...

I try to keep it simple: I have the $95/year Chase Preferred. I definitely get way more than $95 every year in rewards. It's also helpful for auto converting currency when abroad (the fees add up like crazy if you let individual services do this for you.)

I'm currently in Paris on a flight I booked with points but I use this card basically exclusively for all my expenses (except ones that have to be paid with cash/bank acct)

I recently tried to get one of these higher tier cards like the Reserve just for the lounge access and even though I have near perfect credit and longtime customer they wouldn't give me the joining bonus. It's not worth it overall, especially with these changes.
by lastdong | 2025-07-26 07:32:00+00:00
Interesting these platforms have existed for so long now (MBWay from 2014 and Pix 2016 if I’m not mistaken). I recall, back when it was launched, explaining it to friends in other countries (ie. UK) how good it was, not only the seamless payment network shared with friends, but also to be able to spin virtual cards with fixed value for online payments, and getting a puzzled reaction, “is that even legal?”
by account-5 | 2025-07-26 07:33:45+00:00
Why I do programming, as a non professional programmer, is to make my life easier; to have the computer do my work for me. I program to automate manual tasks.

I've stitched disperate corporate systems that don't communicate together with autohotkey. I've used powershell to complete jobs in minutes that take other people hours. I've even used MS Access for data analysis.

As a non professional programmer I learn to use what I have access to, which you can likely see from some of the things I've used above, is not much and stuff you probably wouldn't chose.

However in my personal life where I can follow my interests I struggle with choosing which technologies to learn. I want to learn what's going to last, like SQL for example. An example might be when I went with dart and flutter for cross platform app development, despite it constantly being said that Google will abandon. There were just too many we'd frameworks to chose from, flutter seemed like a no brainer, and it's been pretty great.

This is a bit of a ramble so tl;dr, I learn was useful and hopefully long lasting.
by donatj | 2025-07-26 07:34:07+00:00
I recall in third grade coming across a QBasic program on my families second hand 286 that could read from the mouse. I have no clue how it worked looking back. Convinced however that the ball mice at the time must use little generators rather than the optical encoder wheels they truly used, and knowing generators were also motors when used in reverse, I spent literal months trying to essentially write to the mouse so I could move the mouse around the desk and spook my friends.

This of course never worked out, and eventually I told my uncle who worked in IT what I was trying to do and he explained why it wouldn't work and we actually disassembled my Microsoft Bus mouse to see how it worked.

Despite my disappointment, I'd learned some things about computers and BASIC in the process and frankly I was hooked.

Here I am 30+ years later still looking for novel uses for things.
by jillesvangurp | 2025-07-26 07:34:25+00:00
IMHO, ISO 8601 as a standard is way too broad and unspecific. ISO 8601 is way too messy. Telling somebody that they need to parse an ISO 8601 date time is not enough information to do the job. Which variant is it? Does it include the time part. IMHO allowing the full range of ISO 8601 dates and times in a data format is usually a mistake. You want to be more specific.

There's a need for a standard that locks down the commonly used variants of it and gets rid of all the ambiguity.

For me, timestamps following this pattern 'YYYY-MM-DDThh:mm:ss.xxxxxZ' is all that I use and all my APIs will accept/produce. It's nice that other legacy systems are available that don't normalize their timestamps to UTC for whatever reason, that consider seconds and fractions of a second optional, etc. But for unambiguous timestamps, all I want is this. It's fairly easy to write a parser for it. A simple regular expression will do the job. Of course add unit tests. Technically the Z is redundant information if we can all agree to normalize to UTC. Which IMHO we should. In the same way the T part and separators are redundant too. But they are nice for human readability.

You can use datetime libraries that are widely available to localize timestamps as needed in whatever way is required locally. But timestamps should get stored and transmitted in a normalized and 100% unambiguous way.

It's only when you get into supporting all the pointless and highly ambiguous but valid variants of ISO 8601 that parsing becomes a problem. There's actually no such thing as a parser that can parse all valid variants with no knowledge of which variant is being used. There are lots of libraries with complex APIs that support some or all of the major and minor variants of course. But not with just one function called parse().

I think the main challenge with ISO 8601 is that it never called out this variant as a separate thing that you should be using. This really should be its own standard. And not using that would be a mistake. ISO 8601 is what happens when you do design by committee.
by gabesullice | 2025-07-26 07:35:05+00:00
Offline is good for things like your ball sort game or a calculator. But the developers of that sort of thing want to make money, so they sell apps in the app store.

Offline order history is only a marginal improvement on the e-commerce experience from a customer and business perspective, so it's more appealing to us engineers who appreciate it as a feat of engineering prowess.

In other words, offline isn't PWAs killer feature. Besides, native apps can do it too.

PWA's killer features are circumventing the app store and the app store tax and not maintaining two codebases for Android and iOS.

Another Hacker News client would be a good example of a good PWA that you might install to your phone. It could have niceties like "save for later" or special styles applied to your favorite commenters. Offline support would be useful too, of course but not the main reason to develop a PWA.

Uncensored, paid content is another significant use case.
by silisili | 2025-07-26 07:35:24+00:00
My wife is one of these people. We couldn't be more different in that regard. I loathe apps and generally only install them when there's no alternative. She seems to either not understand or trust websites, and wants an app.

Different strokes for different folks, I guess. Every time I grab her phone I get dizzy and lost from the hundreds of apps. When she grabs mine, she wonders how I accomplish anything at all.
by proverbialbunny | 2025-07-26 07:36:11+00:00
Caching and loading times mostly.

I'm on old.reddit.com too and I use the mobile app (including the 3rd party ones back when they existed) for one primary reason: Two windows I can quickly switch back and forth on. On my phone I use Reddit to look up things. I can have a Reddit thread on one window and a Google search on the other and go back and forth. In a browser switching tabs back and forth is painful, often reloading pages, losing the spot in the browser, having this url bar and top bar taking up tons of screen space.
by DocTomoe | 2025-07-26 07:37:07+00:00
This is a very sensible topic ... and sensible topics need careful solutions, not 'let's reinvent a medevial town square's pillory'.

Western society has become actively anti-dating lately (think: ever since the 1980s). People, especially women, are actively encouraged to scrutinise even minor behaviour for red flags, after all, every man is a potential serial killer. This is so prevalent that we have made movies about that sort of paranoia ... and there are people in treatment over it. Clinically, this is often referred to as hypervigilance/paranoia syndrome, a pattern related to PTSD — both as a consequence of trauma and, paradoxically, as a source of relational dysfunction.

This is not meant to downplay the reality of actual assaults. But it points to a deeper systemic issue: The drive to protect against potential violence has, in some circles, taken on a life of its own - and in doing so, it has poisoned trust.

So - I do not claim your 4 women were not at some point scared by a guy during a date. But what used to be considered 'assertive, reliable, masculine' behaviour in the 1950s has become 'prelude to slaughter' these days, especially when other factors are present (e.g. 'he doesn't turn out to be Prince Charming that I expected' or 'he decided to split the bill').

So ... if there is an actual case of domestic violence, the solution is not to create an instrument that can be badly abused and does not follow rule of law - it is to go to ... law enforcement, and let the courts deal with it. IF the guy is a problem, let them put him away, rather than slandering him online.
by gosteinao | 2025-07-26 07:38:55+00:00
> One can make a very strong argument that the manosphere stuff is rooted in poor sexual attitudes of men that only got worse with tons of porn.

This has no bearing in reality. The "manosphere" is mostly neo-conservative guys who are sometimes even performatively against porn.

> Every other game has basically stripper-level female characters now days.

This used to be a lot more pervasive 20 years ago than now? Altogether with the "hip hop" thing, just feels like prejudiced, outdated arguments without data to back it up.
by gwd | 2025-07-26 07:39:08+00:00
There is actually a sense to the dilution. If I have something I think is worth $10m, and I'm asking someone else to give me another $10m, doesn't it make sense for that person to own 50% of the company? Why would any investor give you $10m wile receiving no ownership of the company? How are you going to give these newer investors ownership, if you don't reduce the ownership of everyone else?

The claim in the tweet was that they got 1% of the value of the diluted shares: e.g., on paper they should own 1% of $100m, but somehow they only got $10k out of it. There does seem to be a culture of this going around now -- the VC version of "Hollywood accounting". In a lot of situations it doesn't make much sense to me -- is it really worth poisoning the well of startup talent for the VCs to get $95m instead of $85m?
by blensor | 2025-07-26 07:39:09+00:00
Would this really help though.

Let's assume there is a payment processor where anything goes, the company utilizing it would still be punished by the other payment processors.

I don't think Visa/Mastercard would care that you only sell the things they don't want through other payment processors, they still would threaten to cut you off entirely for having the content they don't like
by bigfudge | 2025-07-26 07:39:10+00:00
From memory I think those numbers for men include those in same sex relationships. Also worth noting that men are much more likely to be physically or psychologically attacked by other men than they are by women.

I’m not minimising the idea that women can Be violent, but we need to be careful to have in proportion. If you look at the most serious categories of harm, or only murder, the differences really are very stark.
by echo42null | 2025-07-26 07:39:39+00:00
Honestly, this isn’t new at all. Most apps are pretty frustrating to use compared to just visiting the website. Even basic stuff like checking train or bus schedules or planning a route on Google Maps. It’s often worse in the app. With a browser, you can just open multiple tabs, switch between them freely, compare things side-by-side. Most apps don’t support this kind of multitasking at all.

What’s even more annoying lately is the whole “scan this QR code” or “click this button to open in-app browser” flow. You try to log in, get sent an email, and when you click the link, the session’s already gone in the in-app browser. It’s a mess.

So yeah… just use the web version. It’s simpler, more flexible, and honestly more reliable in most cases.