

Does anyone else remember this game? Every now and again I get the opening song in my head. It is simple, but I love it.
Manhunter 2 - San Francisco (by ShagittariusIntros)
I am playing around with Scalaz and Spring, and I use STS as an editor. One nice thing about STS (which is just fancy Eclipse) is that you can have a maven plugin in your pom.xml file to make Eclipse have all the right settings for hacking on Scala and Spring.
This is what you do:
mvn eclipse:clean eclipse:eclipse
Your IDE is now set up to deal with Scala files. Hooray!
It is time to dig into the goodness that is the Paxos algorithm. It is the technology that Google’s Chubby and Apache’s Zookeeper are based off of, and I am working to implement it as well. Time to study up!
So, when I get home, I want to work on my pet projects, but I often end up, well, not working on anything. I end up goofing off on the internets.
I have a Windows 7 laptop at home that I use, and I knew that I could block sites by adding entries to my hosts file.
You can access your hosts file by following the great instructions at Help Desk Geek.
Once you have the hosts file open, you want to add lines to it that look like the following:
127.0.0.1 reddit.com
127.0.0.1 imgur.com
Why would you want this, you ask?
Well, I want to stop myself from going to websites that suck my time away. By essentially blocking these sites (like reddit and imgur) from my computer, I am giving myself a wake up call to do something productive.
But for me, that isn’t good enough. I want to be reminded that I am slacking off when I try to go to these sites. So to do that I created a little page and added it to a web server running on my Windows 7 laptop. Here is how I did it:


Now, when you go to http://127.0.0.1/ you should see something like:
Even better: When you are tempted to go to someplace like http://www.reddit.com/, you will see the above page, which is a nice reminder that you could be more productive right now.
I have a few ideas on how to make this better, for example, it needs some CSS love, and I think it would be neat to let people design their own productivity pages with a simple web app. In any case, this is a good start, and it helps me (at least it helped me write this post. :D).
I hope it can help you too. Take care!
This is an older blog post, but it outlines a couple thing I have been thinking about a lot lately. DCI and Scala. Sadek outlines a simple to understand implementation of DCI concepts in Scala that is easy to follow. Check it out!
Adding your web libraries as a JAR in your Java web app. This is a very cool idea for us in the enterprise web world. Good thinking James!
That sounds like a GREAT place to work. Just check out the employee handbook. Sounds neat!
Wow. this is a pretty cool article about following through. Makes me want to follow through on more things…
An oldie but a goodie. Whenever I am interviewing someone (which I am today), I like to re-read this guide. Good stuff.