Sumit Ghosh

4K posts

Sumit Ghosh banner
Sumit Ghosh

Sumit Ghosh

@summitkg

CTO and Co-Founder @ https://t.co/uvPmgt0xwW. CS @iitdelhi

Bangalore, India Katılım Mart 2016
613 Takip Edilen533 Takipçiler
Sumit Ghosh retweetledi
Papii🥤
Papii🥤@ammalusty·
having a male cat is so cool its like having a eunuch advisor who doesn't know anything about the world
English
64
1.7K
20.9K
510.4K
simran
simran@simransvault·
where are the funny people? there's no one truly funny on this bird app any more
English
1
0
7
141
Sumit Ghosh
Sumit Ghosh@summitkg·
Brb fueling the inevitable accelerationist singularity
English
2
0
2
194
simran
simran@simransvault·
@YoRHa2Pee cause women are the shit. everyone wants to be or fuck or befriend or impress or avenge or love or scorn a young beautiful intelligent woman.
English
1
0
3
61
simran
simran@simransvault·
@summitkg insane lore behind this tweet
English
1
0
1
49
simran
simran@simransvault·
type of guy who says - i will be proven right - but never explicates proven right about what lol
English
1
0
0
131
Sumit Ghosh
Sumit Ghosh@summitkg·
Most engineering teams are not using AI to its full extent. Certainly alpha here, but an important caveat is that capable/intelligent/experienced engineers are needed at the helm. You can't completely bypass that.
English
0
0
1
160
Sumit Ghosh
Sumit Ghosh@summitkg·
Bravo Nolan
Español
0
0
1
230
Sumit Ghosh
Sumit Ghosh@summitkg·
@tanhighe Relatable af. But alone for *too many* days will shift you into a completely different and weird headspace too. Have felt that a few times, not very pleasant.
English
0
0
0
41
Sumit Ghosh
Sumit Ghosh@summitkg·
Chat should I study the blade?
English
0
0
1
212
simran
simran@simransvault·
cuddle season is here
English
1
0
1
186
Sumit Ghosh retweetledi
Mehul Mohan
Mehul Mohan@mehulmpt·
This is such a powerful thing. A sign of a very sharp developer is that they create code with minimal states and all states handled.
dax@thdxr

we end up looking over a LOT of PRs given how many we receive for opencode i can boil down a lot of mistakes into not understanding the idea of state and derived state the rule of thumb is you want to default to having as few pieces of state as possible and deriving values where you can for example if you have count and you want a value that represents double count i often see this 𝚕𝚎𝚝 𝚌𝚘𝚞𝚗𝚝 = 𝟶 𝚕𝚎𝚝 𝚍𝚘𝚞𝚋𝚕𝚎𝚍 = 𝟶 𝚏𝚞𝚗𝚌𝚝𝚒𝚘𝚗 𝚜𝚎𝚝𝙲𝚘𝚞𝚗𝚝(𝚟𝚊𝚕𝚞𝚎) { 𝚌𝚘𝚞𝚗𝚝 = 𝚟𝚊𝚕𝚞𝚎 𝚍𝚘𝚞𝚋𝚕𝚎𝚍 = 𝚟𝚊𝚕𝚞𝚎 *𝟸 } when you really want this 𝚕𝚎𝚝 𝚌𝚘𝚞𝚗𝚝 = 𝟶 𝚌𝚘𝚗𝚜𝚝 𝚍𝚘𝚞𝚋𝚕𝚎𝚍 = () => 𝚌𝚘𝚞𝚗𝚝 * 𝟸 reason being as things get more complicated it's really difficult to make sure changing one thing updates everything that depends on it it's actually very rare you need a new piece of state - to the point where whenever i see someone create it i immediately investigate if it's needed this is a trivial example but the root idea applies to everything from frontend to backend to database of course if you have performance issues you might want to precompute derived values but deriving state is a good default mindset

English
1
2
110
11.5K
simran
simran@simransvault·
why are people surprised at marc's tweet anyway?
English
3
0
5
572
Sumit Ghosh
Sumit Ghosh@summitkg·
Wtf apparently the composer got cancelled in the metoo era and then dropped off the face of the earth. Hoping he comes back for TES V at the very least damn.
English
0
0
0
67
Sumit Ghosh
Sumit Ghosh@summitkg·
Skyrim soundtrack is such a gem, I keep going back to it for a relaxing background music whenever I work. Shame I never ended up finishing the game. Maybe someday.
English
1
0
2
181
simran
simran@simransvault·
agi is far away actually chatgpt can't solve 12th grade math
English
2
0
8
435