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)
Is the @google Podcasts app even in development? The app crashes when opening a podcast from the search result. I’ve been trying to subscribe to a podcast for months and I can’t!
1
So glad to see the tide turning. Devs should have the choice to set the indent length in their editor. My last company used 4 spaces, I prefer 2 and I could do nothing about that. With tabs devs get a choice.
TIL Prettier is considering making tabs the default in 3.0. This is huge — it would make an entire set of programming languages more accessible (if you're somehow still pro-spaces, read this comment to instantly convert), and, more importantly, vindicate my personal preferences
1
Been using this to reset css animations for some time. It’s a shame `key` doesn’t get much attention.
⚛️ React tip: did you know that you can use the `key` prop to "reset" individual components? They're not only for lists! Changing the key creates a new instance of the component. No more useState/useEffect juggling for these resetting use-cases. Demo: codesandbox.io/s/using-keys-…
1
This needs a “Do Not Try This At Work” disclaimer. It’s pretty cool, though.
Don’t forget to play with your code. Don’t forget to do weird stuff in CSS. This is genuine code written in CSS. Change the code or the selector. And don’t forget to play with your code. codepen.io/jonneal/pen/ZErVV…
1
2
All those years of using border-bottom…
CSS Tip 💡 text-underline-offset When you apply an underline for an element using text-decoration with the value of underline, you can say how far that line should be from your text using the text-underline-offset property.
1
Am I the only one who codes in cursive? Loving this font by @a_is_for_fonts. It's not always that you see a monospace cursive font. #coding #javascript #fonts
3
1
4
I just realized that Britney Spears follows me here. Don’t know what to do with this information. 😅
1
1
TIL
This quoted post is unavailable.
1
1
⬜⬜⬜⬜⬜ ⬜⬜⬜🟩⬜ ⬜⬜🟩🟩⬜ ⬜🟩🟩🟩🟩 🟩🟩🟩🟩🟩
Never thought this day would come… WSL2 in Windows11 is freaking COOL! #Windows11 #linux
The surprises never end
Did you know that HTML has a <ruby> element??? It's not what you might think... codesandbox.io/s/thirsty-rom…
1
Replying to @VisitAruba
@VisitAruba Do I need a visa to visit Aruba as a citizen of Nepal currently living in Canada on a Work Permit. The site says residents of Canada are visa exempt from visa — does this include temporary residents like me?
True. Reminds me of the time I spent 2 hours implementing a simple typeahead search frontend in a coding interviews. There is so much complexity that we don’t think about…and that’s ok. Perfect is the enemy of good.
Here's what I really want to do a talk about: How async is much harder than anyone realizes, and how every tool that makes it "easy" is probably just hiding how poorly you're doing at it. And how a huge portion of async works correctly by luck more than anything, and that's okay.
Black magic
This quoted post is unavailable.
Awesome 10,000 foot view at what’s happening in the #javascript ecosystem. swyx.io/js-third-age
2
Normalize state machines in web dev!
🔥 Learn State Machines in 10 tweets 👇
4
While the (JS) world is fighting over the *right* way to do a loop,... just found the perfect use case for `do...while` in my code. Will this world accept me! :D #javascript
6
How do you build features like these? Let devs be creative or do you actively plan for it? Dates adjusting according to column size in MacOS. Apple has these small but thoughtful features all over the place. #userexperience #macos #softwaredevelopment
Would love to see this on @github!
Nice @code extension that allows project maintainers to create guided walkthroughs for their code and make onboarding even easier. ➡️ github.com/microsoft/codetou…
Went on a password change spree. Most retial sites, as expected, have bad password change ux. Surprised to find tech companies like @codility and @SlackHQ have no way to update password on the phone. :(
1