Better HN
topnewbestaskshowjobs
Log inSign up

siscia

2,239 karma · joined Aug 17, 2012 (14y ago) · 1,091 submissions

siscia.at.hn

Building indie and BigTech

Building: https://getgabrielai.com

Email: sisciapub [at] gmail [dot] com

Submissions

comment 5d ago · link · parent

I build something similar, based on similar ideas: https://factory.redbeardlab.com

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.

comment 1w ago · link · parent

Rust code tend to be "better" because those concerns forces the architecture upfront and guaranteed that nothing breaks later on.

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

Are all the position in Microsoft WFH?

I have several friends who works in Microsoft and would disagree

comment 1mo ago · link · parent

That's usually what a judge decides.

Anyway, I went checking and I wasn't able to find any opening in Microsoft in the Seattle times online version. Which is definitely not a nice optics and would play unfortunately well with the current allegations

comment 1mo ago · link · parent

> It doesn't say anywhere that it cannot be advertised in a small town.

I think it is implies in: "The newspaper must be widely distributed in the area where the job is located."

comment 1mo ago · link · parent

Just to be clear, when I say that it is impossible even to self review, it was an indication of how difficult is to review code of colleagues.

comment 1mo ago · link · parent

Thanks so much for saying this!

Even with a single instance of Claude Code, running I am producing so much code that it is impossible to even self-review.

Can we please focus on that?

comment 1mo ago · link · parent

At the same time if the organisation want code fast, it gets code fast.

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

It seems VERY cooperative.

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

> If you can't spend the time to write it, why should anyone read it?

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

Do you have specific examples of what you mean here?

comment 2mo ago · link · parent

It is not clear to me how the verbosity metrics works. Can someone shades more light on it?

comment 2mo ago · link · parent

I am building software factories and deepseek IS the workhorse.

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

You are not wrong but if we go deeper we will find more nuances.

> 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

It is still early, but I find that this experiment makes little to no sense and it is barely useful.

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

It is not clear to me what the author is SPECIFICALLY against.

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

What breaks?

I am trying to understand in your view what are the parts that actually breaks and what kind of improvement we would need.

comment 2mo ago · link · parent

From one perspective I am not against lobbying in general.

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

> Claude applied techniques I didn’t expect, from disciplines I wouldn’t have thought of

Do you have any example?

comment 7mo ago · link · parent

Lately I am finding myself doing more and more of what I called "ambient coding" so that I am not directly using anymore all of those coding harnesses.

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 7mo ago · link · parent

It is not clear to me how much CPU I get.

"Unlimited" as in 8vCPU and then I am billed for it on consumption?

comment 8mo ago · link · parent

There is a lot of positive comments in this comments section that I don't mind being a bit rough.

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

I think you guys are doing pretty much everything right.

comment 8mo ago · link · parent

Another trick that I use.

I force the code to be almost 100% dependency injection-able.

It simplifies a lot writing tests and getting the coverage. And I see the LLM being able to handle it very very well.

comment 8mo ago · link · parent

Yes it is passable.

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

What I found more useful is an extra step. Spec to tests, and then red tests to code and green tests.

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

12345
37