Big news in the Database world as Oracle takes over Sun and MySQL puts up a fight

Michael Widenius, the creator of MySQL, is calling on all open-source advocates and MySQL users to write to the European Union Commission to protest the takeover of Sun Microsystems by Oracle. As you may know, Sun bought MySQL not long ago, and now Sun is in turn being bought by Oracle. The U.S. has already approved the merger, but the E.U. is considering it on anti-trust measures. 

Debugging those tough Drupal errors

 Do you ever get hard to track down php errors in Drupal. Especially those coming from core file includes (I'm looking at you Well, you should check out this excellent post on Lullabot by none other than Angie Byron, a.k.a. webchick, a.k.a as the D7 maintainer! It will help you do a trace on those errors so you can debug them from the places they are actually being called. is not the problem! It's a contributed module or your code that is causing the problem.

Posting this from the exercise bike

I am currently riding an exercise bike and writing this at the same time after managing to strap my laptop to the bike. Yes, the internet is indeed serious business. 

A word of advice, if your exercise bike's display has even a small lip, just put the laptop on it and strap it firm with a bungie cord (available at camping shops and online) as opposed to buying an expensive contraption to secure it with. 

Here's my bike, so far I really like it. You have to work on the adjustment a bit so that it won't sway at higher resistance levels, but otherwise great for a low price:

Fixing the drupal_breadcrumb in Drupal 6. Pretty Breadcrumbs.

 Drupal 5.x did Breadcrumbs just fine. They showed up like you would expect, so if you had something along the lines of say, Amazon's categories of Home -> Electronics -> Computers and you were on say the page for Laptop's then in D5 your breadcrumb would appear as:

Electronics -> Computers -> Laptops

Or close to that anyways. No matter if you were on the edit tab, or the view tab, it didn't matter, your Breadcrumb just worked. 

Do you use the command prompt on Windows?

 If you use the command prompt on Windows and frequently want to go to the same path, for instance a deeply nested folder, then a handy trick is to create a batch file in your favorite text editor, (save as .bat type), with the following lines:


@echo off
cmd  /k cd C:\folder\you\want\to\go\to

Where of course you replace folder\you\want\to\go\to with the folder path you desire. Then all you have to do is double-click the .bat file to go straight there.



Subscribe to Coder in the Rye RSS