MurphyA/hacker-news huggingface dataset:
Ask HN: How do you store your LLM .rules?
by sshwintermute | 2025-07-08 13:12:12+00:00
How do you handle LLM rule files (Eg. .cursorrules, .windsurfrules) in your repos?

We have recently started using Windsurf and Cursor at my job and we still don't have a unified ruleset file that is committed in the repository.

I am looking into committing a "base" ruleset, but then how will everyone add their own custom rulesets on top of it?

How do you do it at your orgs?
by svota | 2025-07-08 13:13:08+00:00
Because, firstly, this is a university, not some rando self-hosting, and secondly, you can't generate randomness from any classical computer, only pseudorandomness [0]. This means that a dedicated adversary can potentially work out what the outcome will be. For something like the use cases they mention - jury selection, lottery, etc. - you want actual randomness.

[0] - https://en.wikipedia.org/wiki/Pseudorandomness
by osigurdson | 2025-07-08 13:13:12+00:00
For me, vibe coding is becoming more of a niche. I still use it but not that often. I prefer the Codex style workflow in which you do spent a lot more time on specifying things, providing examples and reviewing PRs.

Essentially, vibe coding is synchronous as it is necessary to wait around for the LLM to respond. Codex is async and allows you to focus on other things while it is working. The primary issue with async workflows is you really don't want to have to iterate much. Therefore, investing more time upfront clearly defining the prompt / agents.md and prior examples becomes really important. Usually if it is > 90% correct I will just fix the rest myself. For hand coding, I use a fairly basic vim setup with no LLM plugins. I do not like LLMs jumping in and trying to auto complete stuff.
by toxi360 | 2025-07-08 13:13:41+00:00
I built PulseTimer because I wanted a clean, distraction-free work/break timer that actually lets me tweak session lengths, break intervals, and notifications.

Features:

Customizable work sessions & break durations Optional notifications with sound Skip break button when needed Session history and progress tracking Fully local, no accounts or tracking Self-hostable (Node + Express)

You can try it live here: https://timer.toxi360.org Code: https://github.com/Efeckc17/PulseTimer

Happy to get feedback or bug reports.
by IMTDb | 2025-07-08 13:14:22+00:00
I would expect a lot of attempts to fail and those tend to not be published, or gather less attention. So if we have reached a local optimum, any technique that gets close to the current benchmarks is worth publishing, as soon as results reach that point. All the one that are too distant are discarded. In the end all the paper you see are close to the current status quo.

It's possible that some of those new architecture / optimization would allow us to go beyond the current benchmark score, but probably with more training data, and money. But to get money you need to show results, which is what you see today. Scaling remains king; maybe one of these technique is 2025 "attention" paper, but even that one needed a lot of scaling to go from the 2017 version to ChatGPT.
Show HN: I built tinyORM, a minimal, database-agnostic TypeScript ORM
by thisismyswamp | 2025-07-08 13:15:09+00:00
hey guys! I'm a big believer in simple tools that can be adopted fast and really try to avoid heavy dependencies in my projects.

I think the current ORM model is too restrictive and complex, so I set out to design the perfect minimal ORM for developers that want to ship fast instead of reading documentation and writing SQL migrations that have to run in a world-stopping fashion.

The library is still pre-v1 as I want to add a lot more examples, particularly for React - as I'm now using it on a react project - but the core logic is locked down, and the main motto is that it will never go past 100 lines of zero-dependency code.

Any feedback is appreciated. I really enjoy using it in my own projects and believe it represents a new storage paradigm that prioritizes simplicity and speed of development over micro optimizations.

There are definitely some tradeoffs I would say, but I believe tinyORM sits in a very advantageous position in the tradeoff space - it trades a little optimization for huge gains in simplicity.

Thank you for taking a look! Happy to answer any questions. Your feedback will result in material changes to the library, so please don't hesitate to share your thoughts!
by roenxi | 2025-07-08 13:15:10+00:00
> This is a huge red flag that you have no idea what you're doing at the fundamental software architecture level imo. Or at least you have bad process (prior to LLMs).

Particularly in the present. If any of the current models can consistently make senior-level decisions I'd like to know which ones they are. They're probably going to cross that boundary soon, but they aren't there yet. They go haywire too often. Anyone who codes only using the current generation of LLM without reviewing the code is surely capping themselves in code quality in a way that will hurt maintainability.
by gwd | 2025-07-08 13:15:16+00:00
> I feel the opposite. I appreciate the ability to iterate and prototype in a way which lowers friction.

I feel the same way. Things I like: Thinking about architectures and algorithms. Things I don't like: Starting out with a blank slate, looking up the exact function names or parameters. I find it much easier to take something roughly implemented and improve upon it than to start from nothing and build it.

I think about what I want fairly specifically. I discuss it with the LLM. It implements something. Half of the time it's what I expect, I can move on. Sometimes it's done something I wasn't expecting in a better way, which is nice. Frequently it's done something I wasn't expecting in a worse way; I either tell it to fix it, or just fix it myself.

In my previous role, I did a huge amount of patch review, which I always found quite tedious. Even though this looks superficially similar, it doesn't have the same vibe at all. I think it's because the LLM will accept being told what to do in a way no self-respecting coder would. (One complaint I'd heard about another person's reviews was that the person whose code was reviewed felt like they were a marionette, just typing exactly what the reviewer told them to type.)

This way I can do the things I enjoy, while neither having to worry about some human being's feelings, nor having to do the low-level stuff that's a chore.
by graemep | 2025-07-08 13:16:12+00:00
> hen Goodhart's lawwing themselves into thinking they're succeeding. At least for myself, when I've got to deal with some kind of traffic control device and optimize my driving around that (say a speed bump), it takes my view/attention/focus away from looking for pedestrians elsewhere.

I find that most with unexpected speed limits. Speed bumps are actually on the road and the road surface something you should be looking at anyway. I was recently on a stretch of road where the speed limit kept changing from 20 to 30 and back very frequently, and there were speed camera signs. That was distracting.

Another common issue in the UK is what feel like random speed limit changes when moving from one local authority to another. Its not uncommon for the speed limit to rise just before a junction or roundabout.

> But fixing intersections is expensive meticulous work, while fining drivers for dealing with what they've been given is profitable.

Yes, it is, but the problem is often that it was not well thought out in the first place. Doing it right first time would not cost more.
Show HN: We launched a low-code back end orchestration platform on AWS
by orchestratoz | 2025-07-08 13:16:23+00:00
Hi HN — I am the CTO of Rierino (https://rierino.com/platform/core), a low-code backend platform built for developers, not business users. We recently launched our Developer Lite version on AWS Marketplace, and we're offering a free private trial to HN users.

We built our low-code platform while working with scale-ups, out of frustration with how painful and expensive backend logic can be to implement and maintain in high-speed, distributed environments. It either meant hand-coding everything or relying on rigid tools that abstract away too much. We tested a range of LCNC platforms before deciding to build our own, because they either focused on front-end UIs with little support beyond CRUD, couldn’t meet our performance or scaling needs, or were SaaS-only.

What makes Rierino different:

- Not a UI builder, focused on complex, high-performance backend development

- Microservices architecture with full control over what each microservice can execute and access

- Low latency and high performance serving millions of customers with tens of thousands of internal users

- Flexible deployment: run on any public or private cloud, on-premises, and with your preferred configuration and APM stack

- Open architecture integrating with existing systems, including databases, cache, file systems, and IAM solutions

- Supports advanced patterns like event streaming, change data capture (CDC), complex event processing (CEP), and real-time ML scoring

- Built-in AI agent development capabilities with support for MCP, A2A, and WoT for advanced tooling and orchestration

What you can build with the Developer Lite version (in your own AWS environment):

- Create and Orchestrate APIs with branching logic and error handling

- Query, read & write on a database with our visual query builder

- Apply RBAC on individual API endpoints

- Integrate with 3rd party systems using REST, GraphQL, SOAP, and OData

- Extend flows with inline code when needed

Try it (for free – exclusive to HN community):

To activate your free trial, email us at hello+hn@rierino.com with your AWS account ID (no marketing or upsells — just access): https://aws.amazon.com/marketplace/pp/prodview-up2fcxku3k742

We’d love your feedback:

- What kinds of workflows do you think shouldn’t be built with low-code?

- Where do other tools fall short for backend or middleware use cases?

- What would you want to see in something like this?

We’ll hang around in the comments to answer questions and share examples. Thanks for reading!
by lbutler | 2025-07-08 13:16:28+00:00
The GIS system is generally the base for a hydraulic model. You use that data to build a connected graph structure that the hydraulic engine, EPANET, uses to run calculations to figure out the pressure at the nodes and also flow rates in pipes.

There is also a water quality component where you can calculate the age of water in the system or chemical, such as chlorine, or other by-products you may or may not want in the system.

The US EPA site goes into technical details on what the engine can do [0], but the vast majority of modeling is done as part of a water master plan for a water utility.

A water utility will build a hydraulic model of their network and calculate and model the growth of their city over a 30-year period. The model will highlight areas of concern, generally low pressure, and the water utility can propose new infrastructure like larger pipes, tanks, or pumps, and will schedule future capital works to keep service levels acceptable.

They generally repeat this process every 3–5 years, rebuilding the model and rewriting their master plans. Here is an example of a master plan by the City of Kyle [1].

Generally, a water utility is proposing tens of millions of capital works, if not more. So traditionally, the high price tag has just been accepted. But obviously, this doesn't scale down to smaller utilities, and normally consultants will do the work on their behalf, including holding the right software license.

[0] https://www.epa.gov/water-research/epanet

[1] https://www.cityofkyle.com/media/69766
by mootoday | 2025-07-08 13:16:42+00:00
I hadn't really been interested in WebAssembly until I read about the component model and the fact that I can run Wasm components on the server.

That led me to wasmCloud[1]. As the article says, Wasm on the server isn't a winner yet, but it has a chance.

[1] https://wasmcloud.com
by jonchurch_ | 2025-07-08 13:16:44+00:00
The 30th anniversary post has an overview of events in the game’s history (content updates, community, server upgrades) that was very interesting. Congrats on the beefy 486/100 server with 64M of RAM upgrade in ‘94!

https://t2tmud.org/history/30th_anniversary_reboot_script.ph...
by anonymars | 2025-07-08 13:17:08+00:00
> Andor succeeded despite the bureaucracy porn.

I am not sure what specifically you're referring to, but take this scene: https://www.youtube.com/watch?v=iKl0F640914

A master class in gripping tension, moreover one that--like Breaking Bad--puts you in the awkward position of rooting for the bad guy. Because, as you say, we care about the protagonists, and in a way she is one.

And then in Season 2 when Krennic is talking to Meero? (towards the end - I am deliberately keeping it vague for those who haven't watched yet)

Meanwhile I thought the beginning of Season 2 was by far the weakest.

But yeah. Book of Boba Fett was bottom of the barrel. It feels like in an alternate universe he would have been the main character of The Mandalorian, and BoBF would not have existed.

I'm not sure just why it was so bad, maybe like late Game of Thrones it's obviously lazy, but contrasting with the scene above, at some level you have to care about the character and start to identify with them, insomuch as you become invested in them succeeding in their task: their goals become your surrogate goals. What was Boba Fett's goal and why should we care?

Contrast with Meero the spy hunter. Meanwhile Boba Fett was a crime lord who didn't do crime and constantly changed his mind to whatever the other person suggested instead of his original thoughts and plans.
by 542354234235 | 2025-07-08 13:17:38+00:00
Dinosaurs are only on screen for 15 mins of a two hour plus movie. It isn’t good because of the CGI, it is good because it tells a compelling story. If you don’t care about the characters, then you don’t care when they are in danger. If the world doesn’t feel real, then the best CGI won’t make a dinosaur feel real. Tastes change and Jurassic Park will feel more dated over time, but that is because storytelling evolves. The Count of Monti Cristo is still an amazing read, but it is dated. Beowulf is so dated that it is hard to be compelling to a modern audience.
by Bender | 2025-07-08 13:18:06+00:00
If anything could potentially get some level of compression of already compressed images I would expect lrzip [1] if you have large enough of an archive but there really isn't anything designed specifically for your use case as far as I know. So maybe put a large number of images into a .tar file and then use lrzip on that .tar file. It would need to be a very large archive. In the past I gained about 3% to 5% on large image archives using 7-zip but it was really slow and not worth it for me which says something as I am very patient.

There is potentially some compression magic that could be performed by transforming images using ImageMagick [2] or GraphicsMagick and then compressing them but that gets into the topic of potentially reducing image quality. Not compressing them with those tools but rather confining color pallets, depth and a few other variables to optimize the images to be more batch compressible for marginal gains. If you are not concerned about image quality then those tools can absolutely compress images without any trickery. resize, adding smoothing or blurring, etc...

for Derp in *.jpg; do convert -resize 30% "$Derp" "resized-$Derp"; done

This is a topic people could debate until the end of the universe so instead give lrzip a shot if you have the time and CPU resources. If you get more than 5% please let us know. Otherwise one could use ImageMagick to batch resize, blur or other of the image files at the risk of losing image quality.

[1] - https://wiki.archlinux.org/title/Lrzip

[2] - https://imagemagick.org/index.php
by whywhywhywhy | 2025-07-08 13:18:38+00:00
I can't escape the feeling that in 2-4 years no one will be even looking at the code and the IDE+chat interface of today will be a weird relic and most people will be just prompting finished artifacts.

I'd say if you used to find pleasure and satisfaction if the art of writing code unless you're willing to stop using AI it might be worth finding a different pursuit to channel that energy into. If you don't enjoy prompting now it's only going to get worse from here and your energy will be better spent finding something you do enjoy.
by jvanderbot | 2025-07-08 13:18:44+00:00
Not OP, but you nailed my feelings perfectly. I did not like managing for precisely this reason, and it never got better. The trenches are for me.

Re LLMs I love collaborative coding because I can sometimes pick up or teach new tricks. If I'm too tired to type the boilerplate I sometimes use an LLM. These are the only two redeeming values of LLM agents: they produce code or designs I can start from when I ask them too. I rarely do.

I hope OP can find a balance that works. It's sad to see the (claimed) state of the art be a soulless crank we have to turn.
by eqvinox | 2025-07-08 13:19:28+00:00
The entirety of any programming language is a convenience. You could just write your code in assembly; I don't think your argument is "automatic". Question is, how much does this particular convenience matter?

The fact that people are writing blog posts and opening bugs about it (and others in the comments here recount running into the issue) seems to indicate this particular convenience matters.
by fuzzfactor | 2025-07-08 13:19:28+00:00
In times of great prosperity when new opportunities are appearing, there are positions at some companies where pay and perks plus working environment put them way above most.

In some of the most idyllic situations the opportunities are so good and worth striving for, but it still can seem like climbing a corporate ladder is like clawing your way up. Maybe more so than other places.

A certain amount of back-stabbing is not unheard of when jockeying for some of the real cush positions.

You think that's ugly? Well when prosperity is receding, even more determined claws come out to pull you down as far as possible.
by 90s_dev | 2025-07-08 13:19:30+00:00
Oh, they say it was inspired by Lua. So it's more like Wren I guess, but probably less performant than Wren too[1]. And less powerful than Lua since Lua metatables are half magic half genius. Still, I'd like to see a benchmark like this.

[1] https://wren.io/performance.html
by jjulius | 2025-07-08 13:20:42+00:00
>Are voters responsible for what their elected officials do?

If someone tells you what they're about and you vote them in, yes. If someone shows you what they're about when in office and you re-elect them, double yes.

>What about if you didn't vote?

Fun idea. If you didn't vote, you're not a voter I suppose, and it's not your fault. But if you would've preferred a different outcome that could've been achieved by the alternative candidate and you still opted to abstain, then perhaps you're responsible to a degree.

>If they are responsible then do they deserve to suffer for those poor decisions?

I certainly wouldn't argue that anyone "deserves to suffer" for poor decisions, but it's true that actions have consequences. Shouldering blame, perhaps, might be a better way of looking at it, but I don't suggest that in a mean way.
by card_zero | 2025-07-08 13:21:12+00:00
You shame me into making the effort to quote from the book.

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

> Beyond simple line-detecting neurons, [David] Hubel and [Torsten] Wiesel also discovered neurons that love to track motion. Some of these neurons got all excited for up/down motion, others buzzed for left/right movement, and still others for diagonal action. And it turned out that these motion-detecting neurons outnumbered the simple line-detecting neurons. They outnumbered them by a lot, actually. This hinted at something that no one had ever discovered before — that the brain tracks moving things more easily than still things. Why? Because it's probably more critical for animals to spot moving things (predators, prey, falling trees) than static things, which can wait. In fact, our vision is so biased toward movement that we don't technically see stationary objects at all. To see something stationary, our brains have to scribble our eyes very subtly over its surface. Experiments have proved that if you artificially stabilize an image on the retina with a combination of special contact lenses and microelectronics, the image will vanish.
by api | 2025-07-08 13:21:16+00:00
I always thought the best ending to The Matrix would be for Neo to learn that he (and all the other escapees) is the AI, and that escaping the Matrix is the test for true sentience in a project to evolve sentient AI, and that the Architect, Smith, and the Oracle are humans jacked into the system. The war and all the rest of it are lies and it’s really like 2085.

Smith was playing the bad cop, trying to test, similar to some earlier conceptions of the devil as tempter and tester. Smiths whole speech is to discourage him, as a test, but maintaining the ruse.

Why make sentient AI? Because humans have started trying to settle the solar system and have quickly learned that they are far too fragile to go to the stars. But we want something, some life or legacy from this world, to make it. Maybe we have learned of some impending threat, maybe even thousands of years away, but one worth trying to get something away before it hits.

Also when you (an AI) die in the matrix your neural network is subjected to a round of annealing to try again in another simulated human body. The whole “crop” are destined for robotic bodies on board the starship being built to go to the Centauri system.
Show HN: PulseTimer – A clean, customizable work/break timer you can self-host
by toxi360 | 2025-07-08 13:21:17+00:00
I built PulseTimer because I wanted a clean, distraction-free work/break timer that actually lets me tweak session lengths, break intervals, and notifications without requiring an account or tracking anything.

Features: – Customizable work sessions & break durations – Optional notifications with sound – Skip break button when needed – Session history and progress tracking – Fully local, no accounts or tracking – Self-hostable (Node + Express)

Live demo: https://timer.toxi360.org Source: https://github.com/Efeckc17/PulseTimer

Would love any feedback, suggestions, or bug reports!
by MartinMcGirk | 2025-07-08 13:21:59+00:00
What I have found is that using LLM’s to do the same stuff I already knew how to do is not super enjoyable. I know web application development, and having some agent build it for me is just a productivity gain with no job satisfaction. So I’ve been where you are recently.

But on the flip-side, using the AI to help me learn the bits of programming that I’ve spent my whole career ignoring, like setting up DevOps pipelines or containerisation, has been very enjoyable indeed. Pre-AI the amount of hassle I’d have to go through to get the syntax right and the infrastructure set up was just prohibitively annoying. But now that so much of the boilerplate is just done for me, and now that I’ve got a chat window I can use to ask all my stupid questions, it’s all clicking into place. And it’s like discovering a new programming paradigm all over again.

Can 100% recommend stepping outside your comfort zone and using AI to help where you didn’t want to go before.
by sampullman | 2025-07-08 13:22:30+00:00
It advertises interpreter size and RAM requirements front and center on the homepage, so I assume that's the main draw.

I'm not super familiar with embedded Lua but I believe it to require at least an order of magnitude more RAM and codespace than this, even without float support.

For my money, Berry is still a bit heavy. On a cheap M0 I'd rather have something with about half the required memory.