Jagrit

5.8K posts

Jagrit banner
Jagrit

Jagrit

@ItsRoboki

delusional building picasso-motion | building sqlcx

In My Mind Beigetreten Mart 2024
224 Folgt598 Follower
Angehefteter Tweet
Jagrit
Jagrit@ItsRoboki·
"99% of Javascript developers think async is parallel" -> Javascript is single threaded which means that any operation will block the main thread -> Even "console.log" blocks the main thread if spammed -> Worker threads is the only way to get parallelism in javascript How does Javascript work? -> Javascript internally uses a Call Stack (LIFO), last on the stack will be executed first. -> If the function takes too long it will block the thread So why does the UI not freeze? -> While javascript is single threaded, the environment it runs on (Chrome, Firefox, Node.js) are multi threaded. -> For the most part JS hands over the task to the Browsers APIs, allowing async tasks to run. -> Once task is finished it is moved to a queue (eg. macro task queue) -> And this process keeps going. Through this JS can stay single threaded while the browser does all the task. And why is this not considered parallel? -> Because this is not parallel execution -> But task assignment and waiting for it to finish is a totally different concept known as Event Loop which is not parallel So where does the issue come? -> When we're not using the Browser APIs. -> As then the JS needs to run code on it's own in a single threaded environment. -> If the task is big the thread is blocked! -> Examples: "JSON.parse", or maps on huge arrays. are simple silent killers
Jagrit tweet media
English
4
1
17
290
Jagrit
Jagrit@ItsRoboki·
@Av1dlive they made it simple for a reason
English
1
0
1
14
Siddharth
Siddharth@Pseudo_Sid26·
Guys this was very tough tbh. Many of you had amazing projects. Real shoutout to- @code_kartik my G @cheese_cakee_9 @sauravv_x @allamitk Will be giving away the claude pro to @jaywyawhare Check his work out. He has been building Gigavector since a very long time and the project is very niche and insane. Will attach the gift proofs by night, also under international nepotism scheme, I have given it to one more guy other than arinjay hehe. Please don't compare any projects here, all were good. I wasn't the sole judge for this, I did check most of the projects last night and some today, might have missed some though. Cheers 🥂 Keep building guys !!
Siddharth@Pseudo_Sid26

I am giving away 1 Claude pro subscription for a month. Drop in your best projects or projects you are willing to work on !! Will announce the results after 24 hrs, cheers🥂

English
9
2
37
1.2K
Jagrit
Jagrit@ItsRoboki·
Claude acquired Bun Meanwhile OpenAI now acquiring Astral
Jagrit tweet media
English
1
0
6
61
Rohit
Rohit@rohit4verse·
The trillion-dollar opportunity is in building the harness. You have the same API key as Anthropic. The reason you're not a billion-dollar company is because you haven't built the environment.
Rohit@rohit4verse

x.com/i/article/2028…

English
18
35
331
85.9K
Jagrit
Jagrit@ItsRoboki·
@Pseudo_Sid26 RAG is the baseline of learning those new concepts
English
0
0
0
18
Avid
Avid@Av1dlive·
We are the victims of our own achievements, our past, and even our compliments. Achievements feel great. But they reset your baseline. They raise your minimum. They lower your tolerance for bullshit. And life is mostly bullshit. So when the next setback comes, it crushes harder. You start doubting your wins. Calling them luck. Flukes. Neither your failures nor your successes define you. Both are cages if you cling to them. The best you ever did is holding you back if you keep staring at it. The real virtue is resilience. The ability to reset. To fucking start over. To return to zero without hesitation. Everything you did before was just practice. It’s static. Already used up. But you? You’re dynamic. You’re always getting better. The best you’ll ever do isn’t behind you. It’s still ahead, waiting for you to catch up. Strength is not what you’ve done. It’s how fast you can reset when it all burns down.
English
3
3
12
422
Utkarsh
Utkarsh@utk7arsh·
I don’t understand this. Why is Uber partnering with R2 Rivian for 2031 when they already have L4 with Nuro and Lucid starting this year???
Rivian@Rivian

A fleet of R2 Robotaxis is coming exclusively to @Uber. ⚡🌿 Today, we announced a partnership to help both companies accelerate their autonomous vehicle plans across 25 cities in the US, Canada and Europe by the end of 2031. rivn.co/uber

English
3
0
7
176
Avid
Avid@Av1dlive·
So I got early access to Minimax-M2.7 and it is insane this model is a builder's dream I made a space invader game on a raspberry pi here you go a look into it.
English
13
6
43
8.1K
Jagrit
Jagrit@ItsRoboki·
@Av1dlive Who did the art? it looks really good
English
1
0
2
68
Jagrit
Jagrit@ItsRoboki·
@mannupaaji I have literally banned the use of useEffect from ouur codebase > It's stupid > it makes you jump the code > with all the custom hooks you barely need this And this power in the hands of junior devs and AI is what makes me wanna die
English
0
0
2
110
Manu Arora
Manu Arora@mannupaaji·
Petition to rename useEffect() to doNotUseEffect()
English
31
11
427
30.6K
Jagrit
Jagrit@ItsRoboki·
@pyvrma it's prolly a good time for my hacking arc
English
0
0
1
5
Jagrit
Jagrit@ItsRoboki·
Adding images in design is good But adding image of a BUTTON in a design is DIABOLICAL 😭
English
2
0
9
147