Better HN
topnewbestaskshowjobs
Log inSign up

random_kris

266 karma · joined Aug 8, 2018 (8y ago) · 237 submissions

Submissions

comment 2y ago · link · parent

In microservice world. Do you want to track features in each service or have a source of truth using flagd I prefer central source of truth

comment 2y ago · link · parent

Nice! Sometime ago i made a small poc with usage on Frontend (nextjs) Backcend (js) Flag provider (flagd + flag api that serves json flags from db)

Cool stuff

https://github.com/grmkris/openfeature-flagd-hono-nextjs

comment 2y ago · link · parent

Very cool wanted to build something similar myself

comment 2y ago · link · parent

Maybe because it was woke propaganda and now we realized everyone is doing that shit

comment 2y ago · link · parent

> You are better programmer that way and I would say a better person

Lost you here. A better person by using old school IDEs? What are you smoking

A better person used LLM and whatever tool he gets at disposal to get job done ASAP and then goes outside to enjoy life with fellow humans

comment 2y ago · link · parent

Well if it isn't profitable it isn't desirable by society enough?

comment 2y ago · link · parent

The many flavors of people...

comment 2y ago · link · parent

After biking for some months a 15min ride shouldn't get you too sweaty

comment 2y ago · link · parent

But you have raw SQL operator and all drizzle operations does is to build you the SQL query.

Well other orms do that as well ofc. But I feel this is a low level as it can get

comment 2y ago · link · parent

I implemented this using drizzle and PG not long ago

Check the repo here https://github.com/grmkris/drizzle-pg-notify-audit-table

comment 2y ago · link · parent

Had epiphany to build something similar not long ago https://github.com/grmkris/monocon

Sadly my motivation did not last long. Nice project

comment 2y ago · link · parent

https://orm.drizzle.team/ Basically this ?

comment 2y ago · link · parent

These two points (docs and looking at source code) Started working for me only few years into the career, when I had a really good grasp of foundations

comment 2y ago · link · parent

And the party is in charge of enforcing those laws right ?

comment 2y ago · link · parent

Possible integration with drizzle orm ?

Let me define schema with drizzle and use its generated objects to interact with db. Postgres driver for server SQLite driver for client

comment 3y ago · link · parent

I love tamagui and their starter kit... But on other hand I feel anything I'd build with it could be achieved as web app + pwa. For anything more complex id go with native app.

Anyone else feel the same ?

So building a good API layer + web app gives you possibility to build a good native app on top of same API later when your idea is validated

comment 3y ago · link · parent

As a web dev, user of 100 different tools to render something to browser, I like how self contained it seems to be.

comment 3y ago · link · parent

https://payloadcms.com/

For js/node

comment 3y ago · link · parent

I prefer pnpm for monorepos

1st It caches node modules making it faster and space efficient

2nd It creates a root node-modules and then a node-module for each sub package. Which makes it much easier to work with monorepo packages. With a single node-modules you can accidently import packages that your package doesn't declare in package.json

comment 3y ago · link · parent

The 40-50$ is not a lie.

A good quality meal with some wine and dessert will cost you +40$ for sure

comment 3y ago · link · parent

I wonder how much overhead does the rendering or react on server add ?

If I have an API sever and then instead of calling those apis from client, I make all db calls on the server and then render the html. How much of processing that was done was spent on rendering html.

Also I wonder how react server components and serverside rendering go with localfirst software?

I love localfirst web apps, they seem kinda incompatible with serverside apps

comment 3y ago · link · parent

Not true at all

comment 3y ago · link · parent

I hope I never have to work with you

comment 3y ago · link · parent

ngmi

comment 3y ago · link · parent

Care to elaborate further? I've been building on top of trpc and even for inter service communication we use it

comment 3y ago · link · parent

I cannot decide what to do on my project. Use drizzle as orm and supabase just as a nice wrapper around my PG db.

Or go fully into supabase ecosystems and also use their types and their built in migrations and types

comment 3y ago · link · parent

Any good way to implement global payment network (mobile or not) that is not subject to government whims?
12345
8