Archive for January, 2008

The Clicker

Friday, January 25th, 2008

I never thought that I will need one of those, but I bought myself a clicker. To be frank, I have no clue what is the proper name for these things but I call it a clicker. What does it do? It’s a little wireless gadget you hold it in your hand and click a button to change slides. I never had one before, and I never even entertained notion that I may want one at some point. But since I’m teaching now I figured - why the hell not.

So I bought the Targus Wireless Presenter which looks like this:

The Clicker

I’m almost sure that the popper name for this device is not “Wireless Presenter”. To me a presenter, is the person who presents the slides. Targus probably made this name up because like me they had no clue what to call it. P Either way, it’s a great little gizmo.

This particular model is not really top of the line anything. It’s a cheepo model, and it does feel like it. But at the same time it is fully functional, and perfect for my needs. All I really need when I’m teaching is to switch slides back and forward. This device does just that, and in addition it has a built in laser pointer which works out very well. It also has 2 other buttons: an Alt+Tab like functionality that lets you cycle between open windows and another one that blanks the screen for you. I don’t see much use for the later, but the former one is a nice thing to have.

It takes a single AA battery, and just works. So far every windows box I plugged it into detected and configured it immediately. Then again I only tested it on Win XP so I can’t vouch for it to work in Vista or 2k. It did come without a driver CD though so I’m guessing Targus is confident that it will work on every system. Then again my Sidewinder mouse didn’t ship with drivers either but that’s a whole different story.

My only complaint is that the On-Off switch is unmarked. The only way to know if the device is actually off is to hit the red laser pointer button. If the switch is in the OFF position it won’t work. It’s not a show stopper though. After all I paid $20 for this so it’s not like I’m expecting highest quality here.

The biggest benefit though is what this device does to your presentation style. I love it. It lets me move around much more, and takes me out from behind the lecturer’s desk. It kinda removes that artificial barrier and I kinda felt as if I was connecting with the students a little bit better.

It also works great with animated slides. In the past I used a lot of static slides so that I could get out from behind the computer and point to the things on the projector screen or write on the white board. With the clicker in hand I can have the bullet points fly in one at a time as I speak. The laser pointer is just a nice bonus that let’s me point to things without walking up to the screen or reaching high above my head.

If you teach, or regularly present stuff using ppt, I highly recommend getting a clicker. Not necessarily this one - the Targus is cheap, and it feels cheap. I’m actually paranoid now that it will break on me in a week or two and I will be stranded in the middle of a lecture without one. So far it has been working fine for me though. I’m actually considering buying a second one and keeping it in my bag as a backup.

Kubuntu Dapper on Inspiron 600m

Thursday, January 24th, 2008

I have a spare Dell Inspiron 600m laptop sitting in the office here. It is quite a decent machine with 1.4 GHz and 2GB of RAM. Not top of the line or anything, but actually much better than my shoddy work laptop which has recently decided it won’t work without an external monitor. I’m too apathetic to be fixing it though, since I almost always use it with an external keyboard/mouse/monitor combo and I hardly ever open it at home. I might just commandeer the 600m for my use - but before I did that I wanted to make sure I can run Kubuntu on it.

Don’t ask me why, but I only have Dapper CD’s in my bag. I could probably just download and burn Gutsy but I’m extremely lazy. Also, I’m a long time Dapper user and not only do I know this release well but I hardly ever see it develop any odd sort of behavior like I’ve seen on Edgy or Feisty. I never had major issues with Ubuntu but most releases have one or two weird quirks that surface given the right combination of hardware. Never had that with Dapper though - whatever I throw at it, it keeps chugging along without complaints. So I just popped in the original Dapper CD (ShipIt FTW!) into the drive to see how it behaved on this hardware.

It’s probably worth noting that I first installed a fresh copy of XP on that same laptop. Unfortunately XP could not figure out how to work with following devices:

  1. Broadcom NeXtreme BCM7505M Gigabit Ethernet Controller
  2. Intel Pro/Wireless LAN 2100 Mini PCI Adapter
  3. Integrated Intel sound controller
  4. ATI Radeon R250 Mobile Graphics Card
  5. The voiceband win-modem

All of these showed as yellow question marks in the device manager. When Kubuntu loaded up from the CD, all of these were detected and configured automatically. That is, with exception of the modem, but I don’t even know what I would use it for anyway.

Here is the kicker - Dapper supports the Intel wifi card out of the box, while XP doesn’t! How funny is that? I was actually pleasantly surprised to see this to work out so well. I did have a slight issue getting associated with the local access point which is using WEP but I’m blaming the KDE networking tools. I think there is some bug there that prevents a 64 bit hexadecimal WEP key from being passed down to iwconfig. I pulled up the console, brought down eth1 (which is what got mapped to the Wifi card) then manually set essid and encryption key via iwconfig then ran dhclient and I got associated and connected. So the GUI is flaky. Most of the time I’m using ndiswrapper to get the wifi working so I thought maybe that’s why the default KDE tools for Wireless were not really working for me. But no - they just suck.

I might try Gutsy on this laptop next just for comparison, but so far I’m very pleased with the result.

PC Gaming is Dead!

Wednesday, January 23rd, 2008

Do people actually still play on the PC? Have you been to a store lately? The PC games don’t even have a isle at most gaming outlets these days. Games for current generation consoles line the walls, last gen console games sit in the isles while the PC merchandise is relegated to a bargain bin in the corner. And rightfully so - all the noteworthy titles these days are developed for consoles and then sometimes ported back to PC. Let’s face it - PC gaming is dead!

LOL

Inflammatory title and first paragraph FTW! In case you didn’t notice I’m fucking with you guys. Personally I think that this whole “PC gaming is dead” thing is total bullshit, but they say you should start a post with an attention getting sentence or two. I’m assuming that the blood pressure of most of my readers went through the roof while reading that - I know mine would - so I think attention has been gotten. While your rage is subsiding, I would like to talk about why PC gaming is not dead.

Btw, if you read that first paragraph nodding in approval… WTF dude?

For me it is obvious that PC gaming is doing well and that there is no indication that it is slowing down. However I keep hearing a spiel very similar to the one I regurgitated above increasingly more often. In fact, this topic has been tossed around in the comments here. So let’s discuss it. I invite the “PC Gaming is Dead” people to post counter arguments, or explain to us why they think console gaming will overtake PC market one day.

Here are some reasons why I think the PC gaming is still alive and well, and will continue this way for a long time:

Superior Hardware

Console hardware is static and frozen for the lifetime of the generation. PC hardware is dynamic, and consistently improving at the speed of Moore’s law. Not only is the console market lagging behind, it also grows in discrete jumps. Every few years companies put together set of top of the line hardware and call it the current generation. You are stuck with that hardware for several more years despite the fact that it is entirely obsolete after 6 months or so.

Don’t tell me that gaming companies like to develop for static hardware that doesn’t have the latest pixel shader or dynamic range whatever. Every new PC game these days strives to have graphics so realistic, and so sharp that it will make your eyes bleed. Why? Because of fucking Nathan’s first law - thats why. Software is a gas and it will expand until the hardware cannot support it anymore. If you give me a crazy, top of the line hardware spec, I will give you a game that runs incredibly slowly. Is it actually possible to run Crysis on highest detail setting already? Few weeks ago my co-worker actually went through every possible piece of hardware on the market and came to a conclusion that there was no hardware he could buy that was not short of what Crisis recommended for the highest graphical settings. This might have changed by now but you can see what I’m getting at here.

When you develop for a console, your limitations are dictated by what was possible months ago. When you develop for PC, your limitations are what will be possible at the time your game will be released - and you can calculate it based on mores law. If your are aiming to ship two years from today, you can safely assume that the average gaming PC will be at least twice as fast as it is now.

PC platform will always be a testbed for new technologies. If you want to work on a top of the line graphics, or physics simulation you need to go with PC. You can then scale back when you port the game to Xbox… Or you can wait a bit until the console world catches up with the rest of us and release the game on the new generation hardware.

Demographic

Do you know why console games line the shelves in gaming outlets? Let’s look at the demographics. I do not have any hard data here but from my personal observations and discussions with others I suspect that the age is a significant factor. I noticed that consoles tend to be more popular among teens and college students. Why? Because a console is relatively cheep compared to a genuine PC gaming rig. It’s easier to drop $300 on a piece of hardware that will last several years, than $2k on a PC that will be technically obsolete in 3-4 months. I know that it doesn’t work like that - hardware doesn’t age this quickly, but that’s how regular folks look at this.

PC gamers on the other hand seem to be more in the 20-30 and above category, having more disposable income to invest in expensive hardware. They are also more discerning buyers who have specific tastes, and discuss/research the games they purchase online prior to spending money.

Again, this is just a speculation but I’m thinking that console games are better impulse buy material than PC games. Personally, I can’t remember when was the last time I bought a game because I was walking down the isle and I liked the box. I mean, other than the $10 jewel case release of Morrowind that one time. When I buy PC games, I usually have a specific title in mind. Last few games I bought were from online retailers or via Steam. I’m guessing the same must be true for quite a few other PC gamers out there. I haven’t bought a game from a dedicated store (like game stop) in years. When I stopped by one last year the experience was comparable to that blurb in the first paragraph. It was all console games, and the only people shopping there at the time were parents with screaming brats running around messing with the displays, and high school teens who btw were the schoolmates of the teenage sales clerk.

The Best Buy in my town on the other hand had had 4 isles dedicated to PC games - go figure. So I guess different places pander to different customer base. If I thought that a Game Stop was the end-all-be-all of gaming retail I would probably think PC gaming was dying too. But I don’t shop there because they seem to focus on console sales. And it’s probably a good choice - since teens and parents are more likely to go to an establishment like that to get a game, while someone like me might just buy it online, or perhaps at Best Buy while shopping for electronic accessories. P

No Content Control

Nintendo is notorious for censoring the titles that appear on their consoles. Sony and Microsoft are less anal about this but they still have full control over their platform and can refuse to license you the development kits. Look at the Manhunt 2 debacle. PC platform is much more open and accessible to titles that may not be family oriented enough for the big console makers.

If you make an NC-17 movie you do not need to ask anyone for permission to distribute or sell it. It will still play on any DVD player, or a movie projector in theater. If you make an AO rated game (equivalent to the NC-17) you will most likely get locked out of all the console platforms. So it’s obvious that there will always be market for these types of games on the PC.

Independent Developers

You may not realize this but indy developers are a huge driving force behind innovation in gaming. Valve’s Portal, which is considered one of the most interesting and innovative titles of 2007 was based on Nabacular Drop - a senior project by a group of students from Digipen.

This sort of innovative work is possible because PC is an open platform that anyone can develop for. There are groups of hobby developers working on Xbox and PS platforms but they constantly hit roadblocks. One such roadblock is that using the XDK without a Microsoft license is illegal. If you do want to license XDK you need to sign a restrictive NDA which among other things prevents you from disclosing any information about the kit and Xbox architecture. So it really prevents development of open source games on that platform.

There is the OpenXDK but it has it’s own problems and it is not supported by Microsoft, which can at any time subtly break it by minutiae firmware upgrades.

Then there is modding. Hosts of PC games are moddable gathering huge communities which produce crazy amount of free content to enrich your gaming experience. Mods range from simple bug fixes that were never addressed by the developer to total conversions such as Beyond the Red Line I wrote about recently. A great example of modding community is Planet Elder Scrolls which indexes thousands of user made additions to Morrowind and Oblivion games. You don’t get this type of community generated content on console titles - mostly because they are locked down in one way or another.

Genre Distribution among Platforms

How many RTS games have you played on a console? Let’s face it, consoles have some strengths and weaknesses. They are great for twitch based arcade games, sports games and racing sims. They are adequate for RPG games, and sometimes ok for FPS titles. I played FPS games on the game pad and it felt retarded but some people swear by it. But one genre that consoles completely fail at is RTS.

I know that there are RTS games for consoles - I even played Red Alert on PS1 back in the day. It was very… Strange experience. The RTS gameplay just doesn’t translate well into the whole gamepad + living room couch environment. This goes double for turn based strategy like civilization.

You can clearly see the division of roles between the console and PC market. Xbox and PS3 get all the sports action, racing and platformers/beat-em-ups as well as 3rd person perspective shooters and single player RPG - mostly in Final Fantasy like format. PC’s get strategy titles, tons of FPS and healthy dose of traditional RPG (ie. mostly Fantasy but not the “Final” one) and MMO.

RTS and MMO markets are huge, and they are inexplicably tied to the PC platform and it doesn’t seem like this is about to change. FPS is really the domain of PC too but Halo freaks will argue with me till they drop that this is not the case.

What may end up killing PC gaming in the end?

As of right now, I can only see 2 things that may be harmful to PC as a gaming platform in the future. And neither one of them is a console. First one is Windows Vista. Yes, I think Vista is harming the PC gaming scene mainly because of the insane hardware requirements that it takes to even run it. Back in December when I was doing Christmas shopping I looked at many “Minimum System Requirements” specs on many games. At the time they were actually splitting them and had one set of minimum specs for XP and one for Vista. The vista requirements were usually roughly double of whatever XP requirements where - or damn close to double. What does that tell you? That the overhead of actually running that OS in the background is huge.

Since we are getting dangerously close to the 4 GB RAM limit of 32 bit architecture there is nowhere to go from here. 32 bit Vista will always be a huge resource hog that will eat up most of your RAM. As the minimum requirement specs creep up this will become a huge issue, forcing the whole gaming industry into 64 bit universe. And from what I hear that running 64 bit Vista is like having a perpetual diarrhea that never ends. But then again, once we reach that point perhaps both hardware and software vendors will finally get their shit together and actually get the 64 bit support right.

In other words - consoles are no threat to PC gaming market. While they completely took over certain niche markets that were never very popular on the PC (sports and racing), PC will remain the dominant platform for FPS strategy and massive multi player titles.

Please feel free to disagree or add your own argument in the comments.

Novell Netdrive at MSU acts Flaky

Tuesday, January 22nd, 2008

Since I’m teaching again this semester, so over the holiday break I set up a little website where I could post links, resources and various interactive things that don’t really work well with blackboard. I used my Novell Netdrive account since CORE deleted my unix account few weeks after I got my MS. I never really found out why, but it probably had something to do with a random php script that I wrote my sophomore year. It essentially appended user input to a text file and then displayed the text from that file on the page creating a primitive “blog comments” like effect on some of the pages. Needless to say, at some point it got spammed into oblivion, and being lazy I never really disabled it.

Or it could be the fact that I compiled and installed quite a few apps in my home directory, including a never version of VIM, nmap, netcat and few other security tools that probably freak out sysadmins. P When I started teaching I asked if I can have my unix account back once or twice via email but I never got a response. When I arrive on campus these days, the CORE folks are long gone. In fact, everyone except for students and few professors who teach evening classes is gone. I never noticed that when I was a student because I would usually spend a whole day on campus doing research, GA stuff and etc.

Now that I work full time and I can’t get there before 5pm I never really see the administrative and support staff anymore. All communication with the secretarial staff regarding printing teaching materials or obtaining supplies must be done remotely. To be fair, I think there is like one day a week when the Registrar’s office and couple of other important administrative offices on campus are open till like 6pm - but most of the non-faculty inhabitants of MSU vacates their offices at like 4:30. Sigh…

Anyway, I used Netdrive because that’s all I have right now. I used some very simple PHP scripting mainly because I didn’t feel like copying and pasting the header and footer on every single page. Over the holidays I figured out that you can actually enable PHP parsing if you make your .php files executable. Naturally you don’t get shell access to your account, but Netdrive has a very clunky and counter-intuitive web interface. You can use it to make your stuff executable to the world, (but it requires some digging in the “Properties” panel) on a “per file” basis. That’s exactly what I did over the break and everything was working.

I decided to check back on the site today and I noticed that my PHP files were being displayed as text. WTF? I went back to the web interface, and sure enough - all the execute permissions were gone. I set them back, reloaded my page and…

Nothing. My page was still displaying text. At that point I gave up and figured they probably locked it down or something. It wouldn’t be surprising if they removed PHP access from the general netdrive accounts for security reasons.

Fast forward 20 minutes. I went back to the website to see if I can turn it into a static HTML, and lo and behold, it rendered normally importing headers, footers and all the dynamic content. WTF? Perhaps it took a while before the permission changes took effect or something. Or perhaps the text version of the PHP page just got stuck in my cache?

Did anyone else lose the execute permissions on your netdrive files? Is there some sort of a cron-job that resets these things every once in a while or something? Or am I just experiencing some system hiccups?

Installing LaTex on Windows

Sunday, January 20th, 2008

The other day I finally got around to installing LaTex on my Windows box after the last major reinstall. There are several different LaTex releases that will run on Windows. They all do pretty much the same thing, but now that I had to do this over again, I realize that the choice might be confusing to some.

If you want to start playing with LaTex on Windows I recommend you download ProText. Why? Because it ships along with everything you need to start working. The following products are included in the ProText package:

  1. MikTex - one of the more popular LaTex packages for Windows
  2. GhostScript - a windows release of the ultimate postscript interpreter
  3. GsView - the windows postscript and dvi viewer which you will need to open some of the Tex generated files
  4. TeXnicCenter - my favorite LaTex IDE.

It all comes bundled in a single neat package. The installer is a bit funky but don’t be discouraged. You get a self extractable rar archive that will dump bunch of files into a temporary folder of your choice. Inside you will find a setup file. If you run it it will open a PDF document which outlines the installation process step by step. It includes embedded links that launch installers for the products I listed above. It is a bit odd, and unconventional way of installing applications but it is very easy to follow.

Naturally you could get all these things separately, but ProText just makes it easy and convenient. I’m mainly putting this out here for people who might be new to LaTex. Also, I’m documenting this for myself because it took me a little while to remember which one was the nice PDF based bundle that I used last few times. P