YiBi's Life|Live Log

Nucleus Connect Is Hiring

NC is hiring a Senior Associate Engineer/Associate Engineer for IP Core and Systems Planning and Implementation.

Fresh poly grads are welcome to apply. Don’t worry too much about the requirements for MPLS/BGP etc. Those can be picked up during OJT. The stricter requirement is on the system portion, ie Linux admin, scripting in Python, Perl.

http://www.jobsdb.com/SG/EN/Search/JobAdSingleDetail?jobsIdList=JSG400003000060610

The Cat That Waits For (A) Lift

There’s this very interesting cat in my neighbourhood that knows how to take the lift, or rather waits for a lift to the upper floors. It will usually wait at lift door or at the side. When someone presses the lift button, it will move to the front of the lift door to enter the lift. Once the lift stops at the first landing, it will exit.

Similarly, it will wait for the lift to come back down to the ground floor. Smart feline ya?

Winscape – Motion aware virtual window and scenery

This is an interesting piece of work. Imagine waking up to sceneries rom various parts of the world in the morning, instead of staring at the opposite HDB block….boring.

There’s an IPhone app to act as the remote, and the images and app to control the perspective runs from a Mac. It’s also mentioned in the Winscape website, that a Wiimote can be used to track the motion.

iPad banned from several American universities over ’security’ concerns

It’s pretty surprising. I thought the IPad was intended for the education market when news of their collaboration with a renown published was leaked out before their launch. So now where is the IPad heading?

iPad banned from several American universities over ’security’ concerns

Posted using ShareThis

Google Launches New Social Networking Platform – Google Buzz

Google Buzz

Google Buzz

Google launched Google Buzz, a social networking platform. This is cool, because I’m an avid user of Google. But I’m wondering at the same time, what’s going to happen to Google Wave? The functions seems to overlap, although Wave seems to be more cutting edge.

Right now Google Buzz is only available on Gmail. I wished they had it on Google Apps for Your Domain as well. I host my email, docs, calendars etc on Google using my own domain. Unfortunately, I can’t use Buzz with my own domain. Same goes for Wave when it was launched.

Google Buzz *IS* available on Google Apps For Your Domain! For some reason it didn’t show up in the mail interface on the PC, but it works on my IPhone. Cool! That means now I can have all my stuff on Google. Mail, Calendar, Docs, Picassa.

Find out more about Google Buzz at http://buzz.google.com

And no. No IPhone app for Google Buzz yet. Probably never.

IPhone Tethering – Use and Abuse!

This is the geeky sequel to my last Linux to IPhone tethering episode where we used and abused the IPhone tethering function.

Some background, I’m one of those people who contracted (and got stuck) with the 50G SingTel Mobile Broadband Plan before the days of 12GB IPhone plan. My usage was about 4G per month, so none of the plans was suitable for me at that time.

Anyway, that aside. For some reasons my team had to work in a place where we had no internet access while we are building the network for high speed internet access. What irony! The only systems engineer in the team (me) decided that I had alot of data to spare, so here we go…use and abuse!

Configuration’s simple. First you have to setup tethering as per my previous post on IPhone tethering. Once you are done with that, do the follow steps. And again, it’s a 5 minute quick hack.

1. vi linux-router.sh

2. Paste the following into the shell script

#!/bin/bash
/sbin/ifconfig wlan0 192.168.0.1 255.255.255.0
/sbin/iptables -t nat -A POSTROUTING -o bnep0 -j MASQUERADE
/sbin/iptables -A FORWARD -i bnep0 -o wlan0 -m state –state RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A FORWARD -i wlan0 -o bnep0 -j ACCEPT

3. Save the file.
4. chmod 700 linux-router.sh
5. ./linux-router.sh
6. Done!

My colleagues are connected to a WIFI router, hence the use of wlan0 as the “inside” interface. bnep0 is the “outside” interface connected to the IPhone via bluetooth. All the machines point to my laptop as the gateway, which bears the IP address 192.168.0.1. All of them are NAT’d out from the outside interface.

I have 2Mbps for my plan. Good enough for the team to check email and do some simple web browsing for information.

There are other things you can do like transparent proxying so that you save abit of bandwidth.

Leave a comment if you have any questions on the configurations. Have fun!

Linux to IPhone Tethering In 5 Mins

Tethering from a mobile phone is not new to me. I started from the days of having to script the ppp chat scripts to wvdial to finally having Network Manager recognizing my mobile phone as a 3G modem.

IPhone is new. I have been reading about tethering on Linux as soon as I bought it. Painful ways, jailbreak, run proxy etc etc etc.

Linux didn’t recognize the IPhone as a modem when I plugged in via USB, so it’s only bluetooth now. I tried the tethering of my Mac first. With bluetooth, I found that tethering actually happens over the PAN (Personal Area Network). That should work with Linux, and so it did.

These are steps for me to get tethering on Debian in 5 mins.

1. Run “sudo aptitude -y install blueman” in Debian.

2. Logout and login again. This is for the dbus and stuff to react correctly when you turn on your bluetooth later on.

3. Turn on your bluetooth or insert your USB bluetooth dongle. A bluetooth icon should appear in your system tray or whatever you call it in Gnome. That’s Blueman.

4. Discover and add your IPhone in Blueman

5. Turn on Internet Tethering under “Settings –> General –> Network”. Choose Bluetooth.

6. Go back to your Blueman, click on it and you should see your IPhone. Right click on your IPhone and select “Network Access Point”

7. And you are done!

That’s it! Simple right? No hacking, no jailbreak!

Do drop me a comment if anything’s unclear. The same solution should work with any of the modern distros like Fedora and Ubuntu.

Bone Marrow Donor Programme – The Stem Cell Harvesting Procedure

After signing up as a donor for the Bone Marrow Donor Programme, I decided to find out more about the stem cell harvesting procedure that was described to me.

The alternative procedure is called apheresis, which is the collection of stem cells by filtering the blood for peripheral (circulating) blood cells (PBSC).

I extracted the following from the the url below:

http://rarediseases.about.com/od/rarediseasesb/a/bmt05.htm

Sources of Bone Marrow Stem Cells

  • Bone marrow harvest: Collecting stem cells by taking them directly out of the bone.
  • Apheresis: Collecting stem cells by filtering the blood for peripheral (circulating) blood cells (PBSC).
  • Umbilical cord blood: Stem cells are filtered from blood in the umbilical cord after a baby is born.

What the Donor Experiences

If stem cells are collected by bone marrow harvest (much less likely), the donor will go to the operating room and while asleep under anesthesia, a needle will be inserted into either the hip or the breastbone to take out some bone marrow. After awakening, he/she may feel some pain where the needle was inserted.

What the Recipient Experiences

Serious problems can occur during the time that the bone marrow is gone or very low. Infections are common, as is anemia, and low platelets in the blood can cause dangerous bleeding internally. Recipients often receive blood transfusions to treat these problems while they are waiting for the new stem cells to start growing.

The majority of marrow stem cell transplants are made using PBSC collected by apheresis, since this method has better results for both the donor and the recipient.In most cases, a donation is made using circulating stem cells (PBSC) collected by apheresis. First, the donor receives injections for a few days of a medication that causes stem cells to move out of the bone marrow and into the blood. For the stem cell collection, the donor is connected to a machine by a needle inserted in the vein (like for blood donation). Blood is taken from the vein, filtered by the machine to collect the stem cells, then returned back to the donor through a needle in the other arm. There is almost no need for a recovery time with this procedure.Bone marrow transplant is a difficult procedure to go through. Usually the person receives high doses of chemotherapy and/or radiation to eliminate whatever bone marrow he/she has left and make room for the new marrow transplant. Once this is done, the new stem cells are put into the person intravenously, like a blood transfusion. The stem cells will then find their way to the bone and start to grow and produce more cells (called engraftment).

Here’s video about how a person’s life was saved with stem cell donation from another person. The donor gives a first hand account of how the aphresis procedure was done and what it was about. And of course, at the end of it, the gratification that comes from saving another individual’s life.

Visit the Bone Marrow Donor Programme to find out more about signing up as a potential donor.

Please share this with your friends.

A Serious Misconception About Bone Marrow Donation!

I learnt something very important today. There are 2 methods of harvesting stem cells for transplant.

1. The traditional way of harvesting bone marrow from the spine pelvic bone. The process, as depicted on TV, looks like a painful one. And indeed, there will be some post-op pain on the lower back.

2. Stem cell harvesting. This process is similar blood donation and is almost painless. The difference from blood donation is that the process takes 6 hours, but it can be broken into 3 sessions.

I don’t know about the rest of you, but I’m totally unaware of the 2nd method of harvesting. Frankly speaking, the thought of sticking a long needle into my spine gives me 2nd thoughts about donating bone marrow, even for a worthy cause.

I spoke to the folks from the Bone Marrow Donor Programme today after my blood donation. They don’t get many people who are even willing to talk to them, let alone signing up as volunteers. Many people have the misconception as I do.

I’m glad I learnt about this today, which removes all misunderstandings. So, I signed up as a potential donor today. I hope this clears the doubts in the rest of you. Do consider signing up as a donor for potential donation. All they need is to prick your finger and take a sample to register you as a donor.

Realistically, the chance of a match is not very high, so we might not be called up in our whole lifetime. But if in the event that anyone is being shortlisted, a life would probably be saved.

Please share this piece of important information with your friends now.

More details of the Bone Marrow Donor Programme can be found at:

The Bone Marrow Donor Programme

These are the dates and locations for the upcoming donation drives.

More dates can be found here.

23 Jan 10
Donor Recruitment : Tampines Central CC

24 Jan 10
Donor Recruitment : Eunos CC

26 Jan 10
Donor Recruitment : Republic Polytechnic

31 Jan 10
Donor Recruitment : Kolam Ayer CC

7 Feb 10
Donor Recruitment : Gek Poh Ville CC

Certificate Error When Building Your First IPhone App?

You probably ended up here while searching for the following error message in XCode when trying to build and run your first IPhone app :

Code Sign error: The identity ‘iPhone Developer’ doesn’t match any valid certificate/private key pair in the default keychain

Before you start googling and attempt to move certificates all over, or spend $99 USD getting the developer account check the following:

Make sure you are building and running for the simulator and not your IPhone device. This is rudimentary but easily missed.

I ran into this error upon compiling a test ‘Hello World’ app. So I’m pretty sure there are more people out there running into this error.

Xcode Dropdown.png

XCode defaults to building and running on the IPhone device, which is not possible until you have a developer’s account. Building and running on the IPhone requires the code to be signed before building, which results in the error that you have gotten.

I hope you have found this before going for the last resort of subscribing for the developer’s account. And if you already did, happy programming! Hope to see your app on the App Store soon!