The default .gitignore file in Android Studio is good enough but not great. Whenever an IDE or SDK update takes place, files change and need to be committed to git. This becomes a bigger problem when the project is checked out on more than one computer. You will need to update projects on command line […]
Category: Technology
GoPro has been slowly updating their app experience on Android and slowly making things more annoying. Their latest product is the ‘Capture’ app which seems to be the only app offering available on Android. This app starts out with requiring you to sign in to your GoPro account. Following this, they try to sell you […]
We ran into a need to increase file descriptors for RabbitMQ running on RHEL 6. The simple solution was to add a file owned by root to /etc/security/limits.d/ 85-rabbitmq.conf # Default limit for rabbitmq which needs more # file handles than the default user settings rabbitmq soft nofile 49152 rabbitmq hard nofile 49152 And after […]
After developing a Glass GDK app for several weeks, I had noticed some warnings on Glass that it needs to cool down to operate properly. At this point I would disconnect the USB cable and power down the device. On one such event everything changed. When I powered on Glass, the device failed to start […]
In November of 2013 I received an invite to join the Google Glass Explorer program. As a long time developer and a recent Android developer I decided to drop the $1500 and get on board. After receiving Google Glass I focused on the product capabilities to truly understand what it can and cannot do. Immediately […]
OpenJPA and MySQL Timestamps
Reading in MySQL Timestamps that default to ‘0000-00-00 00:00:00’ using JPA can result in errors if your MySQL connection is not properly configured. You may run into an exception such as this: java.sql.SQLException: Cannot convert value ‘0000-00-00 00:00:00’ from column 5 to TIMESTAMP. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926) The solution here is easy enough, […]
One of the difficulties in monitoring a java process using JMX/RMI is the random secondary port opened for the JMX RMI connection objects. This random port can change every time the process is started, and there is no way to configure a firewall to allow this dynamic port to pass through. Fortunately there are some […]
Windows 7 Review – 2nd day after install
Well this is not a professional review, just some thoughts based on my recent upgrade from Windows Vista 64 on to Windows 7 Professional 64. Now for the background, I’ve been running Vista on my main workstation (Core 2 Duo / 8gb ram) since early 2009. I only had a few issues until the end […]
Returning a method parameter in JMock
I recently ran into a problem where I needed to test a Java method that dynamically created objects inside. These objects needed to be passed to and returned by a mock service class, but I did not know how to inject this class since it was created inside the method being tested. Here is a […]
CVS bulk conversion to binary
I try not to use CVS anymore since I’ve become used to Subversion, but recently I needed to restore an old project from CVS. I made a tar of the CVS backup and uploaded to the server and placed it in the CVSROOT folder. When I checked out the project I realized the binary files […]