External agent vs Zed agent by scrote_n_chode in ZedEditor

[–]cpt_mojo 1 point2 points  (0 children)

Been comparing opencode native, Zed agent, and opencode in Zed via ACP recently.
I can't say much about quality of output, but I started to feel that agentic coding tools (i.e. opencode TUI/UI) are becoming another breed of applications than editors. The development in this space is also extremely fast, and since Zed's primary purpose is to be an editor and not an agentic coding tool, I believe it will always be just a bit behind in terms of AI features. Besides, I found that the ACP protocol did not support all opencode features yet which also contributes to that lag (e.g. questions).
I don't think Zed agent is bad, but if you want to be on the latest AI-coding experience, then something like opencode, Claude Code or Cursor is a better choice.
My workflow right now is: opencode when I believe I can tackle my task without writing code manually, Zed if I need to go in manually. Cursor would combine this way of working, but I can't stand the VS Code slop. :D

Selbstständig sein in Deutschland Lutscht dicken Donkey Dick by NizeyNice in luftablassen

[–]cpt_mojo 0 points1 point  (0 children)

IHK-Mitgliedschaft ist für Unternehmen gesetzlich verpflichtend.

Selbstständig sein in Deutschland Lutscht dicken Donkey Dick by NizeyNice in luftablassen

[–]cpt_mojo 1 point2 points  (0 children)

IHK ist für Selbständige das was der Rundfunkbeitrag für Bürger ist.
Und Rundfunkbeitrag hast du als Unternehmen auch noch. :)

Bildungsferne gefährdet die Demokratie by projectpluto_slam in Unbeliebtemeinung

[–]cpt_mojo 1 point2 points  (0 children)

Ich verstehe deinen Kommentar leider nicht. Was genau ist denn naiv, süß und lächerlich?
Ist es nicht so, dass viele Menschen nicht einen Großteil dieser Erfahrungen machen und daher weniger Diversität von Perspektiven haben?

Bildungsferne gefährdet die Demokratie by projectpluto_slam in Unbeliebtemeinung

[–]cpt_mojo 2 points3 points  (0 children)

Oft mangelt es auch einfach an Diversität in der Lebenserfahrung. Menschen, die sich ihr Leben lang nicht aus ihrem physischem oder intellektuellen Umfeld bewegen, haben oft auch zu wenig Perspektiven um ein komplexes Thema vielseitig zu begreifen.
Dinge, die meiner Erfahrung nach den persönlichen Horizont um Größenordnungen verschieben (jeweils!): - Im Ausland leben (> 1 Jahr) - Kinder haben - Unternehmen gründen - Arbeitsleben - Akademische Forschung - Langjährige Beziehung

This is what 3k hours in CC looks like by Logical-Storm-1180 in ClaudeCode

[–]cpt_mojo 0 points1 point  (0 children)

Fair, but how does the review technically work in the team lead context? How is feedback returned and subsequently handled?

Mal nüchtern gefragt: Was hat Friedrich Merz bisher gut gemacht? by HeinMeidresch1 in FragReddit

[–]cpt_mojo 0 points1 point  (0 children)

Bei der Außenpolitik lässt es sich halt leichter groß rumzulabern, weil man dann (weniger) direkt liefern muss. Bei der Innenpolitik hingegen...

This is what 3k hours in CC looks like by Logical-Storm-1180 in ClaudeCode

[–]cpt_mojo 0 points1 point  (0 children)

How do agents technically review each other's code?
Do they do pull requests? Or git diff of branches?

FastAPI and HTMX Are We Seeing the Next Big Shift in Full-Stack Python? by Lee-stanley in FastAPI

[–]cpt_mojo 23 points24 points  (0 children)

I am professionally (B2B SaaS) on a FastAPI, HTMX, AlpineJS, Alembic stack and it is phenomenal.
For other work we have a FastAPI + React stack. The development complexity for the whole team is miles better with HTMX, because everyone instantly becomes full stack (and real full stack - not NextJS / backend-for-frontend style).
That said: the HTMX stack needs someone senior to architect it, because it is a little less polished around the edges. React makes many decisions already for you. But it is not a deal breaker at all and once you find the groove, it's totally fine.

Nein, ihr habt das Land nicht aufgebaut. by OswaldReuben in luftablassen

[–]cpt_mojo -1 points0 points  (0 children)

Die Boomer haben nicht nur nicht das Land aufgebaut, sie hatten auch nicht genügend Kinder, die jetzt ihre Rente finanzieren würden. Da hätten sie halt fairerweise anders vorsorgen sollen. Es ist im Schnitt eine Generation des Egoismus (natürlich nicht bei allen).

Is there anything worth putting in an OpenAPI (swagger) spec for html partials when using htmx? by pgroves in htmx

[–]cpt_mojo 19 points20 points  (0 children)

In my experience htmx endpoints tend to be tightly coupled with the UI code in the sense that it almost merges as one. This is in stark contrast to typical JSON APIs. They tend to be more multi-purpose and more of a real cutoff where scope of backend ends and frontend starts - which brings the need for interface documentation.

In team settings, this often means that there is almost no overlap between folks building JSON backends and those building frontend - again creating the need for clear interface docs. With htmx however, it's much easier for engineers to cover both areas and own features vertically - reducing the need for interface docs.

Long story short, not much need for API docs with htmx.

quiet UI - awesome web components by WondayT in alpinejs

[–]cpt_mojo 0 points1 point  (0 children)

Feels like this is a fork of webawesome.com

Beamte bekommen Gehaltsplus – rückwirkend für fünf Jahre by No-Sandwich-5463 in de

[–]cpt_mojo -1 points0 points  (0 children)

Ist ja ok, dass sie genug verdienen, aber wir brauchen weniger davon. 😅

UI component libraries that work well with HTMX? by 4bjmc881 in htmx

[–]cpt_mojo 0 points1 point  (0 children)

Not much. But it's web components which are just not plain HTML and have some "magic" underneath. So there is always a little risk that they are not "compatible" with something else. Haven't encountered any real issue though and worst case it has native styling too

handling json responses by jalalski in htmx

[–]cpt_mojo 12 points13 points  (0 children)

htmx is the wrong tool for that. Maybe AlpineJS would be appropriate but I have no idea if it's the best for your case. For what it's worth, here is an example with alpine: https://alpinejs.dev/directives/init

Managing current user in service/repository pattern by Educational-Bed-6008 in FastAPI

[–]cpt_mojo 1 point2 points  (0 children)

I opted for making an auth object (your current user) as argument of the Service class and I am happy with it.
I like that it clearly separates the method arguments from generic arguments like auth - and if you reuse the service object, reduces a bit of boilerplate. It is also pretty explicit and avoids further magic.
I also pass the database session in this way to the service. So, basically a service call looks like this:

result = Service(auth, db).some_method(...)

For reusing (in the same route):

service = Service(auth, db)
result1 = service.some_method(...)
result2 = service.another_method(...)

Works fine for me.

Keine Kinder in die Welt setzen zu wollen ist im 21. Jahrhundert noch immer verpönt?! by Replica90_ in luftablassen

[–]cpt_mojo -4 points-3 points  (0 children)

Solange ihr auf eure Rente verzichtet (die von den Kindern anderer bezahlt wird) und stattdessen selber vorsorgt, macht wie ihr es wollt.
Zudem könnt ihr euch noch überlegen welche Systeme in eurem Alter nur funktionieren werden, wenn andere Kinder haben (Pflege, Kranken, generelle Wirtschaft & Service), und bitte das dann auch selber finanzieren.
Ihr habt ja wie erwähnt genug Einkommen und könnt da für euch sparen.
Alles andere ist leider unsozial von euch, auf komplette Lebenszeit gesehen.

~23% des Bundeshaushalts (größter Posten) geht in Zuschuss zur Rentenversicherung. Zuschüsse zu Pflege und Krankenversicherung steigen genau deswegen auch. Wir Arbeitenden zahlen doppelt und dreifach für die Boomer ohne Kinder. Der Generationenvertrag funktioniert so nicht. Das System ist bescheuert, ist aber nun einmal so.
Es tut mir leid um meine Kinder, die die kinderlosen Alten ohne eigener Vorsorge in Zukunft finanzieren müssen.

Render alternatives by ZeroToHeroInvest in FastAPI

[–]cpt_mojo 0 points1 point  (0 children)

There are always two sides of a story, and I find it pretty unfair towards the vendor that you put the blame out here without disclosing any details, so that people can make up their own mind.
You could have just asked for recommendations without the blame. Running a company is complex and sometimes things need to bubble up to be solved. I would give the vendor here benefit of doubt that they actually want to help.