MurphyA/hacker-news huggingface dataset:
by jcelerier | 2025-04-09 13:01:34+00:00
> Which is a lot of words to say: software changes. The Linux desktop is a moving target; expecting a user interface library to hold still for 20+ years is a tall order.

Qt pretty much holds without major drastic changes to the approach since 1995. https://web.archive.org/web/20201109041256/https://www.qt.io...

We're at Qt 6.9 now and the process is still easy - there were only very few breakages between Qt 5 and Qt 6
by BubbleRings | 2025-04-09 13:02:51+00:00
> In job interviews, I pushed candidates hard to at least say “I don’t know” once.

Yes yes! Although, in an interview, there is not always an easy way to separate out people that can’t say “I don’t know” during day to day work, from those that can. But what a difference. A strong need to hide a lack of omniscience is wildly irritating to me, in co-workers and people in general. It causes such problems!
by forgetfreeman | 2025-04-09 13:03:22+00:00
Taxes as a % of GDP have been relatively flat over the last 60 years, and on average have been lower over the last 25 years so claiming the government or "entitlements" are the culprit doesn't scan.

https://www.ceicdata.com/en/indicator/united-states/tax-reve...

Claims that the market has become less free are perfectly baseless and a non sequitur here as even if that claim was true and verifiable it does nothing to explain the decline of the middle class or why increases in GDP aren't reflected in either household buying power or real wages.
by mdhb | 2025-04-09 13:03:24+00:00
This entire persona of the cool, calm, detached person who acts like they are above the fray the the actual real life day to day political realities is so tiresome.

I understand it’s a nice personal coping strategy so that you can convince yourself that don’t need to actually do anything but the whole “you’re overreacting” crowd is one of the most embarrassingly misguided groups of people I’ve seen in a long time.
by gibbitz | 2025-04-09 13:03:37+00:00
AI generated recruits are a fiction. That's not to say there aren't fake or bait and switch recruits but this idea makes no sense.

Some background. I'm a senior developer who has performed hundreds of interviews and seen dozens of questionable recruits long before AI. Typically the scam is that an offshore consultancy wants to place some roles to collect wages. Many of these agencies are from collectivist cultures, so in the mind of the agency, they all work in our project. This may not be true, but the agency sees the position as theirs, not the recruit's. So they typically don't the issue with putting recruit A in front of the interviewer and then slotting recruit B in after the position is secured. I've seen this done with A talking while B moves their lips on camera. Now with chatGPT (and earlier to some degree with just Google Search) we just see applicants eyes focused on something they're reading when we ask questions. All of this is just as easy as an AI generated applicant (if not easier) and quite likely to get the recruit hired.

A lot of this narrative is pointing the finger at China, North Korea and Russia/Ukraine. The best candidates I've fielded have been Ukrainian, Russian and Chinese. These are countries well known for their tech sectors. North Korea has executed the largest crypto heists in history. These are not groups who need to fake it.

So who does this narrative serve? It serves the RTO CEOs. This makes CEOs scared to hire remote workers and lets the ones who demand it have a reason.

If anything the panic around AI should reinforce the need to think critically about these things.
by rayiner | 2025-04-09 13:03:56+00:00
I agree. The Chinese seem happy with their government. And it’s done amazing things for the Chinese people. But the point isn’t to hurt China, it’s to reduce US dependence on China.

Americans should proceed with the assumption that the Chinese are a co-equal great power. As we are seeing in areas like AI and electric cars, China isn’t cheap foreign labor. They’re at the leading edge or close in our heels in many technologies. Given that, it’s imperative to reduce American dependence on China. In a world where the average Chinese is as prosperous as the average American—which may happen in our lifetimes—isn’t a good idea for China to have 200x of America’s shipbuilding capacity without America trying to rebuild its own? It’s precisely because China inevitably will become America’s equal economically and technologically that America needs to ensure its own independence and sovereignty.
by krapp | 2025-04-09 13:04:14+00:00
>I think most voters probably assumed, as has been the case for the entire life of anyone alive today (including during Trump's first term!), that "Republican" meant "good for business" and small-c don't-rock-the-boat conservatism.

Were they just not paying attention during Trump's first term? Did they just assume everyone shouting from the rooftops really did just have Trump Derangement Syndrome? Did Trump's conspiracy laden post-electoral twitter rampage or Jan. 6th really not clue anyone in?

I mean, the economy improved under Biden but I guess the meme about egg prices just kind of short circuited people's brains.
by kashunstva | 2025-04-09 13:04:26+00:00
OK, I'll bite. I'm a dual citizen of the U.S. and a neighbouring country whose sovereignty has been threatened recently and live in that country. Our daughter goes to school in the U.S., though, so travel to the U.S. for performances & to schlep her stuff to/from school at the beginning and end of the year is non-optional.

People have all sorts of reasons to have to travel to U.S. So I very much appreciate the advice rendered in TFA because the Due Process Clauses of the Fifth and Fourteenth Amendments are considered optional at the U.S. border.
by anthonyryan1 | 2025-04-09 13:04:35+00:00
This is by the author of the very helpful kernel-hardening-checker: https://github.com/a13xp0p0v/kernel-hardening-checker

An interesting tool for analyzing your personal kernel config file and pointing out areas for security improvement. It's more comprehensive than KSPP (https://kspp.github.io/) but sometimes goes a little too far, suggesting disabling kernel features you may actively use.

Definitely worth trying!
by 1ilit | 2025-04-09 13:04:53+00:00
>If 100 people per month can pay 50$, that's 5k which is very nice for a side project!

sounds too good to be true xd

>For myself, I absolutely would love this as a Django plugin!

after migrations, will be adding orms. or some plug in system for anyone to add whatever they want. don't know how but would be a fun feature to work on
by lapcat | 2025-04-09 13:05:06+00:00
> But can the left run moderate candidates that appeal to the Bill Ackman types?

What type is that, billionaire hedge fund managers voting in a solid blue state? Who cares? The voters who matter are in Wisconsin, Michigan, Pennsylvania.

In general, swing voters are nonpartisan, not "moderate". Trump is certainly not moderate, yet they voted for him anyway. Indeed, polls show that independents prefer Bernie Sanders over any Democrat.

Partisans want to define all politics on ideological lines, but that's not the way nonpartisans think and behave.

The billionaires probably backed Trump because they loved the tax cuts of his first administration and were expecting basically more of the same. Tax cuts and deregulation, the standard agenda of that type. (A Biden and/or Harris administration was likely to result in higher taxes for them and more regulation.) They failed to anticipate what Trump would be like unrestrained, emboldened by a popular vote win, unburdened by reelection concerns, surviving impeachment and felony conviction, surviving an assassination attempt, and having purged all dissenters from his party and now from the federal government. Trump is probably feeling like king of the world at this moment, as if every other country will bow down to him (and many will).
by lukev | 2025-04-09 13:05:29+00:00
Some Americans may wish the US had better relative industrial capabilities, but that isn't what this is about.

This is a direct effect of electing a president who deeply, firmly believes that having a trade deficit means we're getting "ripped off", and who has succeeded in dismantling most of the checks and balances around this sort of thing.

There's no 4d chess here. Trump has been both serious and literal about tariffs his entire career.
by arnsholt | 2025-04-09 13:05:43+00:00
Single ownership and memory not being flat are separate points.

And I guess I'm imprecise saying pointers where I mean borrowed values, but my point is that a borrow is just a pointer with additional type checking. More formally: C pointers are a complete but unsound formal system, whereas Rust borrows are sound but incomplete. And every time I get in a fight with the borrow checker, it's because I'm doing something unsound, not because the system is incomplete.
by chrome111 | 2025-04-09 13:05:58+00:00
Currently it's 2025 - in the early 2000s when most of the sources you linked come from there wasn't even Facebook let alone pornhub. The ones reporting on more recent times seen to have consensus that factors in reporting, especially covid, make it difficult to come to any conclusion. So a fair point of discussion that seems to be a far cry from "common knowledge". I don't know what you're aiming for but it's hard to take it in good faith really.
by rayiner | 2025-04-09 13:07:01+00:00
People have been talking that talk my entire lifetime. Nobody has done shit, because nobody wants to hurt their next quarterly profits. We just had a pandemic that was likely caused by China for which we had to buy PPE from China because we can’t make it.

The best time for rebuilding our industrial capabilities in an orderly way was the 1990s. The second best time is now.
by AnimalMuppet | 2025-04-09 13:07:12+00:00
"Losing power" in this context looks like Republicans in Congress not voting in lockstep to back Trump. It's hard to make a Reichstag fire out of that. (I mean, Trump could yell at his base that "They're not backing me 100%! That's treason!", but that boils down to "I am the state", and I suspect that at least some of his base won't buy it. I don't see, short of a real shooting civil war, how he can turn this into consolidating power.)
by lolinder | 2025-04-09 13:07:15+00:00
> the conversation is supposed to be about cryptocurrency technology,

> but you're talking about the gross financial companies that operate in cryptocurrency as if they ARE cryptocurrency.

That's because the middlemen are inevitable and they work the way they do for a reason—governments won't let them work any other way.

Cryptocurrency is a technological solution for a human problem, and you can't analyze the impact of the technology divorced from the human reality without losing so much resolution as to make your analysis meaningless.
by crazygringo | 2025-04-09 13:07:21+00:00
Trump said a million contradictory things on the campaign trail. Even the smartest businessmen who donated money to him didn't think this was coming. After his election, the market didn't expect it at all either.

If you look at polls and read interviews, the #1 reason voters gave for voting for Trump was that he was a businessman who would lower inflation after Biden had raised it. Now he's doing the polar opposite. This is not what Trump supporters voted for.
by fancyfredbot | 2025-04-09 13:08:03+00:00
Yes. Sorry. I was actually just googling this and realised this same anecdote is in cited the intro to the Deep Learning book by Goodfellow et al. Their write-up is hopefully clearer:

"For example, Cyc failed to understand a story about a person named Fred shaving in the morning (Linde, 1992). Its inference engine detected an inconsistency in the story: it knew that people do not have electrical parts, but because Fred was holding an electric razor, it believed the entity “FredWhileShaving” contained electrical parts. It therefore asked whether Fred was still a person while he was shaving"

https://www.deeplearningbook.org/contents/intro.html

The (Linde, 1992) citation is they give is the 4th episode of a TV series - presumably the one I saw as a kid!

https://en.m.wikipedia.org/wiki/The_Machine_That_Changed_the...

And of course it's on YouTube:

https://youtube.com/clip/UgkxRcsHT-s1iZ-VRWFRXA-qg4kjTYe-a6j...
by master-lincoln | 2025-04-09 13:08:05+00:00
Title talks about screentime, but article only focuses on mobile phones and doom scrolling. I was surprised to see the recommendation of max 2h screen time per day for an adult at the bottom. The link leads to a page not mentioning this though.

I spend already ~5h staring at screens for work. At home my biggest screen time is watching videos on TV. I don't think I ever doom-scrolled on my phone. I do read lots of news articles on it though. Article seems to not be addressing people like me.
by eggy | 2025-04-09 13:08:28+00:00
Wow, I was looking for my emails. I remember going to HOPE in 1994 at the Hotel Pennsylvania in NYC. Among all the talks I remember Eric Hughes' talk on cryptography. Talks of working with banking and others to bring cryptography and anonymous transactions to fruition almost 2 decades before the Satoshi paper and blockchain. I attended several 2600 meetings at the food court in the Citicorp building before then. Amazing times! There was also a talk at HOPE on controlling the world with your parallel port. This launched me into doing controls for animatronic and window display circuits - the Christmas windows at Saks and Lord & Taylor later in the 90s. Red boxing with tape recorders at payphones and then Radio Shack came out with an affordable speed dialer. Simply replace a crystal on the circuit and program 1,2,3, or 4 quarter tones on it, and voila, free calls from payphones. I wrote a simple OTP in C back then. I'll have to wade through this. I don't think I posted on this group, but I was teaching myself cryptography at the time. I bought a hardcover of Applied Cryptography by Bruce Schneier around 1995/96...I grew up at the poverty line in the late 60s in Brooklyn, and hacking and the potential of computers and programming enthused me and instilled a sense in me that I could not only be a part of the larger world outside of my parochial surroundings, but possibly be a creator of change in it for the good of the world at large.
by ethbr1 | 2025-04-09 13:08:47+00:00
Globalists failed to take into account the anger that employment dislocation would generate.

'The labor market will reallocate to productive jobs' doesn't take into account the experience of having ones income security disappear as an industry is shipped overseas, then having to retrain into a new field.

And the US largely didn't fund that, at least in a meaningful, at scale, don't-piss-people-off way.

Those at the top reaped the benefits of free trade; those at the bottom suffered the pain.

Trump (the character) was voted in on the basis of that anger, something the Democrats never seemed to understand.

It'll be curious what the reaction is to serious economic pain in the midterms.
Ask HN: Ways to Automatically Scan and Extract Business Cards Information?
by ksec | 2025-04-09 13:08:56+00:00
I have hundreds if not thousands of business cards. I have been looking for something like a Scanner with Automatic Feeder where I could put dozens of cards and it will scan them. And then somehow extract and manage that information. I have seen a lot of Camera and Card apps but those are too manual and labour intensive. Wondering if anyone on HN has any solutions.
by bArray | 2025-04-09 13:09:25+00:00
I would love it if was possible to download the rendered chart, ideally headless. In peak traffic I would prefer to switch to a pre-rendered version, have the pre-rendered version available encase of an error (i.e. data retrieval), or for users not using JS.

After the most minimal Google-foo, I see echarts-python [1] which has not been updated in 9 years. pyecharts [2] is looking pretty well maintained though.

Years ago I tried my hand at writing a simple bar/line plotting filter for Pandoc that embeds itself into documents via an SVG in a URI [3]. If HN is permitting, you can past links like so [4]. I think writing a stand-alone tool to display the data you are interested in is a good idea for anybody.

[1] https://github.com/yufeiminds/echarts-python

[2] https://github.com/pyecharts/pyecharts/blob/master/README.en...

[3] https://gitlab.com/danbarry16/pandoc-highlight-filter/-/blob...

[4] (removed link as it was too long for the comments section)
by sfn42 | 2025-04-09 13:09:47+00:00
That carbon we're spewing into the atmosphere was once part of the atmosphere. We're just putting it back.

Similarly, life forms are responsible for removing it, producing oxygen etc. The planet has gone through multiple mass extinctions, ice ages etc, it has changed much more significantly and over short time periods before.

That's not to say we shouldn't be reducing emissions and trying to reduce our impact. I just don't like this argument that seems to me like it's based on trying to guilt people - "The earth was fine until we ruined it!", it's bullshit. The earth is a planet, we do not have the capability of destroying it. We can change it so we and many other life forms can't live here any more but it will still be a planet and there will most likely still be some form of life here for millions of years to come.

The problem is we are shitting where we sleep, we are ruining our own home. If we take it too far, which we may already have done, we won't be able to live here any more, at least not in the way and scale we currently are. And we're certainly not living anywhere else any time soon either, so that means we screwed ourselves.

And when we're gone I personally don't care whether there's still dolphins or whatever. Life comes and goes. That's life. Everything will end, the sun will die and so will the universe. The only question is when.

Why anyone would care about what happens after we're gone is beyond me. What we need to prioritize is self preservation. And we rely on the current ecosystem so if we ruin it we ruin ourselves. But from the resulting apocalypse new life will form, which couldn't have existed without it. The earth will be fine, we might not be.
by whstl | 2025-04-09 13:09:56+00:00
The low quality of modern libraries is something that REALLY shocks me.

The library space has become competitive, and people are running them as business. The goal is not to be correct or even good, but to be a "first mover" and selling tutorials, books, Github sponsorships, Patreon subscriptions...

It's bad not only in terms of security, but also in terms of developer experience.

I am constantly amazed at how little documentation things have, at how many BASIC cases they don't cover (let alone edge cases) and how many security holes those libraries have, and the number of dependencies just keeps getting bigger and bigger.

Another issue is that newer developers are being taught just the newfangled library and have zero experience with the foundations. The number of React devs who don't know how to use HTML forms without a library is nuts.
by tim333 | 2025-04-09 13:11:05+00:00
>It’s not China’s fault

There is an element in that the US protects Taiwan. When China was content to make stuff and not invade places things were fine but now it's building up it's military and saying it will take back Taiwan things are more awkward. It's bad for the US in a war situation with China if all their stuff is imported from China.
by s3p | 2025-04-09 13:11:43+00:00
> Once hired, an impostor can install malware to demand a ransom from a company, or steal its customer data, trade secrets or funds.

I'm getting whiplash from how quickly this article jumps to conclusions. Most corporate cybersecurity is quite strong. Why is this the very first conclusion they come to? Not even that the fake profiles collect a salary, just.. "virus!!!"
by msk-lywenn | 2025-04-09 13:11:46+00:00
I played horizon zero dawn on my M2 Air. It ran in 1080p and better than on my old PC on 720p (i5 4570, gtx 960). I had to plug it in and follow the wiki though. There's a regedit change to do for some cpu frequency thing, otherwise the games runs in slow motion - not slowly as in low framerate, the framerate is good, it's just time passing slowly.
by sipofwater | 2025-04-09 13:11:53+00:00
"US expected a big travel year, but overseas visitors — angered by Trump — are heading elsewhere": https://apnews.com/article/tourism-us-travel-trump-visitors-... (apnews.com/article/tourism-us-travel-trump-visitors-international-14c31b490fd382d09ad5cae625ddc937)
by vintagedave | 2025-04-09 13:12:37+00:00
The article notes they think Tesla should be about to find customers for solar easily, so asked, what's going on? And that a high point for them was installing 100 megawatts -- which struck me as small.

Some quick googling and clicking result #1 (risky, I know) showed this [1] claiming that 2024 was the second record-breaking solar installation year in a row. And that 50 gigawatts had been installed in the US.

That makes me think:

* Isn't Tesla Solar's max 100Mw number rather, well, tiny? A small drop? Why, for a company like Tesla?

* The article's exactly right. They _should_ be able to find more customers.

Does anyone have more insight? Does this part of the company have a good reputation?

[1] https://seia.org/research-resources/us-solar-market-insight/
by oblio | 2025-04-09 13:12:39+00:00
This is trivially google-able.

Well, I guess I might as well play ChatGPT :-)

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

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

https://sandeep.ramgolam.com/blog/linus-torvalds-talks-about... -> https://www.youtube.com/watch?v=4XpnKHJAok8
by ty6853 | 2025-04-09 13:13:01+00:00
Dubai / UAE is about the largest per capita inflow of high net worth individuals, and even on an absolute basis has one of the highest immigration inflow of high net worth individuals.

Yes if you are poor as dirt and can just take your life savings of <$10k (probably 99% of humanity) on an airplane if you need to use it in another country, you can do so no problem and you do not care, the idea of a crypto OTC desk likely does not even occur to you. It is still solving the same problem, but by being small enough that no one cares.

The data pretty well speaks for itself. Humanity with money cares a lot about escaping capital controls. This is inviolable, the more the banking system handicaps itself the more capital flows into less regulated products.
by codethief | 2025-04-09 13:13:14+00:00
Which Android apps for limiting screen time does the HN crowd recommend? Is there one that doesn't sell your data or request network access? (Ideally of course the app would be open-source but I'm not getting my hopes up.)

I've been wanting to try Digital Wellbeing but it looks like it's still not available for non-Google devices. Or at least it's shown as "not compatible" when accessing the Play Store from GrapheneOS.
by miningape | 2025-04-09 13:13:21+00:00
Exactly, cheap buggy shovelware has always been available to gamers. They just choose not to buy it because they know the experience will be sht since no one spent any time polishing it from a POC to a product.

AI generates code that's harder for humans to understand so that polishing process is takes longer and is even more costly when you have AI shtting out code at breakneck speed.
by ehnto | 2025-04-09 13:13:35+00:00
It doesn't seem to matter if someone went to university. I have had to unpick crap code from uni grads and self taught. Experience may be the only true reliable tell, and I don't mean jobs held I mean world experience on projects.

There are also different types of self taught, and different types of uni grad. You have people who love code, have a passion for learning, and that's driven them to gain a lot of experience. Then you have those who needed to make a living, and haven't really stretched beyond their wheelhouse so lack a lot of diverse experience. Both are totally fine and capable of some work, but you would have better luck with novel work from an experienced passionate coder. Uni trained or not.