MurphyA/hacker-news huggingface dataset:
by grogers | 2025-07-24 22:59:18+00:00
Also, you can't construct a java String without copying the data into it, because String is immutable. In other languages like c++ or rust the string type is mutable so you don't need an extra copy. Java doesn't even special case blessed APIs like StringBuilder to avoid the extra copy, since StringBuilder itself doesn't have a method to consume the inner buffer, you can only create a string from it without touching the buffer even though it's not the normal usage to create multiple strings from a given StringBuilder.
by contextfree | 2025-07-24 22:59:38+00:00
That's definitely an issue and I've gotten burnt by similar problems when using AI to help navigate and find things in codebases, where I've used it to read and understand code for me, with seemingly miraculous results at first, but ended up wishing I'd read more code "manually" myself, as my shallow understanding led to wasting more time on net than I saved. I still feel like it should be possible to find some kind of a balance, but it's tricky.
by beagle3 | 2025-07-24 23:00:07+00:00
Well, yes. It’s the same kind of issue. AFAIK, these things are decided opaquely and do not follow any formal rules - which would make them ripe for abuse.

The GGP seemed to be ridiculing “those gamers who think their ping is more inportant”, but there is no way for a person to tell if the network limits, or road blocks for that matter, are reasonable or an instance of corruption.
by coef2 | 2025-07-24 23:00:26+00:00
> To add: Reading is also thinking (ideally).

I've heard that some philosophers like Schopenhauer argue that reading can become a passive process, where we simply follow another person's thoughts without engaging our own critical thinking. It's interesting to consider that it's not just LLMs but we too would become like stochastic parrots under certain circumstances.
by dimitri-vs | 2025-07-24 23:00:42+00:00
I don't think so, look at how Sora changed every... Well Operator was a game changer for.. Hmm, but what about gpt-4.5 or PhD level o3... o3-pro...? I mean, the 10k/mon agents are definitely coming... any day now...

Anyway, I'm sure gpt-5 will be AGI.
by zxcvbn4038 | 2025-07-24 23:00:50+00:00
I recently bought a SIG P320, and a week later, I started reading articles about it self discharging. =P It’s not like it happens all the time, but it seems that if the safety lever spring’s thickness is off by a thousandth of an inch, and the height of the post it fits on is also off by a thousandth of an inch, and you drop the pistol at just the right angle with enough force, the FBI reportedly got it to discharge once during testing—though officially, the results are inconclusive. Now, some law enforcement agencies are quietly replacing the P320 with the Glock 19. Personally, I’m keeping mine because it’s a great gun, and I love that 21-round magazine. However, I sent in my warranty card in case there’s a recall or something similar.
by MyOutfitIsVague | 2025-07-24 23:01:03+00:00
Very many of us are quite critical of all authoritarianism, and don't feel like we've been represented by any presidential administration for our entire lives. Centrist liberalism isn't flashy or popular, though, and it doesn't spawn many angry rallying cries or outrage that goes viral, so you'd think that we don't exist.

The current flavor of authoritarianism is quite bad, though, and does distastefully wear its hypocrisy on its sleeves.
by usefulcat | 2025-07-24 23:01:23+00:00
30 years ago in the US, there were a handful of major TV news outlets, and most people got their news from one of those and/or a newspaper, of which there were also a limited number.

The thing about those sources is that for the most part, it wasn't really economically viable to alienate half the population by leaning hard right or left. Any reduction in audience would likely translate to a commensurate reduction in advertising revenue.

Today, there are many, many sources of 'news' available in various forms around the internet, and of course people are free to choose what to pay attention to. This means it's entirely feasible for each source to cater to a particular viewpoint, even at the expense of definitely alienating half or more of the theoretical potential audience.

I theorize that the reason for this is that people have voted with their feet, balanced sources aren't as profitable and that's why there are fewer of them. It makes sense, a more balanced take on events is by definition not nearly as sensational, and almost always requires more mental effort on the part of the listener.

That by itself would probably be enough to explain the current situation, but on top of that, we also have the fact that many people receive the above mentioned information via algorithms designed to feed them more of what they already like (i.e. agree with) and nothing else, which of course only amplifies the effect further.

I have no idea how we get out of this situation (or if in fact we will), but in my mind it's not surprising at all.
by cubefox | 2025-07-24 23:01:33+00:00
For those who don't know: Intel lost its technological leadership in chip production to TSMC years ago, which means their chips are no longer competitive and have to be sold at a much lower profit margin or even use chips that are produced by TSMC, which leaves Intel little money to develop and build their chip fabs.

If they can't catch up, which seems somewhat likely at this point, they will have to sell their fab business (if anyone wants it) and focus on just designing CPUs, similar to AMD.
by ZeroCool2u | 2025-07-24 23:01:33+00:00
Agreed, the value is nonsense.

This is what we use: https://domino.ai/ The marketing is a bit intense on the website, but the docs are pretty good: https://docs.dominodatalab.com/en/cloud/user_guide/71a047/wh...

They definitely target large scale companies, but you can use their SaaS offering and it can be relatively affordable. The best part is the flexibility and scaling, but the license model is awesome too. There's no usage based billing, you just pay a flat license fee per user that writes code and for the underlying cloud costs and they'll deploy it on GCP, AWS, or Azure.

They're used by a lot of large companies, but academia as well to replace or augment on-prem HPC clusters. That's what we used them for as well.
by jngiam1 | 2025-07-24 23:01:42+00:00
I find the state of MCPs with OpenAI quite confusing:

- As an end-user, you can connect MCPs only with `search` and `fetch` that only work in deep research mode.

- As a developer, you can use MCP with the API and that supports the full set of MCP tools - all tools become available; this shows in the dev playground.

- For Custom GPTs, they support any action, but not MCPs. So if you had a layer to translate MCP to their API spec, it will work. But Custom GPTs with actions only support models 4o and 4.1; so you don't get the benefit of the o-series of models.

Figuring out what works when is harder than it needs to be.
by ac29 | 2025-07-24 23:02:08+00:00
> Intel headcount in 2022 was 131,900.

Not sure if you intentionally picked the all time high headcount, but you did.

Intel's headcount was relatively stable between 100-110k people between 2014 and 2021 [0]. So, getting down to 75k is definitely still a major reduction, but 2022 was also an outlier. A lot of companies overhired during Covid, and Intel particularly was the beneficiary of WFH pulling in a lot of corporate spending on laptops etc.

[0] https://morethanmoore.substack.com/p/intel-2025-q1-financial...
by DoctorOetker | 2025-07-24 23:02:24+00:00
pruning and distilling are 2 totally different things.

pruning: discarding low weight connections after training, makes the network sparser but also less regular (complications for memory layout, and compute kernels to access the sparse network weights).

distilling: take a large pretrained model, and train a smaller one from it, for example consider a cloze task (fill the blanked token in a sentence), then compute the probabilities using the large model, and train the smaller model to reproduce the same probabilities

distilling is a form of fitting into a smaller regular network, of potentially totally different architecture, while pruning is a form of discarding low weight coefficients resulting in a sparser network.
by chasil | 2025-07-24 23:02:30+00:00
Transact-SQL, as Sybase originally named it, is not standardized.

As far as I know, the only implementation outside of Sybase and Microsoft is Amazon's Babelfish.

https://aws.amazon.com/rds/aurora/babelfish/

It goes without saying that SQL/PSM is far more pervasive on many more platforms, precisely because it is an ANSI standard.
by kristofferR | 2025-07-24 23:02:40+00:00
Not a total duopoly, almost all cards in Norway are dual network - the local network BankAxept + Visa/Mastercard, the cheapest option (BankAxept) is selected invisibly for the users when possible while the cards still works flawlessly all places that only accept Visa/Mastercard globally.

Big businesses only pay 0.0475% + ~0.003 USD per transaction for BankAxept: https://bankaxept.no/hjelp/priser-for-bankaxept

8/10 card transactions in Norway are BankAxept. I think many other countries have similar solutions, and if not they should implement them. It won't end the duopoly, but it does decrease the consequences.
by ryao | 2025-07-24 23:03:07+00:00
There were lawsuits against Intel for IP theft in the news 25+ years ago. It is hard to find articles on them these days as web searches are biased toward recent events, but I was able to find this:

https://www.nytimes.com/1997/05/14/business/suit-by-digital-...

There were much more discussion of Intel stealing things in the 90s than today.
by mywittyname | 2025-07-24 23:03:11+00:00
People take this "every second counts" idea as though it's axiomatic.

I've been in my fair share of sus situations in my life and they've been either telegraphed (people starting with yelling, then intimidation, then getting into personal space) or ambiguous. I was recently at a block party with a loud DJ, and some guys fired several rounds and it took minutes to figure out what was going on. Even the first responders were amazingly sluggish in their response.

Hell, I had a guy sneak up behind me while I was parked in my car, bang on my window and tried to start shit with me. I had enough time to shoot off a text to my wife to stay put while defusing him.

So I personally think people with good situational awareness have plenty of time to act appropriately in a variety of common dangerous situations.
by kevmo | 2025-07-24 23:04:06+00:00
It's not about fads. It's just collusion.

American markets have largely consolidated into oligopolies, where just a handful of very large companies operate. It's extremely easy for them to wink at each other and then raise prices/layoff workers, etc.

This is also being accelerated by the unregulated software market that lets the corporations hide behind algorithms, as we recently saw with realty. https://www.npr.org/2024/08/23/nx-s1-5087586/realpage-rent-l...

The end of ZIRP was the bat signal to corporate America to begin layoffs.
by WorldPeas | 2025-07-24 23:04:25+00:00
exactly. It doesn't help that homeless individuals are usually disproportionately suffering from mental illness. In a more industrial economy they would fit the basic requirements for industrial production jobs, not saying that they are fulfilling, but now that the economy is centered around knowledge/service work, their disenfranchisement has increased greatly the bandwidth of the school to prison pipeline and schemes like this.

They have no reason to respect the American social contract because so far it's gotten them nothing, and in many cases like this, they are entirely unfamiliar with the stakes of the game as they stand now, as they are more concerned with the basic realities of their next meal and warmth. Her great move from the midwest(well I guess that used to be the west right) to the southwest indicates that not only was she likely adrift as many people are now, but open to anything that would keep her normed to the people she saw on her screens.
by GuB-42 | 2025-07-24 23:04:27+00:00
It is complicated, and culture and legal systems will have to adapt.

But you can have it both way. Often, a distinction between fair and unfair is if are competing against the authors directly.

Take Ghibli memes for instance. While obviously the result of training on studio Ghibli content without permission, it doesn't compete against Studio Ghibli directly. Studio Ghibli doesn't draw memes and ChatGPT doesn't make feature films or copy official artwork, I don't think Studio Ghibli lost anything to the meme, they are not in the same business. So it could be considered fair use.

Training a LLM on data from a law firm to make a search engine directly competing against the search engine of said law firm is not fair use, and there is a legal precedent (Thomson Reuters vs Ross). Training your model from another model to compete against them would be the same kind of thing.

There are plenty of nuance, like how transformative it is. But it is possible that extracting massive amount of data is fair use but distillation is not. There are plenty of people at work on the question right now.
by tehjoker | 2025-07-24 23:05:04+00:00
Just wait until you realize that the reason we have “national security” is because they are protecting a system that impoverishes americans and the world. North Korea is targeted because it is a socialist counter example. That’s a crime and it must be slandered.

This is why this line of argumentation is at once true and will never be persuasive: the poverty is the point of our economic system. That’s what they’re protecting. If Americans were all relatively equal, the economic royalists would have no throne to sit on.
by procaryote | 2025-07-24 23:05:12+00:00
I do

if ! which pbcopy &> /dev/null; then alias pbcopy="xclip -selection clipboard" alias pbpaste="xclip -o -selection clipboard" fi

The `if` bit is so it only adds the alias if there isn't a `pbcopy`, so I can use the same dotfile on mac and linux
by JumpCrisscross | 2025-07-24 23:05:31+00:00
> if you did, you'd've just screwed yourself

This is nonsense. China's peak of influence over America has passed, due in part to some of that past heavyhandedness.

If you're in a job that's exposed to China, sure, you should be careful. Same way if you're in a job that's exposed to a prominent individual, you probably shouldn't shit talk them in public.
by anoek | 2025-07-24 23:05:49+00:00
This kind of thing is exactly why I built https://github.com/anoek/sandbox . Even non malicious agents do things they shouldn't do, I've caught them removing home directory configs and installing system packages, but it doesn't matter to me anymore because they are free to do those things to see if it solves their problem, but it doesn't affect the host machine layer.
by TMWNN | 2025-07-24 23:06:48+00:00
>Is there information on EU vs US credit limits?

I would be very interested in this as well.

My understanding is that cashback cards of the type we have everywhere in the US (e.g. Amazon Amex = 5% back on Amazon purchases, Wells Fargo Active Cash = 2% back on everything) don't exist elsewhere.

Another example: I just earned $1000 from Chase Sapphire as a new customer bonus for diverting $5K of the spending I would do elsewhere on that card over three months.
by antonymoose | 2025-07-24 23:06:49+00:00
I did a startup circa 2010, early number employee, given our (failed) attempt and my equity I would have conservatively walked away with a $500k sum had the Founders’ plans worked. That would have bought me a fine house in the nicest part of town with cash to spare.

Having done two more, the best outcome I’ve seen is a 50k post tax payoff for 5 years of shitty startup conditions. Great, I got a down payment on a house now worth 800k.

So that reason the best play, if you’re not a founder doings cash out early, is to just play it safe in a big job and dock money away in equities and real estate.
by dayjah | 2025-07-24 23:07:05+00:00
For counter argument sake, if a highly regarded company says: “we’re going in a hiring spree”, all of that available talent adds 50% to their comp ask.

Broadly speaking though, I think you’re experiencing confirmation bias to some degree. If you only look at companies that are on the struggle bus, then you only see a limited number of levers that management has (RIF, delay CapEx, etc). Other struggling companies that don’t take evasive maneuvers go out of business and we don’t hear the story.
by jmcphers | 2025-07-24 23:07:10+00:00
Positron inherits many ideas from RStudio, but is a separate project with an intentionally different set of tradeoffs; it gains multi-language/multi-session support, better configuration/extensibility, etc. but at the expense of RStudio's simplicity and support for many R-only workflows.

We're still investing in RStudio and while the products have some overlap there's no attempt to convert people from one to the other.

(I work at Posit on both of these products)
by thimabi | 2025-07-24 23:07:17+00:00
I got in this thread with the expectation of seeing a comment like yours, so thank you for that.

I think what worries the U.S. more is the likelihood of Pix spreading around the world. It’s such a great public program that I believe many countries will eventually adopt it, or adopt some version of it. In fact, AFAIK some places already have it, like Thailand and Malaysia.

Consumers like it because it is widely available and free, companies like it doubly so, and even governments like it because it helps to combat tax evasion and fraud.

Right now, the only thing that makes credit cards a better proposition is being able to pay without having enough money in the bank, and maybe enjoying greater protection from fraudulent merchants. But I believe even that will change in the future, to the benefit of Pix-like systems.
by stillpointlab | 2025-07-24 23:07:36+00:00
I've used the approach described for uuids on a project and I liked it. We were using typescript so we went further using template literal types [1]

type UserId = `user:${uuid}`; type OrgId = `org:${uuid}`;

This had the benefit that we could add validation (basic begins with kind of logic) and it was obvious upon visual inspection (e.g. in logs/debugging).

1. https://www.typescriptlang.org/docs/handbook/2/template-lite...
by WorldPeas | 2025-07-24 23:08:18+00:00
It was this job that did it. If you watch her tiktoks she's almost bewildered that she is employed. It was beyond her comprehension what she did.

>Christina Chapman: I'm classified as homeless in Minnesota. I live in a travel trailer. I don't have running water. I don't have a working bathroom, and now I don't have heat.

>Annie Minoff: But Chapman's situation was about to turn around. In fact, the answer to her financial troubles had arrived just a few months before she posted that video in the form of a social media message.

>Robert McMillan: The message comes via LinkedIn. And it says, we're a foreign company looking for a US representative. That's really all we know about the message.
by supportengineer | 2025-07-24 23:08:19+00:00
This is what I wonder about Elon Musk. In retrospect, of course humans could build sexy electric cars, reusable rocket boosters, and ubiquitous satellite data services. But humans, or perhaps more accurately, corporations and governments, DID NOT do those things.

It takes an overwhelmingly powerful personality to get anything done, despite the fact there are billions of capable people on this planet.
by DevX101 | 2025-07-24 23:08:24+00:00
0.2% should be about the correct rate. WeChat in China has zero transaction fee in the system and a 0.1% fee on withdrawals. Visa/MasterCard amounts to a private tax on the economy. Unfortunately I don't see this changing anytime soon, since the US allows rent-seeking middlemen like Visa/MC, TurboTax, and PBMs (pharmacy drugs), to continue their operation as long as they keep funding the right politicians.
by crote | 2025-07-24 23:08:49+00:00
Two issues there.

First, high-end chips have essentially a single global market. Compared to the value of the product, transport cost is negligible. If a TSMC Taiwan factory has an oopsie, all its customers are going to be buying from your local US plant - so you are still ending up having to deal with the effects of a significantly higher demand. AMD unable to ship? Expect Intel to go out of stock rather quickly as well.

Second, the chip manufacturing supply chain. Having a local chip factory is nice and all, but where is that factory getting its supplies and equipment from? Most of it does not come from the US, so during another COVID your local chip factory might still be forced to shut down. This also applies downstream: what use is a fancy high-end CPU if you can't find anyone locally to produce all the trivial parts you need to support it? Who is going to manufacture those trivial-yet-essential $0.05 connectors and $0.001 capacitors or resistors? That has all been outsourced to Asia decades ago.

A single US plant isn't going to do anything for your supply chain robustness. You're going to have to rethink the entire chain and each step is going to be 20% more expensive, so better prepare for a doubling or tripling of the final product price.

Local factories are nice for the defense industry, where the confidentiality needs due to national security might warrant the premium. But regular consumer chips? You'll be paying a huge premium just so a politician can get a couple of favorable headlines, often without there actually being a significant impact to the local economy.
by ipv6ipv4 | 2025-07-24 23:09:11+00:00
> Lots of informative comments in the thread about how carrying with a chambered round reduces the time and complexity to getting a shot off.

This information should be kept in mind whenever anyone, especially a gun advocate, expresses dismay at the frequency of police shootings in America. America is so awash in guns, and people willing to use them, that for the average cop it is better to shoot first and ask questions later than to risk returning home in a body bag. We’ve just been informed that in threatening situations there is no time to chamber a round, but cops are simultaneously supposed to take the time to evaluate the threat to their safety.
by specproc | 2025-07-24 23:09:37+00:00
There just comes a point where they make sense. The article uses some very minimal examples, but the point at which I find myself reaching for classes is the point at which it's gotten complex enough to need them.

I find them useful when my code has become a big, sprawling mess of functions throwing dicts around, and I'm losing track of what the structure should be.

They're useful when they make sense. I can't think of many projects I've started off with them, but they've helped me straighten a few out.

Neither love them nor hate them, and struggle to see why folks get animated about them. They're a useful tool, sometimes.
by jimbo808 | 2025-07-24 23:09:53+00:00
I can't speak for the why or the what, but here's the how: they laid off 9,000 emplyoees from their Redding location, first claiming it was due to AI, then claiming it was due to flattening "management structure," (despite only 17% of the layoffs being managers), while putting in 14,000 H1B applications for roles at the same location, averaging 80% of the salaries as the displaced.

Microsoft is happily displacing Americans for cheap labor they can pay less. That's the how of Microsoft.