MurphyA/hacker-news huggingface dataset:
by sunrising | 2025-07-29 19:50:19+00:00
Why does AI struggle with large and messy codebases? Ambiguity, implicit assumptions, and scale break alignment and reliability.

I propose a map-first workflow called LayeredDSL: a structured YAML metamodel defining domain types, business logic, components, UI, workflows, security, and mapping metadata. Think of it as a single source of truth—AI and developers both work from the same map. Once defined, AI scaffolds or validates code deterministically.

Reduces hallucinations

Ensures traceability and alignment

Enables cross-language and cross-service portability.

Repo is here: https://github.com/AlessandroAnnini/layereddsl Keen to hear from those building real AI‑driven development systems.
by natebenson32 | 2025-07-29 19:50:36+00:00
I just launched Ditto, a copy-to-clipboard Chrome extension for your favorite links!

I've been applying to a bunch of job listings lately and it's always a bit of an inconvenience to go out and grab URLs for my LinkedIn profile, personal website, GitHub profile, social media, and other websites. I decided to build a solution that copies these links to your clipboard in just one click!

I want to help others optimize their job search workflow. This extension has helped me and it is now free-to-use for anyone who wants it. Feel free to check it out!

Links:

https://chromewebstore.google.com/detail/ditto-%E2%80%94-lin...

https://use-ditto.com/
by deadbabe | 2025-07-29 19:50:43+00:00
For your specific example, there would never be a “delay in milliseconds” variable in the first place. That’s just throat clearing.

“sleep 1” is the complete expression. Because sleep takes a parameter measured in seconds, it’s already understood.

You do not need “delay_in_seconds = 1” and then a separate “sleep delay_in_seconds”. That accomplishes nothing, you might as well add a comment like “//seconds” if you want some kind of clarity.
by ianbicking | 2025-07-29 19:51:00+00:00
I went to some lengths to ground the action in my game: https://ianbicking.org/blog/2025/07/intra-llm-text-adventure

That said, I think there's a lot of prompting techniques that can help here. (Actually the Guided Thinking section is an example of prompt-only techniques: https://ianbicking.org/blog/2025/07/intra-llm-text-adventure...)

You must at least do some pre- and post-processing to have the LLM consume and generate text that isn't part of the main user interface. But given that you can put in guidance that can increase the small-scale surprise of the interaction. For instance I'll have the LLM write out some of the objective environment at the moment before it considers a decision, so that it doesn't essentially retcon the setup for a plot direction it intends to take.

For the larger arc you'll need something like memory to pull the whole thing together. That include repetition over time. You can ask the LLM not to repeat itself, and it can do that, but only if it understands what it's done. And to some degree it needs to understand what it's _doing_: the LLM like the player is still generating short turns, and so if it wants to create surprise that is revealed over multiple turns then it needs space to plan ahead.
by 5pl1n73r | 2025-07-29 19:51:19+00:00
After this article was written, `free -m` on many systems started to have an "available" column that shows the sum of reclaimable and free memory. It's nicer than the "-/+" section shown in this old article.

$ free -m total used free shared buff/cache available Mem: 3915 2116 1288 41 769 1799 Swap: 974 0 974
by johntopia | 2025-07-29 19:51:21+00:00
haha we couldn't find a better icon for the "Finder" view so we just went with the classic one. but i guess it's confusing - noted.

we do have settings shortcut already! be sure to test it out :)

dark mode - noted as well.

we save our notes in db.sqlite that can be found in: ~/Library/Application\ Support/com.hyprnote.stable

this decision was made because we have three documents - raw note, enhanced note, and transcript - assigned to a meeting note.

would love to create an iA integration for you - or just a simple way to export MD for the time being

join our discord for more updates! https://hyprnote.com/discord
by roxolotl | 2025-07-29 19:52:28+00:00
I was talking to a coworker about how they get the most out of Claude Code and they just went on to list every best practice they've never been willing to implement when working previously. For some reason people are willing to produce design documentation, provide comments that explain why, write self documenting code and so on now that they are using LLMs to generate code.

It's the same with the articles about how to work with these tools. A long list of coding best practices followed by a totally clueless "wow once I do all the hard work LLMs generate great code every time!"
by affenape | 2025-07-29 19:52:36+00:00
For something having 2024 in its name I expected a more consistent error handling, but guess what:

* some functions like fsRenderCreate return 0 or 1 depending on the operation result;

* some like fsMapViewCreate say that a value less than 0 is returned on error;

* fsIOOpen says you should also consult with the fsIOGetLastError function on failure.

Hope somebody considers adding the errno.
by MoreQARespect | 2025-07-29 19:53:06+00:00
>An actual specification layer isn't any simpler than the execution layer.

The point of separation of concerns isnt to keep the simple layer separate from the complex one. It's to simplify the whole thing by only addressing one concern per layer.

Unit tests are often a pain in the ass to read because they are a mess of implementation and specification details. No separation.

>You can't solve the problem in that way. Because, from a high-level stakeholder's perspective, the whole point of the people below them (whether programmers or UX designers or anyone else) is to fill in those details in a way that matches their own hazy expectations

If you crystallize the hazy expectations on their behalf and skip feeding it back to them then you will often find out that "thats not what i meant" after the code is complete.

Those mistakes are expensive and avoidable.
by EMIRELADERO | 2025-07-29 19:54:04+00:00
The illegality lies on the fact that the product was advertised as having certain functionality on its own.

> Typically most cloud products outline in their terms that services and their features may change it at any point.

The user bought the device before ever agreeing to any terms. At that point they're inherently entitled to the advertised functionality, merely by having their money change hands. Any post-sale agreement is separate from the purchase of the product that was informed by the advertisements.
by throwawaybob420 | 2025-07-29 19:54:34+00:00
It’s not about someone changing their mind when there’s new evidence. The evidence was already there, it was being live-streamed and talked about since the beginning.

The vast majority of the politicians in America receive funding from AIPAC. They know what happens when they deviate from their supplied talking points, and right now the public outcry has grown to the point where those same politicians who would say they “want Palestinians free of Hamas” while those same Palestinians were being wholesale slaughtered for nearly two years, are now suddenly changing their tune.

They are not trustworthy full stop. And they should not be granted the forgiveness while they consistently either openly endorsed the actions of Israel by either words or voting to send more weapons to kill Palestinians
by somethoughts | 2025-07-29 19:54:54+00:00
I think a line up of specifically branded Android Phones and Chromebook that are locked into (at least initially) using Google Family Link and perhaps more importantly - a marketing campaign on educating parents on how to setup/use it would be a huge win from a PR standpoint.

It'd be a lot more deterministic than this AI thing. And more importantly would completely avoid the digital privacy issues that this solution might possibly present (where normal adult users are going to be blocked or have to provide government ID).

As a user of Family Link (and Apple Screentime) I think all the pieces are there from a usability perspective finally. Google (and Apple) leadership just needs to coordinate the push among the various internal groups.
by judahmeek | 2025-07-29 19:55:30+00:00
> IMHO discounting the cultural differences at the core of Arab societies compared to Western societies is racist, but to each his own.

We're not discounting cultural differences. We're just discounting your claims regarding cultural differences.

> ...you'll never understand the collective Middle Eastern mentality that despises weakness and worships victors.

From the content of your arguments, I get the feeling that this statement is pure projection.

> I think your other, bigger mistake is to equate Israel to the colonialist adventures of Africa's past. [...] Jews have nowhere to return to; where would they go, back to Auschwitz? To the pogroms of Russia, Ukraine and Poland?

GP never said that the Jews should leave. In reference to Africa, he said "those same terrorists often become the ruling power post liberation, and the settler (or otherwise the beneficiaries of the past oppression) most of the time are able to live just fine under their new rule without the systemic oppression."

> I've had many such discussions on the internet but not even once did I encounter someone offering that Israel disposes of its F35, nukes and security apparatus and hand the keys to ISIS/Hamas terrorists.

GP said Israel should surrender their oppressive political system, not their weapons.
by farceSpherule | 2025-07-29 19:55:38+00:00
WTF.. Sick and tired of the incessant cheating by these cyclists. It never ends. They cheat, then win, then walk around like they are some big sh*ts.

I mean, I am sick and tired of cyclists in general because of the way they act where I live. They obey no traffic laws, run red lights, never signal, blaze through intersections, and generally act like they own the road.

It's amazing how many of them forget that they are like cars and must abide by the same laws.
by rushingcreek | 2025-07-29 19:56:01+00:00
Congrats on the launch! I'm very bullish on how powerful <10B-param models are becoming, so the on-device angle is cool (and great for your bottom line too, as it's cheaper for you to run).

Something that I think is interesting about AI note taking products is focus. How does it choose what's important vs what isn't? The better it is at distinguishing the signal from the noise, the more powerful it is. I wonder if there is an in-context learning angle here where you can update the model weights (either directly or via LoRA) as you get to know the user better. And, of course, everything stays private and on-device.
by yujonglee | 2025-07-29 19:56:08+00:00
For individuals:

We have a Pro license implemented in our app. Some non-essential features like custom templates or multi-turn chat are gated behind a paid license. (A custom STT model will also be included soon.) There's still no sign-up required. We use keygen.sh to generate offline-verifiable license keys. Currently, it's priced at $179/year.

For business:

If they want to self-host some kind of admin server with integrations, access control, and SSO, we plan to sell a business license.
by shortrounddev2 | 2025-07-29 19:56:09+00:00
I would assume that the tunnel would be more expensive to build than a light rail system, and that the light rail system would cost less for riders. The light rail system could also have stops other than the airport (I'm not familiar with Nashville's layout). It seems to me like this tunnel is good for tourists and people with enough money to avoid public transportation, but pretty much useless for anyone who lives in Nashville
by insane_dreamer | 2025-07-29 19:56:24+00:00
My experience with Google Docs + Gemini is similar. Gemini is great for coding, but the integration with Docs / Sheets / Slides / Drive is absolute garbage; does hardly anything useful, doesn't do the actual tedious jobs I want it to do. It couldn't even find a document in Drive based on my description, or create a decent-looking slide.

(Gemini is proving excellent for coding, but it shocks me how poor the integration is for other uses.)

The "AI" integrations I've tried in other tools (Figma, Gamma) are pretty much garbage too.
by e_i_pi_2 | 2025-07-29 19:56:48+00:00
I'd hope that it's not a significant fraction that would get it backwards haha but just to clarify - homelessness/poverty will cause people (on average) to make worse decisions and lower cognitive ability, but making bad decisions or having a lower cognitive ability is not a cause of homelessness/poverty, at least from a statistical causality perspective on a population, individual cases will of course be different
by acc_297 | 2025-07-29 19:57:03+00:00
There is more than one comment here asserting that the authors should have done a parallel comparison study against humans on the same question bank as if the study authors had set out to investigate whether humans or LLMs reason better in this situation.

The authors do include the claim that humans would immediately disregard this information and maybe some would and some wouldn't that could be debated and seemingly is being debated in this thread - but I think the thrust of the conclusion is the following:

"This work underscores the need for more robust defense mechanisms against adversarial perturbations, particularly, for models deployed in critical applications such as finance, law, and healthcare."

We need to move past the humans vs ai discourse it's getting tired. This is a paper about a pitfall LLMs currently have and should be addressed with further research if they are going to be mass deployed in society.
by 1718627440 | 2025-07-29 19:57:25+00:00
Sure mathematical expressions are expressions of a language, but the name of constants and how we describe them, isn't what matters.

It's the fact that a shape that has perfect symmetry in infinite directions, the effects of same weather phenomena we called lightning and the limit on information propagation (and million other things I just forgot about) all have a thing in common.

And all this is totally unrelated from our perception or even the existence of humans.

> just linguistic notations stacked upon each other until statements like 2*pi*r = c are true.

You can totally make sound linguistic notations, that just have no grounding in reality. It seams like you think it's only about the linguistic statement, but the language is invented to describe something that exists outside of it.
by falcor84 | 2025-07-29 19:58:02+00:00
I love the story conceptually, but as for the specifics, it shows a surprising lack of imagination on Asimov's part, especially for something published a year after "I, Robot". Asimov apparently just envisioned an automated activity book, rather than an automated tutor that the kid could have a real conversation with, and it's really not representative of modern day AIs.

> The part Margie hated most was the slot where she had to put homework and test papers. She always had to write them out in a punch code they made her learn when she was six years old, and the mechanical teacher calculated the mark in no time.
by ndriscoll | 2025-07-29 19:58:16+00:00
A 20 MB 3.5 minute .flac file takes ~200 ms to decode into a 35 MB .wav on my desktop, so in principle the program could spend a small fraction of a second placing the decoded audio into a small buffer and give a pointer to hardware to keep playing it while the rest of the system goes to sleep for a few minutes. Or if the hardware has direct support for the codec, it could just give it the file as-is.
by ryandrake | 2025-07-29 19:58:39+00:00
This is going to become more and more of a problem with all "smart" device manufacturers whose devices rely on them keeping a backend service stood up. These manufacturers will all eventually 1. go bankrupt, killing their service, 2. end/sunset the service in ways that nerf/brick devices, or 3. start charging for what used to be free.

Unlike traditional dumb devices (or local-only smart devices) we cannot rely on these things working as they once did forever. Best bet is to avoid them entirely.
by yujonglee | 2025-07-29 19:59:31+00:00
> How does it choose what's important vs what isn't?

The idea of Hyprnote is that you write chicken-scratch-raw note during the meeting(what you think is important), and AI enhance based on it.

On-device learning is interesting too. For example, Gboard: https://arxiv.org/abs/2305.18465

And yes - we are open to this too
by jstummbillig | 2025-07-29 20:00:01+00:00
Ah, I don't know. Of course there is risk involved no matter what we do (see the IDE/Cursor space), but we need to be somewhat critical of the value we add.

If you want to try and make a quick buck, fine, be quick and go for whatever. If you plan on building a long term business, don't do the most obvious, low effort low hanging fruit stuff.
by JohnFen | 2025-07-29 20:00:18+00:00
What do you count as best?

In my opinion, the best way is though in-person instruction, with online personal instruction being the next best. But you can also learn yourself. There are lots of resources available to help you out. Pick an instruction plan and do it.

Also, play recreationally, not just as part of more formal instruction and even if you don't know how to play. It can be as simple as playing along with recorded music or even just noodling around aimlessly. Nobody has to hear you, so embrace the suck.

In the end, no matter what approach you take, the real key is as the old joke goes: How do you get to Carnegie Hall? Practice, practice, practice. Also, my opinion is that it's better to have shorter practice sessions more frequently than longer ones less frequently. I try to keep mine under 30 minutes.
by wismwasm | 2025-07-29 20:00:39+00:00
I've built a small scraper for German apartment listings (prices, locations, size). I originally started out wanting to get a bit deeper into Django's templating system as well as component libraries and needing some data to build on. Hence I ended up scraping apartment listings which in and of itself is pretty interesting data. I ended up writing this blog post about it, maybe it's insightful for some of you!
by apothegm | 2025-07-29 20:00:53+00:00
Some upper middle class and coastal; some minimum wage or on disability, scattered across rural areas and small to mid-sized non-coastal cities.

Politically anywhere from totally disengaged to far left; mostly but not all express views that in the current climate would be considered at least slightly left of center, regardless of whether they vote that way or at all. Also a bunch who used to consider themselves right-center but now hold their noses and vote left because they think the current administration’s approach to political discourse, the constitution, and fascism is horrifying.
by uyzstvqs | 2025-07-29 20:01:58+00:00
The solution is to have filtering on the actual client devices. There need to be specialized minor-friendly devices with parental controls at the OS level, and apps need a standardized framework to integrate with those parental controls. Then create regulation that devices used by minors must have such a system, with the standard that every new action (app install, first time visiting a website, new contact, joining a group chat, etc) first needs to be whitelisted by a parent, and that parents can see a timeline of all actions.

With this solution, kids are far safer than under recent UK/EU age verification laws, while adults and their free, open & private internet remain unaffected.
by viatorMMMCMXCIX | 2025-07-29 20:02:48+00:00
Author here. The Cloudflare traffic led me here - apologies for all the bugs and crashes. This was semi-leaked. I only shared the link on a small subreddit yesterday, I'm aware of loads of bugs and it’s never been tested on anything beyond a ThinkPad and an iPhone.

To those criticizing the UI: agreed. To those criticizing the movies: also agreed :D

As some commenters have already pointed out, it’s more of a tech demo than anything.
by johntopia | 2025-07-29 20:03:08+00:00
i think there are tools like cluely - where they propose to "cheat" on everything in real-time. or just wearables like waves that shows ar displays with real-time assist. (i've never used both of them before, but i understood their products like this) so proactive ai agents are somewhat becoming a thing I guess. but it all boils down to privacy for us.

mmss was something that a lot of users suggested - they wanted to be saved from public humiliation
by daviding | 2025-07-29 20:03:37+00:00
For me most of the performance issues with MSFS24 are now being VRAM limited. When they went to MSFS 2024 they rewrote for DX12 and while doing that upgraded a few things to look nicer. The texture management still seems to need some work.

This means that my 9800x3D/3080Ti 12GB sort of runs out of VRAM and pages when used in VR or 4K desktop. I'm in the position where the same visuals (scenery/aircraft etc) for MSFS2020 (using DX11) when compared to the newer MSFS2024 is just generally worse and a lower framerate. In VR a bad framerate makes things unplayable. For desktop use you have DLSS which helps a lot, but in VR that blurry movement really impacts clarity.
by Silhouette | 2025-07-29 20:03:39+00:00
It has broad public support.

Preventing children from accessing porn has broad public support (as we might hope). That is very different to saying the OSA has broad public support though.

The YouGov survey results that have been much discussed in the past week came from three questions - one about age restrictions for porn, one about whether the new measures would be effective, and one about whether the person had heard of the new measures before the survey. The answers were essentially that the majority hadn't heard of the measures, almost everyone supported preventing kids from accessing porn, but the majority didn't think these measures would be effective in achieving that. Probably none of those results is very surprising for HN readers.

What is notably missing from the debate so far is any evidence about whether the public support the (probably) unintended consequences of the actual implementation of the OSA - which are what almost all of the criticism I am seeing is about. As with any political survey the answers probably depend very much on how you ask the questions and it's easy to get people to say they support "good" measures if you gloss over all the "bad" parts that necessarily go along with them.
by jarulraj | 2025-07-29 20:03:40+00:00
Author here, appreciate the share :) I was not expecting this to get so much attention.

To clarify: this is indeed just a taxonomy of classic system-design principles. The periodic-table styling is a familiar metaphor; there is no claim that principles repeat periodically. The goal was to outline a mostly orthogonal set of design principles and highlight cross-domain connections across computer systems so it is easier to discuss designs precisely. Thanks for all the thoughtful feedback!
by wilkommen | 2025-07-29 20:03:56+00:00
I think you got it in one. Eventually there will have to be a sudden "falling off the cliff", but the main question is what will happen after that. If the right ideas are in the air, it's possible that the opportunity that the crisis presents could be seized for something good, similar to the way the Great Depression created the opening for the New Deal. The progressivism movement of the 1920s laid the ideological groundwork and ensured that the right ideas were in the air when the crisis hit. The best we can do is the same - make sure that the right ideas are in the air and be ready to pounce when the crisis hits and everyone is suddenly asking "how could something like this happen?"