19 Feb 2012

First day at the new job. Internet is quick :)

Image

19 Feb 2012

And, er. 5ms ping.

Image

16 Dec 2011

Merry Xmas to all!

Image

20 May 2011

Better Minecraft through explosives. 256 blocks of TNT make boom boom.

Image

20 May 2011

Better Minecraft through explosives. 256 blocks of TNT make boom boom.

Image

9 Jan 2011

A Glossary of Rule Engine / Drools terms...

·         “Match”,” Antecedent” “Left Hand side”

o   The ‘when’,  how a rule is matched to the facts in working memory.

·         “Consequence” or “Right Hand Side”

o   What you want the rule to do... the ‘then’ side.

·          “Production Memory”

o   Where all the rules are kept

·         “Working Memory”

o   Where the facts are kept

·         “Asserted”  “Retracted”

o   The insertion or removal of facts from working memory.  Note that what rules are placed on the Agenda occurs when the facts are inserted.

·         “Match – Resolve – Act” / “match, activate and fire”

o   The cycle that the rule engine goes through repeatedly until all items on the agenda have been removed.

·         “Conflict resolution”

o   How the rule engine resolves the order in which to execute rules place on the agenda.

·         “Salience”

o   Emphasis, a way of indicating to the rules engine the precedence of rule firing.

·         “Fired”

o   The execution of a consequence

·         “Activation/Activate”

o   A rule which matches the facts is placed on the agenda

·         “Agenda”

o   An agenda is a table of Activations, it’s the list of the rules that will fire because the facts in working

 

9 Jan 2011

My list of JBoss Drools resources...

So, you want to get up to speed on JBoss Drools, the open source rules engine.

Here's my list of resources, some of them are obvious, some take a bit more digging.

Official Documentation

The official documentation is the obvious starting point, its improved greatly over the years, but there are errors, usually relating to older APIs being used or incorrectly cut and paste code samples.  If it doesn't make sense, search for corroberation

Mailing list

Join the User mailing list (don't pester the Dev list), even if you don't post, there are questions, and keeping an eye on the posts over time will definiately expand your understanding.

Examples

Drools has a set of examples available as stand alone projects, the examples in the documentation are often incomplete (Rule Templates and Excel Spreadsheets are one weakness) and these examples really help out.  You'll currently find the examples in the downloads area.

Source code

Get the source code... no, really, go get it, you can't understand some error messages unless you have the code, so providing it to eclipse so you can follow the stack traces.  In addition, the unit tests also provide usage examples, again it's in the downloads area.

Books

There are two books produced by Packt publishing which cover Drools from different directions.

Blogs

There are a couple of blogs about drools, and more one off articles on various aspects of drools.

Nightly builds

You can access the nightly builds of Drools from their Hudson CI environment.  Since Drools often has a lengthy cycle of Milestones, this can often be useful to use.

Stack Overflow

Activity isn't massive, but it is still useful to post questions and answers

Webinar

Best practices in overview,  about 80 percent vague, but 20 percent solid information.

Wiki

Somewhat out of date, but still interesting

22 Aug 2010

Top Android annoyances.

HTC Desire / Android annoyances
  1. Keyboard drives me nuts with mistyping, even with swype
  2. Can't accurately position cursor with touch
  3. Can't swipe to delete email
  4. Can't double touch to scroll web pages to the top
  5. SMS app doesn't go back to main message list when I press back button
  6. SD card sometimes 'mysteriously' gets mounted as read only, meaning I can't take photos/video without restarting phone.
  7. When out of battery, it starts to 'shut down', but never does, just has the 'shutting down' message forever.... until last gasp of battery
  8. Occasionally very slow to respond to touch events
  9. Runs out of disk space very quickly (all apps on internal storage), when it does, it will silently fail to check email until this error is corrected.
  10. Can't search gmail inbox without a data connection.
  11. Uses *alot* of data, regularly using 1GB a data a month, when on iPhone used < 500MB
  12. Google sync goes batshit occasionally, gets in a endless sync mode (see point 10)
  13. Gmail inbox won't sync changed to Gmail reliably.
  14. Active Sync with work Exchange is not reliable, often won't check mail until app is killed and restarted.
  15. Zooming on web pages is sometimes problematic, zooming out when you pinch in
  16. Syncing music is a PITA, even with Doubletwist, which wins the award for being both slow and giving little feedback on sync progress.
  17. Won't natively tether with my mac.
  18. Only tethers over cable, not bluetooth.
  19. Worse battery life than my iPhone 3G, esp overnight with data turned off, expect to use 1/3 battery.
  20. Screen hard to read in daylight
  21. No Froyo / 2.2 update for months after official release
  22. Music player doesn't stop playing when you start watching a video (like on iPhone), sometimes not during calls.
  23. Proximity sensor is PITA when bluetooth is enabled, can't 'approach' the phone from the left hand side without the screen blacking out.
  24. Limited access to accessories (power charges, cases etc).
  25. Doesn't support a HTTP Proxy when on WiFi (won't work at work then).
  26. Doesn't support a fixed IP address when on WiFi (My home network has issues with DHCP working reliably)
  27. Updating apps sometimes fail, leaving invalid shortcuts on desktop.
  28. After installing an app (Locale), my Manage Applications area crashes every time you try to run it.
  29. Voice search is hilariously inaccurate
Good things
  1. Notifications system
  2. Chat is a viable application thanks to background tasks
  3. Phone still mostly usable when syncing
  4. Fast to use
  5. Some good quality applications
  6. Back button.
19 Aug 2010

Rimuhosting Support

Recently Rimuhosting remarked they were having a quiet day, so I raised an issue asking for a good weekend away suggestion near Wollongong (my home town). I got this response within a few minutes.... :) Heya Thanks for your query regarding holiday locations. First of all, i would advise against going to such places as Wollongong. Its a dangerous place and contains a lot of Australians. Australians have a history of coming from primarily prisoners so we generally equate them with 3rd world type people. According to the locals in wollongong they cant even make up their mind what the town name means ( http://en.wikipedia.org/wiki/Wollongong,_New_South_Wales ) Ideally you should take your holiday somewhere more like a tropical island, somewhere like New Zealand! Of course you would wait to make sure you enjoy the upper class people of the country so staying away from the main centers is a must, head for the smaller townships. Since you are a computer geek, and would seek similar company I would suggest Cambridge is the place to be, i can arrange a tour guide complete with tour of the Rimuhosting offices and optional curry. Included is free internet usage, plenty of coffee and free accommodation. Let us know if you would be happy to arrange this and we will go ahead sorting that out right away. Regards, Liz Quilty Rimuhosting.com http://twitter.com/RHLiz
22 May 2010

Android on the Telstra Desire. First impressions.

I thought I'd just drop down my thoughts on moving from the iPhone 3G on Optus to a HTC Desire running Android on Telstra. These are rough thoughts, I hope to refine them over the next few days. I'd like to note, this is my first impressions based on no googling to resolve any issues, or even reading the instructions. I'm going by 'feel'. Hardware It's feels like a substantial bit of quality kit and actually feels 'soft' to the touch, buttons are in the usual place, far more of them than the iPhone. And its fast, very fast (compared to the 3G) Software This is the first time i've spent with an Android phone, and this one is running HTC's Sense UI. To be frank, I'm not sure what the difference is between Android 'standard' and what HTC Sense adds, but what I had read before purchasing had mentioned then HTC Sense was an improvement over the default Android behaviour. If that's true - well, the gap between iPhone and Android is bigger than I thought. Text entry Entering text on the virtual keypad is pretty straightforward, I can't say the buzzing on keystroke adds much, but the suggestion of multiple options for various words is an improvement over the iPhone, esp since one of the suggestions is what you actually typed, an absence of which on the iPhone was a petty annoyance of mine. Sadly, the iPhones ability to position the cursor by touching the text and then using pressure and the magnifying glass to get it in the right spot is missing, instead you have to use the optical track pad to move the cursor around 'old style'. Annoyingly my muscle memory makes me touch the text, resulting in a full screen context menu popping up. Gestures Some gestures from the iPhone carry over, pinching and zooming for instance, others however are lost, swiping to delete an email message or tapping the top of the browser window to fast scroll to the top. The later is an issue for me, long web pages must be 'swiped and swiped' to reach the top. Performance The phone is fast, very, very fast. Apps start almost instantly and web pages render almost as fast. I can't fault it. Telstra Telstra brings its best asset to the party with the NextG network, its truly a revelation to me having come from Optus. I've made next to no calls on the phone, but the data is always available and always fast, staggeringly fast in some cases. YouTube loads without buffering, apps download and install, maps (and so on and so on). Being able to load the Bananaman intro from *normal* YouTube at a small cafe in Otford without a moments buffering.... well, unexpected after 2 years on the Optus network. But Telstra adds its own annoyances, the BigPond team may have let you out of their walled garden, but they want you back, and so appear to add several apps to the phone, some of which duplicate what HTC have added - most of the apps turn out to be simply links back into the Telstra 3G web portal, and annoyingly, they don't work when you are on WiFi - the Navigation app being a classic example of Telstra fail. Whilst its a 'real app', from Gamin, it only works when on NextG, and throws errors/crashes when started on WiFi. You also have to subscribe to a monthly plan to continue using it. Which is typical of the Telstra nickel and dime approach. Applications The phone comes with 3 mail applications, 2 navigation applications and many other duplicates, it seems Google have the Android standards, HTC throws in their 'value add', and Telstra rounds out the pack with its own. Many of them don't seem to be able to be removed. The Android market contains Android version of my fav iPhone apps: Dropbox, Evernote, Twitter for Android, Foursquare. But its also seems to have its fair share of crap - alot of the 'top sellers' seems surprisingly amaturish. Oh, and you better have your credit card handy for any purchases. Android To be honest, I had higher expectations. The notification system and background apps really shine through - it's a big improvement over the iPhone. But you can't seem to quit applications - ever. Apparently Android manages this for you, but when you've got HTC Peep and Twitter for iPhone both running and telling you you have (The same) tweets, the flaw in this logic becomes apparent. Since I can't seem to uninstall the HTC app, I've resorted to deleting my username/password from it. Hopefully it'll get the idea and stop annoying me. I pity non-technical users of the phone. The applications list under settings offers such installed items as "com.google.android...." and "Calendar" and "Calendar Storage", or "Shared service provider". It's probably a bit too much of the internals exposed. And no, you can't seem to uninstall the shovelware that HTC and Telstra have burdened you with. Overall. Its fast device that seems quite well made, the Telstra network seems, so far, to be much faster and more reliable than Optus but for me, the let down is Android which feels like iPhone OS on cocaine. Let's see if the true glory shines through over the next few days.