Oh, as an Aside: The most important writing tool I own: a notebook. (From the 24th of February)

Bloggers by definition are writers. They may not write stories, but they write enough to fill many books. It doesn’t matter whether you blog about yourself or random and esoteric topics that only matter to you (cough: guilty). You are still a writer. If you write about yourself, you are writing an autobiography. If you write about current events, you are a journalist. If you write anything at all, you are a columnist, a historian, a science writer, or whatever title you want. You may not get paid a lot, but you are still a writer — most writers out there just gasped and said, “Yah right, like I do?” If you still don’t believe me, I am the self-appointed authority and I hereby declare you a writer, so don’t argue the point.

As a writer, the thoughts and ideas that flit around your head are the most important things you own. Random thoughts become great works of art …

Continue reading. »

Oh, as an Aside: Changing the hosts file in Vista (From the 20th of January)

In Vista, normal users are not allowed to save the hosts file, so the easiest way to edit it is to run notepad as an administrator.

  1. Go to start and either search for “notepad” or go to All Programs > Accessories
  2. Right click “notepad” and select the “Run as Administrator Option.”
  3. Once Notepad opens go to File > Open and browse to “C:\Windows\System32\Drivers\etc”
  4. Set the file filter to “All Files”
  5. Select and Open “hosts”
  6. Edit it and save it.

If you get an error about it being read only:

  1. Go to File > Open, right click the “hosts” file and select properties
  2. Uncheck read-only at the bottom and click OK.
  3. Click Cancel to go back to notepad”
  4. Save it
Oh, as an Aside: TED: Think Globally, Act Locally (From the 7th of January)

I’ve linked to TED for quite a while in my sidebar and I urge everyone to subscribe to TED’s video RSS feed if you are even remotely concerned about the world and people around you.

TED talks tends to focus on the grand scheme of things, but this talk by Yossi Vardi talks focuses acutely on the local issues that plague many bloggers. The topic of this talk effects at least 50% of bloggers and all bloggers who care about the future of the world should not only watch this video, but also take immediate action. (If you are not in this 50% you should probably pass it on to someone who is.) Warning this video is not for the faint of heart.

It’s is nice to wake up once and a while to something this amusing in your feed reader isn’t it?

8 Tips for Improving the Content of Your Writing

The content of writing is separate from style and structure because content is what you write not how you write. The following tips apply just as well to academic essays as to blog posts, so feel free to cherry pick the suggestions that apply best to your writing.

  1. Pick an an interesting, significant topic.

    Too many times posts are done on something insignificant or unoriginal. It doesn’t really matter if you write a gorgeous tutorial or a powerful, inspiring and riveting essay if it just explains something most people already know about. Similarly, it doesn’t help to write about issues that very few people have an interest in unless you are writing it solely for your pleasure.

    The biggest problem though is when people write about general topics that they have no real knowledge of and don’t say anything new about.

Continue reading. »

Oh, as an Aside: Victory over GMail–Inline Images. (From the 25th of July)

I’ve wanted to be able to add images to my emails inline (one that appears with the text, not as a separate attachment) for a long time, and today, thanks to Wordpress I finally figured out how to do it.

  1. Open GMail, go to compose mail, select the “Rich Formatting” if it isn’t your default.
  2. Open your Wordpress Admin Panel, go to a new post, select the Visual Editor (you may have to turn it on under your user preferences)
  3. Write your email in the Wordpress Visual Editor, and embed the image into the new post (or just embed the image).
  4. Copy and paste the “email” from your Wordpress Visual Editor to your GMail “Rich Formatting” textbox.
  5. Send your email, don’t save your post.

Easy as π, I would probably figured this out sooner if I didn’t have a hate-fest with visual editors related to the web. (Oh and this works perfectly in Firefox on Linux, so it isn’t a Windows/IE only trick.)

Improvements for Stattraq plugin.

Ever since I originally started using Stattraq a few things bothered me about the way it worked. Here are the fixes to a few of them.

Include pages with posts in your stats.

  1. Open stattraq.php
  2. Find:
    global $doing_rss, $p
    Replace With:
    global $doing_rss, $p, $page_id, $pagename,
  3. Find:
    1. if (($p != '')){
    2. $p = intval($p);
    3. $article_id = $p;
    4. }

    Replace with:

    1. if (($p != '')){
    2. $p = intval($p);
    3. $article_id = $p;
    4. }elseif (($page_id != '')){
    5. $page_id = intval($page_id);
    6. $article_id = $page_id;
    7. }elseif (($pagename != '')){
    8. $reqpage = get_page_by_path($pagename);
    9. if ( !empty($reqpage) )
    10. $article_id = $reqpage->ID;
    11. }
    12. Use the following to copy and paste the code.

To add a list of all Pages that link to your site grouped by Website (excluding Google):
Open “wp-stattraq/reporter/summary.php”

Find:

  1. <?php echo PrintTimestamp();?>
  2. <div id="queryTerms">
  3. </div>

Before Add:

  1. <table id="referrersTable">
  2. <thead>
  3. <tr>
  4. <th>#</th>
  5. <th>Referrer</th>
  6. <th>Pages</th>
  7. </tr>
  8. </thead>
  9. <tfoot>
  10. <tr>
  11. <th>#</th>
  12. <th>Referrer</th>
  13. <th>Pages</th>
  14. </tr>
  15. </tfoot>
  16. <tbody>
  17. <?php
  18. if($results){
  19. $i=0;
  20. foreach($results as $row){
  21. preg_match('/(http.*?\:\/\/.*?)(\/.*)/', htmlentities($row->ref), $matches);
  22. $ref_array[$matches[1]][] = $matches[2];
  23. }
  24. while( list($site, $pages) = @each($ref_array) ){
  25. if(strpos($site,'google') ==false && $site != ''){?>
  26. <tr class="<?php echo ($i % 2 == 0 ? 'even' : 'odd' );?>"><td><?php echo ++$i;?></td>
  27. <td>
  28. <a href="<?php echo $site;?>"><?php echo substr($site,0,50);?></a></td>
  29. <td class="right">
  30. <?php foreach($pages as $page){?>
  31. <a href="<?php echo $site.$page;?>"><?php echo substr($page,0,50);?></a><br />
  32. <?php}?>
  33. </td>
  34. </tr>
  35. <?php }
  36. }
  37. }?>
  38. </tbody>
  39. </table>
  40. Use the following to copy and paste the code.