Browsed by
Category: Technical

Taking celebrities to lunch

Taking celebrities to lunch

So, you go to the Portland Retro Gaming panel of 80’s Atari programmers. Each one of which made the most popular games of the age, ones you and all your friends played. After the talk, you’re chatting with them and everyone discovers it’s well past lunch. You say, “Hey guys, you wanna go across the street and grab a bite to eat? My treat.”

And that’s how you end up taking all your childhood programming heroes out to lunch.

From L to R:
David Crane – Founder of Activision, Activision’s Pitfall
Tod Frye – Atari’s PacMan, Swordquest series
Rob Zdybel – Star Trek, Star Raiders, Atari Football
Bob Smith – Star Wars, Video Pinball, co-founder of Imagic
Gary Kitchen – Donkey Kong, Keystone Kapers
Mr Kitchen’s son
Me

Steam: Failed to add new steam library folder

Steam: Failed to add new steam library folder

Until we get 1TB SSD’s for less than $1000, space on them is always at a premium. One strategy is to split your Steam game installs between drives. For slow loading or games you play often, you might want those on your SSD.  For infrequently played games, you likely want those on a big, cheap platter drive. Steam gives you the ability to have multiple libraries on multiple drives, but it doesn’t always work as expected.

I tried recently to add a library to a big platter drive, and got the message 'Failed to add new steam library to folder'. I tried all kinds of ways of creating the library, but always got the same message. My drive was not out of space, I had adequate permissions. I started/restarted steam. No luck.

The problem:
Failed to add new steam library to folder
The issue is that the Steam client cannot add new libraries while anything is happening to the existing game library.  In my case, one single game (way off the bottom of the screen!) was updating.  This activity prevents the Steam client from being able to add a new library folder.

The solution:
Pause or cancel the download/update. Make sure nothing is updating, then go to the Library display view in the Steam client. Then select: Steam->Settings->Steam Libraries Folders->Add Library Folder. You should then be able to select/create new library folders on new drives.

The shaming:
Valve engineers – fix that dialog! Be sure to tell people WHY you can’t create the folder, not just that you can’t. Error messages are useless unless they give you enough information about what’s wrong so that you can fix the problem. Especially one so simple to report.

Hitchbot

Hitchbot

Some folks build a robot and give it an audio track and it takes pictures/recording periodically and sends them home.  It was set on the side of the road in Halifax, Nova Scotia and is now ‘hitchhiking’ to Victoria, British Columbia.

So far it’s making amazing progress!

http://www.hitchbot.me/

 

Installing WordPress using XAMPP

Installing WordPress using XAMPP

When customizing/working on a new WordPress layout – it’s better if you don’t do it on your live blog.  Instead, install XAMPP

http://www.wikihow.com/Install-Wordpress-on-XAMPP

You can then set up the database and install WordPress in the httpdocs/ directory – but that’s not a straightforward/easy process.

Instead of all the extra setup, you can also use Bitnami’s WordPress application that installs WordPress for you and takes care of a lot of the annoying database and other setup bits.  They have versions for Windows, OS X, and Linux to make your life easier.

After setup, instead of the WordPress files being in the normal httpdocs\ directory, Bitnami’s WordPress on top of XAMPP puts the WordPress files in X:\..\XAMPP\apps\wordpress

 

Steam OpenGL tracer/debugger VOGL

Steam OpenGL tracer/debugger VOGL

Steam Developer Days were a little while ago, but As a member of the Intel GPA team, I found their VOGL new tool announcement to be very interesting.  It’s a new graphics debugging/tracing tool – this time from Valve.

Here’s the link to Rich Geldreich’s Blog and gives all the details:
VOGL – OpenGL Tracer/Debugger

You can find the github distribution of the software here:
https://github.com/ValveSoftware/vogl

 

XAMPP on Windows – Port 443 used by VMware

XAMPP on Windows – Port 443 used by VMware

I was just installing XAMPP on my windows 7 x64 box, I tried to start Apache and got this message:

Problem detected!
Port 443 in use by ""C:\Program Files (x86)\VMware\VMware Workstation\vmware-hostd.exe" -u "C:\ProgramData\VMware\hostd\config.xml"" with PID 4688!
Apache WILL NOT start without the configured ports free!
You need to uninstall/disable/reconfigure the blocking application
or reconfigure Apache and the Control Panel to listen on a different port

Unfortunately, VMWare Workstation places it’s host ports on the same ones needed by Apache.  The solution is to change the apache ports via this procedure:

  1. Open the XAMPP Control Panel
  2. Click the ‘Config’ button next to the Apache module and select the ‘Apache (httpd-ssl.conf)‘ option
  3. A text edit box will pop up with the contents of httpd-ssl.conf
  4. Find the line with Listen 443
  5. Change 443 to some other open port – like 4430
  6. Do a search/replace in the file for all the references to 443 and change them to 4430 (should be like 3-4 of them)
  7. save and exit the editor
  8. Start Apache

If all goes well, it should start right up on ports 80, 4430.  Test it by going to localhost in your web browser and you should see the familiar xampp control panel

Update 2020-02-02:
Thanks to Spadez for this additional info:

I found I also had to set it via the Service and Port Settings in the Xampp Config. In the Xampp control panel click the Config button then the Port settings button and set the port number there.

Use Windows Git with proxy server

Use Windows Git with proxy server

Shesh – you’d think they’d have this more easily found on the official GIT website.

  1. Open a bash or cmd GIT shell
  2. git config --global http.proxy http://my.proxy.server:1234

That should do it.