News for hackers. Stuff that matters.

random_kris

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

Very cool wanted to build something similar myself
Lol why would you block twitter haha
Re:A New Era for Mixed Reality on Monday April 22, 2024 @10:17PM (#40127781)
Maybe because it was woke propaganda and now we realized everyone is doing that shit
Re:AI and the Problem of Knowledge Collapse on Saturday April 06, 2024 @05:37AM (#39951216)
> 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

Re:New Seafloor Map Only 25% Done, with 6 Years to Go on Wednesday April 03, 2024 @01:06PM (#39920029)
Well if it isn't profitable it isn't desirable by society enough?
Re:The many flavors of edible ants on Monday March 18, 2024 @08:37PM (#39751757)
The many flavors of people...
After biking for some months a 15min ride shouldn't get you too sweaty
Re:ORMs are nice but they are the wrong abstraction on Wednesday February 07, 2024 @04:30AM (#39286414)
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

Re:Implementing system-versioned tables in Postgres on Wednesday February 07, 2024 @04:29AM (#39286405)
I implemented this using drizzle and PG not long ago

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

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

Sadly my motivation did not last long. Nice project

Re:ORMs are nice but they are the wrong abstraction on Thursday February 01, 2024 @10:21AM (#39216877)
https://orm.drizzle.team/ Basically this ?
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
And the party is in charge of enforcing those laws right ?
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

Re:Tamagui – UI kit that unify React Native and Web on Friday November 24, 2023 @05:02PM (#38408872)
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

Re:SQLite doesn't use Git, they wrote their own VCS on Thursday November 16, 2023 @02:23AM (#38286631)
As a web dev, user of 100 different tools to render something to browser, I like how self contained it seems to be.
Re:TypeScript Monorepo with NPM Workspaces on Monday October 02, 2023 @07:24AM (#37736782)
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

Re:Germans shrug off economic gloom at booming Oktoberfest on Sunday October 01, 2023 @03:23PM (#37729544)
The 40-50$ is not a lie.

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

Re:React Server Components made our site A LOT faster on Thursday September 21, 2023 @03:25PM (#37602812)
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

Re:Smoking Is a Dying Habit. Not in Germany on Saturday September 02, 2023 @08:04AM (#37360734)
Not true at all
Care to elaborate further? I've been building on top of trpc and even for inter service communication we use it
Re:Supabase Local Dev: migrations, branching, and observability on Wednesday August 09, 2023 @04:44PM (#37068122)
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

Re:Police Raid Worldcoin Warehouse in Nairobi on Monday August 07, 2023 @02:37PM (#37038672)
Any good way to implement global payment network (mobile or not) that is not subject to government whims?
How to "fix" this ? I can see this all the time where I work. I call people out on it. And from bosses POV I am seen as the guy who delivers.. but from peers perspective I am a bit of a hard ass... And I feel like that anytime I don't look and inspect their work they go into this mode, maybe even as a sort of a revenge ?
Re:I Posted Myself Out of a Job on Wednesday July 05, 2023 @02:42AM (#36596344)
Indeed couldn't agree more
Every problem has a solution. When it is hard take a step back and return to the problem. Eventually you will find a solution or a quick hack

Older »