MurphyA/hacker-news huggingface dataset:
by igor47 | 2025-07-26 17:19:22+00:00
The worst start -up I ever joined (and this is saying something!) had this problem that this article really describes well, of focusing on downside problems while in the upside phase. It looked like the founder insisting on literally 100% unit test coverage (the code would set a constant to 5 and the tests asserted the constant was set to 5), even while the product had literally no users (in fact the growing code base had never been run outside of test).

The founder was ex-Google so this also tracks with the article.
by bernawil | 2025-07-26 17:19:50+00:00
[I'm assuming styled-components was the preferred css-in-js solution until recently]

> If you do UI components with [insert your favourite CSS-in-JS solution], it stays in the same file.

I mean you can but "best practice" all around has been to put them separate and that's reflected in the majority of github repos in the training data of the LLMs.

> Maybe the proximity to markup within the file is important?

that's my assumption, yes. Seems to me LLMs work best when they output the relevant tokens right there with the markup instead of referencing some previous tokens even if relatively close.

styled components was the recommended solution in popular UI libraries like React MUI up until 2023 when chatgpt came out. Tailwind REALLY blew up with LLMs.
by DSMan195276 | 2025-07-26 17:20:59+00:00
The problem is that you're encouraging people to keep stuff like this to themselves until they can use it to perform an exploit that they'd get paid for, which is the opposite of what Microsoft wants - they'd much rather you report it now so that if an exploit does get found that requires root they would potentially be protected.

The simple question for Microsoft to answer is - does it matter to them if attackers have root access on the container? If the answer is yes then the bug bounty for root access should at least pay something to encourage reporting. If the answer is no then this shouldn't have been marked as a vulnerability because root access is not considered a security issue.
by PaulHoule | 2025-07-26 17:21:08+00:00
Articles about the airport lounge are popular precisely because so many people are interested in the airport lounge.

Personally I'm much more interested in issues that people don't talk about -- such as the "scope clause" that keeps aircraft like

https://en.wikipedia.org/wiki/Embraer_E-Jet_E2_family

out of American skies. Smaller airports are served only by crappy 50-seat jets that manufacturers no longer make. If they could upgrade to 70-90 state-of-the-art jets they could provide a cheaper and more attractive service that would fill the seats. Most organizations in my town rate the "quality of the airport" as the worst challenge they have in their environment.

Real elites fly on private jets. You can cross the pond faster in one of these

https://en.wikipedia.org/wiki/Gulfstream_G650/G700/G800

than you can on a 7(7|8)7.
by chongli | 2025-07-26 17:21:37+00:00
Not to mention that inches are not a measure of angle, they’re a measure of length. I would prefer a proper measure of angle such as arcseconds. With some dirty math (taking 31.5 inches as an arc segment of earth’s polar circumference) yields a tilt of roughly 4 milliarcseconds, an extremely small angle to say the least.
by slashdev | 2025-07-26 17:22:17+00:00
Did you read the article? Instead of making ad-hominen attacks, can you counter the arguments within?

> The first question the anti-Israel genocide chorus needs to answer is: Why isn’t the death count higher?

If it's a genocide, it's the most ineptly executed genocide ever. From the same entity that humiliated and defanged both Hezbollah and Iran in days.

It really doesn't fit. It does look like a war though. Yes wars are horrible, and lots of bad things happen in wars.

https://news.ycombinator.com/item?id=44695878
by hagbard_c | 2025-07-26 17:22:37+00:00
> I think it's an amazing feat of marketing, by display companies, that people still put up with such low resolutions.

Stereo audio is still fine even though 5.1 exists

300 dpi printers are still useable even though 2400 dpi printers exist

double-glass windows are still fine even though triple-glass windows exist

2-wheel drive cars are still fine even though 4-wheel drive cars exist

Just because something new appears on the market that new thing does not need to take over from all predecessors when those predecessors are good enough for the intended purpose, especially not when the new thing comes with its costs - power use and higher demands on GPUs in case of display with higher resolutions than really needed.
by Nissentil | 2025-07-26 17:23:15+00:00
American Jim Sachs is one of the true greats in the area of classic pixel art. He is particularly known for his work on the Amiga, where he was responsible for the graphics in one of the platform’s most important system sellers, Defender of the Crown, as well as Ports of Call, which was a favourite here in Norway. However, his career didn’t end there, and if you were impressed by virtual aquariums around the turn of the millennium, it was probably his fish you were looking at.
by stockresearcher | 2025-07-26 17:23:55+00:00
California has the Cullen Earthquake Act.

Essentially one affected party comes up with a proposed solution, files paperwork with the court, and then all the rest of the affected parties get together (under court supervision) to make whatever changes are necessary until the solution is fair. If the court agrees that it is a fair solution, it becomes final.

https://law.justia.com/codes/california/code-ccp/part-2/titl...
by wredcoll | 2025-07-26 17:24:44+00:00
> I sketched out an alternative called "Nemesis" which grew into an HTMX-based system where it takes one programmer an hour to code a task and there is no build, and between Flask and the 15-or-so helpers it is easy

My argument here is basically creating that is really, really hard, and there's no framework or library that will make it easy.

React and friends are a mess because they're dealing with hard problems, kinda like systemd or kubernetes.

Writing code that lives entirely inside the machine is a lot easier than having to interface with the messy real world.
by gruez | 2025-07-26 17:26:13+00:00
>The average person worked fewer hours through almost all of recorded history until the last few decades.

If you're claiming that people worked fewer hours during the industrial revolution than today, I'll need a citation for that. If you're referencing the claims made by "Original affluent society", that has problems around how working hours are counted.

https://en.wikipedia.org/wiki/Original_affluent_society#Crit...
by whartung | 2025-07-26 17:28:11+00:00
> What costs? I run a self-hosted soultion for ~5 people off a $150 N100 machine + storage costs and currently my bottleneck is Jellyfin transcoding speed. I want to scale out with a couple more $150 N100/N150 machines to ~20 users: my entire extended family and friends.

Support has costs.

Anyone here can grab an N100 off of ebay, install "self hosting stuff" (much like the guy in the post did), put it back on eBay with a 50-100% markup. "Plug and play, self hosted. Plug in a TB drive for more storage. Total solution!"

And it's still not enough. They need a domain, they need a tunnel, they need to hook up with Lets Encrypt. They need to leave the machine on, and they need a backup strategy. Much less now having to cope with all of the Fine People that inhabit the wild interwebs and will soon come knocking...and knocking...and knocking.

This all has to be explained to folks that don't know, have no aptitude for, and simply don't care, about the mechanics of this process. They just want it to work.

It's not just a couple of dockers shoved onto a small Linux box. It's free like a puppy.

Self hosting is arcane, fiddly stuff. Fine for those comfortable with it, but a nightmare to those who are not.
by michaelcampbell | 2025-07-26 17:29:03+00:00
I'm sure I'm getting this wrong, but I think I remember someone pointing out that Borland's Turbo Pascal "compiled lines per second" figure no one could even come close to replicating, until someone wrote a legitimate Pascal program that had essentially that number of lines containing only ";", or something along those lines.

It WAS still a great compiler, and way faster than the competition at the time.
by jahsome | 2025-07-26 17:29:35+00:00
I disagree. As I see it, it's pitched as a William Osman-inspired event. I wouldn't expect it to be a well oiled machine. In fact I'd expect it to be exactly how you framed it in the last paragraph.

Personally, I can't help but feel like those wanting it to be something else are responsible for projecting those desires on to the event, and not the other way around.
by gostsamo | 2025-07-26 17:29:36+00:00
Yep, and when you are done migrating, you need to remove this, and there is pydantic3 coming. Keeping in mind the number of libraries nad microservices involved, search and replace was the easier option.

PS: thank you, I can think on my own and even failing that, chat gpt is not in closed beta any more.
by reactordev | 2025-07-26 17:30:26+00:00
I don’t know, I think reducing bundle sizes and bloated javascript in favor of built in support for view transitions warranted a blog post against one of the primary arguments for why SPA.

I agree with the author. I love React. I shouldn’t need two dozen more dependencies. We ditched server side for client side in 2010 for speed. Now that we have 200x more compute power, more powerful CSS, more robust html (with web components), we can go back to server side rendering and only send what’s required for the user at the time of action.
by swat535 | 2025-07-26 17:30:43+00:00
I wonder if you would make the same comment if the genders were reversed.

"Cofee App" for males only, that allows them to post pictures of woman they have dated, rate them and include green/red flags.

"She is not good enough in bed", "She is too fat", "She has a high body count",..

Arguing over the legal definition of the word "Defamation" is missing the forest for the trees.
by kelthuzad | 2025-07-26 17:32:38+00:00
>I’m building a PWA right now in the drone automation space. I can feel the sparsity of the ecosystem.

What are you talking about? The ecosystem of the web is VASTLY SUPERIOR to anything else. You're just desperately trying to score a point where the is none to score. You don't have to bend over backwards in defense of gatekeepers like Apple (unless you are a massive shareholder)

>A lot of people following this discussion are all devs in the web space.

I am a web dev myself. I actually started out as a software engineer by making iOS apps.

>However, your prejudice for people has already sealed the future of your discussion, regardless of whether your prejudice is correct.

You're projecting, since I've zero prejudice that's why I made arguments based on concrete evidence and consistently backed up my claims.
by zarzavat | 2025-07-26 17:32:39+00:00
I completely disagree. Look at (old) Reddit which allows for individual styling of each subreddit, or VSCode which allows themes to restyle the editor, as examples of real world products separating style from structure to huge success.

Not everything needs that level of separation, but to say that even basic separation is a problem to be solved by jamming everything into the class list is completely wrong.
by danans | 2025-07-26 17:32:47+00:00
> The next year, Edward II reaffirmed Hansa merchants’ freedom from taxes, travel, and arrest in exchange for £1,000 (which would have been three percent of the Crown’s total annual tax revenues). Remarkably, he even promised that neither he nor subsequent kings would place new restrictions on the Hansa without their consent. These privileges ensured that Hanseatic merchants paid even lower tax rates than their English counterparts.

Autocracy and the absence of accountability (either financial or criminal) for the very wealthy is an age old problem that we still deal with.
by bob1029 | 2025-07-26 17:32:51+00:00
> The relevance of this is that had the object indeed been discovered earlier, then there would have been some possibility that humanity could have mounted an intercept mission, a recourse that was out-of-the-question by the time 3I/ATLAS was actually detected

The only kind of intercept mission that would make sense to me from a game theory perspective is a totally blind, large scale thermonuclear weapon strike. The first thing that it wakes up to shouldn't be a harmless probe that can only phone home the bad news.
by wredcoll | 2025-07-26 17:33:19+00:00
> The via negativa part of this, removing language related to misinformation, Diversity, DEI and climate change and leaving things neutral, seems good.

I appreciate that the author then goes on to list a bunch of bad things about this and then convinces himself that it will all actually be fine because, dunno, it fits his prejudices? Biden did something something?

Everyday I realize just how true the adage about not being able to logic someone out of a position they didn't use logic to get into.
by boesboes | 2025-07-26 17:33:35+00:00
Yeah, it has become unusable for me. Maybe it always has been and I am just trying to solve harder problems with it and more critical of the results. But it’s still infinitely better than gemini for me, that can’t do anything useful. It even tried removing the entire security system from my rails app because it couldn’t figure out how to login in the tests.

I did a test with a very detailed prompt, exactly specified what to fix and how. Claude did it, but not very well. Gemini? it got stuck in a loop until i told it to stop, gave it a hint and then it got stuck again and gave up after trying the exact same thing three more times…

And while Claude managed to get through it, it couldn’t get it right even with some help. It took me 15 minutes to write the prompt, 15 minutes of claude implementing it & another 10 trying to get it to do it correctly. It would have taken me about half the time to do it myself i think..

I am giving up on it for a while.
by benoau | 2025-07-26 17:34:39+00:00
Coincidentally, at the time Apple was doing their best to kill Flash, there was a thriving ecosystem of "social games" on Facebook minting tons of money from exposing massive audiences to small transactions that were unplayable on iPhone without Flash.

Apple always maintained it was for technical reasons but eventually banned transpiling entirely to prevent Flash being used at all for app development, a process that produces native apps from other languages and was working well enough. It's pretty ordinary to do that today targeting a lot of platforms with various languages.

These days they openly violate EU and US law to maintain their fees on many of the same games that were on Facebook, and are on regulators radar for many things they do to prevent anything like Facebook Games ever emerging outside their control.

So I wonder how much of this was simply them anticipating another billion people - millions of big-spender "whales" - would be coming online.
by const_cast | 2025-07-26 17:34:40+00:00
Code doesn't necessarily need to be clean. We've had, like, two decades of "do clean code" and a lot of the time that mentality is shit. Putting stuff in a separate file and introducing layers and layers of abstractions to keep things "clean" doesn't always make it so. Often, it makes the code more complex, and makes behavior difficult to reason about.

The big problem with Vanilla CSS is that's it's sort of like Perl. It's a read-only language in practice.

Yes, theoretically, you can have perfect semantic CSS classes and use those. In practice, not every button is the same and you'll need slightly different styling in different places.

Yes, we could go in and change the .button class. But who is using the .button class? Where is it used? Nobody knows, and you can't find out. So editing that class is EXTREMELY risky. I have seen many an entire application break because some dev decided to edit CSS. The bigger the application, the bigger the risk.

Where I work, we have 1500 devs. Does anyone know the complete set of usecases a CSS class would have? No. Even if I gave you a month to research it, you would not find out. So you cannot edit CSS classes, it's far too risky.

So, the result is that everyone just tacks on to the end of the CSS. And now, in your clean code world, you have 50 different button classes. Um... whoops.

If you want to compartmentalize, what you can do is use components, in whatever backend/frontend framework you have. You can have the component have their own state and allow users of the component to change parts of it. Then, it doesn't matter how "unclean" the tailwind is - because you'll almost never see it. But if you need to change it, you can, without destroying the entire application. No more 50 button classes, and no more read-only implementations.
by Tadpole9181 | 2025-07-26 17:34:54+00:00
Oh, please.

I advocate for strong anti-trafficking and consent requirement laws and regulations on how porn sold in the US must be made and you bring up fictional "open drug markets" in SF?

I'm advocating for OSHA and labor unions for sex workers. Guess what, those work.

And you know what never has? Prohibition on alcohol, prohibition on marijuana, or forcing women to wear burkas for modesty. For their safety, of course.
by pests | 2025-07-26 17:35:06+00:00
Yes, and us adults also struggle with this. Look at hustle culture where every hobby is turned into some money making side gig. You like painting? Why isn’t your art on Etsy? Like working out? Become a personal trainer. Make an app for yourself / friends? How you going to monetize or add ads? It’s okay to enjoy hobbies without a profit seeking motive.
by rock_artist | 2025-07-26 17:35:08+00:00
I’m also (old enough? to) avoid apps when I can. Sadly the history made it a thing. And while it’s not only Apple. As the early incarnation of mobile web. Apple has a lot of it on its name.

1. Original iPhone aimed for that. No AppStore. But developers especially when web stack was poor, wanted native access. It did make sense back then to ideas like WhatsApp or some audio and video apps.

2. Then Apple understood they can get a cut if they operate the AppStore.

3. Then companies understood they can benefit from more data….

I’ve recently moved country and that’s real lame. Almost any supermarket or restaurant here wants me to become a “member” and enforce me to download their app (no web!). I’ve ended up creating another Apple account since those apps weren’t available in my origin country AppStore.

Most of those apps can pretty much be web apps (they actually are :) ) but insist of me downloading something with more data.
by mingus88 | 2025-07-26 17:35:21+00:00
That’s such a sad sentiment.

There was a brief moment in history where we could get concise and efficient answers to any question we had.

Now we need to harness the computing power of an LLM to get something remotely similar…and it’s still inherently worse.

at least with a page full of search results I can compare and weed out misleading or garbage results

With an LLM the users are now just taking whatever they get as the truth. Never realizing LLMs are not designed to be accurate.
by wredcoll | 2025-07-26 17:35:41+00:00
> Ideological Neutrality. LLMs shall be neutral, nonpartisan tools that do not manipulate responses in favor of ideological dogmas such as DEI. Developers shall not intentionally encode partisan or ideological judgments into an LLM’s outputs unless those judgments are prompted by or otherwise readily accessible to the end user.

> I worry that the White House has not thought through the implications of (b) here.

Yeah... "worry" is a word here.

Like, people's willingness to have faith in someone that continually betrays them genuinely baffles me.
by edenr | 2025-07-26 17:35:52+00:00
I built Inference Gateway to simplify how AI requests are routed across different LLM providers.

It speaks the OpenAI API but works with Anthropic Claude, Google Gemini, Groq, Ollama, and more. It supports streaming, function calling, tool execution, and context injection. You can deploy it anywhere, including Kubernetes.

It’s designed to be vendor-neutral, easy to extend, and production-ready.

Happy to get feedback or suggestions. Source code is here:

https://github.com/inference-gateway/inference-gateway
by louthy | 2025-07-26 17:36:48+00:00
Just to be clear, the OP (@TacticalCoder) originally wrote this:

> “People are scared of what's going on. Both criminality and religious extremism are rising at a more than alarming rate.”

He then edited the comment once I called him out on its veiled racism and once he'd seen the thread following from that (the discussion around ONS statistics where I highlight that crime is generally down, just not sexual offences). He then changed his comment to:

> "They're super scared because a great many people have had enough. Crimes numbers, including rapes, are through the roof in the UK"

I realise that @vidarh replied to the updated text. But there are a couple of points:

1. If you go to the Office for National Statistics Crime in England and Wales report [1], you'll see the following comment:

"Trends in police recorded sexual offences should be interpreted with caution as improvements in recording practices and increased reporting by victims have contributed to increases in recent years. For further information, see Section 19: Data sources and quality."

So, an increase in the numbers doesn't necessarily mean actual an increase. It would also explain why the percentage of solved (sexual) crimes is decreasing.

2. Even if there was an actual increase, that doesn't change the fact that crime is down overall (which counters the original statement by @TacticalCoder)

3. It also doesn't invalidate @vidarh's link which shows crime in the UK is low compared to other nations. So, if some areas have increased, then the overall picture is still relatively good for the UK. It certainly doesn't fit what @TacticalCoder originally wrote: "criminality and religious extremism are rising at a more than alarming rate".

Editing the comment from the one that was called-out to a whole new statement, that maps onto the one crime stat that is actually going in the wrong direction (but might not be due to changes in how its measured), is extremely disingenuous.

[1] https://www.ons.gov.uk/peoplepopulationandcommunity/crimeand...
by throwawaylaptop | 2025-07-26 17:37:04+00:00
If I lend you my car, and you park in Berkeley leaving your laptop open on the passenger seat... Yes it's your fault my window got smashed and I'd like you to pay for it. Is it your fault your laptop got stolen? Maybe, that's just semantics. But my window being broken is your fault because we all know thieves exist and look for items on seats.

So if you upload your id to a flash in the pan website, who's fault is it when the rookie website turns out to have expectedly low security?
by yumraj | 2025-07-26 17:38:00+00:00
I’ve thought about that but always forget, good to know it helps.

I wish there were a way to persist in-memory context in a file automatically, say on each compact or git commit. Yesterday CC crashed and restarting it and feeding it all the context was a pain since my updated Claude.md file was a couple of days old. It literally went from a Sr Engineer to a Jr post crash.