Archive for October, 2008
Twitter problems
Thursday, October 16th, 2008Very glad I didn’t invest in RBS
Monday, October 13th, 2008Man’s Search For Meaning
Sunday, October 5th, 2008I’m really getting through books fast at the moment and I’ve just finished another brilliant one - Man’s Search For Meaning by Viktor E. Frankl.
This book is split into two distinct sections. The first is a very touching, inspiring account of the authors time in concentration camps during WW2. I found his analysis of the different psychological stages they went through really fascinating and the modest prose in which he spoke about his experience was humbling.
The second section is a summary of his philosophy of Logotherapy. Although this raised a number of insightful points, towards the end I realised that as I only have a passing interest in real psychology this section was largely wasted on me. Still, it’s not too hardcore and there’s plenty to take away from it.
So if you’re looking for meaning in your life, give it a read!
Storing monetary values in MySQL
Sunday, October 5th, 2008Just a quick one. I was doing a bit of work earlier today and I needed to store a price like “0000.00″ in a MySQL database. As you can see there are quite a lot of options for numerical data types, and the first thing that came to my mind was FLOAT.
However, I ended up settling on DECIMAL which allows you to set the precision (significant digits) and the scale (digits after decimal point) and this seems to work (as far as I’m aware you can also do this with FLOAT too). So for example I defined my field like so:
DECIMAL(4,2)
I can’t remember off the top of my head what the difference is between FLOAT and DECIMAL. I think it’s to do with the way they are stored internally, with DECIMAL working in the way you’d most often expect. Anybody know any different?
Finally! Something that cuts through the crap
Thursday, October 2nd, 2008I was having a bit of a “non duality contemplation session” last night and came across a site that really seems to cut the BS and give some answers. You can browse it for yourselves here. All of the other advaita teachers try to make it simple, often saying things like “you are that”, “they seeker is the sought”, “stay with the I am” and so on, but these seemed vague to me and left me with questions. That site lays it down as clearly as “I” could hope for.
Also, found a really amazing video that can be watched here.


