MurphyA/hacker-news huggingface dataset:
by jumploops | 2025-04-30 21:32:32+00:00
I dealt with this exact situation yesterday using o3.

For context, we use a PR bot that analyzes diffs for vulnerabilities.

I gave the PR bot's response to o3, and it gave a code patch and even suggested a comment for the "security reviewer":

> “The two regexes are linear-time, so they cannot exhibit catastrophic backtracking. We added hard length caps, compile-once regex literals, and sticky matching to eliminate any possibility of ReDoS or accidental O(n²) scans. No further action required.”

Of course the security review bot wasn't satisfied with the new diff, so I passed it's updated feedback to o3.

By the 4th round of corrections, I started to wonder if we'd ever see the end of the tunnel!
by buremba | 2025-04-30 21:33:26+00:00
They have much superior product compared to VSCode in terms of pretty much everything, except AI.

Not sure why it’s so hard for them to catch up with Cursor. They have everything they need but somehow they focus on just something that they don’t have much expertise, building models instead of better integration. It’s a shame seeing such good product going downhill considering AI is becoming fundamental for dev productivity.
by thechao | 2025-04-30 21:33:33+00:00
The MAGA ideologues can stay cultists longer than we can stay solvent? I'm in Texas, and I've got a neighbor, down the road, who was in custom home construction; he's out of business now. Why? He can't import lumber, reliably; he used to hire "under the table", and he bought small steel supplies in bulk from Alibaba. So... pretty much his entire business model is kaput. He keeps telling me that, any day now, Trump's 11D chess moves are going to make him (my neighbor) solvent again. He just sold his (white) truck, and is selling his house. Still flying his Trump flag, though.
by anyfoo | 2025-04-30 21:33:52+00:00
I really liked the old German university concept, the one before we just took over Bachelor/Master.

Throughout my CS studies, I was just collecting "tickets" (very hard to translate the actual word, "Schein"), which basically just attested that you have passed a course. They (often) had a grade on it, but it did not matter. Instead, once in the middle ("pre-diploma") and once at the very end of your time at university, you'd have oral exams. And those determined your grade. To attend them, you needed the right combination of "tickets".

The glaring downside of this system is that if you had a bad time in those few months of your very final exams, you could screw up your entire grade.

The upside of it, is that I was free (and encouraged) to pursue whatever I wanted, without each course risking to have an effect on my "GPA". I had way more tickets than I needed in the end, and still time and energy to pursue whatever else I wanted (playing with microcontrollers etc.).
by ben_w | 2025-04-30 21:34:00+00:00
Why do you expect to gain jobs?

The US is currently at fairly high employment[0]. To a first approximation, if you attempt to move factory jobs to the US, not only do you need to build a factory, someone not currently working in a factory has to loose their non-factory job… or you have to encourage a lot more parenting and wait about 18 years[1].

More likely is that the US looses all the jobs that the imports were dependent on, and unemployment goes up.

"Dependent on" is also hard to determine. Lots of people now rely on smartphones, and even in a scenario like this the phones themselves won't evaporate overnight — they won't even really shift back to being the status symbol for the wealthy that they once were given how cheap the cheap brands are, but for the stake of illustrating the impact of consequences, *if* they were to shift back to being that status symbol, gradually there would also be much less call for mobile app developers and Uber, Delivery Hero, etc. drivers.

[0] https://www.bls.gov/charts/employment-situation/civilian-une...

[1] or whatever school leaving age + 9 months works out as; theoretically there's also "encourage immigration", but that's already been ruled out.
by EasyMark | 2025-04-30 21:34:05+00:00
We could have sensible policies if that's their goal, we are too reliant on our primary adversary for far too many things, but there could have been a controlled separation of economies instead of this slit our own wrists and see what happens policy from the Big Brains who brought us Project 2025. I swear I used to not think that Putin had kompramat on Trump, but every day that theory seems more and more solid rather than whack conspiracy theory.
by tazjin | 2025-04-30 21:34:15+00:00
I have a Dasung monitor (black & white, not colour) and its reasonably good for coding. You need to use light themes on eink devices (I use the default Emacs theme), as using a dark theme does lead to unusable bad ghosting.

Mine is a few years old and newer panels are better, so I would expect this to be pretty good.
by mullingitover | 2025-04-30 21:34:19+00:00
This.

Yes, 'rare earths aren't rare,' and I hear that, and then I also hear that everyone is screwed if China won't sell theirs.

It can't be both. The key reasons I've heard for China owning this market are a) they have large deposits, b) they heavily invested for decades, and c) they aggressively dump and undercut in an anticompetitive fashion to ensure they keep the market cornered.

Seems like the only way out of this is to stop being religiously opposed to state subsidies in an industry of clear national security importance, combined with maybe a Herbert Dow-style jiu-jitsu move of countering any dumping by stockpiling and then re-selling the below-market product.
by quesera | 2025-04-30 21:34:21+00:00
Just the usual "is this service within our trust perimeter" hesitation, when it comes to sharing source code.

I expected to get better results from my potted tests, and to assemble a justification for expanding the perimeter of trust. This hasn't happened yet, but I definitely see your point.

Presumably it would also be possible to hijack Cursor's network desires and redirect to a local LLM that speaks the same protocol.
by HarHarVeryFunny | 2025-04-30 21:34:25+00:00
A huge percentage (35%-65% depending on what source you believe) of American families are living paycheck to paycheck are are therefore extremely price sensitive. They are the ones buying cheap stuff in Walmart.

Not everyone will be buying expensive hothouse tomatoes come winter. People who can no longer afford to buy imported produce will change their habits and just buy more unhealthy stuff that they can afford.
by kelseyfrog | 2025-04-30 21:34:28+00:00
There was a large section of The Boys viewership that didn't understand that Homelander was a bad guy until season four, or that Walter White was Breaking Bad's biggest villain.

Time after time, an astonishingly large number of readers and watchers assume that main characters are good and are unable to fathom that a main character can be bad. Luckily for the rest of us, this is emotional shibboleth that once identified serves as a high-accuracy litmus test for personal engagement.
by rconti | 2025-04-30 21:34:38+00:00
I worked at several x86 Linux + SPARC Solaris shops between 1999 and say 2011. Linux was always on the app servers, and Solaris on the DB servers.

The Sun hardware was just better, more robust, and the machines tended to have hot-swappable bits. Better support for fast storage. Hot-plug in Linux was bad and took time to get good. The hardware was cheap, and took time to get good. Ditto driver support. It just got better and better until there was no reason to buy Sun.

And then Oracle bought Sun, and there was now a reason to _avoid_ Sun.
by vessenes | 2025-04-30 21:35:18+00:00
I hear that, and this is no doubt headed to the Roberts court. That said, this would to my eyes need to be interpreted as an expansionist "new interpretation" decision by all counts if we're getting rid of birthright citizenship; caselaw, US practice before and after the Ark case (for 100 years!) and the UK Common Law basis of US law (done away with in the 80s by a new law: see https://openyls.law.yale.edu/bitstream/handle/20.500.13051/7... for much, much more detail), which had hundreds of years of birthright citizenship all point pretty strongly at this being unilaterally understood a certain way here in the US so far.

That Yale article points out European countries have more traditionally relied on "jus sanguinis" -- parentage-based nationality, where UK, US and LatAm countries are mostly "jus soli" with "sanguinis" additions for, say, kids born in foreign countries to nationals.

Anyway - it would be pretty surprising to hear that this is not a reframe. I'll be reading the case with interest.
by gtowey | 2025-04-30 21:35:39+00:00
This is inevitable when a company has a revenue model where they claim to serve both users and advertisers. The wants of each will always be diametrically opposed. The customer with the deepest pockets always wins, which are the advertisers.

I'm also starting to think that no large company will ever act in the best interest of their customers unless required to do so by regulation. As long as those customers are individuals.

Maybe the regulation we need is that companies like Google can't have "ad supported" products that are simultaneously sold as products to users. Either you're selling a product to users, or really running an advertising platform. It can't be both.
by kemotep | 2025-04-30 21:36:03+00:00
People. As in people walking. My town is not designed in a way that is conducive towards walking. It isn’t safe, there is either no sidewalks, the sidewalks are in disrepair, are not wide enough for two people to pass each other, or set back far enough from the road to not feel like someone could run you over.

But the roads and dozens upon dozens of acres of parking lots? Perfectly fine. Millions spent every year maintaining them while sidewalks are neglected, there are no bike lanes or paths, and it could take twice as long to take a bus as it would be to just walk on the dangerous roads.

I just would think I should be able to walk to a restaurant or the library with my kid safely but I guess because I can do it in a car I should shut up and stop worrying about everybody getting excited about autonomous vehicles making infrastructure even more car centric.
by gervwyk | 2025-04-30 21:36:11+00:00
Although I 100% agree, there is still a place for it. We place generated conversations with our case studies, and have receive good positive feedback so far, especially from the non-technical crowd. See example https://resonancy.io/case-studies/flava-process-digitization

Of course one can invest more in better authenticity but for what it is, I believe it is a good bang for effort..

Also, if you listen to it for a while, and get over the initial cringe, it becomes enjoyable, at least for me. Some visitors even asked if it was Ai generated. lol

Excited and frightened about the future where its more a real. This was a cool comparison I came across recently [2]

Interestingly I saw today the Descripts Avatars are made to sound and look non-realistic on purpose to avoid I guess all kind of issues, but they claim they want to leave something authentic on the table for real content. Which I think is a good move..

[1] - https://resonancy.io/case-studies/flava-process-digitization [2] - https://yummy-fir-7a4.notion.site/dia
by wqaatwt | 2025-04-30 21:36:16+00:00
> proves not to be true

Perhaps. It's not black and white of course, more like black and grey.

Majority of all things Cheeto says are either outright lies or just incoherent rambling which is too hard to decipher.

I mean you do have a point about tribalism and the danger of blindly supporting anyone. However that's almost entirely tangential in this specific case. Just stating the fact that Trump and his cabinet are extremely (purposefully or not) incompetent and corrupt is not partisan in any way whatsoever.
by cycomanic | 2025-04-30 21:36:20+00:00
Presumably the $150k also includes all oncosts, so the actual salary is quite a bit lower still? As a side note I don't understand the arguments about salaries for nonprofits. Sure they should not be outrageously higher than the average, but shouldn't we want to get the best people for these jobs (instead of them working on aware?), or is the argument that if you work for a nonprofit you should be doing it out of altruism and be glad you receive a salary at all?
by jacobgkau | 2025-04-30 21:37:15+00:00
> In general, it's a behavior that seems to come from the fairly widespread mid-2010s UX theory that it's better to degrade service or even freeze entirely than to show a loading screen of some kind.

> It's the same kind of thought process that led to the YouTube mobile app getting an unskippable splash screen animation last year; to the average person, it feels like the app loads much faster now. It doesn't, of course, it's just firing off the home page requests in the background while the locally available animation plays, but the user sees a thing rather than a blank screen while it loads, which tricks the brain into thinking it's loading faster.

So they decided it's better to show lower-quality content (or not update the screen) than a loading screen, and it's the same school of thought that led to a loading screen being implemented? I agree both examples could be seen as intended to make things "feel" faster, but it seems like two different philosophies towards that.

(Also, I remember when quality changes didn't take effect immediately, but I've been seeing them take effect immediately and discard the buffer for at least the past few years-- at least when going from "Auto" that it always selects for me to the highest-available quality.)
by joshstrange | 2025-04-30 21:38:41+00:00
> LLCs should be using an agent.

Why? Everyone says this but I don’t understand why I need to pay someone to get mail for me.

It makes sense if you incorporated in a different state but I created my LLC in my home state, though the “One Stop Business Portal” (it actually was very easy). Contrast that with when I created a Delaware LLC for a previous startup which cost a couple hundred to get started and 100-200/year in fees.

As for the ipostal1 I’m concerned about the address not looking legit (I don’t know what one of their addresses look like and/or if they will be banned/rejected). On top of that I don’t want to pay $15/mo for the ~10 letters I get a year for my business. See also: checks I need to deposit, not sure how that works.
by vichle | 2025-04-30 21:39:11+00:00
Head, dead, I misread. Not the point.

You do not have a _right_ to kill anybody ever. However, you do have a _right to defend yourself_, within reason. That could in some situations mean that you take actions that kill someone. A judge and/or jury will decide whether it was reasonable. If it wasn't, you broke the law. They did not "take away your right" to kill.

FYI most of the world do not allow you to kill someone to defend your property. That is a very American thing. If someone takes your stuff, you call the police.
by freefrog1234 | 2025-04-30 21:39:16+00:00
This is sort of a white man's burden argument.

From the Russian perspective, the US promised not to expand NATO eastwards in return for allowing German unification. While Russia was weak, NATO ignored the promise, but miscalculated after Russia strengthened.

Ultimately, you need to understand the Russia reasons, and they had been threatening war since 2008 when Bush announced Ukraine could become a NATO member.

If you rely on Western sources to interpreted Eastern motives, you end up with rubbish like "they hate us for our freedoms".
by myaccountonhn | 2025-04-30 21:39:27+00:00
I think you're right, and I hate it. Just look at Gleam as an example where adopting a more C like syntax got them a ton more adoption almost over night.

I love Ocaml (and Haskell-esque) syntax, but I must admit it can be detrimental to getting adopted.

I think another issue was bad tooling for a long time. Now with Dune it's great though, with very fast compile speeds.

Hopefully OCaml slowly gets the recognition it deserves, because it really is a great language.
by parsimo2010 | 2025-04-30 21:40:00+00:00
Obviously the model at the end of the post is a joke, but it implies that after September 2026 there will be negative videos on the screen. What does it even mean to be a negative video? There will be videos, but mirrored? There will be videos but the colors will be reversed? Will they play backwards? Is a negative video where multiple ads overlap each other?
by klooney | 2025-04-30 21:40:19+00:00
If your service is running in AWS, use the native IAM identity loading from ECS, EKS, EC2, etc. If it's your laptop, set AWS_PROFILE and let the SDK load the temporary creds from ~/.aws.

If you really really really need to use static creds on your laptop, use aws-vault to export them, or ephemeral creds generated from them, into your environment.
by ahaushsbsuav | 2025-04-30 21:40:27+00:00
The life expectancy was primarily due to child death. Which, while tragic, doesn’t have much to do with the parents point.

During the mini warming period in medieval England peasants had enough free time that they contributed their labor to building beautiful churches we still see today. Generalizations like “everyone was happy/angry at all times in the past” are not accurate. There were times of both, and we should look to the times that were good to determine what needs to change in our future.

You don’t need to be king to be happy. A meaningful job with a family, friends, and a country you feel connected too is likely enough for most people.
by pixelpoet | 2025-04-30 21:40:54+00:00
The way deviantArt snatched defeat from the jaws of victory by repeatedly messing up everything regarding the large and numerous communities they had, leading to their eventual exodus (such as the fractal art community) is pretty legendary. They literally could just have done nothing (i.e. no harm, for example breaking dAmn) and just ride off into the sunset.

We're you responsible for that, as the Communities director? Because that was basically dA's self-inflicted and unprompted Brexit moment.

Just noticed that my dA account is old enough to drink (in the US)! https://lyc.deviantart.com/
by krapp | 2025-04-30 21:41:07+00:00
Those industries were almost entirely automated years ago.

You aren't going to bring manufacturing back to the US and get jobs on the assembly line like your grandfather had, those jobs simply no longer exist. The few jobs that do exist won't pay enough money for a home with a two-car garage like your grandfather had on the assembly line either, they will pay barely subsistence wages like working in an Amazon warehouse. And American manufactured goods won't be competitive like they were when the US could leverage its industries against a Western world that was still rebuilding after the war. No one is going to want to buy American Ladas, and Americans won't be able to afford them.
by thegrim33 | 2025-04-30 21:41:30+00:00
After hearing so much about Cursor, and then reading your comment, I decided to give it a try. Here's my honest, first ever time trying to use it:

- I go to its website and neither on the homepage nor the features tab does it bother listing what languages the IDE is even for. Is it Python? C? HTML? It's an IDE .. for what? What languages? What project types? How can they not list this basic fact?

- Oh well, click the big Download link, and it downloads an app image file. No idea what to do with this, never seen one before, have to google it.

- Mark the file as executable and run it and get a cryptic error: "The setuid sandbox is not running as root" and it errors out.

- Back to google, google for that error message. Find various Cusor bug reports and people complaining about it but they haven't bothered fixing it.

- Find a workaround, to pass in a –no-sandbox arg when running Cursor, and now I get it to launch.

- It opens up but the text is incredibly small on my (4K) monitor and the text coloring is a dark grey that's almost indistinguishable from the background color, immediately go look for settings to fix it. There's ~50 settings results for "font" or "size", I change a few of them and it seems to make no impact to the UI font and I quickly give up and just want to try the editor.

- I read online that I need a "CMake Tools" extension to open a CMake project. In cursor I open the extensions marketplace and search for "CMake" and there's zero results. I try to open a CMakeLists file anyways and it opens it as a text file and then prompts me to install a "CMake Tools" extension. Ok? Why didn't it show up in the marketplace before?

- I click the popup about the CMake Tools extension it opens the marketplace page for it, showing me the details about it. Whilst I'm reading the details for example to see who the author of the extension is, whether it's even a legit extension or not, the reviews of it, it just automatically installs it by default without me clicking the Install button that was on the page.

- After installing the extension the CMake file I opened is just in a tab but hasn't imported the CMake project, so I close it and re-open it from the File->Open menu.

- It again just opens the file as a plain text file and doesn't actually try to import the CMake project in any way, I don't see any popup or button or call to action to actually import the CMake project in any way.

- I give up and just switch back to my normal IDE
by timewizard | 2025-04-30 21:42:06+00:00
It's been a long time coming. Sentiments like this in the article highlight why:

> “Nobody wins,” he said. “China is America’s factory.”

China is a sovereign country on the other side of the world. Making the entirety of your supply chain dependent on it is madness. And while the article strains to talk about "blue and purple shirts" you should probably be more concerned about where the pharmaceuticals are made.

This article is writing from the perspective of those who are set to lose money on this horrible system of commerce. From my perspective they failed to read the writing on the wall and ran the system into the ground because it was the only way for them to keep their profit margins juiced.

> “We’re not talking about higher prices and companies figuring out ways to pass that on,” Santos said. “We’re talking about actual disruption to the supply chain.”

They say this as if it could only be a bad thing. What happened to the spirit of innovation and commerce in this country?
by smnscu | 2025-04-30 21:42:19+00:00
I use it mostly as smarter autocomplete and it's still absolutely worth it. I really tried having it write unit tests in Go, write simple Astro websites, etc, but I'm never satisfied with how dumb it is when "vibe coding", so I use it as Intellisense on steroids for now, but I don't doubt it will become even better soon. The chat feature is fantastic and between it and the contextual help I barely ever have to reach for actual (code) documentation.