MurphyA/hacker-news huggingface dataset:
by pjc50 | 2025-06-05 12:40:19+00:00
Combined arms is the probable solution for a Ukraine type war. As soon as your expensive laser lights up, it's got a couple of minutes to move before artillery shells arrive.

Of course deeper into Russia that's safe .. but instead you have the problem of a huge area to cover. You can protect a few high value targets but not everywhere. Consider something like the early stages of the Iraq war: target every single civilian electrical substation and petrol station with a drone bombing.
by Jenk | 2025-06-05 12:40:30+00:00
> So I wouldn't be so dismissive that anyone frustrated with Cursor is a bot.

Not GP, but my suspicions are actually of the other end of the spectrum - i.e., it's the glowing reviews of AI things that make my bot-sense tingle.

Though I usually settle on the idea that they (the reviewers) are using LLMs to write/refine their reviews.
by easyThrowaway | 2025-06-05 12:40:42+00:00
I get the best results with Claude by treating the prompt like a pseudo-SQL language, treating words like "consider" or "think deeply" like keywords in a programming language. Also making use of their XML tags[1] to structure my requests.

I wouldn't be surprised if in a few years from now some sort of actual formalized programming language for "gencoding" AI is gonna emerge.

[1]https://docs.anthropic.com/en/docs/build-with-claude/prompt-...
by bilekas | 2025-06-05 12:40:43+00:00
> You throw your computer out of the window, quit your regulatory job and vote "Yes" on Brexit.

Talk about throwing the baby out with the bathwater.

> Okay okay, yes, this is a bit of an apples-to-oranges comparison: The EUDAMED team had to spend time on the upfront work modelling the data structures (not that the end result is super great), and they also had to build the whole "entering data" kind of stuff which our solution doesn't have. Sure, the EUDAMED team had more work. But 300x more work?

This is something we hear all too often and it never passes the smell test.

"Well you finished that feature in 1 day so I can give you 5 features for this week"

It's not the same.

I agree it could be better, but there are graph databases with the data that work extremely well for my requests anyway. But sure, you offer a right click solution. Great, but I "imagine" it doesn't fit everyone's requirements.

Let alone any legacy integrations that might already be there.
by clvx | 2025-06-05 12:41:04+00:00
Ok, This is interesting. I need something alike that can measure whatever marijuana grow facilities generate. A neighbor lives in disbelief their facility doesn't produce any smell but neighbors in a mile radius disagree with it. He is willing to set up measurements to reduce any impact but I don't have a way to collect real data beyond it's smelling. I always depends on where the wind is blowing but it's constant.
by jvanderbot | 2025-06-05 12:41:05+00:00
Dependency inversion does apply sometimes, but a well-designed library caps async around functions that need it - things that interact with filesystem or network, etc. Those are perfectly testable as-is. Your core business logic is still sync, if you'd like to to be. Async can call sync just fine, and sync can call async, as long as you are willing to admit that you're abstracting away a network call in a unit tests (for some reason).

The typical pattern I enjoy is:

* Sync for the logic

* Async for the job runners b/c I'd like to do other things while it's going.

* Sync or Async as required for the data wrangling (db calls, network, filesystem)

So you have essentially:

1. kick off job, returning a future, by calling an async function.

2. Job is mostly async data wrangling, followed by a sync logic block that's unit tested, followed by an async "save" if required.

3. Either wait for the future, or run the task in the background, or `.await` if you're in an async block.

I'm hand waving away the syntax, but that's the mental model. 99% of code isn't async, and the code that is isn't async for the fun of it.
by davidhyde | 2025-06-05 12:41:33+00:00
> “async has a relatively high complexity cost for us due to the 'static bound (cc)”

I stand to be corrected but I believe that this is design choice of the Tokio async runtime and not a Rust design choice. For example, the Embassy async runtime does not have this bound but then you have to handle pinning yourself. Also, the static bound is supposed to lower the complexity cost, not raise it.
by wepple | 2025-06-05 12:41:37+00:00
> The spec DCL drone isn't very capable compared to the more open-specification drones in racing leagues like MultiGP

Yeah, I’m sure this is a great milestone but it isn’t notable until AI is beating MCK[1] who would be the “Lee Sodol of FPV”

[1] https://youtu.be/fmc1URVdyUs?si=jPPx5sHjU_ZDOghF
by mrtksn | 2025-06-05 12:42:15+00:00
>Why could a court favor the interest of the New York Times in a vague accusation versus the interest and right of hundred millions people?

Probably because they bothered to pursue such a thing and hundreds of millions people did not.

How do you conclusively know if someone's content generating machine infringe with your rights? By saving all of its input/output for investigation.

It's ridiculous, sure but is it less ridiculous than AI companies claiming that the copyrights shouldn't apply to them because it will be bad for their business?

IMHO those are just growth pain. Back in the day people used to believe that the law don't apply on them because they did it on the internet and they were mostly right because the laws were made for another age. Eventually the laws both for criminal stuff and copyright caught up. Will be the same for AI, now we are in the wild west age of AI.
by dismalaf | 2025-06-05 12:44:34+00:00
"Elbows Up" eh?

Canadians have got to be the dumbest electorate... Carney was a globalist banker who literally wrote about how Canada needed to be more authoritarian to push through globalist policies.

Trump said something stupid, spurred on by something Trudeau said that's equally stupid. Carney somehow portrays himself as Canada's protector and nationalist (!?). Gets elected. Almost immediately reverts to his globalist authoritarian self.

Canadians are somehow confused...
by aredox | 2025-06-05 12:44:45+00:00
Is there a similar system but much more affordable? I don't need it to be space-ready or milspec-grade or even compact, I was just thinking of something for tinkerers.

(The translation used by Sodern, "Star Tracker", gets me only camera gimbals to take astrophotography pictures)

Edit: found some leads around the cubesat community. Still to see if it works from the ground or in daytime.

https://ieeexplore.ieee.org/document/9179736

https://openstartracker.org/
by vascocosta | 2025-06-05 12:45:13+00:00
Yes, while macros simplify some tasks, they also make it harder to really understand the code. Well, technically they hide the code in most languages as they're metaprogramming done in a separate language.

I love Rust and do some advanced code sometimes, but very rarely have I created a macro. I still see it more or less like "magic" that "super-human" library developers master to make their life easier. Typically not my use case.

This is another advantage of Zig. As you may know, metaprogramming in Zig doesn't use any special syntax, but rather the Zig language itself. This is often known as comptime and while not necessarily easy to grasp, as you're reasoning about compile time stuff, at least it's done in pure Zig.
by mgaudin | 2025-06-05 12:45:52+00:00
Author here. This is the first part of a series based on our experiences at MadKudu, where we've shifted to treating AI agents as full-time developers, not just assistants.

We found that traditional development practices break down completely under this model. I've distilled our learnings into 11 principles that have made AI-native development practical and significantly boosted our team's productivity (e.g., by focusing on mono-repos, strict typing, and redefining the engineer's role towards documentation and architecture).

Happy to discuss these principles and answer any questions.
by broguinn | 2025-06-05 12:46:03+00:00
This Web Security lecture by Feross Aboukhadijeh has a great example of Zoom's zero-day from 2019 that allowed anyone to force you to join a zoom meeting (and even cause arbitrary code execution), using a local server:

https://www.youtube.com/watch?v=wLgcb4jZwGM&list=PL1y1iaEtjS...

It's not clear to me from Google's proposal if it also restricts access to localhost, or just your local network - it'd be great if it were both, as we clearly can't rely on third parties to lock down their local servers sufficiently!

edit: localhost won't be restricted:

"Note that local -> local is not a local network request, as well as loopback -> anything. (See "cross-origin requests" below for a discussion on potentially expanding this definition in the future.)"
by wpietri | 2025-06-05 12:46:20+00:00
Thanks! If I can make it I will. (The pinball museum project is sucking up a lot of my time as we get toward launch. You should come by!)

I think that is one interesting question that I'll want to answer before adoption on my projects, but it definitely isn't the only one.

And maybe the hype cycle will get worse and maybe it won't. Like The Economist, I'm starting to see a turn. The amount of money going into LLMs generally is unsustainable, and I think OpenAI's recent raise is a good example: round 11, $40 billion dollar goal, which they're taking in tranches. Already the largest funding round in history, and it's not the last one they'll need before they're in the black. I could easily see a trough of disillusionment coming in the next 18 months. I agree programming tools could well have a lot of innovation over the next few years, but if that happens against a backdrop of "AI" disillusionment, it'll be a lot easier to see what they're actually delivering.
by globular-toast | 2025-06-05 12:46:38+00:00
The only reason one might care about an accurate calorie counter is for longevity. But the vast majority of people who count calories are doing it for weight control. They don't need an accurate calorie count.

All you need to know is whether your weight is trending how you want it to trend and, if not, adjust calories appropriately. I feel like a clever enough model could take pictures of food, your heart rate and your daily weigh in and suggest ways to achieve your weight goal, like "have less fries" etc.
by Terretta | 2025-06-05 12:47:08+00:00
We'd made this change before, then dropped it when we hit the "year zero" problem.

We were doing years without abbreviation before the numbers went from 80s and 90s to 00s.

Everyone knew what "Product 95" was, or "Product 97".

But then "Product 0" or "Product 2" didn't work, so vendors switched to major versions instead of years.

A quarter century later, we're reviving the year as version thing.
by 1659447091 | 2025-06-05 12:47:12+00:00
Google recently agreed to a ~1.4 billion dollar settlement with Texas for privacy violations. If company is big enough to do mass drone delivery and wants to not only break the law but also lie about it, good luck to them I guess.

Sure, they can say the cameras are for "obstacle avoidance" all they want, the camera is on? Well, they just captured and used images/video of everyone's private property to get to that delivery and did so with intent. So they might have permission from the one person getting the delivery but they don't for the hundreds of others they past, and I would not want to get that settlement bill in the mail.
Show HN: Dynamic Prisma wrapper for Jotai with full TypeScript and pagination
by parweb | 2025-06-05 12:47:18+00:00
This library creates a bridge between Prisma and Jotai by: - Using *dynamic proxies* to intercept model access - Leveraging *generated Prisma types* (`Prisma.TypeMap`, `Prisma.ModelName`) - Creating *cached atom families* for optimal performance - Providing *advanced TypeScript inference* for conditional return types
by LoganDark | 2025-06-05 12:47:22+00:00
> What I’ve seen over the years from occasionally being around coffee drinkers in the morning didn’t look like joy. It looked like addicts, unable to function and singularly focused, until they acquired coffee in the morning. When outside of their normal environment with quick and easy coffee, this seemed like an annoying burden to deal with.

It's shocked me that this view isn't more common. Caffeine dependence often looks like addiction to me too, and I honestly don't think it should be as normalized as it is. People should know what they are getting into before they get hooked on the stuff.

I'm personally somewhat dependent on ADHD meds, but at least I've known that and made an informed decision. If I stop them suddenly, it takes me around a week to return to normal-ish levels of energy, but other than that I don't have any headaches or pain or anything. I think for me that's more than acceptable.
by rickcarlino | 2025-06-05 12:47:36+00:00
My main point is that a language’s historic design considerations, community and ecosystem play a huge part in determining its applicability to a particular domain. Years of personal anecdote, coupled with the history of the project, and what people are building with it in practice (rather than what could be built in theory) drive my conclusion that it is not a general purpose language. That doesn’t mean it’s not a good language for what it was historically intended for.
by eviks | 2025-06-05 12:48:33+00:00
> After so many years of trying, with three

> We didn’t have a better solution at that time and didn’t pursue syntax changes for error handling for several years.

3 is small, and it seems like there were more years of not trying at all.

And the example of one proposal is telling. It had a major control flow issue, so got rejected, but then there is a recent proposal fixing those issues, and the post just goes on without further elaboration?

> Unfortunately, as with the other error handling ideas, this new proposal was also quickly overrun with comments and many suggestions for minor tweaks, often based on individual preferences.

How is this unfortunate? If the tweaks are good, update the proposal using them, so that's very fortunate? If they aren't, explain why there rejected? Or do you only expect a binary yes/no on the proposal as originally published?

I mean, no wonder with such an approach the only way forward is to give up.
by 1718627440 | 2025-06-05 12:48:38+00:00
Not an advocate, but isn't a core idea of feminism, that claims, that men think technically, in terms of power, while women think about social stuff, child-care, etc., are just roles and made up?

How can than be claimed under the banner of feminism, that something isn't feminine (e.g. not social, to much technical) enough? Isn't that the "misogynous" kind of thinking, that feminism is supposed to fight?

(Edit: Anyone cares to elaborate why this was flagged?)
by rgbrenner | 2025-06-05 12:48:38+00:00
All of these reviews are irrelevant anyway because of the variations in the problems, skillset, project attributes (size, structure, etc), human variations in prompting, and a million other reasons.

You should just set aside some time to try out different tools and see if you agree there's an improvement.

For trying models, OpenRouter is a big time saver.
by arp242 | 2025-06-05 12:48:59+00:00
Four devs and/or sysadmins: €400k

Add management and other overhead: €100k

Overhead from "international consortium of members from 10 EU countries": €500k

I'm just making up numbers here, but this is roughly how it usually works. A lot of these EU projects are huge "design by committee" efforts, with all the associated downsides.

It's not really a "EU thing though", but more of a "government thing". Or perhaps more accurately: "private companies doing work for government" thing. Defence contractors in the US are notorious for having their snout in the trough. How much was spent on that UK Post Office accounting system? A billion pounds IIRC? And that "contact tracing" COVID app that didn't even work was a few dozen million quid IIRC. There is an endless list of examples from many countries.
by 256dpi | 2025-06-05 12:48:59+00:00
Thanks! AirGradient is great! They do a very good job and served as an inspiration to us!

On CO2-Sensor Accuracy: Based on AirGradients own research[1], the SCD41 (which Air Lab uses) and SenseAir S8 (which AirGradient uses), compare well indoors. In outdoor environments, the AirGradients sensor is generally better. As the Air Lab is primarily focused on indoor environments, we chose the smaller SCD41 to fit the portable design. But yes, If you're looking for an outdoor air quality monitor, AirGradient will be more accurate.

[1]: https://www.airgradient.com/blog/co2-sensors-photo-acoustic-...
by bccdee | 2025-06-05 12:49:13+00:00
The code already looks different based on different developers' opinions. Gofmt already allows this:

fmt.Printf("%s %s %s %s\n", arg1, arg2, arg3, arg4)

and this

fmt.Printf("%s %s %s %s\n", arg1, arg2, arg3, arg4)

and this

fmt.Printf( "%s %s %s %s\n", arg1, arg2, arg3, arg4, )

and will not alter any of the above. All I want is similar ambiguity around one-line `if` statements. That's not so crazy.
by perihelions | 2025-06-05 12:49:48+00:00
I'm not following your argument; magnetic north and celestial north are redundant. I don't understand what you think a magnetic orientation adds to a star tracker.

The stars look exactly the same from everywhere on Earth. The only thing looking at them can tell you is an absolute rotational orientation—nothing more.

Old-style navigation was based on the differential orientation of stars relative to the local orientation of the Earth's apparent horizon, but that measurement's not accurate enough for modern GNSS. (I don't think).

I don't know how the SR-71 guidance works, but your link describes it as having an inertial component.
by metaltyphoon | 2025-06-05 12:49:57+00:00
> value in Zig is its simplicity

IMO, there are things Zig just don’t care about, which in the surface makes it simple but its annoying and burdensome later on.

* Manual interface implementation * Internals of a struct is public * No string types * anytype requires reading code * Error can’t carry information * The iteration abstraction in the std is all over the place * Unused declarations is compilation error
by mandmandam | 2025-06-05 12:50:27+00:00
Why wouldn't you do the least bit of fact-checking before making such an incorrect assertion?

> Over two-thirds of Israeli teens believe Arabs to be less intelligent, uncultured and violent. Over a third of Israeli teens fear Arabs all together

> 50% of Israelis taking part said they would not live in the same building as Arabs, will not befriend, or let their children befriend Arabs and would not let Arabs into their homes

> Another 2007 report, by the Center Against Racism, also found hostility against Arabs was on the rise. Among its findings, it reported that 75% of Israeli Jews do not approve of Arabs and Jews sharing apartment buildings; that over half of Jews would not want to have an Arab boss and that marrying an Arab amounts to "national treason"; and that 55% of the sample thought Arabs should be kept separate from Jews in entertainment sites. Half wanted the Israeli government to encourage Israeli Arabs to emigrate. About 40% believed Arab citizens should have their voting rights removed

Etc, etc. Many more examples can be found at https://en.wikipedia.org/wiki/Racism_in_Israel
by tetromino_ | 2025-06-05 12:51:37+00:00
It is absolutely a valid point that user experience, helpful error messages, ease of use are extremely important and historically neglected in programming language design, as contrasted with technical excellence.

It is absolutely an invalid point to claim that this is due to gender, that men are doomed by biology to care about technical excellence while women are doomed by biology to care about UX. We are not living in 1825!
by bediger4000 | 2025-06-05 12:52:17+00:00
First, this article illustrates why enormous individual wealth is a problem. Musk could finance a primary of each and every Republican Congress member, which would amount to a soft takeover of the federal government. Lowering taxes on the wealthy was a mistake.

> He served at the pleasure of the president. He no longer does

Congressional Republicans continue to act like Trump is king, rather than President.
by qgin | 2025-06-05 12:52:31+00:00
Most humans seem to understand it, more or less. For the ones that don't, we generally have enough that do understand it that we're able to eventually stop the ones that don't.

I think that's the best shot here as well. You want the first AGIs and the most powerful AGIs and the most common AGIs to understand it. Then when we inevitably get ones that don't, intentionally or unintentionally, the more-aligned majority can help stop the misaligned minority.

Whether that actually works, who knows. But it doesn't seem like anyone has come up with a better plan yet.
by blackbear_ | 2025-06-05 12:52:49+00:00
Note that the token embeddings are also trained, therefore their values do give some hints on how a model is organizing information.

They used token embeddings directly and not intermediate representations because the latter depend on the specific sentence that the model is processing. Data on human judgment was however collected without any context surrounding each word, thus using the token embeddings seem to be the most fair comparison.

Otherwise, what sentence(s) would you have used to compute the intermediate representations? And how would you make sure that the results aren't biased by these sentences?
by nemjack | 2025-06-05 12:53:48+00:00
I don't think you're quite right. The author is arguing that images and text should not be processed differently at any point. Current early fusion approaches are close, but they still treat modalities different at the level of tokenization.

If I understand correctly he would advocate for something like rendering text and processing it as if it were an image, along with other natural images.

Also, I would counter and say that there is some actionable information, but its pretty abstract. In terms of uniting modalities he is bullish on tapping human intuition and structuralism, which should give people pointers to actual books for inspiration. In terms of modifying the learning regime, he's suggesting something like an agent-environment RL loop, not a generative model, as a blueprint.

There's definitely stuff to work with here. It's not totally mature, but not at all directionless.
by knome | 2025-06-05 12:54:44+00:00
I wonder how much of that is on the modal itself. If we instead popped up an alert that said "blocked an attempt to talk to your local devices, since this is generally a dangerous thing for websites to do. <dismiss>. to change this for this site, go to settings/site-security", making approval a more annoying multi-click deliberate affair, and defaulting the knee-jerk single-click dismissal to the safer option of refusal.
by ethbr1 | 2025-06-05 12:54:53+00:00
> It's hard to point at the richest man in the world and say he made strategic errors.

It should be done carefully, but it should be done.

More than one company has been imploded by a leader who's been successful in the past and no longer has anyone to tell them "No."

Honestly, the best thing for Tesla would be to evict Musk as a leader, install someone who can focus on excellent delivery (like SpaceX), and create a separate R&D org for Musk to lead.
by drysine | 2025-06-05 12:55:01+00:00
>Do you really think Russia is limiting their attacks on Ukraine because of some benevolence?

Yes, obviously.

Just consider the rate of civilian death toll in Ukraine vs. military casualties. Civilian deaths are a small fraction of the total number of deaths due to war. For comparison, look at the Israel's special military operation in Gaza, where they are considering deaths of 20 civilians for a single Hamas fighter to be acceptable [0]

[0] https://www.nytimes.com/2024/12/26/world/middleeast/israel-h...