Twitter | Search | |
Nando Vieira
Web developer, music-addicted, married with children. I write stuff at . Work @ Stellar.
51,100
Tweets
57
Following
6,104
Followers
Tweets
Nando Vieira 16h
Replying to @fnando
I did this experiment while trying out different things. I’m using sass more because I wanted to dynamically generate stuff, but it turned out to be pretty nice.
Reply Retweet Like
Nando Vieira 17h
Remember this? I decided to go with color + shades + purpose. red: red-lightest red-lighter red-light red red-dark red-darker red-darkest Then purpose: callout-urgent-bg: red-lightest; callout-urgent-title-fg: red-darkest
Reply Retweet Like
Nando Vieira 18h
Choose your battles and fight for what actually matters. As I’m getting older, I’m fighting fewer and fewer battles. Peace of mind over being right.
Reply Retweet Like
Nando Vieira Nov 18
Replying to @___leigh___
Definitely. I think node should get its shit together and either remove .exec() or provide something that can escape arguments safely. Just state in the docs that you should escape without giving you the tools or even linking to .spawn() is irresponsible.
Reply Retweet Like
Nando Vieira Nov 17
Replying to @oieduardorabelo
what could go wrong? 🤔
Reply Retweet Like
Nando Vieira Nov 17
Node.js never ceases to negatively impress me. `child_process.exec(cmd: string)` docs says you should sanitize any user input, which is great. The bad part is that the stdlib doesn’t have anything to do it so. But Ruby, Python, Perl, and even PHP have a way. 🤦‍♂️
Reply Retweet Like
Nando Vieira Nov 16
I just created a Safari extension called UnMedium, to fetch articles from and render it without all the bullshit, including paywalls. I won’t release it to the world because I find it unfair, but yeah, it’s possible. 🤷‍♂️
Reply Retweet Like
Nando Vieira Nov 14
Replying to @lucasprag @disqus
Apparently, I had to change a setting on Disqus to auto detect themes. All good.
Reply Retweet Like
Nando Vieira Nov 14
Replying to @lucasprag @disqus
Interesting. I fixed it on my English blog, but the same trick didn’t work on my pt-BR blog. I have no clue how to fix this shit. 🤷‍♂️
Reply Retweet Like
Nando Vieira Nov 14
Replying to @lucasprag @disqus
Arrgh. is the worse. It doesn’t even recognize values assigned through media queries. This is being completely ignored. 🤦‍♂️
Reply Retweet Like
Nando Vieira Nov 14
Replying to @lucasprag @disqus
apparently gets lost when you use a css variable; is being assigned the color `var(—page-color)`. 🤦‍♂️
Reply Retweet Like
Nando Vieira Nov 13
I don’t wanna hide it. I want to disable it. Hiding it doesn’t bring back the old `backtick` quote behavior. 😔
Reply Retweet Like
Nando Vieira Nov 13
I kinda hate ’s new wsiwyg nonsense. I wish I could turn it off. I’m going to try to hijack their Electron app to disable it. 🤷‍♂️
Reply Retweet Like
Nando Vieira Nov 13
Replying to @lsdr
I like Netflix Originals so I’d keep both. The movie selection is better in Brazil, but still not up Disney’s. And I think it’ll get worse once licensing contracts expire.
Reply Retweet Like
Nando Vieira Nov 12
Just signed up for Disney+’s trial. $9 CAD/mo. 29 seasons of The Simpsons. Gravity Falls. Duck Tales (both old and new). Phineas and Ferby. Plus tons of movies I wouldn’t watch if I had to rent. A way better deal than Apple’s TV+.
Reply Retweet Like
Nando Vieira Nov 12
Replying to @oieduardorabelo
The best approximation in this case would be: 36 x 12 = 432 (save the 36) 435 - 432 = 3 (remainder) But the nice thing about it is that you can just repeat from smaller numbers, like my previous breakdown, which it’s easier just because any number would do.
Reply Retweet Like
Nando Vieira Nov 12
Replying to @oieduardorabelo
20 x 12 = 240 (save the 20) 435 - 240 = 195 10 x 12 = 120 (save the 10) 195 - 120 = 75 6 x 12 = 72 (save the 6) 75 - 72 = 3 (remainder) Now sums 20 + 10 + 6 = 36 R3. There are 3 different scaffold methods, but I didn’t explore them all.
Reply Retweet Like
Nando Vieira Nov 12
Replying to @oieduardorabelo
The scaffold method is based on approximations, so it could be smaller depending on how close you get from the actual number. But the idea is breaking down into smaller chunks, like this:
Reply Retweet Like
Nando Vieira Nov 12
My kid told me about how people do scaffold division in Canada and I spent the past 30 minutes doing Math exercises to learn this method. I have to say that it’s easier than the way I learned, although it’s more verbose. My kid thinks the scaffold method is dumb. 🤷‍♂️
Reply Retweet Like
Nando Vieira Nov 12
Replying to @glaucocustodio
Because pushing packages to the official channel is a pain in the ass. You have to open a pull request every time. Way easier to just keep your own.
Reply Retweet Like