Showing entries 42306 to 42315 of 44061
« 10 Newer Entries | 10 Older Entries »
Wireless power

At conferences like LCA 2006, there are all these laptops running out of juice.... of course, those who try a compile of say MySQL or the Linux kernel, run out faster ;-)

This is pretty cool: SplashPower. It's a mat you put on your desktop, and then toss devices like your mobile, headset, and organiser on top of it - and voila, it will get power and charge. Less wire-clutter and very very handy.
It is of course induction based, and each device needs a tiny little strip of magic to make it work. So it is really a fairly generic solution.

SplashPower is not yet available in stores, they're currently talking with distributors.

RMS on MySQL's Connector licenses

I sent mail to RMS the other day asking what he thought of MySQL's licensing scheme:


From cjcollier colliertech.org Wed Jan 18 13:38:38 2006
Return-path: 
Envelope-to: cjcollier colliertech.org
Delivery-date: Wed, 18 Jan 2006 13:38:38 -0800
Received: from [216.39.139.201] (helo=[127.0.0.1])
        by moonunit.colliertech.org with esmtp (Exim 4.50)
        id 1EzL0o-0000sU-3j; Wed, 18 Jan 2006 13:38:38 -0800
Message-ID: <43CEB557.6050909@colliertech.org>
Date: Wed, 18 Jan 2006 13:38:31 -0800
From: "C.J. Collier" 
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  rms gnu.org
Subject: MySQL connector licenses
X-Enigmail-Version: 0.93.0.0
OpenPGP: id=6CC27EA8;
        url=http://colliertech.org/~cjcollier/gpg/cjcollier.pub
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on …
[Read more]
New Australian passports have RFID

Conferences... Travel... Passports...
The Australian ePassport has been introduced, with very little press attention. The centre page has an RFID chip which contains the same info as the regular passport.
To me, that's actually big news. And very worrying.



While the "should you be required to identify yourself on the street" debate is still ongoing, this passport already goes a step further. Your identity could be read without asking you.

Sure, there are security features in place. For instance, the info from the machine-readable strip of the passport needs to be scanned to get the trigger sequence for the RFID. And the RFID info is of course encrypted.
But we know that this type of technology can be cracked. And since identity theft is a profitable endeavour, nasties are very likely to spend …

[Read more]
Can MySQL triggers update another table?

After playing earlier with triggers, I wanted to see whether one can update another table using MySQL triggers.

I tried something like
CREATE TRIGGER mytrigger BEFORE INSERT ON odp.points FOR EACH ROW SET total_points.points = total_points.points + NEW.points;

but it didn't work.

Is it possible or am I shooting in the dark here?

Thanks
Frank

Finally, sane MySQL clustering

As of MySQL 5.1.5, we’ve finally got row-based replication. This is the last piece of the puzzle to make circular replication usable. Here’s how:

I’m assuming two MySQL servers, A and B. You can, however, use as many as you want, as long as they all somehow pull the logs from all the others.

Set the following config variables on both servers:

server-id=<unique number per server>

log-bin=<hostname>-bin

relay-log=<hostname>-bin

log-slave-updates # really only necessary in circular replication > 2 servers

binlog-format=row

Using the MySQL client, create replication users on both servers:

GRANT REPLICATION SLAVE ON *.* TO repl@’%’ IDENTIFIED BY ‘<password>’;

Then set master …

[Read more]
XAMPP

Today I took a closer look at XAMPP which seems to be a very interesting project. I even use it on a SuSE Linux 9.0 server, because I didn't want to go through the rather painful process of updating PHP to a current version (which required to resolve a lot of dependencies). There are some good things about it, but also some things that I don't like very much.

Generally I think that XAMPP is very much tailored for beginners to make it easy for them to set up a development environment. But I don't think that many advanced developers use it, because if you try to set it up for the needs of more advanced users, it's almost as much effort than installing each component manually. However, I believe that it would not be impossible to serve the needs of both groups - beginners and advances - by making a few more things customizable during the installation process.

MySQL is a product that shows perfectly that it's possible to …

[Read more]
A better backup procedure (re-posted)

My blog software got hosed for some reason. Here is the post again:

I have experimented with many many different ways to best back up a MySQL database using the mysqldump utility. It has its shortcomings. Don't get me wrong though, mysqldump is a great utility program, but its lacking in a few areas, particularly backups performed on slave servers.

While mysqldump has an option for --master-data, it only pertains to the relative position within the server's binary log. For backing up a slave server's databases, this really does no good. What you need is the last executed SQL statement position within the relay log, relative to the master server.

How do we get this position? We need to have a fixed reference point as far as a position. The best way to obtain this reference point is to issue a STOP SLAVE command, obtain the reference point using a SHOW SLAVE STATUS

[Read more]
A better backup procedure

Don't know what happened to the last post, but here it is again:

I have experimented with many many different ways to best back up a MySQL database using the mysqldump utility. It has its shortcomings. Don't get me wrong though, mysqldump is a great utility program, but its lacking in a few areas, particularly backups performed on slave servers.

While mysqldump has an option for --master-data, it only pertains to the relative position within the server's binary log. For backing up a slave server's databases, this really does no good. What you need is the last executed SQL statement position within the relay log, relative to the master server.

How do we get this position? We need to have a fixed reference point as far as a position. The best way to obtain this reference point is to issue a STOP SLAVE command, obtain the reference point using a SHOW SLAVE STATUS command, …

[Read more]
TheOpenForce.com

After much procrastination, I have set up a domain name with the proper mapping for this blog.  So you can now reach it as www.theopenforce.com.   The blog is still hosted at www.typepad.com and all earlier bookmarks should still work.

Addendum: I have had reports that the RSS feed is not working. However, you should be able to get it at as before, e.g. http://zurlocker.typepad.com/theopenforce/atom.xml 

A better backup procedure

I have experimented with many many different ways to best back up a MySQL database using the mysqldump utility. It has its shortcomings. Don't get me wrong though, mysqldump is a great utility program, but its lacking in a few areas, particularly backups performed on slave servers.

While mysqldump has an option for --master-data

Showing entries 42306 to 42315 of 44061
« 10 Newer Entries | 10 Older Entries »