MurphyA/hacker-news huggingface dataset:
by thrance | 2025-04-30 01:20:45+00:00
You can tweak the rules infinitely to get the outcome you want. It's suspiciously convenient how the only company that's exempt from those tariffs is owned by the guy that gave Trump $200+ millions during his campaign.

You can't argue in good faith about "well, that's the rule" when the rule was very obviously constructed that way to achieve this specific purpose.
by BLKNSLVR | 2025-04-30 01:22:54+00:00
There's a manager I've worked with and someone had a great description of her:

"She operates like a phone that hasn't been rebooted in too long"

My (admittedly unapologetically judgemental) view is that people that need more than a couple of tabs open from one day to the next are either too disorganised to bookmark the pages or are trying to juggle an obviously unreasonable and unsustainable number of topics. I find everything interesting, so I want to read and re-visit a LOT, but because of that it's become obvious to me that 99.9% of the time I'm never going to get back to that interesting thing (and if it's ends up being worthwhile enough then I'm sure I'll come across it again or be able to find it if and when I have the time).

I'm like you in that I almost make a point of closing all the tabs when I close the browser - and I often close the browser on a daily basis.

There's someone else I know who has multiple browser windows each with multiple tabs, and they just don't shutdown their computer because it's "state" represents where they are in their overall workflow. To me, that indicates a number of problems.

Caveat: I occasionally rely on the browser, upon start-up, re-opening the same tab/tabs (usually a maximum of two tabs) that were open when I closed the browser the previous day.
by suid | 2025-04-30 01:23:05+00:00
Good question. The "ultimate zip bomb" looks something like https://github.com/iamtraction/ZOD - this produces the infamous "42.zip" file, which is about 42KiB, but expands to 3.99 PiB (!).

There's literally no machine on Earth today that can deal with that (as a single file, I mean).
by carlosdp | 2025-04-30 01:26:40+00:00
> The article ignores Firefox switched the contract to Yahoo as the default search provider from 2014-2017

I worked at Mozilla when this deal was struck. The deal with Yahoo did require Yahoo be the default for Firefox, I'm not sure what you mean by "absence of any requirement"?

Mozilla broke that contract with Yahoo (there was a clause allowing them to do so without repercussion and keep the money, if they deemed it better for the users, wild contract) less than 3 years later because users hated Yahoo so much, and went back to Google.

Google is dominant because it just _is_ the best search engine.

> One of the biggest differences between Google selling Chrome and any old chromium fork is precisely that the "other" browsers no longer have to try to compete with Google's own browser to get users to monetize.

Isn't that literally anti-competitive? The DoJ is saying Google search is dominant partially because of Chrome pushing users to Google.

You're saying Chrome is dominant because users like it too much, and other browsers can't compete? Tough, that's the users' choice, though.
by MisterTea | 2025-04-30 01:26:56+00:00
Ignorance leading to assumptions. Their eureka moment: "The shell, not the Linux kernel, is responsible for searching for executables in PATH!" makes it obvious they haven't read up on operating systems. Shame because you should know how the machine works to understand what is happening in your computer. I always recommend reading Operating Systems: Three Easy Pieces. https://pages.cs.wisc.edu/~remzi/OSTEP/
by grishka | 2025-04-30 01:27:00+00:00
> you can always create zip bombs that are links on a web page that don't show up for humans

I did a version of this with my form for requesting an account on my fediverse server. The problem I was having is that there exist these very unsophisticated bots that crawl the web and submit their very unsophisticated spam into every form they see that looks like it might publish it somewhere.

First I added a simple captcha with distorted characters. This did stop many of the bots, but not all of them. Then, after reading the server log, I noticed that they only make three requests in a rapid succession: the page that contains the form, the captcha image, and then the POST request with the form data. They don't load neither the CSS nor the JS.

So I added several more fields to the form and hid them with CSS. Submitting anything in these fields will fail the request and ban your session. I also modified the captcha, I made the image itself a CSS background, and made the src point to a transparent image instead.

And just like that, spam has completely stopped, while real users noticed nothing.
by password4321 | 2025-04-30 01:28:35+00:00
Last week I xkcd#1053'd (aka lucky 10,000'd) https://chargie.org thanks to https://news.ycombinator.com/item?id=43766728#43767575 (additional anecdata: https://hn.algolia.com?query=chargie&type=comment)

>an interposing dongle [$25 on sale!] which provides a Bluetooth receiver and app that lets you set arbitrary preferences on your phone and fast charge, slow charge, or turn off the charger at configurable state of charge setpoints or times

Another option I learned about just now for Macbooks: https://github.com/AppHouseKitchen/AlDente-Charge-Limiter (macOS 11+; $25 Pro version)

And I saw your recommendation elsewhere in the previous discussion I dug up (https://news.ycombinator.com/item?id=31841051#31842078) because someone mentioned that power cycling the battery on a timer would still eventually encounter the same problem.

>Trades one problem for another. Now you are cycling the battery frequently which is going to do the same thing in the end.
by gngoo | 2025-04-30 01:28:38+00:00
This is going to sound ridicilous. But in the past month, I have been working on an AI agent that can write its own AI agents. I can give it a task like: "Please create an AI agent that fetches the weather, and sends me an email every morning about some interesting stuff to do". The agent then goes through a loop of requirements gathering (with my input), and then starts building himself.

It self-references its own documentation, spins up a docker container and runs it. Alongside it builds tools, and registers both the agents and tools in a central system, so that it has knowledge of what other tools and agents it can use. I am not talking about "I am working on the theoretical idea of an agent that can build agent", but this is actually working. And I know of several other teams that are building stuff in this direction, its very fun.

I left behind a very well paying client to go full-time on this because its just so much fun. I have connected it to telegram, so now while I am at the gym, I can actually build software... the execution may take anywhere from a 10 minutes to an hour. Which is time spend writing and testing the code, then spinning up a docker container and fixing stuff, prompting me to create accounts somewhere an provide an API key. By far its the most complex project I have worked on, and all my friends and colleagues are slightly going crazy by seeing the outputs.
by leyth | 2025-04-30 01:28:39+00:00
Any chance you could finish the article before launching another disk-filling spree?

> "He certainly saw ecosystems, as we would call them now, in the natural world. He also understood what we might call the survival of the fittest.[46]"

> "Animals engage in a struggle for existence, and for resources, to avoid being eaten, and to breed." He added, "Environmental factors influence organisms to develop new characteristics to ensure survival, thus transforming them into new species. Animals that survive to breed can pass on their successful characteristics to their offspring."

Masood, E. (2009, March 1). Islam's evolutionary legacy. The Guardian. https://www.theguardian.com/commentisfree/belief/2009/feb/27...

I should also note that I do have a 'horse in the race', having read Al-Jahiz’s work myself. I'm well aware that some struggle to accept that such a monumental intellectual contribution came from a Black scholar—yes, Al-Jahiz—at a time when much of the world was still in the so-called Dark Ages.
by thrance | 2025-04-30 01:28:42+00:00
That was yesterday's narrative, keep up! Now tariffs were a plan to pressure our allies to renegotiate their trade deals with us in our favor, and that worked great! (According to the white house (Also forget that not a single deal was made)).

Oops! Scratch that, now that China won't back down on their retaliatory tariffs, they were always a tool to make China "fall back in line" or something. Yeah, destroying our own economy ought to teach them a lesson.

This shit is so transparent, I'm amazed as to how 30% of the country can still endorse this clown and his circus. My mental image of the average republican voter is now that of a toddler trying to fit a square into a circle hole while drooling on themselves.
by sdenton4 | 2025-04-30 01:28:54+00:00
On the one hand, you have SEO mills churning out crap and A/B testing clickthrough rates on different headline/image combinations. That's bad.

On the other hand, you have a blogger choosing a headline for a cool thing that they did and wrote up...

The author here writes up what happens. They include ample discussion of search in their write-up. They do not need to write the entire blog post in the title in order to avoid 'fraud.' Yeesh.
by at_compile_time | 2025-04-30 01:30:13+00:00
On the contrary, I find indices to be the most natural way to represent anything that resembles a graph in Rust. They allow you to sidestep the usual issues that arise with ownership and borrowing, particularly with mutability, by handing ownership to the collection and using indices to allow nodes to refer to one another. It's delightfully simple compared to the mess of Arc and RefCell that tends to result when one tries to apply patterns from languages that leave "shared XOR mutable" as the programmer's responsibility. That's not to say that Vec and usize are appropriate for the task, but Rust's type system can be used to do a lot better.
by linguae | 2025-04-30 01:31:41+00:00
One of the biggest challenges with the libertarian movement is that it attracts people who like libertarianism not because of the non-aggression principle, but because it enables them to legally engage in certain activities.

An example would be how Barry Goldwater, a proto-libertarian, was able to win some solidly Democratic Deep South states in 1964, the first to do so since Reconstruction. It wasn’t because those Southerners had a libertarian moment. No, it was because Goldwater opposed the Civil Rights Act of 1964. Although Goldwater supported civil rights and voted for previous civil rights legislation, he felt that the 1964 act was an unconstitutional infringement on the rights of private businesses. However, there were many voters in the South who were swayed to vote for Goldwater not because they were libertarians, but because they supported discrimination, and despite their support for Democrats from Reconstruction through the New Deal, anti-discrimination laws were enough for them to break nearly a century of party loyalty.

During the pandemic, I was dismayed by anti-vaxxers and anti-maskers who used libertarian rhetoric to engage in reckless behavior that harmed not only themselves, but others, especially the immunocompromised. It’s one thing to be saddened and taken aback by the extraordinary powers governments at various levels took during the pandemic. Unfortunately, any type of principled opposition to government overreach during the pandemic was overwhelmed by all sorts of selfish, reckless acts. I was completely dismayed by the behavior I’ve witnessed, disappointed not only with various levels of government, but also with some conservatives and libertarians who managed to make COVID a “culture war” matter.

It turned out many of the libertarians I’ve looked up to were just very articulate right wingers. When push comes to shove, they’d excuse people like Trump, Le Pen, Putin, and the like, justifying them under the guise that we’d be worse off under a standard-issue Democrat or a social democrat like Sanders or AOC. I’m not a Democrat by any means, but the past decade has shown the damage that MAGA-style right-wing populism could do to a country. I’m not a Bernie Sanders supporter, but Bernie or even AOC would be less destructive to society than Trump and his allies.

I am completely saddened by the culture wars and how we are unable to solve structural economic and political problems in America because we are mired in the culture wars. This is tearing our country apart and may make the world worse off as other nations fight to fill in a power void made available by a descending United States.
by leereeves | 2025-04-30 01:31:42+00:00
That's pure speculation, but quite possible. Corruption is nothing new in Washington.

The real question is whether people support bringing auto manufacturing back to America. As always, people who like the policy/candidate/official will overlook the corruption, while people who dislike the policy/candidate/official complain about it. The people who demanded evidence about Biden will accept speculation about Trump, just as the people who speculated about Biden will demand evidence about Trump.

With that in mind, I'm curious, what's everyone's stance on American manufacturing? Do you agree with Steve Jobs that "Those jobs aren't coming back"?
by wnc3141 | 2025-04-30 01:32:16+00:00
This will be one of the defining features of politics in the next decades I predict. I'm coming around to the belief that yes, AI will unlock productivity for some use case. I ask more productive sure, but for who?.

Wages have lost their relationship with productivity for some time, and while the gains will be privatized, the costs (energy grid, Data center land use, and the carbon emissions) will be born by us all.
by khrbtxyz | 2025-04-30 01:32:45+00:00
Another bit of trivia about the shebang support in Linux is that is possible to build the kernel without it. https://github.com/torvalds/linux/blob/master/fs/Kconfig.bin...

config BINFMT_SCRIPT tristate "Kernel support for scripts starting with #!" default y help Say Y here if you want to execute interpreted scripts starting with #! followed by the path to an interpreter.
by lern_too_spel | 2025-04-30 01:33:51+00:00
It's not as easy as more components = more expensive.

The battery pack is much smaller. A Prius PHEV is almost 500 lbs lighter than a Model 3 and only 100 lbs heavier than a normal hybrid Prius, which also has a battery pack. The MSRP is lower by almost $10k, which can cover a lot of maintenance before you resell it with less depreciation.
by gonzobonzo | 2025-04-30 01:33:53+00:00
I just checked out Mercedes, and it appears to be geofenced with a lot of restrictions[1]:

> DRIVE PILOT can be activated in heavy traffic jams at a speed of 40 MPH or less on a pre-defined freeway network approved by Mercedes-Benz. DRIVE PILOT operates in daytime lighting conditions when inclement weather is not present and in areas where there is not a construction zone. Please refer to the Operator’s Manual for a full list of conditions required for DRIVE PILOT.

Only on select freeways and only under 40 mph (and only during daytime with good weather conditions) sounds like it wouldn't be particularly useful.

Still, the tech is cool, and moving in the right direction. It's just always hard to really tell the state of things without doing some digging, because there's a ton of misinformation that gets thrown about whenever this topic comes up.

[1] https://www.mbusa.com/en/owners/manuals/drive-pilot#2
by virtue3 | 2025-04-30 01:34:05+00:00
I use honey view for reading comics etc. It can handle this.

Old school acdsee would have been fine too.

I think it's all the pixel processing on the modern image viewers (or they're just using system web views that isn't 100% just a straight render).

I suspect that the more native renderers are doing some extra magic here. Or just being significantly more OK with using up all your ram.
by bag_boy | 2025-04-30 01:34:06+00:00
My bet:

Eventually Ecommerce brands will pay OpenAI to display more fields/include more product data.

The chat model will probably tell users something like, “here’s all of the products from your search, unbiased as usual!”

BUT some of those products will have tags that encourage clicks and conversions:

- “on sale now!” - “4.8/5 reviews” - “inventory in your size”

Who really loses here? I think this an acceptable advertising model for LLMs.
by alephnerd | 2025-04-30 01:34:16+00:00
Even in normal times regulators don't take kindly to origination fraud even, so it's highly unlikely anyone will risk it with an admin like the current one. Look at what happened to Amazon earlier today and SentinelOne last week.

Most manufacturers will eat the cost and raise prices to a certain extent. Base models of any product tend to be manufactured in such as way that they have much looser margins.
Show HN: Abra Actions – Plug-in AI assistant that executes front end functions
by jakejmedeiros | 2025-04-30 01:34:40+00:00
Hey HN! I built abra-actions, an open-source TypeScript SDK that lets you add a natural language assistant to your app that actually runs real functions you define. You register frontend functions, and Abra connects them to an assistant powered by an LLM. When a user types something, Abra figures out the right function to call and parameters to attach, just like clicking a button and it runs on your own infrastructure with your existing logging, security, and permissions. Setup takes about 5 minutes. Works best with TypeScript + React. Useful for internal tools, admin dashboards, or anywhere you’ve got scattered UI and want to simplify it. Would love to hear thoughts or feedback especially if you’re building internal dashboards, complex UX flows, or anything you think this would useful for! https://abra-actions.com GitHub: https://github.com/abra-actions/abra
by mdaniel | 2025-04-30 01:34:43+00:00
> Beware though, that if you learn to read these, that you'll never trust a database again.

I chuckled, but (while I don't have links to offer) I could have sworn that there were some of them which actually passed, and a handful of others that took the report to heart and fixed the bugs. I am similarly recalling that a product showed up to their Show HN or Launch HN with a Jepsen in hand, which I was especially in awe of the maturity of that (assuming, of course, I'm not hallucinating such a thing)
by jeff-hykin | 2025-04-30 01:35:46+00:00
> that account is eerily similar to the vast majority of technical PhD stories amongst my friends.

As a PhD student in my 5th year at a tier-1 U.S. STEM research university, I know a good handful of exceptions, exceptions who are not "playing scientist".

But, ...they are the exception. Sadly this story is painful, uncanny and downright spooky for how similar some of the details are to students I know too.
by emporas | 2025-04-30 01:36:08+00:00
If all internet data could be saved in a disk, alongside with model weights, then what's the difference of pulling the knowledge out of the weights exclusively, versus weights and jpeg images? I don't see any difference.

The only difference might be compression, model weights throw away the noise and save the signal only.

For me humans versus machines is not an interesting competition. Machines will always win in a narrow specialized domain.

A more interesting competition is a very experienced human, versus an amateur who knows how to use A.I. Statistical/probabilistic models get confused, and they can easily wander aimlessly into rabbit holes. But a human who knows how to control the A.I. but is amateur at that particular narrow task, could guide it and at the end perform the same, or even better than the more experienced person.

In chess that's not true due to the super narrowed down domain of 64 squares and 6 different pieces, but anything that is more general a natty intelligence is necessary.

When I use it for programming, I never ask it to write code, i guide it to write that function, and use that other function from a library. If it is let free to guess, it will guess correctly 90% to 99% of the time, but if it is instructed then the code is almost flawless, nine nines percent of accuracy.
by zifpanachr23 | 2025-04-30 01:36:45+00:00
Oh 100%. As far as I am concerned, anybody that has touched that stuff is blacklisted and radioactive.All its gonna take is a little prick and the financing on the whole house of cards falls apart.

So don't think my hostile opinion towards developers that are involved in using AI to abuse their fellow humans is going to be remotely rare in the future. All the necessary preconditions are already there and the only reason it hasn't been noticed yet is because the people that fucked up are still able to get jobs at companies riding AI funding to do AI work.

Look what happened to a lot of the crypto bros. Now multiply that by 10 and the amount of nasty shit they were doing to other workers by 10 and I don't think people are going to take it as lightly as a lot of the crypto bros got off, which was usually just a black mark and severe down leveling when they came back to work at actual companies.
by meesles | 2025-04-30 01:37:06+00:00
Side-point - I'd even put an asterisk on OpenAI's innovation. a) Initial release was an amalgamation of prior research (valid) b) Subsequent models have for the most part been upgrades + optimizations (new iphone models aren't innovations), and c) their products are essentially emergent behaviors of a technology that is already a commodity (or ideas taken from the wider ecosystem). Not to say they aren't great engineers!

By constantly being in the headlines, they've given competitors lots of room to catch up.
by alephnerd | 2025-04-30 01:38:08+00:00
Most recently, Ford for violating the "Chicken Tax" - https://www.reuters.com/business/autos-transportation/ford-p...

And that was under the Biden admin, which was much less pushy. The Trump admin is much more vindictive, especially with a policy that appears to be backed personally by DJT.

Here are some interesting legal articles discussing this very thing in the Trump admin

https://www.morganlewis.com/pubs/2025/02/us-administration-t...

https://natlawreview.com/article/what-every-multinational-co...
by SpicyLemonZest | 2025-04-30 01:38:27+00:00
> Does anyone seriously think the military is going to defy SCOTUS at the end of the four years?

You know, probably not? It's not particularly comforting to know that democracy will probably survive in 2028.

> Does anyone seriously think Jan 6th, bad as it was, was going to end the republic[0]?

Did Yoon Suk Yeol seriously think that temporarily obstructing a National Assembly vote would make it impossible for them to end his coup? Yes, and so did the National Assembly - they worked hard to get into the legislative chamber, and once they got in they refused to leave until they were sure the coup was defeated. If the January 6 mob had made it onto the floor while it was in session, and "convinced" even a subset of Congress that they need to say Trump won the election, he would not have agreed to leave office on January 20th.
by LordGrignard | 2025-04-30 01:39:33+00:00
hello! the app looks very polished and I'm sure there's a lot of usecases of this for everyone else, but for me I wanted to ask whether this can be used to sync playlist progress of your offline library (its flac ofc) across devices? its something I have not found a solution for at all, other than some Plex thingy which is paid, and if you're synchronizing for millisecond accuracy it should work for simply keeping track of the shuffle order of the playlist and last played song (I. e. the position in the ordered playlist)?