Friday, August 31, 2007

Yay! Now you will reboot as all of us!

Finally we see the end of the day, when Linux never rebooted after update:


Wednesday, August 22, 2007

Boring Hollywood Incompetence

I am wondering: Hollywood keep you stupid, or they are stupid? Today I am talking about nice Bruce Willis's performance in "Die Hard 4". So what happened, actually?

Well, nothing particular. As usual, two bags of gun bullets into one police car with no injure to passengers, destroying flying helicopter with a police car and soaring jet without working engine with Bruce on top — quite trivial, usual things from Hollywood. :-)

But information technologies was just amazing. Uploading map files to Nokia phone with network down was tricky, but I love much more hi-tech innovations. Here they are:

Transferring over WiFi connection... 500 TiB. Let me repeat: five hundred terabytes over wireless connection. Moreover, they actually do know the final destination: 500 TiB. No, dude, not 499, not 501, not 523 TiB and 56Gib and 453 MiB... No. Round, clean, exact 500 TiB. No more, no less. And they do not just copying it. They do graphic output for each file they copy — maybe to make the process faster? Here how the technology looks like:


You see it? Really?



Next, the “bad guys” went to shut down entire Power Plant. Great. To do that, they needed a bunch of aluminum trunks of equipment. Some of equipment are three laptops, one of them even like sub-trunk with armored laptop inside, three keyboards and cheap Chinese webcam for few buks. Even not an Apple iSight with autofocus. Great equipment though. Hey, but what the hell?.. They do shutting down the Power Plant with... a Palm pilot? Yes, they do! You can notice how that sexy hacker-woman barely types with the same middle finger which she shows usually to others when she is angry:


And again:


But no, she could not do this, because the funnier trickier policeman kills her in a room, using jeep 60 km/h. Being whacked stronger than jumped from ninth floor, she still able to fight Bruce in the elevator well. But OK, this is another story, not IT-related... So asshole was killed by Bruce, and now time to power up partly shut down Power Plant. To do this, “good hacker TM” first decide to kick away “bad hackers TM” out his network. Here how he is doing: putting stupid ads to bad guy's screen. It looks like this (for bad guy TM):


But now I am thinking: what the hell “special software” (c) Americans are using in their Power Plants, that it is so easy add such kind of ads?.. Probably this is very innovative technologies, yet unknown.

The encryption all finance information was real fun. They done it with... a screensaver:

Thursday, July 19, 2007

Meet Domo-kun

I just have a new friend on my desk: Domo-kun. In Japanese it is written as どうもくん Dōmo-kun. His name is like this, because only the word he knows is from greeting "Domo!" どうも、こんにちは (dōmo konnichiwa), which means something nearly "Well, hello there!".

Domo-kun has one unexplained mystery of his DNA: a strong dislike of apples. However, it is not true at least so far. As you may see on a picture, Domo-kun looks quite happy on my Apple laptop. :-) Machine works fine and I am writing this blog entry using it. There is also another one Domo-kun, much smaller. He is standing on my Apple external drive and drive still works fine too. :-)


He looks happy, eh? :-)

Sunday, June 24, 2007

Apple iToilet

There is an idea for Apple Inc. to make the next super product: iToilet. 
Benefits:
  • Easy to implement.
  • Everybody has toilets.
  • Already designed, only few tunings required.
Here it is:


Isn't that beautiful?.. :-)

Saturday, May 26, 2007

Why not MySQL

1. MySQL is not scalable: there is no table partitioning. As your data grows and so does your use of the database, you'll find your options for scalability are very limited to what you can "hack" around on your own. Other RDBMS solutions like Oracle, MSSQL, and yes, even Postgres have anywhere from decent to excellent scalability.

2. Advertized "enterprise" features are hacked into the stagnant and very monolithic MySQL codebase and frequently do not deliver as advertized. Here are examples: Sub-selects are not well optimized, if at all; indexes cannot be used more than once in the same query to help with optimization; using a combination of triggers and stored procedures within transactions in a medium to high usage environment results in crashes that even MySQL cannot explain; row-level locking only exists if you only have primary key, and no other indexed columns that you need to update, and you are updating using that primary key; does not truly support MVCC — even with InnoDB your selects may block updates and the other way around; replication forces further limitations in concurrency; the list can go on and on. None of these are a problem to any noticeable extent with any of the other "enterprise" RDBMSes.

3. More on replication: even though MySQL has somewhat elegant solution for replication, besides limiting concurrency (as already mentioned) and introducing serialization, this solution poses additional tricky fundamental problems. For example, it is nearly impossible to implement a true multi-master replicated environment.

4. No HA solution: Oracle and MSSQL (recently and more limited) offer true HA solutions that can increase your database availability in case of failure, and within the HA environment guarantee the transactions and data the applications were led to believe was successfully manipulated. This cannot be achieved with heartbeat and replication using MySQL, or even Postgres for that matter.

5. Critical bugs dealing with data consistency: This is not a statistical analysis, but MySQL has had and still has a lot of critical bugs dealing with critical part of the RDBMS - data. e.g., you cannot rely on RDBMS for storing your data if, when queried under certain circumstances, it returns NULLs when it should return the correct data. It is not fully comprehensible how a product released as stable (such as version 5.0) can still have so many critical data-related bugs.

6. Horrible codebase: If you are at least a decent programmer, please have a look at MySQL code: monolithic, one main file with succession of countless if blocks for parsing, optimizing and running queries; features such as triggers, stored procedures, and replication visibly hacked in to the existing "bad" design. There's very little abstraction that can leave data files in inconsistent and unreadable state in the event of the server crash (mostly MyISAM). And then, just for kicks, please have a look at Postgres source code: well-organized, separated into well-designed components you'll get acquainted with certain satisfaction to components that do parsing, planning, optimization, execution, and other functions. Code is well-commented and, as a programmer, it will give you a certain comfort when dealing with the software. This is a very important point and demonstrates why Postgres, for example, having a solid foundation, can implement advanced features (such as transaction savepoints, etc.) with very little critical issues, and why MySQL has half of the features that only "work" in certain circumstances and are subject to critical bugs after the stable software release. If you don't see a night and day difference between the two, smack me.

7. No RBAC.

Tuesday, April 03, 2007

I became owner of Yamaha MO6

After long thoughts what to buy for the same price: Roland Juno-G or Yamaha MO6, I've decided to stick with Motif series of Yamaha. That was right choice! Way better voices (can't find decent bass in Roland machine), over better possibilities, way better keyboard, way better and sophisticated sequencer — overall nice choice over Roland Juno-G.

As for Juno-G still good choice if you want lightweight keyboard. Yamaha MO6 still 10+ kg (not 25 anymore though), still bigger, thicker... Also, to burn mp3 or WAV of your composition, you need a PC to record one via analog output. Ah, and it is not a sampler, can not record audio track as Rolang Juno-G can. But wait, do we all have computers, right? :-)

Here is a result of my messing around. Some people even finds it useful... :-)

Sunday, March 18, 2007

XVid Crashed My Laptop. Almost.

Today I found a system message on my Apple laptop: "Your startup disk is full!". Scary! Who ate 45G space of my main disk just per one night?!!

Guilty was a huge error log[s], which was generated in /Library/Logs/Console/... because I've downloaded a XVid plugin for QuickTime: http://n.ethz.ch/student/naegelic/index.php for playing with, but this beast didn't throw any complains, just silently generated huge amount of rubbish data.

Also one interesting moment: after I had removed the logs (rm command) and sync'ed disk, space still didn't changed at all. Everything fine become only after complete machine reboot. Weird.