ElixirConf2016 and Ecto

Just got back from ElixirConf2016. It was an awesome experience even with how wet Disney World was from the side effects of Hurricane Hermine. Very interesting sessions and a lot of excitement. Also seemed like a really nice community. Lots of folks coming from Rails. A couple people from Java.

Read More

Programming Elixir

For learning Elixir I started with the ubiquitous Dave Thomas and “Programming Elixir”. I’m bouncing back and forth between reading through that book and watching the ConFreaks videos of the last two year’s Elixir conferences (and thinking about whether I want to pay to go to this year’s conference which is in Orlando).

Read More

Learning Elixir and Phoenix

Wow. This is the first time in a while that I’ve been excited about a new programming language. Where learning the language wasn’t just a chore to stay employed. Going through the documentation, code examples and a couple of recent books. Such a fundamentally different way of looking at solving problems. Using Confreaks.tv, Safari Books online, and the excellent documentation. Can’t wait to build something for real!

Read More

Use Postgresql 9.5 Upsert to Return Existing id

Postgresql 9.5 introduced the long-waited for upsert. There are cases where instead of actually updating when the row already exists what you want is to return the primary key (or the whole row for that matter). Postgresql has a SQL extension called RETURNING that lets you get the values just inserted or updated but you can’t just DO NOTHING and get the value back.

Read More

Practice a new language with exercism

After a long day programming do you look forward to more programming? OK then. You might want to check out http://exercism.io/ (You might want to also seek help. Go outside once in a while for crying out loud). It has problems in a wide variety of languages. You sign up with your github account and pick a language to work on (Java, Javascript, Scala, Python, Ruby are among the choices). You code up a solution to the problem and submit it. You can discuss your solution and others approaches and iterate on your design to improve it.

Read More