Workaday Reading

Remove/Delete all duplicate lines

“There are a lot of ways to remove duplicate lines, but I want to leave only the unique lines, and delete all duplicated lines. There are thousands of lines I need to remove, and the unique lines are just 10-20 mixed with all those duplicate lines.”


read »

Workaday Reading

Dark Isn’t Just a Mode

“In my last column, I wrote about dark patterns, but this time I want to discuss something that is literally rather than metaphorically dark: inverted polarity–display methods, or dark mode. But, for many UX designers, dark mode is a new thing because operating systems are now supporting it.”


read »

Workaday Reading

The Wrong Abstraction — Sandi Metz

I originally wrote the following for my Chainline Newsletter, but I continue to get tweets about this idea, so I’m re-publishing the article here on my blog. This version has been lightly edited. I’ve been thinking about the consequences of the “wrong abstraction.”


read »

Workaday Reading

The Git Rebase Introduction I Wish I’d Had

“One of the most important (and confusing) git features in my new job was rebasing. Looking back now, the worst part was not finding a clear beginner’s guide. So for the past me, and any future devs like the past me, this intro is for you!”


read »

Workaday Reading

Understanding the Hidden Powers of curl

“curl is exceedingly powerful – unfortunately, much of this power is somewhat hidden in the purposeful non-verbosity and the underlying complexity of its numerous flags, configurations, and options. Once understood, curl boasts a wide range of powerful options.”


read »

Workaday Reading

htop explained

“For the longest time I did not know what everything meant in htop.

I thought that load average 1.0 on my two core machine means that the CPU usage is at 50%. That’s not quite right. And also, why does it say 1.0?

I decided to look everything up and document it here.”


read »

Workaday Reading

Awesome Design Tools

“The best design tools for everything. Curated by Lisa Dziuba & Valia Havruliyk from Flawless team. Accessibility is the practice of creating websites and apps usable for all people, including individuals with visual, motor, auditory, speech, or cognitive disabilities.”


read »

Workaday Reading

Events API

“This event does not require a specific OAuth scope or subscription. You’ll automatically receive it whenever configuring an request URL. The attributes Slack sends include: Careful, response URLs are case sensitive.”


read »

Workaday Reading

Google Maps API links

“Using the Google Maps API v3 Links to examples of various useful things and documentation Using the Google Maps API V2 Links to examples of various useful things and documentation”


read »

Workaday Reading

“Most serious software development projects use coding guidelines. These guidelines are meant to state what the ground rules are for the software to be written: how it should be structured and which language features should and should not be used. Curiously, there is little consensus on what a good coding standard is. Among the many that have been written there are remarkable few patterns to discern, except that each new document tends to be longer than the one before it.”


read »

Workaday Reading

Twitter

“If I am using icons that have more weight than the text, I typically make the icons slightly lighter than the text for inactive states ?? pic.twitter.”


read »

Workaday Reading

About Nika

“At Mozilla I often end up building my changes in a patch stack, and used git rebase -i1 to make changes to commits in response to review comments etc. Unfortunately, with a repository as large as mozilla-central2, git rebase -i has some downsides:”


read »

Workaday Reading

What Every Developer Should Learn Early On

“As a developer, you’ll hear a lot of crazy, unbelievable theories about what “lines of code” signify. Believe none of them. Lines of code is a ridiculous metric to base decisions on. In very rare cases it tells you something, in all the other cases, it tells you nothing.”


read »

Workaday Reading

Algebraic Effects for the Rest of Us

“Have you heard about algebraic effects? My first attempts to figure out what they are or why I should care about them were unsuccessful. I found a few pdfs but they only confused me more. (There’s something about academic pdfs that makes me sleepy.)”


read »