Tuesday, June 24, 2014
Saturday, November 16, 2013
Less is More: Markdown
http://daringfireball.net/projects/markdown/
Saturday, March 9, 2013
How to Easily Compile C# Programs without Visual Studio
The problem with this is that anyone who opens Visual Studio for the first time and isn't already an expert developer will be immediately lost in the sea of options, buttons, and menu items that VS has to offer. At least that is what happened, and continues to happen, to me! Luckily, there is an easy, non-bloated way to compile C# programs that bypasses Visual Studio altogether. Just make sure you have the .NET Framework installed. You can download it here: http://www.microsoft.com/net
Command Line to the Rescue!
It turns out that the Microsoft.NET Framework (which is the backbone of Visual Studio) uses a simple executable called csc.exe to compile C# programs. So, if you've written a C# program and saved it with the filename "myprogram.cs", you can compile that program from the command line using csc.exe. The syntax would look something like this:csc myprogram.cs
The output will be an executable file named myprogram.exe.
Now, if you typed the above command into your command line, you probably noticed that it didn't work and you got an error telling you something about 'csc' not being recognized as a command. This is because you'll need to specify the path to csc.exe on your computer before you can run it. On my machine, csc.exe lives in the C:\Windows\Microsoft.NET\Framework\v3.5\ directory. Thus, the command to compile myprogram.cs would be:
C:\Windows\Microsoft.NET\Framework\v3.5\csc myprogram.cs
NOTE: I'm using version 3.5 of the .NET Framework for these examples. Be sure to use the correct path for whichever version you have installed.
You can also specify an alternate location or filename for the output (.exe) file using the /out parameter. For example:
C:\Windows\Microsoft.NET\Framework\v3.5\csc /out:mycustomfilename.exe myprogram.cs
You can even use the * wildcard to compile multiple .cs files in one sweep:
C:\Windows\Microsoft.NET\Framework\v3.5\csc *.cs
Environment Variables make it Easier
If you're going to be developing C# applications, you're going to be compiling and running your programs very frequently and you're probably going to quickly tire of typing the full path to csc.exe each time. Not to fear! You can set up a system environment variable to make csc.exe accessible from any directoryNOTE: You will need Administrator privileges for the following steps.
To set up a system environment variable in Windows 7:
- Click on "Start" and right-click on "Computer"
- Click "Properties"
- Click the "Advanced system settings" link (on the left)
- Click the "Environment Variables..." button (at the bottom)
- Under the "System variables" section single-click (highlight) the "Path" item.
- Click "Edit..."
- Append the text
;C:\Windows\Microsoft.NET\Framework\v3.5\
to the "Variable value" field. Note the semicolon (;) and be very careful not to erase any of the existing system variables. All you're doing is adding another variable to the end of the list. - Click "OK" to save your edit.
Other Options
Sometimes when compiling, you will see various messages appear in the command line (error messages, warnings, etc.). If you need to save these messages for any reason, you can tell csc.exe to dump them into a .txt file by using the > operator. For example:csc myprogram.cs > filename.txt
Also, if you're not a command line type of a person, you could always create a batch file to handle the command line stuff for you by typing the necessary compilation commands (see above) into a .txt file and saving it with a .bat extension. The resulting file (filename.bat) should be placed in the same folder as the .cs files that you with to compile. When double-clicked, the batch file will execute the commands it contains exactly as if they had been typed in the command line. More about batch files here: http://www.robvanderwoude.com/batchfiles.php
Conclusion
You should now know how to compile and run C# programs without relying on Visual Studio. I hope this post has been helpful. Now, start programming.Monday, December 13, 2010
How to Get Free Stuff from Amazon.com with Amazon Student and mTurk
If you don't already have an Amazon account, head over to http://www.amazon.com/ and click on the "Sign In" link (at the top of the page). You'll be guided through the process of creating your account.
Next, go to http://www.mturk.com/ and sign in using the Amazon account that you just created. Note: make sure that your Amazon account has been activated by opening the confirmation email that was sent to your inbox. You'll have to do this for your new mTurk account as well.

Once you've set up your Amazon and mTurk accounts (you may also want to set up an Amazon Payments account at https://payments.amazon.com/), you're ready to start making money. mTurk is a subsidiary company of Amazon.com that pays users small amounts of money to do odd jobs (called HITs) that other users request. For example, you may be paid $0.10 to compare search results on Google or to find the UPC number of a certain product. Any money that you earn can either be spent on Amazon.com or deposited into a personal bank account. It must be noted that this is NOT a way to get rich quick; in fact, you probably won't get rich at all, but it is a way to make some pocket change. If you spend a bit of time each day doing odd jobs, eventually the cents add up to dollars and you can purchase something on Amazon, or withdraw the cash from your bank account.
Unfortunately, the payoff of mTurk is rather low compared to the time investment. This being the case, every penny is valuable and you won't want to waste a single cent on shipping: this is where Amazon Student comes in. If you're a university student (if you have a .edu email address) you qualify for free Amazon Prime treatment for one year (I think that this is annually renewable). Amazon Prime gives you 1-day shipping for 0nly $3.99 and 2-day shipping free on qualified items. All you have to do is go to http://www.amazon.com/gp/student/signup/info and click on the "Get started" button. You'll need to sign in using your Amazon account and provide a valid university email address (ends with .edu). Once you check your university inbox and confirm your student account, you're done! Welcome to the world of free shipping!
Now, it must be said again that this is NOT a way to make large amounts of money. If you're looking to do that, you'd be better off finding a real job and working 9 to 5. However, if you're a student looking for a little extra spending money (or for cheap movies), mTurk and Amazon Student are perfect for you. If you're not a student, you don't qualify for the free Amazon Prime treatment, but you can still make money on mTurk; however, if you're not a student, you probably have a job and you might as well not even bother with the whole thing!
Since both mTurk and Amazon Student are subsidiaries of Amazon.com, there is no danger of getting scammed. What have you got to lose? Give it a try!
Thursday, September 16, 2010
Thursday, April 8, 2010
The Black Art of Emulation
Fusion - Formerly Kega II or Kega Fusion. This is an emulator that will run Roms from several Sega systems including SegaSG1000, SC3000, Master System, GameGear, Genesis/Megadrive, SegaCD/MegaCD and 32X.
Jnes - Nintendo Entertainment System emulator.
ZSNES - Super Nintendo Entertainment System emulator.
Project64 - Nintendo 64 emulator.
Emuparadise.org - The source of all my Roms.
If you're worried about not having a controller, don't be. All of the emulators above allow customization of the control settings in order to provide users with a gaming experience that is as close as possible to what they're used to. Good Luck and Happy Gaming!
Sunday, September 20, 2009
King's Quest Reinvigorated
According to AGDI's About Us page, these folks are "a group of highly motivated individuals determined to revive the adventure game genre. [Their] aim is to remake classic Sierra On-Line adventure games, enhance them to modern standards, and then offer them as free downloads." And this is exactly what AGD Interactive has done.
King's Quest I: Quest For The Crown is based on the original Sierra Entertainment game of the same name that was created by Roberta Williams in 1984. The developers at AGDI have revamped it giving it new life at an extreme makeover. The current version of AGDI's remake (Version 4.0) was released on January 17, 2009 and is available for free download at AGDI's web site.
King's Quest II: Romancing the Stones is based on King's Quest II: Romancing the Throne, which was created by Roberta Williams and released in 1985. As with the first King's Quest, AGDI has renovated and re-released this game. The current version is Version 3.0 and it is available for free download from AGDI's web site.
King's Quest III: To Heir is Human. Well, since AGDI can't do everything, the people at Infamous Adventures have stepped in to remake King's Quest III. The latest version is 2.0. Cruise over to IA's KQ3 download page to grab this game.
UPDATE: 12-Mar-2013: AGDI has now released their own remake of King's Quest III, King's Quest III Redux: To Heir is Human, to compete with Infamous Adventures' previously released version. Now you can choose which version of KQ3 you want to play... or just try them both!King's Quest IV: The Perils of Rosella. At the current date, this game has not yet been remade. However, Magic Mirror Games is hard at work on this project. Hopefully we can expect a top-notch product from MMG before too long. In the meantime, try downloading the original King's Quest IV.
King's Quest V, King's Quest VI, and Beyond. The chances of these games being remade in the future are comparatively slim. This is because they don't need it. Try searching the Internet for the original versions of these games. They can be found on numerous abandon-ware sites.
It's nice to see the old games coming back.
Friday, August 14, 2009
Upside-down YouTube Update
Wednesday, April 1, 2009
Upside-down YouTube
1.) Check out this video: Training at Home. The french Spiderman
http://www.youtube.com/watch?v=TM_-UGZokOU
2.) Cool, huh? Now try viewing it upside down:
http://www.youtube.com/watch?v=TM_-UGZokOU&flip=1
3.) Link to YouTube's explanation:
http://www.youtube.com/t/new_viewing_experience
Happy April 1st!
Sunday, January 4, 2009
Wikipedia is Saved!
Link: Thank you from Wikipedia founder, Jimmy Wales.
Friday, January 2, 2009
Riven in Windows XP
Link: How to Play Riven in Microsoft Windows XP
UPDATE: Google Pages has been disbanded by Google. Thus, Mind Palette (my late website) is no longer available. The original Riven XP article from the the website is here reproduced:
How to Play Riven in Microsoft Windows XP
This tutorial will teach you how to get Riven: The Sequel to Myst to run in Microsoft Windows XP.
OK, so you got this really cool game called Riven back when you were still running Windows 98/ME/2000. You played it obsessively; everyday, after school, you would rush home and throw one of the discs into your PC just so you could once more be immersed in that beautiful and shattered world that is Riven. Now, you know practically everything there is to know about the game. You haven't played in a while because you want to savour your hard-earned victory before returning to Riven, also you've upgraded your OS to Microsoft's brand spankin' new Windows XP. After a while, you get the itch again and install Riven on your new system. The installation process goes well. You open your start menu and click on your Riven shortcut... That's when your whole world falls to pieces...
Does this sound like you? If so, you've come to the right place; I went through the same agony you're experiencing right now. Luckily, there's a cure.
Riven Updater 1.02 Patch
The first and easiest solution to your problem would be to go to Brøderbund's Website and download the Riven Updater 1.02 Patch; however, this may not be quite so easy now that Brøderbund's Website no longer exists. Fortunately, one guy at Steve's XP Games Corner was smart enough to archive a copy of the patch before Brøderbund shut down. Thanks Steve!
Download Patch from Steve's XP Games Corner - 984KB .zip
Simply install the patch in the same folder that you installed Riven in (e.g. C:\Program Files\Riven on my machine).
Windows 98/ME Compatibility Mode
If Riven still won't run after you've installed the patch, try running Riven in Windows 98 / Windows ME Compatibility Mode.
- Navigate to the riven.exe file on your hard drive (C:\Program Files\Riven\riven.exe on my machine.)
- Right click on the file and click “Properties.”
- Under the “Compatibility” tab, place a check next to the “Run this program in compatibility mode” option.
- Select “Windows 98 / Windows ME” from the dropdown menu.
- Apply the change and click “OK.”
QuickTime Movies have no Sound
Well, now Riven is playable, but why is there no sound for any of the movies? Is this the question you're asking yourself? Try this:
- Find the file Mohawk.w32 in your Riven directory.
- Open it with a plain text editor, like Notepad.
- Change the line that reads “fEnableAudioProxy=true” to “fEnableAudioProxy=false” (without quotes).
- Save the file in place of the original.
My Sound STILL doesn't work!
If editing the Mohawk.w32 file according to the directions above didn't work, the problem most likely is a compatibility issue with your version of QuickTime Player. Try uninstalling your version of QuickTime and installing the version that came on Riven Disc 1. This should solve your problem, if it doesn't, I'm afraid this author is all out of solutions. There is probably a solution out there somewhere, but it is not here. Sorry.
Conclusion
I hope this article has been helpful to you; if it has, be sure to check out my other articles sometime.
Text Copyright © 2008 by The Untitled One ;)
Tuesday, December 23, 2008
Google Holiday Logos Archive
This question has bothered me for years. I always wished that they were all in one place and available to the public so that, say, if there was one particularly clever New Year's logo that caught your eye at 11:59 pm on January 1st, you would be able to find it again on January 2nd. Now, being the kind of person that I am, I took it upon myself to create that place. I actually started a new blog for the specific purpose to collecting and archiving Google Holiday Logos. That's when I found The Page.
It turns out that Google has been archiving their holiday logos all along at Google.com. On Google's page, you can see all of the Holiday Logos, along with the dates of their release, that have appeared since 1999. Goodbye, Google Logos Blog!
Link: More Google: Holiday Logos
Saturday, December 6, 2008
Easy Light Bulb!
As the title of this post (and of this blog) vaguely indicates, the purpose of this blog is to provide simple, easy to understand solutions, tutorials, and how-tos for common technical problems and puzzles that plague technology users everywhere. I'm not guaranteed, not by a long shot, to have the solution to every problem out there, just the ones that have irritated me personally in the past and that I have worked my way through. You, my reader, may be able to learn something from my experience and my mistakes.
Besides solutions, tutorials, and how-tos, you will also find a lot of information about things that I think are cool or worth noticing. Whenever I post a link, I encourage you to give it a click; see what happens!
Happy Lightbulbing!


