2,239 karma · joined Aug 17, 2012 (14y ago) · 1,091 submissions
Building indie and BigTech
Building: https://getgabrielai.com
Email: sisciapub [at] gmail [dot] com
comment 5d ago · link · parent
There is a [language](https://redbeardlab.github.io/dotFactory/) that let express complex workflows.
The workflow can be pretty much anything, eg:
1. Clone repo A and B + Start OpenCode + Feed a prompt into it
2. Pick up the commit generated by opencode for both repo, and run CI
Another workflow I created is: every day at 3AM, check that the documentation of the website is up to date, if yes exit, if not update the documentation. Pass the updated documentation to an adversarial LLM and if it pass, merge it - otherwise loop with the feedback from the adversarial one.
You have a concept of trigger, which can be either a webhook, or a github PR or a github issue, or just a cron expression. Or just someone manually clicking.
There is a concept of secrets and config, so the user can create their own secrets to start codex-cloud, or opencode, or making custom API call.
There is also the concept of manual gate, so you can wait for an human to actually click a button.
Finally, it supports running containers. Useful if you want to call an obscure API from your workflow, you don't have to wait for the platform owner to create a step for your API, but you can just run a container into it.
3.
Dot factory – a spec to describe complex (agentic) workflows(redbeardlab.github.io ↗)
1 points · by siscia · 1mo ago · discuss
comment 1mo ago · link · parent
The revenue for a new feature today is something sure. While the cost associated with supporting such feature will be up to debate in the coming quarters.
As often it is the case, we are moving on a long vs short term trade-off space. And I don't think any experience will generalize
comment 2mo ago · link · parent
If you can afford that, with all the coordination costs that it comes from it, good.
An alternative is just to let the downstream service own the retry logic. Too many requests? Just error out as soon as possible.
Each team manages its budget and each other team adapts.
comment 2mo ago · link · parent
Because the value of writing are not the words on a piece of paper but the idea they convey.
Politicians speech are not worth listening too because they have a copywriter polish them?
Teacher assistant homeworks are not worth to do, because they are made by a TA and not by the course professor?
Of course there are writing as: "Hey ChatGPT write me a piece around coding with LLMs" and yeah, those are not worth reading.
But most of the writing is usually, these are the ideas, this is how the idea are structured together, now let's review them and then let's get a nice prose out of it.
comment 2mo ago · link · parent
I personally found V4-flash an amazing model and really hungry to try 4.1-flash
For software factories, cost is much more a concern that standard development workflow and using anthropic models is just a non starter
comment 2mo ago · link · parent
> tests should test behaviour and not structure.
Of what?
The whole idea of software architecture, and underlying of my messages, is to structure the code so that it is easy, but before easy, possible, to work at the right abstraction level.
Which allows to tests the behaviour of components and not their structure.
Trivial example, say your code read from a socket and manage the bytes with some CPU operations and write them to another socket. (You may recognise it is basically what a compressor do)
The way in which you manage read and write to the sockets will make dramatically simpler or much more difficult to write good tests.
If you adopt strategies like sans-io, you will see that the testing is almost trivial.
If all the logic sprawl up from the read syscall in a loop, you will notice how more challenging testing becomes.
---
To answer your question, the way I let LLMs write code is very DI (dependency injection) based.
A class never instantiates another class - all the dependencies are passed to the constructor. Including time. Including whatever DB iteraction.
The reason why I prefer this is that I can test each component at every level of abstraction. I don't have to. But I can.
My current approach is to force coverage higher than say 80% as default and then when a bug is discovered drill down to the components.
comment 2mo ago · link · parent
The way you test code cannot (and should not) be decoupled by the way in which you architect the code itself.
80%+ of effective testing is not in the testing framework but in the code architecture.
The author doesn't mention how the code is being architected and managed.
For what it is worth, I found that forcing agents on DI/hexagonal architecture and forcing a trivial coverage check is quite useful and produce overall good enough code with relative little effort
comment 2mo ago · link · parent
Only saying "LLM writing" is honestly lazy writing. Specifically what?
I get the glaring cases, I get the idea that if the prose is generated then maybe also the idea, I get the feeling when reading a complete LLM authored piece.
But that doesn't help the piece, because - beside those glaring cases - most writing today is a mix between authors ideas and LLM prose.
comment 2mo ago · link · parent
The idea is that legislator don't have the full context and don't know the impact of their work - so they welcome industry or matter experts. Which is quite reasonable. I would argue that the job of the legislator is to know what they are doing, but I can see it being hard for specific technical issues that really benefits from first hand experience.
I am not even particularly against the idea of donating money to make sure a particular issue is known to the public, so that the public can make an effective voting decision.
But all of this seems quite too much.
Companies have disproportionate amount of money to donate and much less synchronization issue that citizen.
20.
Show HN: Structo – Claude Code for short form writing(structo.redbeardlab.com ↗)
2 points · by siscia · 3mo ago · 1 comment
comment 7mo ago · link · parent
https://redbeardlab.gitbook.io/acem/essays/ambient-developme...
I basically wrote a small GitHub app and I simply create a GitHub issue, the bot read it, run an LLM loop and come up with a PR (or a design)
Then I simply approve the pr (or the design)
I find it much calmer and much more productive
comment 8mo ago · link · parent
I think we can do much better.
The workflow of copy to chatgpt and getting feedback is just the first step, and honestly not that useful.
What I would love to see is a tool that makes my writing and thinking clearer.
Does this sentence makes sense? Does the conclusion I am reaching follows from what I am saying? Is this period useful or I am just repeating something I already said? Can I re-arrange my wording to make my point clear? Are my wording actually clear? Or am I not making sense?
Can I re-arrange my essay so that it is simpler to follow?
comment 8mo ago · link · parent
Good enough that I don't review it.
Granted, it is a personal project that I care only to the point that I want it to work. There are no money on the line. Nothing professional.
I believe that part of the secret is that I force CC to run the whole est suites after it change ANY file. Using hooks.
It makes iteration slower because it kinda forces it to go from green to green. Or better from red to less red (since we start in red).
But overall I am definitely happy with the results.
Again, personal projects. Not really professional code.
comment 8mo ago · link · parent
LLMs works on both translation steps. But you end up with an healthy amount of tests.
I tagged each tests with the id of the spec so I do get spec to test coverage as well.
Beside standard code coverage given by the tests.
29.
The Model, the Chat and the Application(slowtechred.substack.com ↗)
3 points · by siscia · 9mo ago · discuss