Showing entries 851 to 860 of 1149
« 10 Newer Entries | 10 Older Entries »
Displaying posts with tag: General (reset)
If you can?t beat them, join them!

Like fellow friends and MySQL’ers before me Morgan, Roland, Giuseppe, Markus and Sean, I’ve joined the MySQL juggernaut on the ride of my life, achieving two of my short/medium term professional goals in one step. Woot!

It says something to me about the company I’m very excited to work for when I knew of all these people before they joined MySQL this year (2006). I’ll also be joining other friends and MySQL people Arjen, Jon, …

[Read more]
How to fix a MySQL bug

Some time ago, I sent an internal message to all the MySQL employees challenging/pleading for anyone who had coding skills but was not involved on the development team to jump in and help fix bugs. Several kind people took me up on that challenge, and Jay has now blogged about his experience and the steps involved in fixing a MySQL server bug. It’s an excellent and detailed explanation of how to set up your linux (or Mac) development environment, and how to add a test case to our regression test suite to be sure the bug never comes back. One suggestion - I recommend using compile-pentium-debug-max instead compile-pentium-debug, as the max build script turns on a lot more things in the code which you want to be tested when you run the regression test suite.

Hmm, I wonder if anyone would …

[Read more]
Charset support in MDB2

Lorenzo has startet working on better charset support in MDB2. He has added basic support for setting charsets and collations inside field definitions in CVS already. However, there are still plenty of open questions to look at. I have only limited experience with charsets in MySQL. Lorenzo has some experience with Firebird and PostgreSQL. But this is no where near sufficient to come up with a solution that would work reasonably well across all supported drivers. Check out his charset RFC on his blog. Comments are very much appreciated, even if they just highlight problems without giving a solution just yet.

Saturn comes back around?

For certain evil purposes last week, I assembled the old Saturn with a hard disk I found when cleaning a little while ago (I have that kind of tech stuff - you clean up and find 40GB disks - I’m pretty sure I have an 8.4 bumming around somewhere too).

I ended up being able to do the evil I needed to, but I could tell that the room was a bit warmer due to the extra box being alive. I was also lazy and couldn’t be bothered going downstairs for the D200, so this was shot with my old and trusty Coolpix 4500.

I used the box to be able to get remote access to a customers’ test setup to do some diagnosis on a bug (that’s notoriously hard to reproduce). I think I have a fair idea of what it is now though (timing related - not fun).

Remember kids, threads are evil.

Also, an interesting thing to …

[Read more]
Choosing Datatypes for Fields

Twice recently I have had to import data from a flat file into a database — both sets of data were being imported to make better use of the data in the files. Importing a file is not that difficult using mysqlimport, particularly since in both cases the data was tab-delimited. I also could have used LOAD DATA INFILE.

The problem with mysqlimport and LOAD DATA INFILE is that you need to create the table beforehand. Often, though, I may not know the exact data types. Folks have written about PROCEDURE ANALYSE(), but they use it in the context of “you can check to see that your tables have the correct data types.”

[Read more]
Python 2.5 released, the new ?with? statement will be great for database use

The final release of python 2.5 is out! The list of what’s new is pretty impressive, but I’m especially happy to have the new “with” statement. Ruby has block methods, or closures, which can be used for doing very clean setup/cleanup. While full-blown Anonymous block statements were rejected from Python, the new “with” statement handles the part I care about: making it easier to write code that works correctly in the case of failures.

The 3 typical use cases are a file that needs to be closed, a lock that needs to be released, and and a database transaction that needs to be either committed or rolled back. The database case is the …

[Read more]
Quote - 19 September 2006

“MySQL is at the heart of revolutionary changes in the computer industry” - Tim O’Reilly

Hmmm, worthy of my Quote of the Day Section, but is it necessarily true. I believe MySQL is significant in the advancement of great opportunities in the computer industry particularly the Internet, but is it revolutionary?

The Oxford Dictionary states: revolutionary ? adjective ? involving or causing dramatic change or innovation.

Perhaps so. Any Comments Welcome.

Stolen shamelessly from the MySQL User Conference Web Site Banner.

Supernova burnout

This is a post from a few months back which somehow got stuck. I’m publishing it now as it still holds true.
I read an article today which mentioned “supernova burnout”, describing it as burnout that occurs when someone has reached the pinnacle of their career (I’m paraphrasing from memory here). The recommended solution? Find a cause that you are passionate about, and find a way to work it into your life.

Want to know what I’m passionate about? Taking care of my family. That will add purpose and meaning to any job. Something I love about working at MySQL is that I can work from home, which means I get to see my family a LOT more than I have in years past. Somehow there is just no substitute for being present.
I’m also passionate about programming, and sharing knowledge with other people. The book Code Reading: The Open Source Perspective highlights just how important it is to have access to the …

[Read more]
Two weeks of fun and more to come!

After spending a good week at my parents in rainy but relaxing florida, I flew to Toronto to speak at php|works. The conference was great fun and especially my second talk Explaing Explain went as good as I had hoped. In the talk I was mostly talking about controlling execution plans with particular focus on MySQL and PostgreSQL. I spend longer than ever on this talk so I am happy it worked out so well. I will probably submit the same talk for OSDBcon with some minor tweaks. Since I only had 60 minutes several slides are marked "skip". Maybe OSDBcon can give me two slots so that I can cover those slides as well. The other talk building portable database applications

[Read more]
MySQL python connector now being tested in PyBots project

The PyBots project (http://pybots.org/) is a way for people to run tests for python applications using Python binaries built from the very latest source code from the Python subversion repository. The idea is brilliant, and has application far beyond the Python project.
As Grig Gheorghiu previously announced on his blog, I’ve set up a buildslave testing MySQLdb, the python connector for MySQL. I’ll probably try to set up tests for SQLAlchemy next. You can see the builder status page here, my builder is named ‘amd64 Ubuntu Dapper trunk’.
Instructions for how to set up a buildslave are on pybots.org, and you can see the buildscripts along …

[Read more]
Showing entries 851 to 860 of 1149
« 10 Newer Entries | 10 Older Entries »