Archive for the ‘General’ Category

Upgrade to Lion

It seemed like only a year ago, I upgraded my laptop to run Snow Leopard. And now I’ve gone on to getting Lion (didn’t take almost a year to upgrade — good sign?).

I’ve found some issues (and I’ve only used it for less than a day), and here are a few notes:

  • First time I’m installing an OS in OS X via the Mac AppStore. It feels very much like doing an “apt-get dist-upgrade”. All 3.5GB of it.
  • Immediately running Software Update will lead you to an error. It seems that just waiting it out (maybe after Spotlight finishes?) is the solution because this is an error I cannot repeat any longer. As always there are updates awaiting.
  • I’m a big fan of Spaces. In Lion, they’ve created something called Mission Control. It takes a little bit of getting used to, but you can create spaces, as well as assign apps to spaces. Spaces (workspaces) are key to how I work — I’ve been doing them on all my Linux desktop, so its crucial it works. The best article for you to acclimatize yourself is Using Spaces on OSX Lion by Matt Legend Gemmell.
  • System Preferences -> Trackpad -> Scroll & Zoom. Untick “Scroll direction: natural”. I don’t see how this was a smart default because it’s not natural in any way, shape or form.
  • I was typing in OmniOutliner and I realized that OSX was trying to correct my spelling. It reminded me too much of using a mobile phone because it wasn’t my spelling that was off — it was picking on names. Best way is to turn off auto correct for spelling.
  • XCode goes away. You have to get it for free via the Mac AppStore (over 3GB download). And when you download tools from the AppStore you still have to manually install it from the /Applications folder. This is where Linux/BSD package management gets it done right.
  • Homebrew just continued to work out of the box after XCode/GCC/etc. came back.
  • MsgFiler now only works if you grab it via the Mac AppStore. Crucial for filing messages and archiving if you use Apple Mail.
  • Apple Mail took ages to convert my database. The new look is definitely not something I am accustomed to, but they allow a Classic View (Mail -> Preferences -> Viewing – Use classic layout). I hope this option never goes away.
  • The ability to bounce a message has disappeared. There is a guide on how to bring bounce back, using Automator and AppleScript. I think I’ve got to edit that script to ensure that after a bounce it also moves the message to the trash.
  • I like the status updates I get from Terminal (like when it’s running big operations, waiting to connect to the server via SSH, etc.)
  • Things generally seem snappy. Waking up from sleep seems better. All this using spinning disk on the MBP (though I do have 8GB of RAM).
  • Scroll bars have disappeared until you actually scroll. I wonder if this is a good UI change. Or are people naturally expected to just scroll? I can see this impacting web design more, in future…

Annoyances I haven’t fixed yet?

NetAuthAgentSome have said this is a Time Machine problem and it will go away after Time Machine runs. It seems to go away when Time Machine is running but when I disconnect the external disk, it comes back intermittently. Some claim its an AirDrop issue. Some claim its due to the fact that Time Machine does snapshots via something called Mobile Time Machine. I can assure you unmounting /Volume/MobileBackups does not fix the issue (I know, I did).

Reading on the iPad

I’ve been carrying an iPad since the second day it got released in the United States… That makes me somewhat of an early adopter. I’ve been reading e-books on the iPad using iBooks (via O’Reilly’s Safari) and also via GoodReader when people release them as PDFs. I never did purchase an iBook or Kindle book until recently.

Last week, right before a long flight back from San Francisco to Kuala Lumpur, I decided to purchase: The Upgrade: A Cautionary Tale of a Life Without Reservations by Paul Carr. I had enjoyed reading his previous book, Bringing Nothing To The Party: True Confessions Of A New Media Whore, which he at one stage even released as a free PDF.

GoodReader has been my most popular application on the iPad. And I do a lot of reading using Instapaper. But for books? I bought an iBook using my US-based iTunes account, and I read the entire tome from Carr on the flight back. I was hooked.

This weekend, while sitting down in a hotel in Seoul, I decided to try my luck with the Kindle. Lo and behold, I can do one-click purchasing using my Malaysian-issued credit card. Now you’ve got me hooked! First I used the Mac application — figuring out though I would not be reading too much on the Mac (I really only read technical books on my laptop, and that is served very nicely from the Safari bookshelf).

Next I proceeded to download the iPad/iPhone application (they’ve made it universal). Enter my username and password, and I’m off to reading straight on my iPad. I paid for three books last night and have already made some headway in reading one.

I can highlight bits of writing, which is a lot better than me dog-earing books and sometimes forgetting to come back to snippets. Now with Kindle? I have a webpage, in where I can see what I’ve highlighted, write notes, see my own highlights, see other people’s public notes, and lots more. I forsee that right after I’m done reading, I can just save my highlights in Evernote, and I’ll have a digitally searchable copy of everything.

This changes the way I read. This changes the way I buy books (currently I bulk purchase them every couple of months, since I visit the United States pretty often). This also probably means I’ll have a lot less to carry in my travels.

The Kindle experience so far beats the iBooks experience for me. Of course, to buy a book, I’ve got to do it via a web browser and not in-app (thanks Apple for making life a little more difficult for me). Makes me wonder how much longer my Audible subscription will stay alive…

All that said, the iPad has become a whole lot more useful for me. And an iPad upgrade for myself to the iPad 2 has become a whole lot more appealing as well…

Make sure your WordPress plugins are up-to-date

This is probably stating the obvious, but make sure your plugins in WordPress are up-to-date. You keep up with the latest WordPress releases (and you should — there are lots of security fixes within releases), but you also have to make sure that the plugins are updated.

I deploy some systems using SVN, and on some sites, make use of the Disqus plugin for commenting. The plugin itself, as of writing, has only been tested against WordPress 3.1.4. Today, you have WordPress 3.2.1. Don’t fret though — Version 2.66 works just fine.

Why do I preach about updating stuff? My recent update had broken a production site… not the site itself, but the authors could not upload any media. The uploader (JavaScript) wouldn’t work. Chrome has the JavaScript Console available which showed me exactly what was going wrong, and that’s how I debugged the offending plugin.

Upon a little search later for wordpress 3.2.1 upload image, I see a bunch of people asking questions. The standard answer is to disable plugins to see if things work. In this case, updating solved the problem.

Updating PHP in RHEL/CentOS 5.6 for WordPress 3.2

Try doing yum install php53 on a RHEL 5.6/CentOS 5.6 system, and see the following:

--> Finished Dependency Resolution
php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
  --> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Not pleasant right? Seems the only workaround is to issue a yum remove php php-cli php-common, watch the dependencies and reinstall everything. The only thing that seems to be missing? php53-tidy.

Restart Apache (service httpd restart). Update WordPress. If you miss on restarting the web server, it won’t detect the newer PHP install and WordPress will just show you a magical message as follows: “You cannot update because WordPress 3.2.1 requires PHP version 5.2.4 or higher. You are running version 5.1.6.”

Spotify

I just played with Spotify. I love the idea of streaming music with an unlimited library. I listened to music from younger days – The Verve Pipe’s Freshman, Verve’s Bitter Sweet Symphony, The Drugs Don’t Work and lots more. I’ve got 20 hours per month in the free account, and I’m absolutely loving it.

I immediately wanted to get a premium subscription (since it allows international playback), but naturally they make it difficult to give them money (PayPal needs to be in the country you signed up in; credit card needs to be issued in similar country).

Streaming music is probably the future. Cloud based storage seems like an extension of files. And why exactly do we need files? Music lockers like Spotify will match many a usage pattern. For me, it means playing back anything I feel like listening to. It means bringing back memories from yesteryear. It means accessing CDs I’ve been too lazy to rip (some are physically in another country).

As usual, Spotify isn’t available for the rest of the world. It launched in some European countries, just got to the United States (in limited availability), and those of us in Asia are stuck, as usual.

Even if I wanted file-based storage (say via the iTunes Music Store or Amazon’s MP3 service) its generally not available. I paid Bimbit a visit again. The site design made me spasm.

Zee Avi is available on Spotify. One Reza Salleh song is available too – Stracciatella. Nothing from my favourite local band One Buck Short or narmi.

Why is it so hard to buy legal music online?

Cyberwar for politicians: Overview of Tun Faisal’s statements

I read this and was really angry. Then I realised a David Arquette (by way of Buddhism) quote: “Anger is like drinking poison and expecting the other person to die.” If the opposition can use new media, I guess so can the incumbents. Anyway, let’s decompose the statements as reported in the article…

KUALA LUMPUR, July 18 – In mid-2009, Umno Youth held a course in online media for its grassroots leaders in Kuantan. The names of a few prominent bloggers drew blank stares.

“Only 10 per cent (of those present) were familiar with those names,” the youth wing’s new media chief, Tun Faisal Ismail Aziz, told The Malaysian Insider. “Some didn’t even have email.”

Statement seems incoherent. They held a course about online media for their grassroots leaders in Kuantan, and they didn’t know about popular bloggers. In fact I don’t really care about popular bloggers – most of them have their own take, spin it ways they feel like it, and don’t understand what journalism is, i.e. reporting the facts. I get my newsfeed from The Star (News->Nation), The Malaysian Insider, and Malaysiakini. A mix of that helps keep me informed.

Some didn’t have email? Well this is the UMNO problem. Postmen run as members of parliament. I could probably run with more examples, but I don’t have hard facts to back them up, and I hate hearsay. The opposition tend to be professionals, which is why I prefer them (truth be told, I’d probably vote an ape in as well, just for shits and giggles).

Who is Tun Faisal Ismail Aziz? According to his Facebook profile, he is the Special Officer to the Home Minister at the Ministry of Home Affairs. So he advises kris-waving Hishammudin. Its also clear he has a media unit that he’s heading with UMNO Youth – the cybertroopers.

The media unit that Tun Faisal heads, formed after accepting that “80 to 90 per cent” of those online were anti-Barisan Nasional (BN) in the landmark Election 2008, now claims that despite having to catch up to Pakatan Rakyat (PR) in the “cyberwar” for the hearts and minds of young and urban voters, it is now ready for a general election expected within the year.

80-90% online are anti-BN? As of June 2009, the stats show there are 16,902,600 Internet users in Malaysia. Thats some 65% of the population of a little over 26 million people. In fact, rough stats show that Malaysia has 11,303,040 Facebook users, which covers some 43% of the population and some 67% of the online population of Malaysia.

Key points to note: Malaysians that are online, not all can vote. And these statistics are misleading — counting mobile phone users possibly, people with multiple Internet accounts, etc. Don’t forget a lot are Malaysians living overseas, either as students or residents whom are looking for greener pastures.

However, Tun Faisal, a member of the Umno Youth executive committee, believes that despite having guns primed, the unit needs the government to provide it with bullets.

Bullets. Is this cash? Is this information? Considering the information sucks to begin with, one can only presume its cash to pay cybertroopers.

“Most young and urban voters perceive the mainstream media as pro-government, so they are automatically prejudiced against it,” said Faisal. “So we have to bring the debate online.

The mainstream media is pro-government. The recent Bersih 2.0 rallies show that. In fact, its not just young voters that have such a perception. Its the adults too. Admittedly my sample-size is urbanites, and the opposition clearly needs to figure out how to get the word out to non-urbanites. Years of misinformation from the Ministry of Truth (aka Home+Information ministries) has generally made everyone not believe mainstream media.

Bringing the debate online is a good thing. Why? Two sides of the coin. Comments, people responding in the open, etc. If people are willing to get the “bigger picture”, they can. Is the public ready for this though? Not many people spend time getting more information. They take things at face value.

“But the problem is getting info from the government to counter the lies from the opposition. How can we fight claims from them and journalists when we don’t have more info than them?” he said.

I’m sorry. How can any one party have more information about the ruling party? Freedom of information bitches! This centralised distribution of information (that the mainstream media has continually executed) is what people do not want! People want free & fair reporting. All journalists present, representing facts. Not opinions. Not lies. Not spin.

BN had its nose bloodied at the 12th General Election in urban centres such as the Klang Valley and Penang, ceding its customary two-thirds majority in Parliament as the opposition took a record 82 seats and, at the same time, five state governments.

But the Manek Urai by-election in Kelantan, where BN surprisingly came within 65 votes of wresting the state seat, is considered a turning point for Umno Youth in the online battle.

Umno Youth chief Khairy Jamaluddin had said that BN gained in all young voter streams, signalling a shift in young voters that was said to have backed PR heavily in 2008.

“BN gained in all young voter streams, signaling a shift in young voters”. Please continue to believe that Khairy. Believing in this would then lead to complacency, which would then lead to loss. Say it, don’t believe it. Don’t believe it until you’ve bagged your 2/3rds or decimated the opposition.

“The opposition started in 1999 after Reformasi,” Tun Faisal said. “We only started in 2009. It’s like putting university students against primary schoolkids.

Please believe that Tun Faisal. There were blogs in 1999, yes? Facebook was around in 1999? So was Twitter, right? In 1999, there were mailing lists and static websites. The BN figured they controlled the mainstream media and did not need to participate. But I’m glad Tun Faisal compared himself to a primary schoolkid — his statements reflect just that. In fact, my beautiful four-year-old cousin has more intelligent thoughts than him.

“But if you look at the results since Manek Urai, you can see that BN has definitely caught up especially with young voters.”

BN has since reversed a losing streak in by-elections, and even though PR was confident of making extensive gains in the recent Sarawak state election, BN retained its two-thirds majority in the assembly.

Tun Faisal says that one of the main factors is that his new media unit was given the mandate to strategise and coordinate online communications during these local polls.

Key takeaway? The Ministry of Truth is now not only focusing on mainstream media (radio, TV, newspapers) but also focusing on providing disinformation online. With the appropriate “bullets”, they will try very hard at spending it all on misinforming folk. Be it paying cybertroopers. Advertising. The list can go on.

“After 13 by-elections and one state election, I think we are ready to lead BN online in the next general election. But the leadership needs to have faith in us,” he said.

He revealed that in 2004, he led an Umno Youth cybertroopers unit into federal polls, at which BN claimed over 90 per cent of Parliament. But the ruling coalition’s best showing ever was followed by its worst in 2008.

“The difference was in 2004, we had a direct link to the prime minister’s department,” Tun Faisal said. “In 2008, we were left behind by the opposition, and even some pro-Umno blogs were against us.

Cybertroopers are like bloggers that write advertorials. The moment they write enough rubbish, people stop listening. That’s free advice for politicians on either side. People believe in passion. You can’t buy passion. You might brainwash someone into believing they are passionate, but eventually they will sound like a drone. A robot. And you lose your voice.

“Over 70 per cent of the issues that BN has to answer is related to government. It is unfair for BN leaders to expect party machinery to answer them unless government opens up to us,” he said.

Why isn’t the government open to the people? The rakyat? Opening up to cybertroopers is the wrong move. You’re either open or you’re not. There’s no middle ground.

With Malaysians increasingly being found online – 11.3 million on Facebook as at the end of last month – and Malay and English print circulation dropping, Umno Youth sees a return to 2004 as crucial, a belief shared by Umno vice president Datuk Seri Ahmad Zahid Hamidi last month.

Circulation drops. Why? Mainstream newspapers are really only good for wrapping up packets of nasi lemak. Or collecting dog poop for proper disposal. I can already see where the bullets (money) is going to be spent next. Facebook is going to make a lot from the current ruling party in Malaysia.

“Our target by the next election is that all division youth chiefs are on Twitter and every state have their own cyberwar team,” said Tun Faisal.

One wonders why? Every youth chief is on Twitter, yet they quote a Facebook stat above. The usage of Facebook outperforms the usage of Twitter by probably a magnitude of 10x. Tun Faisal is on Twitter, and has a blog.

What is interesting is that every state will have their own cyberwar team. Funded by bullets. How will the opposition deal with this?

I’m excited to see the fight taken online. At the same time, I wonder how fair the fight online will be. Money can buy you leverage in this Web 2.0 world. Maybe the opposition just needs to get really creative.


i