
Shounak Ghosh
@shahankk42
Followers
84
Following
6K
Media
71
Statuses
762
opinionated web dev || building https://t.co/WKUwAT2JAi
denial
Joined September 2023
lfggggg!!!. PDF uploads finally here! now what's your excuse to not use @sophist_ai?.
🎉 We've just hit 500+ users! To celebrate, we're dropping a feature you've ALL been asking for. Introducing PDF SYLLABUS UPLOADS!.Upload your multi-subject PDF, pick your course, and BOOM - instant interactive study map!. Stop wrestling with PDFs & start MASTERING your exams!
0
0
5
we did it guys. now you can create typesafe dexie objects from your @kysely_ schemas too!.
fixed the first part— creating a dexie object from a @kysely_ schema. this time the type inference is so perfect it's like you manually wrote up the types!. left: @kysely_ database schema.right: dexie object inferred from the @kysely_ schema!
1
1
4
wrote tests for this using @bunjavascript's testing library
fixed the first part— creating a dexie object from a @kysely_ schema. this time the type inference is so perfect it's like you manually wrote up the types!. left: @kysely_ database schema.right: dexie object inferred from the @kysely_ schema!
0
0
2
i'm using a factory to create a builder to create the inferred dexie object. why? because @typescript XD.
fixed the first part— creating a dexie object from a @kysely_ schema. this time the type inference is so perfect it's like you manually wrote up the types!. left: @kysely_ database schema.right: dexie object inferred from the @kysely_ schema!
1
0
1
had to stay up the whole night just to get that very type on hover (╥﹏╥).
fixed the first part— creating a dexie object from a @kysely_ schema. this time the type inference is so perfect it's like you manually wrote up the types!. left: @kysely_ database schema.right: dexie object inferred from the @kysely_ schema!
0
0
2
fixed the first part— creating a dexie object from a @kysely_ schema. this time the type inference is so perfect it's like you manually wrote up the types!. left: @kysely_ database schema.right: dexie object inferred from the @kysely_ schema!
screwed everything up and the entire thing imploded like a giant ball of types (╥﹏╥)(╥﹏╥)(╥﹏╥). i got frustrated and started working on my freelance gig (which i was casually ignoring). gotta start from scratch on this one.
0
0
3
screwed everything up and the entire thing imploded like a giant ball of types (╥﹏╥)(╥﹏╥)(╥﹏╥). i got frustrated and started working on my freelance gig (which i was casually ignoring). gotta start from scratch on this one.
update: i created an ultra simple CRUD wrapper over the kysely-inferred dexie db. and it's (almost) fully typesafe!!!. this is now officially waaay cooler
0
0
2
RT @shirish_arya16: Building SaaS in 2025? A few things you must know:. > Offer Google login. Most users won’t bother creating an account o….
0
68
0
explanation: i wrote a helper function that converts @kysely_ db schema types into a properly typed dexie.js object! all you gotta do is specify the primary keys. it's fully typesafe (Tanstack-level type safety) and it allows you to reuse schemas between the client and server.
0
0
4
this. this is huge.
Convex is already running PlanetScale for Postgres under the hood. Starting today, all new databases on @convex_dev get the blazing fast performance of PlanetScale Metal.
0
0
1
my ideal local-first fullstack setup would be:. - schema for tbe db shared b/w client and server.- client consuming data instantly (like as a react state, no async).- local db syncing with the remote db on mutation.- local db listening for remote updates. this is gonna be painful.
i'm attempting to build a sync engine. this will either be the best thing ever or go horribly wrong, no in-betweens.
0
0
2