Safia Profile Banner
Safia Profile
Safia

@captainsafia

Followers
23,778
Following
287
Media
1,216
Statuses
13,474

I help build @aspnet at @microsoft . Running and powerlifting in my spare time. Dream big and follow through even bigger.

Seattle, WA
Joined July 2013
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@captainsafia
Safia
6 years
lolsob at the epidemic of men who believe that having to think before they speak is a horrifying inconvenience.
Tweet media one
206
4K
16K
@captainsafia
Safia
2 years
Why would I pay GitHub $100/year for an AI to tell me what code to write when men do it for free?🤔
269
1K
15K
@captainsafia
Safia
4 years
Sure, sex is great. But have you ever merged a PR that was open for 15 days and had 200+ comments.
179
772
10K
@captainsafia
Safia
6 years
A perhaps unpopular opinion (and a little ironic coming from me). You don’t have to write blog posts, contribute to open source, give technical talks, or anything else to be a capable and great engineer. You can leave your code at the office and that’s totally fine.
113
1K
5K
@captainsafia
Safia
4 years
The most unrealistic thing about Star Trek is how good the engineering team is at estimates.
69
849
5K
@captainsafia
Safia
7 years
Take: People don't miss Google Reader, they miss the ability to curate their content consumption without the invasive nature of recommendation algorithms hindering their autonomy of choice.
100
1K
5K
@captainsafia
Safia
5 years
I just finished my first three weeks at Microsoft. I’m blown away by all the incredibly smart and capable engineers I meet. Then I realize that I’m one of them and it feels wonderful.
54
106
4K
@captainsafia
Safia
6 years
99.99% of the time, “rockstar” engineers acquire their status by withholding information from the team and setting themselves up as a bottleneck for key development work.
119
815
4K
@captainsafia
Safia
6 years
I wanna tweet out a DNS joke but it might take y’all 24 hours to get it.
106
750
4K
@captainsafia
Safia
5 years
What’s your on-brand Git commit message? Mine is “Fix typo.”
1K
308
3K
@captainsafia
Safia
6 years
Many people think diversity and inclusion is an additive process (add more "diverse" people) when really it's a subtractive process (remove the hostile people).
21
602
3K
@captainsafia
Safia
2 years
New tech job perk: you get financial compensation every time you are the only woman in a meeting.
48
253
3K
@captainsafia
Safia
4 years
Last night, I attended an event hosted by a company I’ve been interviewing with for the last few months. I was introduced to their Head of Program who, after a few drinks, told me that I’ll never be hired because I’m three kids in a trench coat.
52
109
2K
@captainsafia
Safia
7 years
No. We can barely teach it to people.
@BBCTech
BBC News Technology
7 years
Can we teach robots ethics?
18
64
59
28
563
2K
@captainsafia
Safia
6 years
Takes 10-week programming language design course with a focus on effectively using debuggers. 1 years later: `console.log("here")`
52
343
2K
@captainsafia
Safia
6 years
What you say: We need developers who can work 60 hours a week for five years. What I hear: Our engineering managers can’t scope and prioritize work, our development workflow is full of needless and time-consuming hinderances, and we’re generally a bunch of assholes!
26
304
2K
@captainsafia
Safia
5 years
My favorite thing to do in meetings with senior (like way senior) engineers is write down the questions that they ask. The engineers who get to that level are generally the best at their jobs and they always ask the best questions.
28
166
2K
@captainsafia
Safia
6 years
Wanna hear a joke about SYN flood attacks? Wanna hear a joke about SYN flood attacks? Wanna hear a joke about SYN flood attacks? Wanna hear a joke about SYN flood attacks? Wanna hear a joke about SYN flood attacks? Wanna hear a joke about SYN flood attacks?
28
437
1K
@captainsafia
Safia
2 years
We've talked about catfishing but have we talked about middle-aged men in corporate America using 10-year old images for their profile pictures?
117
45
1K
@captainsafia
Safia
6 years
Fuck the concept of “passion” that requires that you constantly be excited and committed to your business/project all day, every day. It’s OK to hate and be disenchanted by the things you love sometimes.
15
223
1K
@captainsafia
Safia
7 years
I call this piece "College and Capitalism."
Tweet media one
17
519
1K
@captainsafia
Safia
5 years
The best engineers write more documentation than code.
46
194
1K
@captainsafia
Safia
7 years
command line tip of the day: use `man ascii` to display an ASCII table. I always need to look up ASCII codes and this so handy!
31
400
972
@captainsafia
Safia
4 years
There are two types of programming and nothing in between.
Tweet media one
16
135
934
@captainsafia
Safia
4 years
Monetizing open source by making men pay every time they explain a feature I implemented to me. Problem solved!
16
82
913
@captainsafia
Safia
3 years
btdubs 🤪 this is a big milestone for me and i'm excited for the next one 😀
Tweet media one
37
11
894
@captainsafia
Safia
6 years
Fellow neat-freaks! Add this to your .bash_profile and thank me later. alias gcmb="git branch --merged | grep -Ev '(^\*|master)' | xargs git branch -d" It cleans all branches you’ve got locally that have already been merged.
19
169
891
@captainsafia
Safia
2 years
People who have standing desks in their home office: is it worth the hype? Y'all actually out here standing or nah?
446
27
871
@captainsafia
Safia
3 years
Not sure why it took me so long to find this handy little icon on @github but my life is forever changed.
Tweet media one
18
63
864
@captainsafia
Safia
2 years
Gen Z pull request reviews
Tweet media one
18
28
847
@captainsafia
Safia
4 years
Programmer tip of the day: just throw your laptop out the fucking window!
24
118
830
@captainsafia
Safia
6 years
Think* before your code. *about ethics, technical complexities, potential negative side effects, goals, intentions, malintentions, improvements, and ramifications
14
261
810
@captainsafia
Safia
6 years
I just wrote a unit test before writing any implementation code. I’ll accept my Turing Award now. Thank you very much.
14
64
795
@captainsafia
Safia
6 years
There are no "visionaries." There are just people who have access to education, resources, and the freedom, safety, and ease of mind to think creatively.
26
218
785
@captainsafia
Safia
6 years
I just reduced the size of an app bundle by 49% by replacing a single dependency with an internal utility function. The dependency was `slug` which brought in 1.9mb of data to handle character encodings that I didn't need in my app. I love the feeling of spring cleaning!
13
61
774
@captainsafia
Safia
7 years
I just discovered the nifty `cal` Unix command. It's so useful for when I'm planning things far in advance. I love computers!
Tweet media one
27
281
738
@captainsafia
Safia
6 years
When you’re debugging something and all you can find is a single Google Groups post from Steve A. written in the fall of 2003 with no responses and you realize you’ve never felt true loneliness until this moment.
20
111
730
@captainsafia
Safia
7 years
git tip of the day: use 'git checkout branch_name -- filename' to fetch a file from another branch to the current one.
15
285
734
@captainsafia
Safia
8 years
As an engineer you are constantly in a state of discomfort and intellectual incompleteness, a state most people aren't comfortable with.
9
461
715
@captainsafia
Safia
7 years
i'm curious to know: if you have a disability, what's the hardest thing about browsing the web? rt for visibility, please and thanks!
124
1K
707
@captainsafia
Safia
6 years
Here’s a wild concept: you can like something *and* be critical of it at the same time.
19
101
712
@captainsafia
Safia
7 years
This is a response to one of my command line tip tweets. Imagine if you received these almost every day for 2 weeks. How would you feel?
Tweet media one
126
161
663
@captainsafia
Safia
5 years
command line tip of the day: use `rm -rf` to automatically get rid of all bugs in a directory of code.
Tweet media one
26
116
666
@captainsafia
Safia
4 years
Me when someone submits a complete and detailed bug report.
Tweet media one
6
76
660
@captainsafia
Safia
5 years
TypeScript in the streets, JavaScript in the sheets.
12
63
609
@captainsafia
Safia
7 years
I made fony, a simple command line tool for generating dummy JSON data from a template string. Check it out!
22
173
601
@captainsafia
Safia
6 years
A while back, I realized that the answer to most "How do I X?" questions is "Start doing it, even if you do it badly. Eventually, if you keep at it, you'll learn the techniques and strategies you need to be successful at it."
13
176
573
@captainsafia
Safia
6 years
I’ve been writing HTML for over a decade now and I still need to look up the proper syntax for a <link/> to an external stylesheet.
35
59
570
@captainsafia
Safia
5 years
I'm excited-super-stoked-over-the-moon-happy to announce that I'm joining @Microsoft as a software engineer on the @AzureNotebooks team. Looking forward to continue pushing notebooks and interactive computing forward with everyone at Microsoft! 🎉⭐️
82
17
570
@captainsafia
Safia
7 years
What fresh hell is this?!!?
Tweet media one
Tweet media two
50
246
562
@captainsafia
Safia
6 years
Hello! I’m still looking for my first full-time, post-grad engineering gig. I’m looking for SE roles in Chicago/remote starting in early April. Let me know if you’d like to interview me! Retweets also appreciated! 🙇🏽‍♀️
64
580
548
@captainsafia
Safia
7 years
I couldn't find something like this so I made a small tool that allows you to create a LICENSE file in a directory.
24
192
536
@captainsafia
Safia
2 years
men write one open source library then don't know how to act
23
31
534
@captainsafia
Safia
6 years
Announcement time! I’m excited to announce that I’ll be joining the team at @tock as a software engineer in April! I’ll still be side-hustling on @tanmulabs , blogging, doing open source, and being Safia. But I’m excited to grow and learn with the fantastic folks at @tock !
48
13
539
@captainsafia
Safia
7 years
There are thousands of programmers who've come before you and thousands who'll come after you and none of them write code like you do.
19
210
526
@captainsafia
Safia
5 years
*taps mic* Hi! Hello! Is this thing on? OK. Great! JUST BECAUSE YOU WROTE TESTS DOESN'T MEAN THEY ARE GOOD TESTS.
23
83
523
@captainsafia
Safia
7 years
command line tip of the day: this one is for us typoists (harhar, get it?), use `^typo^fix` to fix typos in the previously executed command.
13
188
508
@captainsafia
Safia
7 years
command line tip of the day: use `cat - >> filename` to append content from standard input to an existing file!
17
178
495
@captainsafia
Safia
4 years
My mechanical keyboard has arrived which means my little home office setup is complete! I’m so excited to use this keyboard!
Tweet media one
38
12
476
@captainsafia
Safia
5 years
📍 TypeScript errors | |_____________________ | 📍Actually thinking | about your data | types and code. | | ____________________| | | | 📍Using any
5
63
470
@captainsafia
Safia
7 years
command line tip of the day: pipe to `nl` to get line numbers in command outputs!
17
159
467
@captainsafia
Safia
4 years
Constant Stress and Suffering
@ellevenio
Elle Mahoney 🌿 Senior UI/UX Designer
4 years
What does CSS stand for? Wrong answers only.
778
48
450
15
68
460
@captainsafia
Safia
7 years
Me: *starting a new project* Technical Innovation: React? Vue? Preact? Elm? Me: *copies index.html from previous project*
7
96
452
@captainsafia
Safia
5 years
Things open source devs say: "Wait I didn't realize they were actually using this in production."
7
68
457
@captainsafia
Safia
5 years
OK but can it find my clitoris?
@OpenAI
OpenAI
5 years
We've trained an AI system to solve the Rubik's Cube with a human-like robot hand. This is an unprecedented level of dexterity for a robot, and is hard even for humans to do. The system trains in an imperfect simulation and quickly adapts to reality:
254
4K
11K
23
31
447
@captainsafia
Safia
6 years
Unit tests are an important part of self-care.
4
85
435
@captainsafia
Safia
6 years
Knowing how to code can be annoying sometimes because I was trying to book an appointment at the salon but here I am debugging jQuery modals.
17
51
425
@captainsafia
Safia
6 years
This little function maps `mv` to `git mv` when you're inside a git directory to track filename changes on git more succinctly. ``` function mv { if git rev-parse --git-dir > /dev/null 2>&1; then git mv $@ else mv $@ fi } ```
6
63
426
@captainsafia
Safia
28 days
The software industry is rapidly converging on just three languages: nit-picking, bikeshedding, and pedantry. It would be smart to learn one of those really well, and have at least a working acquaintance with the other two.
14
61
415
@captainsafia
Safia
6 years
Little Safia had some code E-I-E-I-O And on this code she had some prints E-I-E-I-O With a "here" here And a "here 2" there Here a "here 3," there a "here 4" Everywhere a here, here Little Safia had some code E-I-E-I-O
19
77
401
@captainsafia
Safia
7 years
Saying you hate a programming language is a sign of developer immaturity. They emerge and develop in contexts you might not be aware of.
46
129
394
@captainsafia
Safia
6 years
This quote came up on my automated quote generator and I *really* liked it. "One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever." — Chinese Proverb
3
82
387
@captainsafia
Safia
6 years
Productivity life hack.
Tweet media one
18
92
381
@captainsafia
Safia
6 years
Howdy! I read some JavaScript and C code to figure out what happens under the hood when you call ‘fs.access’ in @nodejs . And I wrote about what I found out so you can read it! Enjoy! ⚡️
5
93
378
@captainsafia
Safia
7 years
command line tip of the day: use the `units` command to convert between common units (or a custom units file if you prefer).
20
140
373
@captainsafia
Safia
5 years
Hot take to have with your coffee this morning: men on dating apps who say they want partners who can “handle their sarcasm” are just looking for someone they can verbally abuse without being called out on it.
9
40
358
@captainsafia
Safia
8 years
The only requirement for being a programmer is being comfortable with constantly learning, especially when it feels overwhelming.
5
220
348
@captainsafia
Safia
6 years
OK. I figured it out. Adulting is working and paying taxes so you can go buy ice cream cones at 9pm without anyone stopping you.
8
37
355
@captainsafia
Safia
5 years
Tidying Up with Marie Kondo but I’m Marie and the closet is a 45 year old code base written in C.
9
42
349
@captainsafia
Safia
6 years
Ever wondered what happens when you run `cd ~/Downloads`? I did! I read through some shell scripts and C code to figure out how the `cd` command works and wrote a blog post about it. Enjoy! ✨
15
84
350
@captainsafia
Safia
8 years
If you know a Black hair salon that needs web development or SEO work, let me know and I'll take care of them for free. If not, RT please!
14
1K
339
@captainsafia
Safia
7 years
Follow up thought: "haters gonna hate" and "fuck the haters" are not scalable approaches.
14
49
338
@captainsafia
Safia
7 years
when they leave you alone with the team's codebase for 5 minutes so you reindent and comment everything to your taste.
8
66
345
@captainsafia
Safia
7 years
There is a mommy rocking her baby girl at this tech conference I'm at. It's awesome. The future is female.
12
17
346
@captainsafia
Safia
6 years
I used to think that the whole idea of tech CEOs avoiding decision fatigue by wearing the same thing everyday was reasonable. Then I realized that I don’t want people who think choosing their clothing is that overwhelming a task to be leading any industry or company.
22
48
341
@captainsafia
Safia
7 years
I don't care how many types of coffee and how much catering your office gets, there is nowhere I'd rather work than my little desk at home.
Tweet media one
22
21
336
@captainsafia
Safia
6 years
Funny how none of the white dudes who graduated from the computer science program the same year as me get called “junior” software engineers.
6
28
336
@captainsafia
Safia
3 years
has earned a coveted spot on my bookmarks bar. It might not have all the source code on GitHub indexed but, gosh, it's fast and gets the job done.
7
73
340
@captainsafia
Safia
6 years
What things are inside the `.git` directory and what are they used for? I investigate and find out. Enjoy! 💫
6
116
329
@captainsafia
Safia
4 years
Now is a great time to share that I recently transferred to the team at Microsoft. 😋 I've been working on the Blazor team for a few weeks and it has been fun! The web is awesome and I want to be one of the people who push the needle with it.
@captainsafia
Safia
4 years
My favorite types of questions to answer on GitHub. A curious user asked how the parameters in URLs are mapped to properties in Blazor components and I answered with a detailed walkthrough of the code. You know I love a code deep dive! 😜
5
13
116
13
13
326
@captainsafia
Safia
4 years
This joke is a reference to this tweet I saw going around.
Tweet media one
15
6
318
@captainsafia
Safia
5 years
My period tracker has a section that predicts my mood at different times. I hate how accurate it is because it reminds me I’m nothing more than a meatsack of proteins orbiting the sun with a behavior set completely predictable for a metal box of electrons to figure out.
10
11
322
@captainsafia
Safia
5 years
JOMO. I’m here for it.
Tweet media one
5
71
318
@captainsafia
Safia
4 years
Doing my job even though I have really bad imposter syndrome.
Tweet media one
25
20
318
@captainsafia
Safia
7 years
Rich, white men will never ban guns because guns enabled, and continue to enable, their accumulation of territorial and political power.
8
54
304
@captainsafia
Safia
6 years
Best feeling is when your bank balance goes up unexpectedly and you realize it’s because of the monthly royalty payments for the book you self-published. ❤️🌟💯😏🙏🏽
3
1
312
@captainsafia
Safia
5 years
I’ve been keeping this secret for a while and I know many friends and family have been wondering. I’m excited to announce that I’ll be getting married in the spring! I’m so stoked for this next chapter in my life. Here’s a sneak peek of the wedding invitation!
Tweet media one
17
13
314
@captainsafia
Safia
7 years
I'm building , an all-inclusive online platform for independent writers producing paid subscription content.
13
83
313
@captainsafia
Safia
6 years
I was talking to this dude once and he was raving about how he’s all into the “hustle” and the “entrepreneurial lifestyle” and then he was all like my dad gave me $50,000 to start my business. lol.
4
15
306