Backblaze Blog » Petabytes on a Budget v2.0:Revealing More Secrets

135 terabyte, 4U server for $7,384 is pretty cool!

It’s been over a year since Backblaze revealed the designs of our first generation (67 terabyte) storage pod. During that time, we’ve remained focused on our mission to provide an unlimited online backup service for $5 per month. To maintain profitability, we continue to avoid overpriced commercial solutions, and we now build the Backblaze Storage Pod 2.0: a 135-terabyte, 4U server for $7,384. It’s double the storage and twice the performance—at lower cost than the original.

Backblaze Blog » Petabytes on a Budget v2.0:Revealing More Secrets

Amazon’s $23,698,655.93 book about flies

Over the last couple of weeks I have been working on an automated pricing program. This was not one of the algorithms I was looking at. Winking smile

A few weeks ago a postdoc in my lab logged on to Amazon to buy the lab an extra copy of Peter Lawrence’s The Making of a Fly – a classic work in developmental biology that we – and most other Drosophila developmental biologists – consult regularly. The book, published in 1992, is out of print. But Amazon listed 17 copies for sale: 15 used from $35.54, and 2 new from $1,730,045.91 (+$3.99 shipping).

Amazon’s $23,698,655.93 book about flies

Interfacing Subversion and Mercurial to Spiceworks

I keep our web site source files, stored procedures, and assorted programs in a source control management(SCM) program called Subversion. Since I am a small shop I track my trouble tickets using Spiceworks. My normal work flow is to enter the trouble ticket into Spiceworks and then start working on the problem. When I am finished with the problem I commit the files to the SCM and close the trouble ticket. To make life a little easier with future problems, I include a reference to the Spiceworks trouble ticket in the Subversion commit message. This could be a text version of trouble ticket number but I prefer a little nicer web interface so I implemented the bugtraq interface. This gives me a click-able link in the log that will bring up the original trouble ticket in a web browser window. This can be handy when you are troubleshooting a file that has some modification history. Implementing the bugtraq interface is pretty simple. You add two properties on your subversion repository, bugtraq:message and bugtraq:url. I set my parameters on the trunk folder properties. I set the message parameter to "Issue : %BUGID%" and the url parameter to "http://svrdev1:9675/tickets/list/all_tickets#ticket_id_%BUGID%". If you are planning to copy my parameters you should omit the double quotes and change the "svrdev1:9675" to your Spiceworks host name and port number.

If your SCM is Mercurial you can implement the bugtraq interface using these instructions, http://www.offroadcode.com/2010/10/5/better-issue-tracking-with-tortoisehg-and-kiln.aspx. The instructions are for a different SCM, Kiln, but these instructions work for any SCM you access via a url. In this case the issue link in the issue tracker changed to "http://svrdev1:9675/tickets/list/all_tickets#ticket_id_{1}".  There are several valid formats you could use. Just look at the regular expression used in setting it up for details. I used "(?i)(?:case|bugzid|Issue|#)\s*:?\s*(\d+)" for my Issue Regex. When you browse the log you should find the "Issue : 619" is an underlined, click-able link to your SCM trouble ticket.

Updated Script for emailing ntbackup log files

Jason left a comment on a previous post about wanting to see the script I am using to email NTBackup log files. Recently I converted the script to powershell from vbs. Here is the old file.

#**************************************************
# Script Name: 	Ntbackup_E-Mail_Alert
#     Version: 	1.0
#      Author:	Bill Huber
#Last Updated:	19.Nov.2009
#
#     Purpose:	Concatenates two or more log files into the body of an email message. I schedule
#				this script to run at a time the backup job should be finished and to send me
#				the latest NTBackup log files as an email with a somewhat informative subject field.
#
#		Legal:	Public Domain.  Modify and redistribute freely.  No rights reserved.
#              	SCRIPT PROVIDED "AS IS" WITHOUT WARRANTIES OR GUARANTEES OF ANY KIND.
#              	USE AT YOUR OWN RISK. NO TECHNICAL SUPPORT PROVIDED.
#**************************************************

# Customize the following variables for your SMTP server, email from address,
# email address the message is going to, the minimum log size, and the log path.

$SmtpServer = "mySBServer"
$From = "mySBServer Administrator <administrator @myCompany.com>"
$To = "billhuber@myCompany.com"
$intLogSize = 1000 		#If the log file is less than this size, the backup probably failed
#The following variable point to the log file location
$logpath = "C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\*.log"

# End of Customization

$SmtpClient = new-object system.net.mail.smtpClient
$SmtpClient.host = $SmtpServer 

#Get the filenames and other stuff for the last two log files
#We are going to concatenate the last two log files into the body of the email message

$a = get-childitem $logpath | sort-object lastwritetime | select-object -last 2
#Get the last write time for the last report for the subject line
$b = $a | sort-object lastwritetime -descending | select-Object -first 1
$c = $b.LastWriteTime
$d = $b.length

$Title = "SUCCESS - Full Backup at $c"
if ($d -lt $intLogSize){
	$Title = "ERROR - Full Backup Failed at $c"
	}
$Body = ""
 foreach ($line in Get-Content $a)
    {
    $Body += "$line `n"
    }

$SmtpClient.Send($from,$to,$title,$Body)

Picks and Pans

PrtScr

PrtScr about - Windows Internet ExplorerI was just about to pan PrtScr until shortly after I installed it I wanted to add a copy of an embedded Flash animated graphic. Foolish me! My first choice was to make a PDF of the web page. It turned out to be a terrible choice.  The original chart had subtle shades of red. The PDF had one big blob of red. Score one for PrtScr. Selecting a rectangular area was a bit of a challenge on my laptop. I had to press on the Ctrl Key and the left mouse button while marking the area. I wish I could remap the PrtScr keys. Snag_It appears to be the favorite but it costs money.

Quotepad

quotepad I thought I would have an immediate use for Quotepad. It looks promsing. I use Cut-and-Paste often at work but I have not used QuotePad yet beyond the initial trial. Keeping Clipboard history is a favorite requested feature for a lot of users and there are a lot of competitors in this area.

uSbuntu

I found uSbuntu on HowtoForge and it looked promising, too. A bootable Ubuntu that could also work under Windows. Too bad I was not able to get it to boot under Windows. It kept complaining about memory problems. Portable VirtualBox looked promising at first because it is so slim compared to VMServer. Too bad I never got it to boot completely.

 

Portable Ubuntu

I found Portable Ubuntu on Lifehacker. Portable Ubuntu installed with a minimum of problems. It was easy to install and in my limited testing, it worked without a fuss. My biggest problem is that I really don’t have a real use for Ubuntu. One of the areas Linux excels in is network testing. Backtrack3 is my favorite in this area but I have to reboot. So as an extra test I decided to install a Nmap variant called knamp. It installed and it worked. Not bad!

Portable Ubuntu Runs Ubuntu Inside Windows [Downloads]

I gave the Portable Ubuntu program a run today. I manually extracted the files using 7Zip since the executable had an error when it extracted the files. Then it took about three runs before my firewall, Comodo, and I agreed on the executables to unblock. I did get Portable Ubuntu to burp and stick my PC with a task using 50% of the CPU. Restarting Portable Ubuntu fixed that problem. Other than the burp, the performance was adequate. The biggest problem is I am not sure what I would use it for. A Portable BackTrack 3 might be more interesting since it has Linux applications I am interested in using occasionally.

Windows only: Free application Portable Ubuntu for Windows runs an entire Linux operating system as a Windows application. As if that weren’t cool enough, it’s portable, so you can carry it on your…

Portable Ubuntu Runs Ubuntu Inside Windows [Downloads]
Kevin Purdy
Fri, 03 Apr 2009 22:00:00 GMT

Downloads: DropboxPortable Syncs Files to Your Thumb Drive

Windows only: Free application DropboxPortable makes the popular file-syncing application thumb-drive friendly, so you can access your synced bucket from your thumb drive no matter what computer you’re using.

Downloads: DropboxPortable Syncs Files to Your Thumb Drive

I finally gave this program a test run and I was pleased with the results. Recently I split up my KeePass password database into three databases, work, charity work, and personal. I kept a copy of the files on a USB dongle so I could deal with the occasional emergency at work or at home.  I used SyncToy to keep the files  synchronized but I have screwed up on more than one occasion and updated the passwords in two locations without synchronizing first. DropBox has the potential to eliminate that problem. I am slightly uncomfortable with storing a strongly encrypted password file in the cloud but I am pretty sure there are much easier ways of getting my passwords than cracking this encryption scheme.

Quick Picks and Pans: Right Click Menu

The folks at MakeUseOf.com have a nice article on Right-Click Menu utlities, 3 More Tools to Bring Power to the Right Click Menu (Windows). One of the tasks I perform often is changing folders so any improvement in this area is always appreciated. I had been using QTAddressBar to quickly change between folders. It looks like Vista but the process of selecting the target folder is slower than the standard address bar. So I uninstalled it and replaced it with the first utility mentioned in the article, FolderGuide. FolderGuide looks intuitive and quick. It looks like a winner for me.

Supporting Technology » Blog Archive » Remove old versions of Java & Install the latest with no auto update!

I had several versions of Java on my PC and I lamented the fact that I needed to use “Add/Remove Programs” to remove them. This script came in handy although my copy and paste of the code needed several fixups before it would work. The single and double quotes from the copy were funky according to DOS. So I have posted my cleaned up copy. The SyntaxHighlighter Plus plugin has solved this copy problem for me in the past. Good Luck!

Rem to run this file and log the output use: "uninstall java.bat">>java_remove.log
Rem @echo off &
cls
Rem List all Installation subkeys from uninstall key.
echo Searching Registry for Java Installs
for /f %%I in ('reg query HKLM\SOFTWARE\microsoft\windows\currentversion\uninstall') do echo %%I | find "{" > nul && call :All-Installations %%I
echo Search Complete..
goto :NoneFound
:All-Installations
Rem Filter out all but the Sun Installations
for /f "tokens=2*" %%T in ('reg query %1 /v Publisher 2^> nul') do echo %%U | find "Sun" > nul && call :Sun-Installations %1
goto :EOF
:Sun-Installations
Rem Filter out all but the Sun-Java Installations. Note the tilda + n, which drops all the subkeys from the path
echo %1
for /f "tokens=2*" %%T in ('reg query %1 /v DisplayName 2^> nul') do echo . Uninstalling - %%U: | find "Java" && call :Sun-Java-Installs %~n1
if errorlevel 1 (
echo Doing further conditional checking on variables.
for /f "tokens=2*" %%T in ('reg query %1 /v DisplayName 2^> nul') do echo . Uninstalling - %%U: | find "J2SE" && call :Sun-Java-Installs %~n1
)
goto :EOF
:Sun-Java-Installs
Rem Run Uninstaller for the installation
MsiExec.exe /x%1 /qb /quiet /passive /promptrestart
echo . Uninstall Complete, Resuming Search..
goto :EOF
:NoneFound
Rem No Java found to remove from this system
echo No Java found or all versions already removed from this system
goto :EOF

Using remote drives in a scheduled job

Recently I was debugging why a backup of a QuickBooks file was not working. A scheduled job running on the server was supposed to create a compressed encrypted version on a removable USB drive. The job was written by someone else and I guess they never checked to see if it worked!? I found that itt worked when I ran it interactively but it failed when I ran it as a schedule job. It took me a while to figure this problem out but the QuickBooks folder was actually a shared folder on another computer and the drive mapping was not available in the batch environment. To fix the problem I added the following statements to create a drive mapped as ‘r:’.

	Dim objNetwork
	Set objNetwork = WScript.CreateObject("WScript.Network")
	strLocalDrive = "r:"
	strRemoteShare = "\\myserver\Backups_Daily"
	objNetwork.MapNetworkDrive strLocalDrive, strRemoteShare, False

It’s So Important To Keep Talent In Ohio « Cincinnati IT – an andy erickson blog

Andy wrote:

My jaw dropped this morning as I read Chester Finn’s Wall Street Journal opinion piece titled The Self-Inflicted Economic Death of Ohio.  First, because the piece quantified some of my gut feelings about Ohio’s talent drain, and second, because of the magnitude of the problem.

It’s So Important To Keep Talent In Ohio « Cincinnati IT – an andy erickson blog

Unlike Andy I am still searching for a word to describe how I felt when I read this article. I have a seventeen year old son and we talked frequently about college and jobs over the last year. Our talks were stimulated by what they did not discuss at high school. Let’s just say he is learning a lot more about the job market from me than from his school and he goes to a “good” school. About a year ago his school started the college selection process. This is a lot earlier than when I was going to school so I was duly impressed. I don’t think I even talked about colleges and majors until I took my SAT test. I was pretty clueless about colleges but I was well prepared for a major in a science or engineering field. What shocked me was that my son’s college counselor was encouraging him to pursue a liberal arts major. I was curious about their reasoning so I started asking questions. The deeper I probed the less I liked about the philosophy of our present education system. It was not hard to figure out that the college counselor’s recommendations were a natural result of the educational system that was in place. My son had plenty of opportunities to try out science and technology courses but was generally steered away from them.  When we met with the counselor and I mentioned that the biggest job needs for the next decade are still in the science and technology fields, she said that he should have pursued a course selection with more science and technology courses in it.  Okay, let’s drop “Conversational French”. Her answer was, “He can’t do that!” Besides she said, “He is taking Honors English and History”. Huh! Another point she made and I have heard it repeated several times, is that you what you study in college does not determine your career choice. This is definitely not true for those pursuing a job in a technology field. Wow! When I worked for a large chemical company we rarely interviewed college graduates who did not have an engineering degree. That was just a fact of life. Another fact of life is that engineers are paid well. If you happened to have and engineering degree and work experience from a co-op program you were gold and would get top dollar. It really looks like the high schools are just going through the motions of college/career counseling.

About a month later he got his PSAT results. He got a 700 on the math portion and the PSAT report recommended that he consider a college with science or technology major. Go figure!

BlogSecurity » Blog Archive » WordPress Scanner

Last night I used the WordPress Scanner on two of my blogs and I got this message.

dangerous-check-[0] PHP configuration file found in http://www.somewebsite.com/

I guess it is complaining about the fact that I have a php.ini file. I guess there is a security implication I am do not know about. I googled php.ini and security and I did not get any hits. Can anybody provide me with some insight on the security issue?

BlogSecurity » Blog Archive » WordPress Scanner

NewsGator, FeedDemon are Free!

Through the grapevine I heard that FeedDemon is now free! Since GreatNews has been crashing on me recently, I decided it was a good time to give FeedDemon a try.

Greg Reinacker just announced that NewsGator Outlook, FeedDemon and all the NewsGator clients are now totally free! The NOT-FREE thing about FeedDemon has always been the one point that has stopped me from using it. Sounds like Nick has a new user.

NewsGator, FeedDemon are Free!
randy@kbcafe.com (Randy Charles Morin)
Fri, 11 Jan 2008 04:33:50 GMT

Re: SMB VARs Guide To Overcoming The Lonely 13 Year Old Girl Syndrome

From Vlad we get this jewel:

I am not going to claim that I am, ever have been or ever will be a lonely 13 year old girl. However, I am rapidly becoming more and more familiar with grown men and women that act like 13 year old girls when it comes to communication. Apparently, many had missed out on that little bit of socialization that comes about in your early teens so here is a refresher course on birds and bees:

“You are turning into an attractive young lady, and with that comes a great deal of responsibility. You have noticed changes to your body and boys are starting to pay more attention to you. Here are some common sense tips on how to behave with dignity, get the happiness you deserve and have fun along the way without missing out….”

Now, here is the one for the VAR’s:

“You are becoming a real business now, not just a person that can fix a computer and with that comes a great deal of responsibility. You have noticed changes to your bottom line and revenues and vendors are starting to pay more attention to you. Here are some common sense tips on how to behave like a business, get the increased revenues and opportunities and not miss out on success you deserve….”

Semantics. Not a heck of a lot of difference between becoming a grownup and becoming a successful business. So, to eliminate the risk of being preachy, I’ll mix the 13 year old lonely girl advice with the SMB VAR advice.

Always keep two phone numbers.  One for the boys you want to talk to and one for the boys you never want to hear from but still want to be polite to. If you have the same number, the boys that you don’t want will constantly call you and the boys you like will never be able to get through.

Always be nice to the boys you like. If the boys you like leave you a message and you don’t call them back, they will not chase you anymore.

Always chain the dog if the boy you like wants to come over to hang with you. If the boys you like can’t get by your SPAM filter they are likely not going to keep on emailing you – add them to the whitelist if you expect them to get back to you!

Always be available to the boy you want to talk to. Boys have a short attention span and if you aren’t around this week they might fall in like with someone else.

Always give a boy your correct address if he is taking you out on a date. If you give the boy a wrong email address, wrong phone number, wrong extension don’t expect him to knock on every door on your street (or extension in the PBX) to find you.

If you are interested in a boy and you really, really like him tell him more than once. Boys are stupid. They can’t read your mind. If you want the boys attention, make him pay attention to you.

Don’t wardial the boys you like. They will think you are a crazy psycho.

“Be nice to the boys you like. Try to be around the boys you like. If you ignore the boys you like and scoff at the boys you don’t like everyone will think you are a mean girl and you will be very lonely. If you become a slut and give your information to everyone, only the desperate boys you don’t like will call you all the time. And never, ever, ever have sex before marriage (never prepay or buy into partner programs) because if the boy really likes you he will wait till marriage.. Oh, and never call boys from the toilet.”

So in summary – if you don’t know how to leave a voicemail, you aren’t getting your phone call returned: Name, phone, reason why you are calling and where you are calling from. Sound it out, annunciate. Never leave the voicemail from your convertible while speeding down I-95. If you expect to receive the email response back, add the person you are emailing to your whitelist. If you don’t get a callback or an email response, try again. Be patient, you may not get a callback within 2 minutes or 2 hours.

What is ridiculously ironic about this post is that you’re reading a technobiz blog yet the advice to the 13 year old is more believable than the advice to a VAR. Sadly, 13 year olds have an excuse to be innocent, grown men and women have no excuse for not being able to leave a voicemail.

SMB VARs Guide To Overcoming The Lonely 13 Year Old Girl Syndrome

Blue Screen Stop Error – HELP!! – Desktop – BIOS – Dell Community Forum

Re: Blue Screen Stop Error – HELP!! (PCD5SRVC.pkms and Dell Support Center 2)

I find it strange that no one from Dell has addressed a root cause solution to Dell Support Center 2 which is the obvious cause to this problem.  Most users are uninstalling the software so their systems still work; pretty sure that was not Dell’s intent. 

I got same error on Dell Inspiron 6000, Windows XP Home

What I did:

1. Started system in safe mode (see Windows Help for how)

2. Went to My Computer, C: drive, Program Files and renamed “Dell Support Center” folder to “Dell Support CenterX”

3. Restarted computer in normal mode

4. After startup stabilized (and no blue screen), renamed folder back to “Dell Support Center”

5. Using Settings, Control Panel, Add or Remove Programs, I removed “Dell Support Center”

No problems now.

Blue Screen Stop Error – HELP!! – Desktop – BIOS – Dell Community Forum

Today I was struggling to install the Comodo firewall. The Comodo uninstall program does not work quite right. When I try to install a new version of the Comodo firewall it says that it is already installed. So I was searching the registry and removing any Comodo references. When I rebooted I got the blue screen stop error described above. It took me a while to figure this one out but removing Dell Support Center 2 did fix the problem. It also fixed another problem where the c:\program files\dell folder appears at startup.

Comodo™ Free Firewall Software Download

Comodo™ Free Firewall Software Download

I have been using the latest  version is 3.0 for several weeks now but have decided to go back to the previous version. Although the latest version has several new features that increase security, it does not allow me to make a VPN connection. I found the problem when I was trying the beta version but it still does not work in the released version. The released 3.0 version is too buggy for me. Today I got fed up with the crashes and installed the old version.