Blink-182 TweetDeck

blink-182

OK, so anyone who is remotely a fan already knows that Blink-182 are back together – especially in the US as their Tour is imminent!

I must admit to being a bit of a Blink-182 Fanboi, so I was really stoked to hear when they reunited!

I’m waiting for the new album, and for them to come Down Under at some point!

In the mean time however, I have updated to my Blink-182 themed TweetDeck – sweet :)

Twitter?

twitter
Twitter isn’t new, not even to me. I tried it, and couldn’t get what all the fuss was about.

Interestingly, I read Scott Hanselman’s post a few weeks ago, and figured I’d give it another go. I’ve been using it for almost a month now, and I’m finding that I’m not alone when I say that after a second look, I finally see the value in it.

I think the problem is that it’s explained as a micro-blog, and so it spawns imagery of “I’m at the Belgian for a beer if you want to join me.” kind of posts. This is one side of Twitter, but I believe the real value comes from applying Rule 2 from Scott’s post: Search.

All of a sudden, the focus shifts, and it’s no longer about only seeing tweets from the people you follow. Now you’re part of a larger conversation, and this is where hashtags come in. By searching on hashtags that you’re interested in you can take part of a geographically disconnected conversation in real time about whatever it is that interests you.

For example, I currently have searches in my TweetDeck on:

#PowerShell
#Ashes
#Win7
“#MDT 2010″ OR “SCCM 2007″

Popular hashtags can be seen here.

I’ve been on Facebook for a while now, and whereas I love seeing the updates from friends, and what everyone is up to, I really have no time for all the other gaming and features that seem to fill up my profile. To me, Twitter is the useful status feature of Facebook, but in a real time.

So, thanks to Scott for his post, and if you find yourself on Twitter feel free to add me: http://www.twitter.com/leadfollowmove

PowerShell Import-CSV and Sort-Object

Recently I noticed that when I was sorting data imported from a CSV file, the behaviour wasn’t quite as expected.
[ps collapse="false" firstline="1" gutter="false" highlight="" tabsize="4" toolbar="false"]
$scores = Import-Csv .\scores.csv
$scores | Sort-Object -Property Score -Descending
[/ps]

sort-object

sort-object


I’m pretty sure Julie’s score of 300 should be higher then Homer’s!

[ps collapse="false" firstline="1" gutter="false" highlight="" tabsize="4" toolbar="false"]
$scores | Get-Member
[/ps]

sort-object example 2

sort-object example 2


A quick look shows that even though the score is a number it’s being treated as a system.string. To resovle this we need to change it back to a number. This is done by wrapping it into a code block and recasting as an integar:
[ps collapse="false" firstline="1" gutter="false" highlight="" tabsize="4" toolbar="false"]
$scores | Sort-Object -Property {[int] $_.Score} -Descending
[/ps]
sort-object example 3

sort-object example 3


Fixed! More information can be found in this Hey,Scripting Guy Article.