There are times when macOS mucks with DNS lookups. For example, a corporate VPN client might tell macOS that DNS lookups for certain domains (i.e. domains inside the company) are to be handled differently.
I fixed bug last night.
The bug was difficult to fix because the code was so complex. I wasn’t really able to fix it until I simplified the code. Once the code was simplified the bug was easy to fix. While doing this I found an anti-pattern that I now call “One loop trying too hard”.
Biden has a mandate.
Here are some of my favorite secrets about Google Docs, Google Sheets, Gmail, etc.
Did you know that buried in the U.S. Constitution is a story? It’s in the first amendment!
I learned that President Reagan was shot while walking home from school. I was about a block away from my house and I remember running the whole way home.
If you have zero knowledge and need to make a decision, here’s some advice.
Remember back in the old days when if you ordered anything from a company, delivery was “6 to 8 weeks”?
According to The Red Cross, there are fewer house fires in December and January.
Five things you should know about the Linux
cal command. There are
many, many, more features listed in the man page but these are the
ones you should know.
cal command appeared in 1973 in what was called “Version 5
AT&T UNIX”. Linux and macOS (and all *BSD systems) have very
different clones. Check the man page for details.
The best financial advice I ever got:
Pretend you didn’t get that raise.
You’ve tweeted that you feel “defund the police” is a terrible policy. I hope to change your mind.
Ignore the name. It is imperfect. In software engineering terms, “defund the police” is similar to the strangler pattern.
For the non-engineers reading this, TSP is a reasonable, pragmatic, and down-to-earth way to slowly replacement an old system with a new system. The name is terrible… I would have called it the warm hug of gradual change.
There are a zillion pages explaining how umask works from the user’s point of view, usually with great charts and tables explaining all the bits.
However in all my years I’ve never seen umask explained from the
developer’s point of view. What do you provide to
creat()/open()/mkdir() (in C) or
(in Go) so that the user’s umask is in control.
A coworker was amazed at my use of Vim, especially that I was able to navigate around files so quickly.
Here’s my advice:
In response to a Facebook meme:
The typical American has visited 8 states, many have never been outside of their home state, nor have been outside the country.
Thoughts about “Do The Right Thing” (no spoilers)
range operator (
for x = range foo) has eliminated the most
common trap where I make off-by-one errors. The next largest category
of off-by-one errors would be eliminated if there was a way to specify
the last item in an array. It would also improve a developer’s
ability to convey intent.
You know what I want in the world? I want people that are on the other side of political issues to change their mind. I want them to “see the light”.
If you want to set an env variable in bash for only 1 command, here’s some bad ways to do it:
A poem I wrote earlier this year.
- “Who Builds The H-Bomb?”
- Mark Levy, December ‘81
I have a theory that 3 things lead to Obama’s win. He surprised the GOP three ways.
Dear Google Meets,
We need to talk about your product.
Most of my company works remote, and with C-19 we are now all working remotely.
Wouldn’t it make more sense if the early primary states were picked from the battleground states of the previous election instead of being a fixed set of states? For example, the top 5 battleground states go first.
There’s a small controversy brewing behind the scenes at conferences because of this trend to require speakers to rehearse their talk via video conference prior to the event.