HackerTrans
热门最新趋势评论往期问答秀出招聘

techn00

no profile record

提交

Chronicle – Idiomatic, type safe event sourcing framework for Go

github.com
39 分·作者 techn00·11个月前·7 评论

Ask HN: mDNS Locked Down on Macs?

2 分·作者 techn00·去年·1 评论

评论

techn00
·2个月前·讨论
average python script writer
techn00
·7个月前·讨论
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个月前·讨论
Good article, you might like my lib https://github.com/DeluxeOwl/chronicle - covers a lot of event sourcing pains for Go
techn00
·10个月前·讨论
I thought that OP linked this devbox since so many subcommands from the cli are almost identical
techn00
·11个月前·讨论
Hi, author here

I wasn't aware of this library, I did check for name collisions with other Go repos though
techn00
·11个月前·讨论
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个月前·讨论
leaving this here: https://github.com/xo/usql
techn00
·12个月前·讨论
I am so sick of AI generated README's, they follow the samn damn format.
techn00
·去年·讨论
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
·去年·讨论
Biotech, wearables
techn00
·去年·讨论
"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
·去年·讨论
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
·去年·讨论
Does the compiler work with react native (expo)?
techn00
·去年·讨论
I recently found out that Wolt (being available in lots of european countries) is also owned by DoorDash
techn00
·去年·讨论
and xerox
techn00
·去年·讨论
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
·去年·讨论
I love single binary apps, easy to deploy.
techn00
·去年·讨论
It could however I specified mDNS so other developers won't be required to use tailscale (or to run a dns server)
techn00
·去年·讨论
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
·3年前·讨论
open-core*