Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
10 Newer Entries Showing entries 61 to 70 of 104 10 Older Entries

Displaying posts with tag: Geek (reset)

tests and mysql-test sub directories
+0 Vote Up -0Vote Down

Recently I’ve been making more modifications to the MySQL source. Part of making modifications is testing them. For years I’ve been curious why there are both tests and mysql-test sub directories in the source tarballs. Arjen Lentz tells me that tests is old and that mysql-test is the current testing framework. This makes sense since the manual testing pages are all about mysql-test.

Are there plans to clean up the remnants of the old testing framework? What else is there in the tarball that’s outdated and needs to be removed?

Some advice, if you are going to speak at a geek conference.
+0 Vote Up -0Vote Down

I worked out these rules from speaking at MySQLcon, and attending OScon this year.

  • Speaking at geek conferences is fun.
  • Don't put your talk on your slides!
  • Don't put everything on the slides, don't put the outline on your slides, don't put a lot of stuff on the slides.
  • Put questions on the slides, instead. Each question is the one you answer while that slide is up.
  • You can occasionally have an answer, a good quote, or a graphic.
  • If someone can't QUICKLY write down what is on the slide, it's too complex.
  • Do write speaker notes. Make them as complete as …

  [Read more...]
The Kysoh Tux droid toy. First impressions
+0 Vote Up -0Vote Down

I just unpacked and started setting up the Kysoh Tux toy that I got at OScon. The lucky folks with a press badge were given a free one. I had to pay for mine.

The good:

Physically, it feels to be well and solidly made. It didn't feel like they were being cheap with the fabrication. It weighs just over half a kilogram.

Physical setup is straightforward. Unstrap the parts from the box. Click in the US power module into the internationalized power cord. Plug in the penguin unit, to charge it up. It can operate both plugged in, and on internal batteries, which it charges itself. Plug the …

  [Read more...]
Howto list and delete networks from Linux NetworkManager
+0 Vote Up -0Vote Down

If you are running a Linux laptop that uses NetworkManager, you can get a list of every wireless network that NetworkManager knows about by doing

gconftool-2 --all-dirs /system/networking/wireless/networks

If you want to delete one, do

gconftool-2 --recursive-unset /system/networking/wireless/networks/BADNETWORKNAME

I find this useful when I'm in a venue, such as a tech conference, where there is both a free conference wireless network, and a paid wireless network run by the convention center. If you ever accidentally associate with the paid network, then whenever the signal strength …

  [Read more...]
set sql_log_slow=0 to control the slow query log.
+0 Vote Up -0Vote Down

Currently there isn’t a good method to control sending individual queries to the slow query log. Typically this isn’t an issue. It becomes an issue when using very short query times and importing sql files. The slow query log doesn’t have a limit on the length of queries it will write to a log. If you’re importing a sql file with inserts that get sent to the log mysql will dump the entire insert query. This can cause the slow query log to grow to gigs in size in a very short time.

I’ve patched mysql 5.0.41 to add a session variable called sql_log_slow (think sql_log_bin) that when set to 0 will prevent queries from that …

  [Read more...]
Distributed business organization
+0 Vote Up -0Vote Down

A few months ago, I had a meeting with a small local startup. Their tech and their pitch is pretty neat. They had an angel kick them a megabuck of seed to get started. It's the classic geek startup: two main guys, one wearing the CEO/sales/biz/money hat, and the other wearing the CTO/it/tech/arch/geek hat. And they've hired a couple of coders.

But they've also rented some office space: two cubes, a meeting room, a front desk, and a lockable office for the locking file cabinet. Now, it was cheap office space, but still, why?

It's a waste of the angel's money, is increasing their burn. For what it's costing them, they could hire another coder. Dev speed …

  [Read more...]
What is the Next Big Thing? (longish)
+0 Vote Up -0Vote Down

In a decade, on-demand virtualized utility computing will be an invisible utility, part of the vital infrastructure of the technological economy.

People will mostly have forgotten what an enormous pain in the ass provisioning computation was today. Today, we don't truly feel that pain, because it seems "normal", everyone has to suffer it together.

The situation right now is, if you have a delivery van, you have to make your own gasoline. And you have to hire and pay for your own mechanics. Seems stupid, doesn't it? It's amazing that there are any delivery vans at all …

Think of the internet itself, what it did to telecoms.

Twenty-five years …

  [Read more...]
How alter table locks tables and handles transactions
+0 Vote Up -0Vote Down

I’ve talked to several people that have questions about how alter table works under the hood. They want to know how it handles locking tables why they can sometimes use a table during alter table and other times they can’t. Also why it’s so slow

First let’s look at the basic process alter table typically goes through.

  1. If a transaction is open on this thread, commit it.
  2. Acquire a read lock for the table.
  3. Make a temporary table with new structure
  4. Copy the old table to the temporary table row by row changing the structure of the rows on the fly.
  5. Rename the …
  [Read more...]
A webfeed storage engine...
+0 Vote Up -0Vote Down

While I'm being insane...

CREATE TABLE housing ...

SELECT title FROM housing WHERE ...;

I think I can get it working with a week or less work.

I thought of doing this at the Yahoo Pipes talk at the Vancouver PHP conference a few months ago, but dimissed it as a joke. I thought of it again at Pasha Sadri of Yahoo's final keynote yesterday. This time, I know that I can do it, but I don't know if I can dismiss it as a joke.

Is this a great idea, or a sick one?

A neat thing at the MySQL Con
+0 Vote Up -0Vote Down

The MySQL Con has done something amazingly intellegent. Taped down to the floors in all the session rooms and meetings rooms, there are power strips. No matter where you sit, there is a powerstrip within a couple of meters. So instead of spending time looking for power outlets and having clumps of people gathered around the few outlets around the walls, you can sit where you want, and take notes and do research while listening and speaking.

This is something that all other tech conferences would do well to emulate.

10 Newer Entries Showing entries 61 to 70 of 104 10 Older Entries

Planet MySQL © 1995, 2016, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.