Website slowness

I noticed that my website was super slow and I had no idea why. I did a little research and discovered I wasn’t caching things very well and I had too many useless plugins installed into wordpress. My site load time went from 8 seconds to .8 seconds after the optimizations. I used these two sites mainly to diagnose and fix the issues:

Two dropbox instances for one Win7 user

I’m always afraid of websites randomly disappearing, especially when they have useful information on them. I happened to stumble across a website that explains how to set up multiple dropbox instances on a windows 7 or vista machine. I’m going to briefly just copy that info here for my own reference ( and yours 🙂 )

  1. Setup dropbox like normal with an account.
  2. Create a second user on your windows machine with a password.
  3. Login as that second user.
  4. Install dropbox again for that user and set it to synchronize a folder that both windows accounts can access.
  5. Log back into the original windows account.
  6. Find the dropbox.exe in the other user’s folder that you just created: c:\users\<username>appdata\roaming\dropbox\bin\dropbox.exe
  7. Make a shortcut to that .exe file somewhere.
  8. In the shortcut’s properties, change the “Target” field to something like this: runas /user:<username> /savecred C:\Users\<username>\AppData\Roaming\D ropbox\bin\Dropbox.exe
  9. Double click the shortcut, type in the password, and it should be working.

Adding “edit with” to context sensitive menu

I manually installed notepad++ into my dropbox folder so I could use it anywhere. Unfortunately, it didn’t add the “Edit with Notepad++” entry for the context sensitive right-click menu. This trick works for almost any application that accepts a file name on the command line as the first argument.

To see if your application has this ability, open up a command prompt (start->run->cmd). For example, lets see if notepad has this ability. In the command prompt, type “notepad.exe file.txt” without the quotes and where file.txt is some text file in the directory the command prompt is currently in. Notepad will launch with file.txt loaded and showing. If you can do this with other apps (such as Notepad++), then you are good to go.

So to add the “edit with” menu option manually, you have to create a text file and add this to it:

Replace the path with wherever you installed the application you want to launch (in this case, it was notepad++.exe).

Two things of note: Make sure the path has double back slashes between each directory “\\” and make sure that after the “file.exe” file name, there is a trailing “\”. In this example it says “…\notepad++.exe\” This must be there.

You can make it say whatever you want in the menu by editing the words “Edit with Notepad++” to whatever you want.

Save the file with a .reg extension. After you do this, the file should have have an icon with little blue building blocks on it. Double click it, windows will ask if you really want to enter this into the registry, click ok/yes.

You now should be able to right click on any file and have the menu option come up. Clicking it will result it the application launching with the “clicked on” file loaded (if the application developer implemented this.)

Everything Search Engine

I first started with a tool called locate32. But the only time it indexes is on startup and searching was fast, but indexing was not, even though it said it was. So I decided to give windows 7 search a try. It is awesome when it works, but for the life of me, I can’t get it to work at home. So after a lot of frustration with windows search, I decided to give it up. Instead I found a search tool that actually works which is called “Everything”. It is fast, small, and pretty much what I wanted. You can get it from http://www.voidtools.com.

Useful links / blog roll

If you’ll look to the right side I put up a “useful links” section. It contains a lot of valuable links to current research and useful game dev sites. I’ll be updating it as time goes on.

Also, for those still looking for a game dev job, I stumbled across this guy’s blog posting regarding interviewing at game dev companies:Link