Posts Under ‘Code’ Category

Friday Fix: console.log does not work in IE

I encountered a rather obscure IE bug at work this week. After coding up a series of text inputs that enable/disable other radio buttons based on their values, I was dismayed to find out my javascript code wasn’t working in a test environment. I opened Internet Explorer’s F12 Developer Tools to check for any errors.  Unfortunately, the javascript… Continue Reading →

Friday Fix: My first open source contribution

Hey everybody, kind of an exciting Friday Fix this week. I just submitted my first pull request to an open source project! First, a little back story. A short while ago I noticed a discussion on Twitter, that spread to github, regarding the name of a particular javascript testing library named Testacular. I believe that… Continue Reading →

Friday Fix: Liferay’s SASS parser on CentOS 6

In working with a Liferay theme recently, I came across a curious bug involving jRuby and CentOS 6. It manifested itself in a rather confusing SASS parser error (the details of which I don’t have anymore). To add to this confusion, I had just switched from using the traditional Ant-based Liferay plugins build to using… Continue Reading →

Vaadin Visual Designer, broken by default

I have spent the past month, attempting to learn my way around the Vaadin framework. Kind of sucks that its Eclipse plug-in is broken, right out of the box. As soon as I installed it, I started getting this error whenever I would launch my IDE. I didn’t, and still don’t, know what the hell… Continue Reading →

Should I go with Ruby/Rails or Groovy/Grails?

I spoke with a recruiter recently, in an attempt to get a feel for the marketability of Ruby skills in my area. He hadn’t heard of any Ruby jobs that were available, but he did have one that called for Groovy on Grails. I have heard of this technology in the past, but didn’t know… Continue Reading →

Blog migration yet again

Managing my own blog has proved to be a bit too cumbersome for me. I’ve moved both blog.bencarson.net and catsandcode.com to a free wordpress.com blog. This allows for a free SSL-encrypted connection, plus I figure my site’s backend will be more professionally maintained. I am giving up a lot of freedom in the choice of… Continue Reading →

Path of the Rubyist

Betwixt chores and binges of Borderlands 2, I have been attempting to learn the Ruby programming language. First inspired by Arlo and Eric over at the dev1.tv podcast, and getting my first lessons on the language from codecademy, I’ve been really excited about this language. Primarily because its available for free on my Dreamhost hosting, but… Continue Reading →

Finally learned how to delete remote branches

I’ve been using command-line git for about a year now. I recently decided to tackle my problem of not knowing how to delete remote branches. I’ve pushed quite a few branches to some remote repos as a means of transporting projects to/from home/work. As a result there are quite a few useless branches in most… Continue Reading →

File paths in Java

Java logo

I despise working with file paths in Java. I can never remember where, in the project’s folder structure, the jvm considers root. And it gets even more complicated once you start running your applications in a server container. However, I did find a quick way to determine where a running JVM considers root. import java.io.File;… Continue Reading →

Added blog security

I don’t have a lot of money, and this blog is more of a hobby than anything, so I haven’t bought any SSL-encryption for this domain. Thanks to lifehacker though, I have learned that two-factor authentication is catching on with several popular services, not just Gmail. To that end, I just installed the Google Authenticator… Continue Reading →

%d bloggers like this: