Passing All Script Argumments To Command

September 24, 2017

If you want to pass all the arguments to a command being called from a script user "$@".


java -jar foo.jar "$@"

Continue reading →

Devops Is A Thing

September 23, 2017

I've recently worked with some people who are passionate about the concept of DevOps. Not only is it great to work with people who are really interested in what they are doing it is great when they look past their job and think about a bigger picture.

Here is a good article that speaks to the idea of DevOps.

Continue reading →

Finished Quick Clojure

September 22, 2017

So I finished my reading of Quick Clojure and can report that it is well worth the read. The title is true to it's intention in that the book is short and you can get through it quickly. I'm not sure in not being a beginner how a new user of Clojure will respond but I'll lean to this being a good book to start with.

For more of an intermediate Clojure user there is still value to be found. I can point towards the Pattern Matching and Concurrency chapters as particularly worth reading.

Continue reading →

Passwordless Ssh Login From Mac

September 21, 2017

After you've setup ssh to access your remote server and things are working fine you might still be challenged for a password for each connection. To remove this add the following to your $HOME/.ssh/config.

Host *
     AddKeysToAgent yes
     UseKeychain yes

You'll be prompted one more time but subsequent connection requests will be passwordless.

Continue reading →

Ray Dalio's Principles

September 20, 2017

So I noticed a Ray Dalio interview over on Bloomberg. The baiting title caught me and I gave the interview a listen. Dalio who previously published his Principles from a web site a few years ago has packaged them up in a book. That's interesting as I read the pdf previously and think it might be interesting to revisit them in their new form. With this he talked about giving away his secrets. I think that he is genuie in wanting to share what has worked for him and in addition to the book of priciples he is open to sharing how he applied them at his firm.

I don't think he's going to give away trading alorithms but more likely processes he and his firm has developed to vet and act on ideas at his firm. His ideas about radical transparency and building a culture where people are not only held accountable and encoured to hold others accountable must have generated processes which could be worth reimplementing at other firms.

Continue reading →

Power Button On The New Macbook

September 19, 2017

Funny story...

My new MacBook froze on the train in to New York the other day. Arriving in Grand Central and in not much of a rush I decided to visit the Apple store and ask for a bit of help. I waited for a 'genius' and he asked if I'd try to restart it. At that moment I realized that I actually didn't know how to restart it. The power button, familiar on my previous generation's machine is absent with the new one. With the ribbon bar it appears to not have a power button.

I mentioned this and he says something to the effect that the button still exists but doubles as the finger print reader. He pushed that and the machine restarted.

I then said. "Oh, I didn't know you could restart it there because once I heard it was for the finger print reader I vowed to not touch it".

He laughed.

Continue reading →

Email Signature Template Generator

September 18, 2017

Found a nice email signature generator I think is worth mentioning.

See the following link if you are in the market for a new look for your email signature.

Continue reading →

Turtles All The Way Down

September 17, 2017

A nice 5 minute lightening talk on why Clojure is great. Recomended.

Continue reading →

Open Workspaces

September 16, 2017

I've never been a fan of making offices more and more open for engineers. I find the more open the workplace becomes the less productive I've become due to distractions.

It appears that some Apple employees think along the same lines.

Search on "open workspaces" and see how many of the tops posts are negative on the idea.


Continue reading →

Music Theory For Hackers

September 15, 2017

Jordan has done a very nice job mapping the ideas of music theory to patterns that a programmer would understand.

If you've never explored music from a theory or analytic stand point I think Jordan's article is a very good place to start.

Continue reading →

Quick Clojure

September 14, 2017

Found a new introductory book on Clojure and have decided to read it. It's called Quick Clojure and on first inspection it looks good. If you are curious see the links that follow.

Continue reading →

Dunning–Kruger Effect

September 13, 2017

I was reading some articles on interviewing and came across the Dunning–Kruger Effect. It describes how there is a cognitive bias in people of low ability where they mistakenly assess their ability as greater than it really is. In interviewing the concept points to how some unqualified people will over confidently present themselves. It also explains how those with average ability will appear less confident. This is a problem and one to be aware of because you may if not aware end up picking people based more on false confidence rather than actual ability.

The paper:

Unskilled and Unaware of It: How Difficulties in Recognizing One's Own Incompetence Lead to Inflated Self-Assessments

Continue reading →

Git Submodules

September 12, 2017

So you've clone a repo and there is a directory in it. Also, you have a file called .gitmodules. Now what?

What you have is a reference to a git submodule. Look in the .gitmodule file and your directory will be described there.

The next step is to initialize the submodule

$ git submodule init

Then you update the submodule to pull in files.

$ git submodule update

Continue reading →

Playing Flac Files On A Mac

September 11, 2017

After always converting FLAC files to mp3 with a tool such as MAX I've found a win with Vox.

So far it works well and I can leave files in their lossless format.

Continue reading →

Beggars Belief

September 10, 2017

Something that is as close to unbelievable as you can get. If something beggars belief it is unbelievable.

Also, to beggar is to impoverish or exhuast.

Continue reading →