Sunday, August 29, 2010

תסתמו


טוב, נראה לי שמישהו צריך להגיד את זה.
מתנחלים - אני מכיר כמה חבר'ה על הכיפק מעבר לקו הירוק, אבל בגדול אני חושב שמי שגר היום מעבר לקו הירוק הוא במקרה הטוב נודניק, ובמקרה הרע פנאט.

מכאן ועד לקחת את החוק לידיים ולהחליט שאני כאומן לא מוכן להופיע בפני אזרחי המדינה, שומרי חוק, יש דרך ארוכה. אין כל ספק שהאמנים הם שהתחילו את כדור השלג המטופש הזה. אם הייתי רוצה לשמוע את הדעות הפוליטיות שלהם, הייתי מצביע להם בכנסת. אני לא מעוניין בדעה הפוליטית לא של בעל המכולת שלי ולא של השחקן שעומד על הבמה בהצגה שעליה שילמתי ממיטב כספי. אמנים צריכים לעסוק באמנות, ולא בפוליטיקה, וכמו שאין לכם בעיה להופיע בחו"ל, ולא צריכה להיות לכם בעיה להופיע במצרים או בעזה, ככה לא צריכה להיות לכם בעיה להופיע באריאל, או על הירח, כל עוד נותנים לכם חמצן ואבטחה ראויה.
כמובן שהפוליטיקאים עצמם לא טומנים את ידם בצלחת ובמקום להרגיע את הרוחות, ישר טיפסו על עצים ועשו רעש גדול.
שורה תחתונה רציתי לומר לכולכם - פשוט תסתמו. נמאסתם. כולכם. כן, גם את

Sunday, April 25, 2010

Change MySQL Engine for a bunch of tables (or all of them)

Prepare for another very technical / boring morning blog !

I needed to change an entire MySQL database from MyISAM to InnoDB (that is, change all tables in the schema). After Googling for how to do that in a bulk, I found... nothing (didn't look very thoroughly, though...)

I was contemplating doing it manually, as there weren't too many tables in my schema, but I finally caved in and the Engineer in me won and went looking for an our of the box solution.

This is what I came up with (don't laugh) :
SELECT CONCAT('ALTER TABLE `', TABLE_NAME, '` ENGINE = InnoDB;') FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = '';

Run this from your MySQL command line, control-mouse-select the result (so that you can get just the text without the frame) and paste into your favorite MySQL client. Voila.

And the Geek Oscar this morning goes to....

Hope you find this useful

Thursday, March 4, 2010

Saving Power (??) - Yet another morning blog


I got an email from MicroMiser today announcing their latest version. This reminded me that I actually have Micromiser installed on my machine, so I decided to open and it up and see what gives.

I found the image on the right here.
Turns out Micromiser saved me $2.46 by now, and more importantly helped save the environment, yadayadayada.

For those of you (all of you?) who didn't know this, MicroMiser makes some fancy technology that should help companies with large server farms save on their energy by doing some voodoo magic that you can read about on their website. As a bonus, they are giving away that same technology for free for personal computers.

So,
It's a free open beta (registration required). And just in case these guys make more than just a window with random "you save $X" messages - you should probably install it and feel better about being a tidbit greener.

P.S. Thanks to @Ehud who introduced me this cuty as part of the effort to convert me to Linux. Too bad the Windows version came short-after, dude.

Saturday, February 6, 2010

How is it that...

I just tried to make my kids' computer usable by one, M. Wife.

She needed primopdf, so I installed it for her. Then it didn't work. Nothing would print, no errors, nothing.
After playing with it a bit, taking the "push all the buttons" approach, I finally managed to get an actual error message in place of the nothingness:
The application failed to initialize properly (0xc0000135)

Copy/paste in Google. Voila. It shows up a zillion times in almost any app you can think of, and the explanation - the dot-Net framework is missing. OK, so now I'm downloading the thing, and we'll be back up and running in no time. I guess my kids never needed the .Net framework.

Now I gotta ask a series of how is it questions :
1) How is it that M$ expects the .Net framework to be so mighty popular, and they still haven't implemented a decent error message of "please install the .Net framework" if it's not found ?
2) How is it that MS themselves did not use the .Net framework for Office 2007 ? (I have office on this machine, and it worked without it). Not good enough for them ?
3) How is it that when I write "download .Net framework" in any search engine including Bing, I get v2.0 as the first result, whereas v3.5 only comes second, and v3.5sp1, which is the newest one may or may not show up depending on which search engine I use?

So many stupid questions, so little time...

Tuesday, February 2, 2010

Google pulling the plug on IE6...

Hip Hip ! (if you didn't hooray, you must have been asleep in the last couple of years. Or maybe you're not a web developer)

I just got the email below. Finally someone picking up the check, if not Microsoft, then at least their rivals ;)


Dear Google Apps admin,​

In order to continue to improve our products and deliver more sophisticated features and performance, we are harnessing some of the latest improvements in web browser technology. This includes faster JavaScript processing and new standards like HTML5. As a result, over the course of 2010, we will be phasing out support for Microsoft Internet Explorer 6.0 as well as other older browsers that are not supported by their own manufacturers.

We plan to begin phasing out support of these older browsers on the Google Docs suite and the Google Sites editor on March 1, 2010. After that point, certain functionality within these applications may have higher latency and may not work correctly in these older browsers. Later in 2010, we will start to phase out support for these browsers for Google Mail and Google Calendar.

Google Apps will continue to support Internet Explorer 7.0 and above, Firefox 3.0 and above, Google Chrome 4.0 and above, and Safari 3.0 and above.

Starting this week, users on these older browsers will see a message in Google Docs and the Google Sites editor explaining this change and asking them to upgrade their browser. We will also alert you again closer to March 1 to remind you of this change.

In 2009, the Google Apps team delivered more than 100 improvements to enhance your product experience. We are aiming to beat that in 2010 and continue to deliver the best and most innovative collaboration products for businesses.

Thank you for your continued support!

Sincerely,

The Google Apps team


Email preferences: You have received this mandatory email service announcement to update you about important changes to your Google Apps product or account.

Google Inc.
1600 Amphitheatre Parkway
Mountain View, CA 94043