Sataris.com.au » | Sataris.com.au http://www.sataris.com.au The online musings of an Australian Developer Thu, 30 Jun 2011 23:43:25 +0000 en hourly 1 http://wordpress.org/?v=3.2.1 Google plus 1 Installedhttp://www.sataris.com.au/blog/google-plus1-installed/ http://www.sataris.com.au/blog/google-plus1-installed/#comments Thu, 30 Jun 2011 14:18:41 +0000 Sataris http://www.sataris.com.au/?p=117 In the spirit of continuing to experiment, I’ve installed Google +1 on to this site.
Given this site has both Facebook “like” and Google “+1″ buttons, I can safely say that

Google +1 is much easier to install and get working with minimal change.

There’s full documentation listed here, Google +1 Documentation, but to summarize what the Google blog post is about.

Add this code to your section

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

Then wherever you want a +1 button, add the following code

<g:plusone></g:plusone>

There are a few changes you can make to this snippet to make it do different things.

Currently I have 2 +1 buttons on this page (1 for the main site under my domain name, and one for this particular blog post, next to the title). This is very simple to do, you add a href to the above snippet detailed below.

<g:plusone href="http://www.mywebsite.com.au/mypage.html"></g:plusone>

If you don’t include a href then it will default to the URL in the browser.

You can change the sizes of the button just as easily, the full list of sizes available is here, but they range from 24px by 15px to 105px by 24px, so there will be a +1 button that will fit your website’s needs.

In the meantime, get +1ing! err Plusing! .. Plus?

(What we’re going to call it?)

]]>
http://www.sataris.com.au/blog/google-plus1-installed/feed/ 0
LOL Code : An Introduction to programminghttp://www.sataris.com.au/blog/lol-code-teaching-new-programmer/ http://www.sataris.com.au/blog/lol-code-teaching-new-programmer/#comments Wed, 22 Jun 2011 12:01:17 +0000 Sataris http://www.sataris.com.au/?p=110 LOLCODE is not a joke, it has actually been invented, and it struck me with its ridiculous syntax (from a traditional programming point of view) and it’s use of meme’s . It may have the very functionality to explain alien concepts such as loops to those new to programming.

Like most other things spawned by the internet, this will probably be passed off as something trivial and not important, but if we take the time and care to look at it, by showing this almost pseudocode to complete novices they quickly begin to grasp the idea of syntax, and language and how to build proper web pages or applications.

I’m not suggesting that those of us who are adept in other languages such as PHP,ASP,The various flavours of C to switch, but when trying to explain variables or loops to complete beginners, which of these is easier to understand?

PHP

for ($i = 0; $i<10;$i++) {
echo $i;
}

LOLCODE

HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
VISIBLE VAR
IZ VAR BIGGER THAN 10? KTHX
IM OUTTA YR LOOP
KTHXBYE

Use LOLCODE to teach the basic concepts then simply switch to another of the more “adult” languages and the abilities should transfer over. The down shot of this is that LOLCODE may in fact take off, in which case I look forward to ending all my scripts with KTHXBYE.

LOLCODE and full documentation is from http://lolcode.com/ and if you want further information then you can check out Wikipedia’s article here LOLCODE

]]>
http://www.sataris.com.au/blog/lol-code-teaching-new-programmer/feed/ 0
Added Facebook likehttp://www.sataris.com.au/blog/added-facebook-like/ http://www.sataris.com.au/blog/added-facebook-like/#comments Sat, 19 Feb 2011 23:05:54 +0000 Sataris http://www.sataris.com.au/?p=98 Facebook like buttons have finally been added to the site, It took some more coding than I would have thought.

The WordPress Super Cache plugin (if one forgets about it), can cause all sorts of development problems. In any case, the work’s been done , so begin liking!

]]>
http://www.sataris.com.au/blog/added-facebook-like/feed/ 0
Checking your Compressionhttp://www.sataris.com.au/blog/checking-your-compression/ http://www.sataris.com.au/blog/checking-your-compression/#comments Fri, 24 Sep 2010 01:33:21 +0000 Sataris http://www.sataris.com.au/?p=91 We hear a great deal about increasing the speed of a website enhances the user experience. Here we take a look at a few ways to measure, test and improve your site’s load time!

Firstly, to make sure your tweaks are having a positive effect on your pages load time, it’s important to know where your starting from. I personally recommend using the Firebug Plugin with the Google Page Speed add-on to measure your web pages performance.

This gives you an exact breakdown of how long each element of your webpage takes to download to the browser. It also has a recommendations section to help you improve the load time a site.

A useful website to measure your site speed is the following http://www.whatsmyip.org/http_compression/ (This only tests GZIP compression but it is essential to increasing your site’s speed).

This site’s results: Gzip Compression for www.sataris.com.au

As you can see this very site is serving GZIP content and the savings are huge!

]]>
http://www.sataris.com.au/blog/checking-your-compression/feed/ 0
Twitterfeed: Getting the word outhttp://www.sataris.com.au/blog/twitterfeed-getting-the-word-out/ http://www.sataris.com.au/blog/twitterfeed-getting-the-word-out/#comments Thu, 09 Sep 2010 00:29:11 +0000 Sataris http://www.sataris.com.au/?p=88 After looking at several options I’ve finally integrated a twitter solution into the site.

Whilst there are a myriad of plugins that have been built for WordPress & Twitter integration I’ve settled for a more elegant solution with twitterfeed.

using the RSS feed to post updates to twitter is an ingenius solution as the current offering of plugins is a little thin.

I any case if you want to be notified when the blog is updated you can subscribe to the RSS Feed or you can follow @sataris

]]>
http://www.sataris.com.au/blog/twitterfeed-getting-the-word-out/feed/ 0
Benefits of Subversionhttp://www.sataris.com.au/blog/benefits-of-subversion/ http://www.sataris.com.au/blog/benefits-of-subversion/#comments Wed, 08 Sep 2010 23:39:01 +0000 Sataris http://www.sataris.com.au/?p=83 When you begin working a professional environment where you are part of a larger development team. You’ll need some sort of control to ensure that no-one is overwriting anyone elses work. Enter Subversion…

I started to use subversion a few days ago after finally giving in to peer pressure and curiosity. After a few problems with getting Dreamweaver, Subversion (via Wandisco) and TortoiseSVN to cooperate. (With alot of help from this article on the Adobe Devnet (Using Subversion with Dreamweaver CS5, if you’re are using Devnet then feel free to look me up! my DevNet profile), subversion is now running in all it’s glory.

There may be some raised eyebrows asking why you would use subversion when you are the only developer but SVN has some great features that make it well worth the “You’re collaborating with yourself” jokes that may get thrown your way.

Revisions

Revisions are the core of why Subversion is a great utility. Many wonder why bother with SVN, but as a new convert (Thanks mainly to @peter_dimo) I can’t sing it’s praises enough. being able to traverse the development of a project from Production back to version 0.1a and being able to see the evolution of the project, of the code and being able to develop accordingly will give you as a developer a greater freedom to be creative and try new blocks of code withour worrying about the consequences if it fails (I highly suggest using a development or staging server rather than a production site) but if you want to live on the edge then go for it (You’ll always be able to revert back to the working version if it all goes awry).

This is by far the greatest benefit of using SVN. If you’re wondering why you’re latest version of a website or application is no longer working correctly, you can revert back to a previous working edition and you can compare the two revisions to find the problem. (A good tool for this is WinMerge (found here) If you’re using OSX then you can use Meld.

If you’re not using Subversion I suggest you at least give it a try. I’m confident that when you begin using it you’ll never look back!

]]>
http://www.sataris.com.au/blog/benefits-of-subversion/feed/ 0
Thunderbird is go!http://www.sataris.com.au/blog/thunderbird-is-go/ http://www.sataris.com.au/blog/thunderbird-is-go/#comments Sun, 18 Jul 2010 12:22:19 +0000 Sataris http://www.sataris.com.au/?p=77 So I’ve finally decided to switch to an e-mail application for my personal e-mail rather than using the usual hotmail web interface. Trying to stick with open-source solutions where I can, with my experience with Mozilla’s firefox, I’ve opted to try out their e-mail client. I’ll be posting the pro’s and cons throughout the week so make sure to check back often!

In my initial setup with Thunderbird I’ve noticed many more cons than pro’s and these vary from usability to lack of features.
This seems to be a very unfinished application, in order to bring thunderbird to an acceptable software solution you must install a myriad of addons (available from Thunderbird Addons) to perform tasks that are present in virtually every piece of software since 1998.

Con #1: Minimize to Tray
Is missing from the default thunderbird, There are of course many addons that you can install to implement this, but why? Why would you create an application that usually will be running for hours at a time (like the normal office working hours) without this ability?
Minimize to Tray Plus offers a way to have thunderbird act in a way it should have from the beginning.

Con #2: Sort by Date
To be fair thunderbird can sort by date, it just doesn’t remember it every time you open it. Unlike Minimize to tray this option can be edited through the Thunderbird config file (which requires some know-how) to operate; And even then it doesn’t effect folders that you’ve already created. You’ll have to delete the mdf files for the respective folders to have this take effect. (Did you understand that? exactly it’s retarded to the point where I’m leaning towards Outlook)

Con #3: Lack of Calendar
Maybe its the years of using Outlook at the office which has made my expectations of what an e-mail client should be, and did MS Deliver, however as I said before Addons make up what makes Firefox great and it’s the same for Thunderbird and the Lighting addon (Lightning) adds a fantastic calendar to Thunderbird. I just wish this was part of the default Thunderbird.

Pro #1: Open-Source
This almost makes up for everything that I dislike about Thunderbird, It’s open-source, it’s free and it’s this that allows the thousands of developers and thousands of addons for thunderbird to be developed so you ca customize it to what you want it to be (much like FireFox).

That concludes this initial part of my Thunderbird review (I’m sure there will be much more Pro’s as I continue to use it) This has just been my experience setting it up and having to act like I want.

If you’ve setup Thunderbird and have issues with it or great addons that make it that much better, let us know in the comments!

]]>
http://www.sataris.com.au/blog/thunderbird-is-go/feed/ 0
Local Business Results and Google Analyticshttp://www.sataris.com.au/blog/local-business-results-and-google-analytics/ http://www.sataris.com.au/blog/local-business-results-and-google-analytics/#comments Tue, 06 Jul 2010 08:02:07 +0000 Sataris http://www.sataris.com.au/?p=67 Since Time Immemorial, webmasters have been looking for ways to track exactly how much traffic comes through the Local Business Results that appear on google. It Seems that analytics itself will be able to reveal just how much these listings are worth.

The local business results (The little map with the listings) appear sporadically in google search results for location based searches (and sometimes for general terms). Great debates have raged over if these listings are actually ben meficial to the webmasters listed or is it simply an experiment by Google to see how much “Universal” results is too much for users.

There has been no mention of this on the Analytics blog, so it may be a new feature that’s being rolled out, and frankly it’s about time. The click through’s and impressions that we could access before are useful in the same way that a fuel guage that only tells you if it’s full or empty. The more accurately you can measure what drives people to your site the more effective your landing page.

It’s a bright day for analytics freaks and those who actually know what they’re doing online!

]]>
http://www.sataris.com.au/blog/local-business-results-and-google-analytics/feed/ 1
What Date is it?http://www.sataris.com.au/blog/what-date-is-it/ http://www.sataris.com.au/blog/what-date-is-it/#comments Sat, 29 May 2010 08:55:43 +0000 Sataris http://www.sataris.com.au/?p=59 Pretty straightforward question; What date is it? Most blogs will show you what date the author has posted their latest article, however this changes depending on where you are in the world, and can be quite confusing for visitors. A little bit of work on your end can make this confusion disappear and greatly enhance your users experience with your website.

“Ah, distinctly I remember, it was  in the bleak December”. As I so often do, I refer to Egar Allen Poe to illustrate my point. Given the following what date is it?

12/5/10

The answer depends largely on where you are from as there are 3 date formats used around the world

DD/MM/YY: (Used in Europe & Oceania) would make the above the 12th May 2010

MM/DD/YY: (Used in the US) would make it the 5th of December 2010

YY/MM/DD: (Used in Japan) would make it the 10th of May 2012

All of these are correct depending on where your visitor is from, so it makes sense to make this as straightforward as possible.

You will notice that this blog does not provide Dates for posts/updates as I feel my posts have a certain timeless quality, but a more accurate reason would be I haven’t had the time to implement them yet.

When I do implement them you can be certain there will be no mistaking what date a post was made, the simple and elegant “May 12th 2010″ is not open to interpretation. If you can make your users not have to think about the little details you can almost gurantee they will enjoy the rest of their experience with your website.

]]>
http://www.sataris.com.au/blog/what-date-is-it/feed/ 0
Sport is Emotionalhttp://www.sataris.com.au/blog/sport-is-emotional/ http://www.sataris.com.au/blog/sport-is-emotional/#comments Mon, 24 May 2010 14:15:04 +0000 Sataris http://www.sataris.com.au/?p=43 Well after, awaking at 4am to watch the UEFA Champions League Final, where my beloved Bayern Munich went head to head with the inform Internazionale FC, I went through a strange rollercoaster of emotions that many non-sport fans don’t understand, So I’ll try to explain the “Live and Breathe your team mentality”.

]]>
http://www.sataris.com.au/blog/sport-is-emotional/feed/ 0