Tue, 20 Jun 2017

3:52 PM - Installing SSL certs from Amazon AWS RDS instances in java

Having problems connecting Java apps to amazon RDS instances? Try installing the CAcerts from amazon as follows. These instructions cover freebsd and Mac OS X.

# (use curl or wget on mac)
fetch http://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem

# create individual files from the bundle for loading into java
split -p "-----BEGIN CERTIFICATE-----" rds-combined-ca-bundle.pem individual-

# load them into your cacerts file in freebsd
find . -iname 'individual*' -exec keytool -import -file {} -alias {} -storepass changeit -keystore /usr/local/openjdk8/jre/lib/security/cacerts \;

# mac version, tweak for your JDK path
find . -iname 'individual*' -exec keytool -import -file {} -alias {} -storepass changeit -keystore /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/security/cacerts \;

tags: rds ssl aws keytool java


Tue, 4 Apr 2017

9:14 AM - Apple partially admits mistake with mac pro

According to this article, apple admits the design of the mac pro limited what they could do with it. They also claim they are working on it with next year possible for a refresh.

More waiting.


location: Home


Mon, 27 Mar 2017

Sun, 19 Feb 2017

10:03 AM -

I doubt one can generalize that a remote software team is more productive. I know that when I worked for Prime Research, I got to work from home for the first 9 months and I got a lot more done that way. Of course, then I ended up working in the office and managing a team.
When you're trying to build something complex, it's impossible to get anything done with distractions. I can code up some front end changes or add a new endpoint for an existing controller in spring without a lot of thought, but if I'm trying to design a major new feature, I need quiet and a white board.
I can say in the last 3 months, I've avoided starting several tickets at work until I knew I could get at least an hour to actually focus on them without meetings or other interruptions. It's happened at least 5 times. The farther I go with my career, the harder it is. I remember when I used to get 2-3 hour blocks of time to work on things. Those were the good old days.


location: Home


Sun, 12 Feb 2017

2:05 PM - Run windows 3.11 from your browser

It's kind of amazing what they have been able to do with DosBox in browsers. You can now run Windows 3.1 in a web browser and play solitaire or minesweeper, old school!


tags: windows


2:03 PM - 8th Gen Intel CPUs still slow

Intel has given up on another CPU generation getting any speed. More 14nm and no more cores. DEFAULT TO SIX CORE GUYS. Sell mobile chips with PERFORMANCE for power users.


tags: intel


2:02 PM - Wordpress viruses are getting out of control

There are way too many sites out there that don't patch. Since wordpress is the most popular platform, it's an obvious thing to attack. I think they should develop some type of auto update mechanism for critical patches.


tags: wordpress


2:01 PM - Nintendo Wii U

I purchased a Wii U refurbished the other day. I was always skeptical after trying one out in Best Buy. Turns out the demos just sucked. I actually do like some of the games.

Ended up buying several Wii U games yesterday. Got pikman 3, Mario maker, new Super Mario bros u, donkey King tropical freeze and Zelda ww.

tags: wiiu


1:59 PM - Mac Office macro malware

The first wild office macro virus for Mac OS X is out.


tags: mac


1:58 PM - Yale renames Calhoun college after Grace Hopper

I'm really happy that Yale decided to rename the building after Grace Hopper. Big influence on computer science.


tags: yale


1:26 PM - Spring fun

I've been woking on upgrading an app from Spring Boot 1.2.4 to 1.2.8. It seems that the app wouldn't work with any version past 1.2.5 and that turned out to be an issue with Jackson serialization. Back references were not working as expected. I ended up punting on it and making a new class to represent incoming post data and then transforming that into a valid entity. Things are going smoothly now.

location: Home


Sun, 5 Feb 2017

6:54 PM - Fun with watercooling

I setup a water cooling kit and new case for my desktop PC in January. It's an xspc setup with a alphacool waterblock for the AMD R9 Fury Nitro card. It's running as low as 22C idle and 55C under heavy load (Overwatch) with the gpu. CPU load seems to keep it in the 40s.

The best part is that unlike those self contained loops for CPUs, this is actually quieter. It's often quieter than my mac mini. That thing is loud when the fans spin up!

My testing shows it runs around 20db with overwatch going (and audio muted)

location: Home
mood: Happy Happy


6:51 PM - Spring data elasticsearch

I'm experimenting with spring data elasticsearch. I've managed to use an embedded instance with the just journal site and at work I've got it running in a cluster.

I'm a big fan so far. It's not my first time using elasticsearch, but it certainly makes it easier to query.

location: Home


Sat, 3 Sep 2016

6:49 PM - Overwatch, a few months in

Some of the crashing problems I was experiencing with Overwatch have been fixed. Updated NVIDIA drivers have helped some and I also found that the cooler on my CPU was starting to go. I replaced it with a water cooler and have fought a bit with the fan placement on the radiator, but at this point it's pretty stable.

The game is quite fun to play and I think blizzard needs to put out some more information to users about their network setup to minimize lag

1. Make sure your router/firewall supports UPNP and that it is configured correctly. This seems to make a big difference in game play.
2. Priority queues. Blizzard recommends against them, but I've found that setting up priority queues with game traffic getting priority as well as ACKs in pfsense helped a lot with my lag issues.
3. powerline networking hardware can cause serious lag for this game if you have any connection issues. Sometimes, I find that playing over wifi is actually more reliable despite the fact it's slower on my network.


Sat, 9 Jul 2016

2:54 PM - Overwatch

Can't get enough overwatch. It's an amazing game despite the bugs.


Thu, 7 Jul 2016

8:57 PM - ssh commands to multiple servers

A few years ago, I had to write a bunch of management scripts that setup and maintained ssh tunnels for executing commands and running symmetric ds over protected connections.

Today, I happened to stumble on a ton of different tools to issue commands to multiple servers at the same time. For example, pssh. A little googling could have saved me a lot of time.

location: Home

(1 comment | )

8:23 PM - Tablets in 2016

Upon reading that Apple was killing support for the original iPad Mini with the upcoming iOS 10 update, I decided to start researching tablets. So far, I've learned the following:

iPad Pro models seem to be the air replacements. They start at $599 so they're a bit too expensive for my taste. I've also looked into higher end Android devices and found the Pixel C to be the most interesting, but again it has a pretty hefty price tag attached to it.

Some of the PC manufacturers like Lenovo and HP offer Android devices, but they're relatively low end devices with slower CPUs and inferior cameras. A 200 dollar tablet sounds nice until you go to use it.

Sony seems to be pulling out of the device market so I'm ignoring the xperia line as I don't think they're going to be around.

I think I'm going to wait and see if apple does a refresh or if there are more high end android devices. I'd probably pull the trigger on the Pixel C if it had 64GB of space for the low end price.

location: Home


Sun, 3 Jul 2016

7:41 PM - Overwatch firewall config

I managed to get it running a little better why tweaking the pfsense configuration with the list of ports


location: Home


4:09 PM - Overwatch

I've had a lot of lag problems with Overwatch. It's quite often that I will think I killed someone only to have the game's lag algorithm "correct" their movement in such a way that I don't even have the person in the same room with me.

I've been trying to figure out if there is anything about my network setup making it worse. I suspect others share in my frustration with the game. It's quite fun, but I'm not sure it's worth the headache.

location: Home


Sat, 2 Jul 2016

5:39 PM - New JJ

Just released a new version of my blogging site. It's the first serious update in a few years. I'm still migrating it to Spring Boot, but so far it's going pretty well.
I've finally got it running without the need for root, as a self contained jar file, and moved to thymeleaf for templates.
It was the project that I learned Java on back in 2003. It's moved from CVS to Git and Sourceforge to Github. It's transitioned from Servlets and JSP to Maverick with XSLT templates and now to Spring 4/ Spring Boot.

location: Home