Shreya Dahal (@squGEIm) header
Shreya Dahal (@squGEIm) profile picture

full-stack software engineer and open-source software enthusiast

Toronto, Ontario
Joined March 2009
Photo by Shreya Dahal (@squGEIm)Photo by Shreya Dahal (@squGEIm)Photo by Shreya Dahal (@squGEIm)Photo by Shreya Dahal (@squGEIm)Photo by Shreya Dahal (@squGEIm)
SERVER-SIDE APPS WERE SLOW SO WE STARTED BUILDING CLIENT-SIDE APPS BUT THEY TURNED OUT TO BE EVEN SLOWER AND NOW WE ARE COMING BACK TO SERVER-SIDE APPS AND EVERYONE SAYS BUILDING IT CLIENT-SIDE WAS STUPID FROM THE BEGINNING LOL
30
278
38
2,265
Shreya Dahal retweeted
So this tweet is obviously the kind of bait that can only be produced by a person who desperately desires any sort of attention, even if at the expense of their own reputation…but this story is actually really interesting and mostly ignored because of how it’s…good.
172
4,466
322
36,938
Great questions about Web Components! Here's my response to each question and a few others that were asked in the comments: Q1. Is JS a dependency? A: Web Components are just like any other HTML element. While they can be rendered without JS, it is required for interaction. 👇
This quoted post is unavailable.
7
17
2
69
There are better ways of spending 15 lakhs than on a Statue. If one wants to pay homage to Yama Buddha there are better ways and spending 15 lakhs of tax payers money is not the way.
20
66
14
636
Shreya Dahal retweeted
I realized the other day that even at this late point in the pandemic there is a basic thing many people still don't understand about diseases in general that underpins a lot of how we react to epidemics.
12
87
30
466
Shreya Dahal retweeted
The implications of this for bash scripting are terrifying.
TIL you can run SQL queries directly against CSV files as a one-liner using the default sqlite3 command line utility til.simonwillison.net/sqlite…
21
72
9
725
JavaScript Tip💡 #TIL You can remove an event listener using the abort controller API. An interesting use case is to remove multiple event listeners at once without calling `removeListener`.
9
53
1
368
The best way I've found to talk about tech debt respectfully is to just say "smart people in a hurry made this" It's there because it solved a problem. It may be some of the most thoughtful, delicate engineering work you have. Don't insult it!
43
297
59
2,260
Shreya Dahal retweeted
Google is the most powerful tool in the world. But only if you use it right. Here are 10 Googling tips that will make you smarter:
130
2,385
72
7,311
Shreya Dahal retweeted
The potato, a hardy South American crop that could withstand the frigid soil of the Himalayas, led to a boom in Khumbu's Sherpa population within a century of its introduction. But the potato was unknown in the Himalayas till late 18th century. +
7
46
24
202
with gas prices so high right now, this would be a great time for the Left to talk about how auto dependency puts the working class in inescapable debt traps in return for one of the most basic human rights: mobility
36
3,750
130
21,899
window.onerror = window.close; For that native feel.
29
2,295
22
2,011
Shreya Dahal retweeted
Little story about "ajax", aka `XMLHttpRequest`, aka `fetch`... Not sure how many people know this but XHR was actually ignored for the first many years of its existence. It was entirely possible to build ajax apps starting in ~1999, but .... nobody did.
26
101
20
649
Shreya Dahal retweeted
I've now been asked multiple times for my take on Elon's offer for Twitter. So fine, this is what I think about that. I will assume the takeover succeeds, and he takes Twitter private. (I have little knowledge/insight into how actual takeover battles work or play out) (long 🧵)
1,699
7,664
4,965
38,903
Shreya Dahal retweeted
if Wolf of Wallstreet were about crypto...
1,521
12,028
3,203
44,383
PSA: number inputs have a `.valueAsNumber` property that you may find handy
40
572
86
3,819
YAGNI (You Ain't Gonna Need It) = 🤮🤡🥊 YPGNIBNNAIYDINYPGGIWAWABOT (You're Probably Gonna Need It But Not Now And If You Do It Now You're Probably Gonna Get It Wrong And Waste A Bunch Of Time) = 💁‍♀️💃🌈
2
28
1
181
Jest will soon have out-of-the-box support for sharding test runs across CI instances. Jest's own test suite now complete in 3 instead of 18 minutes. The impact of this will be huge. Fantastic work by contributor Mario Nebl. github.com/facebook/jest/pul…
6
29
2
197
Quick, while the normies are sleeping. Let's talk about TikTok, behavioral shaping, kids, and why China is solving a problem the West won't realize exists for another 20 years. 🧵👇
54
701
152
2,303
❌ Still using [].join(', ') for your strings? ✅ Use Intl.ListFormat instead 👇 developer.mozilla.org/en-US/…
45
880
88
4,889