HackerTrans
TopNewTrendsCommentsPastAskShowJobs

techn00

no profile record

Submissions

Chronicle – Idiomatic, type safe event sourcing framework for Go

github.com
39 points·by techn00·11 miesięcy temu·7 comments

Ask HN: mDNS Locked Down on Macs?

2 points·by techn00·w zeszłym roku·1 comments

comments

techn00
·2 miesiące temu·discuss
average python script writer
techn00
·7 miesięcy temu·discuss
The title says "dev environments". Can dagger be used for creatin dev environments, like devcontainers or https://www.jetify.com/docs/devbox/quickstart ?
techn00
·8 miesięcy temu·discuss
Good article, you might like my lib https://github.com/DeluxeOwl/chronicle - covers a lot of event sourcing pains for Go
techn00
·10 miesięcy temu·discuss
I thought that OP linked this devbox since so many subcommands from the cli are almost identical
techn00
·11 miesięcy temu·discuss
Hi, author here

I wasn't aware of this library, I did check for name collisions with other Go repos though
techn00
·11 miesięcy temu·discuss
Hey, author here

You're not forced to use that comment, you can pass the event however you like, if you satisfy the event.Any interface (by having the method EventName() string).

I prefer that comment because Go doesn't have native sum types, and I believe that by using the framework in combination with the gochecksumtype linter, you get the best developer experience and type safety (you DO have tab autocomplete with the events for recordThat - the type system helps because of the sealed interface).

But again, if you don't want to use the linter, no problem. You can create constructors for the events however you like, just like in your example.
techn00
·11 miesięcy temu·discuss
leaving this here: https://github.com/xo/usql
techn00
·12 miesięcy temu·discuss
I am so sick of AI generated README's, they follow the samn damn format.
techn00
·w zeszłym roku·discuss
This story is similar to the guys at senja.io: tech founder => marketing/growth person joins => business skyrockets to 1M ARR. It looks to me like a combination of having a product with some revenue and havingthe luck of someone like Jon joining.

I'd be more interested on how to find people like Jon tbh.
techn00
·w zeszłym roku·discuss
Biotech, wearables
techn00
·w zeszłym roku·discuss
"We were gonna ask 1399 euros for this (overpriced already) but we think that some people might want to give us more money if we market it as an experiment"
techn00
·w zeszłym roku·discuss
I agree 100% with everything you've said, and I'm from the EU. EU companies are burning and pocketing as much money as they can for themselves while delivering sub-par software.
techn00
·w zeszłym roku·discuss
Does the compiler work with react native (expo)?
techn00
·w zeszłym roku·discuss
I recently found out that Wolt (being available in lots of european countries) is also owned by DoorDash
techn00
·w zeszłym roku·discuss
and xerox
techn00
·w zeszłym roku·discuss
I have a small go binary that uses caddy and dns-sd on mac to have any kind of domain names on my local network (uses mdns) with https. Really nice for accessing websites from my phone.

https://github.com/DeluxeOwl/localhttps
techn00
·w zeszłym roku·discuss
I love single binary apps, easy to deploy.
techn00
·w zeszłym roku·discuss
It could however I specified mDNS so other developers won't be required to use tailscale (or to run a dns server)
techn00
·w zeszłym roku·discuss
My ideal k8s dev env (I wonder if any of the tools do this):

- local on my machine.

- ingress with https + subdomains integrated with mDNS (so I can access the services easily from my phone when developing mobile apps). mDNS also makes sure that other devs can set it up locally for themselves.

- easily swap what I'm working on, if I have 3 services A, B, C, while I'm working on A locally, I want B and C to run in the cluster and to be able to interact with them, same if I'm working on B, A and C should run in the cluster.
techn00
·2 lata temu·discuss
the implementations of getFileContext() and shouldStartNewGroup().