tech

You are currently browsing the archive for the tech category.

Recently, vanberge and rusty have been longing to use the classic AIM emoticon keyboard shortcuts in Pidgin.

Pidgin trac ticket 2675 from three years ago indicated they weren’t going to implement this functionality but one could implement using keyboard bindings in the gtkrc-2.0 file as described in the FAQ. (See also the sample gtkrc-2.0 file for other options that one could use with Pidgin.)

Anyway, I put together a set of bindings to mimic the AIM keyboard shortcuts. <CTRL>+1 through 8 worked as expected, but I had trouble getting the <CTRL>+<SHIFT>+# ones to work until vanberge asked the friendly folks in #pidgin how to do it, so kudos to him for figuring that part out.

To use these bindings, find your “.purple” directory and if the gtkrc-2.0 file doesn’t already exist (mine didn’t), create a new one called “gtkrc-2.0″ and copy/paste the following lines in to it (use the “view source” icon in the upper right of the code box below to open the code in a new window without line numbers or “copy to clipboard” to copy directly to your clipboard)

binding "aim-emoticon-shortcuts"
{
 bind "<ctrl>1" { "insert-at-cursor" (":-)") }
 bind "<ctrl>2" { "insert-at-cursor" (":-(") }
 bind "<ctrl>3" { "insert-at-cursor" (";-)") }
 bind "<ctrl>4" { "insert-at-cursor" (":-P") }
 bind "<ctrl>5" { "insert-at-cursor" ("=-O") }
 bind "<ctrl>6" { "insert-at-cursor" (":-*") }
 bind "<ctrl>7" { "insert-at-cursor" (">:O") }
 bind "<ctrl>8" { "insert-at-cursor" ("8-)") }
 bind "<ctrl>exclam" { "insert-at-cursor" (":-$") }
 bind "<ctrl>at" { "insert-at-cursor" (":-!") }
 bind "<ctrl>numbersign" { "insert-at-cursor" (":-[") }
 bind "<ctrl>dollar" { "insert-at-cursor" ("O:-)") }
 bind "<ctrl>percent" { "insert-at-cursor" (":-/") }
 bind "<ctrl>asciicircum" { "insert-at-cursor" (":'(") }
 bind "<ctrl>ampersand" { "insert-at-cursor" (":-X") }
 bind "<ctrl>asterisk" { "insert-at-cursor" (":-D") }
}
widget "*pidgin_conv_entry" binding "aim-emoticon-shortcuts"

Once the gtkrc-2.0 file has been created/updated/saved, restart Pidgin. Once back in any chat window, use the shortcuts to insert the emoticon text, just like in AIM!

Tags:

Found this super-interesting article at one of my favorite websites, Data Center Knowledge: Facebook Now Has 30,000 Servers

Some of the interesting points are:

  • 30,000 servers
  • Added 20,000 servers in 18 months
  • Stores 80 billion images (20 billion but 4 sizes per image)
  • 600,000 photos served per second
  • 25TB log data generated daily
  • 230 engineers

You can view the CNS 2009 Lecture series webcast where Jeff Rothschild (facebook.com/jeff of course), VP of Technology @ Facebook, presented this information and some more tidbits at the post High Scalability: High performance at massive levels – lessons learned at Facebook discussing this presentation.

I’m glad I only have 400 servers.

Tags: ,

Occasionally I am interviewed for articles about VDI or Virtualization in the healthcare field, but this is the first time I have been asked to contribute to the article myself!

Nothing inspires debate among IT managers like the question of which server hardware platform to choose for their virtualization deployment. On one hand, some organizations opt for generic rack servers, which typically feature a lower entry cost, and do not require any modifications to a data center’s power supplies.

Other IT managers feel that the benefit of the centralized management console offered by blade servers is great, and that the integrated blade enclosure provides important power, cabling and infrastructure efficiencies that IT managers grappling with cramped data center quarters cannot afford to pass up.

In this face-off, two seasoned IT professionals and virtualization architects debate rack vs. blade servers, explaining the benefits of each architectural choice in a virtual environment.

Rick Vanover: Server racks the way to go
Chris House: Blade servers always win

via Blades vs. rack servers for virtualization. (Free registration required)

Rick makes some good points in why rack-mount servers may be a better choice for a virtualization platform, but I’m sticking with blades for sure, partially because we have already absorbed any start-up cost in purchasing enclosures and infrastructure components, and if we went with rack-mount servers, we’d have to get a dozen or so more racks in the datacenter which would all contribute heat and suck up power.

As with any infrastructure choice, your mileage may vary and a cost/benefit analysis must be done to see which solution will be more financially appropriate given the initial and ongoing cost, as well as growth opportunities.

Tags: , ,

Don’t you love it when purchasing PC parts, you get them all unboxed and start putting them together but then you realize that something you have isn’t compatible, or you forgot to order something? Yeah, sure is fun.

I’m building ash and myself a slightly more modern computer than what we have now and I thought I ordered everything I needed. It was all delivered yesterday so last night I started putting things together only to get to the power supply and realize that the main motherboard power connector from my power supply is only 20-pin, not 24-pin. Doh. So time to order a new power supply.

In the end, here is what I ordered:

The motherboard has an HDMI output on it and Ash’s 21.5-inch LCD (Hanns·G HH-221HPB Black 21.5″ 5ms HDMI Widescreen LCD Monitor – Retail) has an HDMI input so I figure we’ll give that a shot versus VGA.

I love how affordable PC parts are these days. It’s so cheap to buy 4GB of memory for a PC when a few years ago, that would cost hundreds of dollars.

I hope to put Windows 7 on this beast and it should be pretty awesome.

Also, I think I have the flu and it sucks. Tired/achy/headache/sore throat/congested/101.2F temperatre/sudden onset of symptoms/etc. I have never felt so sick – yesterday anyway. I feel a little better today but not well enough to go in to work. I took a sick day yesterday and lazed around the house. Last night I started feeling better but that’s always how it goes – I feel so terrible during the day but after a shower in the evening, I get some of my strength back. It happens every time I get sick. So today I’m working from home. I hope to install VMware ESX 3.5 Update 4 on 3 new blades that we have at work and then upgrade them to ESX4 to see how the process goes.

http://www.mayoclinic.com/health/influenza/DS00081/DSECTION=symptoms

Tags: ,

Just figured out that Way.FM uses SHOUTcast for their online streaming. Pretty cool. I messed around with SHOUTcast back in the day, in high school probably so 8 years ago or more. Back when WinAmp was all the rage. Of course, I never had the bandwidth to stream anything cool, but the idea of running my own online radio station was intriguing. That was back before anybody thought about music licensing and all that irritating stuff.

« Older entries § Newer entries »