0

Touristy Things To Do In San Francisco And Around It


Posted by Artem Russakovskii on December 17th, 2007 in Personal, Stuff

image

I was looking through some old papers while cleaning out the closet and found this list that Milla made for my mom when she was visiting. I quickly jotted it down for future reference. Here it is in no particular order:

In San Francisco

Outside San Francisco

5

Fun With The Kill-A-Watt


Posted by Artem Russakovskii on December 15th, 2007 in Personal, Stuff

Updated: December 19th, 2007

If you haven't heard yet, there's a cool useful little device that you can buy for about $20, called the Kill-A-Watt. You plug it into the power outlet, then plug something into it and observe various fun facts about the plugged in device, such as the power consumption, voltage, amperage, etc. I started plugging things in and recording power consumption that you can see below. Here are the results I got so far (updated often):

2

DEATH BY CUTENESS: Orphaned baby owls adopted by cuddly toy mom!


Posted by Artem Russakovskii on November 12th, 2007 in Beer Planet

Updated: December 17th, 2007

An adorable group of orphaned baby owls have been adopted by a silly-looking stuffed toy owl, after they were found on the brink of death in the wild. You have to see the photo to believe it – you will die of cuteness!

image

read more | digg story

Are you dead yet?…

Read the rest of this article »

0

The 300 Counterstrike Idiots


Posted by Artem Russakovskii on November 10th, 2007 in Entertainment, Humor

Tonight, we dine, in de_dust! …

Read the rest of this article »

2

Make Screen and YaST Work Together


Posted by Artem Russakovskii on November 4th, 2007 in Linux, Programming

Updated: March 19th, 2008

I don't know about you but I've had a lot of problems making screen work nicely with YaST. Both putty and SecureCRT had major problems displaying YaST's ncurses interface. The screenshots below depict the problem quite clearly. If at this point you don't see anything like this, you are most likely not affected and can go get a beer.

image

image

If you are seeing similar problems, here's the fix. After digging around a bit, I have discovered that the problem was incorrect data encoding. My character set was set to KOI8-R while ncurses expected UTF-8. Here is how to change the corresponding setting in putty:

image

image

… and SecureCRT:

image

image

Now restart YaST and voila:

image

image

P.S. You may be wondering why my screen …

Read the rest of this article »

4

Most Awesome Halloween Costume. Signed, Apple Fanboy.


Posted by Artem Russakovskii on October 28th, 2007 in Awesomeness, Entertainment, Humor

Can you think of a better Halloween costume this year than what these guys came up with? Lifesize iPhones, coming to a Halloween party near you. Normally, I'd say, this is dorky, but… it's just awesome. Imagine wearing this to a club, you'd be the life of the party.
 

Read the rest of this article »

2

Terminator 4 Salvation: The Future Begins (2009)


Posted by Artem Russakovskii on October 20th, 2007 in Awesomeness, Entertainment

Updated: December 16th, 2007

The next Terminator is coming. Who's excited?

Here's the plot: After the drastic effects of Terminator 3, the story continues as John Connor and soon to be wife Kate Brewster realize they must create a resistance organization with Earth's remaining survivors against the army of robots slowly being built up by Skynet. As they are building this resistance, one survivor happens to be a traitor in disguise, and has a secret that nobody would ever come to suspect.

The good news is that the movie is now in pre-production, the script is done, and shooting should begin in 2008. Terminator 4 will come out in June 2009 if everything goes as planned.

The bad news is that Arnold will not …

Read the rest of this article »

2

Portal By Valve – The Most Entertaining Game In A Long Time


Posted by Artem Russakovskii on October 14th, 2007 in Awesomeness, Entertainment

Updated: October 28th, 2007

The saddest part of growing up for me is probably the realization that games don't entertain me nowadays as much as they used to. OK, maybe not the saddest, but it's up there along with having to "work", not being able to "get trashed like there's no tomorrow", and behaving like "an adult".

But where was I? Oh yeah. Even though graphics and realism improve every year, my desire to play anything goes down at the same rate. Valve seemed to know this quite well, so it promised to do everything in its power to satisfy me.

Enter the long awaited Portal. Combine the Halflife 2 engine with the power of a portal gun and brain busting riddles, add …

Read the rest of this article »

2

cpan – The Perl Module Manager


Posted by Artem Russakovskii on October 12th, 2007 in Linux, Programming

Updated: March 19th, 2008

cpan is a perl module manager. To get into cpan, login as root and type in

cpan

Install a module:

cpan install MODULE

Upgrade a module:

cpan upgrade MODULE

Reinstall a module or force install in case of failed tests:

force install MODULE

See a list of upgradable modules:

r

See cpan configuration (that's the letter 'o'):

o conf

Update an option in cpan configuration:

o conf OPTION_NAME OPTION_VALUE

It is always nice to:

upgrade CPAN
install Bundle::CPAN

If there's an error making a Perl module, it can be caused by a missing make path in cpan configuration. In …

Read the rest of this article »

10

sysbench – Linux Test Bench


Posted by Artem Russakovskii on October 12th, 2007 in Databases, Linux

Updated: October 22nd, 2011

sysbench – Linux test bench. Easy as pie to test CPU, memory, threads, mysql, and disk performance.

Full description is available here: http://sysbench.sourceforge.net/docs/

install mysql, mysql-devel
wget http://downloads.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz
tar xvzf sysbench*gz
cd sysbench*
./configure && make install

mysql tests

This will run 10 separate consecutive mysql tests using an InnoDB table type, each with 100 mysql threads, doing a total of 1000 various SQL operations per test. Then it will print the total time they took to finish:

sysbench --test=oltp --mysql-user=USER --mysql-password=PASS --mysql-db=test \
  --mysql-host='HOST' --mysql-table-engine=innodb prepare
 
time perl -e "foreach(1..10){print \`sysbench --max-requests=1000 --test=oltp \
  --mysql-user=USER --mysql-password=PASS 

Read the rest of this article »

1

A Short Note On eAccelerator – The PHP Accelerator


Posted by Artem Russakovskii on August 29th, 2007 in Beer Planet, Linux, Programming, Technology

I've recently installed eAccelerator on the web server that hosts this site and I wanted to share some of my impressions after a few days.

  • What does it do? Nobody put it better than the eAccelerator team itself: "eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times."
  • Does it work? Hell yes. beerpla.net loads on average twice as fast as before. The results are consistent, so I'm very
  • Read the rest of this article »

0

David Blaine's Street Magic (Now With Part 2)


Posted by Artem Russakovskii on August 28th, 2007 in Humor

Pure awesomeness.

Part 1:

David Blaine Street Magic #1

Part 2:

David Blaine Street Magic 2

Read the rest of this article »

1

Awesome… Or A Warning From Nature?


Posted by Artem Russakovskii on August 28th, 2007 in Awesomeness, WTF?

The DailyMail reports on some crazy ocean foaming in Sydney. What exactly are they talking about? Perhaps the pictures will explain better (or not).

foambeachii1_468×721.jpg

foambeachii3_468×338.jpg

foambeachii2_468×336.jpg

Read the rest of this article »

At the recent Seattle Conference on Scalability organized by Google, Cuong Do, an engineering manager at YouTube, talks about YouTube's growth over the past 2 years and the scalability problems they have overcome. All in all, it's a very interesting presentation that I can recommend to anyone remotely interested in large-scale projects, such as YouTube.

One interesting fact that Cuong mentions is that the pre-Google YouTube tech team consisted of only 2 sysadmins, 2 scalability software architects, 2 developers, 2 networks engineers, and 1 DBA. It's quite impressive that such a small team managed to maintain and scale such a widely popular service.

Here's the presentation (52min long):

Read the rest of this article »

52

How To Resize/Grow VMware Linux Disks and Partitions


Posted by Artem Russakovskii on August 10th, 2007 in Linux

Updated: January 18th, 2009

Update 01/16/2008: This method does not work for LVM partitions, as discovered in the comments.

In this article, I will show how to resize a VMware disk if you didn't make it large enough when it was created. Furthermore, I will show how to resize partitions following the disk augmentation using OpenSUSE 10.2 as an example. You will even be able to resize the Linux root partition (/) that is mounted and is normally unmountable.

The story: this is simple – you made a VMware disk without thinking ahead and now it ran out of space. Here you have a few options, the most notable ones being create another disk and mount it or grow the existing disk and …

Read the rest of this article »