Short tutorial on using transactions. Issuing a rollback is fine, but you need to program around it too – your code should be aware the rollback occured. Set some return variable to false and take evasive action!
Author Archives: Donncha
Can your car roll uphill?
Good explanation of this strange phenomenon 🙂
Whilest there is this slope of 1 in 86 upwards from the bend at the Glen, the configuration of the land on either side of the road provides an optical illusion making it look as if the slope is going the other way.
There’s even a Wikipedia page on the phenomenon.
Gardaí prevent summons on Taoiseach
First I laughed at this, but then I though, “wtf! Why right do the police have obstructing a solicitor doing his job? Even if it is to issues a court summons to the prime minister of Ireland! This story has the scoop. (Thanks to Sharrow on IRC for the link)
[Solicitor John Devane] said he intended calling for a bench warrant for the arrest of both Mr Ahern and Mr Smith if they failed to come to the court on 12 June.
Ryan Tubridy presents the Rose of Tralee
Just heard on the news – 2FM presenter Ryan Tubridy is going to present the Rose of Tralee this year! He’s as suprised as anyone else, and that news explains the Google Hits I got this morning! hehe.
Spamassassin – Bayesian autolearn
Just noticed the Spam Assassin auto learn rules. Look up perldoc Mail::SpamAssassin::Conf and search for auto_learn, auto_learn_threshold_nonspam, auto_learn_threshold_spam.
I’ve changed the auto_spam threshold down, as 15 is probably a bit high considering the small number of false positives I usually get.
Inflation leaves Irish prices highest in eurozone
There was much rejoicing on IRC this morning as it was announced that Irelad is the most expensive country in Europe to live! As Pronsias stated,
We did it… “I’d like to thank the Acadamy, the director, Mr. McCreevy, Mr. Ahern, the Government, and the people of Ireland, without whom this would never have been possible !”
b2++ documentation
I like Wikis. I use TWiki at work and it’s excellent. I think I need a wiki to document everything I’m doing in b2++, and I need it fast. Chances are I won’t use TWiki however, so I’m open to suggestions. If you’ve a favourite Wiki, then feel free to leave a comment. Applications that are written in PHP and use MySQL will get preference over others. Smarty support would be a bonus too. Tiki seems to fit the bill perfectly, but I haven’t tried it out yet.
Things to document:
- Import the b2 readme, and make a “tag/plugin” section for blog owners.
- How the weblog works, “always on” plugins, Smarty plugins, the flow of a weblog request.
- To do list.
- Bug tracker (should probably be seperate)
- Feature requests.
- And more..
Cross-Browser Rich Text Editor – work in Firebird?
Does this editor work in Mozilla Firebird for you? The textarea fails to appear on my machine..
b2 updates – b2referers
Quick update – I started work on a page to list referers to your blog. Login to your blog here and load up b2referers.php
It’s sparse, and very incomplete. It’s the result of half an hour of work but expect lots of updates in the next few days!
Half-Life 2 Teaser Movie Released
It’s an oldie, (4 days ago!) but I just took a look at the movie available on bit torrent and I’m well impressed! This game might actually encourage me to upgrade my PC! Here’s the Slashdot discussion, and apparently there are better quality videos out. Run, don’t walk, and download them!
