MurphyA/hacker-news huggingface dataset:
by somenameforme | 2025-07-21 04:27:43+00:00
China themselves are doing a much better job on this front than some random lawsuit would. For instance the baby milk scandal from China [1] was globally publicized largely because it led to the death of 6 infants. China's prosecution of the company included complete dissolution of the company, 3 death penalties for the heads of the company, life imprisonment for middle men, and even prison terms for some wives who were not even involved in the business. Compare this against what happened to Bayer who knowingly sold HIV infected blood products, infecting tens of thousands with HIV and subsequently AIDS. [2]

There's a reason the "shocking" examples they give in this article are now things like "kids’ shorts with drawstrings longer than regulation length, which cause a trip hazard." China is an export economy and takes this stuff pretty seriously, which is why I also think articles like this are mostly about manufacturing consent for future actions. We gotta get ready for the next war - Ukraine and Israel are getting so boring!

[1] - https://en.wikipedia.org/wiki/2008_Chinese_milk_scandal

[2] - https://en.wikipedia.org/wiki/Contaminated_haemophilia_blood...
by Implicated | 2025-07-21 04:28:32+00:00
> agents / IDEs like windsurf, copilot, cursor etc where there is more complexity between you and the frontier LLM and various tricks to minimize token use.

This is exactly why he's doing it the way he is and why what he describes is still the most effective, albeit labor intensive, way to work on hard/complex/difficult problems with LLMs.

Those tricks are for saving money. They don't make the LLM better at its task. They just make it so the LLM will do what you could/should be doing. We're using agents because we're lazy or don't have time or attention to devote, or the problems are trivial enough to solved with these "tricks" and added complexities. But, if you're trying to solve something complex or don't want to have a bunch of back and forth with the LLM or don't want to watch it iterate and do some dumb stuff... curate that context. Actually put thought and time into what you provide the LLM, both in context and in prompt - you may find that what you get is a completely different product.

Or, if you're just having it build views and buttons - keep vibing.
by eimrine | 2025-07-21 04:28:50+00:00
I crave that thing what am I reading. For example, I have a political/philosophical point of view and the more books I read the more broad my PoV becomes.

And man, psychology and business are not a nonfiction. If you are reading some fiction don't complain you don't remember anything - this forgetting is called a decent brainwork.
by edg5000 | 2025-07-21 04:29:20+00:00
Maybe it's not the "expert", but "software engineer" part that works? Essentially it's given a role. This constrains it a bit; e.g. it's not going to question the overall plan. Maybe this helps it take a subordinate position rather than an advisor or teacher. Which may help when there is a clear objective with clear boundaries laid out? Anyway, I will try myself and simply observe it if makes a difference.
by barbazoo | 2025-07-21 04:29:20+00:00
As a developer to me these coding/productivity agents are akin to the invention of the spreadsheets. All of a sudden I can do so many things I couldn’t before. I’m genuinely trying to understand why anyone in the profession wouldn’t be all over a powerful tool like that which in one way or another can benefit one’s productivity. It’s a tool. Do something with it. Everyone’s experience is different though, I’m sure I’m missing something.
by gnramires | 2025-07-21 04:29:47+00:00
I confess I have failed multiple times to build simple web pages (like a blog and homepage, admittedly after not too much effort), while I've made multiple fairly complex javascript animations using canvas and p5.js library. And I've made a few websites as a kid! (I'm not sure using free WYSIWYG or HTML directly).

So appreciate a lot new developments in the really-easy-to-use open source and text tools that also enable more involved use case!

Admittedly I also have not tried to learn React or other frameworks (most times I got stuck on backend basics).

It would be awesome if (almost) anyone could easily type out a website using simple and open source tools (specially with a little more involved functionality than just static content, or more free looks), and it just worked (with minimal coding required for the backend -- that's what's great about plain html imo, it's just a few files that contain your whole website). I mean, meanwhile it's great that something like hosted blogs exist of course.
by TheDong | 2025-07-21 04:30:58+00:00
My reading of that is "The unix way is that software should be simple and elegant. The unix way is also that software should work, even if that means pragmatically eschewing elegance and simplicity. You must find a balance between these two things".

The last abstract-sounding bit, "When the eagle flies, does it forget that its feet have touched the ground? When the tiger lands upon its prey, does it forget its moment in the air?", I take as meaning:

"The air is beautiful and pure, free of pragmatic reality and time constraints and so on. The ground is the pragmatic reality. You must keep both in mind, and write beautiful code at times, and also sometimes write awful code to deal with reality at times".
by presentation | 2025-07-21 04:31:35+00:00
I can also pull out numbers and statistics that make it sound like the US is more litigous than other nations, like how it spends way more than any country as a fraction of GDP on litigation [1] as well as how litigation is used frivolously to prevent projects by weaponizing environmental regulation like NEPA and CEQA, to prevent the construction of practically anything in the USA.

But all that aside, taking that Harvard law article at face value, there are specifically mishandled types of suits, and those include those that are intended to inflict cost on payments processors to get them to reject customers that otherwise aren't doing anything illegal, but just operate in an industry that those suing don't like.

[1] https://instituteforlegalreform.com/wp-content/uploads/media...
by slashitapp | 2025-07-21 04:32:32+00:00
With Slashit’s Dynamic Templates, one slash brings up your go-to follow-up messages.

You just adjust the details and send it. It’s perfect for quick replies, professional updates, and lead follow-ups.

Templates are editable, smart, and personal — not robotic.

If you're working with clients, this feature alone can save you hours every week.
Show HN: Chip-8 emulator in WebAssembly (JS –> WASM)
by kbatdorf | 2025-07-21 04:32:36+00:00
I've been learning more about WebAssembly and a bucket list project I've always wanted to complete was to write an emulator. I chose the chip-8 vm as it's popular as a stepping stone project and pretty straight-forward. Only the display opcodes really gave me some trouble, specific to clipping/wrapping and tracking collisions.

The demo includes some test roms as well as some roms from various octojams. The source is on GitHub.

https://github.com/KevinBatdorf/chip8-wasm

I orchestrated the project with TypeScript as I'm used to it and prefer the DX there, I created wrapper functions around the wasm op codes designed in a way similar to how you would write WebAssembly in wat format. So technically it's generated bytecode.
by karlgkk | 2025-07-21 04:32:54+00:00
I am not two years out of date. Everything you said aligns with my assessment. Their 5nm yields are horrendous.

I guess my mistake was assuming they would ship it considering how rough it is financially, but they probably will for bragging rights.

> You could buy phones with SMIC 7nm chips as early as mid 2024, that means yields were good enough around mid 2023.

That was a halo product

> The impressive part is that this is catching up with ASML+TSMC combined.

Without euv, they are mining diminishing returns.

> There's no other company or government in the world that has achieved this vertical in the last few decades.

No, they had the advantage of copying and learning from decades of industry experience.

Don’t get me wrong, it’s impressive, but expecting Chinese leadership in this space by 2030 is foolish.

Of course, I’m never going to rule out anyone’s long term success, but there is no indication they’re in any position of leadership.
by xmprt | 2025-07-21 04:33:02+00:00
I think this is the big roadblock that I don't see the current AI models/architectures getting past. Normally, intelligence gets smarter over time as it learns from its mistakes. However most AI models come in with tons of knowledge but start to decompose after a while which makes them extremely unreliable on complex tasks. The hardest part of using them is that you don't know when they'll break down so they might work perfectly up till a point and then fail spectacularly immediately past that.
by edg5000 | 2025-07-21 04:33:37+00:00
With 7 hour tasks it might become worthwhile to invest in a RAM-based local solution with DeepSeek Coder? I've heard that you can run it with 300-700GB. With such long tasks, Claude may run out of usage, right? So queueing it up on a local server may make sense? Always looking for an excuse to do things in-house, but it has to make sense :)
by nobody9999 | 2025-07-21 04:34:15+00:00
>The supply of doctors and nurses (invite from abroad), certification of medical equipment & FDA drug approval (if it's certified in a normal country do a very lightweight approval process). If the patients want it, allow for more risk on his side.

>For drug prices, the current system is also very, very broken. Remove the PBMs from the drug supply and at least there allow for market forces to work.

Sadly, the current government seems set on thwarting those suggestions.

>It's a classical problem of resource allocation that can't be avoided with just good intentions. Medical tourism in countries like Israel & Thailand shows that this can be allocated through market forces.

Where are you seeing anyone even paying lip service to some nebulous idea of "good intentions?"

While I agree that market forces can be useful in certain situations (cf. Germany, Japan, and others), but basic health care, emergency services, life-saving care and a raft of other services aren't improved with to a race to the bottom.
by anton-c | 2025-07-21 04:35:01+00:00
Wow. I'm dealing with too many mental health problems to have that optimistic an idea even form in my head. Awesome take. I miss those days.

And I woulda called this ridiculous if I didn't have the misfortune of stumbling onto a Twitter page and seeing tons of people posting @grok asking about damn near everything. I didn't realize it had gone that far. I hope you're right!
by tsimionescu | 2025-07-21 04:37:34+00:00
Most shamefully for the EU, even Russia, a much, much smaller and poorer country, has a full set of replacements for the US tech hegemony, at least on the software side.

However, we are all complicit in this state of affairs, with pushing dreams of a broderless internet. If the EU had tried to limit Facebook or Google access to the EU markets, or just favored some inferior EU alternatives, people on this very forum would have been up in arms about government overreach, balkanization of the Internet, and Brussels bureaucrats trying to stay relevant.
by vlovich123 | 2025-07-21 04:40:27+00:00
Doesn’t apply. Disease is a societal group problem. Part of the social contract of living in that society is vaccination. You don’t have to get vaccinated but you then don’t get to enjoy the privileges of living with others in the community.

This isn’t anything like the trolley problem. And yes, taking actions has consequences intended or otherwise. That’s not the trolley problem either
by tsimionescu | 2025-07-21 04:40:48+00:00
You're absolutely right for the short term, but for the medium-long term (say, 15-30 years from now) there is absolutely no reason why the EU couldn't produce/design its own hardware. There are plenty of advanced pieces of hardware being designed in the EU even today, it's just happening mostly for US companies (e.g. Microchip has big HW design centers all over Europe).
by AdieuToLogic | 2025-07-21 04:41:13+00:00
> I wonder how do they log mission critical things in general. For instance, how often does a flight data recorder (FDR) log every state of mechanical components? Surely, they can't wait until something "interesting" to happen, right?

There are different types of logging.

What you describe could be defined as an audit log intrinsic to system operation, which is quite a different thing than what the article describes.
Ask HN: If Waymo is so groundbreaking, why does LA transport still suck?
by anon115 | 2025-07-21 04:41:31+00:00
surges like uber(expensive) coworkers agree too: at night when i get off work. bus lines go down at night too leaving stranded having me walking 14 blocks to reach(hopefully catch) the last bus thats gets me closest to home..
by someblueman | 2025-07-21 04:41:33+00:00
I noticed that I found Claude great for squashing bugs/issues, and started using worktrees but saw similar problems as you described, so I enlisted Claude and wrote https://github.com/Someblueman/hydra to solve for this very issue, keeping (or rather trying) it in pure shell for personal portability and gives me a playground for AI driven development
by MindSpunk | 2025-07-21 04:42:20+00:00
Just about every motorsport series is manufactured drama. The rules and restrictions are arbitrary. Anything with a large televised audience will have the rules impacted by trying to make a spectacle. It's not exclusive to F1.

F1 certainly has its issues though, the cars are just too big. Monaco has been a joke of a race for a while, the "race" is won in qualifying. 2026 might be better as the cars are getting smaller again.
by Barbing | 2025-07-21 04:43:22+00:00
Oh wow. That’s why I’ve not been able to appreciate SCP writings?

Hey I accept it’s a limitation I have, and I’m glad folks enjoy it! But I couldn’t figure out why folks share it on Lemmy[1] and get so into it when I saw nothing there.

Thanks :)

[1]: open-source & Rust-y reddit alternative; no affiliation
by sebastos | 2025-07-21 04:43:32+00:00
Another angle I was thinking about, re the need for omniscience: Physical systems seem compelled to play by these object oriented rules, where encapsulation is the norm, and information must be transmitted, and locality dominates. But if we are to try to emulate that ethos in our computer programs, one thing the OOP paradigm seems to glaze over is that you aren’t allowed to _only_ write the ‘atoms’ of that universe - we also have to write the ‘laws of physics’ themselves (if you follow the analogy). And what is more global and all-touching than the laws of physics?

So if you look at it through that lens, the need for a little omniscience seems natural. The mistake was in thinking that the program was identified with the objects that the laws govern, when really you have to cover those AND the laws themselves.
by Shorn | 2025-07-21 04:44:49+00:00
Plus, they're getting real world training data from everyone who either hasn't or doesn't have the ability to opt out of their stuff being used.

For my personal stuff, I don't opt out of training for this very reason. What's more, I resent Stack Overflow and Reddit etc. trying to gate-keep the content that I wanted to give to the community and charge rent for it.

I used to intentionally post question-answer style posts where I would both ask the question,wait for a while, then answer the question on both Reddit and Stack Overflow. I don't do that anymore because I'm not giving them free money if they're not passing some of the benefit on to the community
by vlovich123 | 2025-07-21 04:45:03+00:00
> The idea was that a vendor has a number of LLMs fine-tuned for specific tasks, none necessarily better than other, and that they applied heuristics to decide which one to rope in for which queries.

That’s how people keep interpreting it but it’s incorrect. MoE is just a technique to decompose your single giant LLM into smaller models where a random one gets activated for each token. This is great because you need 1/N memory bandwidth to generate a token. Additionally, in the cloud, you split the model parts to different servers to improve utilization and drive down costs.

But the models aren’t actually separated across high level concepts.
by brandmeyer | 2025-07-21 04:45:16+00:00
ISPC suffers from poor scatter and gather support in hardware. The direct result is that it is hard to make programs that scale in complexity without resorting to shenanigans.

An ideal scatter-read or gather-store instruction should take time proportional to the number of cache lines that it touches. If all of the lane accesses are sequential and cache line aligned it should take the same amount of time as an aligned vector load or store. If the accesses have high cache locality such that only two cache lines are touched, it should cost exactly the same as loading those two cache lines and shuffling the results into place. That isn't what we have on x86-AVX512. They are microcoded with inefficient lane-at-a-time implementations. If you know that there is good locality of reference in the access, then it can be faster to hand-code your own cache line-at-a-time load/shuffle/masked-merge loop than to rely on the hardware. This makes me sad.

ISPC's varying variables have no way to declare that they are sequential among all lanes. Therefore, without extensive inlining to expose the caller's access pattern, it issues scatters and gathers at the drop of a hat. You might like to write your program with a naive x[y] (x a uniform pointer, y a varying index) in a subroutine, but ISPC's language cannot infer that y is sequential along lanes. So, you have to carefully re-code it to say that y is actually a uniform offset into the array, and write x[y + programIndex]. Error-prone, yet utterly essential for decent performance. I resorted to munging my naming conventions for such indexes, not unlike the Hungarian notation of yesteryear.

Rewriting critical data structures in SoA format instead of AoS format is non-trivial, and a prerequisite to get decent performance from ISPC. You cannot "just" replace some subroutines with ISPC routines, you need to make major refactorings that touch the rest of the program as well. This is neutral in an ISPC-versus-intrinsics (or even ISPC-versus-GPU) shootout, but it is worth mentioning only to point out that ISPC is also not a silver bullet in this regards, either.

Non-minor nit: The ISPC math library gives up far too much precision by default in the name of speed. Fortunately, Sleef is not terribly difficult to integrate and use for the 1-ulp max rounding error that I've come to expect from a competent libm.

Another: The ISPC calling convention adheres rather strictly to the C calling convention... which doesn't provide any callee-saved vector registers, not even for the execution mask. So if you like to decompose your program across multiple compilation units, you will also notice much more register save and restore traffic than you would like or expect.

I want to like it, I can get some work done in it, and I did get significant performance improvements over scalar code when using it. But the resulting source code and object code are not great. They are merely acceptable.
by creesch | 2025-07-21 04:45:28+00:00
To be frank, this would likely not help you. A simple web page is effectively simpler XML as the HTML elements that are already there are quite enough.

I might be completely off the mark here (edit while writing the comment, considering you mention static HTML I probably am, going to leave the comment anyway for others to see), but considering you seem to think that you need React (or any javascript for that matter) to me seems to hint at a practical knowledge gap about HTML and webpages in general.

Which, is more common these days exactly because modern libraries effectively abstract it away to the point where people only see HTML when looking at the DOM representation in the browser devtools.

> It would be awesome if (almost) anyone could easily type out a website using simple and open source tools (specially with a little more involved functionality than just static content, or more free looks),

It is interesting to me how we effectively regressed here. At least as far as common knowledge goes. You can still go to a basic shared webhosting provider, get a domain, some storage, mysql/mariadb datbase, php and do all of that with relatively little effort. Of course, PHP isn't considered to be relevant anymore which is entirely fair. But it is by far the most straightforward way to get a website going with an actual backend that doesn't require you to do cloud wrangling and all that.
by irskep | 2025-07-21 04:46:31+00:00
I've been working on a tool for exactly this purpose: https://steveasleep.com/autowt/

I'm the only user at the moment, and I really enjoy the workflow. I run about four claude-codes at once this way. It's a little underbaked but I think this is the way a lot of people are going to go. Seems like the 'par' tool in a sibling comment is a similar approach.

Containers do make things easier, especially since agents can see the log output of any service super easily. To do the same thing outside a container you need to send logs somewhere the agent can see.
by arp242 | 2025-07-21 04:47:37+00:00
That quote does continue with "which cause a trip hazard".

I have no idea what the trip hazard on that is, or how many children tripped on these types of strings. Do you? It seems to me that any opinion without this information is not an informed opinion.

Additionally, pretty much all of the other examples seem far more serious. Quoting only that one bit is not a fair representation of the article on that account either.

Additionally additionally, some corporations not following the regulations is just unfair competition. Not hard to be cheaper than everyone else if you decide to dump slop with toxic chemicals. That some of the regulations might be bad is somewhat besides the point here. There is a democratic process for changing them if you don't like them.
by Frieren | 2025-07-21 04:47:39+00:00
> The Chinese, due to either luck or competence or both

China banned foreign tech to allow for local tech to grow. The EU has tried to be in good relationship with the USA allowing big tech to dominate the old continent.

I think that the arrangement worked well for both the USA and EU for a long time. But now that big tech is highly politically motivated to support the far-right that win-win situation has ended.

The only way for the EU to grow domestic tech is to do what the Chinese did, ban USA tech and let local companies to thrive. I just hope that it is done in an open standard-base way instead of the big tech monopolies of the USA.
by FatalLogic | 2025-07-21 04:48:13+00:00
>peak manufactured drama

That's largely true. There is at least one, wonderful, reward from all the rule-fiddling, though it might be orthogonal to the issues you've highlighted, but driver deaths and severe injuries are much less common than they used to be.

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

A cynic would say that, if the arena no longer offers us the ever-present possibility of death, then the drama needs to be enhanced in other ways, even if they are artificial.
by ep103 | 2025-07-21 04:51:04+00:00
I think you've drawn the wrong conclusions from the history of the web.

The web started out idealistic, and became what it did because of underregulated market forces.

The same thing will happen to ai.

First, a cool new technology that is a bit dubious. Then a consolidation, even if or while local models proliferate. Then degraded quality as utility is replaced with monetization of responses, except in an llm you wont have the ability to either block ads or understand the honesty of the response.