MurphyA/hacker-news huggingface dataset:
by elpocko | 2025-06-24 10:38:35+00:00
Okay but these tiny models are being used by people and businesses instead of GPT-4. My point was that they consume less energy per user than a rig used for gaming.

I have no insight into how many GPT-4 users are served per GPU, but I would assume OpenAI heavily optimizes for that, considering the cost to run that thing. It's probably in the same ballpark: hundreds-thousands of concurrent user requests per GPU. Still better than one GPU per gamer, even if it requires 10x the energy.
by pjc50 | 2025-06-24 10:38:56+00:00
> 9 separate synchronous plants that had sold aFRR(?) to the TSO then failed to deliver, so when the TSO algorithms tried to adjust the oscillations, nothing happened.

Oof. This sounds like a classic of "it's only needed in emergencies, so it's only in emergencies that we find out it doesn't work".
by miningape | 2025-06-24 10:39:18+00:00
Awesome, I'm writing a "logical solver" just like this - I'll hopefully also have something to post here when I'm done.

I'm trying to use it during the generation process to evaluate the difficulty a basic heuristic I'm trying to work with is counting the number of times a particular colour is eliminated - the higher the count the harder the problem since it requires more iteration of the rules to solve. (A counter example to this would be a board with 1 colour covering everything except the cells a queen of the other colours needs to be placed on)

Also I'm trying to evaluate the efficacy of performing colour swaps but it's proving more challenging than I thought. The basic idea is you can swap the colours of neighbouring cells to line up multiple colours so there are less obvious "single cells" which contains the queen. The problem with this is it can introduce other solutions and it's difficult to tell whether a swap makes the puzzle harder or simpler to solve.
by neoromantique | 2025-06-24 10:39:22+00:00
My current phone isn't asking me to make a lot of sacrifices for the sake of "ethics".

I am willing to make many of them, but the least requirement for me is at least a good effort of moving off China for manufacturing (Ideally EU, of course, but we all know that's unrealistic).

I already have picked up standalone music player to deal with missing 3.5mm jack, I also have picked up a small camera with a pancake lens that I carry daily to account for not having great camera in phone, but I'm not willing to spend high mid-tier phone money on an entry level hardware if it is fully manufactured in China, sorry.

I used to run Xperia's, despite horrid software, but now I'm on Google Pixel for the lack of better options.
by dinfinity | 2025-06-24 10:40:03+00:00
> Yet instead of discussing the actual real dangers happening right now and what we can do about it

This is almost the definition of "being short-sighted".

You're not wrong that there are pressing matters due to the rise of AI in various forms, but a (let's say) 'military-grade'/state-level AGI system is very much something to worry about hard and early. You can scream "AI hype" as much as you want, but if China gets to AGI first and abuses it to gain world dominance we're still royally fucked (in a variety of situations, including where they lose control of it). If you start thinking about that when it happens, you're already way too late.

You are entirely free to focus on short-term problems, but don't shit on the people who put an effort in looking a bit farther into the future.
by Defletter | 2025-06-24 10:40:28+00:00
And the institution of slavery and its legacies were and are experienced by contemporary people. In fact, penal chattel slavery was an ongoing thing well into the 20th century in the US.

And I honestly fail to see the distinction you're making: you insist that financial obligations are different because, to paraphrase: "there's a paper trail and defaulting is bad". But slavery and its legacies also has a paper trail, likewise with human life and misery, and not resolving this is also bad. You have yet to provide an argument that fundamentally CANNOT also be applied to reparations: you've only given arguments over how we merely don't apply them to reparations. This kind of definition game, that 'reparations aren't considered that way because we don't consider them that way', reminds me of when there's outrage over police murdering someone and people insisting it's not murder because murder is an unlawful killing.

So, I ask you, without resorting to mere definition, what is the difference between "People make moral choices; you are trying to saddle people who didn't make those choices with some sort of culpability" (reparations) and "People make financial choices; you are trying to saddle people who didn't make those choices with some sort of culpability" (debt)?
by easyThrowaway | 2025-06-24 10:40:41+00:00
Sure, but here we're talking about something different. Ignoring a legal parcel in France means receiving, years from now, a "request for personal appearance of the parties" somewhere from a local court to the cour de cassation, where they will have to notify that your request was ignored. It's in their interest to give a quick reply, even just to say "Uhh... nope, sue us if you want to go on with your lost cause".

Of course, I have no idea if any of that is applicable to the legislation where currently the OP resides.
by Yizahi | 2025-06-24 10:40:51+00:00
They would probably need to pay a little more than 5$ Comcast/Hewlett-Packard style, and if there were even 10 slaves back then, today it would be 30000 descendants. If there were 1000 slaves back then, it would be 3 million people today. Paying each even a measly thousand would require 3 billion dollars just for compensations, without any other investments or programs.
by jit2600 | 2025-06-24 10:41:12+00:00
Hey HN,

I wanted to share a project that was born out of a pretty frustrating experience.

Last year, I needed a specific tool: a web scraper that could function like Apify's website-content-crawler but run significantly faster. It was a complex spec, so I decided to hire a freelancer on Fiverr to build a solid foundation.

I found a developer, we had several calls, and he seemed to understand the requirements perfectly. He quoted me £250. I was surprised at how low it was, but I went ahead and paid upfront.

A few days later, he delivered the code. It was a complete mess. It failed basic static analysis, had 20% duplicated code, and was essentially unusable. While it was technically "fast," it didn't meet even 1% of the actual output requirements I had specified.

When I brought this up, he claimed he had delivered what was expected and that any real functionality would be an "add-on" that required more payment. To top it all off, after I left a (too generous) 4-star review just to end the ordeal, he messaged me to yell at me for not giving him 5 stars.

I was angry, but that frustration eventually turned into motivation. I decided to build the tool myself, the right way.

First, as a petty tribute, I uploaded the original garbage code to its own public repo: https://github.com/stretchcloud/shit-scrapper

Then, I spent my nights and weekends building the tool I actually wanted. The result is DeepScrape. It's clean, it's powerful, and it does what it's supposed to do.

I've open-sourced it so that hopefully others can benefit and not have to go through the same headache I did.

I'd be grateful for any feedback, questions, or stars on the repo. I'm here to answer any questions you have.

Has anyone else had a similar "freelancer-to-founder" moment?
by simonask | 2025-06-24 10:41:42+00:00
Strong "get off my lawn" vibe here.

The placement in the visual hierarchy of emojis is their main feature. I think it's totally backwards to say that the visual hierarchy of terminal UIs must remain constrained to text with colors.

I'm sorry, but it's absolutely just as valid to indicate an error or other status with a bright emoji as with bright red text and exclamation points - as long as there is some support for greppability as well (when relevant).

Your point about multiplexers etc. apply to anything in the terminal, including bright red text.
by bonoboTP | 2025-06-24 10:42:18+00:00
Societies used to understand this and put lots of limits around exploiting people, such as banning interest rates. But there is no unalloyed good. That ban also blocked rapid economic development as seen in the 19th century, where credit was absolutely critical for railroad construction and other infrastructure like electric or plumbing.

It's a real dilemma with tradeoffs, where slogans and soundbites don't work. Having opportunity means you may squander it. Too many guardrails on life paths and behavior blocks meritocratic social mobility as well as opportunities and motivation.

Since conditions are changing too fast there is no appropriate crystallized wisdom about it. There is no wealth of myths that would define how to live. The best we are able to say is the non-instruction to "be free" and to tap into your authentic self and author your life path with freedom and agency.

In biology one can distinguish evolved traits and behaviors (instincts) from learned ones. The latter can adapt much faster to the situation. Even better than learning from environmental feedback over one's lifetime is planning and simulating possible futures and deciding based on that. Somewhere between the individual lifetime and the genetic evolution levels, there is also the level of culture that used to reshape much slower than a single lifetime, taking lessons and condensing them over generations into templates. But more amd more as we diverge from the ancestral environmental conditions of the savannah and hunting-gathering in tight knit tribes and clans, we can less and less rely on biological instinct, cultural bedrock, wisdom from the parents' generation, what you learned a decade ago, and so on. We are forced to adapt and outmaneuver the shifting landscape faster than ever. More and more things pulling in entirely opposite directions. A vortex of stimuli to cut through with a machete-like mental strength. But most people are not built for this, and even those who are, constantly have to gamble and guess and rely on luck and hindsight.
by yxhuvud | 2025-06-24 10:42:38+00:00
Bad architecture can happen in any language. I don't see how the language choice could ever protect you against the described structural problem you built.

Also you will see that the answer to most actual performance problems tend to be queues even in other languages. At least in mature places - mostly because it is possible to inspect what a queue is doing. Though it will of course be a problem if it is part of a big spaghetti architecture.
by ffaser5gxlsll | 2025-06-24 10:42:45+00:00
I dislike emojis in general when combined with running text. Especially in terminals or character-based interfaces with fixed-width fonts.

On top of that, there are only very few emojis that can be read properly at the same size of the current line height. It works for a few simplified faces and symbols, but that's it.

The fact that emoji fonts override the font color rendering is an aggravating factor. I don't want text to change color behind my choice (it SUCKS with customized color themes).

They feel like a punch in the face to me when I'm reading documentation or even worse when reading code.

Sadly, it's really hard to avoid them nowdays. I'm using a few lisp scripts with emacs to translate the common ones back to ascii for rendering.

I can point out that "Noto Emoji" is a b/w version of Noto Color Emoji, which contains a MUCH more suitable version of emojis that can be used in running text. As noted before, it's only a partial solution as I find most emojis are still not readable when scaled at the same size as the text and when simplified sometimes they also lose the original meaning (just use the damn word dammit!). But at least they don't override the color. On linux, you can force a font substitution with fontconfig to force the b/w version whenever color-emoji is used and can't be customized.
by londons_explore | 2025-06-24 10:43:02+00:00
MS could easily say "If users with your driver installed have more than a 10% higher reboot/app crash/windows reinstall/BSOD rate than typical users, then your company will be fined $1 per computer affected per month till the issue is resolved.".

Suddenly every company would be putting loads more effort into battle testing their drivers when there is a financial cost to buggy code.
by picardo | 2025-06-24 10:44:04+00:00
Is there a way to change the key binding of the search screen? I'm too attached to using the up key to recover the last command I used, and it's a little jarring to now have to click tab from the Atuin search interface. It adds a little friction each time I have to do this.

As an aside, most of my usage of history is to use the last few commands I used, and so seeing the entire history each time seems like an overkill.
by account42 | 2025-06-24 10:44:14+00:00
The regulator in on (or at least indifferent to) the scam also includes the government here though. The whole market place excuse is incredibly weak and even if it currently would hold up then the legislative can fix that. After all, no buyer ever says they bought something from OMEJINE or whatever fake names Amazon shows you - they say they bought something on Amazon.
by amiga386 | 2025-06-24 10:44:32+00:00
All countries exist as distinct entities because they can maintain what Max Weber called the monopoly on violence within their geographic bounds.

https://en.wikipedia.org/wiki/Monopoly_on_violence

https://en.wikipedia.org/wiki/Use_of_force_continuum

In countries where we don't have trigger-happy cops, the story continues this way:

* The person commits a crime or tort. Your courts fine the person.

* The person doesn't pay the fine. You extract the fine forcibly from their bank account (or force their employer to dock their wages, or forcibly obtain and auction their assets; let's go with the bank example)

* Why does the bank comply? Because you can revoke the bank's right to trade.

* Why doesn't the bank just trade anyway? Because if they do that, you can enter their buildings and take their equipment, arrest their employees, etc.

* What if the bank tries to stop you doing that? Then you send in armed police.

* What if the bank shoots back? Then you send in the army, and at worst case encircle the bank and lay siege to it.

* What if the bank has their own army which they use to break your siege? Send in your bigger army. Also have laws against private armies, and spend your time detecting private armies and breaking them up before they get bigger than the state's army.

Most people comply with the state at the earlier steps in this chain, and the state runs all the smoother for it. But you can see in failed states, one of the main reasons for the failure is some group (or groups) inside the state have managed to develop a bigger army than the state itself, or parts of the official army break away from the current government or attempt a coup. At that point, it's not the current government's country any more, it's up for grabs. The government (and the entire system of law it represents) has lost the monopoly on violence.

The point of the GP's post is that all laws are ultimately backed by violence. Most rational actors don't let law enforcement reach the explicitly violent part, but it's still there.

To bring it on topic, what this highlights is it is much better to fight against bad laws while they are just proposals, it is much harder to fight against bad laws once enacted.
by FirmwareBurner | 2025-06-24 10:47:34+00:00
And what's stopping the American people from voting smart people with engineering degrees to power instead of lying loud mouth conmen?

Maybe because modern American mainstream culture has people worshiping the "clever" conman who got rich quick by gaming the system and scamming others, as opposed to hard working nerd who put in the long time and effort for an honest enrichment.

Democratic societies get the leaders they deserve as they are a mirror of the people themselves.
by WolfOliver | 2025-06-24 10:48:00+00:00
I think in 5 years from now we will see a major software dev shortage. Mainly because of all the reports that big tech companies are replacing devs with AI which scares new students to sign up for a CS degree.

The truth is that those devs who has been replaced should not have been hired in the first place as the companies were already overstuffed.
by j4mie | 2025-06-24 10:48:09+00:00
It's worth noting that uv also supports a workflow that directly replaces pyenv, virtualenv and pip without mandating a change to a lockfile/pyproject.toml approach.

uv python pin <version> will create a .python-version file in the current directory.

uv virtualenv will download the version of Python specified in your .python-version file (like pyenv install) and create a virtualenv in the current directory called .venv using that version of Python (like pyenv exec python -m venv .venv)

uv pip install -r requirements.txt will behave the same as .venv/bin/pip install -r requirements.txt.

uv run <command> will run the command in the virtualenv and will also expose any env vars specified in a .env file (although be careful of precedence issues: https://github.com/astral-sh/uv/issues/9465)
by neoromantique | 2025-06-24 10:48:20+00:00
This isn't binary, the virtue signaled "ethical" choice does not offset the things you have to give up for it.

If you don't care about phone manufacturing being basically completely in China, then all power to you, but as I live in country that has been illegally trade embargo-ed by China just five years ago, I do care about this a lot.
by burnt-resistor | 2025-06-24 10:48:47+00:00
Need fundamentals of combinational and sequential logic, followed by perhaps a course on hardware/software interfacing to grok timing parameters like setup and hold time, propagation delay, fan in, fan out.

FPGAs can be developed using CAE-like systems or SystemVerilog, VHDL, or something modern like Veryl. Real FPGAs include acceleration blocks like DRAM, SRAM, CAM, shifters, ALU elements, and/or ARM cores.

At the end of the day though, the best teacher is to learn by doing and finding venues to ask questions.
by g-b-r | 2025-06-24 10:48:55+00:00
> Because selectively applying this line of reasoning to one moral injustice is making someone a victim by unfairly applying a standard to them alone.

Who argued to apply it selectively?

> Is your plan to analyze all current wealth for morality based redistribution?

It's not about morality, it's seeing what part or your current wealth is due to obscene and unjustifiable (often even for the time) acts.

No one argues to have you do time for your ancestors, but if part of your wealth is due to those acts, what would be wrong about giving it back?
by Defletter | 2025-06-24 10:48:56+00:00
> Is your plan to analyze all current wealth for morality based redistribution?

Don't threaten me with a good time! Jokes aside, I'm generally pro-redistribution to begin with (I'm somewhat of a dirty communist) and I think trying to finagle exactly how much someone's wealth should be redistributed based on the weaving and waning of economic activity over two centuries to be rather a waste of time. Better to just redistribute based on wealth. But if this were something that happened only thirty years ago, I'd absolutely be calling for "morality based redistribution", as you put it, because it is then something that can actually be achieved.
by gchamonlive | 2025-06-24 10:48:57+00:00
# Ensure we always have an up to date lock file. if ! test -f uv.lock || ! uv lock --check 2>/dev/null; then uv lock fi

Doesn't this defeat the purpose of having a lock file? If it doesn't exist or if it's invalid something catastrophic happened to the lock file and it should be handled by someone familiar with the project. Otherwise, why have a lock file at all? The CI will silently replace the lock file and cause potential confusion.
by bboygravity | 2025-06-24 10:49:02+00:00
Mortgages with low interest rates are also one of the (main) reasons houses are so "expensive" in the first place.

The cheaper money (credit) is, the "higher" the prices will go.

It's not so much that houses became expensive, it's more that money to buy a house (specifically mortgages) became relatively cheaper. Low interest rates did that.
by speeder | 2025-06-24 10:49:48+00:00
And how you make sure bailiffs/repo men succeed? For example I know a case in Brazil, that happened in the 70s, where repo men tried to take a Capoeira Master car, and he just grabbed his huge "Peixeira" knife and chased the repo men away. Justice then decided to just let him break the law, because the other choice was send heavily armed cops and hope they would survive the confrontation with the guy and his students.

Nevermind cases where people don't even have a bank account or anything you can take. Or they protect it well enough.
by fastball | 2025-06-24 10:51:30+00:00
Do you think they're screwing it in for fun?

I'd rather my phone be more robust than worry about unscrewing a couple more screws when I need to replace the battery (hopefully a rare occurrence anyway). I don't know anyone that carried around spare batteries like in that ad, so although a good ad it doesn't really speak to customer usage.

I'd also like my phone to be as-waterproof-as-possible, and am willing to sacrifice a back that comes open without any screws or similar.
by londons_explore | 2025-06-24 10:51:35+00:00
To my knowledge, windows update always only offers the latest version of a driver for a bit of hardware...

Is there even a UI for a user to select an older driver version from windows update?? I know you can do it if you manually get a .inf file, but thats a different flow.

If not, what exactly is this announcement saying? "Stuff that a user isn't able to install right now won't be available for a user to install in the future"?