Aaron's blog

FTP7, Exchange 2007, Default Web Site problems

I just saw yesterday that FTP7 was out.  So of course I went off to install it.  When I was done, the Default Web Site on the server no longer worked, including Outlook Web Access.  Much panic ensued, as in the past OWA has been very finicky and once broken it stays broken.

It turns out that I had uninstalled the IIS6 components as part of cleaning up before doing FTP7 (I had installed the IIS 6 things for FTP6).  I'm not sure if IIS6 components and FTP7 can live alongside each other as I uninstalled FTP7 when trying to get the site working, but I would guess so.  Anyways, simply re-installing all of the IIS6 components fixed the problem.

Electrolytic steel etching

My friends and I recently purchased personal "choice beverage" containers, made of stainless steel.  They have a nice texture to them, but there is a little square in the front that is mirror smooth.  It was just begging me to have something engraved on it, so after much thought and Internet research, I settled on giving electrolytic etching a try.  I was inspired by Steampunk, an Instructables.com tutorial, and this guy's Galv-etch tutorials.

The main idea is to cover up all the surfaces that you don't want etched, put the metal in very strong salt-water, and run DC current from another piece of metal, through the water, over to the metal that you're etching (which will also be in the water).  The current causes a chemical reaction to happen on any of the exposed surfaces, which eats away at the metal, leaving you with an etched design.

I decided to etch the three letters "XYX" into the container.  It's an inside joke.  So I proceeded to make a black square in Photoshop, and then put the white letters inside of it.  I made a couple of different sizes on the image so I could see which one fit best.  Then I printed the image on the glossy front cover of Forbes magazine with a laser printer (HP Laserjet 1012, but I think any one will work).  The idea here is to transfer the toner off of the magazine paper on to the steel, where it will serve as your mask.

My first attempt I just used an iron to melt the toner to the steel, but I got poor results when I removed the paper.  Maybe I soaked it in water for too long and it actually softened the toner and the paper (I only wanted the paper softened), maybe the toner hadn't been completely melted down, or maybe I just wasn't careful enough.  Either way, the lines were quite worn and not straight at all.

I tried again, this time ironing it on and then putting it in the oven at 375F for 10 minutes.  I left the door open a bit and put the top of the container near the crack because it has a plastic piece attaching the lid and I wanted to keep the temperature of it as low as possible to avoid melting.

After baking, I soaked it water for 20 minutes, and then peeled of the first layer.  You could definitely make out the outline of the letters, like this:

 

Image removed.

 

For reference, the whole mask is slightly less than 1 inch wide.  Another few soak and peel cycles and I had this:

 

Image removed. 

 

You can see that I may not have been careful enough, as a large portion of metal is bare instead of black.  I also left some of the extra paper fibers on, as I figured they wouldn't hurt anything.  So here it is dry:

 

Image removed.

 

Now, how to touch it up?  I remember reading that it is possible to simply make the mask using a permanent marker, but that did not seem highly reliable to me, so I grabbed a bottle of clear fingernail polish and went to work.  This was very tedious (20 minutes?), but I think this layer helped a lot.  I ended up covering all of the toner with it, although it probably doesn't look much different in this picture:

 

Image removed.

 

Then I covered the rest of the container in wax to complete the mask.  I used paraffin wax from Wal-Mart; it's right next to the Jell-O.  Make sure you boil a pot of water and then melt the wax in a container floating in that water, because if you heat the wax directly it could burn just like a candle--a big candle.  I dipped some of the container directly in the wax, but did most of it by pouring on spoonfuls of melted wax.  Again, be careful, because it looks just like water but is quite hot.  Remarkably, I didn't burn myself.

 

After I covered everything but the small area with toner and nail polish, I decided I might as well cover that in wax too, and then cut out the letters.  In this way I would have three layers insuring me against erroneous etching.  Cutting the letters out of the wax was also very tedious, taking probably a good 30-45 minutes, but I think worth it.  (Even though it doesn't look that sharp in some of these pictures it turned out fine.)

 

Image removed.

 

Image removed.

 

Image removed.

 

So I then assembled the electrical portions.  I used a power cube, affectionately known as a wall-wart, to power the operation.  It is rated for 12V at 800mA.  You can see below that I used a piece of angle steel which I hammered flat for one electrode and the container for the other.  They are about 3/4" apart.

 

Of course this is the sloppiest part of my project.  The only wire I could quickly find was some coaxial cable.  It has a very stiff core which snaps when bent too much and is probably the worst possible choice.  I then soldered this wire onto a flat steel plate with a small soldering iron which had a loose tip, meaning it didn't put out that much heat for the first half of its use, until I figured things out and tightened it.  Regardless of that, soldering a stiff wire onto a relatively smooth flat plate is not for the faint of heart with any soldering iron, and certainly not recommended for anything requiring durability.  But it held well enough for my uses.

 

On the other end of the plate is a paperclip which I bent around the plate and the edge of the bowl.

 

Image removed.

 

I connected one end of the wall-wart to the coax cable and the other to one lead of a 12V fan (this one from a Pentium II heatsink assembly).  The second lead of the fan went to an alligator clip, the other end of which I clamped on the top of the container.  The idea, according to those other sites, is to limit the current that can run through the circuit so that the power supply doesn't burn out.  Here is what I saw after about a minute of running things:

 

Image removed.

 

Nothing much exciting is really happening, except the letters instantly changed color and that same color started slowly running down the side of the container into the bottom of the bowl.  However, at this point I did realize that I was on the right track and would likely get some results (my biggest fear had been of no reaction at all because I would need fancier chemicals or something).

 

Image removed.

 

The water is just salt water.  I actually used salt that is meant for tanning hides, but it only has 0.5% of two other chemicals in it, so it is nearly pure salt.  I mixed in about 1/2 cup, which seemed to be about the point it started dissolving slowly.

 

Image removed.

 

Image removed.

 

After 8 minutes, it did not look like much etching had been going on, although it may have been enough to stop there.  I'll never know, because I wondered what would happen if I removed the fan.  I knew the power supply would not burn out, because I have shorted the wires of it on many occasions and it's still ticking along.  So I shorted the fan's wires, effectively removing it from the circuit, and immediately bubbles started flying out of the letters and I could tell something was really going on.  I pulled it out after a few seconds and saw that it had bubbled the wax quite a bit, but it seemed my fingernail polish layer was holding, so I put it back in for about 30 seconds total.  You can see the damage it did to the wax:

 

Image removed.

 

Then I excitedly scraped off the wax around the area, and I knew it had worked:

 

Image removed.

 

Taking off all the layers required the use of fingernail polish remover.  Since this was the hardest layer to get off, I'm guessing it's the one that preserved things during the final stage when the wax was being abused.  If I did it again, I probably wouldn't bother adding the wax as a third layer on top of the other layers.  (But I would still use it for the rest of the container, as it worked fine there).  Here is the result, cleaned up a bit more:

 

Image removed.

 

I found the best way to remove the rest of the wax was to scrape it clean with the plastic spoon.  Then to get the small bits that were left I ran it under very hot water from the faucet and used a scrub brush.  The water wasn't hot enough to outright melt the remnants off, but it made them loose enough to brush off.

 

Image removed.

 

I think I could use some sort of coloring compound, maybe shoe polish, to make the letters all one color.  However, they look fine to me, and I'm guessing that over time they will get dirty and become one color anyway.  If you didn't want that to happen (or wanted to preserve any color you rubbed in there) you could put some sort of clear coat over the top; maybe the same clear fingernail polish.

 

Image removed.

 

End result: I'm glad it turned out as well as it did.  The edges could be a little sharper, but I'd rather not have any obvious leaks in the mask, and I really didn't.  It did take about 5 hours total, so it's not anything quick, but it is a really cool result that I'm happy with.

 

Notes:

  • It might have been easier to remove the paper layer if I had just used a magazine page rather than the cover.  This might also have let me heat the toner better.
  • I'm no chemist so I can't predict what materials it would work on, but the other sites I mentioned at the top have done something similar to copper plates and also to Altoid tins, whatever kind of metal that is.
  • One interesting thing happened while it was in the stove.  I was carefully watching it, half expecting the plastic piece to droop and fall off from the heat, when all of a sudden there was a loud bang and the container jumped about 3 inches off of the oven rack.  Apparently the air inside expanded enough to pop out the curved back side.  This could have been prevented by being smart and loosening the cap a bit.  Oops.
  • Mistakes in doing the fingernail polish layer are very hard to fix.  In fact, nearly impossible.  Be ready with something to quickly dab any errors off--I used a toothpick and a napkin.
  • I did have a small hole in my wax, on one of the bottom corners.  So that spot got etched a tiny bit too.
  • I might work to only use wax and carve your design in it, provided you leave the fan in the circuit.  The higher current otherwise might damage the was as I observed.

Easy way to undelete from a Sony DSC-T5

(and probably many other cameras too)

I realized recently that I had deleted a picture that I kind of wanted to keep.  I deleted it using the interface on the camera, not by hooking it up to a computer.  Happily I hadn't taken any pictures since, so I figured on a reasonable chance of reclaiming the picture.

I was successful, and it was easy.  I used PC Inspector File Recovery.  The interface kind of sucks, and the hardest part I think is selecting which drive to search.  It did pick up the the FAT partition on the camera over USB though, which was good as I had half expected Sony to have some middle layer in which the camera represented the pictures it could see on the card to the computer (in which case I would have had to put the Memorystick in a separate card reader).

Tags

Word 2007 runs slow (due to Acrobat Professional)

We had an issue at work where on any computer with Acrobat Professional installed Word 2007 would run really slow.  Opening, closing, saving, and creating new documents all took 3-4 seconds during which the entire computer would lock-up and the processor would be at 100% utilization.  Even switching between programs would seem to do this.

 A quick Google for Word 2007 lockups didn't turn up much other than a few references to the Add-ins menu, so I checked that out and found one for Acrobat PDFMaker Office COM Addin which didn't really seem necessary.  Turning it off instantly gave Word the excellent performance that I expected.  Here's how:

  • Click the Office button in the top left, and go to "Word Options" (bottom edge of the menu).
  • Select "Add-ins" on the left, and notice the "Acrobat PDFMaker Office COM Addin" under "Active Application Add-ins."
  • Towards the bottom of the dialogue you will see "Manage:" followed by a drop down menu. "COM Add-ins" should already be selected.
  • Click "Go" and on the next screen uncheck the box next to the "Acrobat PDFMaker Office COM Addin."
  • OK your way out of the all the menus, and you should have improved performance without even restarting Word.

"Internal Error 2705. Directory" possible solution

I got this error when trying to install the Field Scoring component of the BEST scoring software.  After much angst and reading things on Google about how it's related to an incorrect directory inside the (InstallShield created) setup file, I finally stumbled upon a solution:

Earlier in the day I had renamed the Administrator account of the computer, and also changed its password (while logged in as Administrator).  I had not logged off between then and installing the software.  Logging off and then logging back on fixed the problem.

Drag tab to taskbar

Here's two ideas for IE7 tabs:

  • Let me drag a tab to the taskbar to move the tab into its own window.  I would use this if I wanted to move a website on my second monitor and look at another on the first one.  Way easier than copying the URL, opening another window, and pasting the URL.
  • Add "Move to new window" items to each tab's right-click menu.
Tags

Automatically unzip downloads

It would be great if I could have another button on IE's download box (or this could be a Firefox extension I guess).  Right now there are Open, Run, and Cancel.  My pick for a 4th one is Unzip.  It would download the .zip file, do a standard unzip like when you right-click on a file and Extract All, and then delete the original .zip file.

Tags

Utility: Duplicate Finder

Every once in a while you find a tool that is just great at doing what it does.  It takes very little system resources, might not even require an install, and works as fast as you can reasonable expect the task to be done.  I found one such tool for removing duplicate photos.

Duplicate File Finder is the latest find of mine to go in this category.  It doesn't require and install, is free, and quickly scanned several thousand photos, and then showed me the path names of each set of duplicate photos, allowing me to choose which ones to delete.  It was a bit tedious to do the selecting, but I think manually doing that is the only acceptable way given the dire consequences of accidentally deleting the wrong photo.

How to hack your Blackboard login

Here at NDSU we use the content portal known as Blackboard.  A few years back I was on my slow internet connection at home and noticed a URL full of POSTDATA in the address bar that would appear momentarily each time I logged in.  The connection was slow enough that I was able to copy and paste it into a bookmark.  Seeing as it contains fields like "&encoded_pw=XXXXXXXXX" and "&user_id=XXXXXXX" it was only natural I would try it as something to keep me from having to login manually every time.  And it works still, 2 years later.

Here's how you can hack your own Blackboard login so that you never have to type in your username and password:

  1. Download Paessler URL Recorder.
  2. It will start automatically after installation, so just put your school's Blackboard address in the address box of the program.
  3. You will see the webpage that you normally get in your browser, and just login normally.  Several links will appear in the bottom pane of URL Recorder.
  4. One of them will contain a query string that stores your login information (you have to scroll to see the entire thing).  Don't let this fall into the wrong hands because anyone who has this text can login to Blackboard as you.
  5. Right-click anywhere in that lower pane and do the "Copy All to Clipboard" option.  Open Notepad and paste it in there.  One of the lines will be something like this: https://bb.ndsu.nodak.edu/webapps/login/ action=login&remote-user=&new_loc=&auth_type=&one_time_token=&encoded_pw=XXXXXX&encoded_pw_unicode=XXXXXXXXX&user_id=XXXXXXXXX&password=&Login.x=37&Login.y=9
  6. Your link will have random letters and numbers instead of the XXXXXXX that I replaced mine with.  Also notice how there is some space between "webapps/login/" and "action=login".  Replace that space with a question mark so that it is more like this (attention to the bolded area): https://bb.ndsu.nodak.edu/webapps/login/?action=login&remote-user=&new_loc=&auth_type=&one_time_token=&encoded_pw=XXXXXX&encoded_pw_unicode=XXXXXXXXXX&user_id=XXXXXXXXX&password=&Login.x=37&Login.y=9
  7. Copy and paste that into your favorite browser and see if it logs you in automatically.  If it does, make a new bookmark and copy the long link we just made into the destination of it.
  8. Now clicking that bookmark will log you in to Blackboard from any computer.  Once again, be very careful with it, because you don't want other people logging in as you.

This is very handy for a tablet PC where you would have to key in the username and password using an onscreen keyboard.  I'm sure you can find other sites out there that this would work for too.

Tags

Windows Photo Gallery - Facebook integration

As I dragged some photos out of Windows Photo Gallery into a folder so that I could upload them all to Facebook, where I then manually tagged them and added captions, I wondered why there isn't a program that could do this.  It should be possible now given Facebook's Application Platform.

Features:

  • Can upload any grouping of photos from WPG as an album to Facebook.  If more than 60 pictures are there, due to Facebook's 60/album limit, automatically break them into separate albums (Example 1, Example 2, etc.).  Also prompt for a name name of the album(s).
  • Carry tags, names, and captions over to Facebook.  For example, if I have a tag for Aaron Axvig in WPG, it should automatically tag me as in the picture on the Facebook side.  Ideally WPG would support placement of tags like Facebook does, but that might be tricky, so I'd settle for some sloppiness on the Facebook side.
  • Keep track of what's been uploaded to Facebook already, so I could potentially have it automatically keep all my photos on there.
  • Is a plugin for WPG (assuming WPG supports plugins or extensions of some form, otherwise a standalone app could work but would have to re-implement a lot of stuff that's already in WPG).

  •  

Also, how about something that adds in support for creating albums in WPG?  (Again, assuming some sort of plugin model exists.)

Tags