At a recent LUV thing, I mentioned that for some inexplicable reason, people got to my blog by searching for “nipple pokies”.
Well, last month, 11 people got to my web site because of it.
seriously, what the?
At a recent LUV thing, I mentioned that for some inexplicable reason, people got to my blog by searching for “nipple pokies”.
Well, last month, 11 people got to my web site because of it.
seriously, what the?
According to my web stats for last month there were 25778 hits on /blog/ and 6531 on /blog/wp-rss2.php. Since there were 1894 hits on /blog/wp-comments-post.php, that probably means that a bit of that is just spammers.
The weird metric of “visits” is 7860 for /blog.
Do I really have anything like this number of people reading what I write here?.
Please, somebody publically smack my ego back to where it belongs!
(err… maybe not, my ego isn’t into bondage).
(I did matching versions [5.x] don’t know how diff versions will work)
Setting up a slave with a newer version of MySQL is quite a common setup. It has a couple of advantages:
– it lests you test a new version before deploying on the master (to test that everything goes smoothly)
– it lets you test new major versions (e.g. 5.0) before they are released GA (helps find bugs that may affect your setup).
I know at least one customer generally has a slave runnin the latest BK tree – just to be sure that nothing is going to even potentially break for them. Kudos to them :)
Having a slave that you use for backups is a great idea. No extra load on the master (i.e. you can safely stop the db on the slave and back things up quickly – without having locks held on your master!).
Also, if your master suffers a meltdown, you have a recent live backup system ready to take its place!
MacOS X 10.2 doesn’t have poll(2).
Why they don’t, who knows. It’s not as if it’s new or anything. At least they do in future versions. I think I recall reading somewher that the OS X 10.1 implementation was buggy, so I think they pulled it out of 10.2 – for some people….
oh fun.
Since I’ve just upgraded to Ubuntu Breezy (the next release of Ubuntu, currently a preview release) I’ve installed tomboy. It’s like a Wiki for your desktop. Awesome. Seems to be pretty useful. Even more useful than the stickynotes applet. In fact, i think I’ll remove sticky notes.
The storage format for tomboy is a lot more resiliant as well. A file-per-note instead of one large XML file.
One day I’ll go through a bunch of GNOME apps and fix their file system code so that it becomes near impossible to loose data with unexpected reboots.
When:
Tuesday September 13th 7:00pm
Where:
Miro International Pty Ltd
Level 18, 31 Queen Street
Melbourne 3000, Australia
Thanks to Miro for offering their offices for the meeting.
What’s happening?
Stewart Smith will talk about:
– What’s new in MySQL land
– Introduction to MySQL AB the company
– what it does
– what it offers
– Graphical tools for MySQL
– MySQL Administrator
– MySQL Query Browser
RSVP
Please RSVP via our meetup.com site:
http://mysql.meetup.com/93/
After
We can head to a pub or out for curry.
$ aptitude install regionset
(and then run it)
also,
$ rm -rf ~/.dvdcss
now it all works. Without doing regionset, I was getting read errors from the drive.
spent a while looking for this on friday/saturday – I knew I had one. Guess what? Couldn’t find it. Anywhere.
Moved some things on my desk today, it was hiding.
Teaches me for expecting myself to keep cables in the same place.
The OSDC CFP site is the most annoying CFP in the entire world. So bloody complicated to go through – really makes you examine if you really wanted to do a talk in the first place.
It just looks stupid and is dumb. That is all.
(a general note on what’s good practice)
In C, 0 is false and !0 is true.
In the dim past there was an elsewhere where 0 was true and !0 was false. Why? Because there can be more than one error state and this is usually more interesting than how many ways success could have been acheived.
Well, that sucks too – there’s information on success that could be useful (e.g. we succeeded, but only n bytes worth instead of the m you asked for).
So, the way of <0 on failure and else success came about for packing the maximum amount of information into the int that we commonly return from functions (and usually fits nicely in a register and it all leads to hugs, puppies and a warm feeling inside).
So what do most people do on error? Return -1.
Hrrmm… this casually (if not totally) defeats the point. In any function that does any real work, there’s going to be more than one place where failure could occur (even if it’s an error path that should never really happen… it will, but never to you… always to a guy somewhere in a country that you didn’t know existed and knows less $native_language than you have digits).
So if you get a bug report in with a log message (because you do print log messages when errors occur! – especially non-totally-fatal ones!) about a failure, and you go to look at that function and go “aha! this function must have returned -1!” Well, it just so happens that there are five places that could return -1. Where did your program fail? Without a core dump or something, you will never know.
So, what if these five places returned different error codes (which, of course, you wrote to the log)? Then you’d be able to narrow down the search for buggy code!
It doesn’t have to be a unique number, or even user understandable (especially when these are places that shouldn’t fail – or so you think) but it makes your job a hell of a lot easier if you can quickly jump to the bit of code you should look at.
In cluster, we have this great system where when really bad stuff happens, we get these nice trace logs of what signals have been cruising around the cluster recently. This greatly helps with debugging. It sort of makes you go “wow” when you first see a crash reported, trace file follows, and then a patch a few hrs later that fixes the problem. This is because it’s an aid in tracking down exactly where to look for the problem.
“It crashed” is never a useful bug report. But only having the facilities in your software for only being able to say “it crashed” unless you’re a developer guru dude isn’t very useful either.
The various backtrace reporting tools do a bit to help. As always, the more information the better. This is certainly the case when you look at the backtrace and go “how on earth did we ever get there?” or the stack is just completely hosed and you have no hope of finding your arse from your elbow (although these days valgrind will help you here).
Here endith the lesson.
way back when even the first touchpads were hammered into powerbooks (500 series, back probably close to 10 years ago now – if not a bit more) you could tap one corner, then another (quickly) and the cursor would jump from one side of the screen to the other (diagonally!).
I miss that. It’s useful.
Anyone know how to get X to do that?
Well, it’s happenned – my ipod is full. Not so much full, as overflowing. There’s now a bunch of music that just doesn’t fit.
The good news is the 60GB ones are less than $600 – which is about what i payed for this when I bought it (wow, was it 18months ago… maybe).
The added battery life would be welcome too – esp when travelling.
Well, this review over at ZDnet seems to say that the Bose Quiet Comfort 2 Acoustic Noice Cancelling headphones have leather. The suck. Well, that strikes them off my list.
In case you didn’t know, I don’t do the leather thing.
There’s also a disturbing review over at Amazon from a guy who seems to know what he’s talking about (Grado make great ‘phones – mine are supurb).
So, the sound quality may not be all that great (although people rave about the noise reduction – and that’s worth something, but maybe for $299USD I’d expect something that at least matches my $150AUD Grado ‘phones).
So, anyone got ideas for something decent for travelling with (planes) that doesn’t involve a dead cow?
Maybe in-ear earphones is what i’m looking for….
hrrm… 304 not modified. I wonder if posting an entry will fix it.
Well… listening to it again. My brother had nicked my copy of The Beatles white album – finally found it today and ripped it onto my ipod.
It really is a good album. Sounds different than when playing on vinyl.
I guess it’s because of spam and the like – but finger was useful. Damn you spammers. Damn you right in the pancreas.
Well, I can now sit down and do my tax. Urgh. Not looking forward to it.
Although… I wonder if eTax will work under qemu and wine…. sounds like a lot of trouble, maybe I’ll just do it the paper way until they come to their senses and have an eTax that works on more than win32.