News for hackers. Stuff that matters.

garfij

Re:Stop sending me huge PRs; a rant on Friday August 14, 2026 @11:43PM (#49307426)
I have a completely different experience than you, but I have also invested quite a bit of effort into the issue. I will agree that with simple prompting and without reminders, models do not do this sort of thing well or consistently. On the other hand I have two skills that I use regularly `/atomic-commits` and `/split-branch` that do exactly what you're describing. It has been an exercise in taking the time to put to words the concepts you're describing, which has been very interesting because it's forced me to put to words many thoughts on the subject I had never formalized, and you're correct, there's a lot of theory of mind and considering of other people's perspectives that go into it.

* Does the series of commits tell a cohesive story of the feature, each commit building on the last one? It's surprisingly easy to have an ordering of commits where each one builds, but the ordering is nonsense. * Is each commit scoped to the right size? Not too big of course, describes a single idea or concept. That same rule can also lead to commits that are comically small or separates two changes that can obviously be argued are "two different things" but that make more sense when seen together as a single conceptual change. * When is it appropriate to split up disparate changes within a single file, interwoven together, and how to correctly orchestrate that with git commands.

I care _deeply_ about commit hygiene and presentation because it's a foundation for making code review a smooth process and in the Before Times™ I would spend a _substantial_ amount of time reworking my own commits to ensure they were up to my own standards. I can count on two hands the number of commits I've authored on my own in the last year, and the process is immediately replicated and standardized across our entire engineering organization.

It is perfect 100% of the time? No, every once in a while I'll hit some weird case and need to issue some corrective instructions, or more likely ask the model why things are like that to see if there's tuning we need to do.

Commits are effectively like automated code-formatting now. This isn't years in the future, this is already _old news_.

Re:Text-to-CAD on Tuesday May 05, 2026 @10:54AM (#48023352)
I've been playing around with this recently too and started getting much better results when I told it how to produce rendered PNGs of the file and to inspect it from several angles during iteration. I'm really only just getting going with it though, so if you have any tricks to share, I'd love to hear them!
FWIW I've only ever been on the API based plan at work and we never seem to run into the majority of the problems people seem to be very vocal about. Outages still affect us, and we do have the intermittent voodoo feeling of "Claude seems stupider today", but nothing persistent.

Of course it's a stupid amount of money sometimes, but I generally feel like we get what we're paying for.

Do your markdown files have frontmatter configuration?
Re:Claude Code 2.0 on Monday September 29, 2025 @10:43PM (#45421392)
We use them extensively in our agent framework at work for all sort of things. You can make up whatever you want, if the tags are semantic enough it just gets it, or you can add a bit of explanation about it in the system prompt or whatever.

  - Circuit breakers when it seem like it's stuck in a loop
  - Warnings about running low on context
  - Reminders about task lists (or anything)
  - All sorts of warnings about whatever
We've done varying forms of this to differing degrees of success at work.

Dynamic, on-the-fly generation & execution is definitely fascinating to watch in a sandbox, but is far to scary (from a compliance/security/sanity perspective) without spending a lot more time on guardrails.

We do however take note of hallucinated tool calls and have had it suggest an implementation we start with and have several such tools in production now.

It's also useful to spin up any completed agents and interrogate them about what tools they might have found useful during execution (or really any number of other post-process questionnaire you can think of).

Probably less sensible than you think. How many terms would they need to do this over? How many terms would they need to do it for _at once_? How many tokens would that add to every prompt that comes in?

Let alone that dynamically modifying the base system prompt would likely break their entire caching mechanism given that caching is based on longest prefix, and I can't imagine that the model's system prompt is somehow excluded from this.

Re:Llama 4 Now Live on Groq on Saturday April 05, 2025 @05:40PM (#43597030)
Thank you for saying this out loud. I've been losing my mind wondering where the discussion on this was. LLMs without Tool Use/Function Calling is basically a non starter for anything I want to do.
Re:OpenAI O3-Mini on Friday January 31, 2025 @10:48PM (#42895474)
What do you find difficult about distilling your own prompts?

After any back and forth session I have reasonably good results asking something like "Given this workflow, how could I have prompted this better from the start to get the same results?"

Re:Feed readers which don't take "no" for an answer on Sunday December 22, 2024 @10:08AM (#42486784)
I believe if you read carefully, it's not blocked, it's rate limited to once daily, with very clear remediation steps included in the response.
> The officials each responded with “that very tired mantra: ‘But the virus is worse,’” Dr. Murphy recalled. “Yes, the virus is worse, but that doesn’t obviate doing research to make sure that there may be other options.”
Re:BASIC turns 60 on Wednesday May 01, 2024 @03:07PM (#40227827)
We had a version of Bomberman that was written in some version of BASIC in high school (maybe QBasic?). It was great because we could hack on it to modify the game and immediately play with those modifications.
Re:Cult of the Dead Cow – Veilid on Friday April 26, 2024 @01:42PM (#40172134)

  aria-hidden=true
Re:PostgreSQL is enough on Thursday February 08, 2024 @06:12PM (#39309089)
Other people have said it in this thread, but I think your experience is being severely clouded by Oracle. Postgres, MySql, and all have the `TEXT` datatype which are variable length (though with some upper bound)
Thanks for this, I"d been meaning to work up the energy to deal with their retention ops, but this was super easy.

For anyone else looking to do this, the trick is to choose "Other" instead of "Too expensive" or "My rate is going up" as the reason for cancelling. The later will just result in them trying to sell other standard subscription offers to you.

Re:Databases are the endgame for data-oriented design on Thursday December 07, 2023 @05:36PM (#38562750)
I feel like your perspective might be more narrow than you think it is.

I've been coding professionally for 20 years and at every job I've ever had we've made the decision to move away from ORMs or as much as possible given the constraints of our system in preference of directly writing SQL. My previous employer dumped Rail in favor of a Go backend (a language whose userbase almost entirely eschews the idea of ORMs) and my current employer never even had one to start with, choose to write SQL directly in a typescript backend.

I'm not going to pull the stats for you but this very website is FULL of articles talking about the benefits of writing your own SQL and I can't even remember the last time someone tried to pitch me a shiny new ORM.

> teaching people arcane terminology distinctions like between WHERE and HAVING

This is akin to complaining about needing to teach people arcane terminology distinctions between FOR and WHILE. I think it's a crime that many CS degrees I see don't include a course in database and SQL. There are of course some arcade corners of SQL (I sometimes have to look up the different JSONB operators in postgres), but WHERE and HAVING ain't it.

> flipping a coin on whether the query engine will use the index and execute in 10 ms, or decide to follow a different execution plan and take 5 minutes to run

Heavens, if you think using an ORM is going to help you here, have you got another think coming.

Your take on this is so foreign to me I was honestly shocked to see it. That being said, you probably aren't the only one, so perhaps my perspective is more narrow than I had assumed as well.

Following the example from the original comment, I would argue that if the content is otherwise unavailable for purchase or rent, then yes, it is ethical for anyone and everyone to pirate it.

Conversely it is unethical to retain the rights to shared cultural artifacts and _not_ provide a way for people to access them.

I'm papering over some grey area where if it's not available for purchase but you could get it from the library, maybe via inter-library loan, then maybe in aggregate it's better ethically to do that.

Re:The killer features of the Steam Deck on Tuesday October 24, 2023 @09:58AM (#37999256)
Why isn't it?

My gut reaction is that I don't agree with you, but I can't immediately put into words why. I think it's possibly that I view a "console" for gaming as a combination of a form factor and development environment and this seems to fit that bill.

I'm interested to hear the other side though.

Re:Webring Technology on Thursday September 21, 2023 @09:16AM (#37597164)
It's like the difference between a curated collection and flipping through a card catalog.
Re:Functional Programming Library for Golang by IBM on Friday August 18, 2023 @12:16PM (#37177822)
I spent about 6 years writing Go at $dayjob, and while what you're saying is technically true, idiomatically you also generally wanted to avoid scenarios where you would _want_ to observe them independently. The standard behavior is is if `err != nil`, the result should be ignored.
Re:Fixed Spelling Errors or Typos on Monday July 10, 2023 @09:59AM (#36666561)
Someone should Google about the .git-blame-ignore-revs file.
Re:Go 1.21 on Thursday June 22, 2023 @02:27PM (#36436591)
What sort of platonic ideal project do you work on that the majority of SQL you write doesn't need dynamic WHERE clauses? You're positing a majority use case I haven't encountered in 20 years of professional and personal projects.
It is no longer the case that pizza boxes are not recyclable. Paper Mills all over the country have no problem recycling them even with grease and cheese on them. Some localities haven't updated their guidelines so please check yours and let people know.

https://www.afandpa.org/news/2021/lets-set-record-straight-p... https://www.sierraclub.org/sierra/yes-you-can-recycle-your-p...

What are some signs a résumé was created in LaTex?
Re:Ink: React for interactive command-line apps on Monday May 08, 2023 @02:22PM (#35865173)
A sibling comment points at https://github.com/charmbracelet/bubbletea as a Go alternative with a similar architecture
Re:I'm Shadow Banned by DuckDuckGo (and Bing) on Sunday January 15, 2023 @11:48AM (#34390771)
What makes "invisible to everyone but you" a more "logical" interpretation of "shadow ban" than "banned but didn't tell you"? Are shadows invisible to everyone but you?
Re:CTEs as Lookup Tables on Wednesday January 11, 2023 @08:23PM (#34347803)
My understanding was that Postgres fixed this back in version 12. Are there still limitations here?
Re:CTEs as Lookup Tables on Wednesday January 11, 2023 @08:20PM (#34347782)
I've used CTEs fairly extensively so I'm generally familiar with their pitfalls, but I don't quite grok your point here. Can you go into a little more detail about what you mean by "take on any dependency in the parent tables"?
Re:I'm Building the Costco for Apparel on Thursday November 17, 2022 @06:23PM (#33647417)
Have _you_ heard of Primark? What about Primark even pretends to be about quality?

Older »