Brad Lucas

Programming, Clojure and other interests

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 "$@".

#!/bin/bash

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.

http://devana.rs/blog/devops-is-a-culture-not-a-job-description/

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.

https://www.bloomberg.com/news/articles/2017-09-17/ray-dalio-says-he-s-ready-to-give-away-bridgewater-s-secrets

Continue reading →