Jagrit

5.8K posts

Jagrit banner
Jagrit

Jagrit

@ItsRoboki

delusional building picasso-motion | building sqlcx

In My Mind 가입일 Mart 2024
224 팔로잉598 팔로워
고정된 트윗
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
16
186
Jagrit
Jagrit@ItsRoboki·
Claude acquired Bun Meanwhile OpenAI now acquiring Astral
Jagrit tweet media
English
0
0
6
55
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
16
26
266
71K
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
170
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
42
7.4K
Jagrit
Jagrit@ItsRoboki·
@Av1dlive Who did the art? it looks really good
English
1
0
2
64
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
108
Manu Arora
Manu Arora@mannupaaji·
Petition to rename useEffect() to doNotUseEffect()
English
31
11
426
30.4K
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
146
Jagrit
Jagrit@ItsRoboki·
@pyvrma they use snapdom it's acceptable
English
1
0
1
12
Abhishek Verma
Abhishek Verma@pyvrma·
@ItsRoboki wait till you discover AJIO website where they have the whole webpage as a collection of images.
English
1
0
1
20
Jagrit
Jagrit@ItsRoboki·
@rohit4verse Exactly it's all Inference, Inference, Inference
English
1
0
2
636
Rohit
Rohit@rohit4verse·
One of the biggest realizations I have had this year is that the model race ended and nobody noticed. The real race is inference. The real moat is inference. I just read the best breakdown of inference engineering I have come across. Read this article.
Avid@Av1dlive

x.com/i/article/2034…

English
22
63
1K
274K
Jagrit
Jagrit@ItsRoboki·
@rohit4verse Meta failed to see the opportunity it would've been crazy to see Metaverse games now with DLSS5 of Nvidia
English
0
0
0
47
Jagrit
Jagrit@ItsRoboki·
Underrated Opinion:
Jagrit tweet media
English
1
0
7
64
Uzeb Khan
Uzeb Khan@X_Ibyte·
UNC now,20 feeling so bitter
Uzeb Khan tweet media
English
38
0
53
1.3K