Better HN
topnewbestaskshowjobs
Log inSign up

techn00

700 karma · joined Jun 3, 2020 (6y ago) · 142 submissions

https://github.com/DeluxeOwl https://andreisurugiu.com
Submissions

comment 1mo ago · link · parent

Effect looks so cool, but the only thing that is off-putting (for me) is the DI. I don't even mind the syntax.

I just don't like these DI systems that pull stuff "out of thin air" auto-magically instead of just passing arguments.

comment 2mo ago · link · parent

I can't see how this is different from a fine tuned LFM2.5 encoder

comment 3mo ago · link · parent

When do you spend time with your spouse lol

comment 6mo ago · link · parent

average python script writer

comment 11mo ago · link · parent

The title says "dev environments". Can dagger be used for creatin dev environments, like devcontainers or https://www.jetify.com/docs/devbox/quickstart ?

comment 1y ago · link · parent

Good article, you might like my lib https://github.com/DeluxeOwl/chronicle - covers a lot of event sourcing pains for Go

comment 1y ago · link · parent

I thought that OP linked this devbox since so many subcommands from the cli are almost identical

comment 1y ago · link · parent

Hi, author here

I wasn't aware of this library, I did check for name collisions with other Go repos though

comment 1y ago · link · parent

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.

10.

Chronicle – Idiomatic, type safe event sourcing framework for Go(github.com ↗)

39 points · by techn00 · 1y ago · 7 comments

comment 1y ago · link · parent

leaving this here: https://github.com/xo/usql

comment 1y ago · link · parent

I am so sick of AI generated README's, they follow the samn damn format.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Biotech, wearables

comment 1y ago · link · parent

"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"

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Does the compiler work with react native (expo)?

comment 1y ago · link · parent

I recently found out that Wolt (being available in lots of european countries) is also owned by DoorDash

comment 1y ago · link · parent

and xerox

comment 1y ago · link · parent

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

21.

Ask HN: mDNS Locked Down on Macs?

2 points · by techn00 · 1y ago · 1 comment

comment 1y ago · link · parent

I love single binary apps, easy to deploy.

comment 1y ago · link · parent

It could however I specified mDNS so other developers won't be required to use tailscale (or to run a dns server)

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

the implementations of getFileContext() and shouldStartNewGroup().

comment 1y ago · link · parent

> Transactional custom mutators that allow complex logic and server-side specific behavior are coming in beta.

It seems right now it only supports CRUD-style logic? Suppose I have a Go backend service (or any other language, really). Creating and exposing some pg tables for the read only path is something reasonable if I want to integrate with zero.

But what about the write path in such an app? Where you have some business logic that doesn't involve simple CRUD, will (or does) zero support that with custom mutators?

edit: I didn't see this notion page which address this https://replicache.notion.site/Introducing-Zero-8ce1b1f184aa...

comment 1y ago · link · parent

> This is currently $19/mo plus search API cost (2.5c per search). Please reach out to support@kagi.com for invite.

Isn't 2.5c per search kind of expensive? serp api is 1 cent for the $150/month = 15k searches plan

comment 1y ago · link · parent

side question: what do you use to make the diagrams?

comment 1y ago · link · parent

It's amazing what you can do with S3. It's one of the best things that AWS has to offer.

I wonder, is there a formal definition for a set of primitives that allow you to build an ACID database? Assume an API of some kind (in this case, S3) that you can interact with - and provides, I don't know, locks, % durability, etc.

What would make you say, 'Having those primitives, I CAN build an ACID database on top of it'?

comment 2y ago · link · parent

It doesn't, you cant find any reference to the captcha solving or anything like that in the repo. There's one line for the stealth plugin that is commented out:

// chromium.use(stealthPlugin());

imo this is the hardest part about scraping, evading bot detection and captchas.

edit: and keeping the scraping logic & rules up to date

12345