Building An Intranet Knowledge Base while Leveraging on Wikipedia

July 17th, 2009 by yuit

There’s an interesting discussion on Slashdot over this question of
“Integrating Wikipedia With a Local Intranet Wiki”. Something that some of us have come across.
Some of the proposed solutions are:

a. Complete dump of Wikipedia and add your own stuff to it
b. Build a simple proxy server that rewrites wikipedia content to include a header of your local content
c. IFRAME? Intelligent proxy/page modification?
d. Browser extension somewhere that lets users add their own comments to any arbitrary web page
e. Create an internal wiki, and wherever relevent you link to the wikipedia article
f. Its probably not going to work because “You are trying to force a technical solution on a social problem.”

Someone also posted an interesting conceptual paper:
http://www.galois.com/files/MLwiki_Datasheet.pdf

Pretty interesting ideas. What are the pros and cons of the above suggestions? Any ideas on top of those?

http://slashdot.org/comments.pl?sid=1304239

200k, 33.3%

July 15th, 2009 by yuit

Just a figure that I want to keep in my head.

Taking a step forward

July 1st, 2009 by yuit

Progress forward, no one says he does not seek.
Yet, does he know what it actually is?
Money? Status? Power? Love? Peace?
Maybe one should look inward
To understand exactly what is it that is missed.

Not many can bare to look in the mirror,
To see themselves in their stark contour.
For in most parts of our life’s grand tour,
We have spent building up our own little pretty manor.

But it is from my personal observation,
that looking within is a necessary action.
Not to tear it down our years of construction,
But to understand its flaws and limitations.

Only then will things be set in motion,
for that step in the forward direction.
The things that you normally do without much consideration
Now is guided by almost a double vision

4D zombie games using advanced processing and graphics

June 21st, 2009 by yuit

A very cool technology prototype using shape recognition and 3D graphics overlay and motion sensing…
http://technology.todaysbigthing.com/2009/06/17

See more funny videos and Technology Videos at Today’s Big Thing.

Palm Pre Fonts

June 21st, 2009 by yuit

It appears that the Palm Pre has a whole new set of fonts specially created for it, by Font Bureau, who created Apple and Microsoft fonts in the past.
I like it.

Read more here:
http://www.engadget.com/2009/06/12/font-bureau-takes-credit-for-palms-custom-prelude-fonts-our/

Changing Virtual Desktop Resolution on my Thinkpad X60 running Jaunty

June 15th, 2009 by yuit

With the change of the way Ubuntu interfaces with its hardware (through FDI files), it took me a while to figure out how to change the default virtual desktop so that I could do extended desktop on my Thinkpad X60 tablet to use screens that are 1400 pixels wide or greater.

It turns out to be very straight forward:
Edit your /etc/X11/xorg.conf to have the following section:

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	SubSection "Display"
		Virtual 2840 1050
	EndSubSection
EndSection

So now when I encounter projectors/screens that are wider than 1024 pixels, I can still do extended desktop by using either the Fn+F7 key, or going to the System -> Preferences -> Display application.

Middle Button Trackpoint Scrolling on Thinkpad X60 Tablet with Jaunty

June 5th, 2009 by yuit

Strangely, this information wasn’t easy to find because the same .fdi script that worked on my X200 didn’t work on the X60. Most likely was the wrong product info attribute in the fdi file (lshal | grep IBM on the X60T gives me this -> info.product = ‘TPPS/2 IBM TrackPoint’)

Anyway, found the correct directive here:
http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint#vertical_scrolling

<match key="info.product" string="TPPS/2 IBM TrackPoint">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>

Strangely, apparently this fdi directive doesn’t work on the X61T, and something needs to be changed.
See: http://ubuntuforums.org/showthread.php?t=1139856&page=2

Screen Rotation for Jaunty on my x60 Tablet

June 1st, 2009 by yuit

As mentioned before, Jaunty has been running very well and fine on my Thinkpad X200. While surfing on Hardwarezone the other day, I saw an ad putting an x60 tablet for sale. In the end, I traded in my Thinkpad X41 Tablet for a 2nd hand X60 Tablet - main advantage being that the X60 tablet has a 1400×1050screen resolution - even more than my x200.

Anyway, the initial install and stuff went pretty ok, with the stylus being recognised immediatley and all. But the problem started when I tried to do screen rotation on my tablet. Firstly, I realised that instructions online that tweaked the xorg.conf file didnt work anymore because Ubuntu has changed the way it configured hardware, using fdi xml-formatted files instead. Anyway,here is the exact steps I did to get screen rotation to work:

Steps

  1. Clean install of Jaunty on x60
  2. apt-get install wacom-tools
  3. Download this script http://liken.otsoa.net/pub/x41t/rotatetablet and save it to /usr/local/bin/rotate
  4. chmod 755 /usr/local/bin/rotate
  5. sudo vi /etc/init.d/wacomtohal

and paste in these lines:

#! /bin/sh
## find any wacom devices
for udi in `hal-find-by-property –key input.x11_driver –string wacom`
do
type=`hal-get-property –udi $udi –key input.x11_options.Type`
## rewrite the names that the Xserver will use
hal-set-property –udi $udi –key info.product –string $type
done

Save it, close it, and run these two commands in terminal:

sudo chmod +x /etc/init.d/wacomtohal
sudo update-rc.d wacomtohal defaults 27

Explanation

Step (4) is to create an auto-run script that changes some values in HAL in Jaunty so that the wacom device in thinkpad tablet can be seen by the rotate script. Somehow in Jaunty, the way wacom devices are named in HAL is diferent.  So, the script wacomtohal changes it so that the rotate script works.  If you didn’t run this, the rotate script in Step (3) would rotate the screen only and have the error message xsetwacom device “stylus” not found. The stylus would not rotate, resulting in a case of all stylus positions being rotated 90 degree off centre.  It took a full re-installation to get this right becuase there are so many instructions online telling you what to do with different versions of Ubuntu.

References

Init.d script:  http://wordsarelies.blogspot.com/2009/05/ubuntu-904-jaunty-on-thinkpad-x41.html
Rotation script: http://liken.otsoa.net/blog/index.php?entry=entry080617-120522

Thoughts on life

May 16th, 2009 by yuit

Generations upon generations, like waves upon waves
Transferring culture and knowledge, the path forward is paved
What many do not realise, self awareness is key
With chains that bind you, the next generation, you may free.

Late Night Meetings: 2

May 12th, 2009 by yuit

Having another late night meetings, and reminiscing back 9 years ago. Back then, I had a palm pilot with a foldable keyboard, and tried to get work done by connecting to my handphone (i believe it was a Sony Ericsson T68i) via infrared, sending and checking emails/sms using the built in email app in Palm
Fast forward 9 years. Now, I’m having an IBM Thinkpad X200 running Ubuntu 9.04, with a Singtel Mobile Broadband, connecting to the internet through the 3.5G network, accessing my emails thro Zimbra web interface, IM’ing on Pidgin.