NodePing vs. Pingdom — server monitoring

Pingdom:

Positives:

  • mobile app
  • large number of testing locations
  • 10 checks at the yearly price is reasonably priced.
  • Built-in “PageDuty”-lite incident response is handy, though overkill for personal web servers.
  • I like the root cause analysis any time a check fails. Provides full connection output, response headers, etc. Extremely helpful when troubleshooting the cause of the failed check.

Negatives:

  • New website design is painfully slow and confusing.
  • Can’t add a new check via the mobile app
  • No option to specify host headers for a check — such as specify IP and specify the hostname directly.
  • No public status page unless you pay 2x per month.

 

NodePing:

Positives:

  • Free public status page
  • Website is fast and clean, though lacking some features
  • Pricing is attractive, even without a yearly agreement.

Negatives:

  • No mobile app
  • Relatively few testing locations
  • No option to specify host headers for a check — such as specify IP and specify the hostname directly.
  • Virtually nothing in the way of detail when a check fails. Also no easy way to go back and find a failed check after 300 successful checks have passed.

 

They both have a variety of checks — HTTP/HTTPS, UDP/TCP arbitrary port check, POP/SMTP/IMAP, and DNS checks. Both send me an email and push notification via Pushover whenever there’s an issue. Both use 1 minute checks, and confirmation from 3 locations before an alert is triggered.

I like StatusCake, but their checks seem spotty at best. They report all kinds of intermittent downtime when every other monitoring service sees zero issues. Not exactly great when your server monitoring tool is lying to you.

I also tested Monitus and CopperEgg. Didn’t like either one. I use New Relic’s free plan which is handy, also Linode’s Longview tool with the free plan.

Ultimately it looks like I’ll be going with Pingdom, even though it’s not my favourite choice.

AweSync: Bridging the Gap Between Lotus Notes and gCal

Lotus Notes to Google Calendar sync
Do you use Lotus Notes? Do you use Google Calendar in your web browser or on your phone? I’ve searched high and low looking for an option to bridge this gap — luckily AweSync solves that problem. Initially I was hesitant to give new software a shot because I had fears that I’d mess up my work calendar. Fear not! AweSync’s software worked splendidly. The software setup could not be simpler — I selected my Lotus Notes account, provided my Google Calendar authentication information, selected the Google Calendar I wanted to sync with, and clicked sync. That’s it! I went from maintaining two calendars to having them completely in sync within 5 minutes of finding out about the application. The only suggestion I have that I hope AweSync eventually moves to use OAuth for the Google authentication instead of using username/password like they currently do. I highly recommend this application for anyone in the situation I was. $20 is a very reasonable price to make my life easier.

Playlist.com – Soon to be popular? Or dead?

A new site called Project Playlist has popped up recently. It lets you create playlists (duh) and listen to music for free. You can then embed these playlists as music players in various web pages, but not Facebook or MySpace for the moment. The record labels are quite obviously not too happy about this considering you can listen to full songs an unlimited number of times effortlessly. We’ll see if this site sticks around, but for now try it out and enjoy the player embedded below:

How to download any song from Favtape.com

I’ve had my doubts about posting this information because quite honestly I’m a big fan of Favtape.com and I don’t want to see them get in trouble and/or close. That being said, I suppose it can’t hurt that much to put this information out there. Here’s a quick and simple way to download any song that you can play on Favtape.com

  1. Use Firefox (it’s not required but we all know that when you use IE god will kill kittens).
  2. Go to Favtape.com (duh) and find a song that you want.
    FavTape.com songhover
  3. Click the name of the song to begin playing it.
  4. When you hover over the name of the song you should see something like this in the status bar: http://favtape.com/play/**Artist**/**Song**.mp3  (**Artist** and **Song* obviously replaced with the appropriate information). Click on the image to the right if you don’t understand what I just said.
  5. Now you can’t simply right click and “Save link as”. You actually can’t right click at all. So how do you get the MP3 file?
  6. Method 1 – no tweaking involved:
    1. Open a new tab in Firefox (control + t).
    2. Click + hold the Artist – Song Name and drag this onto the new tab you just created.
    3. That’s it! The song should not start to download, but you’ll need to rename it because it’ll save as “fetch.mp3”.
  7. Method 2 – tweaking the Firefox settings:
    Click for full size

    1. In Firefox goes to Tools –> Options
    2. Go to the “Content” tab
    3. Find “Enable Javascript”. To the right of this you will see “Advanced” click on this.
    4. Find “Disable or replace context menus”. Uncheck this box.
    5. Click “OK” and then “OK” again.
    6. Now you can right click on the Artist – Song Name and select “Save link as”.
    7. That’s it! You can now just save the MP3 file we saw in the status bar earlier.
    8. Important Note: You may want to re-enable the “Disable or replace context menus” option because many web applications use this functionality.

Interesting Links 5.30.08

  • TimesMachine – New York Times – TimesMachine can take you back to any issue from Volume 1, Number 1 of The New-York Daily Times, on September 18, 1851, through The New York Times of December 30, 1922.
  • SuperLame! Comic Word Balloon Engine – Simply add speech bubbles to photos you upload. Useless? Sure, but fun.
  • Introduction to CSS3 – Part 4: User Interface – CSS3 brings some great new properties relating to resizing elements, cursors, outlining, box layout and more.
  • Introduction to CSS3 – Part 5: Multiple Columns – CSS3 introduces a new module known, appropriately, as multi-column layout. It allows you to specify how many columns text should be split down into and how they should appear.
  • Design Critique: Blog Platforms – Most designers are familiar with the relative pros and cons of different publishing tools – but what about the websites of the blog platforms themselves?
  • TinySong – type a song, get a link, share the full song with your friends. It’s really that simple. Works great for those “have you heard this song?” moments.
  • Adobe Labs – Adobe has released the first betas for Dreamweaver CS4, Fireworks CS4, and Soundbooth CS4. Note: betas only work for 2 days unless you have an existing CS3 serial number.
  • Fixing Twitter – I am getting sick of talk about twitter and it’s scalability problems and also frankly unqualified people slagging the service for it’s unreliability and also coming up with stupid ignorant answers to how it should be fixed.
  • Read at Work – it looks like you’re being productive, but you’re definitely not. Kind of funny, but I can’t imagine actually using it.

Baby's First Ruby App

So I’ve begun to learn Ruby (for work), and I thought I might share a little bit of my progress so far. Progress might be an exaggeration considering how basic this application actually is, but at least I’m slowly but surely moving in the right direction anyway.

So here’s the 1st part of it:

   1:  #GET INPUT
   2:  puts "Please enter a number"  
   3:  STDOUT.flush  
   4:  num1 = gets.chomp.to_i
   5:   
   6:  puts "Please enter another number"  
   7:  STDOUT.flush  
   8:  num2 = gets.chomp.to_i
   9:   
  10:  puts "Please pick the type of operation:
  11:  (A)dd
  12:  (S)ubtract
  13:  (M)ultiply
  14:  (D)ivide)"  
  15:  STDOUT.flush  
  16:  oper = gets.chomp
 

So here we’re asking the user for 2 numbers, cleaning up the input, and then storing it into 2 variables (num1 and num2). We then ask the user to select which type of mathematical operation they’d like to perform (addition, subtraction, multiplication, or division).

The 2nd part:

   1:  #SELECT THE OPERATION
   2:  if oper == ("a" or "A")  
   3:          add(num1, num2)
   4:      elsif oper == ("s" or "S")
   5:          subtract(num1, num2)
   6:      elsif oper == ("m" or "M")
   7:          multiply(num1, num2)
   8:      elsif oper ==  ("d" or "D")
   9:          divide(num1, num2)
  10:  end

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

So here we’re deciding what we’re going to do with our 2 variables (num1 and num2) based on the users selection. If they enter “a” or “A” (for example) we will then execute the method called “add” on line 3. Speaking of these methods…

The 3rd and final part:

   1:  #DEFINE THE METHODS
   2:  def add(num1, num2)  
   3:    sum = num1 + num2
   4:    puts "#{num1} + #{num2} = #{sum}"
   5:  end  
   6:   
   7:  def subtract(num1, num2)
   8:      if num1 > num2  
   9:        diff = num1 - num2
  10:        puts "#{num1} - #{num2} = #{diff}"
  11:      else
  12:        diff = num2 - num1
  13:        puts "#{num2} - #{num1} = #{diff}"
  14:      end
  15:  end  
  16:   
  17:  def multiply(num1, num2)  
  18:    prod = num1 * num2
  19:    puts "#{num1} X #{num2} = #{prod}"
  20:  end  
  21:   
  22:  def divide(num1, num2)  
  23:      if num1 > num2  
  24:          div = num1 / num2
  25:          puts "#{num1} /  #{num2} = #{div}"
  26:      else
  27:          div = num2/num1
  28:          puts "#{num2} /  #{num1} = #{div}"
  29:      end
  30:  end 

.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

Each one of these methods (starting on lines 2, 7, 17, and 22) perform a particular set of functions based on the variables that are being passed in (num1 and num2). These methods are called based on the earlier code (part 2) that selected which method applied based on which of the mathematical operations the user selected. The 2 numbers that the user entered are passed into that method, some type of calculation is carried out, and then the result is displayed to the user. In the case of subtraction and division, I elected to add an additional step that would determine which of the 2 entered numbers was larger, and then it would order the calculation accordingly so as to not return a negative number (but this is purely optional).

To recap, and provide a plain English flow of how this happen in this simple little application: the user enters 2 numbers, and then they select a mathematical operation. Based on that operation we go through a series of checks to match which operation was selected, the 2 numbers entered by the users are passed to the method, and then we enter the applicable method. The method then performs the necessary calculations and displays the output to the user.

Pretty simple, not exactly rocket science, but it’s a start at least. I wanted to play with conditional statements a bit, as well as creating and calling my own methods. Next up will be to continue to experiment with arrays and hashes.
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

A New Chapter: Things to do this Summer

I thought I’d briefly update what I plan to accomplish this summer. The semester is finally finally done and over with (see my recent post regarding the ridiculous amount of things I needed to finish in the past 3 weeks).

  • Reinstall Windows Home Server (WHS). Never mind, not going to reinstall.
  • Read “Head First SQL”.
  • Read “A History of God”. Never mind, this looks to be quite boring.
  • Read “The Hobbit or There and Back Again”. DONE
  • Have some type of relaxing vacation.
  • Decide if I will keep my web hosting.
  • Reinstall XP on my desktop because Vista sucks (even with SP1).
  • Rewrite my current blog theme from scratch (it’s using tables right now…ick!). Never mind, not applicable any more.
  • Update my laptop to Vista SP1 (why not reinstall XP? don’t ask). DONE
  • Work related: apparently I’m going to be learning Visual Basic this summer. We’ll see.
  • Work related: I also may be learning Ruby on Rails (jRails specifically). We’ll see.

Going to Brooklyn, and the past 2 weeks

I’m taking a break from packing up for my trip to Brooklyn this weekend (to see HER), so I thought I’d briefly summarize the past few weeks of my life. I’m sure I’ll forget to include a few things, but here’s the short list of everything I’d completed (or things that remain to be completed) recently:

  • History and systems — 6 page thoughtful response to The Metaphysical Club
  • History and systems — 15-20 page research paper discussing the Mind/Body Problem (dualism, materialism, idealism)
  • Philosophy — paper discussing the validity of knowledge, and what we can truly know for certain
  • Philosophy — paper discussing the types (or type, depending on your opinion) of substances in the world.
  • Cognitive psychology — 5 page paper discussing how I would improve the human memory system.
  • Cognitive psychology — test on decision making, creativity, artificial intelligence, general intelligence, and problem solving.
  • Math — investment project examining the effects of initial investment, length of investment, and interest rate as individual factors that effect the final amount of money.
  • Math — 12 page paper briefly discussing the historical foundations of cryptography and it’s modern versions (on a very basic level, I didn’t get into all the really ugly details).
  • Math — present a brief poster and presentation on what I learned about cryptography. We’re talking 2-3 minute presentation; not a big deal.
  • Psychology of personality — 5 page paper relating Alfred Adler to events in my own life. We had to pick a personality theorist that we felt we could relate with.
  • Psychology of personality — test on existential psychology, humanistic psychology, Gestalt psychology, and object relationism.
  • Independent research — running out study looking at evaluative conditioning
  • Independent research — writing a 12 page paper investigating the possibility that the resistance to extinction in evaluative conditioning that has been observed may in fact be due to alternative explanations.

Oh yeah, and I’ve been crazy busy at work. They essentially gave me a project to complete that involes making significant changes to an application written in Visual Basic 6 (yes, I know it’s really old), but the problem is that I don’t have any knowledge/experience with Visual Basic 6. This wouldn’t be that much of a problem considering that I could probably learn Visual Basic 6, but the really humorous part of this project is that it’s supposed to be completed in 10 days. So yeah…learn a new language, make the changes, test the changes, and roll it out to the users in 10 days. Um, no thanks.
Anyways, my point is that virtually everything on that list above is now completed. Perhaps that might explain why I’ve been absent from writing non-Twitter related blog posts for nearly a month.
Did I mention I’m leaving to go see HER (the infamous her) in just over 3 hours? 🙂

Interesting Links 3.7.08

I apologize, but I am far too lazy to write a blurb about each one of those links. I’ll just leave it at this: IE8 Beta 1 is a step in the right direction, TeamViewer kicks ass for remote computer support, and the 6 animals that can destroy you is hilarious to read.

Redux: Things to do when this semester is finally over

My list of “things to do once the semester is over” keeps growing in length so I thought I’d just I’d add them on:

  • Reinstall XP on my desktop because Vista sucks (even with SP1).
  • Rewrite my current blog theme from scratch (it’s using tables right now…ick!).
  • Update my laptop to Vista SP1 (why not reinstall XP? don’t ask).