HNHacker News
TopNewBestAskShowJobs

chx

1 karma · joined July 14, 2026

submissionscomments
chx··on First Impressions: Lenovo T14s with Qualcomm Snapdragon ARM64 CPU
I would gladly buy any other laptop with a TrackPoint. Got any recommendations? This is not sarcasm I donated to https://community.frame.work/t/thinkpad-keyboard-mod-super-e... because I really want it to happen.
chx··on Upcoming Hardening in PHP
Drupal is very hot on attributes, has fiber support, uses readonly (a PHP 8.2 feature) extensively, enums are used -- overall it's fairly up to date.
chx··on Upcoming Hardening in PHP
You are right, going from 4 to 8 is a huge challenge.

Minor point: classes are using the same syntax but you are right they typically won't work because the constructor have changed, in PHP4 it was a function named the same as the class, in PHP5 and on it's __construct, the PHP4 version was deprecated in PHP 7 and removed in PHP 8.0.

create_function is just gone. So is each(). Oh and HTTP_RAW_POST_DATA. The list is long.

If you have used == and in PHP4 we did that, come on, don't be holier than holy and claim you only used === in PHP4 then PHP8 will have some surprises for you.

In my experience rector became usable last year-ish, if you tried before, give it another whirl.

chx··on I Followed the Official AWS Amplify Guide and Was Charged $1,100
> the less they'll want to explore your offerings.

Honestly? All the better. There are obviously use cases where AWS is the right tool for the job but it's extremely rare. It's coasting on hype and somehow attaining "no one was ever fired for buying IBM" status.

chx··on Cheaper to rent in Barcelona and commute to London
OK, true but for City that's a really small part of London: the Totenham Hale train station and its immediate vicinity. It's 46 minutes from Totenham Hale to LCY and 34 to STN. Anything further into London will win for LCY.
chx··on One year, 41M digits: How Luke Durant found the largest known prime number
Oh.

It's really not practical.

chx··on One year, 41M digits: How Luke Durant found the largest known prime number
Fine. It's now only 10^10 times the age of the universe. much better.
chx··on One year, 41M digits: How Luke Durant found the largest known prime number
https://stackoverflow.com/a/17189376/308851 claims it's O(N^2). 10^82 operations ... say you can run 10^10 iterations in a second which no current CPU is capable of but let's pretend, it's not like a factor of 10 or 100 will make a big difference given how this is like 10^54 times the age of universe.

This algorithm is not practical.

chx··on Bitcoin has made a new all-time high price
All you posted are smoke and mirrors.

What it actually is a negative sum game and all such are inherently scams.

The only disagreement is about whether the differences to a Ponzi is insignificant or are significant and we have a new kind of scam, a "Nakamoto scheme".

It is in the interest of those who bought in to praise the game because the only way they can profit is by praising it and passing their loss to a greater fool.

And no, gold and stocks are not such. Gold has buyers who create value added products (electronics, jewelry and so forth) and stocks can create dividends. None of that happens for any crypto with transaction fees.

chx··on Trump wins presidency for second time
> mass deportation is a fantasy

as the grandson of two concentration camp survivors: I'd call that a nightmare and I don't think it's so far from reality you'd hope for.

chx··on Triple Density Floppy, Anyone?
Eeeeeh I spent two decades pirating stuff ending with being a co-admin for one of the largest warez sites in Central Europe and I can tell you in all this we were clean. (Note this ended twenty years ago.) There was enough trouble with the law for just stealing software we didn't need the forces hunting for CP on us too.
chx··on Triple Density Floppy, Anyone?
The switch didn't happen until 1995 when WinRAR came along, if memory serves. RAR was 1993 and ARJ was 1991.
chx··on Is the Q source the origin of the Gospels?
Extremely heavy citation needed for Confucianism spreading across the Silk Road. As far as I am aware it just didn't happen.

Also, the Analects use a very different version of the Golden Rule, much more a prohibition than a moral standard: what you do not wish for yourself, do not do to others. But roughly around the same time Egypt and Greece also had this thought recorded and it's somewhat hard to believe this was due Confucianism spreading like wildfire. Thales used this in ~624-546 where Analects is later than that.

chx··on Is the Q source the origin of the Gospels?
Please check https://overviewbible.com/john-mark/ even if he had a son called Mark that was not John Mark who is likely the evangelist. It's possible "son" here is meant spiritually.
chx··on Is the Q source the origin of the Gospels?
It could be affection and spiritual relationship. Or it could be a biological son but this Mark is not John Mark who is likely to be the evangelist. https://overviewbible.com/john-mark/
chx··on ToolGit: A collection of scripts that extend Git with various sub-commands
Drupal core developers likely will appreciate git-forward quite a bit. I personally like git force-pull, I often do git remote update; git branch -D foo; git checkout -b foo, that looks like a good way to collapse those.

Let me advertise git blameall from https://github.com/gnddev/git-blameall here's a part of Drupal index.php: https://i.imgur.com/Xw4OAEC.png

Also, my own creation which provides a safety net against git reset --hard https://gist.github.com/chx/85db0ebed1e02ab14b1a65b6024dea29 AFAIK this trick is the only way to override a built in command.

chx··on 'An incurable romantic': The boy who lived a secret life in World of Warcraft
that is, alas, easy to tell. The real world is where your body hurts.
chx··on RCE Vulnerability in QBittorrent
> Makes me think of how hard PGP is considered to be

https://www.usenix.org/system/files/1401_08-12_mickens.pdf

chx··on Math and puzzle fans find magic in Martin Gardner's legacy
> Unix was born to play games

Please correct me if I am wrong but I thought this was only the reason for the predecessor of it on the PDP-7: Thompson wanted Space Travel to run on the PDP-7 and the necessary boilerplate became a rudimentary OS. But porting this to the PDP-11 was not motivated by Space Travel -- or was it?

chx··on Nvidia (NVDA) to Replace Intel in the Dow Jones Industrial Average
There's a reason, I guess, the common sense advice is to invest your money in a nonmanaged S&P index fund. And not a DJIA one... this just means the DJIA goes up for a while and when the AI bubble bursts so does the DJIA

I am surprised people are so quick to write Intel off. Not yet. Wait one year. Gelsinger said he bet the company on 18A. If PNL fizzles and there are no foundry customers this time next year then Intel is done but until then?

chx··on What is the point of an online conference?
When I joined my current company, I was the first remote employee, there were less than 200 people total. It's over 4000 now, all over the place.

I have no idea what would I want to ask from leadership. They are so far removed from me.

chx··on 1374 Days – My Journey with Long Covid (2023)
The data only partially supports this

https://www.cdc.gov/nchs/covid19/pulse/long-covid.htm

The age peak is at 40-49 years. Indeed it's much higher in women but also even higher in transgender and bisexual people. It's almost as if stress from constant microaggressions makes you more susceptible to illness. What do I know, of course, I am not a doctor.

chx··on M4 MacBook Pro
I am on Intel TGL currently and can't wait for Strix Halo next year. That is truly something else, it's nothing we have seen in notebooks before iGPU wise.
chx··on We're forking Flutter
> Imagine that you're the engineering director, or CTO of a company whose next release is blocked by some Flutter bug. What do you do if the team won't work on that bug for 2 years?

Then you fix the bug? If your team can't then pay a consultant who can? Isn't it open source? What did I miss?

chx··on Using reinforcement learning and $4.80 of GPU time to find the best HN post
> . That’s not much time for a model that (hopefully) understands all of HN!

this is dangerous talk.

it doesn't understand anything at all.

Reminder: We are more prone to anthromorphizing LLMs than to humanizing suffering humans.

chx··on Freenet: A decentralized alternative to world wide web
> after seeing the impact Bitcoin had on US citizens

That's an odd way of putting it, as if crypto scams were limited to the US.

chx··on Geoffrey Hinton said machine learning would outperform radiologists by now
No, you do not get it, the Onion is about guns

Guns are pretty much irrelevant to the story, that's my point

The focus of the story is an AI chatbot murdering a human

Well, that's not the right words, we do not even have the right words for this because murder presumes intent and obviously there's no intent

An automated plagiarism machine has spewed such bullshit which pushed a teen to suicide. Perhaps that's the right wording.

chx··on On Linux MAINTAINERS file removal of Russian developers
> why should people employed by companies under those identified by etc. be barred from contributing to the Linux Kernel

Because the OFAC literally prohibits a US person receiving anything at all from a sanctioned person.

Can't find the specific sanction but here's a typical sample from https://home.treasury.gov/news/press-releases/jy1102

> All transactions by U.S. persons or within (or transiting) the United States that involve any property or interests in property of designated or blocked persons are prohibited unless authorized by a general or specific license issued by OFAC, or exempt. These prohibitions include the [...] receipt of any contribution or provision of funds, goods, or services from any such person.

Note: for both "U.S. persons" and "blocked person" also consider corporate personhood. It's not just individual people. And so the Linux Foundation, Linus himself and every Linux user in the U.S. can't receive anything at all from the sanctioned so it's no wonder they needed to be excluded.

You are welcome to lobby the OFAC to carve out an exemption for open source contributions. Or the White House or the Congress, what do I know who has the authority to write such.

chx··on On Linux MAINTAINERS file removal of Russian developers
Apparently people working on open source are just looking for an excuse to pontificate. Same as with Bitwarden, simply raising the issue and then waiting a little for an answer is enough.

https://lore.kernel.org/lkml/e7d548a7fc835f9f3c9cb2e5ed97dfd...

> If your company is on the U.S. OFAC SDN lists, subject to an OFAC sanctions program, or owned/controlled by a company on the list, our ability to collaborate with you will be subject to restrictions, and you cannot be in the MAINTAINERS file.

That's all.

Both could've been handled better but there's no need to write ten thousand open source philosophy comments on the issue itself, bad articles and HN comments.

chx··on Geoffrey Hinton said machine learning would outperform radiologists by now
> That said, stuff like this definitely makes me think there's a lot of people on the margin who would be affected by what a chatbot says.

Yeah, that's the problem. Tech bros high on the AI kool-aid think the problem is not the chatbot driving him to suicide but having access to a gun.

← PreviousPage 2 of 34Next →