Showing entries 40273 to 40282 of 43991
« 10 Newer Entries | 10 Older Entries »
Don?t get pwn3d: Why Professionalism Matters In Community Discussions

Some years ago (as penance for working at MySQL during some temporary corporate brain-damage about Free Software licensing) I began volunteering at the Free Software Foundation.

For the most part, I have spent my time providing support on Free Software licensing questions for the FSF Compliance Lab and helping out on the GPL v3 effort.

While both activities are quite rewarding, the work at the compliance lab tends to be most interesting. We serve a wide variety of people and organizations who have a correspondingly wide range of experience, views and questions. This leads to rewarding experiences, as well as experiences that are more …

[Read more]
MySQL 5.2

I installed MySQL 5.2 today a la Markus Popp although I note his comment that it may not in fact be any different from 5.1 as yet. I have installed MySQL from source before, in the form of the 5.1 source download package. I did BK pulls of both the 5.1 and 5.2 sources, noticing that they required me to upgrade my Bison compiler, where previous builds of 5.1 worked okay with the version of Bison bundled with Slackware 10.2.

Then I went to install it on my aging Thinkpad only to have the hard drive choose this particular moment to give up the ghost. I happen to like this particular system because when people ask about what sort of footprint to expect, I point out my Thinkpad with the 300 MHz Pentium II, 64MB ram and 10GB harddrive running Slackware, Apache, MySQL and PHP. I've been using it steadily for five years and it was refurbished at …

[Read more]
Minding My P's and Q's (Prepared Statements and Query Cache Episode 3)

OK, so my previous couple blog posts about prepared statements and the MySQL Query Cache, along with an excellent (as always) and in-depth coverage article on the query cache by Peter Zaitsev, have raised a number of excellent comments and discussions about the concept of prepared statements. Unfortunately, my previous blog post may have given the wrong impression about various Connectors' implementations of prepared statements and the reason why performance issues arise. This post is intended to clear up any misconceptions and begin a community discussion on what we, in the community, can do to help.

Mark Matthews, development manager of the MySQL Connectors team, and all-around cool dude, wrote me an email about some of the reasons why things are the way they are with the prepared statement implementation in the JDBC connector (and, not coincidentally, in other libraries). He pointed out that the performance issues with prepared statements …

[Read more]
Cubicle Wars

Dave Thielen, CEO of Windward Reports and author of the excellent books "No Bugs!" and "12 Simple Secrets of Microsoft Management" has posted a very funny video on his web site called "Cubicle Wars" which is presumably what programmers focus on when they save so much time using his reporting tool.

I thought it was very clever way to show how Windward Reports saves people time.  (Disclaimer, no Windward Reports is not open …

[Read more]
Use of English spotted in email

"This email already isn't using, as far as something of necessity you have need of, so hypotenuse Your enamel on my new email address: ..."

/me sighs

SQL editors

About six months ago, on the recommendation of my accountants, I bought an accounting system, Mind Your Own Business. It runs under Microsoft, and I find it painful in the extreme. In the end, I decided not to use it.

On the other hand, what I was using before doesn't really cut it: as a died-in-the-wool UNIX man, I used a set of home-grown awk scripts to manipulate records which look like this:

TA#20060129#4##(2) Transfer in Brisbane
M#20060129#15.95##(3) Dinner
A#20060129#25##(4) Departure tax##NZD#0.928
M#20060129#41##(5) Lunch (Arjen, Grog)##NZD#0.928
M#20060128#25.95##(6) Dinner##NZD#0.928
M#20060126#9.5##(8) Lunch##NZD#0.928

UNIX people will recognize “intuitively” that these records consist of fields separated by a hash mark, # (and not a pound sign, £, which would be very …

[Read more]
An ugly query should be a warning bell

A recent question in a newsgroup was

Given this table in MySQL 4.0, how can I run a single query to sort the records by the number of pipes in myfield?

id(int) -------- myfield(varchar)

1 --------- |number1|number2|
2 --------- |number1|
3 --------- |number1|number2|number3|
4 --------- |number1|number2|number3|number4|


Suppressing my urge to say something about the data structure, I suggested this clever solution from a test sample I deduced from the request:


select * from mytable;
+----+-------------------+
| id | myfield |
+----+-------------------+
| 1 | 10|1|12|9 |
| 2 | 1|2 |
| 3 | 19|5|59|91 |
| 4 | 111|31|10|1|12|9 |
| 5 | 1|2|7 |
| 6 | 95|59|91 |
| 7 | 123456789|2000000 |
+----+-------------------+
[Read more]
Default Timezone in PHP, Not Working?

Since I started using PHP 5.x.x I started to experience incorrect time reported back through PHP using for example date(). I checked phpinfo() and found out that the default timezone was detected as America/Chicago. This was not the case as the server was configured for Canada/Saskatchewan (CST). I found out that I ended up having to directly set my timezone in php.ini file. I put the following in my php.ini file, then restarted Apache and the problem was resolved.

date.timezone = “Canada/Saskatchewan”

I’m not sure if this is a bug in PHP not detecting the timezone correctly. I tried searching through known …

[Read more]
Open Communities vs. Open Source

By tim

At an OSCON panel yesterday, there was a really interesting conversation between Danese Cooper and Dain Sundstrom. We were talking about what happens when money arrives at an open source project (either in the form of corporate sponsors or commercialization of the project itself.)

Mitchell Baker pointed out how hard it was for AOL to understand that she was still the project leader when they laid her off from Netscape. It took a concerted effort by the remaining Netscape developers to help them realize that she was still their leader, despite AOL's new organizational plans. I had been …

[Read more]
Making Sales while Making Friends: Matt Asay's OSCON2006 Presentation (Online)

Earlier this week I delivered a presentation at OSCON 2006 entitled "Making Sales While Making Friends: Lessons Learned from Open Source Businesses." I've been involved with commercial open source since 1998, and have learned a lot over the years (including how to fail spectacularly and slightly more gracefully). I'm in the middle of a string of successes, though, and figured now was the time to pretend to know-it-all. You can view my OSCON 2006 presentation here. It was an extension of some JBoss analysis I did recently, as well as an attempt to pass on some of the lessons I've learned so that the next round of open source …

[Read more]
Showing entries 40273 to 40282 of 43991
« 10 Newer Entries | 10 Older Entries »