tag:blogger.com,1999:blog-69257522008-07-17T08:42:08.692+08:00Yawar's JournalYawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comBlogger76125tag:blogger.com,1999:blog-6925752.post-88877882121485461742008-07-10T10:57:00.002+08:002008-07-10T10:59:56.772+08:00The Entitlement to Being Able to Do AnythingA LITTLE bit of a whimsical title to this post, couldn't really think of anything better on the spot. It's a rant anyway, so you've been warned. Anyway, Paulo Coelho asked something interesting in his <a href="http://seesmic.com/v/OQYzs6cwXs">blog/video blog</a>. He basically is making the point that there are many things in life that we never try to do because we've been told that we can't do them: start a business, pursue a hobby, or a lifestyle, <a href="http://www.imdb.com/title/tt0960144/">go into a career</a>, or whatever.<br /><br />What I want to talk about here is kind of the opposite end of the spectrum. My main idea is this: how many things in this world are being done an endless number of times, with no thought for the environment in which they are being done? Let me give a few examples: how much paperwork is being generated by people and offices around the world just because paper is cheap and abundant? What resources are being diverted by telecommunications companies in big, underpopulated countries like Canada and Australia to set up network range in remote and uninhabited regions where less than 5% of their subscribers will ever go? I mean, they're incurring all these costs of putting up networks in places where most of their subscribers will never want network coverage, and then passing on these costs to the same people who'll never use the coverage.<br /><br />Recently there've been <a href="http://arstechnica.com/news.ars/post/20080709-analysis-recent-panics-over-rare-metal-scarcity-overblown.html">reports</a> of rare metals like gallium, indium, hafnium and such being `threatened' in their supply. These metals are highly essential ingredients to a lot of modern technology. Without them, we can say goodbye to modern airplanes, LCD screens, and some more similar tidbits. While they're not imminently about to run out, these metals are limited in supply. Now imagine them being used up to feed rising demand throughout the world ... going into factories, getting put inside the devices rolling off assembly lines at ever-increasing rates, and then staying in these doodads, the majority of which are <i>not</i> being recycled, but just filling--well--landfills.<br /><br />Of course, the biggest waste that just gets me every time is water. We just use too much of it. Our baths and showers and toilets and sinks and basins all flush water down the drain as if it's a magical never-ending supply. People leave their taps on and go off and play a round of golf. Stuff like that. We desperately need water-saving washing and toilet systems, but right now they're pretty expensive. Let's hope they get cheaper in the future.<br /><br />Then there are the businesses which are built on taking advantage of cheap gas (gasoline, petrol) prices. Yes, I said today's cheap gas prices. Because if gas was priced at its real value, home delivery companies which deliver to your house in 30 minutes or less, no matter how small the order, would be impossible. And people would actually be forced to get off their couches, turn off the TV, and go outside and get their own pizzas.<br /><br />A huge case of consumers getting their way no matter what the cost is the current ethanol situation, and world food prices. Check this out: with rising petroleum prices, the developed countries have suddenly decided to ramp up corn ethanol fuel production and introduce laws forcing food ethanol as fuel on the public. And voila, corn supplies drop, and world food prices jump.<br /><br />These examples are just the tip of the iceberg. The world today has a culture of entitlement, an expectation of getting whatever it wants, in whatever quantities, and driving up the price of whatever's in short supply--to such dizzying heights that producers almost literally slash and burn anything in their path to fill this demand. There's something wrong with this economics--the economics of entitlement and expectations.<br /><br />On the bright side, there is something I hugely appreciate about this sense of entitlement by the people of the developed world (I think I appreciate the irony of it). It's the huge advances in medicine that we've made over the past couple of centuries. I know it's a tired cliche, the repeated mantra of how we've eradicated polio and smallpox and malaria and so on, but it bears repeating. And modern medicine, and the expectations and entitlements which drive it, are working on cures to cancer, AIDS, Alzheimer's, Parkinson's ... the list goes on. Maybe even the cure to ageing. And these cures are slowly but surely getting passed on to the rest of the world.<br /><br />This actually brings us back to Paulo's question of how much in life we're not able to do simply because we think we can't. What I've been talking about here is how much in life we do and consume just because we think we think we are entitled to them. Ironically, we may end up thinking that we're entitled to the impossible--and then achieving it.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-89941891823195513822008-07-10T10:01:00.000+08:002008-07-10T10:02:07.263+08:00Nine to FiveFINALLY got an honest-to-goodness 40-hour-a-week job. I must be seriously out of shape, because it takes a lot out of me. Still getting used to waking up at 6 am every day for five days in a row, getting home at 6 pm totally exhausted, vegetating till dinnertime, then going to sleep. Planning to join a gym soon, though, so that might get me out of the house and back in shape.<br /><br />Before starting work, I'd been keeping really wild hours, going to sleep at 5 am and waking up in the afternoon/evening. Still doing that on weekends in fact, so far. But on weekdays I'm forcing myself to sleep by 11 pm and wake up early. It's nice to know I <i>can</i> get up early, have a good sleep rhythm and get enough sleep during the night. Feels like my body's clock is getting tuned. Slowly.<br /><br />Still need a lot of coffee relative to, say, 5 years ago though, to get through the day. Not sure how much of this is because I'm doing more work than I was five years ago. Trying to have a big breakfast and a coffee in the morning, but at work, by 11 to 12-ish I can almost literally feel my sugar and caffeine high wear off, and drowsiness starts creeping in. Have snacks and lunch by 2--2:30 pm, and a coffee to jump-start the sluggish body again. The coffee at work is really good, by the way. They have a premium brand which smells pretty expensive, a full-fledged coffee maker with the works. It takes a hell of a long time but the coffee is great.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-64320506092441454392008-05-06T15:05:00.003+08:002008-05-07T02:58:09.321+08:00The Master and MargaritaI started writing a small review of this book on my Facebook `Books' application, but then realised I had a lot to say about it. And one of the small book-review applications on Facebook is not a good place for a book such as this. (Which is actually a sad indictment of all my other book reviews there. Have to get them out here sometime.)<br /><br />I heard about this book some time back, while I was in Malaysia I guess, as part of a controversy--a Russian film adaptation had been made, and was being denounced by religious groups there as being demonic because it showed a witch on a broomstick (and other things). If they had read the book, they would have seen how ludicrous that is.<br /><br />It's a very complex book, hard to describe. I wholeheartedly recommend it to everyone who loves to read, though. The editorial review on the book's <a href="http://www.amazon.com/o/ASIN/0679760806/102-0070353-7298566?SubscriptionId=0MNMC603FA906P2NSD82">Amazon.com page</a> certainly does it a lot of justice.<br /><br />Having read it a long time ago, I'm fuzzy on the plot details, but I do remember this: I found the book absolutely gripping, right from the first chapter. It's a story about Yeshua (Jesus Christ) in Jerusalem shortly after he was denounced by Judas Iscariot and brought before Pilates; the Master (a persecuted and marginalised writer in Soviet Russia), his faithful lover Margarita, and the Devil, Woland. That is certainly a wide-ranging story. And the plots are mixed in such a way that blurs the distinction between story and story-teller.<br /><br />Bulgakov's imagination is certainly gripping. The characters and antics he dreams up are surreal and, at times, chilling. Woland comes to Moscow with his retinue of disguised demons; wreaks havoc on the Soviet literary establishment and high society; tempts Margarita with the promise of complete freedom from society's rules and boundaries; and in the process causes the Master and Margarita to be reunited, and their mutual story about Yeshua to be completed as they ride off, the Master healed after all his years in the wilderness, and Margarita finally at peace by his side.<br /><br />Seriously. Read it. <i>Update:</i> read it with U2's <i>Until the End of the World</i> playing in the background.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-24226422808318834152008-04-30T14:02:00.002+08:002008-04-30T14:07:32.230+08:00Tabbing in Opera and Notepad++<b>Notepad++</b><br /><br />I'll get to Opera in a bit. It took a quick read-through of the source code (hurrah for open source), but I've finally got Notepad++ tabbing set up exactly the way I like it. For the non-techies reading this, <a href="http://notepad-plus.sf.net/">Notepad++</a> is a free and full-featured text editor for Windows which is meant to replace, and beat the hell out of, Windows Notepad. In fact it does such a good job that I'd rather use it than pretty much all the other editors I've ever used.<br /><br />After recently being forced to install Ubuntu Linux on my laptop (and loving it), I missed N++ so much that I downloaded and started running it with <a href="http://winehq.org/">Wine</a>, a kind of environment which fools a Windows-only program into thinking that it's running in Windows. (I've used Wine before to play Windows games such as Diablo II.)<br /><br />Anyway, a couple of things were bugging me about Notepad++. Firstly, its tabs couldn't be navigated using the standard Ctrl-PgUp and Ctrl-PgDn keys. The program author doesn't consider them as standard as Ctrl-Tab, and leaves it up to you to change the shortcuts. Well, this I did, but N++'s default tabbing settings also show a small `task list' of open documents whenever you try to switch among tabs. For some reason this task list doesn't automatically disappear under Wine as it would under Windows. You're forced to <i>right</i>-click on it to choose the tab you want.<br /><br />So this was the situation. What I did was:<br /><br /><ol><br /> <li>Go to Settings > Shortcut Mapper... and, under the `Main menu' commands tab, changed the last two items's (`Switch to previous document' and `Switch to next document') shortcuts to Ctrl-PgUp and Ctrl-PgDn respectively. It's pretty easy--double-clicking on the command lets you choose a shortcut graphically.</li><br /> <li>Go to Settings > Preferences... and, under the `MISC' tab, disable the `Document switcher (Ctrl+TAB)', which is what N++ calls the task list there.</li><br /></ol><br /><br />That's it. With this setup, N++ has tabbing the way God (and Firefox) intended--with Ctrl-PgUp and Ctrl-PgDn.<br /><br /><b>Opera</b><br /><br /><a href="http://www.opera.com/">Opera</a> is the shiznit, if I may use the term. Particularly the <a href="http://www.opera.com/products/desktop/next/">latest beta version, currently 9.50</a>. I, a long-time Firefox user, have been enjoying its speed, new `speed dial' feature, new `quick find', built-in Bittorrent downloading and IMAP-enabled email client which lets me access my Gmail. It really gets the job done, and then some. Everyone should seriously try it out. The only thing is, to a Firefox veteran like me, I can't live without my Ctrl-PgUp and Ctrl-PgDn.<br /><br />Opera has Ctrl-Tab tabbing with a task list by default--almost exactly the same as N++. Here's what I did to get back good-old Ctrl-PgUp & Ctrl-PgDn:<br /><br /><ol><br /> <li>Go to Tools > Preferences..., then the Advanced tab, and the Shortcuts list item on the left side.</li><br /> <li>Make sure the Opera Standard keyboard setup is selected and then click the second Edit... button to edit the setup.</li><br /> <li>Type `cycle' in the Quick find search box on top of the Edit Keyboard setup dialog. This shows the page (tab) cycling commands. Double-click shortcut (on the left) for Cycle to next page and change the shortcut to `PageDown ctrl'. Then change the Cycle to previous page shortcut to `PageUp ctrl'.</li><br /> <li>Type `page left' in the search box and clear the shortcut for the Page left command. Really doubtful I'll ever need to scroll horizontally in screenfuls. If I ever do, I can worry about it later. Then type `page right' and clear the shortcut for the Page right command. We need to clear these because they would clash with our tabbing commands.</li><br /> <li>Click OK to get back to the Preferences window.</li><br /> <li>In the Advanced tab, click the `Tabs' item on the top left and under `When cycling through tabs with Ctrl+PageDown', select the `Cycle without showing list' option. This makes tabbing exactly like classic Firefox.</li><br /></ol><br /><br />The reason I tackled both these programs here is there's a large similarity between what I had to do with each. Will try to put up screenshots later.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-81919866743873077942008-04-30T09:30:00.003+08:002008-04-30T09:36:54.572+08:00A Shoebox BudgetA recent <a href="http://lifehacker.com/384000/build-a-dead+simple-budget-with-a-shoebox">Lifehacker article</a> gave me the idea of turning my formerly-useless Nokia phone box into a repository of all my receipts:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_9f6ZrCFMnw8/SBfL1gXHF1I/AAAAAAAAAFk/BFSsIgeWVoY/s1600-h/Image000.jpg"><img style="cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_9f6ZrCFMnw8/SBfL1gXHF1I/AAAAAAAAAFk/BFSsIgeWVoY/s400/Image000.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5194844815275530066" /></a><br /><br />This way I figure I can follow my dad's advice about reconciling my spending with my monthly bank statements, say, once in a blue moon when I have some free time.<br /><br />I still have the <a href="https://www.expensr.com/">Expensr</a> webapp, but man it's hard to get back into the habit of using it every day!Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-23756563897570867912008-04-29T21:16:00.001+08:002008-04-29T21:18:32.884+08:00Found in Response to a PC World ArticleThe article, <a href="http://www.pcworld.com/article/id,145118/article.html">18 Features Windows Should Have (but Doesn't)</a> elicited some less-than-reverent responses from readers:<br /><br />zipzap said at <a href="http://forums.pcworld.com/message/;jsessionid=BCBBA3A1EE4E48969BD8E3F89C5B6434110746#110746">Apr 29, 2008, 05:04</a>: `Oh yea, MS really want to put more built in software... so they can get sued for being uncompetitive and monopolistic and all that rubbish.'<br /><br />And at <a href="http://forums.pcworld.com/message/;jsessionid=BCBBA3A1EE4E48969BD8E3F89C5B6434110759#110759">Apr 29, 2008, 05:59</a>: `Things PC World should have but doesn't:<br /><br />1) Brains<br />2) More Brains<br />3) A little more brains'<br /><br />Fantastic.<br /><br />Also, it's a little weird to see PC World so out of touch with its readship--nimble online blogs like <a href="http://lifehacker.com">Lifehacker</a> often do a much better job at giving us the tips and tricks we need to get the most out of our PCs.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-9323539756135333162008-04-28T08:28:00.002+08:002008-04-28T08:30:58.628+08:00Hilarious Misuse of `Mullahs'I found this <a href="http://ca.rroll.net/2008/02/05/ruby-on-rails-development-with-gedit/">hilarious new usage</a> of the term `Mullahs' and couldn't resist putting it up here:<br /><br />`Furthermore, I made the switch because developing Ruby on Rails applications on Windows is such a pain, and most developers know this, so they go out and buy Macs. Well my friends, you can save your <b>mullahs</b> and turn your stock standard Dell into a kick arse development environment for Rails. Just check out the screenshot of my desktop below.'<br /><br />For those not in the know, mullahs are respected Islamic scholars who often give sermons at mosques. Basically the Muslim equivalent of clergymen. Now what this inadvertent author probably meant is `moolahs'. Lol.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-29206449288024891522008-04-23T11:52:00.004+08:002008-04-23T13:11:04.454+08:00The Monkey King ... er, The Forbidden KingdomVERY enjoyable movie. Jackie Chan and Jet Li together make movie magic--I just had to say it--and give the audiences a compelling show. Ironically, Chan and Li both come from this genre of action movies--chop-socky--but they had to do Western-style action movies to achieve Hollywood star power. And meanwhile, the genre was revived by such notables movies as <i>Crouching Tiger, Hidden Dragon</i> and <i>House of Flying Daggers.</i><br /><br />OK, now that I've had my say, the movie. The hero is the ordinary and likeable kid in Brooklyn (Boston?) obsessed with old kung fu movies, Jason Tripitikas (Michael Angarano, who perfected the ordinary-guy-forced-to-become-a-hero technique in <i>Sky High,</i> another enjoyable movie--sorry, now I've had my say :-). He frequents the old Chinese memorabilia shop around the corner always in the hope of finding another old kung fu classic.<br /><br />One day he finds an ancient staff of power in the store, and the elderly proprietor tells him that it's waiting for someone to return it to its rightful owner ... a mischievous deity known as the Monkey King. The Monkey King is probably the most interesting character in the movie, although he's absent for most of it. (Indeed I keep thinking of the movie as The Monkey King. Hence the accident-on-purpose title to this post.) The legend goes that he was imprisoned in stone after being tricked by the Bad Guy, who we'll come to in a bit.<br /><br />Almost as if on cue, Jason gets into serious trouble with some of the neighbourhood thugs. Although the thugs do look like they could be from the cast of <i>West Side Story,</i> they are deadly serious for Jason, who is forced to run for his life, with the staff in his hands by accident.<br /><br />He's cornered by the thugs, who're about to kill him, but the staff mystically transports him into ... The Forbidden Kingdom ... I guess, a faraway ancient China. He regains consciousness to find that some kindly villagers have taken him in, and finds soon enough that the villages and people of the kingdom are mightily oppressed by the armies of the Jade Warlord, who rules over the Kingdom in the absence of the Heavenly Emperor, and has imprisoned the Monkey King by tricking him into parting with his magical staff.<br /><br />By chance, Jason is saved from some Imperial soldiers by Lu Yan (Chan), a vagabond who drinks wine all day and swaggers along until he's forced to fight, at which time you get to see some MAD skillz. Recognising the holy staff and taking Jason for a monk who is trying to return it to the Monkey King, Lu Yan takes Jason under his wing and teaches him the kung fu he will need to defend himself. They're joined by Golden Sparrow, a young maiden who has her own reasons to go along with them.<br /><br />Along the way they meet The Silent Monk (Jet Li), who mistakes Jason for a thief and snatches the staff from him, leading to maybe one of the most anticipated fight scenes in movie history, between Chan and Li. Eventually they learn they're on the same side, and share a good laugh over Jason--`He's not even Chinese!'<br /><br />Anyway, that's the setup, and these four characters are faced with the quest of returning the staff to Four Elements Mountain and freeing the Monkey King from his stone prison, where he's been for the past 500 years while the Jade Warlord terrorised the Kingdom unchecked.<br /><br />Now, I won't talk about the quest itself--how Jason is trained by the two martial arts masters, how they survive a desert crossing to come to Four Elements Mountain, or how one of them is treacherously shot in the back by the White-Haired Bride (another staple of old martial arts cinema), and what Jason has to do to save that person. But it's all well worth watching, in the theatre if you can, with friends or a girlfriend (I think).<br /><br />But I will talk about the Monkey King a bit. He is an unbeatable warrior with his mystic staff of power, and a mischievous spirit, always thumbing his nose at authority--especially the Jade Warlord, who is the Commander of the Imperial Army. This is what arouses the Warlord's hatred of him, and maybe what turns him evil. The motivations of the deities aren't examined in full--probably the movie would become an angst-ridden existential piece--but there's just enough there to leave you wondering what kind of politics they would have had in a heavenly imperial court. Hypothetically speaking, of course.<br /><br />There's one thing I want to rant about. Apparently the <a href="http://www.rottentomatoes.com/m/forbidden_kingdom/#synopsis">consensus</a> in reviews of the movie is `Great fight scenes, but too much filler'. To me, it was just the right amount and length. I've heard about, and been sceptical of, American audiences' apparent desire for `dumbing down' of movie plots, but this movie has an intriguing plot which makes you care about the characters, wonder about the life and times of the setting, and miss it when Jason gets back to New York, as he must in the end. If you don't know some backstory, how can you fill in the blanks in your head with interesting fantasy? That's part of what makes it fun. It's like these reviewers want a made-to-order story with exactly right amounts of setup and payoff, and no lingering anywhere, in case they're forced to think about a fantasy world (<Deity> forbid).<br /><br />At one point, understandably, Jason's reaction to finding himself in ancient China is thinking it's a dream. There's a moment slightly after this where it's driven home to him how dangerous the dream is. Lu Yan for once sheds his humorous nature and says to Jason something like, `If you die in this realm, you will be found dead where you came from!' A dire warning in an otherwise light-hearted movie. The mix of light and heavy elements is right.<br /><br /><b>SPOILER WARNING:</b> There is a spoiler (at least by my reckoning) in the comment below. Scroll down to see it.<br /><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-71489117470698048062008-01-31T01:00:00.000+08:002008-01-31T03:07:06.521+08:00SynchronicityThis is kind of a strange post. The thing is, I see or experience strange coincidences in my life often enough that I've given a name to the phenomenon--synchronicity. Of course, I'm hardly the guy who came up with the word or its meaning. Nor am I the only person who thinks that coincidences happen to them. But I do use the word to describe strange, chance-defying happenings or experiences that, oddly enough, happen surprisingly often--to me.<br /><br />The reason I'm writing about this just now is that, well, something ... synchronicitous (is that a word?) ... happened just now. Well, it seems like that to me. See for yourself.<br /><br />First, I was browsing through the BBC News site and happened to come across an interesting graphical illustration of how the US sub-prime crisis happened. I was interested because I'd recently been looking at graphing and charting, and how to make eye-catching charts to visualise a lot of data.<br /><br />So anyway, the BBC's <a href="http://news.bbc.co.uk/2/hi/business/7073131.stm">sub-prime crisis guide</a> happened to use the US city of Cleveland as an example of how the mortgage crisis affected poorer urban populations. I was curious as to why they used Cleveland; but there's a good explanation in the page itself which I will give here, also because it happens to be an important part of why the crisis happened at all.<br /><br /><blockquote><br />For many years, Cleveland was the sub-prime capital of America.<br /><br />It was a poor, working class city, hit hard by the decline of manufacturing and sharply divided along racial lines.<br /><br />Mortgage brokers focused their efforts by selling sub-prime mortgages in working class black areas where many people had achieved home ownership.<br /><br />They told them that they could get cash by refinancing their homes, but often neglected to properly explain that the new sub-prime mortgages would "reset" after 2 years at double the interest rate.<br /><br />The result was a wave of repossessions that blighted neighbourhoods across the city and the inner suburbs.<br /><br />By late 2007, one in ten homes in Cleveland had been repossessed and Deutsche Bank Trust, acting on behalf of bondholders, was the largest property owner in the city.<br /></blockquote><br /><br />So, enough about Cleveland. Not quite, as it turned out.<br /><br />I then came across <a href="http://www.giantflightlessbirds.com/numberpix/2006/05/a_cleveland_library_1.html">this</a>, an article about a couple of books written by one William Cleveland, who is `[o]ne of the pioneers in developing guidelines for comprehensible data graphics'. (By the way, the site where I found the article, <a href="http://www.numberpix.com/">Pictures of Numbers</a>, is a blog about charting and graphing with some very good articles, if anyone is interested.) It turns out that Prof. Cleveland developed something called <i>lowess,</i> a statistical technique used in scatter-plot charts.<br /><br />Now, <i>lowess</i> is something I've been coming across in the mathematical software package, called <a href="http://www.r-project.org/">R</a>, that I've been using to make my charts.<br /><br />And lastly, while finding the above article, I came across another article, by Stephen Dubner, a journalist and one of the authors of <i>Freakonomics.</i> (I haven't read it yet. Hear it's good though.) Anyway, Dubner's article, called <a href="http://freakonomics.blogs.nytimes.com/2007/04/05/hows-this-for-a-coincidence/">`How's This for a Coincidence?'</a>, mentions that he was on a plane to Cleveland, where basketball star LeBron James plays for the Cavaliers (I don't know if that's still true). Dubner was blogging about an <a href="http://www.freakonomics.com/blog/2007/04/04/a-quick-quiz/">earlier post</a> by his <span style="font-style: italic;">Freakonomics</span> co-author, Steven Levitt, in which Levitt had asked the readers what LeBron James had in common with his (Levitt's) wife. They like doing the `have-in-common' thing from time to time.<br /><br />How's that for synchronicity? (Sorry. Couldn't resist that last line.)<br /><br />Synchronicity update: the Freakonomics blog has done it again, with their latest post: Levitt's <a href="http://freakonomics.blogs.nytimes.com/2008/01/30/what-do-lolita-and-freakonomics-have-in-common/">`What Do Lolita and Freakonomics Have in Common?'</a><br /><br />Synchronicity update 2: coincidentally, the above blog post talks about a chart of US students' SAT scores compared to their reading habits. I came across this <a href="http://booksthatmakeyoudumb.virgil.gr/">chart</a> a few days ago.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-72315750741165491642008-01-02T20:13:00.000+08:002008-01-16T16:58:29.019+08:00Life in the CloudOK, so suddenly I find myself with the urge to blog a bit about my changing computing habits. If reading techie stuff makes you want to tear out your own eyeballs and pin your eyesockets with two large needles, you should quit reading this now.<br /><br />So. First off--the title. I'll explain it in a bit, but right now I just want to talk about what's behind it. Lately I've been moving a lot of my personal data online. I mean stuff that I'm used to keeping on my own computer, I'm uploading it for various reasons. For backup being just one of them.<br /><br /><b>Gmail--The Beginning of the End of an Era</b><br />It all started with Gmail of course, with its humongous 1 gigabyte of storage space. We quickly started using it to store our documents and such, a kind of freestyle file manager. And by now this has been going on for some time.<br /><br /><b>Google Docs</b><br />Then Google introduced <a href="http://docs.google.com/">Google Docs</a>, the lightweight office suite which lives entirely on the web. It too stores files, albeit only documents, presentations and spreadsheets. But if you're whipping up a bare-bones document (assignment, proposal, whatever), and want to share it with friends and co-workers, it's excellent.<br /><br /><b>Google Notebook</b><br />Now we also have <a href="http://www.google.com/notebook">Google Notebook</a>, which allows you to manage any textual info you might want to save for later use. These include bookmarks, and regular notes wherein you can keep stuff you've written but aren't sure what to do with it, stuff you need to remember, like an itinerary, or stuff you can't afford to forget, like your passwords. And of course, all of these are available from any web browser that can go online. I've found it very useful to have access to these notes both when I'm at home and at work.<br /><br /><a name="greader"><b>Google Reader</b></a><br />I'm also using <a href="http://www.google.com/reader">Google Reader</a>, which just seems to be getting more and more powerful every few months. At this point I'm hard pressed to decide which is my favourite Google web app--Gmail or GReader. But I digress. If you're not a heavy (and I mean prolific) web surfer, you're probably not sure what exactly Google Reader is. A site that lets you read books, maybe?<br /><br />Nope. It's a site which collects articles from websites you specify, and shows all new articles in bold highlighting. It actually shows all articles within its own page. This is incredibly useful because it saves you from having to hop around among a dozen different sites that you like. Instead you stay in Google Reader and read one article after another, skimming past the ones that don't interest you and digging down into the ones that do.<br /><br />Once you pass over and read an article, it's changed back to non-highlighted. So you can always easily tell which articles you've read and which are new. You can `star' articles, like in Gmail, to keep them in a special folder in case you want to look at them later. You can `share' articles, which adds a link to the article on an automatic `blog' GReader creates for you, and which your friends can access once you give them its address.<br /><br />I'll admit I'm a moderately fast reader, but GReader literally lets me read or skim through thousands of articles every month, no joke. So if you're someone who has to or wants to keep track of some kind of news, GReader will give you a considerable boost. And these days, keeping track of any kind of news is a snap thanks to search engines like Google automatically giving you continuously updated feeds of the search results. For example <a href="http://news.google.com/news?hl=en&ned=us&q=%22jamie+lynn+spears%22&ie=UTF-8&output=rss">here's</a> a feed on news about Jamie Lynn Spears. If you add this feed to GReader, it'll show the news headlines, and short summaries, as items almost as soon as they're posted onto the web. (Tip: don't do it, for your own sanity.)<br /><br />Once you start using GReader and learning more about feeds and just how many kinds of information they can track, you'll be well on your way to becoming a true web guru.<br /><br /><b>Flickr</b><br />Now owned by Yahoo, and still offering a boatload of free storage space for photos, <a href="http://www.flickr.com/">Flickr</a> is probably the best photo storage site on the web. I've been uploading photos to it left and right. The only limitation for the free service is that you can upload a maximum of 100 MB each calendar month. Shouldn't be a problem for the occasional uploader.<br /><br />Honourable mention: Google's <a href="http://picasaweb.google.com/">Picasa Web Albums</a>, a slick photo sharing app that lets you do one thing for free that Flickr doesn't: organise photos into albums. Free Flickr lets you create a maximum of 3 `sets', which are its equivalent of albums. But you can get around that by `tagging' all photos which would go into the same album with a common tag, and then doing a search for that tag.<br /><br />OK, that is a bit cumbersome. So why do I recommend Flickr over Picasa Web? Because the latter has an absolute storage limit of 1 gigabyte, which feels rather irksome in these days of unlimited storage. But then again, who's going to use up a gigabyte of storage, right? Hmm....<br /><br /><b>Expensr</b><br />Last but not least, a gem among web apps. If you've ever had to manage money, you might have found yourself asking, Where did all the money go? <a href="https://www.expensr.com/index.php">Expensr</a> tries to answer exactly this question, by making you keep track of all your expenses. It's free and it's fully on the web--once again, you can access it from any device with a proper web browser. (Forget the PC--I've heard people are using their Wiis to surf these days.)<br /><br />If you take a few minutes to sign up and set up the accounts, you'll be rewarded in just a few days with a day-to-day visual analysis of your spending habits--as a pie chart showing where the money goes, and a bar chart showing how much goes each day. The site is new, but it looks promising. Some of the community-based features are intriguing. You can `tag' yourself as `in my twenties', `in my thirties', `in college', `renting', `a smoker', and so on and compare yourself anonymously to others in these categories.<br /><br /><b>The Cloud</b><br />Now, you might be getting a sense of how much you can put online just for the sheer convenience of it. Nowadays this data space is being called <a href="http://www.news.com/Google-wants-data-in-the-cloud,-not-on-the-desktop/2100-1012_3-6133462.html">the cloud</a>, and cloud computing seems to be headed for the big time, with Google and a select few others poised to be in the epicentre. And given the quality of their web offerings, I feel pretty good about that.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-37132094708939038992007-12-25T07:18:00.000+08:002007-12-25T07:21:29.020+08:00LEDs: Light Emitting DiodesIf you look at your car's digital clock, microwave display, laptop computer's indicator lights, or your keyboard's Num Lock/Caps Lock indicator lights, you're seeing LEDs. They never wear out and they don't give out heat. The last bit means that they're turning hardly any of their input electricity into heat. That in turn means huge amounts of electricity is being saved.<br /><br />If you think about it, they're pretty miraculous compared to incandescent lighting and fluorescent lighting, the two most popular lighting technologies we have today. I've been hearing more and more about LEDs since this past year and it looks like they're going to hit the big time pretty soon. For example, it looks like the developed world is passing regulations to <a href="http://www.engadget.com/2007/12/24/incandescent-light-bulbs-be-to-shelved-by-2012-in-us/">ban incandescent bulbs</a> in a few years.<br /><br />Currently most LED lights are pretty small. But slowly we'll be seeing LED desk lamps, lightbulbs, laptop display backlights, televisions, and on and on. They're going to be rolled out and just blend in with our everyday technological landscape.<br /><br />Such an important technology deserves to be well understood simply because it's going to become a huge part of our lives in the future. And, it's a pretty nifty application of simple high school physics. I recently found a good article that explains the whole thing very simply, and reminds us of how LEDs managed to attract our attention.<br /><br />From <a href="http://electronics.howstuffworks.com/led.htm/printable">the article</a>: `Up until recently, LEDs were too expensive to use for most lighting applications because they're built around advanced semiconductor material. The price of semiconductor devices has plummeted over the past decade, however, making LEDs a more cost-effective lighting option for a wide range of situations. While they may be more expensive than incandescent lights up front, their lower cost in the long run can make them a better buy. In the future, they will play an even bigger role in the world of technology.'Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-58041882349618685732007-12-21T00:26:00.000+08:002007-12-25T07:22:36.972+08:00Monopolists and interoperability?<a href="http://www.project-syndicate.org/commentary/edlin1">Here's</a> an economist's take on Microsoft's new file formats. From the article: `While Microsoft could have kept the traditional ``.doc'' as its default format for MS Word, this would not have served its purpose: eventually, after enough of the world pays for Office 2007, holdouts will be dragged along, kicking and screaming. Then, in four or five years, Microsoft will begin our agony all over again.'<br /><br />I'm not sure I understand what this means. After all, wouldn't it be in Microsoft's best interests as a monopolist to have everyone use its own established file formats? Why introduce new ones and create confusion in the marketplace? A later paragraph makes things a bit clearer: `So, by creating incompatibilities, some subtle and some obvious, that make its old software obsolete, Microsoft can sell its operating systems at high profit margins without fear that people will wait until the price drops. The price will never drop, because Microsoft will just roll out a new system, again at high profit margins.'<br /><br />Of course, he's trying to find a purely economic explanation for Microsoft's new file formats, which is fine but it's not the whole picture. There's a growing movement in the world today that's pushing towards office document formats which are open and XML-based, to make it easier to process them and extract information from them. I myself hit on a similar idea--of serving XML-based Word documents ready-made in response to users' queries--a couple of years ago while doing time (my internship in a bank :-).<br /><br />Anyway, Microsoft can't be left behind with its older, closed file formats, plus it too sees how useful XML-based formats can be, so it develops XML versions of its formats. The problem with that is there is already a growing XML-based office document standard--Open Document Format. Microsoft wants its own standard--it says ODF can't support all the features of Microsoft Office.<br /><br />It's kind of sad reading about the kind of troubles ordinary, non-technical people have been going through adjusting to the new Office, file formats, and Vista: `The first person at my company to use Vista was our Executive Vice-President. He was furious. Vista and Office 2007 came with his new Dell computer by default. Dell didn't ask: ``Would you prefer the old versions of the operating system and MS Office that you know how to use?'' So our VP got a shiny new computer that he didn't know how to use: functions were rearranged, and keyboard shortcuts were different.' Especially because we have something like <a href="http://www.openoffice.org/">OpenOffice.org</a>, which offers a familiar interface and the ODF standard file formats, for free.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-49826211040032239312007-11-30T09:03:00.000+08:002007-11-30T09:18:33.062+08:00Slashdot Humour Post #2I'm sorry but this stuff is just too funny not to share with y'all non-Slashdotters. The <a href="http://slashdot.org/article.pl?sid=07/11/29/1745240&from=rss">post</a> (Your Ex-CoWorkers Will Kill Facebook) was about how awkward it would be to add your colleagues and boss as your Facebook friends, and then maybe stumble on pictures of you and your friends pinned up in their cubicle sometime. And what do you do after you leave that job? There are actually some good ideas in the comments. Some people apparently use <a href="http://www.linkedin.com/">LinkedIn</a> to do professional social networking and Facebook for personal friends. Here are some of the funny comments.<br /><div id="comment_top_21521823" class="commentTop newcomment"> <div class="title"> <h4><a id="comment_link_21521823" name="comment_link_21521823" href="http://slashdot.org/comments.pl?sid=374665&cid=21521823" onclick="return setFocusComment(21521823)">Finally</a> <span id="comment_score_21521823" class="score"> (Score:5, Funny)</span></h4> </div> <div class="details"> by <a href="http://slashdot.org/%7Ej.sanchez1">j.sanchez1 (1030764)</a> <span class="otherdetails" id="comment_otherdetails_21521823"> on Thursday November 29, @01:55PM (<a href="http://slashdot.org/comments.pl?sid=374665&cid=21521823">#21521823</a>) <small> </small> </span> </div> </div> <div class="commentBody"> <div id="comment_body_21521823"><i>Your Ex-CoWorkers Will Kill Facebook</i><br /><br />At least those idiots will do something right before they die.</div> </div><div id="comment_top_21523275" class="commentTop newcomment"> <div class="title"> <h4><a id="comment_link_21523275" name="comment_link_21523275" href="http://slashdot.org/comments.pl?sid=374665&cid=21523275" onclick="return setFocusComment(21523275)">Re:uh, dont use it?</a> <span id="comment_score_21523275" class="score"> (Score:5, Funny)</span></h4> </div> <div class="details"> by <a href="http://slashdot.org/%7EAdmiralDouglas">AdmiralDouglas (1158047)</a> <span class="otherdetails" id="comment_otherdetails_21523275"> on Thursday November 29, @03:29PM (<a href="http://slashdot.org/comments.pl?sid=374665&cid=21523275">#21523275</a>) <small> </small> </span> </div> </div> <div class="commentBody"> <div id="comment_body_21523275"><br />Pembo13 read the post with a sigh. Thoughts of his lost love came streaming in on him from every direction. The parent's post was all too remeniscent of that seductive MySpace page he fell in love with so many years ago. He was sure she was the one. He knew it down to his bones.<p>But just as most of the turbulent online relationships he'd known ended up, he too, was doomed to her foe list.</p> <p>He'd heard so many stories of couples meeting and falling love, when was it his turn? If only they could hear his heart, pleading for their attention! His fingers tapped away a message over the keys. A message in a cyberbottle. A plea.</p> <p>A plea for a happy ending.</p> <p> <i>Don't worry, pembo13. Your time will come.</i> </p></div> </div><div id="comment_top_21521943" class="commentTop newcomment"> <div class="title"> <h4><a id="comment_link_21521943" name="comment_link_21521943" href="http://slashdot.org/comments.pl?sid=374665&cid=21521943" onclick="return setFocusComment(21521943)">Re:Social Networking Sites in General</a> <span id="comment_score_21521943" class="score"> (Score:5, Funny)</span></h4> </div> <div class="details"> by <a href="http://slashdot.org/%7EMinwee">Minwee (522556)</a> <span class="otherdetails" id="comment_otherdetails_21521943"> <<a href="mailto:dcr%40neverwhen.net">dcr@neverwhen.net</a>> on Thursday November 29, @02:02PM (<a href="http://slashdot.org/comments.pl?sid=374665&cid=21521943">#21521943</a>) <small><br />(<a href="http://www.neverwhen.net/">http://www.neverwhen.net/</a>) </small> </span> </div> </div> <div class="commentBody"> <div id="comment_body_21521943"><blockquote><div>It's beyond me why people are so quick to spill their most personal secrets on a social networking site</div></blockquote> <p>It's because they're hoping to score with Hot Internet Chicks. Why is this hard to understand? </p><p>If playing every Mario game ever made has taught me anything it's that guys will do anything, even eating strange mushrooms and jumping head first into sewer pipes, for the vague possibility of impressing women.</p></div> </div><div id="comment_top_21521983" class="commentTop newcomment"> <div class="title"> <h4><a id="comment_link_21521983" name="comment_link_21521983" href="http://slashdot.org/comments.pl?sid=374665&cid=21521983" onclick="return setFocusComment(21521983)">Re:this is old news...</a> <span id="comment_score_21521983" class="score"> (Score:5, Funny)</span></h4> </div> <div class="details"> by <a href="http://slashdot.org/%7Etruthsearch">truthsearch (249536)</a> <span class="otherdetails" id="comment_otherdetails_21521983"> on Thursday November 29, @02:05PM (<a href="http://slashdot.org/comments.pl?sid=374665&cid=21521983">#21521983</a>) <small><br />(<a href="http://seenonslash.com/">http://seenonslash.com/</a> | Last Journal: <a href="http://slashdot.org/%7Etruthsearch/journal/">Friday May 11 2007, @04:02PM</a>)<br /><br /></small> </span> </div> </div> <div class="commentBody"> <div id="comment_body_21521983"><b>George</b>: You have no idea of the magnitude of this thing. If she is allowed to infiltrate this world then George Costanza as you know him ceases to exist. You see, right now I have Relationship George. But there is also Independent George. That's the George you know, the George you grew up with... Movie George, Coffee Shop George, Liar George, Bawdy George.<br /><br /><b>Jerry</b>: I love that George.<br /><br /><b>George</b>: Me too, and he's dying. If Relationship George walks through this door, he will kill Independent George. A George divided against itself cannot stand!</div> </div>Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-33720561023603940442007-11-29T17:51:00.000+08:002007-11-29T18:20:02.537+08:00Rambling postMy discerning readers may have noticed by now that I'm not much for blogging about personal stuff that's been going on in my life. Or maybe not--personally I suspect my total readership here has the combined IQ of an eathworm. Ha, ha. That was me making a House-ian sort of crack. I promise I'll try not to do that--much.<br /><br />Well, the past few days have slowly gone from being boring to more and more filled with anxiety, as the exam results come closer and closer. Mind has basically been on stasis, with online TV shows and movies keeping me entertained, apart from the quick snippets of <em>The God Delusion</em> read between computer reboots.<br /><br />I have been programming quite a bit, though. At least, in JavaScript and CSS. Tried to make a simple <a href="http://en.wikipedia.org/wiki/Create,_read,_update_and_delete">CRUD</a> web app using only those two--i.e. nothing on the server side. The aim was to make something that looked and felt Web 2.0-ish. It worked, except couldn't find any good way to store data on the local computer using only JavaScript--so in the end was forced to just pop up a new window with the data and ask the user to save it as a file with the correct name. Quite a stop-gap.<br /><br />From there somehow I ended up trying out <a href="http://dojotoolkit.org/">Dojo</a>, which is an impressive framework but I'm still getting used to it, and trying to get it to work properly for me. It kind of gives the impression of being a bit buggy. But the use of `widgets' and easy theming are impressive.<br /><br />Then I tried tackling rounded corners in HTML boxes using JavaScript-generated SVG images, on-the-fly, on the client side. Haven't got that to work properly yet, and needless to say, it will only work on browsers with native SVG support, like Firefox and Opera.<br /><br /><b>Update:</b> Happily, I seem to have done OK in the exams, pulling through to the last phase of my time in Monash. It's just a huge relief. Now my last unit is left, consumer behaviour.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-85222118038258364512007-11-18T05:18:00.000+08:002008-01-16T17:06:56.542+08:00Windows diedI was on ouou.com, watching some video when suddenly Windows faltered and crashed. I briefly saw a blue screen detailing some error and then Windows tried to reboot but couldn't find <span style="font-weight: bold;">ntfs.sys.</span> Whoops! It told me to try repairing the install from my original Windows CD. Now I know I have it around here somewhere, and it might be the best idea to just use it to repair Windows--after all I did pay a fair amount of money for it. <span style="font-weight: bold;">But</span>--I also had a Mandriva 2008 live CD lying around fairly close, and it's really impressed me with its performance on my laptop and its overall ease of use.<br /><br />So I thought, what the hell, this is a sign, it's time to go back to Linux. And I did it. And ten minutes later, here I am with Mandriva installed and up and running. It looks and feels great, but I know it's not coming without a price. And so, here's a list of Windows software I'm really going to miss:<br /><br />Microsoft Word. I was familiar with it, it did what I needed, and it was powerful so I could do a lot of other stuff with it, like easily writing VBA macros. Oh well.<br /><br />EndNote. With EndNote and Microsoft Word working together, referencing became easy and powerful at the same time. I can only hope one day to create a perfect bibliography style file with BibTeX and use it with LaTeX.<br /><br />EViews. Really going to miss this one, especially as I'm hoping to one day write a clone of it. Needed to familiarise myself with it more.<br /><br />Firefox profile. I'd built it up over more than a year of browsing and storing passwords and bookmarks. Oh well. Will just have to build it up all over again.<br /><br />Let's hope everything else goes great.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-68512701364225871612007-11-16T23:06:00.000+08:002007-11-16T23:15:26.132+08:00BeowulfVery impressive movie. I could have sworn in some scenes that the actors were really there, but apparently it's an animated movie, so there's no telling what was there and what wasn't. One thing I was really intrigued by was--you guessed it--Angelina Jolie. Her character appeared fully nude except for some body paint, and nothing got censored--even here in Malaysia. The movie got a PG-13 rating. I might be ranting here a little bit, but it just seems like kids these days don't even have to <span style="font-style: italic;">try</span> to get to see nudity--it's just being handed to them nowadays. I'm happy to report Roger Ebert has <a href="http://rogerebert.suntimes.com/apps/pbcs.dll/article?AID=/20071114/REVIEWS/71115001">noticed</a> this too.<br /><br />Well, not that I'm a prude--well, maybe I am if I have to see this stuff with kids under 15 or 16.<br /><br />But yeah, really enjoyed the movie. And now, can't wait for the Dragonball Z movie to come out!Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-4171561192749118382007-09-08T03:44:00.000+08:002007-09-08T04:03:12.717+08:00Some interesting articles about child abuseThese articles raise some interesting questions about society's tendency to see all men as potential child molesters:<br /><br /><a href="http://online.wsj.com/article/SB118782905698506010.html?mod=Moving-On">Are We Teaching Our Kids to Be Fearful of Men?</a> (http://online.wsj.com/article/SB118782905698506010.html?mod=Moving-On)<br /><a href="http://www.bennettandbennett.com/blog/2007/09/managing-risk-of-child-sex-abuse.html">Managing the Risk of Child Sex Abuse</a> (http://www.bennettandbennett.com/blog/2007/09/managing-risk-of-child-sex-abuse.html)<br /><a href="http://www.bennettandbennett.com/blog/2007/09/we-predators.html">We Predators</a> (http://www.bennettandbennett.com/blog/2007/09/we-predators.html)<br /><a href="http://online.wsj.com/article/SB118903209653018615.html?mod=loomia&loomia_si=1">Avoiding Kids: How Men Cope With Being Cast as Predators</a> (http://online.wsj.com/article/SB118903209653018615.html?mod=loomia&loomia_si=1)<br /><br />The last article is especially interesting to me as an adult male -- for obvious reasons. Should I assume that because I am an adult male, society will automatically profile me as dangerous and threatening to children? And will children behave towards me as if I'm a potential criminal? It's a strange world we live in.<br /><br />On another note, Mark Bennett, the attorney who authors the blog `<span style="font-size:100%;"><a href="http://www.bennettandbennett.com/blog/">Defending People: The Art and Science of Criminal Defense Trial Lawyering</a>' (http://www.bennettandbennett.com/blog/) seems to be a very good writer. Will be adding him to my blog feeds.<br /></span>Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-46035999327888878162007-09-03T20:39:00.000+08:002008-01-16T17:10:40.447+08:00Some cool Firefox themesAside from the default Firefox theme, there aren't any really cool themes that I've found -- but I do like a couple of themes which give Firefox the look of MS Office 2003. Here are the links:<br /><br /><a href="https://addons.mozilla.org/en-US/firefox/addon/890">Outlook 2003 Blue</a> (https://addons.mozilla.org/en-US/firefox/addon/890)<br /><a href="https://addons.mozilla.org/en-US/firefox/addon/892">Outlook 2003 Green</a> (https://addons.mozilla.org/en-US/firefox/addon/892)<br /><a href="https://addons.mozilla.org/en-US/firefox/addon/894">Outlook 2003 Silver</a> (https://addons.mozilla.org/en-US/firefox/addon/894)<br /><br />An ideal theme for me would be a really minimalist theme which uses very dark colours, but doesn't overdo it. Yup, it's a high hurdle.<br /><br />Update: Just found the perfect theme: <a href="http://www.twistermc.com/blog/miint/">Miint</a> (http://www.twistermc.com/blog/miint/). Mmm, tasty.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-34783410391988672212007-06-01T00:02:00.000+08:002008-01-16T17:11:13.092+08:00Getting my.monash email in your Gmail inboxYup, it's actually possible to send and receive my.monash (or any other uni/workplace) email from your beloved Gmail account. Here's how:<br /><br /><span style="font-weight: bold;">Receiving</span> (mail into Gmail)<br /><br />When someone sends mail to your Monash email address, you can have the Monash mailing system forward it to Gmail. Sign in to <a href="https://my.monash.edu.au/email/webmail.html">Monash Webmail</a> (https://my.monash.edu.au/email/webmail.html) and choose the <span style="font-weight: bold;">Options</span> link from the row of links at the top. In the Options page, choose the <span style="font-weight: bold;">Forwarding and Delivery</span> link from the left side. There you can specify that email should be forwarded to your Gmail address and then deleted (so it doesn't take up any space in your Monash inbox).<br /><br /><span style="font-weight: bold;">Sending</span><br /><br />You can compose and send emails from your Gmail account which will appear to be from your Monash address. To set this up, you need to be signed into both Gmail and my.monash. In Gmail, go to the <span style="font-weight: bold;">Settings</span> page, then go to the <span style="font-weight: bold;">Accounts</span> tab. Click the <span style="font-weight: bold;">Add another email address</span> link, and a window pops up asking for the name and address. Enter your my.monash name and email address here, click <span style="font-weight: bold;">Next Step</span>, then <span style="font-weight: bold;">Send Verification</span>. Keep the small window open because the Monash email site has a bug which makes it show Web page links incorrectly. In other words, you won't be able to verify that you own your Monash address simply by clicking the link in the email that Gmail sent to your Monash address.<br /><br />Now go to your Monash inbox, open the message from Gmail, and copy and paste the confirmation code in Gmail's verification window. Hit Enter, and Gmail adds your Monash address to the list.<br /><br /><span style="font-weight: bold;">Try It Out</span><br /><br />Compose a message in Gmail, and choose your <span style="font-weight: bold;">From:</span> address from the drop-down box. The person who gets the message will see the Monash address, and when they reply to it, the message will automatically come to your Gmail inbox. When you reply to this reply, the new message will automatically have your Monash address in the <span style="font-weight: bold;">From:</span> field. And so on.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-54237444493379252162007-04-29T01:53:00.000+08:002008-01-16T17:11:28.773+08:00The EndNote postFor the past few days I've been installing EndNote, the bibliographic referencing software, on every computer I've been able to, and it seems to be proving useful to everybody. So I thought I'd share some more info about it that I've found out.<br /><br />So first off, what is EndNote? It's a program that stores all the information about the references you use in your articles, and inserts them into Word documents as and when you want them. Oh, and it automatically creates and updates the list of references at the end of the document in the proper style (Harvard style in our case). This is very useful for us because we're always writing up assignments with a certain number of references required (say, at least ten) and we're always getting the references wrong -- or not quite right -- somewhere or the other. And obviously references are very important to us because Monash is starting to use Turn-It-In and is asking everyone to submit assignments electronically as well as on paper.<br /><br />So yeah, I highly recommend EndNote to save a lot of time and effort. Monash makes it very easy for us to get up and running with it: go to <a href="http://www.lib.monash.edu.au/endnote/">http://www.lib.monash.edu.au/endnote/</a> for a summary page that contains all the EndNote links. After installing the program (Microsoft Word must be closed for the install to run), the program link should be in the Start menu (All Programs, EndNote, EndNote Program). Create a library file (File, New...) which will hold your references. You can of course have more than one library file, say one for each subject, but you can start out with just one.<br /><br /><b>Automatic bibliographic information</b><br /><br />Once you're in the new library file, you can start creating some references (References, New Reference) to articles and books you've found. More importantly, you can now connect directly to Monash's online libraries to search for articles. When you find articles like this, you can just import the references into your library file and the information will automatically be properly formatted when you make EndNote insert it into Word. This is a simply awesome feature, not having to manually type in all the referencing info.<br /><br />EndNote uses what it calls `connection files' to find out how to connect to each separate online database. The connection files relevant to the Monash databases are at <a href="http://www.lib.monash.edu.au/endnote/filter-connection-files.html">http://www.lib.monash.edu.au/endnote/filter-connection-files.html</a>. The most important connection files for us (business students) are `Business source premier', `Expanded academic ASAP (GALE)', `Econlit (EBSCOHost)', and `Monash University Library Catalogue'. In fact these are probably the only ones we need, and once we put the files into the C:\Program Files\EndNote 9\Connections folder, we can actually just delete all the other connection files in there.<br /><br />Once you have the connection files set up, here is how to use them: tell EndNote to show you only the connections you want (Edit, Connection Files, Open Connection Manager..., then find and mark only the above connections). Then connect to, say, Business Source Premier (Tools, Connect, monash_business_source_premier_ebscohost). The search window should open up. Do a search, e.g. for anything authored by Mankiw. EndNote does the search, asks you how many results to show, then shows them. To see the detailed info about each search result, double-click it. You'll usually want to see the detailed info because the abstract will tell you if the article is relevant or not. To use the reference, copy it to your library file (the Copy ... Reference(s) To) button.<br /><br />One issue with this feature: the first author is listed twice. Once the reference is copied into your library, open it (double-click) and delete the duplicate author name. Still less work than typing it all in.<br /><br />Now the main part: putting the reference into your document. There are a couple of ways to do this, I'm just mentioning here the simplest. In Word, put the text insertion point where you want to insert the citation. Then in EndNote, move to the citation you want to insert, then click Tools, Cite While You Write [CWYW], Insert Selected Citation(s), or press Alt+2. And there you go, the citation is put into the document, and at the same time, the list of references is created or updated at the bottom of the document.<br /><br />Another problem: it's not in the proper Harvard style. The closest style that EndNote has to the Monash Q Manual Harvard style is called `APA 5th', which you can find in the Style Manager (Edit, Output Styles, Open Style Manager...). Once the style is selected, make it the default style (Edit, Output Styles or the style drop-down box in the main toolbar). You can also customise the style to bring it closer to the Q Manual, but I've got a heavily customised style I can send out to anyone who wants it. Just put the style file into the C:\Program Files\EndNote 9\Styles folder and EndNote will see it.<br /><br />Another issue: you want to include a page number in the citation, or you want to leave the author name outside brackets, like so: Mankiw (2005) says that.... You can do this in Word. Put the text insertion point inside the citation, then click Tools, EndNote X, Edit Citations.... Or click the button in the EndNote toolbar. Then select the Exclude author option. Or fill in the page number.<br /><br />And that's all for now folks.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-61608339345728102702007-04-20T19:17:00.000+08:002008-01-17T01:02:58.855+08:00America's gun cultureI am sorry to learn about the losses suffered by the community of Virginia Tech. My first reaction is to blame America's gun culture. After all, American kids are bombarded with images of gunbattles, gunslingers, and the gung-ho shoot-from-the-hip attitude as portrayed in the popular media. If they face these kinds of images growing up, how can they not come to accept guns as a solution to right the wrongs they face? But obviously, most kids don't do this -- only the ones driven to madness do.<br /><br />If my first reaction was to think of gun culture, my next thought was, how to curb it? There is a powerful segment of Americans who will strongly oppose any attempts to prevent ordinary citizens from buying guns. King George might be trying to break into their houses, after all. And just in general, removing rights from people just sounds ... queasy to me.<br /><br />But there is another option -- compulsory weapons training. Make it compulsory for anyone who buys a gun to receive training to use the gun, and psychological evaluation to gauge the person's mental health. This way, everyone who buys a gun automatically deals with a barrage of people who train him to use the gun properly (keep the gun safety on and all that); make sure he knows the what he will be liable for if he shoots his gun and hurts someone; and evaluate his general state of mind and fitness to use the gun. Preferably, there would also be a written exam (consisting of technical questions e.g. on gun care, and also -- crucially -- psychologically loaded questions like `How would you feel about shooting someone in the head?' which would give some basis to gauge the person's mental stability and mindset) which he would need to pass to get the license for the gun. (How do you think Seung-hoi Cho would have answered a question like that? Obviously with a rational answer -- but questions like this allow psychiatrists to pick up clues about the person's mental processes.)<br /><br />In this way, guns become another state-regulated item, just like poison and radioactive materials. You might be asking, what next, will we need to give an exam to keep knives in our kitchens? To be honest, I think guns are far more dangerous than knives, because they are long-range weaponry, fire rapidly, and on average, do far more damage to the human body than a knife does.<br /><br />Looking at this from an economic perspective, the use of guns in society has negative externality-like effects on society. Society wants individuals to use less guns than the individual wants to. Therefore, society should impose a tax on the individual who wants to use guns to bring his demand for guns down to an socially acceptable level. This tax is in the form of the gun training and written exam, which the individual would of course have to pay for just like any other training/exam.<br /><br />We live in a world where we have to retake tests like the IELTS every few years just to prove that we are still as proficient at English as we were three years ago. I don't see anything wrong with taking a test to prove that we are fit to own a gun. In fact, there is more reason to make this a periodic test, say every two years. This way, kids will think twice before going off to buy guns to make themselves feel bigger.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-88442168868962028152007-01-05T00:11:00.000+08:002007-04-20T20:20:19.743+08:00Rocky BalboaRocky Balboa is back to his roots in this last movie. The boxing champion of Philadelphia is back in the old neighborhood, looking for meaning in his life after the death of his wife Adrian. He's drifting apart from his son and living in the past, reliving the glory days in the boxing tales he tells the customers in his restaurant, <span style="font-style: italic;">Adrian's.<br /></span><span style="font-style: italic;"><br /></span>Rocky leads a lonely life, with exactly two people to call family -- his son Rocky Jr and his brother-in-law Paulie; and his friends and employees at the restaurant his only other human connection. The rest of New York sees him as Rocky Balboa, the Italian Stallion, the local champion. He hears `Yo, Rock!' on the streets -- people asking for autographs.<br /><br />He befriends a woman who works at a nearby bar. She says he's met her before -- he has trouble remembering until she reminds him he walked her home one night, took a cigarette from her and told her to stop smoking. He remembers her as Little Marie, the girl who shouted `Screw you, creepo!' at him. She wonders why he wants her as a friend; he just needs a friend, someone to keep out the loneliness in his life no one else can stop.<br /><span style="font-style: italic;"></span><br />Then, suddenly everyone's talking about a computer-simulated fight between Rocky and Mason `The Line' Dixon, the reigning undefeated world champion, in which the computer Rocky, in his prime, beats the hell out of computer Dixon. Suddenly Rocky is reminded of what he loves doing best, fighting, and wants to start training again so he can do small, local fights. To do this, he has to get a license from the boxing commission in the city. He has passed all their tests with flying colours, but they don't want to give him a license -- they tell him they're watching out for his best interests. Rocky gets emotional, asking the panel at the commission why they have the right to stop a man from following his dreams.<br /><br />Dixon's managers have another idea -- an exhibition match between their client and Rocky, a match that will get Dixon the publicity he desperately needs -- with no challenger good enough to beat him, boxing fans aren't exactly knocking down the walls to see him, as they tell him. They approach Rocky with an invitation to fight in Las Vegas, leaving him with a dilemma -- should he embrace this chance to go down like a warrior, or pass up the chance to avoid embarrassing himself and the people around him?<br /><br />From the scene at the commission, and throughout the movie, I kept getting a sense of why Rocky the man, and not just Rocky the boxer, is a champion at heart. His defining quality is to be able to see the people around him fall short, and to inspire them with nothing but his heart and his compassion. His son comes to him and shouts at him, blaming him for overshadowing his life. Rocky's reply cuts straight to the heart of their relationship: he'd held the infant Rocky Jr in the palm of one hand and promised Adrian that he was going to grow into a great man, better than anyone who came before. He'd watched Rocky Jr grow up and it was a privilege, because he was the perfect son. But when he grew into a man, he changed, because he let the people around him tell him what to think and what to worry about. Rocky shows his son the way to be a champion, and it's about getting back up and keeping up the fight no matter how hard you get hit.<br /><br />Rocky accepts the fight (of course), and we get to see the training again, only this time the goal is not to build the perfect boxer's body: it's to build up all of Rocky's power, so that when he punches Dixon, Dixon should feel as if he's been kissed by a freight train (Rocky's trainer's words, heh).<br /><br />Then comes the Big Fight, as always. It's one hell of a fight, as always. It pushes you to the edge of your seat and beyond. And in the end, it's not about who wins, but about Rocky, who has the crowd on his side all along. They can feel his champion heart -- they can see it in every punch he throws, and more, every time he gets back up to take more punishment from Dixon.<br /><br />The first Rocky movie won an Oscar, I think for Stallone's writing. It had heart. The sequels had muscle and youth and energy and flash -- big bang for the bucks. They were enjoyable. But this last movie is enjoyable <span style="font-style: italic;">and</span> has heart -- Stallone has done it again, by going back to the old values. Watch and enjoy.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-66892765758635481252006-12-09T01:30:00.000+08:002006-12-09T01:34:48.854+08:00Bangladeshi men are more studlyJust ask Malaysian ladies: <a href="http://news.bbc.co.uk/2/hi/business/4802796.stm">http://news.bbc.co.uk/2/hi/business/4802796.stm</a>.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-50087495181679163392006-12-07T15:44:00.000+08:002006-12-07T16:28:36.387+08:00Programming kidsSometimes when I'm teaching kids at my mom's tutorial, I get this feeling that teaching a kid something is a lot like programming a computer.<br /><br />The objective when I'm teaching is to get some concept across to the kid, so he can grasp it and manipulate it in his mind. With a computer, you want to instruct it to perform a certain task. So with this kid, you have to find a way to get the concept across, and the technique I use most often is to break it down into simpler parts which can be easily understood. E.g. to explain the concept of a conjunction (one of the parts of speech) to a kid in class 4, I would give an example of two short sentences, side by side, then show a conjunction which joins them together:<br /><br />I ran. They walked.<br /><br />Conjunction: but<br /><br />Result: I ran, but they walked.<br /><br />(I often use mnemonics too, like conJunctions are Joining words -- the `J' is the mnemonic; but that's not really relevant for computers.)<br /><br />Anyway, with a computer, you break down a task, say changing the screen saver, into simple parts like: get the screen saver file name to use -- maybe from the user, or from some text file in the computer; access the Windows registry; put the new screen saver's file name into the right place in the registry; save and close the registry.<br /><br />Now here is where it gets interesting. The first time round, it's almost a given that you won't get the concept across properly, and the kid will be in some kind of confusion about what you're saying. Same with a computer. It's almost certain there's a mistake in the program somewhere -- a bug. So you have to debug. This is an interactive process where you try to find out what's wrong by querying the kid/computer about what they think is going on, then you reprogram/re-instruct to compensate for that.<br /><br />So, the kid says he doesn't understand the conjunction thing. The debugging always starts with making sure he knows the context that we're discussing this in; I have to make sure he knows that we need some words in the language to join sentences together to convey more information easily. (Otherwise we're forever stuck with extremely simple, one-verb sentences, each of which conveys maddeningly tiny amounts of information.)<br /><br />In simple concepts like conjunctions, clarifying the context should clear up about 75% of the problems; but the more complicated the concept -- say, teaching the rules of algebra to a class 5 kid -- the more I have to go, step by step, into the parts which make up the overall concept: variables are unknowns; constants are knowns; variables and constants make up equations; equations can be solved to find the unknown by putting it alone on the left hand side; this is achieved by performing the same arithmetic operation to both sides of the equation, keeping both sides equal, and continuing until the unknown is alone on the left hand side.<br /><br />For each of the above steps, I have to explain its purpose (context) -- i.e., what problem does it solve? Then I have to make sure the kid knows how to do it, and lastly of course, what to do if things don't turn out like expected. The same thing happens with computers, except of course they have no sense of context, nor do they need it. They simply perform one simple task after the other, in sequence, until the more complicated job is done. And unexpected outcomes are handled using a combination of the programming language and libraries of reusable code -- they're generally called error handling or exception handling (as in, exceptional cases).<br /><br />Of course, all of the above is the ideal case when teaching a kid. The reality is I'm going to run out of time before I can properly explain the whole thing, or the kid is going to get incredibly bored and start drifting off to sleep. Maybe I can take a break then.Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.comtag:blogger.com,1999:blog-6925752.post-40698334132127353742006-11-22T03:20:00.000+08:002008-01-16T17:12:56.335+08:00Finally managed to learn C#And it wasn't as hard as I thought it would be. I finally dove into the Ecma C# language specification document, for lack of any better reference/tutorial books here in Dhaka, and went through it absorbing everything that had confused me about the language before (like attributes, the <span style="font-family:courier new;">override</span> keyword and inheritance, assemblies and DLLs). A little bit about that spec. I downloaded it a long time ago meaning to go through it and learn the language, but kept putting it off. Now that I've done it, I see the spec is really an excellent reference for learning the language -- probably better than any O'Reilly `In a Nutshell' book for the language. If you're not new to programming, but are new to C#, just <a href="http://www.ecma-international.org/publications/standards/Ecma-334.htm">get it</a>. It's worth it.<br /><br />Wish there was an equivalent .NET library reference though. The MSDN library is very thorough but also bloated and slow. Kinda typical of Microsoft when you think about it. Heh, heh.<br /><br />To celebrate, here's the first useful program I wrote (just now) in C#: ToggleScreenSaver. It's a command-line tool that turns your screen saver on or off. Works only on Windows. Usage is:<br /><br />ToggleScreenSaver [on|off]<br /><br />on: turns the screen saver on<br />off: turns it off<br /><br />Source code:<br /><pre>// ToggleScreenSaver.cs<br />using System;<br />using Microsoft.Win32;<br /><br />public class ToggleScreenSaver {<br /> static void Main(string[] args) {<br /> // args[0] is the first argument passed and so on, not the name of the program<br /> // That's a little brain-dead, but OK, we can roll with it<br /> RegistryKey rk = Registry.CurrentUser.OpenSubKey("Control Panel\\Desktop", true);<br /> if (args[0] == "on") {<br /> rk.SetValue("ScreenSaveActive", "1");<br /> } else {<br /> rk.SetValue("ScreenSaveActive", "0");<br /> }<br /> rk.Close();<br /> }<br />}<br /></pre>Yawarhttp://www.blogger.com/profile/13741563704441932843noreply@blogger.com