GNU/Linux and the K750i Bluetooth Remote
Works with my K700i too. Useful to know that the remote control stuff works. will be great for presentations :)
GNU/Linux and the K750i Bluetooth Remote
Works with my K700i too. Useful to know that the remote control stuff works. will be great for presentations :)
I once thought mouse gestures were weird and crackful. A good way to hide away functionality and make things difficult.
Well… I’ve started using them. Currently I’m using Epiphany as my web broswer (although there’s enough nice firefox things out there that I may switch at some point… if i can get my saved passwords across). The mouse gestures here (naturally) use a different bloody button than the package I’m using on firefox (right button is more logical as laptops generally only have two. or one).
But talk about useful and fast. even just back and forward. maybe integrating this with a pop-up display of what actions you can do (for learning them) would really seal the deal.
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).
still have to talk to people about standards for this sort of thing and all that. But as a first checkin – funkyness++!
mysql> select * from INFORMATION_SCHEMA.DATAFILES; select * from INFORMATION_SCHEMA.TABLESPACES; Empty set (0.03 sec) Empty set (0.00 sec) mysql> CREATE TABLESPACE ts1 ADD DATAFILE 'datafile.dat' USE LOGFILE GROUP lg1 INITIAL_SIZE = 12M ENGINE NDB; Query OK, 0 rows affected (2.35 sec) mysql> select * from INFORMATION_SCHEMA.DATAFILES; select * from INFORMATION_SCHEMA.TABLESPACES; +--------------+--------+--------------+----------+------+------------+ | NAME | ENGINE | PATH | SIZE | FREE | TABLESPACE | +--------------+--------+--------------+----------+------+------------+ | datafile.dat | NDB | datafile.dat | 12582912 | 11 | | +--------------+--------+--------------+----------+------+------------+ 1 row in set (0.00 sec) +------+--------+---------+-------------+-----------------------+ | NAME | ENGINE | VERSION | EXTENT_SIZE | DEFAULT_LOGFILE_GROUP | +------+--------+---------+-------------+-----------------------+ | ts1 | NDB | 1 | 1048576 | 0 | +------+--------+---------+-------------+-----------------------+ 1 row in set (0.00 sec) mysql> CREATE TABLE t1 (pk1 int not null primary key auto_increment, b int not null, c int not null) tablespace ts1 storage disk engine ndb; Query OK, 0 rows affected (0.62 sec) mysql> insert into t1 (b,c) values (1,2),(2,3),(3,4),(1,2),(2,3),(3,4),(1,2),(2,3),(3,4), (1,2),(2,3),(3,4),(1,2),(2,3),(3,4),(1,2),(2,3),(3,4),(1,2),(2,3),(3,4),(1,2), (2,3),(3,4),(1,2),(2,3),(3,4),(1,2),(2,3),(3,4),(1,2),(2,3),(3,4),(1,2),(2,3),(3,4); Query OK, 36 rows affected (0.11 sec) Records: 36 Duplicates: 0 Warnings: 0 mysql> select * from INFORMATION_SCHEMA.DATAFILES; select * from INFORMATION_SCHEMA.TABLESPACES; +--------------+--------+--------------+----------+------+------------+ | NAME | ENGINE | PATH | SIZE | FREE | TABLESPACE | +--------------+--------+--------------+----------+------+------------+ | datafile.dat | NDB | datafile.dat | 12582912 | 9 | | +--------------+--------+--------------+----------+------+------------+ 1 row in set (0.02 sec) +------+--------+---------+-------------+-----------------------+ | NAME | ENGINE | VERSION | EXTENT_SIZE | DEFAULT_LOGFILE_GROUP | +------+--------+---------+-------------+-----------------------+ | ts1 | NDB | 1 | 1048576 | 0 | +------+--------+---------+-------------+-----------------------+ 1 row in set (0.00 sec) mysql> CREATE TABLESPACE ts2 ADD DATAFILE 'datafile2.dat' USE LOGFILE GROUP lg1 INITIAL_SIZE = 12M ENGINE NDB; Query OK, 0 rows affected (2.18 sec) mysql> select * from INFORMATION_SCHEMA.DATAFILES; select * from INFORMATION_SCHEMA.TABLESPACES; +---------------+--------+---------------+----------+------+------------+ | NAME | ENGINE | PATH | SIZE | FREE | TABLESPACE | +---------------+--------+---------------+----------+------+------------+ | datafile2.dat | NDB | datafile2.dat | 12582912 | 11 | | | datafile.dat | NDB | datafile.dat | 12582912 | 9 | | +---------------+--------+---------------+----------+------+------------+ 2 rows in set (0.02 sec) +------+--------+---------+-------------+-----------------------+ | NAME | ENGINE | VERSION | EXTENT_SIZE | DEFAULT_LOGFILE_GROUP | +------+--------+---------+-------------+-----------------------+ | ts1 | NDB | 1 | 1048576 | 0 | | ts2 | NDB | 1 | 1048576 | 0 | +------+--------+---------+-------------+-----------------------+ 2 rows in set (0.00 sec) mysql> ALTER TABLESPACE ts1 ADD DATAFILE 'datafile3.dat' INITIAL_SIZE=12M ENGINE NDB; Query OK, 0 rows affected (1.85 sec) mysql> select * from INFORMATION_SCHEMA.DATAFILES; select * from INFORMATION_SCHEMA.TABLESPACES; +---------------+--------+---------------+----------+------+------------+ | NAME | ENGINE | PATH | SIZE | FREE | TABLESPACE | +---------------+--------+---------------+----------+------+------------+ | datafile2.dat | NDB | datafile2.dat | 12582912 | 11 | | | datafile3.dat | NDB | datafile3.dat | 12582912 | 11 | | | datafile.dat | NDB | datafile.dat | 12582912 | 9 | | +---------------+--------+---------------+----------+------+------------+ 3 rows in set (0.02 sec) +------+--------+---------+-------------+-----------------------+ | NAME | ENGINE | VERSION | EXTENT_SIZE | DEFAULT_LOGFILE_GROUP | +------+--------+---------+-------------+-----------------------+ | ts1 | NDB | 1 | 1048576 | 0 | | ts2 | NDB | 1 | 1048576 | 0 | +------+--------+---------+-------------+-----------------------+ 2 rows in set (0.00 sec)
the ‘free’ column is really the number of free extents. Not exactly ideal… maybe… but since that’s the unit of allocation in the data files, it sort of makes sense. The other option is to list number of extents * extent size. Maybe that’s clearer for people… there is the option of denormalising the tables and have extent size in the DATAFILES table too. There is something in my brain that makes that a hard leap though.
Although…. if you’re going to be querying the tables directly and not just using a pretty gui on top of it all, you should probably know what you’re doing anyway.
Although, both a great benefit (and curse) of commoditising the database market is the fact that you get all sorts as users. This is interesting in cluster as it is naturally a bit more complex than a simple client-server RDBMS.
we also need a NODE column as well. which will probably cause confusion for non-cluster users and the like :)
(for the unintiated, this is work being done in a branch off the 5.1 tree for NDB disk data. we’ll push it to the main 5.1 tree at some point). don’t go thinking this is production ready any time soon (in other words insert a standard disclaimer).
I’m getting responses of people wanting to come to the next meeting. This is all good. Looks like we’ll have more people than last time (which is good). So growing it is.
Considering that a lot of people got information on the last one less than a week before the event, and this time it’s about two weeks – I feel good about it.
Full details at: http://mysql.meetup.com/93/
(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!
Microsoft loses in Eolas patent ruling | CNET News.com
Come on Microsoft – join us in the fight against software patents. This clearly hurts the entire industry – be it big vendors like yourself or small ones.
Let’s not all get royally screwed.
Aparrently Linus himself is a NFS client.
(I’d report the bug to MS, but it seems impossible to do so).
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.
all the best to the Waugh household having hit (as jdub describes it) crisis mode.
All the best with whatever the big badness is.
Alli’s Blog
asks the question “Where does jet fuel go when it’s dumped?”
The answer is, downwards as gravity takes it. There’s fairly well documented cases of this landing in non-ideal places. Best efforts are (supposed) to be made to not to do this in non-ideal places (i.e. over where people are) but it does happen.
The idea is that fuel needs to be dumped in an emergency before a safe landing can be made. (see something like the Aircraft Incidents section on San Francisco airport wikipedia page)
The F-111 is nice as it dumps fuel at the rear of the aircraft between two jets. This has the rather spectacular effect of a “dump and burn”. Arguably a much better thing than spraying fuel onto (land|people|ocean).
I should also point out that yes, it’s a known carcinogen
Instead of writing my own entry, i’m just going to link to somebody elses. yes, that’s right kids, I’m lazy.
$ 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.
Rik van Riel calls for a boycott of Lexmark – I’m joining him on this call. The behaviour of Lexmark with this is just crack-smoking crazy talk.
I have never bought a Lexmark and never will. I will also strongly recommend against anyone I know every buying one.
Screw you Lexmark – you suck.
(insert disclaimer about this being my own views – no that of MySQL AB)
Slashdot | MySQL and SCO Join Forces
Some people seem to think that porting your application to a newer version of an OS, having a trial version of your subscribtion-based support shipping with every copy of that OS and access through that OS vendors reseller channel is a bad thing.
Granted, a lot of people think that certain actions of said OS vendor are just plain retarded. Myself included – it would be much better if they actually focused on products. That being said, there’s more than one OS vendor that does just plain dumb stuff – or, to use the more emotive “evil” word.
Of course, there’s part of the /. crowd that seem to think we must be evil for porting to a SCO platform – but by their silence (and sometimes “screw you guys, I’m going to X RDBMS”) it must be okay for others to do it (note that X RDBMS already supports SCO platforms)?
Besides, anybody who’s really used MySQL will know how easy it is to move your database from one platform to another – really empowering you to make sure you OS vendor gives you the best deal possible – because you can easily move to where the grass is greener.
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.
So I picked up my new laptop on friday. It’s an ASUS V6V – nice and fast, light, good resolution screen and lots of disk and RAM (it came with 1GB, I’ve got 2GB).
Anyway, the transfer of data from my PowerBook went fine. I waited for xfsdump to dump /home from the powerbook to a firewire drive (and for “waiting” I do mean going out and seeing Charlie and the Chocolate Factory – which was very good).
Installing Ubuntu on the ASUS went like a dream. Everything, and i do mean everything worked out-of-the-box with only one tweak. That was uncommented the ACPI sleep configuration option do-dad in /etc/default/acpi-something-foo to get suspend to ram working.
The WEP didn’t work in the installer, so I initially just used the GigE adapter until the first reboot.
The firewire drivers don’t really behave with this laptop atm… that dreaded “aborted sbp2 command” error too often – so abandoned that and futzed around with a private net and NFS to xfsrestore /home.
Go to bed, awake later to find /home on new laptop (with an extra 23GB of free space!). I had to, of course – rebuild those essential packages for x86 instead of ppc – namely wesnoth.
oh, and cleaning out the ppc binaries from my mysql bk trees and doing a x86 build (I also had to change my CC from ‘ccache distcc powerpc-linux-gcc’ to ‘ccache distcc i386-linux-gcc’). One thing is for certain, it’s quicker at building things – even if the fan ramps up a bit when doing so :)
MySQL builds pretty quickly when you have a 2.8Ghz P4 and a 2.13Ghz Pentium M building it.
Anyway, set up all the apache foo for hacking on the LA website and MemberDB today. A load of the elections-result page on digital (the LA server – dual PIII 1.133Ghz) takes about fourteen or fifteen seconds using PostgreSQL as the database.
I previously reported that using MySQL (InnoDB tables) I got about twice the performance on my old laptop (1Ghz G4).
Well, on this one (2.13Ghz Pentium M) I’m getting the page loading in under three seconds. Sweet. Maybe I won’t go ahead and try to optimise some of the queries :)
(the query cache is probably coming into this – but i did do the query several times – so it’s not as if there’s any unfair advantage anywhere).
I’m using the 5.0.12-max-beta gcc dynamic build as downloaded from mysql.com for these runs. All other packages (apache2, php) are as shipped in Ubuntu. The my.ini file is as-shipped (err.. i think so: no query log, no binlog, slow query log enabled and some paths changed)