Jun 07

Plurk. Yuck. Sounds so muck like pork. or bork. I’d like to give you some colour on what’s behind the name so you are not as quick to brush it off.

  • Plurk as stalkerati central: People + Lurk = Plurk
  • Plurk as an amalgam of Play + Work: Play-Work. Plurk is what scientists do. It is the enthusiastic, energetic application of oneself to the task at hand as a child excitedly plays; it is the intense arduous, meticulous work of an artist on their life-long masterpiece; it is joyful work.
  • Plurk as acronym: Peace, Love, Unity, Respect, Karma
  • Verb potential: “Oh I googled this –> Oh I plurked it” Easy enough to wrap around in any form. Plurked, plurking, plurkers, plurks. Little p, big P, it’s catchy, snippy and sweet.

So next time you say Plurk, don’t say ewww, but chew on it for a little longer and have a happy day (at work, plurking the day away!).

Plurk Me!

May 13

Here’s how to synchronize your Mac’s system time to the nearest atomic clock here in the Philippines…

PAGASA (Philippine Atmospheric, Geophysical and Astronomical Services Administration) Press Release:

DOST-ASTI, through the Philippine Research Education and Government Information Network Project (PREGINET) announces the availability of a Network Time Protocol (NTP) server for public access. This is made possible through a partnership with the Time Service Division of PAGASA. PAGASA, as mandated by law, is the official agency that will disseminate the Philippine Standard Time (PST). In connection with this, PAGASA acquired a Global Positioning System Common View (GPSCV) time transfer system which basically provides a timing signal. The GPSCV is composed of a rubidium clock (used for maintaining accurate time), a computer, and a GPS receiver to receive timing signals from the GPS satellites.

To disseminate the time signal received by the GPSCV system in the Internet, PAGASA designates ASTI and DOST-Bicutan to setup their own public NTP servers that will directly connect to the GPSCV system. PAGASA has one public NTP server (ntp.pagasa.dost.gov.ph) as well, and a web-based time reference at their website. ASTI’s NTP server (ntp2.asti.dost.gov.ph) is now also available and DOST-Bicutan’s will be up and running in the near future.

What is NTP?

NTP is a network protocol that synchronizes clocks of hosts and routers in the Internet. NTP is very useful in applications where time accuracy is very important. It is used in network monitoring and measurements, intrusion detection systems, and cryptographic timestamping services, among others. Furthermore, the fact that everyone who uses the NTP service will now have one unified time reference, there will be no longer any excuse why people should blame time for late appointments, late submission of reports, and generally unsynchronized time references.

How to Avail of the NTP Service:

To avail of the service, one must have a client software that will connect to the NTP server. Open System Preferences, then the Date & Time preference pane… and under Internet Time you can connect to ASTI’s NTP server by specifying its hostname (ntp2.asti.dost.gov.ph) or PAGASA’s (ntp.pagasa.dost.gov.ph) in your configuration.

May 07

So you’ve got the Monday blues, and are looking for something stimulating, perhaps even intellectual to waste some time with? Look no further for we’ve got the perfect thing for you. How Many Countries Can You Name is a very simple, yet effective game in which all you need to do is think of, and type into your browser, as many countries names as you possibly can. In five minutes. With nearly 300 countries in the world, it’s just as much a game of ‘how fast can you type?’ as it is ‘just how many countries can you name?’

In the name of research (honest!), we’ve been playing with this a little, and managed to get the number of remaining (i.e. un-named) countries down towards the 200 mark, but we’re sure that readers can do better!

May 04

Remember when typing was an elective in school? You’d have to spend hours learning “asdf jkl;” and everything in between. I never really liked the way they’d teach you in school with those vintage typewriters than appear to be made of rust than steel. Eventually, computer programmers find a way to make learning typing less sterile with Kindergarten-ish typing apps (remember Mavis Beacon Teaches Typing that came with your first non-PPC Mac?). The games were fun—racing cars, shooting bugs, or what have you. Before you knew, you were typing admin speed at 50+ WPM.

Now there’s a new web-based typing tool for those of you needing a little typing practice or for those just wanting a little afternoon entertainment. It’s called TypeRacer. You can start out by practicing and typing movie quotes or book quotes. Make a typo, and you’ll have to fix it. By the end of the race, you’ll get your score in WPM.

Those with fidgetty fingers should have fun with this…

Visit the site here: play.typeracer.com

===

LOL. I’m idling around at 50+/- WPM… i never liked straight-up typing.

Feb 26

I did some hacking with Word Press today to replace its built-in search with Google Adsense Search. It was fairly easy, and I’ll explain how in this post.

First you’ll need to setup your Adsense account and get your search code. During the setup process you will be asked an important set of questions which controls how the search results are displayed. By default, Google opens a separate window to display your search results. This resulted in an ugly format, and lacked my WordPress theme. Choose the options as shown in the window below:

adsense.png

This should result in Google providing you to pieces of code, the Search Box code, and Search Results code. Use the Search box code in your leftcolumn.php theme file to replace the search box that WordPress defines.
I made some changes to Google’s generated code to make it fit my left column, and to make sure it posted to the index.php. Google uses a lot of hidden form fields to define the search results. We will use one of these hidden fields to tell our theme index.php file to display search results instead of the blog posts.

Here’s the portion of my hacked theme index.php that displays Google’s Adsense-enabled search:

At the top of my index.php, before the blog post code:

<div class=”centreblock”>
<?php if(isset($_GET[’client’])) { ?>

<!– Google Search Result Snippet Begins –>
<div id=”googleSearchUnitIframe”>&tl;/div>

<script type=”text/javascript”>
var googleSearchIframeName = ‘googleSearchUnitIframe’;
var googleSearchFrameWidth = 700;
var googleSearchFrameborder = 0 ;
var googleSearchDomain = ‘www.google.com’;
</script>
<script type=”text/javascript”
src=”http://www.google.com/afsonline/show_afs_search.js”>
</script>
<!– Google Search Result Snippet Ends –>
<?php } else {?>

Now, further down the file, you will see this:

<?php
include_once(’leftcolumn.php’);
include_once(’rightcolumn.php’);
?>
</div> <!– centreblock –>

We need to add the following line:

<?php } // end google search if ?>
<?php
include_once(’leftcolumn.php’);
include_once(’rightcolumn.php’);
?>
</div> <!– centreblock –>

Of course, depending on your WordPress theme, your actual code might be different.

...