# Wednesday, December 22, 2004

C# Versus Visual Basic .NET

I'm confused, I see 4 pros for c# followed by 3 cons against VB:

The differences between C# and Visual Basic .NET are mostly to suit different programmer's backgrounds. Unfortunately, there are some other differences. The following is a list (other than those that were mentioned when I discussed Microsoft's "going back") of some examples of the differences between C# and Visual Basic .NET:

  • C# warns you if a function is missing a return statement—This catches a few bugs automatically.

  • C# requires XML-tagged documentation to be written in the code—Seems to be a good idea to drag out the comments from the code and use it for different scenarios.

  • C# can switch to Unmanaged mode—This can easily be achieved in Visual Basic .NET by just calling a C# class that takes care of it. Still, I find it nice to have the same possibilities in both environments.

  • You can use Using() in C# to tell that an object should be automatically Dispose()ed when going out of scope—That is very handy, for example, for connection and file objects that you don't want to wait for being garbage collected.

To be fair, Visual Basic .NET has some advantages over C# too:

  • Visual Basic .NET differs Inherits from Implements—In C#, it's written in both cases with a colon.

  • The event syntax is simple in Visual Basic .NET—It's as clean and intuitive as in VB6. In C#, you have to take care of more by hand.

  • Visual Basic .NET is not case sensitive—This is a matter of taste, but I prefer non–case sensitive. Otherwise, there is always somebody that will have two methods in a single class named something like getData() and GetData().

[ Introduction to COM and .NET ]

Inherits and implements are so similar concepts, why not use :, yet when doing events the extra code is deemed a pain? When it gives more flexibility? And case sensitivity is a plus, not a minus, doesn't everyone know that yet?

#    Comments [1] |
# Monday, December 20, 2004

What crow can fly that far?

So far far away:

Distance between Washington, District of Columbia, United States and Ujung Pandang, Indonesia [ed: now known as Makassar], as the crow flies: 9883 miles (15905 km) (8588 nautical miles) Initial heading from Washington to Ujung Pandang: north-northwest (332.1 degrees) Initial heading from Ujung Pandang to Washington: north-northeast (21.5 degrees)

[ How Far is It ]

Which is just a bit farther than from DC to San Jose, CA, and back — twice.

 

#    Comments [1] |

Nooooo!

Electronic Arts is to buy 20 percent of French publisher Ubisoft, the Wall Street Journal has confirmed this morning, at a reported cost of between $85 million and $100 million.

[ GamesIndustry.biz - EA to buy 20 per cent share in Ubisoft ]

I'm not a real big fan of Electronic Arts. Even ignoring their dubious employment policies, they don't promote the type of games that I like, and put tons into their sports titles. They have had, over the years, a few games that I've liked, but many seem to fade never to return.

I am a big fan of Ubi, especially their Montreal office, and I'm even willing to forgive them for rushing Pop:Warrior Within knowing that they have more goodies coming, hopefully some of which are a complete surprise to everyone.

I just don't see EA and Ubi working, and it scares me to think of EA destroying such a great studio as Ubisoft.

#    Comments [0] |

Scary

I hope they fix this one soon.

Paul has reported a vulnerability in Internet Explorer, which can be exploited by malicious people to conduct sophisticated cross-site scripting attacks against any web site. Please see the test below for an example of how this vulnerability can be exploited.

[ Secunia - Internet Explorer Cross-Site Scripting Vulnerability Test ]

I set all of my ActiveX, signed or not, approved or not, to prompt and this fixes that problem, however it then breaks my gmail. (Of course I then just “trusted” gmail, hope they don't abuse that trust...)

#    Comments [5] |
# Sunday, December 19, 2004

Score another point for Nintendo DS

Nintendo DS games are already available on GameFly! I'm not sure what type of installed base is required before GameFly makes a decision like that, but that's a great sign...

#    Comments [0] |
# Friday, December 17, 2004

I'm a Freak

I've always been a bit fascinated with airplane food. I think most who know me would say I'm a bit preoccupied with food in general, but airplane food is particularly interesting, and I have no idea why. At least now I know that I am not alone:

Last update Fri.17 Dec. 15:35 CET
Next update: Saturday
10,681 images / 436 airlines

[ Airline Meals ]

And I'm sure that Yaty would want me to point out this from their FAQ:

Who serves the best meals?

Any airline with a BusinessClass / FirstClass has good stuff! Though (judging from the images and their comments I've seen on the website) I would say Asian airlines get the best results... Singapore Airlines, JAL Japan Airlnes[sic], Cathay Pacific, Thai Airways International, Emirates... they're all top notch.

#    Comments [0] |

Creative Advertising 101

It's a brave new world for advertisers. As movies and games and in the future all sorts of products start to rethink how they generate press, and create exciting new ways of getting their name out, I can see that we're all in for a treat. Why pay for crappy TV spots with weak jingles, when you can create entire on-line games, or spoof sites, or both?

Most in the gaming community are quite familiar with Halo2's I Love Bees website. An interactive fiction/game based on the Halo/Halo2 story that helps to link the two. It unfolded over the summer of 2004 up until the launch date. Pretty cool I think, though I didn't have the time to get into it fully, especially since I haven't played Halo and wouldn't catch most of the references.

Here's my issue. What's the point of making this sort of experience and then not getting the word out to those who might enjoy it? Nintendo (apparently) tried the same thing with Metroid Prime 2: Echos, but I didn't hear about it until the entire thing was completed. Apparently something's going on at Channel 51 (with follow up changes to site), even channel 51's sponsors Orbis Labs and Athena Astronautics seem to be in on the joke. Though I think AA is up to something as detailed on the Blogger journal “Athena Astronautics Journal”. Since I've only discovered it now, it loses a bit of it's play-acting finesse, but it still seems to be quality. Next time Nintendo, be sneakier, OK?

And the quick-and-dirty I Love Knees website is quite funny too.

#    Comments [1] |
# Thursday, December 16, 2004

Amazon must hate Microsoft

Version Four of their Web Service, and still none work with VisualStudio smoothly.

After a bit of research I came across this helpful post on the official Amazon.com Web Services discussion board which explains how to fix the issues I was having

[ Amazon Web Services and .NET ]

Can't Microsoft just send them a copy for them to test with?

#    Comments [1] |
# Wednesday, December 15, 2004

Which Rhapsody is right for me?

Anyone have a subscription to Rhapsody? I thought I should check it out, but the first step already has stumped me. If you do, or did, and have an opinion, I'd love to hear it.

RHAPSODY
All Access

$9.95/month
7-Day FREE Trial

Get access to everything we've got. Over 20,000 albums from more than 9,000 artists in every imaginable genre. Rock, hip-hop, R&B, country, jazz, classical...major label and indie...it's all in here. Want to listen to complete albums and create your own playlists? Want to build a library of your favorite music? Subscribing to All Access is like having a music megastore at your fingertips for less than the price of a CD.

  • Play what you want, when you want, without limits
  • Includes a subscription to Radio PLUS (see below)
  • Burn your own CDs - just $.79 per track

RHAPSODY
Radio PLUS

$4.95/month
7-Day FREE Trial

The ultimate Internet radio. Get access to over 50 professionally programmed radio stations in a wide variety of genres. Create custom stations based on your favorite artists. Listen in CD-quality sound. Skip the tracks you don't like. Want to listen to your favorites while we introduce you to great new music? Want to take control of your radio? Radio PLUS is for you.

[ RHAPSODY's Catalogs - The Best Music On The Web ]

And when you go to order, they tell you the pricing of the quarterly plans: $24.95 for All Access and $9.90 for Radio Plus, making the choice even more difficult.

#    Comments [5] |
# Monday, December 13, 2004

I don't see it.

I've now GameFlyed Prince of Persia: Warrior Within on 2 platforms (PS2 and GameCube) and I don't understand how this happened:

“Prince of Persia: Warrior Within is already one of the most critically acclaimed games this year,” said Ubisoft vice president of marketing Tony Kee, referring to the game’s outstanding review scores from PSM Magazine (10 out of 10) and Official Xbox Magazine (9.6 out of 10).

[ Ubisoft - Prince of Persia: Warrior Within™ Available In Stores Today ]

PoP: Sands of Time was very unique, we hadn't seen much like it since Ico which hadn't sold nearly as well as it should have. PoP: Warrior Within might have been fine if it had offered more of the same, but somehow Ubi seems to have made it worse. Worse you say? But this is the “most critically acclaimed blah blah blah”. That's where I'm lost.

PoP: WW has issues, but first lets go over what's better. The new fighting system is much more flexible than in the first game. This is where Warrior Within really shines. It makes the combat a lot more enjoyable. However who is playing this game for the combat anyway? The puzzles seem to have been kicked up a notch, but in many cases I was halfway through solving a puzzle when I realized that I was in a puzzle that needed solving. There are new characters, which is fun, and the cinematic sequences are nice, perhaps not as nice as PoP:SoT.

Yes, those were the better points, not so impressive eh? Now what's gotten worse? The story so far (I say so far because I'm only a couple hours into the game) has been beaten into our heads. I hazard a guess that the story isn't going to be all that complex, so it's best to repeat things over and over and over. The video on the PS2 version had some issues where glitches would show up, especially when the CPU seemed a bit taxed. I've already run into 2 rendering issues on the GameCube version, one where a bird somehow became invisible (they aren't supposed to do that) and another where I was impaled on my enemy's sword, yet she had performed a completely different move. And, worst of all, on the GameCube one sequence where I was learning all about some nonsense the voice audio dropped out completely (and I swear right before that it was rather poorly synced).

Plus, I should mention the save system sucks. It requires far too many “OK” confirmations, and takes too long. Many other games these days have nice auto-save features, or at least quick enough save times. Not only are the saves slow, and require too many confirmations, but the music and video are stopped abruptly during this process yanking you clean out of the game experience, not something I expected from the group that gave us the first PoP on modern consoles. And yes, I have one more complaint, you don't get the ability to rewind time at first, this meant I had to replay some learning screens over and over as, in my haste, I accidentally launched myself off of cliff after cliff after cliff. Each time forcing me to repeat a section, each time making my play sloppier since I was tired of replaying that section. And, when you do regain the power, there is no plot element (that I can sense) that explains why you've regained this power.

I do have one more complaint, but I can't be sure that it is one, and it is a bit of a game spoiler, so I won't mention it here, but suffice to say the Prince claims to have saved someone twice, and I can only count once...

10 out of 10? Doubtful. My copy is turning right around to GameFly. If I make it through the games I have now, I might rent it again. In the meantime I'll wait for the game I really wanted out of Ubi, Beyond Good and Evil II

More unexplainable ratings:

X-Play 5 out of 5
IGN 8.6
GameSpot 8.8

And one that I can get behind:

GameSpy 3 out of 5

#    Comments [1] |

Portable Media Player?

Why spend a lot? You already own a GBA, GBA SP, and/or a NDS.

The GBA Movie Player enables you to use your Gameboy Advance™ or Gameboy Advance SP™ to play video and audio files and read e-books from standard Compact Flash™ cards. You can use your PC and a normal Compact Flash card reader to transfer and convert your media files to the Compact Flash cards.

[ lik-sang ]

You'll need some CF cards to port the video to, SanDisk, Lexar, and Kingston all seem to make relatively cheap ones.

There are some issues discussed on Lik-Sang's forums which make this seem like a bit of a pain, but I'm guessing that these represent power users, newbies, idiots, and people helping the aforementioned.

#    Comments [0] |
# Friday, December 10, 2004

Information Overload Today

Ab-so-frig-gen-awe-some!

Coming July 2005: Charlie and the Chocolate Factory (and trailer)

Dari's come through again...

#    Comments [3] |

I wonder if Nate got his yet...

I'm glad to see my Nintendo selling some product:

Shoppers eager to find the new Nintendo DS can rejoice at least for the time being. Nintendo today announced it will increase total shipments of Nintendo DS to North America by 40 percent, to 1.4 million systems before the end of the year. Due to the systems popularity, many retail stores across the country are reporting shortages, and the initial batch of 500,000 units all but sold out a week after Nintendo DS launched on Nov. 21.

[ Nintendo ]

Of course even this volume doesn't guarantee a success. Better keep the good games coming, big N.

#    Comments [1] |

I Love ieHTTPHeaders!

ieHTTPHeaders is an explorer bar for Internet Explorer that will show you the HTTP Headers IE are sending and receiving.

[ blunck.info ]

The easiest way to debug the protocol traffic that surrounds your webpages...

#    Comments [3] |

True but...

Until we knock down the notion that we are the enemy of Muslims everywhere, our war on terrorism will never end.

[ DallasNews.com | Local Columnists ]

Mr. Blow has a very good point. Those Americans who do feel that they are at war with Islam clearly don't understand the war. Mr. Blow also states:

Then get to know your Muslim neighbors. You have 7 million of them here. Build bridges of understanding. Seek justice. Fight prejudice.

Excellent advice. Some of us are American born and love the US. Some of us came here as an invitation by America or Americans, and you should treat your guests well, no? Others came here fleeing bad conditions or dreaming the American dream. So few Muslims came here with hate, and all of us would prefer if they hadn't.

However he also states:

And that brings me back to a column of a few weeks ago. I expressed my longing to see Muslim Americans rise up in a highly visible repudiation of terrorism – and as a sign to the world that the U.S. isn't hostile to Islam.

I guess that means all of our efforts so far haven't reached his ears. The Council on American-Islamic Relations has put together an online petition with over 600,000 signatures denouncing terrorism with rather strong language:

We, the undersigned Muslims, wish to state clearly that those who commit acts of terror, murder and cruelty in the name of Islam are not only destroying innocent lives, but are also betraying the values of the faith they claim to represent. No injustice done to Muslims can ever justify the massacre of innocent people, and no act of terror will ever serve the cause of Islam. We repudiate and dissociate ourselves from any Muslim group or individual who commits such brutal and un-Islamic acts.

[ Not in the Name of Islam Petition ]

And they've sent out press releases about it, I'm sure to Mr. Blow's paper. Unfortunately I don't have a syndicated newspaper column to use as soap box, I just have a crappy blog. I would love to know if there is a better way to communicate these feelings. If websites don't do it, and petitions don't do it, and press releases don't do it, and rallies don't do it, what will help the American Muslim community to communicate these feelings of disgust for the minority of “Muslims” who feel that the proper thing to do is resort to barbarism?

#    Comments [3] |
# Thursday, December 09, 2004

I didn't get the email...

On October 4th, 2004, we released version 4.0 of the Amazon E-Commerce Service (ECS), previously referred to in beta as AWS 4.0. ECS 4.0 provides unprecedented access to Amazon’s product data and E-Commerce functionality allowing developers, Web site owners and merchants to leverage the data and functionality that Amazon uses to power its own E-Commerce business. It provides access to detailed product and pricing information for all items across all Amazon product categories – this information includes detailed product attributes, product images and customer-supplied content such as reviews, Wish Lists and Listmania lists. In addition, ECS 4.0 provides advanced search, remote shopping cart and enhanced Wish List search capabilities for enhancing and personalizing your Web site or application.

[ Amazon.com ]

I'm a bit put off that I didn't get the memo. I've been irritated with the 3.0 AWS for a while now, my updates frequently get a 530 error, wish lists stopped working so long ago, their entire catalog is old or unavailable through 3.0. Good to see they have the replacement. Bad to see that they didn't send out an email.

#    Comments [0] |
# Wednesday, December 08, 2004

I'm breaking all the rules, dude...

Less frequently, men will call women dudes and vice versa. But that comes with some rules, according to self-reporting from students in a 2002 language and gender class included in the paper. "Men report that they use dude with women with whom they are close friends, but not with women with whom they are intimate," according to the study. His students also reported that they were least likely to use the word with parents, bosses and professors.

[ Dude -- professor studies 'dude' ]

I've used it for men, women, children, my Dad, boss. And I'm glad to hear it's staying, because I don't think I could stop myself.

#    Comments [0] |