Em 🏳️‍⚧️🦀
@msnook.xyz
820 followers 800 following 1.9K posts
socialist anarchist trans futurist. Bangalore, India. they/them 🍞🌹🏳️‍⚧️🏴‍☠️⌨️🚀 product & code person for lefty orgs. skeets do not reflect something something something
Posts Media Videos Starter Packs
msnook.xyz
Satya Vachan speaks on societal pressure, transsexuality, and setting yourself free
msnook.xyz
"log kya kahenge" but the log are coming from inside the house
msnook.xyz
soonness is measured in events, not days. the first time will always feel too soon
msnook.xyz
Taylor Swift fans trying to convince you they actually think her music is good is like professional wrestling fans trying to convince you they think it's real. It's a mass gaslighting campaign and on some level they know it.

It's kayfabe for white millennial women.
msnook.xyz
the word "tongues" is spelled wrong IDK what else to tell you
msnook.xyz
You just can't trust people who've never been ugly even for a few years
Reposted by Em 🏳️‍⚧️🦀
sunlo.app
Welp. I guess we're leaving Vercel...
A tweet from Vercel CEO proudly posting his selfie with Benjamin Ntanyahu, "Optimistic for peace, safety, and greatness for Israel and its neighbours."
Reposted by Em 🏳️‍⚧️🦀
jelvisweinstein.bsky.social
I know antifa isn't a real organization because I don't get 40 texts a week from them asking for donations.
msnook.xyz
Chatbot that lets me yap at it and send screenshots and voicenotes and it makes GitHub issues for me
msnook.xyz
Sometimes the correct pants is leggings, and more often than they want you to think, the correct pants is no pants
msnook.xyz
Step one for LOTS of things is to put on the correct pants for the task at hand
Reposted by Em 🏳️‍⚧️🦀
sunlo.app
d'y'all like my icons? we are doing a UX pass looking at navigation, discoverability of features, hinting at happy paths, etc. And icons are always a favourite topic to nerd out about with your designer pals :))
deck settings section called "your daily goal", there are three options, "10 - relaxed", "15 - standard", and "20 - serious". the icons are relaxed: a kitty cat; standard: 3 scoops of ice cream; serious: a rocket ship.
Reposted by Em 🏳️‍⚧️🦀
Reposted by Em 🏳️‍⚧️🦀
leguinbot.bsky.social
Ged stood still a while, like one who has received great news, and must enlarge his spirit to receive it.
msnook.xyz
okay hear me out – if we legalised insider trading there'd be no need for senators to help the companies they've -already- invested in, because they could change up their investments on the fly
the "think about it" meme (a guy with a wry smile, head tilted to the side, finger pointing at his temple)
msnook.xyz
Vitest was really easy to set up.

The AI wrote almost all of this first commit: github.com/mhsnook/sunl...

There's one config file and one utils file; the rest is test content. But I don't know yet because I'm only testing static Js function; not testing hooks, rendering, or integration yet.
github.com
msnook.xyz
in the code editor in the browser, and watch it re-run the tests and let me know which ones passed and which ones failed, and exactly when and where and why. I am really excited now. This should be fun.
msnook.xyz
And as I was thinking these things through, I was considering different aspects of the risk in my code and the distance between different certainties that I rely on. It's a wonderful feeling, to have some contrl over this. To have a beautiful visual UI in front of my where I can type right there...
msnook.xyz
that the input to that function was actually always guaranteed to be an array, and never null or undefined. My types ensure this already, but it may be a good thing to write tests for too, bc this one is critical for the UI to display properly in a number of situations.
msnook.xyz
One of the failing tests was inputing values that my TS types had already ruled out, so I corrected the input (from `undefined` to `[]`) and the test started passing. It's a good test, to ensure empty states are handled well, but the input type was wrong.

But it made me double-check that...
msnook.xyz
it feels after just an hour with it. I had an AI handle the boilerplate for me; it wrote me 7 tests for my most brittle function (which I asked it to look at first), and included mock data based on my ~99% coverage TS types. 2 tests failed right away; I could see them clearly in the web interface...
a screenshot of my vitest ui: a browser window, with a list of all my tests on the left and red ones for where i have failing tests; 7 different assertions, with 1 failing. On the right, I can see all the code, including highlighted red on the offending lines. I can type right there in the code editor and it will rerun my tests in live-time.
msnook.xyz
I have gone my entire dev life without really getting into tests (although I think I have a feeling for what pieces of a thing need to be tested, or are brittle when refactoring or moving; I've never written them myself).

I'm trying vitest-ui for the first time and it is INSANE how helpful
msnook.xyz
at a certain point, the silence is a voice of its own
msnook.xyz
I am the type person who will start replying to your comment as if i disagree with you, and then by the end of replying I realize I agree with you and we were talking about two slightly different things, and will still just... say the original thing 🤦