Archive for the ‘Uncategorized’ Category

A couple of weeks ago I spotted an ad on TV3, it ended like this.

Last year I saw an ad on the PlayStation US Blog, it ended like this.

In fact, I could go through these ads frame-by-frame and you’d see that they’re the same. When I saw it I thought that either TV3 had partnered up with Sony to bring something (well, no), or TV3 are stupid and Sony was going to pwn them.

Turns out there is a third option, Sony will just go in for the ride. After the ad turned up on Joystiq, KB/PR person posted this on Twitter,

Dear TV3: You could have at least put my photo on top of the amp. Sheesh.

He’s referring to how there is a picture of SCEA CEO Jack Tretton on the top of his amp (in fact, I’m pretty sure in all the commercials there’s a photo of him somewhere, except for the ModNation Racers one where he was in the ad).

Well, thinking that Sony lawyers are quickly writing up a cease-and-desist notice, the KB/PR person did one more, posting to the PlayStation Blog,

[W]e’d like to help them out and make our ENTIRE LIBRARY OF COMMERCIALS available for them to copy in order to promote their programming. I only ask that TV3 doesn’t use our actual footage, but all future homages of this sort are now Kevin Butler sanctioned.

He even asks for a box set of the Flight of the Conchords, some thinking he was making reference to this scene in Episode 1 of Season 2.

I guess this was a win for all – TV3 got more publicity for the campaign than they were “expecting” (yeah, they probably engineered this whole thing), and Sony get more mileage out of an old ad and don’t come out looking like a giant corporation beating down smaller ones.

Or, Sony still have their lawyers at full force, they’re just distracting us all.

Recently I acquired tickets to go to Europe, that’s later this year, and I had a brief thought – I wonder if I could use WordPress for iPhone to make a travel blog. The intention was to be quick about it, i.e. take a photo, send it off, without thinking. Oh, and have it mark the location of where the photo was.

My search came to an end surprisingly quick, WordPress for iPhone already does geotagging, it’s just WordPress itself doesn’t take advantage of it yet. There is a way however, and I managed to get something going in no time.

When WordPress for iPhone geotags a post it adds several custom fields to the blog post, but we care about:

  • geo_public – indicates that the geotagging data is public,
  • geo_address – the address that was picked up,
  • geo_latitude and geo_longitude – the important bits.

If it’s your blog, it’s up to you whether you heed geo_public, but this is a good indicator for whether you have a geotagged blog post or not.

Google Maps provides a handy API to provide static images, no key required. The URL is http://maps.google.com/maps/api/staticmap? and then you bundle in a bunch of parameters:

  • sensor=false because we aren’t using a GPS to generate this map, at least, I think that’s the rule (cause we did)
  • maptype can be satellite, terrain, hybrid or left out for the default street map. I like the terrain maps.
  • size is the size you want the image to be, widthxheight.
  • zoom is your preferred zoom size,
  • markers in my example is size:small|lat,lon

And you have a nice Google Map! But in your WordPress blog template, find where you output your blog posts (my theme has this in a function) and do the following:

<?php if ( get_post_meta($post->ID, "geo_public", true) == "1" ) :
	$map = "http://maps.google.com/maps/api/staticmap?sensor=false&maptype=terrain&size=234x150&zoom=12&markers=size:small|";
	$lat = get_post_meta($post->ID, "geo_latitude", true);
	$lon = get_post_meta($post->ID, "geo_longitude", true);
	$map .= $lat . "," . $lon;
?>
<div class="post-map">
	<img src="<?php echo $map ?>" alt="Google Map" /><br />
	<?php echo get_post_meta($post->ID, "geo_address", true); ?>
</div>
<?php endif; ?>


Done!

Another thing of note, the WordPress app will resize photos down to 640×480 and I’ve found no way of changing it, so make sure your template is ready for it!

Plus, I haven’t decided if I would do it, mobile roaming charges are expensive, and I’d have better things to do than tell you all about it.

Work takes my programmers time, so anytime I think I can do something rather quickly, I’d try and make an effort. Since I’ve made Google Chrome my default browser, I thought I’d sink my teeth into some Chrome Extensions work – I attempted something similar with Mozilla Firefox, but found the whole development process to be clunky. Having a look over the API documentation, with Chrome you can build something up rather rapidly with no browser restarts. Sometimes, you don’t even need to reload the extension!

The problem

So, I went about thinking about what it is I do all the time that I could simplify. My immediate thought was posting links and pictures to Twitter. It’s something I regularly do, and so something I’d make easier. The process is rather complicated:

  1. Copy the link.
  2. Go to http://j.mp.
  3. Paste the link, hit Shorten.
  4. Click the Copy button.
  5. Go to Twitter (it’s usually open on another tab).
  6. Type in my message, paste the link.

Of course, if I used something like TweetDeck, the process is rather easier, copy the link, go to TweetDeck, paste the link. But, why not just do it in the browser?
(more…)


E3 2010 is over, and now we have a better idea of the motion control systems that the two big companies (Nintendo already has it) have been telling us about for over a year. Microsoft have finally unveiled the name for Project Natal – Kinect. Sony also unveiled some more games, a price point and a release date.

Microsoft had a huge marketing spending splurge, which kinda made me sick just looking at it all. As a gamer, I don’t care what some actor says about a peripheral (cheque please). But then, Microsoft isn’t aiming Kinect at me, they want that whole casual market to cash in on.

Controller free gaming isn’t new, Sony did it during the PS2 days with the EyeToy. It was fun, but you got over it quickly, and came about the same time the SingStar franchise was starting up – the party was always up for more SingStar than EyeToy. But, it never took off, and never got any compelling gaming experiences. As Richard Marks (the guy at Sony behind the EyeToy and Move) has said about it, sometimes you just want a button.

Now Microsoft is trying it on for size, and whilst they’ve got better technology, with infrared and 3D cameras and stuff, they’re still to convince me that it is a better system. There are signs that it is, but they’re going to have to capture me on more than the first round of shovelware. Which I think is the problem, Microsoft is focusing too much on the casual gamer, rather than its core audience. As IGN have pointed out,

Microsoft needs the core audience to tell the casual gamer what is cool. And if Microsoft doesn’t get that long-time Xbox 360 gamer behind Kinect, it will fail. We need some games that show what Kinect will do for someone who loves games like Halo or Castlevania or Gears of War. I’m not saying it has to be a first-person shooter where you are the gun, but we need to see more gamers that have depth to them.

Sony on the otherhand have a system built around the PlayStation Eye. They’ve been trialling ball-on-stick tracking for years now, since about 2000 (here is Richard Marks’ demo from about 2003/2004), but only now got a commercial product. PlayStation Move doesn’t just use the wand though, but it can do head and body tracking, facial recognition, all that fun stuff that’s ripe for exploitation.

There is definitely a broader range of games on Sony’s system, games that cater to the casual and the “core” gamer, and they’re also showing how it can be flexible by enabling support in other games as well, such as Heavy Rain and Little Big Planet. They must be taking their lessons about the EyeToy seriously – no compelling games? No sale.

Whilst this is the “first wave” that any platform has to suffer through, this first wave of games is coming right in the middle of an already mature game console cycle. We are getting bigger and better games all the time, and that was especially evident at the Sony press conference where they just kept whacking you with new, big, better games. It’s all up to Microsoft and Sony to show us the direction they want to head in with their motion controllers.

Meanwhile, Nintendo is laughing to the bank with all the core games they just announced for the Wii.

HTML5-ing it up

June 13, 2010 at 4:29 pm
View Comments

Woohoo!

OK, not really. All I did was use the <!DOCTYPE html> doctype. This site doesn’t use any HTML5 features, but it does use some CSS3.

The reason? One web browser treats unknown tags differently to the rest. That browser, Internet Explorer.

Until I found Dive into HTML5. It’s a free “book,” detailing HTML5 changes and even explains how you can HTML5-ify your site. And, it even describes a quirk in IE’s JavaScript that can be used to enable HTML5 components (of course, it means that your site is dependent on JS being turned on).

HTML5 was designed so that older browsers can still parse the document, unfortunately, it depended on functionality that 60% (or so) of the web browsing population don’t have.

You may be wondering why I used the HTML5 doctype then. Well, the answer is simple – it’s easy to remember. One annoyance I had with HTML4 was that if I wanted standards, I had to find a website that listed all the correct doctypes, figure out what I wanted, and pasted that in (yeah, I can’t remember them). HTML5 only has one, and it’s forwards compatible. (Who knows what they’ll do with HTML6, although I guess we won’t find out for another 20 years.)

We have a long way to go yet.

Late last year Facebook undertook a massive Privacy Settings overhaul. It was deprecating the “Networks” in favour of pages, i.e. you didn’t belong to the New Zealand Network, but the New Zealand page. In doing so, Facebook popped up on log in a dialog saying “We changed how our privacy settings works, please review your settings below.” I looked at them, and while the dialog was flakey (I complained that it wasn’t clear what “My current settings” was), I looked through them and determined my current settings were what I wanted.

Social Graphs and Personalisation

Facebook announced the Social Graph system and instant personalisation about a month ago. The former seems a lot like Twitter, and the latter seems to be something that should ask for your permission. Facebook stipulated that the only data sent is stuff that is open the everyone, yet then the cries of privacy being breached came. What happened?

My settings are pretty strict, I only share things between Friends or Friends of Friends. Well, there is the basic directory info that I share with everyone, and that’s because I want people to find me (a social network is for finding people and making connections, and if I can’t find you, then you don’t know what social networking is). Only people who I say “I know this person” can see what I’m doing and what I’m up to (although, most of the time, it’s to the oh-so-public Twitter, so, you know what I’m doing anyway).

And here’s the kicker, everyone was saying that Instant Personalisation was opt-out. Problem was, I never opted out, or opted in, and I’m not in it. I read the complaints on Twitter, when I inquired I got a “You’re kidding right?” When I figured out what the hell was going on, I found the Instant Personalisation screen and that the box wasn’t checked, and never has been.

Everyone, it means Everyone

Facebook uses the term “Everyone.” I can see why, Everyone is all emcompassing, and pretty much summarises in a single word who you are sharing your data with. But alas, there is that vague-ness about it. “So, Everyone means just people I’m friends with, right?”

When Facebook said “OK, now we have these API’s that lets people access that data,” people just went “Wait a minute. So, my data is public now?”

Yes, your data is public now, and has been since you said “Everyone” could access it.

They should probably call it something else, maybe, “Everyone, including people and businesses you don’t know.”

But, it did yield good results

The best thing about the privacy furor, good things did happen.

Facebook finally simplified the privacy controls – still giving that granular control that everyone wants, but made it simple at the same time. They should have had that to start with.

They also finally clarified what Everyone means…

Information you’ve shared with everyone – as well as your name, profile picture, gender and networks – could be seen by anyone on the Internet. Please be aware that it will be visible to anyone viewing your profile and applications and websites you and your friends use will be able to access it.

(Emphasis, theirs.)

In fact, I love their Privacy guide. Go and read it. It tells you exactly what’s going on, without the legalese. I wish every web site did this, for all legal policies. Take a look at the Creative Commons license I’ve got on this blog. It gives you an easy to read version of a legal document that can be understood by anyone looking at it for five seconds. If you must, you can dig deeper and look at the legal license that sits behind it.

Facebook also had a bug appear during the middle of all this which let you pretty much log in as someone else just by using a simple tool that lets you look at your profile as someone else. I expect QA would be tighter now on privacy than ever before.

The problem wasn’t just Facebook here, it was everyone, including people and businesses we don’t know. Facebook have done some pretty dodgy stuff (the do-first-ask-later game is getting pretty tiring), but when I read their privacy policy all I saw was “if you said that this information is public, then fair game.” Facebook asked, people said yes, but then changed their minds when it got real.

Of course, the simpler thing is to not put stuff up there you don’t want strangers to know.

Comments

June 3, 2010 at 9:46 pm
View Comments

Google appear to have a website called Google Crisis Response which is available when disaster strikes. It’s currently active with the BP Oil Spill.

There are a compilation of Google Maps layers, with forecasts to where the oil is headed, and the latest satellite imagery. Then there are links to Google Earth/KML files with this, and more (such as animations of the spill). There is also this great overlay with all the worlds oil spills (and rapidly updating data on the current one).

The Daily Kos has an article on how to do “fucking proper fucking booming.” Quite interesting, and here’s a sum up in picture format!

Fucking Boom

Hello, this is my new blog

May 30, 2010 at 9:28 pm
View Comments

For a long time now I’ve been thinking about what to do to daniels.net.nz. I need a site to dump stuff to – I’m too much of a web nerd to not have a website. I thought hard about what it was: I started it in 2004, shortly after finishing first year at University. It came after a string of bad hosts, my blog posts from 2003/04 are gone into history now. Since then, I’ve changed what I blogged about, the web address, the style. I’ve also changed, I finished Uni, moved to Wellington, got a great job. The old blog just wasn’t what I wanted it to be.

So here we are, a giant reset switch.

This is my new blog. I know what you are thinking… what the hell have I done? It’s sparse and light, it’s a blog, not a major informational service. So I kept it simple. And here it is.

As an added bonus, I’ve thrown in Disqus comments too. It will track reactions on Twitter and let you comment from your Facebook or Twitter accounts. Not that I think you’ll need it, you guys are rather quiet (or I’m just not controversial enough).

Bear with me. This is just the beginning.