HackerTrans
TopNewTrendsCommentsPastAskShowJobs

techn00

no profile record

Submissions

Chronicle – Idiomatic, type safe event sourcing framework for Go

github.com
39 points·by techn00·11 ay önce·7 comments

Ask HN: mDNS Locked Down on Macs?

2 points·by techn00·geçen yıl·1 comments

Show HN: Block Social Media

github.com
1 points·by techn00·2 yıl önce·0 comments

comments

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

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