Pages

Friday, January 4, 2013

Psalm 23 for Materialists

I think I was driving home from somewhere when this idea popped in my head.  Apologies to those favoring more modern language, King James Version continues to hold a special place in my heart.

Psalm 23 for Materialists

Materialism is my shepherd; I shall always want.
It maketh me to lie down in pricey furniture stores: it leadeth me beside the Jacuzzi waters.
It consumes my soul: it leadeth me in the paths of greed for its name's sake.
Yea, though I walk through the valley of the shadow of recession, I will see no evil: for thou art with me; thy early termination fees and thy clearances they comfort me.
Thou preparest a shopping cart before me in the presence of rival Black Friday shoppers: thou anointest my head with expensive hair products; my Big Gulp runneth over.
Surely greed and meaninglessness shall follow me all the days of my life: and I will dwell in the house of materialism for ever.

Medal of Honor: Warfighter Review

So, I had to write this review in the light of how terribly wrong pretty much every critic out there is.  I generally respect IGN's reviews of games.  They're usually a bit hard on games, but they're usually equally hard on games, so they do tend to be fair.  My review of the first game in the reboot pretty much agrees with IGN's review.  But IGN's review of Warfighter, while bringing up some legitimate problems, doesn't accurately reflect what kind of game it truly is.

First, to acknowledge the issues people have raised against this game: Yes, there does seem to be some framerate issues here and there.  Though it's more something you see after playing the game a while, not something so bad that it disrupts gameplay.  Graphically for the most part, it's on par with Battlefield 3.  Yes, the campaign does over-use breaching.  It doesn't feel exactly annoying, just pointless.  Yes, the campaign doesn't introduce anything that hasn't been done in other games (though that's usually the case, and when they do e.g. Bulletstorm, they're not usually received well).  Yes, enemies aren't the sharpest knives in the box, and could make better use of cover and work together as a team better.  I'd add that it's frustrating to see them run past the rest of your team, to target you specifically.  This makes no tactical sense and is the same lame AI they used in the 2010 title.  They aren't the only series to do this, but boy is it annoying.  Some have complained about the story as well.  I thought it wasn't exactly an exciting plot, but it does tell the story fairly well.  Complainers are advised to note that it's been some time before we've had good storytelling in a shooter, and no one buys shooters for their storyline anyway.  And finally, yes, the menu system is confusing at first.  But once you get used to it, it's actually rather nice.

As far as weapon design (something I've not really heard anyone comment on), the weapons seem to have less recoil than they ought, and all sound suppressed, but the damage is more realistic (or at leat the bullet tracking seems to work better) than games like Call of Duty, particularly with headshots (though in my opinion it could be cranked up even further).  Actually, the weapons are more responsive and damaging than Battlefield 3 as well, and I have far fewer latency issues than I do in Call of Duty.  There are also some cool animations in multiplayer, like rappelling out of a Blackhawk spawn point, cutting wires as you deactivate explosives placed by opposing players, throwing a UAV to deploy it, sliding or diving into cover, and great takedown sequences when you melee with the tomahawk.  The multi-nation features they've added, like the ability to play as different nations an apply tokens towards different nations' victory are a nice touch.  I do agree with those that say the nations feature needs adjusted.  Since it is scored by # of tokens / # of contributing players, countries that have only a few big contributors beat out nations with more massive amounts of tokens because there are also more players contributing.  This has lead to Portugal being the victor each of the first 3 seasons.  The absolute biggest thing Warfighter has going for it is the buddy system.  The buddy system lets you can get health and ammo from your buddy, points for your buddy spawning on you, for saving or avenging your buddy, for being close to your buddy while he makes kills.  Speaking of the fact it's a he, why are there no female fighters in the game?  It's unfathomable to me how critics can knock this game for not having made any innovations, when they've added this really fun and effective mechanic. Then go on to say "This is not the shooter you expected" about Black Ops 2, of which the only new thing is the strike force missions with their overhead tactical operations (something that is neat to see, but not something I care to play), everything else about it is really a tweak of what they've been doing the last several years, and the engine hasn't been touched at all.  I loved Modern Warfare 2, and Call of Duty is still a solid series (and offers more types of multiplayer), but I feel like they have to do more to deserve remaining the top shooter out there, and in my opinion (having bought both games), I feel Warfighter is actually the better game and the one I spend most of my time in these days.  It's not as realistic as the Battlefield series (Bad Company 2 having more realistic destruction in my opinion), but I'm finding it more fun for some reason.

Thursday, January 3, 2013

Meld Windows Installer

I'm a huge fan of Meld as a diffing / merging tool.  It's the nicest looking, most powerful tool of it's kind that I've come across.  (Although I'd also like to put a shout out to KDiff3 for being able to handle larger files than anything else I've seen besides GNU Diff, and to WinMerge as another popular choice).  The trouble is, if you run Windows, it's a bit of a pain to set up.  You have to install Python, GTK+ and PyGTK (made easier by the nice all-in-one installer they now have), then Meld itself, and finally write a script to launch the appropriate Python command and create shortcuts to that script for convenience.  This is a shame because I'd really like to get more Windows users using this wonderful tool.
So I made an installer than includes all of these and has no extra dependencies needed.  Just install and go.  The only thing it doesn't currently have is support for syntax highlighting (needs PyGtkSourceView, which is not included in Portable Python, which I used), and VCS browsing (needs GNU Patch via Cygwin).  Here's where you can get it: http://code.google.com/p/meld-installer/.  Lemme know if you find any mistakes, it's my first time using NSIS.

Edit: I've now also created a portable .zip archive.

Edit: Vote here to ask for PyGtkSourceView to be added to Portable Python, so I can use it (edit: it appears PyGTK in Portable Python already includes PyGtkSourceView).  I'll look into doing this without Portable Python (though that'll be easier for me) and possible GNU Patch as well, but am not sure how hard it will be.

Edit: I've made a significant update to this.  My thanks to Angel Ezquerra of TortoiseHG for his suggestions and testing assistance.

Saturday, November 17, 2012

Skype Error 1603

So I had issues trying to upgrade Skype (on Windows 7).  It said there was a new version to download (6.0.something), and so I clicked the upgrade button as usual, but the upgrade install failed with code 1603, and no failure message.  The problem was after that the uninstaller .msi was deleted by the upgrade process so I couldn't actually remove the old install, but the new install wasn't complete either and wouldn't complete with pieces from the old version still left around.  If you're thinking of upgrading to Skype 6 (and I haven't seen any reason not to), it'd probably be a good idea to uninstall 5 first.  (Edit: Actually the default uninstaller doesn't seem to remove enough to make the new installer succeed, so use Revo even for this step.)  But if you're reading this, it's probably too late for that.  Here's how to fix this.
  1. Install an old version of Skype, like from here
  2. Uninstall the old version of Skype, removing everything (like with the free version of Revo Uninstaller)
  3. Download and install the latest version of Skype
It looks like this Microsoft FixIt package will correct the issue: http://support.microsoft.com/kb/886549.

Do note that 1603 seems to be a general error code for any Windows installer failure (for example, I got this error code when another instance of msiexec.exe was running), so this may not actually be your issue.  Check the error message to be sure you're fighting the right battle.

Speaking of Skype fail, when Skype updated for Windows 7 (which was a while ago), they took away the ability to minimize to the clock and instead always pinned to the taskbar.  I despise having something pinned to the taskbar AND being down by the clock (makes no sense to me to have something taking up 2 spots).  You can get around this by right clicking on the Skype icon in your start menu, hit properties, then under the compatibility tab run it in compatibility mode for Windows Vista.

Edit (5/26/2016): as of now, they at some point added the "keep skype in the taskbar while I'm signed in" option that fixes my last complaint.

Sunday, August 5, 2012

Users of Powder Blast Beware

I've been a fan of Break-Free Powder Blast as a quick and easy way of cleaning firearms, and have been using it for a long time with no issues. After having neglected to clean my pistols the last few outings, I decided to give them a more-generous-than-usual application of my cleaner of choice. It seems some plastics and rubbers can be melted by the stuff. Fortunately, only minor cosmetic damage was done to my beloved CZ 75 (actually a CZ 85B). So if you're a user of Powder Blast (or similar solvents), you may want to make sure it's safe (or just always take those parts off) first. Also be careful about using it on magazines, I read someone on THR had melted it so bad it seized up.

Saturday, June 2, 2012

Ubuntu 12.04 & Eclipse

I use Ubuntu at work for development, mostly with Jetbrains IntelliJ IDEA these days, I was surprised when I tried to fire up Eclipse for the first time in a while that I couldn't do so.  The error I was getting was
An error has occurred. See the log file /home/wittk/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1338578313816.log
Here's an excerpt from the log mentioned in the message:
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
 no swt-gtk-3740 in java.library.path
 no swt-gtk in java.library.path
 Can't load library: /home/wittk/.swt/lib/linux/x86/libswt-gtk-3740.so
 Can't load library: /home/wittk/.swt/lib/linux/x86/libswt-gtk.so

The solution is to link the swt library files to the location it is looking.  This solution was mentioned here.  Just run the commands below.
cd ~/.swt/lib/linux/x86*
for file in /usr/lib/jni/libswt-*3740.so; do ln -s ${file}; done

Tuesday, May 15, 2012

A Mercurial Userscript

I've got a minor complaint against the Mercurial web interface, and that is that when you are browsing around using the tip version, links will point to the nodeid tip points to rather than keeping the URLs with the relative tip version.  I think the way it should work is that you stay on the tip, unless you are click into a revision log (so that you can click specific revisions).  This is especially nice for sharing a link to the latest with someone, you would want to keep that link relative.
For the most part, I don't really care what Mercurial does, but since I do use their web interface because it's the SCM of choice for the OpenJDK project, I thought I'd whip up a userscript to remedy the situation.  Check out the script here, then test its effects by browsing the latest JDK sources:
http://hg.openjdk.java.net/jdk6/jdk6-gate/jdk/file/tip/src/share/classes/
http://hg.openjdk.java.net/jdk7/jdk7-gate/jdk/file/tip/src/share/classes/

Let me know if you have any problems or suggestions for improvement.