MurphyA/hacker-news huggingface dataset:
by amluto | 2025-04-06 18:39:51+00:00
Better link: https://github.com/apache/parquet-java/pull/3169

If by “classic” you mean “using a language-dependent deserialization mechanism that is wildly unsafe”, I suppose. The surprising part is that Parquet is a fairly modern format with a real schema that is nominally language-independent. How on Earth did Java class names end up in the file format? Why is the parser willing to parse them at all? At most (at least by default), the parser should treat them as predefined strings that have semantics completely independent of any actual Java class.
by Calwestjobs | 2025-04-06 18:40:03+00:00
Czechs vote guy who does NAZI salutes on the street, to european parliament, Slovaks voted guy who is lobbying for usage of russian oil and taking bribe of 1% of price of russian oil which slovak state company buys...

So we do not need more conspiracy theories about meddling, we need to address and deal with real things already toxic for community.

Yes as you guessed nothing in here has any relation to ExTwitter nor Youtube nor fakebook. /s
by georgemcbay | 2025-04-06 18:40:25+00:00
All that matters for his continued employment as an adviser is Trump's opinion of him.

This behavior is not likely to be seen as a negative by Trump, but rather as a positive "go-getter" trait.

Trump has employed this method of inventing people to talk himself up for many decades:

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

https://www.youtube.com/watch?v=JsYKRUE_D5g

https://www.washingtonpost.com/video/national/audio-from-may...

Its actually reasonable to believe that Navarro may have got the idea from Trump whether directly or indirectly.
An and original free Python course
by FreePythonLab | 2025-04-06 18:40:35+00:00
https://interactive-free-python-lab.uk

1. Build solid Python foundations from beginner to intermediate. 2. Learn through practice with 400+ examples and exercises. 3. Enjoy an intuitive, interactive interface. 4. 24/7 course access – learn anytime. 5. Explore Python applications in real projects.
by ajross | 2025-04-06 18:41:01+00:00
You're not discussing in good faith. The performance comparison was to the "parse to the end" variant that you suggested as equivalent. The natural way you implement that (again, very simple) algorithm wants the early exit, yes, for obvious performance reasons.

We're done. You're "not convinced" my way is simpler because you're not willing to give ground at all. This is a dumb thing to argue about. Just look at some historical parsers for similar languages, I guess. Nothing I've said here is controversial at all.
by KennyBlanken | 2025-04-06 18:41:18+00:00
Anyone who has read books for classes in high school and above knows that even classics are routinely fucked with by publishers. Even early in the work's history. I remember even in middle school someone would invariably end up with a different publisher's edition of a book for summer reading or whatnot and we'd find changes.

Unless the book is specifically declared to be the original text - and it may have to specify which original text - they're going to be edited.

However, in electronic form it should be possible to include both in one file, or two files with the original in a repo branch once all the document structure stuff has been added. That text will never change, so merging formatting-only changes should be pretty painless.
by superjan | 2025-04-06 18:41:36+00:00
This is not consensus. There are lots of anomalies in what we observe in the cosmos. Here someone links two of those to a speculation about extra dimensions. It would get interesting if they have predictions that can be checked.

A promising new theory should fit known observations, explain previously unexplained phenomenon, and predict something testable. That will be difficult to judge as a layperson.
by mentalgear | 2025-04-06 18:41:50+00:00
Unfair business practices and quasi monopolies (Microsoft), waled gardens (apple), and in the past 15 years advanced data analysis let's those companies exactly calculate how far they can make their users "suffer/bleed/annoy" and stop just right before the breaking point.

Also, if real competition arises, it's just bought and merged (Facebook buying instagram) since anti-trust laws have not been properly applied, especially in the digital sector.
by hn_throwaway_99 | 2025-04-06 18:41:54+00:00
I feel like those graphs and similar arguments are always trotted out, and they are an important piece, but there is more to the world than disposable income, and only using those stats completely ignores some very real negatives. You hint at it with "unless you really scope down to particular losers in a world of mostly winners", but I think you're vastly underestimating that:

1. Wealth inequality. Wealth inequality has exploded over the past few decades, and even if the median has gone up, the effects of widening wealth inequality can be very bad for society. First, as Charlie Munger once said, "The world is not driven by greed, but envy." Even if you're doing a little bit better, if everyone else is doing a ton better, this leads to you feeling like you're doing a lot worse. The rise of authoritarian politics in the West I think can be directly attributed by large swaths of society feeling left behind and like they are "getting screwed".

2. Related to the above, but finite resources, most especially land, are always vacuumed up by the wealthiest in society, regardless of any other level of incomes. So when there is a lot of wealth inequality, it can become prohibitively expensive to own land in any remotely desirable area, and this has huge negative societal effects (happy to go into this point more if you disagree).

3. The flip side of "optimized global supply chains" is incredibly brittle supply chains in the face of black swan events. Covid was a taste of this, though I think the global supply chain actually help up remarkably well for how enormous an impact Covid had. I think a better example would be something like chip production in Taiwan, which if it disappeared tomorrow would be absolutely devastating for the world economy.

4. Some countries that are now leaders in the world economy, like South Korea, had an extremely protectionist stance for decades in order to allow crucial industries to develop and not be undercut by cheap imports. I certainly don't think it's the only reason, but one reason Africa struggles so much is because they are flooded with cheap goods (or free goods in the guise of "charity") that prevent native industries from developing.
by luckylion | 2025-04-06 18:42:13+00:00
Is that limited to ads? If someone buys a car because it looks sporty and powerful which speaks to his subconscious, was he not manipulated? Was he able to give consent to trade money for that car?

I understand where you're coming from, but psychological manipulation is everywhere and committed by everyone all the time and defining its use as voiding consent seems very problematic.
by CRConrad | 2025-04-06 18:42:41+00:00
> the unwanted removal of classic Control Panel applets like "Window Color and Appearance" (which doesn't have a replacement)

Annoys the fsck out of me too. Hmm... Just occurred to me: What if one copied the correct .cpl file into the C:\Windows\System32 directory of a Win 10/11 box and just ran it (if nothing else, from the command line)?

Probably won't help. :-( AFAICT, the Control Panel applets just put the values you specify into the correct place in the Registry, and the latest versions of Windows just don't care what's there any more. Source: I used to edit the Windows Border Width value directly with RegEdit, but after a while it stopped using that value (and even started setting it back IIRC).
by quotemstr | 2025-04-06 18:42:59+00:00
Some of this advice is wrongheaded. Consider array indexing: usually, an out of bounds access indicates a logic error and should fail fast to abort the problem so it doesn't go further off the rails. Encouraging people to use try-things everywhere just encourage them to paper over logic bugs and leads to less reliable software in the end. Every generation has to learn this lesson anew through pain.
by inglor_cz | 2025-04-06 18:43:00+00:00
What?

About a quarter of the entire humanity is infected with TBC bacteria. Two billion people, often in the most remote and poorest places in the world, like Niger or Afghanistan.

You don't have to be a public health professional to calculate that USAID can put a dent to this massive problem, but cannot even dream about reducing it to, say, half of its current size.
by shw1n | 2025-04-06 18:43:15+00:00
That's not what this is saying at all.

"Understand my argument" does not imply correctness in the slightest.

It's possible to understand an incorrect argument and show where it's going wrong, plenty of people can detect fallacies. I've both done it to others and had it done to me.

This seems to be a combining of "understanding" and "agreeing", which are separate things.
by ToucanLoucan | 2025-04-06 18:44:10+00:00
> The economical fallout would be extensive.

There was likely economic fallout many would call extensive when we mandated equal wages for minorities and an end to child labor, and yet businesses soldier on. Turns out, if you’re selling products people need, momentary disruptions and changing market conditions generally don’t mean you suddenly cannot conduct business.

> Think about product placement in movies or television, banners in big sporting events etc. Who'd pay for that? The state? With whose money?

One of sport fans biggest complaints is the overwhelming number of ads and the overbearing, bloated organizations behind pro tier sports. It seems like bankrupting a lot of them and letting teams return to public goods funded by municipalities would be a huge step forward into preserving sports as a social event, not a profit seeking venture.

And it’s not like pro sports aren’t already benefitting from taxpayers left and right. We could just get rid of the money men up top and let things settle where they may. Sure we may not get blockbuster sports events anymore, but maybe more people could then afford to actually attend?

> This would definitely hurt consumers.

Consumers LOATHE SaaS. They would cheer for it to be killed off.

> What about a political party publishing a newspaper and paying their staff?

I don’t see how that would run afoul of my definition?
Show HN: YouTubeGO – Open-source YouTube/audio downloader built in Python
by toxi360 | 2025-04-06 18:44:43+00:00
Hey HN,

I've been working on a cross-platform, fully open-source YouTube/media downloader called *YouTubeGO*.

Built with *Python + PyQt5*, it provides: - MP4/MP3 downloads using `yt-dlp` - Playlist support - System tray integration - Download queue + scheduler - Drag & drop support - FFmpeg detection for audio extraction - Modular code structure (core/ui/tests)

Why I built it: Most alternatives are either Electron-based (bloated) or CLI-only. I wanted something lightweight, native, and clean that just works on Linux, Windows and macOS.

Licensed under Apache 2.0 GitHub: https://github.com/Efeckc17/YoutubeGO Feedback & contributions welcome!
by fxtentacle | 2025-04-06 18:45:43+00:00
I'd say most of the recent AI model progress has been on price.

A 4-bit quant of QwQ-32B is surprisingly close to Claude 3.5 in coding performance. But it's small enough to run on a consumer GPU, which means deployment price is now down to $0.10 per hour. (from $12+ for models requiring 8x H100)
by whytevuhuni | 2025-04-06 18:45:44+00:00
No, the Rust community almost universally understands "safe" as referring to memory safety, as per Rust's documentation, and especially the unsafe book, aka Rustonomicon [1]. In that regard, Safe Rust is safe, Unsafe Rust is unsafe, and C++ is also unsafe. I don't think anyone is saying "C++ is all unsafe."

You might be talking about "correct", and that's true, Rust generally favors correctness more than most other languages (e.g. Rust being obstinate about turning a byte array into a file path, because not all file paths are made of byte arrays, or e.g. the myriad string types to denote their semantics).

[1] https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html
by Aloisius | 2025-04-06 18:46:07+00:00
> Yes, party platforms evolve, but this kind of sudden reversal is still remarkable.

I don't think there's been a Democratic platform that's advocated increasing tariffs or trade barriers in living memory.

Most have outright called for free trade, though in recent years also "fair" trade which meant trying to push for worker protection/environmental/etc laws and end foreign subsidies and barriers onto other countries to level the playing field rather than increasing trade barriers.

There is a more protectionist wing of the Democratic party that has advocated for increasing trade barriers (or in some cases, ceasing trading altogether), but despite sometimes being quite loud, they've never had a majority.

It was the American left that were anti-globalization, like with the protests WTO conference in 1999. Their flip has been... weird.
by lambda | 2025-04-06 18:46:18+00:00
While others certainly have a financial interest in it, it is not publicly traded and Musk solely controls it. For instance, he just unilaterally sold it to another of his privately held companies, xAI, for a valuation he made up.

Musk's privately held companies, and to a large degree Tesla as well, are all things he treats as effectively one big company that he controls; he'll take employees from one to another at will, he sells them to each other or spins them out at will in all stock transactions, etc.

The EU regulations allow seeing through such sham company boundaries that are all controlled by a single entity, and treating them as a single company.
by bchris4 | 2025-04-06 18:46:48+00:00
Whether you like Tesla or not: this blog post is a perfect example of how clickbait headlines twist things around. Nobody reads anymore - if you made it down to the nitty gritty of each actual example, it’s painfully obvious that many have almost nothing to do with the self driving software at all, other than how humans can interact with it to screw it all up. There’s:

- A drunk driver doing 100 in a 45 (by pressing down on the pedal) through a yellow light

- A driver who “didn’t see the motorcyclist” because he was looking at his PHONE, but who had the go pedal pressed down at 95-100% for as many as 10 seconds after hitting him, to the point where witnesses say the front wheels were spinning while up in the air

- Others with no detail- not the authors fault but from the ones we have, clearly there are often circumstances which would require more analysis before coming to this conclusion
by riedel | 2025-04-06 18:47:15+00:00
I actually wrote my diploma theses for 6 month in a very crowded student bar / café . I didn't even suspected such diagnosis, but I guess it is not so much about diagnosis as finding the things that work. A former colleague always had TV series on while working. Brains are sometimes strange. Also now beyond 45, it seems I have to find new things that work for me.
by legitster | 2025-04-06 18:47:25+00:00
The big prediction that was wrong is that the US dollar would lose value. The opposite happened - despite all the deficit trading, the dollar has gone up in relations to all other countries.

It's a self-correcting problem - if the dollar starts losing value, that strengthens or our ability to export. And if countries want to manipulate their currency to maintain their ability to export, then they are helping pay to maintain the balance.
by sargstuff | 2025-04-06 18:47:25+00:00
Going with the concatination theme, note|able for notable app work?

curl; (unix pipe); awk filter/dress up filtered info with html/css/java script; (unix pipe); interact with js sed curled info.

Perhaps use sockets/socat instead of (unix pipe) to avoid inband issues with terminal disciple control characters / support utf beyond utf8.

Way for web app to provide feedback on what to 'awk'. aka urls, "topics", etc.

Package as customizable rss web browswer wasm low memory usage app indexed to db of choice via odbc when terrabyte of data in memory isn't enough.

Make it a diy portable student privacy brower with rasberry pi and niplow disk[1]. add color [2]

Document one's spin on things. Geotag[3] where to go to trigger sidewalk post rain chalk drawings[4]

--------

[1] : https://www.youtube.com/watch?v=AOQi4BmXRAo

[2] : http://www.authorityfile.co.uk/NBSC/Home/About

[3] : https://en.wikipedia.org/wiki/Geotagging

[4] : https://static1.cbrimages.com/wordpress/wp-content/uploads/2...
by bryanlarsen | 2025-04-06 18:47:36+00:00
The US has a moderate goods trade deficit with Europe but a massive services surplus with Europe. Trump's tariffs are only calculated based on the goods trade deficit.

Putting a massive tariff on American services like Netflix would allow Europe to shrink that services deficit significantly. At the same time it would likely shrink the goods surplus slightly due to the substitution effect. Europe can inflict massive pain on America in retaliation at the same time as moving the numbers in a direction that it appears Trump wants.
by Schnitz | 2025-04-06 18:47:56+00:00
Targeting Elon’s companies is a very smart play in this trade war. It has little to no economic impact in the EU but at the same time has a big impact on him, it might drive a wedge between him and Trump and it also pushes him into an obvious conflict of interest. The US started treating everyone else like an adversary, it shouldn’t come as a surprise that the favor is being returned.
by BrickFingers | 2025-04-06 18:48:33+00:00
This was a great read.

Can someone explain how this translates for average American citizens? What have been the effects, if any, of consistently trading at a deficit since the 80s?

I've been trying to wrap my head around it, but it seems like there are so many factors at play that the effects aren't obvious.

My intuition is that maintaining trade deficits could cause inflation since US often needs to print money to service its debts. But, that only depends on consistent budget deficits. Inflation also depends on Fed rate somehow...Do consistent deficits increase housing prices? I'm lost..

I hardly know anything about econ. But, my gut feeling is that the effects of 40 years of trade deficits should be clearer than they are. It feels like maybe the status quo has been artificially propped up.
by camgunz | 2025-04-06 18:48:36+00:00
Someone with your eye for detail would probably be embarrassed to learn that while their entire argument rests on me referring to "engineers" I never wrote the word once.

It seems like you're one of those HN people who thinks they'll convince people scrolling by with petty semantic arguments and snark. Maybe that's true! But it doesn't work on me. For example, if you're gonna make a claim like "I think a judge would also demand a consistent principle and definition to guide regulation", I'd want to see evidence that deals with the fact that the courts have come up with their own standards for their own review (rational basis, strict scrutiny) and indeed have formulated their own standards for evaluating legislation entirely on their own (undue burden, imminent lawless action, etc). From your comments in this thread, I'd guess you don't know anything about laws, legislation, judicial review, and the like. But hey, don't let that stop you from warning about the dangers of "destructive power of imposing your will on others".
by tayo42 | 2025-04-06 18:49:04+00:00
Yeah I get for visitors it looks bad but I think everyone needs to be realistic about how much can change. The tenderloin is the way it is becasue of the services it provides to homeless and drug users. If you got rid of the services the people dissappear. But I think that would be a pretty bad thing to do. And you can't move the other districts really either.
by djha-skin | 2025-04-06 18:49:18+00:00
> Since 3.5-sonnet, we have been monitoring AI model announcements, and trying pretty much every major new release that claims some sort of improvement. Unexpectedly by me, aside from a minor bump with 3.6 and an even smaller bump with 3.7, literally none of the new models we've tried have made a significant difference on either our internal benchmarks or in our developers' ability to find new bugs. This includes the new test-time OpenAI models.

This is likely a manifestation of the bitter lesson[1], specifically this part:

> The ultimate reason for this is Moore's law, or rather its generalization of continued exponentially falling cost per unit of computation. Most AI research has been conducted as if the computation available to the agent were constant (in which case leveraging human knowledge would be one of the only ways to improve performance) but, over a slightly longer time than a typical research project [like an incremental model update], massively more computation inevitably becomes available.

(Emphasis mine.)

Since the ultimate success strategy of the scruffies[2] or proponents of search and learning strategies in AI is Moore's Law, short term gains using these strategies will be miniscule. It is over at least a five year period that their gains will be felt the most. The neats win the day in the short term, but the hare in this race will ultimately give away to the steady plod of the tortoise.

1: http://www.incompleteideas.net/IncIdeas/BitterLesson.html

2: https://en.m.wikipedia.org/wiki/Neats_and_scruffies#CITEREFM...
by dionidium | 2025-04-06 18:49:38+00:00
> Blue checkmarks "used to mean trustworthy sources of information," Commissioner for Internal Market Thierry Breton said.

Obviously you can write a law that says anything you want, but as an aesthetic matter, this strikes me as pretty ridiculous. A company makes up a thing called a "blue checkmark" and then, what, it has to mean the same thing for the rest of all time? It's not like the new Twitter lied about what was happening. They said plainly that they were changing the checkmark system to mean something new. Why would anybody cheer a government stepping in to say, "no, sorry, you can't do that?"
Show HN: A "Buy Me a Coffee" Button for Crypto Donations
by SamPerson | 2025-04-06 18:51:03+00:00
I am building a simple donation platform where creators can accept tips in crypto — kind of like “Buy Me a Coffee,” but Web3-native.

No signups required for supporters. Just share your donation page and anyone can send MATIC, ETH, or any ERC-20 token directly to your wallet. It’s gas-efficient and built on Polygon.

Each creator gets a customizable page with a short URL and optional message board. Everything is non-custodial — you own your keys and your funds.
by tayo42 | 2025-04-06 18:51:29+00:00
Maybe, in countries with social services.overall I think it's a mistake to think of handling the homeless, mental illness, and lack of opportunities like this on a city by city basis. It's more a reflection of America, the federal government needs to step in an help these people. Like why should each individual city help homeless veterans and not the government of the entire country that they served in.
by Jtsummers | 2025-04-06 18:51:33+00:00
And it gets worse for you. That's primarily considering the US market. Your Chinese competitors aren't simultaneously being shut out of non-US markets (since this is a unilateral trade war, not the US + allies).

Your US sales may drop 50% due to the change in price, and your Chinese competitor's US sales may drop by 75%, but their sales in other countries may not change at all. Meanwhile, your sales outside the US are going to drop because not only are your component costs going up driving your price up, you now face tariffs when selling in every other country in the world (if they choose to respond to the tariffs the US is levying on their goods).