July 25th, 2010
View Comments »
One of my goals for this summer is to learn a bit more about multicore programming. I learned that the University of Illinois had a summer school program where you recieve an in depth introduction into many diffrent implementations of multicore programming methedologies. The course covered the following:
I had a great time with the program and look forward to implementing what I have learned into a couple of projects I am working on. I highly recommend this program if you have any interest in multicore programming.
June 30th, 2010
View Comments »
I feel as if I am in the minority of the general tech population when I state that I do not favor coding/gaming/fixing on my laptop over my desktop. I despise having a single monitor to work with. Having to rub a little rubber nub or touch a pad in order to move my cursor around is less than optimal. That fact that I am a “big dude” consistently hunched over a tiny laptop does not help at all. These are all reasons why I love sitting at my desktop to hack away on whatever project or work has taken a hold of my interest.
A couple of weeks ago I realized that I barely ever touched my desktop. I thought this was a bit strange and set out to discover why. Well, it did not take long to find out what had happed. You see, my desktop is a dual boot Ubuntu / Windows 7 box which is going on being six years old now. I hate waiting for the thing to boot up. The whole machine is as slow as molasses. Halfway through any project I give up and work on the mac mini. This is the perfect opportunity to start a summer time project.
I decided to build myself a new desktop machine. Convincing myself it would be lots of fun to do it. It will be more challenging this time around. With a little help from Noman this is what I came up with:

Intel Core i7 Processor i7-930 2.80GHz 8 MB LGA1366 CPU
Cooler Master Hyper 212 Plus
Gigabyte LGA1366 Motherboard GA-X58A-UD3R
G.SKILL 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Triple Channel Kit F3-12800CL9T-6GBNQ
Acer H233H bmid 23-Inch Widescreen LCD Display
EVGA nVidia GeForce GTX260 Core 216-55nm Superclocked 896 MB DDR3 2DVI PCI-Express Video Card 896-P3-1257-AR
Corsair CMPSU-750HX 750-Watt HX Professional Series 80 Plus Certified Power Supply compatible with Core i7 and Core i5
Intel 80 GB X25M Mainstream SATA II Solid State Drive (SSD) Retail Package SSDSA2MH080G2R5
This is the perfect project to kick off the summer. Expect an update once i actually put the thing together.
June 12th, 2010
View Comments »
For those who are asking, yes, I am still alive. I have dropped out of the view of many of my friends and family. Apparently this past semester has taken a bit out of me at school. I have been relaxing and recouping. Not to worry though, I am getting my swagger back. I should be reaching out to everybody really soon.
March 8th, 2010
View Comments »
Every proffessor in school preaches the merits of learning Emacs. They tell you how much faster you will code without having the need to touch the mouse. They preach how you would no longer need to select diffrent ide’s for each language you write in. Emacs can easily be extended and modified to your specific needs through the use of Lisp (a language everybody should learn). Heck, they even mention that you can check your email and connect to irc through emacs. After all this Emacs indoctrination, the professor then turns to you and hands you a cheat sheet. Gee thanks.
In an effort to master Emacs, I have installed it on all of the machines I use. These are some of the links that I have found helpful:
Installation:
Windows
Mac: Carbon Emacs
Configuration:
Yegge: 10 Specific Ways to Improve Your Productivity With Emacs
5 Indispensable Tips for Emacs on Windows
Sample configurations:
Yegge: my .emacs file
Phil Hagelberg: emacs-starter-kit
Justin Lilly: Fork of emacs-starter-kit with python support
Extensions / plugins:
Yasnippet
Cedet (C++ development tools)
Misc. / Tutorial:
A Guided Tour of Emacs
Peepcode: Meet Emacs
Learn Emacs in Ten Years
Emacs Subreddit
Fullscreen Emacs on OSX
August 10th, 2009
View Comments »
I’ve decided to become involved in an open source project. My current interest (and day job) revolve around digital asset management systems and workflows. Give me a large amount of data to manipulate and I will show you a happy man. Drizzle seems like an obvious choice for my interests. I have always wanted to poke around the innards of a database system. I really enjoy coding in c++ (some call me crazy). And they offer mentoring in certain projects. As I always say, I want to see how deep this rabbit hole really is.
June 10th, 2009
View Comments »
This is a quick and dirty method to check for a running process on a windows machine using Ruby.
require 'win32ole'
require 'net/smtp'
require 'yaml'
def send_email(message)
begin
msg = <<END_OF_MESSAGE
From: #{$from_alias} <#{$from}>
To: #{$to_alias} <#{$to}>
Subject: #{$subject}
#{message}
END_OF_MESSAGE
Net::SMTP.start('smtp.company.com') do |smtp|
smtp.send_message msg, $from, $to
end
rescue => error
puts "Exception: #{error}"
end
end
$from_alias = "Email Alias"
$from = "processWatcher@company.com"
$subject = "Process Error"
$to_alias = "Email Alias"
$to = "alerts@company.com"
#Server list
$proc = ["Server1", "Server2"]
$proc.each { |record|
runningProc = false
begin
wmi = WIN32OLE.connect("winmgmts://#{record}")
processes = wmi.ExecQuery("select * from win32_process")
rescue => error
puts "Exception: #{error}"
end
for process in processes do
if (process.Name == "SampleProcess.exe")
puts "Server: #{record} Name: #{process.Name}"
runningProc = true
end
end
if runningProc
puts "Process on #{record} not running as of #{Time.now}. Please check the server."
send_email("Process on #{record} not running as of #{Time.now}. Please check the server.")
end
}
begin
File.copy(line.strip, root + templine.strip)
rescue => error
puts "Error Copying File: Exception: #{error}"
error
end
March 25th, 2009
View Comments »
This is a voicemail which was left on my machine when I was late for a meeting: voicemail
January 13th, 2009
View Comments »
Microsoft’s Sql Server always required an odd if not cumbersome configuration in order for emails to be sent by Sql Server itself. An extremely lightweight method of sending emails through mssql is using xp_smtp_sendmail. Xpsmtp adds an extended stored procedure with allows you to easily send emails from Sql Server.
January 6th, 2009
View Comments »
I often find myself wanting to make changes to an application while I am also tailing the logs in order to view my changes in action. Up until recently I would start up two separate ssh sessions in order to accomplish this task. Of course I never bothered to think that this may be a common task which many people before me would seek to solve. Luckly I discovered the screen command. The screen command allows you to split your ssh session into various different sessions.
If your machine does not have screen installed, don’t fret….
Debian/Ubuntu
sudo apt-get install screen
Redhat/Fedora
sudo yum install screen
Now that we have screen installed we can run some simple commands which will prove to be valuable:
Start up the screen application:
screen
Split the session into two:
Control+a S
Change over to the second session:
Control+a tab
Start the shell in the second session:
Control+a c

screen application
You can switch between the sessions by typing:
Control+a tab
You can find additional commands by using the man command or looking up the commands on the internet.
January 4th, 2009
View Comments »
As I mentioned earlier, I am in the process or reorganizing myself for this new year. As part of the Carlos 2.0 project I decided to make Caged Mantis a technology blog where I post some of the fun/challenging things which I have encountered. I have moved all of the old blog posts which were found at Caged Mantis over to my new blog: Amedee Matters. I wanted to separate some of the more personal items over to this new blog. I also finally got around to setting up my personal site at www.amedee.net.