HNHacker News
TopNewBestAskShowJobs

NohatCoder

1,253 karma · joined September 24, 2017

submissionscomments
NohatCoder··on Rob Pike goes nuclear over GenAI
So let us compare AI to aviation. Globally aviation accounts for approximately 830 million tons of CO₂ emission per year [1]. If you power your data centre with quality gas power plants you will emit 450g of CO₂ per kWh electricity consumed [2], that is 3.9 million tons per year for a GW data centre. So depending on power mix it will take somewhere around 200 GW of data centres for AI to "catch up" to aviation. I have a hard time finding any numbers on current consumption, but if you believe what the AI folks are saying we will get there soon enough [3].

As for what your individual prompts contribute, it is impossible to get good numbers, and it will obviously vary wildly between types of prompts, choice of model and number of prompts. But I am fairly certain that someone whose job is prompting all day will generally spend several plane trips worth of CO₂.

Now, if this new tool allowed us to do amazing new things, there might be a reasonable argument that it is worth some CO₂. But when you are a programmer and management demands AI use so that you end up doing a worse job, while having worse job satisfaction, and spending extra resources, it is just a Kinder egg of bad.

[1] https://ourworldindata.org/grapher/annual-co-emissions-from-... [2] https://en.wikipedia.org/wiki/Gas-fired_power_plant [3] https://www.datacenterdynamics.com/en/news/anthropic-us-ai-n...

NohatCoder··on Dr Matthew Garrett v Dr Roy Schestowitz and Anor
TL;DR:

Defendants Roy and Rianne Schestowitz were the targets of online harassment. They decided that claimant Matthew Garrett was behind it, and initiated their own hate campaign against him, in particular using their websites www.techrights.org and news.tuxmachines.org to do so.

The defendants did a very poor job of going to court, even by the standards of amateurs representing themselves, producing almost no evidence, none of which the judge found to be relevant.

Damages of £70K were awarded.

NohatCoder··on What we talk about when we talk about sideloading
Wrong, plenty crap make it into the store, that is true for both Android and iOS. And the advertisement in the Android store is designed specifically to try to trick you into installing a different but similar app to the one you wanted.
NohatCoder··on Replacing a $3000/mo Heroku bill with a $55/mo server
AWS certainly also does daylight robbery. In the AWS model the normal virtual servers are overpriced, but not super overpriced.

Where they get you is all the ancillary shit, you buy some database/backup/storage/managed service/whatever, and it is priced in dollars per boogaloo, you also have to pay water tax on top, and of course if you use more than the provisioned amount of hafnias the excess ones cost 10x as much.

Most customers have no idea how little compute they are actually buying with those services.

NohatCoder··on How Israeli actions caused famine in Gaza, visualized
On the contrary, I think you will find that most people simply cannot comprehend the idea that Netanyahu/Israel would aid Hamas, they will think you are a conspiracy nut for stating the plain facts.
NohatCoder··on A recent chess controversy
While it is good to see some Bayesian statistics in use, I wouldn't in this case put so much emphasis on an exact calculated probability that he did or din not cheat, the prior in this case is simply too wishy-washy for that.

The sound conclusion is that this is not evidence of cheating, but it is not evidence of the contrary either.

NohatCoder··on Claude says “You're absolutely right!” about everything
This is such a useful feature.

I'm fairly well versed in cryptography. A lot of other people aren't, but they wish they were, so they ask their LLM to make some form of contribution. The result is high level gibberish. When I prod them about the mess, they have to turn to their LLM to deliver a plausibly sounding answer, and that always begins with "You are absolutely right that [thing I mentioned]". So then I don't have to spend any more time wondering if it could be just me who is too obtuse to understand what is going on.

NohatCoder··on Perfecting anti-aliasing on signed distance functions
My function approximate coverage of a square pixel, so indeed if you rotate a line around it at a certain distance that line will clip the corners at some angles and be clear of the pixel at other angles.
NohatCoder··on Perfecting anti-aliasing on signed distance functions
I do believe that it is already invariant to linear transformations the way you want, i.e. we can evaluate the corners of an arbitrary parallelogram instead of a square and get a similar coverage estimate.
NohatCoder··on Perfecting anti-aliasing on signed distance functions
You certainly could imagine doing that, but as long as the initial evaluation is fairly cheap (say a texture lookup), I don't see the extra pass being worth it.
NohatCoder··on Perfecting anti-aliasing on signed distance functions
Reminds me that I found an alternative way of sampling an SDF:

First take a sample in each corner of the pixel to be rendered (s1 s2 s3 s4), then compute:

    coverage=0.5 + (s1+s2+s3+s4)/(abs(s1)+abs(s2)+abs(s3)+abs(s4))/2
It is a good approximation, and it keeps on working no matter how you scale and stretch the field.

Relative to the standard method it is expensive to calculate. But for a modern GPU it is still a very light workload to do this once per screen pixel.

NohatCoder··on Fast
Of course finding the optimal solution to a Cobble puzzle does not actually require the computation you describe. We can in a single pass find a limited set of candidate words and work out a solution with those.
NohatCoder··on Fast
It is only fast compared to a really dumb baseline. But you are right that the story of React being fast was a big part of selling it.
NohatCoder··on XML Summer School, Oxford. 14th to 19th Sept 2025
So this website is hosted with IOMART, a cloud service provider with call-us pricing, and it stopped working because a few people clicked the link from here. That is really not impressive.
NohatCoder··on Nobody knows how to build with AI yet
Probably down to a combination of LLMs on average having a harder time with tasks that humans typically find difficult, and the task of prompting being easier the more you know about the problem.
NohatCoder··on Nobody knows how to build with AI yet
So, is Protocollie actually any good? I don't have any means of evaluating the final product, but I feel like evaluating what ultimately stuck to the wall is a pretty important part of the tale.

How buggy is it? How long would it have taken to build something similar by hand?

NohatCoder··on A software conference that advocates for quality
Depending on who you ask the answer is either "It depends completely on the task, and it is in any case much more important that you divide your application in the right places than exactly how many bits you end up with", or "1".

If you ask Amazon then the more the merrier, because the number of microservices is effectively a multiplier on the bill.

NohatCoder··on IDF officers ordered to fire at unarmed crowds near Gaza food distribution sites
The only news in the article is the way civilians are murdered. The Israeli government already kills far more people per day through deliberately induced starvation.

These events are hard to believe, not because of the cruelty, but because they now happen without a shred of deniability.

NohatCoder··on IDF officers ordered to fire at unarmed crowds near Gaza food distribution sites
And so you leave your politicians to set the official German opinion of unconditional support for Israel.
NohatCoder··on IDF officers ordered to fire at unarmed crowds near Gaza food distribution sites
I think that part of history is largely forgotten. I don't think a lot of Europeans have much self-interest in mind when picking a side in this conflict today.
NohatCoder··on The last six months in LLMs, illustrated by pelicans on bicycles
If you calculate ELO based on a round-robin tournament with all participants starting out on the same score, then the resulting ratings should simply correspond to the win count. I guess the algorithm in use take into account the order of the matches, but taking order into account is only meaningful when competitors are expected to develop significantly, otherwise it is just added noise, so we never want to do so in competitions between bots.

I also can't help but notice that the competition is exactly one match short, for some reason exactly one of the 561 possible pairings has not been included.

NohatCoder··on Plain Vanilla Web
At least adding in the feature once you notice the problem shouldn't be difficult.
NohatCoder··on Microsoft unveils Majorana 1 quantum processor
It is very hard to take the lot of you serious with press releases that talk about a million qbits, without mentioning what is in the device you built. Your press release seems to be engineered specifically to get misquoted by journalists. You don't have a million qbits, and you most certainly do not have the billions of gates required to utilize the million qbits, that you don't have, meaningfully.

You may claim that I have misunderstood something, all I can say is that that is 100% your fault, because you publish nothing but misinformation.

(That is the plural you, and I really do not care which one of you wrote the garbage, you work as a team and you get judged as a team.)

NohatCoder··on Carbon capture more costly than switching to renewables, researchers find
Napkin maths would suggest something like 20% of a normal EV battery per household, so indeed a big investment, but perfectly reasonable. The harder part is that solar power production is much lower in the winter (depending on latitude), and seasonal battery storage is still a bit out of reach.
NohatCoder··on Undergraduate shows that searches within hash tables can be much faster
There is certainly a need for ignoring common wisdom if you want to make something new. I don't think being unaware of it is necessary as long as you are willing to go forward while being told that you are on a fool's errand.
NohatCoder··on Perma.cc – Permanent Link Service
It is not a link shortener, it is an archive tool. I thought the same thing when I first saw the headline. Their description is really bad and confusing.
NohatCoder··on Don't "optimize" conditional moves in shaders with mix()+step()
A non-branching version of the same algorithm will also run code equivalent to both branches. The branching version may sometimes skip one of the branches, the non-branching version can't. So if the functionality you want is best described by a branch, then use a branch.
NohatCoder··on Don't "optimize" conditional moves in shaders with mix()+step()
It may very well be, it is the type of optimisation where it is quite possible that some compilers may do it some of the time, but it is definitely also possible to write a version that the compiler can't grok.
NohatCoder··on Don't "optimize" conditional moves in shaders with mix()+step()
But you don't generally need to care if the shader code contains a few branches, modern GPUs handles those reasonably well, and the compiler will probably make a reasonable guess about what is fastest.
NohatCoder··on Lfgss shutting down 16th March 2025 (day before Online Safety Act is enforced)
The main problem is overwhelming voters, for a vote to be meaningful the voter has to understand the propositions that they vote for. Given the amount of legislation passed it is quite unreasonable to expect everyone to do the due diligence for every vote.

What might make such a system work in practice is to only let a small randomly selected group of people vote for each issue. You still get a similar representation as a full vote, but with each person having much fewer votes to attend to it isn't overwhelming.

← PreviousPage 2 of 15Next →