Code Standards

Since starting our framework (Cubex) at JDI, we decided to bring in some strict code standards, which will fail our CI builds if code does not conform.  Around the time of starting, we had not long switched over to Phabricator, who provide some great documentation on various coding standards.  We are also following the PHP-Fig ...
0

Cassandra SSTable Format Version Numbers

Cassandra stores the version of the SSTable within the filename, following the format Keyspace-ColumnFamily-(optional tmp marker-)SSTableFormat-generation Finding all sstables not matching version “ib” find /var/lib/cassandra/data/ -type f | grep -v -- -ib- | grep -v "/snapshots" The version numbers, to date are: // b (0.7.0): added version to sstable filenames // c (0.7.0): bloom filter ...
0

Cassandra Service Script

Without an existing cassandra service script, I decided to go ahead and create one, to make things a little easier to manage, and to make the whole experience a little more user friendly The script includes a few nodetool basics, such as repair, cleanup, info, netstats etc. And will log the start and end times ...
0

Installing cassandra on Centos 5

Just a quick post on how-to install cassandra on Centos 5, and getting the required bits on to stop all the errors you will see, such as JNA and MX4J missing. First you need to get all the required modules from yum, to prepare the server. yum -y install gcc-c++ make cmake python-devel bzip2-devel zlib-devel ...
0

Excel Timestamp to Date 2

Today, I had the problem of converting a timestamp to a readable time format inside excel.  Not quite as easy as I would have hoped for, but the solution is fairly painless. In the excel column you wish to display the date, you need to place the following formula. =(((COLUMN_ID_HERE/60)/60)/24)+DATE(1970,1,1) You would then need to ...
0

Sky Box Hiddden Secrets 1

Over the past few days I have been playing about with my Sky Boxes at home, and found a few hidden secrets around. This post is just to combine the bits I have found. Forcing An Upgrade After a few months of having a HD box still running on the old EPG (electronic program guide) ...
0

Opera 10.50 JavaScript Engine Super Speedy 1

So, I just downloaded the new Opera, and ran a JavaScript speed check, and was amazed how their new engines compare to the other browsers around.  It also supports Windows 7 taskbar highlights properly The test I ran was on http://www2.webkit.org/perf/sunspider-0.9/sunspider-driver.html and here are the results Opera 10.50 ============================================ RESULTS (means and 95% confidence intervals) ——————————————– ...
0

Browser Back Button Detection 95

Update: (27th Jan 2011)  A fix for Chrome has now been uploaded. Ever since the web moved into the 2.0 generation, websites are increasingly using ajax to build up content, and navigate around without reloading the entire page. There is one major problem with this, and that is the browser. Until now, browsers to not ...
0

Google Wave 1

Google Wave
About 20 minutes ago I got my invite to google wave. I now have my account live (brooke@wavesandbox.com) as well as my secondary account (brooke-test@wavesandbox.com), so I can start testing out the wave. I haven’t had any time to get into it and play, but here is a screenshot of an empty preview account Update: ...
0

The Day Is Finally Here

The Day Is Finally Here
If you know me, you will know I hate Mac’s.  However, the day has finally arrived where I decided to take a risk and go to buy one for myself.  Not being a strong follower of the Apple movement, I purchased my MacBook Pro on sunday 7th June.  I got home, installed some apps (dragging ...
0
?php bloginfo(