Archive for September, 2007

Plug: Asterisk Philippine Users’ Group (APUG)

Thursday, September 27th, 2007

APUG

For those interested in VoIP, Asterisk, IP-PBXs, and all that hyped technology, feel free to join the discussion at APUG. Shiny Asterisk logo by yours truly.

Asterisk is the world’s leading open source telephony engine and tool kit. Offering flexibility unheard of in the world of proprietary communications, Asterisk empowers developers and integrators to create advanced communication solutions…for free.

Newbies, developers, hardware vendors and trolls (gulp!) are very much welcome.

Bookmarks for 2007.09.27

Thursday, September 27th, 2007

I’m a lefty. Now you know.

Tuesday, September 25th, 2007

My mouse is acting up. I think it got squished in my bag. It takes a couple of clicks before it makes a real click and if it did, it would be a double-click.

A4tech added this little button that most of my friends like to call a nipple. This button is supposed to make your life easier by doing the double-clicking for you.

At first I thought it was a stupid idea. But later on, I got used to it when navigating through file managers (I don’t like single-click activated icons). It’s pretty much second instinct to use it. It’s just about to be as useful as the wheel.

I’m a poor boy from a third world country and I can’t afford a new mouse right away so I’m putting up with my current mouse by switching to left-handed mouse. After all, I’m a real lefty and I got used to it in, err, 5 minutes (Am I ambidexterous? Yay!). Besides, I hardly even need the mouse in most of my tasks.

Wow, I’m this geeky. I actually wrote an entire entry about a friggin’ mouse!!

Kagaw for A Night (Photo)

Tuesday, September 18th, 2007
Kagaw for a Night
Originally uploaded by jp_loh.

Photo stolen from Faye of Kaze.

Bookmarks for 2007.09.17

Monday, September 17th, 2007

Walis: Some sort of batch script thing

Saturday, September 15th, 2007

Ever tried deleting a bazillion of files in one directory and got an “Argument list too long” error?1 Find too slow?2

A long time ago, I wrote a short script that solved these kind of problems. I call it Walis (broom or sweep in Filipino). This script will recursively scan a directory and output the files with your command (and even add output redirection).

To use this script to delete the files, type walis /some/path "rm -f" | sh. To move files in separate directories into one, type walis /some/path "mv " /another/path/ | sh.

The script is very simple. You can modify it to check a file’s timestamp or do some string manipulation (useful for renaming).

I’m too lazy to take a look at bash so this is written in PHP. You just need the command line version of PHP to get this to work.

[Download]

1 We found log files that averaged in 4KB in size. They were dumped in several subdirectories and rm -rf couldn’t do it.
2 Tried find to delete old log files but it was so slow that it would’ve taken 3 months to complete the task. But an application was spitting out logs at a rate so fast, it would fill up the partition in a month.

Kagaw for A Night

Saturday, September 15th, 2007

I’m subbing as bassist for The Kagaws tonight. I’m prepared to lose whatever dignity I have left (my apologies to the band). Admission is free (Of course. I is no rockstar.).

3 S.O.M.E.

Maru Bar
G/F Strata 2000 (Yes, the one that caught fire last week)
Emerald Ave., Ortigas Center
Pasig City

Featuring performances by:
Duster
Electro Momma
Flicker
Freefish
Fusion
Hija
Kampai
Kaze
Mobster Manila
The Kagaws
Rubber Pool
Valve 8

I haven’t played in, err, six months. My hands are probably rusty already.

Unlocked iPhones Hit Asia

Monday, September 10th, 2007

If I’m not mistaken my radar tells me that it’s already here locally (Philippines). My gadget master friend in Hong Kong told me that unlocked iPhones have been in the HK market for about a month and a half already. It originally came out with a price tag somewhere around USD2000, and dropped to USD1200 now.

You can shave off a hundred dollars by buying from the US and get it unlocked for USD800-USD900. Locked or unlocked, it’s still not economical but a couple of Apple zombies still bought them.

I also found out about this Turbo SIM that disguises your carrier’s SIM as an AT&T SIM. It seems that Bladox stopped selling it. All is not lost though. Thanks to eBay, you can still get one with prices averaging at USD200.

Links

Bookmarks for 2007.09.08

Saturday, September 8th, 2007

Vitória Assis Brasil

Thursday, September 6th, 2007
Vitória Assis Brasil
Originally uploaded by Patricio Orozco-Contreras.

She’s too captivating that she deserves another picture to be posted here.

On a side note, the Flickr API sounds like something fun to play with. Anybody up for a little experiment with wxPython?