Thanks MSDNAA
Archive for the ‘Computing’ Category
Visual Studio 2010 Ultimate
Saturday, July 3rd, 2010puush: screen capture
Friday, June 18th, 2010puush is up and running! You can instantly upload any portion of your screen or files using keyboard shortcuts, which will automatically upload and leave behind a URL in your clipboard for easy sharing. Good job, peppy.
Office 2010 is out!
Wednesday, June 16th, 2010You can grab the academic version for $99 from Microsoft at http://www.microsoft.com/student/office/en-nz/default.aspx.
Perl, anyone?
Thursday, June 10th, 2010Remember the good old times when we were trying to see who could write the shortest “guess-a-number-from-1-to-100″ game on a Casio graphics calculator?
I took the night off to read the official Perl introduction and came up with a Perl version of the game. I know it’s very icky, but I did it in 10 minutes and it’s my first time using Perl, so you can’t really expect that much:
#!/usr/bin/perl
my $ans = int(rand(100))+1;
for (my $c = 0; $c < 6; $c++) {
my $guess = <STDIN>;
die "invalid input" if ($guess !~ /^[0-9]+$/);
print "bigger\n" if ($guess < $ans);
print "smaller\n" if ($guess > $ans);
win() if ($guess == $ans);
}
print "lose\n\n";
exit 0;
sub win {
print "win\n\n";
exit 0;
}
The validation for input could probably be better if it was
/^[1-9][0-9]*$/
but in the end it’s only a minor thing.
Perl’s not as nightmarish as I thought it’d be. Sure, the sigils are a bit of a nuisance but once you get over that it’s not terribly bad (and you’re probably used to shift+4 from PHP anyway
).
Lucid Lynx, Wubi, MonoDevelop, irssi
Sunday, May 2nd, 2010For [insert top secret project here], I grabbed the latest Ubuntu release and installed it side by side using Wubi. Wubi is useful in that it installs Ubuntu into a file acting as a hard disk rather than into a new partition. That means I can remove Ubuntu from my system through Programs and Features (Add or Remove Programs for you XP users) rather than messing around with partitions and the like (and end up messing up my boot manager =.=).
I have to admit I’m actually pretty hooked onto Ubuntu right now. Aside from games, the only thing that’s stopping me from fully switching over is that there is no good office package. I mean, yeah, OpenOffice does the job, but it’s no match for Microsoft Office 2010. If you’re still on 03 or 07, grab the beta for Office 2010 and give it a try! You’ll want to remove the Send-A-Smile program that comes with it though, you don’t need it. And don’t forget to buy your legit copy of Office 2010 before the end of October when the beta will stop working.
MonoDevelop is to Visual Studio as Mono is to the .NET Framework. It’s not bad, and the tools and features of the IDE are actually pretty good. The only unfortunate thing is that Mono on Ubuntu is stuck in version 2.4 due to the risk of breaking “core” programs that come with it. So I get my fair share of bugs and limitations. One of the more interesting ones I’ve come across is that for some reason enums are being treated as ints in some cases. The result is that you get an error message that makes absolutely no sense:
Method call is ambiguous: String.Split(char[], int) and String.Split(char[], int)
One of those methods is actually String.Split(char[], StringSplitOptions) which of course is an enum. I probably just overlooked something, but typically a cast fixed it. Except for this case, where I actually was trying to call it with an int. In this case I had to modify the code around it (obviously, casting it as int will do absolutely nothing).
In other news, I’ve learnt to use hilightwin.pl – no more scrolling through endless chat logs trying to find out why I was pinged at 3am in the morning.
Using BitlBee
Tuesday, February 23rd, 2010I finally bit the bullet and installed BitlBee, an “IRC instant messaging gateway” (quote WP). Basically, it goes between IRC and a variety of IM protocols, of which MSN is one. In other words, I can now access all my MSN conversations through my IRC client. I’ve always preferred using Irssi to MSN Messenger, so this is probably the best solution for now. I’ll see how well it works over the next few weeks.