Closing 'Upcoming Events' page

For many years now I had maintained a curated list of upcoming events on this blog. This was in response to problem of knowing what events are happening in South East Asia. Later I expanded the list to include events in Asia and Africa. The reason for this closing is due to problems with service that powered this events page. Perhaps one day I'll restart my curation of events when I find a suitable alternative service.

Screenshot of Upcoming Events page

Build Retro Gaming Console with Raspberry Pi PiPlay Gaming OS

In this post I take a journey into the past and relive the days of arcade games. My colleagues at the Hackerspace Phnom Penh decided to make a game arcade using Raspberry Pi running PiPlay (formerly called PiMAME) and couple of old Xbox controllers.

What you need?

  • Raspberry Pi
  • 8GB or 16GB SDCard
  • USB Wifi adapter
  • Two Xbox Controllers
  • Keyboard
  • Powered USB Hub
  • Female-to-Female USB cable
  • HDMI Cable
  • TV

Download the PiPlay 0.8.0 Beta 6 image. The Raspberry Pi can't power all peripherals. You'll need a compatible powered USB hub to power both Raspberry Pi and Xbox controllers. The additional USB slots on the hub could used to connect keyboard during configuration.

# Download the latest PiPlay SD Card.

$ unzip ~/Downloads/
Archive:  ~/Downloads/
  inflating: piplay-0.8-beta6.img

# Write to card using unetbootin or dd command. Be Patient, This process takes some time.
$ sudo dd if=./piplay-0.8-beta6.img of=/dev/mmcblk0 bs=1M

# Boot the Raspberry Pi. The default username and password is 'pi' and 'raspberry'.
# Use 'raspi-config' to expand the file system.
# (Optional) While you are at it, You might want to configure timezone change keyboard layout as well.

$ sudo raspi-config

# Configure Wifi using command-line or visual tools

# If you don't get any sound over HDMI: Try adding the following line to /boot/config.txt

$ sudo nano /boot/config.txt

#Download some game ROMs and upload them to Raspberry Pi. 

More instructions about the setup are on my Gaming Console with Raspberry Pi PiPlay page.

Game on, Fight!

Fixing Nexus "Red light of death"

Encountered the LG Nexus "Red light of death" problem this morning. The battery had completely discharged itself, trying to charge with power adapter didn't work. Instead of familiar charging animation, the phone had a tiny red light. Web searches suggested to remove the battery and charging it, the process similar to charging a dead car battery using jumper cables. The LG Nexus mobile phone has an internal battery and removing it takes bit of work.

Fortunately I found this forum post that provided a simple solution.

Guys this is complete overkill. There is a documented process for fixing the red light of death. Basically you need to do a battery pull and then let it charge for awhile. HOWEVER, there is a way of simulating a battery pull without actually doing it:
  1. Unplug phone from charger
  2. Press and hold the volume UP button plus power button for 60 seconds.
  3. Release buttons.
  4. Plug into charger.
  5. Wait about an hour for it to charge.
That's it. This is a documented and published fix from LG and Google. The pressing of the buttons does something to simulate a battery pull - probably some sort of flushing of any remaining current out of the phone or tripping some sort of e-fuse like feature.

That fixed the 'Red light of death' problem for me. Hope this helps for you too!

Quake style drop down terminal for Gnome-Shell

Have you ever craved for Quake style drop down terminal?. In this post I'll share how to setup one on Gnome-shell desktop. Let's get started by installing the Drop down terminal extension from Let's test if it works. Press '~' to active the drop down terminal. Usually U assign 'Alt+F12' hotkeys on my computer. Here is the video of drop down terminal in action.

Let's customize the drop down terminal to launch in full screen mode. In the extension preferences I have set the terminal height to 800px. You have play around with transparency settings to show the underlying windows.

Gnome-shell Drop down terminal extension settings

Another good customization is to launch tmux. You can do this by setting custom command to run instead of launching the default shell.

That's it folks! Now you can enjoy the Quake style drop down terminals on Gnome-shell. Here is video of my setup.

Phnom Penh: A Cultural History

Few months after moving to Phnom Penh, I started to read Milton Osborne's Phnom Penh: A Cultural History. The book really helped me appreciate the city as I walk through its numerous streets and alleyways.

Milton Osborne writes beautiful prose that takes one back to beginning of Cambodia's capital city and its troubled history. I would highly recommend this book to travelers visiting Phnom Penh, Cambodia.

Phnom Penh: A Cultural History (Cityscapes) by Milton Osborne

As a one-time resident of Phnom Penh and an authority on Southeast Asia, Milton Osborne provides a colorful account of the troubled history and appealing culture of Cambodia's capital city. Osborne sheds light on Phnom Penh's early history, when first Iberian missionaries and freebooters and then French colonists held Cambodia's fate in their hands. The book examines one of the most intriguing rulers of the twentieth century, King Norodom Sihanouk, who ruled over a city of palaces, Buddhist temples, and transplanted French architecture, an exotic blend that remains to this day. Osborne also describes the terrible civil war, the Khmer Rouge's capture of the city, the defeat of Pol Pot in 1979, and Phnom Penh's slow reemergence as one of the most attractive cities in Southeast Asia.

About the Author

Milton Osborne is an Adjunct Professor in the Faculty of Asian Studies at the Australian National University, Canberra. He is the author of nine books on the history and politics of Southeast Asia.