New DOSBox
New DOSBox (0.64) was just released. I use DOSBox whenever I want to play an old Sierra or LucasArts game that gives me fits when I try to run it in XP. Some new standout features:
- Added video capturing to avi – I can finally take videos of myself tooling around in DOS or Space Quest 4 or something
- 4/15/16/32bpp VESA mode support – I vaguely remember some games in the later days of DOS really taking advantage of VESA
- PCjr machine mode added – Woot! Wait, what does this do for me, exactly?
Anyway, it’s a really really good program if you want to dust off your old software. Heck, I think it can even run Windows 3.0/3.1.
Alexadex
I didn’t notice this until just today, when someone visited my site with this as a referral link. People are buying and selling “shares” of my website, and I didn’t even know about it!
What’s even stranger: shares of mgroves.com have been as high as $35/share (This is all fake money, of course).
A new LucasArts adventure game
It’s not from LucasArts, but it’s from a bunch of guys who used to work for LucasArts. I’m talking about A Vampyre Story. It looks to be very much like a Grim Fandango type of game–3d elements on 2d backgrounds. From the website, it looks to be very much in the LucasArts tradition.
Confidence and intelligence
Everyone thinks they are above average. This is mathematically not possible, of course. This Alan Bellows guy speculates that confidence is inversely proportional to competence. This isn’t strictly true, obviously, but it can explain why someone with a lot of confidence and the ability to sell themselves can outcompete someone of higher confidence who has less polish.
Consider a highly trained engineer versus a young, inexperience salesman. The engineer may know the technical details of a car inside and out, but if the salesman demonstrates extreme confidence in himself (even overconfidence), he is more likely to appeal to sales managers and customers, rightly or wrongly.
If you manage to read through the whole article (I highly recommend it), I would also suggest reading through the comments. There’s a very unusual (outside of MD Groves of course) set of comments: intelligent, thought-out, and interesting (mostly).
Nintendo deals with Hudson and Sega
How do you make the Nintendo Revolution more awesome? Allow gamers to create and share their own creations (a la XBox), and give them the best of Sega Genesis and Turbo Grafx 16 to play on the Revolution’s Virtual Console.
So now I can play NES, SNES, Genesis, TG16, n64, Gamecube, and Revolution games on my Nintendo Revolution right out of the box. How soon can I get one?
A Gaming Time-capsule
Check out this Now & Then article showing the graphical difference between games from the late 80s and early 90s and games now. I’m not sure if all the “now” graphics are from gameplay or from cinematics (pre-rendered movies), but the comparison is still pretty valid (consider Ninja Gaiden cinematics then-and-now).
One thing this article does not cover, is the change in overall quality of gameplay. While there are many games that are incredibly fun to play in the current generation of games, I believe this is despite the attention and time put into graphics. Things are beginning to shift, but I think gameplay has taken a backseat to graphics in the last generation or two of console gaming.
Most Important Algorithms: Merge Sort
Merge Sort is one of the Most Important Algorithms according to RISC.
Here’s how Merge Sort works:
- Divide the unsorted list into two sublists of about half the size
- Sort each of the two sublists
- Merge the two sorted sublists back into one sorted list.
In this case, “Merge” means to combine two (or more) sorted lists into one sorted list. Basically it will look at the first remaining item in each list and put the smaller one into a new list until both lists are consumed.
Because step 2 requires Merge Sort to sort the two sublists, this type of sort can be implemented recursively. The Merge Sort will stop calling itself recursively when the input list is only one item. Here’s a visualization:
Step 1: sorted = msort{5, 9, 3, 2, 6, 1}
Step 2: sorted = merge(msort{5, 9, 3}, msort{2, 6, 1})
Step 3: sorted = merge({5}, msort{9,3}, {2}, msort{6,1})
Step 4: sorted = merge({5}, {3,9}, {2}, {1,6})
Step 5: sorted = merge({3,5,9}, {1,2,6})
Step 6: sorted = {1,2,3,5,6,9}
At Step 4, we have 4 sorted sublists that we can merge into one sorted list.
This sort is, in the worst case, O(n log n), which is about as good as it gets for general-use sorting algorithms.
Here’s a PHP implementation of a mergeSort function, and you can view a demo of it here.
// divide and conquer recursive merge sort algorithm
function mergeSort($aList)
{
if(count($aList) == 1) {
return($aList);
} else {
$halfsize = ceil(count($aList) / 2);
$splitList = array_chunk($aList, $halfsize);
$left = $splitList[0];
$right = $splitList[1];
return(mergeList(mergeSort($left),mergeSort($right)));
}
}
// merge two sorted lists into one sorted list
// I think PHP might have a built-in function to do this
function mergeList($firstList,$secondList)
{
$i = 0;
$j = 0;
$resultList = array();
while(($i < count($firstList)) && ($j < count($secondList)))
{
if($firstList[$i] < $secondList[$j]) {
array_push($resultList,$firstList[$i]);
$i++;
} else {
array_push($resultList,$secondList[$j]);
$j++;
}
}
while($i < count($firstList))
{
array_push($resultList,$firstList[$i]);
$i++;
}
while($j < count($secondList))
{
array_push($resultList,$secondList[$j]);
$j++;
}
return($resultList);
}
What is mesothelioma?
Is it some sort of disease? Are lawyers involved somehow? Topix has information about peritoneal mesothelioma, but I’m still not sure what it is. Are there any lawyers out there who can tell me what mesothelioma is. If not, can someone tell me how to consolidate loans? I also want to look into refinancing mortgage. Whatever that means!
In other news, CyberWyre just released a fresh list.
A review of three Scotch Whiskies
I’m always open to trying new bottles of Scotch. I’ve certainly had The Glenlivet before, but I’ve never tried The Balvenie or Talisker (as far as I know). The Glenlivet is top shelf stuff, and one of my favorites (next to Cutty Sark of course).
Stop making that face. Scotch isn’t just for old men who smoke pipes and those desperate to assert their masculinity through consumerism.
It’s not? Oh. Well I still have Crown Royal I guess…
The high cost of economic illiteracy
Here’s a very interesting look at the politics of economics. Here are the important points that stood out the most to me:
- “…fallacies flourish in discussions of economic policy issues, while the refutations of those fallacies lie dormant in old books and academic journals gathering dust on library shelves…”
- Free trade results in exporting of jobs, but it also results in importing jobs
- Tax rates and tax revenue are two very different things that are not directly proportional in the real world
- Price control is never a good thing
- Every country has a comparative advantage in something
The last point is particularly interesting. If the people of country X are better at doing something than the United States, it’s not unpatriotic to import from them–it just makes sense. Not every country can be the best at everything.