Category Archives: programming

bash – More powerful than a speeding locomotive

(flashback) Our project was inching closer and closer to going live.  On the evening before the Easter break some clod started a massive report which tried to process all the data since the beginning of time. My colleague’s inefficient program gathered … Continue reading

Posted in programming | Tagged , | Leave a comment

From computers to microcontrollers

I kept telling Mikhail that the big advantage to using the Raspberry Pi was no matter what project I put it into I could set it on the window sill and ssh to it.  It was a fast small and … Continue reading

Posted in programming, Setup From Scratch | Tagged , | Leave a comment

Reuse a Pi – Air printing

When the Raspberry Pi came out I went a but nuts and ended up getting a few of them.  I did give some away and did create some projects but unfortunately not all of my RasPi devices were a complete … Continue reading

Posted in programming | Comments Off on Reuse a Pi – Air printing

just making it – revisiting my cube

Some time back, I had a fair amount lot of free time.  I spent the time working with a friend Mikhail in the evenings to create my own LED cube from scratch.  It was actually quite a bit of fun, the … Continue reading

Posted in programming | Comments Off on just making it – revisiting my cube

interrogating your code – dipping your toes into java’s reflection

Perhaps the coolest programming language ability that I was never allowed to use was reflection in Java. Why? Well, thats another story. What exactly is reflection? Well, reflection is a set of low level methods that can be used to … Continue reading

Posted in programming | Tagged | Comments Off on interrogating your code – dipping your toes into java’s reflection

Restful services in Java – 360 degree of restful client

Always try and use the most appropriate tool for the task.  The Apache HTTP server or web server is a program for serving the html web pages to the client who requests them. Tomcat is a application server that is actually … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – 360 degree of restful client

Restful services in Java – 360 degree of restful server

This is the blog final entry for a restful service web server.  I have attempted to create more than your typical “foo” “bar” type example program. My final blog on restful services will be a fairly complete service that could … Continue reading

Posted in programming | Tagged , , | Comments Off on Restful services in Java – 360 degree of restful server

Restful services in Java – client and server

My previous restful client example and server example were perfect, well, not exactly.  They worked but they pretty much assuming a perfect world.  That is to say that there is never a communication error or a server error. This small … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – client and server

Restful services in Java – simple client example

I suppose that a restful server isn’t all that useful unless there is a way to query this information back and use it in some useful way. It is easy enough to test this out the server from the command … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – simple client example

Restful services in Java – simple server example

There are probably a lot of ways to create web services programs but the simplest way I could think of was to create a project using Eclipse and Jersey. It turns out that restful services are really easy to summarize but … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – simple server example