HackerTrans
TopNewTrendsCommentsPastAskShowJobs

techn00

no profile record

Submissions

Chronicle – Idiomatic, type safe event sourcing framework for Go

github.com
39 points·by techn00·11 months ago·7 comments

Ask HN: mDNS Locked Down on Macs?

2 points·by techn00·last year·1 comments

Show HN: Block Social Media

github.com
1 points·by techn00·2 years ago·0 comments

comments

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

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