Daniel’s Stuff

Somewhere where I can muse about the things that interest me

Archive for the 'Programming' Category

Success!

Time for bed.  I’ve successfully hacked an app I need for work to do something it is not supposed to do :)  A little reverse engineering, byte patching and single stepping through machine code and I now have it being quite naughty :)

1 comment

Hopper Disassembler

I’ve been using a new disassembler a lot over the last couple of weeks called Hopper.  I’m finding it to be well worth the money.  So much so that I initially purchased it through the Apple App store, and then purchased it again directly from the developer so I could get access to the latest version more quickly.

It has many of the features of IDA Pro at a fraction of the cost!

1 comment

Squishy circuits

I saw this last night, and can’t wait to try it out.

It would be cool if there was a nice way to make a cake that was conductive, and yet still edible….
1 comment

Failure

I have been looking for this video for ages!

I saw it some time ago and it was amazing.  The content is great, but more importantly it show how to give a presentation using powerpoint that actually works!
1 comment

JRuby, Rails and Development mode

Well, that was fun…  I spent quite a bit of time today beating my head against a “memory leak” only to remember that JRuby + Rails + Development mode = very leaky.  Switch to production mode and the problem goes away.

A simple little Rails app with one controller and one model is all that is needed to exercise the problem.  Run rails in development mode, and hit it with requests, memory usage soon skyrockets and the app starts to fall over.  Switch to production mode and the same app runs really nicely :)
1 comment

Funky Clock 2 is up and running

Funky clock is installed and working really nicely :)
I had a little trouble with the digital inputs as the pull down resistors I used were 100K instead of 10K.  Also for some reason I was unable to read port E2 at all.  Once I moved that input to port C4 and replaced the resistors everything started working as expected :)
1 comment

Temperature sensor

weekly graph
I added a LM35 temperature sensor to the unit measuring the water level in my main tanks.  After a mild calibration issue (shown above) it seems to be reading very close to the actual temperature :)

daily graph

I find it amazing how much I am enjoying having this data.  Very silly :)
1 comment

Funky Clock 2.0

Here is Funky Clock 2.0, well the processor board anyway.

I have several PIC18F452 in the PLCC package, so I decided to see if I could get that working.
My forth is running on it and I am implementing a new UI for the clock allowing the time to be set using a really cool dial/switch combo.
To connect to the new board I’ve made another daughter board that has the power connector, quadrature dial button thingy and a serial connection plug.  I have made a little RS232 adapter using a MAX232 chip and a hand full of capacitors placed into a DB9 head shell with some pins sticking out of one end and a DB9 on the other.  When I plug the adapter into my Funky Clock it is powered from the Funky Clock and I am able to send code and commands to it via a terminal emulator :)
It all works really nicely :)
1 comment

DeltaSync HU01 decompression code released

I have released an initial version of the DeltaSync HU01 decompression routine on github.
It is AWFUL code, but it seems to work.
10 comments

PS3

Unless you’ve been living under a rock recently you’ll know that the Playstation 3 is now wide open for home brew code.  I’ve been having some fun running my  own code on my PS3 :)  The PSL1GHT wiki contains all the information necessary to set up a development environment.
No comments

Next Page »