Categories
advice and tips finance

Missed Allgiant Air ALGT

Reading Time: < 1 minute

I was doing some soul searching on investment recently. And I came across this Allgiant ALGT. I traded it on its IPO at $25 12-08-2006. It’s trading at $158 as of today 01-13-2015 (about 8 years later). Why did not hold on this winner while trading the other losing stock named Heelys???

(click on the image to enlarge)

ALGT_ipo_120806

ALGT_price_01_13_2015

Categories
advice and tips kids

Couple deals : Charmin bath tissue and Huggies diaper

Reading Time: < 1 minute

Charmin and Bounty at Target
$4.50 off regular price for 30 double rolls, $5 eGiftcard when one buy 2 (can mix and match). Here is the link to get to Charmin. Use Target Redcard to get 5% off and free shipping.

Huggies Snug and Dry Plus at Costco
$6 off large box (was $38.99 for size 3), here is the link to size 3. I ordered one box a week ago, and it arrived today. So far it seems work for my younger daughter. I recall we used mostly this diaper from Costco for our elder daughter. This promotion runs till Jan 25. Limit 2 boxes per order. Costco offers free shipping for this.

    Categories
    advice and tips kids

    Diapers, diapers, diapers

    Reading Time: < 1 minute

    Baby Sophia is almost 5 months old, and she is on size 3 diaper (16 to 28 lbs). I recall she was born at 7 lbs and 3 oz, quickly reach 10 lbs which also outgrew new born size diaper. Similar thing happened to size 1 diaper, she reached 14 lbs at 2 month mark, and now we have both new born and size 1 surplus diapers 🙂

    Things slowed a bit since 2 month, she was about 15.5 lbs at 4 month checkup. Nonetheless we used all size 2 diapers (12 to 18 lbs), and started size 3 (16 to 28 lbs).

    As to diaper brands and type, we used huggies natural new born, pampers swaddler new born, huggies snug and dry size 1, a store brand size 1, huggies little smuggler size 2, and pampers swaddler size 3.

    Thinking switch to huggies snug and dry size 3 in the future, that’s what our elder daughter had most of time, and it sells for $39 per 210 at Costco. A bit cheaper than pampers swaddler.

    Categories
    advice and tips Fun

    How to set bluetooth on Toyota Sienna minivan

    Reading Time: < 1 minute

    2012 LE, basic radio.

    Set the language from Spanish to English
    (it says Corolla, but it works for Sienna as well, as they have very similar audio equipments).

    Setup bluetooth

    My tip: so I followed the instruction 1 and set up bluetooth audio for my iPhone 5s with the minivan, and later on I tried to add the bluetooth phone, and I was not successful during the step where the phone tries to connect to the bluetooth audio (car multi-media). The fix is to forget the car multi-media in the iPhone, and set up again for both phone and audio (“device type” in the car audio prompt).

    (update 03-12-15) I had to pair my iPhone 5s bluetooth again with sienna, after iOS 8.1.3 update. Forgot this “forgot the car multi-media” tip initially 🙂 Note again select “phone setup” and “interior bluetooth audio”, this way it will work both for phone and audio.

    Categories
    Fun

    Montessori at home

    Reading Time: < 1 minute

    IMG_4289.JPG

    The new math puzzle bought from Amazon. Since serenity no longer goes to Montessori school, we got this for her. The item costs $44.99 at Amazon, and costs about $10 at Taobao in China 🙂

    Categories
    advice and tips finance

    Trying to be frugal, ready for Kindergarden

    Reading Time: < 1 minute

    I have been in “austerity mode” since late Sept., and so far my main approach is “shop at Aldi, and global food market”. I found Aldi has most of the grocery and basic daily stuff, while global food market has the fresh veggies and sea food. Occasionally I shopped at Sam’s club, Target, Trader Joe’s and Chinese grocery store for specific stuff: bottle water, paper towels and fruits at Sam’s, Hawaii King rolls and baby diapers at Target, pot sticker and beans at Trader Joe’s.

    Aldi has changed quite a bit in recent years, when I first came to the US as a “poor” graduate student, sometimes we joked Aldi is for the “poor people” (it seemed we excluded ourselves”). Not anymore. I found a lot of people shop at Aldi nowadays, in the Aldi near our home (Olive and 270), which is previously a Borders’ book store. It was mostly busier when I go there. Sometimes I go there too much (like 3 times in one afternoon). It was almost like some people indulge on the trip at Costco. I do have the Costco membership, but found myself have not been there for months 🙂

    On a separate note, my elder daughter is 4 years and 9 months old, and we are getting ready for her to go to kindergarden in public school next fall. The school will be very close to our home (school boundary map). Our younger one, is already 4 and half months, and can stand her head up. In this holiday season, there are always friends gatherings, and we always talked about kids, education etc.

    Categories
    Site Info Software development Web

    Moving wordpress from shared host to aws ec2

    Reading Time: 2 minutes

    I did an experiment recently trying to move my wordpress website from a shared hosting site to Amazon aws ec2 micro instance (t1). The migration was mostly successful, I did not make the move eventually due to some technical and non-technical reasons. Nonetheless, I would like to share some of the lesson I learned from this process. I followed this blog post form smashmagazine as a blueprint for “moving wordpress”. Note I already have ubuntu installed on ec2, and has setup keys for my laptop.

    1) Setup wordpress on new host. This is the link I followed to setup wordpress on ubuntu on my aws ec2. Another useful article is here.

    2) Upload files: I used FileZilla (SFTP) for uploading the files. Here is the link regarding setup keys. Note the file permission is also very important to make wordpress work, which is especially important when moving the sites. More on this later.

    3) File permission, one thing I noticed quickly is I don’t have any writing privilege after moving, e.g., update plug-ins etc. Did google quite a bit, and tries to change the file permissions using FileZilla. No luck. Eventually I read this from wordpress official doc. Quote:…(a) file ownership: all of your WordPress files must be owned by the user under which your web server executes. In other words, the owner of your WordPress files must match the user under which your web server executes. The web server user (e.g., “apache”, “web”, “www”, “nobody”, etc.) is not necessarily the owner of your WordPress files…

    I did “ps -ef|grep httpd” at my ubuntu server, and find the user for apache web server (not “root”). And changed the file owner to this user (via “chown” command).

    4) MySQL server crash: I found this happens quite often (as often as once every 3 days). Turns out to be a memory problem for the t1 micro instance and apache web server and mysql fights for the memory, eventually mysql lost. The solution I found is add virtual memory to the system, and reduce the memory requirement for mysql in config file. Eventually I was able to have mysql run as long as 13 days without shutting down. Not ideal, but still meaningful improvement (13 days uptime vs 3). Another idea, people talked about is use a lightweight http server such as this one.

    5) MySQL database migration. Found out for large database, php export will not complete, and will end up with some junk html in the database file (.sql), it will fail during import. The workaround is do the export and import in the mysql command line. But I still have one problem with database, it appears the Chinese character got lost during this process. This problem along with the mysql server problem mentioned above, and the relative higher cost of AWS compared to shared host, made me decide to not switch at this time.

    Other links:
    Setup php/mysql, and phpMyAdmin.

    Craig Emerson has an up-to-date article on this topic WordPress CloudFront CDN Setup Using W3 Total Cache.

    Categories
    finance

    Not an easy week

    Reading Time: < 1 minute

    It’s Friday again. I had to admit this is not an easy week for me. After a lot of back and forth, I finally decided to withdraw my elder daughter from Montessori school, mostly due to financial reasons. As a father, I felt I am giving up something for my daughter due to my limited earning power. Both of us liked the school, and we have been there for a little over 3 years since she was 1.5 years old. From toddler house to pre-school. She had some good friends there. My original plan was to bite the bullet and stay there until next May, but due to some costs associated with new baby, I decided to look elsewhere. I don’t feel comfortable to put all this in a credit card, and begin to pay back until next summer. This also bring up another point, about emergency savings, and life style choice. I felt I did not do my best job in this aspect during last 3 to 4 years. Now I learned the lesson the hard way. I guess there are two sides of an equation, save more (which is usually more meaningful), and increase earning power (not as efficient as government took a cut from any increase in paycheck).

    I will share more when I give it more thought on this topic.

    (11-5-14) Yesterday was serenity’s day 2 at new school. My wife already had second thoughts on this 🙁 But we think at this moment let’s stay put, rather than rush to conclusion. There is an old Chinese saying that is applicable here: it’s easier to get from poor to luxury, rather than the other way around. (need better translation here 🙂

    Categories
    Fun

    Big baby, little baby

    Reading Time: < 1 minute

    My elder daughter Serenity finally used to sleep in her room recently. The trick is I decided not to co-sleep with her. Also, she still needs her mommy watch her falling asleep, which usually takes an hour or so, since she gets up sometimes: ask me questions, etc. (delay tactic).

    Little baby Sophia is getting big, she weighs about 14 lbs in 2 month check up, which doubled from her birth weight. She likes to sleep on my shoulder. Today my coworker told me one reason is she like to feel heart beat. Also sometimes she sucks my neck or upper arm. It’s normal in baby growth, I just found out from web, although I am second time dad. Never stop learning.

    Categories
    iPhone app

    Some tips for submit updated app to iTunes store post iOS8

    Reading Time: 2 minutes

    With (before) the release of iOS8, I noticed the iTunes Connect web interface has also been changed. But today is the first time I submit my app (update) to the store for last few months. There are some changes.

    1) First, there is no “ready to submit app” button in the iTunes Connect, instead we just create a new version at ITC;

    2) After that, we load the app to the app store, I used good old Xcode 5.1.1, which is the minimum version Apple requires now. Now here is a tip when submit from Xcode organizer, when I run “validate” before submit, it says I could not change “bundle” number, which I have not. Looking more carefully, it appears the good old Xcode 5.1.1 got confused with which app profile to use, and it picked the wrong one all the time. So I manually corrected it. After that I was able to upload the binary.

    3) There is one more step, the actual “submit for review”, in the past the step 2) is sufficient. Now there is this extra step. In this step, it will ask questions similar to the questions being asked when we do “ready to submit” in the ITC in the past (before this change). In my case, since the app has “iAd”, it insists me check the Ad identifier selection, and after I check that, it let me submit (note I will try couple times, eventually I started over). But it appears not let me check “no” in the Ad section. This appears to be a glitch, I was able to submit my other 2 apps without any problem when checking no for the Ad identifier. There is another glitch though, that is I have to quit the app, before pick the newly added build, and submit for review. In summary, it appears ITC web page needs some work.

    I will report more when/if I find anything new next time I submit app update. I noticed there is new marketing collaterals such as the preview video, and screenshots for 4.7/5.5 inch screen. My gut feeling is those will be required after this transition period. So hurry up if you have some app or update to release 🙂

    (PS, 09-28-2014) One more thing, I noticed if I wanted to reject a binary (a build in new term), I need to create a new version. In the past, I could upload a newer binary with same version number. I think it’s probably a good idea to limit this back and forth. Note Apple added testFlight capability too. It should help app testing.