Windows Live Messenger Has Stopped Working – How to fix it

Sometimes if you are running the Windows Live Messenger 14.0 version, you will get a crash error upon startup, or whlie it is already running. I am not sure why the issue is happening, but I found a post that describes how to fix it and for me it worked like magic.

http://windowslivehelp.com/solution.aspx?solutionid=17e5dddf-4156-4725-a1a5-f3a10a76e12f

August 14, 2010 at 7:53 am

Lab 6

I did this lab in Netbeans and used a java libary that David Wilcox blogged about. It took me all 2 hours to finish this lab. I initially started it in PHP, but didn’t want to learn php gtk, so I just took advantage of the drag-n-drop functionality of netbeans, to create the UI. The code for actually approving the images/comments was pretty easy with this library, and boy did I appreciate using a statically typed language as opposed to PHP’s dumb errors that you only get to find out after you’ve ran the code, and in the process screw up some comments or images.

April 17, 2009 at 2:04 am

Lab 5

This was a breeze lab, after lab4. I found some really good tutorials on manipulating images with PHP’s gd libary. This lab didn’t take very long at all. One thing I would like to do (which is very simple) is to delete the images from my hard drive whenver I’m done storing them into the S3.
One problem I ran into with this lab is testing. Someone had left their image processing deamon running and I was never able to test mine live on the cloud. That issue replicated into another app server deamon, where messages were taken out of the /imageresults queue to the /approvalprocess queue. It turns out that the image description, submituser, and submitdate, were being put as arrays into the /approvalprocess sqs. It took me about a half hour to find out that before encoding the message into json, I had to enclose the description, submituser, and submitdate variables into double quotes so only the value got stored.

So, when creating the array instead of doing

$msg = array(…, ‘description’ => $description, …)

I had to do,

$msg = array(…, ‘description’ => “$description”, …)

April 17, 2009 at 1:59 am

Lab 4

Like for lab 3, I used PHP with the Tarzan libary to implement this lab. I had some rough patches along the way especially dealing with getting the images from the web server and putting them on to S3. Also, this was a good practice with the SQS queues for this lab.
The deamon’s weren’t so hard to write either. I just had all my deamons in separate files that would only run once, but had a deamons starter program that would loop endlessly starting up each deamon script every time through the loop.
Also, big thanks to Jeff Peters for putting the image and comment timelines all in one place, as they travel from the user through the different servers and Amazon aws’s.

April 17, 2009 at 1:02 am

Lab 3 – Implementation Notes

Lab 3 went pretty well. I used PHP to implement it with a library called Tarzan. Tarzan is pretty straightforward and has a very intuitive interface with some exceptions as far as documentation is concerned. After getting some pointers from Kekoa, I was able to finish it up quickly.

Currently, I’m struggling with Lab4, and have hit some dead end points so far, specifically using tarzan to send an image to S3 and creating new items in the domains. Tarzan is not very specific on this particular issue, so I don’t know whether I’m doing the right thing or not. Also, my extremely slow internet connection has been a pain to work on this lab.

April 13, 2009 at 10:53 am

appserver image submission

I’ve been thinking of several ways of generating the imagekey (and commentkey) but seems like there is some sort of convention going on. In fact, I don’t think I’ve seen any other format for these guids in our simpleDB other than “21a4ddf4-c23e-11dd-ad2d-123139026094″.
What are you guys doing to generate such things. I tried to see for a pattern, but can’t really tell so far. I thought about getting the IP and timestamp in milliseconds, concatenate them together to make the GUID, that would ensure uniqueness.

April 9, 2009 at 12:35 am

Creating and Persisting an AMI

This lab went pretty good. It wasn’t difficult at all, as long as you knew what you were doing. I spent a considerable amount of time understanding what the lab was supposed to do, and I don’t think I got it until I read the first few chapters of the O’Riley’s book “Programming Amazon Web Services”.
Once I understood the idea of Amazon web services, it was much clearer as to what I needed to do, and so I was able to complete the lab without much obstacles.

After I started an instance of a preconfigured AMI, I went ahead and installed all the software that I thought I will need for my AMI to have whenever I boot it up. Since I persited my AMI based on a Fedora Core OS, I just used ‘yum’ to install the packages such as java, mysql, python, modpython, boto, php, httpd, and some others.

Then I created a boostrapping script that would deploy my locally developed code to the AMI.  I wrote the sample “Hello, World” web page in PHP, just to make sure my server on the cloud works properly, and used python for the bootstrapping script.

March 4, 2009 at 7:23 am

CS 462 – Large-Scale Distributed System Design

This class (coded as CS 462) at BYU is a project-oriented class, where we will be spending the entire semester building a large scale distributed system based on the Amazon.com web services. The system we will be building, is a photo-sharing web site where users can view/post pictures, make comments, and rate the pictures.

So far, the class has been fascinating, especially that it is being taught by one of the pioneers of online applications and someone who has vast experience with building large scale systems. It has been a joy attending the lectures from Dr. Phil Windley as we discuss very interesting issues regarding distributed systems.

The labs on this class are structured so that each piece can work as a standalone part of the distributed system, and as each lab is implemented, it will be integrated with the rest of the system. By the end of the class, we will have a complete working distributed system by integrating all six labs.

March 4, 2009 at 7:15 am

How to enable MultiViews in Apache

Sometimes, your URLs need to look something like http://hostname.com/list/popular, where popular is not a directory but a popular.php file inside the list directory and you don’t want to specify the file extensions. One reason for this could be that if you are only implementing the view of a web application that calls web services on an application server, the application server may have the URLs implemented that way, so you want to map the same URL paths and format.
Apache makes this easy with the MultiView option, which can be set within <!–[if gte mso 9]> Normal 0 false false false MicrosoftInternetExplorer4 <![endif]–><!–[if gte mso 9]> <![endif]–> <!–[endif]–><Directory>, <Location> or <Files> section in httpd.conf.

The format of the Options directive is:

Options [option 1]  [option 2] … [option n]

So, to enable MultiView, you would set that with the Options directive. For example:

<!–[if gte mso 9]> Normal 0 false false false MicrosoftInternetExplorer4 <![endif]–><!–[if gte mso 9]> <![endif]–> <!–[endif]–>

<Directory "C:/xampp/htdocs">
   #Other directives here...
   Options Indexes FollowSymLinks Includes MultiViews

<!–[if gte mso 9]> Normal 0 false false false MicrosoftInternetExplorer4 <![endif]–><!–[if gte mso 9]> <![endif]–> <!–[endif]–>

   #Other directives here...
</Directory">

Now, by having MultiViews as an option to the Options directive, I can just type http://hostname.com/list/popular, instead of http://hostname.com/list/popular.php

February 5, 2009 at 5:19 pm

Bash Keyboard Shortcuts

In the past I have spent so much time using the mouse to navigate through directories and have largely avoided using the bash because I never really knew keyboard shortcuts that are used in bash. I have found myself to be much more productive when I use bash commands rather than navigating with my mouse. Here are a list of bash keyboard shortcuts that I find very useful. Some I use more than others, but this list is a good reference of the most common shortucts, taken from Ubuntu Pocket Guide and Reference . Even though they are listed as Ubuntu shortcuts, they are essentially the same for most operating systems based on the Linux kernel.

Key Combination Description
Up/down cursor key Scroll through command history
Ctrl+left/right cursor key Move cursor from word to word
Tab Autocomplete command or filename/path
Ctrl+A Move to beginning of line
Ctrl+E Move to end of line
Ctrl+W/Alt+Backspace Delete word behind cursor
Alt+D Delete word in front of cursor
Ctrl+U Delete to beginning of line
Ctrl+K Delete to end of line
Ctrl+Y Restore text you’ve deleted
Ctrl+L Clear screen (actually, this simply moves the prompt to the top of the screen; existing commands are still visible if the terminal window is scrolled)
Ctrl+C Quit current program
Ctrl+Z Switch current program to background
Ctrl+R Search through command history
Ctrl+D Logout (technically, terminate input)
Ctrl+T Swap the two characters behind cursor

January 29, 2009 at 5:38 pm

Older Posts


Categories

  • Blogroll

  • Feeds


    Follow

    Get every new post delivered to your Inbox.