News for hackers. Stuff that matters.

Dm_Linov

Show HN: Claworc – Manage multiple OpenClaw instances from a single dashboard

https://github.com/gluk-w/claworc

My friend wanted to give everyone on my team their own OpenClaw agent but quickly ran into the obvious problems: no isolation, no auth, no way to manage N instances without it becoming a mess.Claworc is a lightweight control plane that wraps each OpenClaw instance in its own container. You get a web UI to create/stop/remove instances, watch the agent's browser live via proxied noVNC, chat with...

( Read More... | no comments | on HN )

Show HN: Optimal UX – Server-side A/B testing that runs before page load

https://optimalux.com/

Optimal UX runs experiments directly on the server side through a Cloudflare Worker, meaning variations are applied before the page even reaches the browser.The core idea is to intercept and modify the HTML stream at the edge, which eliminates client-side overhead. For websites using Cloudflare, it's just a matter of installing the Smart Agent. The same agent works seamlessly with React, Vue,...

( Read More... | 1 comment | 2 points | on HN )
That's because you haven't had all code messed up when someone pushed in the wrong order :-)
Re:Ask HN: Why are Git submodules so bad? on Sunday June 19, 2022 @03:39PM (#31802638)
There's actually a third alternative, called Git X-Modules (https://gitmodules.com). It's a tool to release the PIA submodules are causing, as described in may comment above :-) In short, it takes all synchronization to the server's side. So you can combine repositories together in any way you like, and still work with a multi-module repository as if it was a regular one - no special commands, specific course of actions, etc.
Git X-Modules is a server-side app that syncs your project directories with other repositories. Think of it as a server-side alternative to Git Submodules.

Use Cases:

- Combine multiple projects and components into a single repository for cross-project development (like a monorepo, but keeping the original repositories up and running)

- Include parts of other projects into yours

- Share common assets across multiple projects

How it works:

- An X-Module is a regular directory. It’s synced on your Git server with an external repository.

- When an X-Module is updated the changes go to the external repository.

- When an external repository is updated the changes are applied to the X-Module.

- When there are two conflicting updates Git X-Modules applies one update and turns the other into a pull request

This tool is available as a free GitHub app. There's also an app for Bitbucket DataCenter (self-hosted).

Some of the real-life cases we've heard of:

- Code review team wants to see all changes made in various repositories, in one place

- A private project contains an open-source part, that is shared in a separate repository

- A library or component is maintained in a separate repository and shared between several projects

What's your case?

Re:Ask HN: Monorepo vs. Multi-Repo on Tuesday December 14, 2021 @01:12PM (#29555062)
Both approaches have their good and bad sides. There is, however, a way to combine the advantages of both ways, having a monorepo synchronized with multiple individual repositories by Git X-Modules(https://gitmodules.com).

I am a part of the team behind it, so AMA about the tool :-)

It looks like the last step in missing: after discovering all disadvantages of submodules (they are in fact quite dangerous when working in a team), the author should have had switched to Git X-Modules[0] and use the same multi-monorepo approach without extra hassle :-)

[0] https://gitmodules.com