MurphyA/hacker-news huggingface dataset:
by zsoltkacsandi | 2025-05-08 17:24:20+00:00
> Every situation should be evaluated on merits. This came across that there is also an assumption that we didn't try other solutions first - we absolutely did.

I completely agree. But this a little bit contradicts with your original comment that caught my eye:

> In my experience, a good rule of thumb[0] is if there are actual benefits from being a standalone service.

A rule of thumb is, by nature, a generalization — it simplifies decision making through heuristics. Benefits on the other hand always subjective, they can be interpreted in a given context.

And based on my experience, there will always be some benefits that can be used to justify factoring something out into a separate service. The challenge is that it's often easy to overemphasize those benefits, even when they don't outweigh the downsides. Your example with the auth service and the added friction is, in my view, a good illustration of a justification that might sound reasonable but can lead to unnecessary complexity. (Just to be clear, my intent here isn't to judge your decisions - I understand these trade-offs are often nuanced - and that's why again there is no good rule of thumb for this)
by Johnny555 | 2025-05-08 17:24:21+00:00
The USA could bring manufacturing back, but not with tariffs.

They can't tell businesses "Look, we've dramatically increased your cost of doing business, made your products more expensive (which will likely lead to lower sales) and we're forcing you to spend extra capital by paying tariffs on your products... Now all you need to do is come up with billions of dollars to build the factories that build your product and eat the high costs for the 5 - 10 years it will take to build the factories. We don't care if you're a small business that only sells $1M of product a year, if you want to reduce your costs, you need to build the factories."

Of course, the question is whether Americans really want those factory jobs -- do parents aspire to have their children work in a factory assembling iPhones? There's only so many Robot Technician jobs to go around (despite the promise of unlimited high paid technician jobs, for the forseable future there will be plenty of menial factory jobs)
by no_wizard | 2025-05-08 17:24:22+00:00
>If that equals strength why shouldn't we do it too?

Tall order to prove this. Does it actually equal strength? What is strength and does China actually have said strength? None of this is defined.

Additionally, China has economic policies that if the US followed would be very, like the games they play with their currency valuation for example. They also have stringent capital controls, many of their largest businesses are the government has a large slice of the ownership, they subsidize export corporations to a much broader degree etc.

Are you also arguing for those things as well? Because its not simply tariffs that mark the only difference in economic policy between the US and China

The other asinine thing is we implemented tariffs against all countries, without a plan, and without a definitive proven reason as to why. As many economists have pointed out, the trade deficit is very deceiving and does not equate to there being a problem for the US inherently.
by edran | 2025-05-08 17:24:24+00:00
This is a great update! I hope the authors continue publishing new versions of their plots as the community builds up towards facility gain. It's hard to keep track of all the experiments going on around the world, and normalizing all the results into the same plot space (even wrt. just triple product / Lawson criteria) is actually tricky for various reasons and takes dedicated time.

Somewhat relevant, folks here might also be interested in a whitepaper we recently put up on arXiv that describes what we are doing at Pacific Fusion: https://arxiv.org/abs/2504.10680

Section 1 in particular gives some extra high-level context that might be useful to have while reading Sam and Scott's update, and the rest of the paper should also be a good introduction to the various subsystems that make up a high-yield fusion demonstration system (albeit focused on pulser-driven inertial fusion).
by ravenstine | 2025-05-08 17:24:37+00:00
> tbh, i don't really care if "squares/normies" get tattoos or weird piercings (or get them removed)

EDIT: I think I misinterpreted your statement, but I'll leave my response anyway just because. I thought you meant "get" in the sense of understanding them.

I appreciate you saying this offhand for some reason, even though I don't think you were trying to give credit to others.

Naturally, I am both liberal and perhaps libertarian in the sense that I think people have a right to get tattoos and I don't have a problem with people having them.

What has long bugged me though are the numerous people who clearly get body modifications in order to attract validation from others. If one isn't in their unspoken club, they become super defensive and accusatory.

For example, as much as I have no interest in getting tattoos, I will compliment people on their tattoos that I appreciate. When inevitably asked in response why I don't have any tattoos, I tell the other person that I simply have no desire for one. When that answer isn't accepted, I sometimes (mistkenly) admit that I don't like them in general. This triggers a lot of tattoo people, even though my choice of words doesn't actually suggest that I hate all tattoos or their tattoos.

On an even more intense level, it's verboten in my society, as a man, to openly state a preference for women without tattoos. I never bring it up unless prompted, yet I often get so much blowback for this. The word "judgmental" always gets slung my way. It's pretty clear that something else is going on here when people get this defensive over something that is fairly trivial.
by jbellis | 2025-05-08 17:24:39+00:00
Good to see experiences from people rolling out AI code assistance at scale. For me the part that resonates the most is the ambition unlock. Using Brokk to build Brokk (a new kind of code assistant focused on supervising AI rather than autocompletes, https://brokk.ai/) I'm seriously considering writing my own type inference engine for dynamic languages which would have been unthinkable even a year ago. (But for now, Brokk is using Joern with a side helping of tree-sitter.)
by threeducks | 2025-05-08 17:24:43+00:00
The Python API example looks like it has been written by an LLM. You don't need to import json, you don't need to set the content type and it is good practice to use context managers ("with" statement) to release the connection in case of exceptions. Also, you don't gain anything by commenting variables with the name of the variable.

The following sample (probably) does the same thing and is almost half as short. I have not tested it because there is no signup (EDIT: I was mistaken, there actually is a "signup" behind the login link, which is Google or GitHub login, so the naming makes sense. I confused it with a previously more prominent waitlist link.)

import requests # Your Hypermode Workspace API key api_key = "<YOUR_HYP_WKS_KEY>" # Use the Hypermode Model Router API endpoint url = f"https://models.hypermode.host/v1/chat/completions" headers = {"Authorization": f"Bearer {api_key}"} payload = { "model": "meta-llama/llama-4-scout-17b-16e-instruct", "messages": [ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "What is Dgraph?"}, ], "max_tokens": 150, "temperature": 0.7, } # Make the API request with requests.post(url, headers=headers, json=payload) as response: response.raise_for_status() print(response.json()["choices"][0]["message"]["content"])
by nicce | 2025-05-08 17:25:10+00:00
There are democratic countries in Africa, for example, but people in there still seek "better life" by moving to other countries, or other countries abuse these countries, because the have the wealth do so, and on individual level, it is very hard to resist some additional comfort for life if you are below certain level. People look social media and want what others have. It is very difficult problem.

Natural resources also are not distributed equally and e.g. living longer life is a basic human need. What if some other country has the technology to save humans but they don't give it for free? Some start hoarding wealth in order to get that and it changes the political attitude in general.
by mindslight | 2025-05-08 17:25:19+00:00
The current nonsense is the opposite of strength - it is empty bluster, based on ideas two decades out of date, by a "man" who talks like he's had a frontal lobotomy and who can't even sit on a chair properly.

Actually righting the severe damage done to our industrial base would take constructive direction by the government to build it back - once again the complete opposite of what they're actually doing by attacking our still-existing educational/research institutions.

At best high tariff taxes are just closing the barn door long after the horse ran away. But really it's just the same old pattern of the same type of hollow politicians using pent up frustration about the last scam to drive support for their next scam.
by mrguyorama | 2025-05-08 17:25:21+00:00
Because those companies rightly recognize that this administration is following no rules? Like, they were jumping on board for the fascism explicitly, businesses love fascism because it always kills labor rights. All you have to do is stay out of the ire of the dictator and you can do very well.

Like always, the morons who carry water for the fascists think they can "control" them, or radically underestimate the damage a moron with no accountability can do.

Amazon tried to barely show consumers the tariff hurt them, and Trump called Bezos directly, and that plan went away instantly.

Companies are rightly afraid of an administration that demonstrably has nobody stopping them from doing outright criminal and illegal things, and has a rabid fanbase ready to plan bombings of whoever is the target. They know the courts can't protect them. They know the law means nothing right now. They know an entire board can be murdered and the culprits pardoned if Trump feels like it.

Trump's entire shtick is that people who go against him in the Republican party already get primaried. He doesn't even need to ask his supporters, because loyalty is an expected and intrinsic part of the MAGA movement.

This is also assuming that future elections are free and fair, or at least follow previous US rules.
by bhelkey | 2025-05-08 17:25:57+00:00
> Wind has down sides like ...Birds strikes

Many birds die as a result of human activity. In the US, the leading cause of these deaths is cats [1]. Cats cause four times more bird deaths than the next anthropogenic cause of death, flying into windows.

Cats cause ~1000x more bird deaths than collisions with wind turbines.

[1] https://www.statista.com/chart/15195/wind-turbines-are-not-k...
by kragen | 2025-05-08 17:26:42+00:00
The Efficient Market Hypothesis is that securities prices represent the best available information in the market, because if they didn't, smart investors would take advantage of the unincorporated information to make money by buying the underpriced securities and/or selling the overpriced ones.

Index fund investors do not do that; they just buy the securities that are listed in the index, which are selected typically because they have large market capitalization or are old, not because they are underpriced. So, to whatever extent the market conforms to the Efficient Market Hypothesis, it's not doing so because of the index fund investors.
by 01HNNWZ0MV43FF | 2025-05-08 17:26:43+00:00
I think the plan is to consolidate power at any cost. If people are too broke and scared to resist, it's a win for them. The claims that tariffs will help the economy or kidnapping citizens and judges will protect national security, is just a nonsense excuse.

I think this because the right wing think tanks published that Project 2025 plan and it's clearly being followed even though Trump lied and said he wasn't aware of it
by addisonj | 2025-05-08 17:26:54+00:00
I hope this is more common knowledge these days... but this is good framing and makes really clear the costs.

What this article doesn't cover... and where a good chunk of my career has been, is when companies are driven to break out into services, which might be due to scale, team size, or becoming a multi-product company. Whatever the reason, it can kill velocity during the transition. In my experience, if this is being done to support becoming multi-product, this loss in velocity comes at the worst time and can sink even very component teams.

As an industry, the gap between what makes sense for startups and what makes sense for scale can be a huge chasm. To be clear, I don't think it means you should invest in micro-services on the off-chance you need to hit scale (which I think is where many convince themselves of) nor does it mean that you should always head to microservices even when you hit those forcing functions (scaling monoliths is possible!)

That said, modularity, flexibility, and easy evolution are super important as companies grow and I do really think the next generation of tools and platforms will be benefit to better suiting themselves to evolution and flexibility than they do today. One idea I have thought for some time is platforms that "feel" like a monolith, but are 1) more concrete in building firmer interfaces between subsystems and 2) have flexibility in how calls happen between these interfaces (imagine being able to run a subsystem embedded or transparently to move calls over an RPC interface). Certainly that is "possible" with well structured code in platforms today... but it isn't always natural.

I am not sure the answer, but I really hope the next 10 years of my career has less massive chasms crossed via huge multi-year painful efforts and more cautious, careful evolution enabled by well considered tool and platforms.
by ToucanLoucan | 2025-05-08 17:27:08+00:00
But we have every reason to believe China will continue working for us because China benefits from that work. And insofar as the U.S. and China are adversaries at all seems to be purely culture war nonsense. China is not setting out to destroy the United States, they're setting out to sell the United States shit and we are setting out to buy it. The only reason there is even contention in this at all is that many pundits and analysts see the collapse of the American manufacturing sector as somehow the devious plans of a foreign adversary, and not the result of American business people seeking cheaper labor that works more efficiently overseas.

If we assume China is an adversary, then I would say it logically follows that the vast majority of American executives are in fact collaborating with the enemy, because they played critical roles in getting China to where it is today.
by slg | 2025-05-08 17:27:14+00:00
>Modern democracy mostly just doesn't seem to work how it ought.

It is funny to say this as if every other modern democracy hasn't solved the specific problem that you have given. The issue isn't democracy, it is the American democracy (or republic if you want to be pedantic).

Specifically, the combination of our expansive freedom of speech protections (which make campaign financing restrictions near impossible) and first past the post voting system make it easy for corporations and the rich to shape the government however they want.
by faresahmed | 2025-05-08 17:27:19+00:00
Same here, the title even says "TypeScript" not "Typescript" but whatever.

I think what's somehow interesting about this is in the footer of the page:

Autonomously crafted in 15m 4s by Leap.new

Could be some form of advertisement (with a click-baity title too? wouldn't be surprised if that also was AI-generated).
by bgirard | 2025-05-08 17:27:31+00:00
> People will buy it if it's a necessary item.

What do you call necessary? What about non-necessary items? What about IP that improves manufacturing efficiency by 5% in some process? Better battery tech? Better UI? Better chips? Better sensors? In some cases the answer is yes, in some cases the answer is no. If the answer is yes then the US pays 125% more for that item, if the answer is no then the US has worse efficiency, worse prices, worse technologies.

You talk in absolute which makes me feel like you're missing all the nuances at play.
by johnfn | 2025-05-08 17:27:38+00:00
This is very cool and I'm always happy to see more competition in this space. That said, two suggestions:

- The logo looks like it was inspired directly from the Cursor logo and modified slightly. I would suggest changing it.

- It might be wise to brand yourself as your own thing, not just an "open source Cursor". I tend to have the expectation that "open source [X]" projects are worse than "[X]". Probably unfair, I know.
by levocardia | 2025-05-08 17:27:50+00:00
Non-constant variance does not actually bias the coefficients of a linear regression model -- thus, its predictions will be just fine. What it does is underestimate the standard errors; your p-values will typically be too small. Sometimes a log-transform or similar can help, but otherwise you can use weighted least-squares.

This kind of problem is actually a good intro to iterative refitting methods for regression models: How do you know what the weights should be? Well, you fit the initial model with no weights, get its residuals, use those to fit another model, rinse and repeat until convergence. A good learning experience and easy to hand-code.
by scoofy | 2025-05-08 17:27:53+00:00
I actually moved a bunch of money around after the recovery from April 2nd. I just sat their thinking... wow, short term bonds have a really decent interest rate, and I don't think people are taking seriously the fact that the markets can actually fall apart because business is an incredibly complex, multi-variate process, and right now where just throwing wrenches into the gears for funsies.

I'm not even completely anti-tariff. I just think the way we're going about doing these tariffs is pretty much the opposite way anyone who was trying to bring manufacturing back to the US would do them. Low, clear ratcheting up tariffs are tariffs that allow businesses time to change their strategy without disrupting their income streams. Instead, we're going to bankrupt basically anyone who isn't already a multi-national.

Maybe I'm an idiot and I'm missing something clear, but to me, the reason why the S&P500 and passive investing have been so successful since basically the 1940's is simply that we have had competent, technocratic administrations for the last hundred years. Other countries' markets have not fared so "efficiently."

Again, maybe I'm missing something, but I'm looking at this much more defensively than I did under the first administration. The one thing I can't figure out is the dollar. My brother is obsessed with the "dollar milkshake" theory, whereas it seems clear that we are messing with reserve status and are trying to intentionally weaken the dollar... I just don't know. It doesn't really make much sense what we're doing, and I haven't found anyone who can make an argument that makes sense to me.
by yencabulator | 2025-05-08 17:28:41+00:00
Assumptions about how users will interact with your UX always end up badly.

I saw the "big grid" and was curious, so I hovered on the icons, moving along a line, just to get an idea of what the thing does. Doing that, I kept accidentally moving the mouse pointer off-axis so it went into the popup, and was "stuck" there, until I dragged it outside the popup again, and promptly lost track of what I had already glanced at.
by soulofmischief | 2025-05-08 17:28:55+00:00
I brought it to production and had to fork some packages due to incomplete APIs, and there was a lot of glue code and writing custom components because the existing ones didn't meet my needs. It looks great but in the end it took more of a backseat than I'd have wished. But under the hood, the architecture of the current major version is great. Clean, modern best practices, especially regarding styling.
by blargey | 2025-05-08 17:29:54+00:00
A single cent? I think you vastly underestimate how little a dollar does in the US, and how much it does outside.

Moreover, insisting on going all-in on medical research before doing any immediate lifesaving sounds to me like a gross perversion of what should be, in its most simple case, an urging to make sure your kids are clothed and fed before donating to the food bank. Surely ordo does not make it unvirtuous to save a drowning foreigner even if your kids would miss a meal for it.

I’m under the impression that Aquinas says outright that it makes sense to make exceptions to the general ordering to aid those in grave need that are “low” in the order, and stuff like mosquito nets are a prototypical example of this imo. Lives saved, families preserved, terribly unjust suffering averted, etc for literal pennies on the dollar.
by johnfn | 2025-05-08 17:30:14+00:00
As an (ex) VSCode extension developer, VSCode really does lock down what you can do as an extension. It's well intentioned and likely led to the success of VSCode, but it's not great if you want to build entirely new UI interactions. For instance, something like the cmd-k inline generation UI in Cursor is basically impossible as a VSCode extension.
by molszanski | 2025-05-08 17:30:28+00:00
This kill US based vendors and stores. Everyone will move to a JIT model. Shipping to US only after you buy a product.

I expect Mexico and Canadian warehouses will have a lot of business. Stocking a warehouse in USA would be insanely risky because of this upfront cost.

This will kill smaller and medium sized businesses and concentrate capital. Corporations with deep pockets must be elated. This kills their mid sized competitors.
by chrchr | 2025-05-08 17:30:29+00:00
Had the Democratic Party's nomination won the election the worst outcomes of the second Trump presidency would have been prevented. You can blame the campaign and the primary voters and the party or whatever, but ultimately the general election voters could have chosen a normal politician who would have at least been a competent, law-abiding administrator and instead voters chose this. The two party system and the lack of ranked-choice voting are no excuse.
by DrSiemer | 2025-05-08 17:30:57+00:00
I think articles like this don't garner a lot of attention, because why would anybody even bother to engage? If you don't see this unstoppable steam train for what it is, well, enjoy your screaming in the void.

We can all agree the current generation of AI lacks humanity, but we are not going to stop using it because of that. Would be nice if we can get the energy cost down though.
by s1artibartfast | 2025-05-08 17:31:26+00:00
I dont think it is that easy to define "unjustified denials". People might agree on a vibe, but not detail. What would a bill look like?

Regarding the party and representational system, I agree there is a lot of dysfunction. Same problem. Nobody can agree on alternatives. Even ranked choice, which I think is the tiniest step in the right direction is highly controversial. Ideas like expanding the house to 30,000 representatives [1], seem like a fantasy.

People hate change more than the status quo.

Regarding the media environment, the consumer is the problem. As long as people prefer and seek out garbage, there is no possible solution.

[1] https://thirty-thousand.org/