Recent Posts

Twitter Cards

general

I noticed that a bunch of people when they post to Twitter have much cooler looking posts than what the Jetpack plugin seemed to be doing for me on my blog. Over Thanksgiving I was looking into this a bit and discovered Twitter Cards. I am probably the last person on the internet finding out about them, but I hadn’t really paid that much attention to it previously. I decided maybe I should create a plugin to add them to the blog. But this being Wordpress I did a search first and it looks like there is already a great one out there. This post is just me testing it out and seeing how it works. I often see people say that a great way to develop a little side income is to create a Wordpress plugin and sell it. I actually wonder how people do that because it seems like every time I need some sort of plugin to add functionality to the blog I can find an amazing free plugin that does it for me. Anyway hopefully this test post works and I get a Twitter Card for it.

Read more →

Objective C

general

Over Thanksgiving vacation I was thinking I should maybe play around with Swift and maybe try to create a basic iPhone app just to see what the programming model was like. I headed over to Code School to see if they had a free course I could play around with. Unfortunately they didn’t, but I did see the Objective C course over there. My thinking was given that most iOS apps were written in that, why not do that course.

Read more →

Blogoversary - the 1 year anniversary of my blog

general

I hit the one year mark of my blog while I was on thanksgiving break. I had intended to post on the day of the event, but I was busy with family in Minnesota and never got around to it. Back when I started this my intention was to try to write something about once a week. While I haven’t been completely successful with that when life intervenes and keeps me busy, I do see that I have exactly 52 posts so I at least averaged it over the year. All in all I would say this has been a successful venture for me. I learned a lot playing with some SEO things and seeing how things would show up in search engines from here. I was also able to learn a ton about SSL configuration of the site. On that note I have considered actually dropping TLS 1.0 support. While that would drop a bunch of old browsers I think consensus is that is the next protocol to fall since SSL 3 has pretty much been declared as insecure. Probably if I was a busy people would say not to do that since you want to be accessible to the maximum number of users, but since I maybe have 3 readers who are all technology people they would see no impact and it would allow me to crank the security down to the next level.

Read more →

Spring autowiring name collisions

spring-framework

I am currently working on a project to move a bunch of data from SQL to Cassandra as the datastore. We have created a Cassandra Framework that looks very similar to the Spring Data JPA Framework that we use for SQL. Our Cassandra Framework we annotate data with @CassandraEntity and @CassandraRepository instead of @Entity and @Repository. For a time the data will live in both the SQL database as well as the Cassandra Cluster at the same time before we drop the SQL table. This will allow us to write to both tables and gradually switch over to the new cluster without as much risk if the cluster falls over.

Read more →

Let's Encrypt

security

I received an email a week or 2 ago that I was accepted into the EFF’s Let’s Encrypt Beta program to try out their new SSL certificate generation service. It uses the Automated Certificate Management Environment (ACME) protocol. I have been really interested in this program since it was announced as in the past when I have used Start SSL’s certificate system I found their whole validation system to be a little clunky. The idea of a nice automated program that does all the work for me sounded very appealing.

Read more →

Field injection is not evil

java , spring-framework

I am a big fan of the work Oliver Gierke has done in Spring Data. It is a framework I use daily at work and it really is amazing. A while back Greg Turnquist had posted something on Twitter against field injection. So I asked what was wrong with field injection and he pointed me to this post that Oliver had written about it.

This post is going to be my attempt to argue against Oliver’s position on the subject. It may wind up an epic failure, but if nothing else I figured it would help me think through my thoughts and assumptions on the issue and see if I can make an argument in favor of it. First head over to Oliver’s post on the topic and read it before you continue on.

Read more →

Cassandra Days in Dallas 2015

general , java

I may have mentioned this before, but I love going to software conferences. When I got the email mentioning that Cassandra Days was coming to Dallas with a free 1 day conference on all things Cassandra, I signed up immediately. The event was sponsored by Datastax who sells a commercial version of Cassandra called Datastax Enterprise. They had 2 tracks an introductory track for people who are just exploring Cassandra, but haven’t yet taken it to production, and track 2 which was a deeper dive for people with experience with Cassandra.

Read more →

New computers

general

I have been thinking for a while that a MacBook Pro looked like the ideal Java development machine. That being said I didn’t really want to drop $2500 to actually confirm my idea. I had suggested it at work, but corporate policy had us on Dell machines. Anyway last week I mentioned that I think the ideal developer setup would be buying us all MacBook Pros and one of my coworkers was kind enough to mention that there was an unused on the front end team occasionally needs to debug issues on the mobile devices but otherwise I could use it. Thus began my first week trying it out as a replacement machine.

Read more →

Kegs & code

general , java

I attended the kegs & code last night. It was a code challenge and party with cash prizes that was hosted by Saltt Ventures. I had never attended a code challenge or hack-a-thon or anything like that, but I figured it is good to get out of your comfort zone every now and then and try something new. Plus when they have free beer that is a pretty big perk. The beer was supplied by BrainDead Brewery which I hadn’t had prior to this event. The event started out as a happy hour with pizza and beer and then at some point we setup and the challenge began. It was a race to solve 10 problems in the quickest amount of time with first place getting $500, second $250 and third $100.

Read more →

The Jetbrains fiasco

intellij

This is sort of old news now, but I haven’t had a chance to weigh in yet so I figured I would type my thoughts up anyway. On September 3rd Jetbrains announced a new licensing model. As you can imagine people immediately went crazy on twitter and 15 years of developer goodwill went up in smoke. What is the issue with the new model, the biggest problem with it is that they are moving from a perpetual model where you own that version of the IDE to a rental model ala Adobe where if you stop paying your tools stop working. Even more infuriating they came out like this was doing a favor for their developers and making it cheaper. In reality it only really makes it cheaper if you are say a consulting shop that is often switching between say pycharm, webstorm and idea. Then you can save some money over the cost of 3 perpetual licenses. For pretty much everyone else it is much worse.

Read more →