Tuesday, September 16, 2014

Django and Python

This was written in 2011.

I've been working on a website since September 1st of this year (2011). It's been slow going. I don't know why. Here I'm going to try and describe why I'm working so slowly.

Website design and development phases
1. Problem
2. Design
3. Code
4. Test
5. Deploy

Design work is hard! It shouldn't be so hard but it is. There are design principles, i.e. rule of thirds, for visual design but it's hard translating these guidelines into real pages. It takes years to be a good designer (let alone a great one) so it shouldn't surprise me that it's taking so long.

What is the problem space? I'm trying to build an auction using Python and Django. Auctions are relatively simple to comprehend. So for some reason I'm apprehensive about hacking the site together. I feel it has to be designed. I feel that I don't know the problem space well enough, or the tools well enough, to just jump in. I'm not intellectually ready.

Python and Django are great tools. I love them. But I don't know how to translate problems into Python and Django solutions. That's my problem. I'll give you a simple example. An auction like eBay allows you to browse products and services before you bid. So how would you do that in Django? Great thing about Django is that it automatically comes with an authentication system. An admin framework which allows people to add content quickly (while the other parts of the site are being built). I want to utilize this. I want my users to be able to browse first, login later. I want them to be able to post items (after a login). The Django user model describes, admins, 3rd party, users. 3rd party may update content through the admin site. My use case (auction) changes this user model. Why should I hack Django if it doesn't provide me what I need?
How do I re-define the user model? And I don't want to write one from scratch. I love the idea of a framework but the problem is most of these frameworks are not flexible enough to adjust to the problem domain.


Friday, December 27, 2013

Marketing 101

I haven't posted anything on my blog in ages. Life happens.

I'm looking to do some marketing. Don't know why other than because I want to draw some attention to things I'm interested in and looking to have a web presence through Twitter, Facebook and this blog.

First things first. Twitter.
Twitter is about the meme. 140 characters or less to send a message to cyberspace.

Obviously, storing a link within a tweet would allow a meme to make it back to a blog which can elaborate on an idea.

Facebook is used for fan pages.

Sunday, November 20, 2011

Blackberry Playbook

I ordered my Playbook through Walmart on Thursday November 17 at 7:40 am. I wanted to buy one only since Monday when I went to Bestbuy to check out the models available. My co-worker told me about a huge promotion on these Playbooks and I knew I had to buy one (I was ready to buy a new/used one from kijiji at the time). Lucky for me Walmart was accepting orders (online) for the 32 GB and 64 GB models. I picked up the 64 GB one.

Why Playbook?

Summary:
- style (My preferences: matted finish, basic/elegant style, 7" screensize so that the device is portable)
- functionality (Full multitasking, but will it provide all functionality I expect?)
- UI (I discovered that the Playbook doesn't have a home button! Hey, that's cool!)

Style. iPads are beautifully designed. Blackberry's are designed with different tastes in mind. Blackberry's are designed by engineers (for an audience that has tastes that are more mechanically inclined), iPads are designed with the creative professionals in mind. I prefer an elegant device to "use" not to "admire". That is why paying the premium for the iPad/iPhone, etc. is counter to my nature.

Functionality. Ideally all these devices are the same. Yet they are not. So far, I've owned the Blackberry for 2 days and for 2 days I have encountered a number of issues with the device that are easily found in the user forums for the device. Here I'm disappointed. Of course I didn't do a full comparison and I knew that I was taking a chance but ... style trumped functionality. So below I'll highlight some of the experiences I have had with the Playbook so far.

UI. At first sight I didn't know how to get out of the photo app on the Playbook. After playing with it for a few moments I got the hang of it and found the menu/context switch black border of the Playbook to be quite useful and intuitive. Now, I'm of the mind that this design feature of the Playbook is a winner. No more home buttons. It makes so much sense. And it was Blackberry to initiate this design feature. Bravo!

Issues, complaints, positive design features:
Pre-purchase:
1. No home button only gestures, +
2. No email/calendar/contact list/task, -
3. Multitasking, +
4. Lack of apps, -
6. Excellent browser experience, +
7. Style of OS is bland and less attractive (than iOS, Android), -
Post-purchase:
1. Setup app. The simple "swipe here to continue" action wasn't intuitive. It didn't have the cues that you need to deduce what to do. Apple iPhone/iTouch/iPads are better that way, -
2. Initial power-on and setup lead to straight-away, downloading and installation of update software for the OS (v. 1.07.3373), which forced me to plug the power (didn't like this), -
3. Initial plug-into PC and the automatic installation of Desktop Manager (provided by the device) is an excellent idea, +
4. Initial installation of Desktop Manager stalled the first time (wouldn't complete), had to re-install, -
5. Cut-and-paste of video/audio/docs/pictures, etc. is easy and intuitive, far better than the forced syncing, i.e. Apple iTunes lock-in, +
6. I experienced problems after the re-installation of Desktop Manager. After the initial adding of files to the device the Desktop Manager stopped working, -
7. Wifi stopped connecting also (similar time as 6.) is it due to low power state?, -
8. Blackberry bridge software was easy to use and straight-forward, +
9. Bluetooth connection with other devices (beside a BB smartphone) incomplete at the moment, i.e. headsets don't work, etc., -
10. Screen is nice, haven't tested HDMI yet, +
11. No google apps, -
12. Switching to another app while listening to music continues to playback music, switching to another app while listening to a video does not continue playback, -
13. For 12. at least the video pauses, +
14. Video paused and video player exit does not remember your last position in the video the next time you load it, -
15. Playbook development offerings looks good; native, Android apps, Webkit (HTML5), MIDP (traditional BB smartphone apps), +

Use Cases:
1. Powerpoint presentations (requires micro-HDMI cable to HDMI, and an adapter from HDMI to VGA, I would like to see the quality of the picture)
2. As a media server, playback media to a large screen television
3. Book reader (will I enjoy reading from the device? so far so good)
4. Audio player (good enough? playlists, etc.)
5. Alarm clock (looking for the right clock, does it need to be plugged in to function correctly?, internet radio to wake up to? will it announce the weather?)
6. GPS device (so far I don't really like Bing Maps, too slow to load)
7. RSS reader (how convenient is it to receive feeds?)
8. eMail/Calendar, etc. (they need to make this native on the device)
9. Chinese input, learning tools, dictionaries, etc.

Wednesday, August 10, 2011

Authentication

My work involves monitoring production systems (Information Technology) with a medium sized company. I've been supporting CA eHealth (was Concord eHealth) and EMC Smarts for 4 years now. The problems of monitoring are interesting. After 4 years I figure I would be bored with the work. But after 4 years I'm still plugging away hoping and working to make the system better. It's funny because the problems of monitoring (network management) isn't so different from other problems in the Internet community (which I'll explain later).

This past week I've been investigating implementing an integration script so that a login to my application (EMC Smarts) would authenticate to an external authentication authority. EMC Smarts uses a flat database file called serverConnect.conf (same as /etc/passwd on UNIX for instance) for authentication. It works but there are problems with it.

The problems are:
1. For UNIX users, Smarts allows a field in the serverConnect.conf file. So if you can login to the host (system console), i.e. there is an entry in the /etc/passwd file, then Smarts will authenticate to it (libcrypt.so more on this later). This is fine but what if the host uses LDAP? Or if NSS contains an entry such as:
passwd files ldap
It won't work with Smarts.
2. For Windows users, if Smarts is installed on a Windows host then "user@domain" would authenticate to AD (as long as the host was a member of the domain
3. No cross-platform central authentication authority except for the flat file
4. Smarts application doesn't allow users to modify their passwords

The good part is that EMC provides a script as a proof-of-concept that allows you to integrate with another authentication authority.

So the process for me was:
1. Learn LDAP
2. Learn Active Directory
3. Learn the script
4. Integrate the script

Directory services and LDAP

LDAP is a protocol but it is often confused with a data store (or database). The problem is that LDAP as a data store is described as a hierarchical database (as opposed to a relational database). But could you use the LDAP protocol separate from the database? Anyway, LDAP is a new protocol that simplifies X.500. There is a huge writeup on the Internet regarding this technology. I'm still unclear about it. But for my present purpose I know enough.

Active Directory

Active Directory is Microsoft's directory services. It is an LDAP compliant directory service. Most of IT uses AD as it's central authentication authority. It works and it's administration efficient (meaning it saves people time over the UNIX solution).

The script

It may not be interesting for anyone not working with Smarts, ... (more later)

Monday, February 28, 2011

Language learning - Cantonese

How do people learn?

As children we learn, step by step. We are spoon-fed. Which makes sense. Learning is an experience as we grow up.

But we reach a point where learning isn't an experience. It becomes a mass of information. We've reached a stage where learning becomes an exercise in organization. We read concepts, we filter, we sort, and finally we re-gurgitate. Analyze and then synthesize.

How does this apply to language learning? I hate learning by memory. It's terribly slow. I prefer getting all of my concepts all at once. And then begin to break down the constituent components until I can surmise the function of a component from it's position to the rest of the components. Architecture is king. Why learn piece-meal when you can get a blueprint?

Why is a blueprint more valuable than the experiential approach? Because a blueprint is a model which we can understand at-a-glance, we can re-use learning techniques (from one analogy to another), breadth-first-search (when the entire map is unknown) is an exponential algorithm whereas depth-first-search (with knowledge of the entire map) is more efficient. Hmmm, ... learning a language isn't a search algorithm.

I did a search for "comprehensible input". Dr. Krashen's theory on second-language learning. Below is a link with a great deal more advice as to language learning. The information provided is very useful.
http://www.sil.org/lingualinks/languagelearning/essaysonfieldlanguagelearning/langglrnnginthrlwrldfrnnbgnnrs/LanggLrnngInThRlWrldFrNnBgnnrs.htm

Friday, October 22, 2010

Blackjack

I thought it strange that I would find myself winning money at a casino. Believe it or not, I've won consistently $150-$200 every time I visit a casino. Blackjack is my game.

I went with the family on an outing to the States on the Labour Day weekend. We left on a Saturday, returned the following day. We travelled to Grove City in Pennsylvania (an hour drive from Erie). About 4+ hours away from Toronto. We did alittle shopping. I mostly walked around. Shopping (for me personally) is boring in these carbon copy factory outlet shopping centres. I find them boring. They all have the same shit. Nothing unique and nothing that quite says buy me (because you ain't gonna find anything like me whereever else your going!). So I walked around. From like 3 PM all the way until 8:20 PM. It's kinda sad but I was just happy getting out of the city.

The States is nice. As I was driving I started noticing all the greenery surrounding us. I never really thought too much about it. There is a lot of greenery towards New York as well. So why did I think about the green this trip? Well, I guess my thought were on the greenery on my way to New York as well. And so what I thought was these are just highways leading from one city to another. Erie, PA is the biggest city near Buffalo. On the way to Erie the Interstate highway directed you either Eastbound toward Buffalo or Westbound toward Cleveland. And this lead me to think about 'Why Cleveland?'. Or, why place a city where Cleveland sits and why did it develop into a city whereas all these other small towns between Buffalo and Cleveland did not? I wondered about that as I was travelling. More on that later.

So we stayed in Erie over night (in the car believe it or not) and I got a chance to play Blackjack at the Presque Casino and Resort. I started playing around 12:30 AM and finished about 20 minutes later. I borrowed $100 from Elaine and used $60 of my own money. I walked away with $310. I won again! Why? It's so strange. I play for 20 minutes and I walk away with money. There's gotta be something to it. So when I got back home from our trip I decided to look into it.

I found a book called "The world's greatest blackjack book" from the local BMV bookstore. I was looking to buy "Beat the Dealer" by Edward O Thorpe but I wasn't able to find the book cheap. Well, I read that book (by Humble, et. al.) and it was pretty good.
The part that I enjoyed the most was the statistics and the results of the experiments (performed by Braun and Baldwin, separately). So, according to Humble (supported by experiments performed by Braun, Baldwin, etc.), 38% of 2 cards drawn in blackjack are decision hands (a decision hand is one where you have a total value of any one between 12 to 16). All other hands make up the other 62%. That means more than 1 in 3 hands is a decision hand. A decision hand is important because it requires you to make one of the 5 possible choices (depending upon the casino) that are offered to you: doubledown, split, hit, stand or surrender. What is also interesting is that the dealer only busts 28% of the time (the dealer stands on total value cards equal to 17, 18, 19, 20 or 21). But the most significant argument that I read from the book was there proof that a play will lose if they chose the strategy of not busting or the strategy of mimicking the dealer. Both strategies have a losing percentage against the house. The no busting strategy gives up 8% and the dealer mimic gives up as much as 5.7%.

I was intrigued with these numbers. There appears to be a lot of science behind it (whenever someone is ready to give you the number then you usually feel less doubtful about their argument. And I was surprised by the calculation of subtracting percentage points and multiplying percentage values from other percentage values. There seemed to be something disingenuous about it. But I kept reading. I got the picture. The argument is is that if your not playing Basic Strategy then your paying too much for your evenings entertainment. The only way to change the between .5% to 1% advantageous the casino has in the game of Blackjack is to count cards. By betting larger amounts when the remaining undealt cards of the deck is advantageous for you you will receive a better winfall and therefore better the odds in your favour. I was impressed with numbers. I took it upon myself to learn these details.

On the Canadian Thanksgiving weekend Elaine, mom and Ray decided to head down to Niagara Falls for the day. Ray didn't have his passport so he stuck with me at Fallsview while mom and Elaine headed to Buffalo to shop. I played Blackjack again. Again I won $150. This time I sat alone at a table with an Asian lady dealing the cards. 6 deck non-automatic shoe. I was totally uncomfortable playing with her. She dealt the cards so quickly. I wasn't used to it. She was practically playing my cards! I quickly walked away. But not after winning $150 again (this time in 10-15 minutes). Ray and I got drinks and spent some time outdoors. We then went back in and I decided to play some more. This time I sat at a table with 6 other players. I chose to sit on the left side of first base. Games were much slower. Slower enough so that I could think and play. I wasn't studied up on the card counting and so I just played as I usually do. It was sad in fact. I lost all the money that I won earlier and almost lost 2/3rd of the money I brought to the casino ($300 of the money that I received from selling those Aerosmith tickets). I won back a third of it (just barely coming back from the brink). And I walked away with $200 of my original $300.

To summarize, after coming home from the Thanksgiving outing I decided to study again. I downloaded an app for my iPhone playing Blackjack regularly (last week). What I learned was the more I learned about the odds for winning and losing and what I was paying for them I realized that I wasn't so sure that I enjoyed playing anymore. What I found from the app for the iPhone was that I didn't like the risks that I needed to perform to win. Knowing about the card counting techniques I thought it would be just as easy as playing on the cheap (minimum bets) on the average deck and playing higher amounts on the hotter decks. But what I found was that the theory just didn't work with the simulation program I bought. I was pissed. I played nearly 2000 hands before I found a system that seems to work (I read it in another book that I found). The way that I was beating the simulation (not exactly all the time) was by playing a progression when I won. When I win, double your money. Win, and slowly decrease the amount waged to "lockin" some of your winnings. When I lost, and when I lost consecutively, hopefully it was for the miminum wager. However, there are some occasions when the run of cards gets away from you. You just get bad cards. Hopefully your not chasing the progression just to get even! And unfortunately that's exactly what happens. When you have lost 5-6 hands in a row your ready to place bets 10 times the original mimimum amount. That's a huge risk. And it's not outside the possibility of losing 10 in a row (I lost 10 in a row and the last 3 of those bets were for $500 -- good thing it was just an iPhone app!).

What I learned was that I didn't like putting so much at risk to be successful at Blackjack. And success in Blackjack does have it's costs. Time for instance, and a higher than acceptable propensity for risk. Both of which I don't have a healthy supply of.

Thursday, July 29, 2010

New York 2

We left for America after the World Cup game between Germany and Spain. It was a really tight game. Not many chances. We left around 4:50 PM and I drove. Encountered a major rain storm around Hamilton area. We got to the Duty Free shop around 6:30 PM. Picked up some munchies, beer and drinks and we crossed the border.

I get nervous at the border. You have to try and relax. Americo was driving at this point and he was nervous at the border. It was kind of funny. Where you going? Long Island. Where in Long Island? Umm. What was it called? Rockville. Why are you going there? To play hockey. Blah blah blah.

We entered America around 7 PM crossing the Lewiston Bridge. We took the New York route on the I-90 to Syracuse and then took the I-81 south. We stopped at Homer, NY to get some gas and food. But Homer was such a small town. The sign off the highway said there was a food stop and gas stop but Homer had nothing (practically). We filled up on gas ($2.59 per gallan, $25) and kept going. We learned that we made the wrong stop and that where we should have stopped at was Cortland. It was funny because Cortland had all the amenities that you would expect from a rest/gas/food stop. Homer and Cortland couldn't be more than 2 miles apart. But Cortland had the new facilities and Homer had the old mom and pop gas station (and that was it!).

We stopped at Tim Horton's and had dinner. It was 10:10 PM. We finally hit the road around 10:35 PM and we didn't stop until we got to New Jersey. Americo drove the whole way. I fell asleep around 11:30 PM and was in and out of sleep until 12:30 PM. We arrived at the Ramada Inn in Rochelle Park, NJ around 1:50 AM. We checked in and expected to receive the cheap walk-in special that we saw advertised through roomsaver.com. They wanted to charge us $85 for the night. Lucky Americo brought it up and we paid the $59 that we expected. It was late. It was a good idea to fight the fee. But after a long drive I can see how easy it would be to just pay it.

We were in our hotel room around 2 AM. I went to bed around 3 AM. Taking some time to get a feel for the room and watching some TV until I fell asleep. I woke around 8:30 AM and got us some breakfast (before the food was gone). We then talked to the desk to see if we could get another night at the hotel. They wouldn't give it to us at the rate that we wanted. So we decided to leave. We figure we could find another hotel at the cheaper rate in Jersey. We looked around on roomsaver.com and decided on the Hampton Inn in Elizabeth (my initial destination choice). I drove to Elizabeth and when we entered we were pleasantly surprised. The Hampton Inn was quite comfortable. Much better than the Ramada. Little things make a big difference in the look & feel of a place. The Ramada had dark carpets but the hallway wasn't cooled by an A/C. The Hampton in the front foyer had dark wood floors. The walls were a cool cream striped satin looking wall paper. The seats in the dining area (small but cozy) were comfortable, inviting modern styled chairs. Whereas the Ramada was red and dark when we walked in that late night. In the morning it was brighter but because of the layout of the hotel there wasn't as much natural light. So it felt cramped and dark.
The rooms felt different as well. The Hampton had light coloured blankets while the Ramada had pastel, dark coloured blankets. The Hampton just felt fresher. The Ramada's blankets was just rougher on the skin. I just think it's interesting the differences a few select features makes on the complexion of a place. Both hotels had a dark wood finish. But because of the light in the Hampton you could see the finish. It felt more luxurious, more refined, cleaner and tidier. Just a better hotel. It did cost $20 more but it was worth it.

We signed in around 11:30 AM. We hoped to be out of there by 12 PM but that was just a hope. We left around 12:30 PM looking for the Elizabeth train station. We asked the guy at the desk but he directed us to the shuttle bus that goes to the Newark Airport where we could take the NJ train to NY Penn Station. We later learned that the Elizabeth train station is not out of commission. The hotel shuttle hotel guests to and from the airport. The NJ train was far more expensive because the transport is used to pay for the airport. Therefore, we paid $15 (Americo paid $11.50) to take 3 stops to NY Penn station. The $15 was much different than the rate that was quoted from the NJ transit website. I got a quote of $6.50 from Elizabeth (which is one stop further than the Newark Airport) compared to $15. I was pissed off about this.

We got to NY Penn station around 2 PM. Picked up a day-pass for the NY subway system and our first stop was the WTC site. We took the E line to the WTC. Took some pictures. I was amazed that they could fit 2 buildings in the space that I saw. Amazing! And with the congestion of the location it's surprising and scary that 2 large buildings would fall in such a dense urban area.

We started to walk to Battery Park (where the statue ferries disembark) but the direction that an officer provided us appeared to be different than what I expected. I checked out the map and realized that there is a Battery Park City (West of WTC) and a Battery Park? I'm doing a search again now and I guess I was wrong (again!). Anyway, we took the subway back to Penn station (we missed our exit at Chambers) had lunch (at Moe's Burrito Grill) and then we headed south again (along the 1 line) towards the South ferry stop. We exited and found the Staten Island ferries (not the statue ferries) and decided to take the trip. We played it loose in the city and it was great. 20 minute ride to Staten island and back again we had a good time. Americo got a chance to relax. I had the chance to take pictures of Lower Manhattan and the Statue of Liberty.

It was around 5 PM at this point. We then took the R train to Wall street and we walked around a little. Took pictures and then started up (7 line) towards the Empire state building. We decided to wait till later for the Empire state building so we took 7 line again to Times square. Americo stopped at an electronic camera shop and 10 minutes later Americo had bought a 70-300 mm zoom lens for his Nikon D3000 digital SLR. It was maybe 7:30 PM at this point. Our last stop was the Empire state building. Fantastic monument to go visit. Beautiful, regal and iconic. It's incredible that the building should now symbolize the city of New York. I fell in love with the building. It's funny because my first impression of the building was one of surprise. The building has held up pretty well over the years. I was surprised that it didn't look older. The facade was very much clean and crisp (almost fake looking). Did they have renovation done to clean it up? It looked too clean to me. The front entranceway has got the signature 350 on it. There is a doorman and the entranceway. A rotating entranceway into the building. A long corridor leading to a desk. A beautiful mural behind the desk and dressed in gold. The image is of the building surrounded by golden beams of light. The imagery is fantastic. I really enjoyed the feeling of the place. It just brings back the images of big money New York. I can imagine Clark Gable singing 'Puttin' on the Ritz'.

Saturday, June 26, 2010

Learning Cantonese

I've been trying to learn Cantonese since coming back from Hong Kong in October of 2009. I realized that my understanding was limited when I wanted to communicate with someone and found it extremely difficult. I hate feeling like I'm an idiot. I realized that I needed to give Cantonese time and effort. So I looked around for resources so that I can begin studying Cantonese. I found a meetup group that I hoped would help me find a voice. What I learned from the meetup group is that talking to strangers was a real chore. Initially I found it uncomfortable. I'm not used to talking about myself to strangers. However, I had the disadvantage that I just didn't want to talk about anything. I had to learn to open up. So my problems were larger than the fact that I didn't know Cantonese.

At that time (in 2009) I signed up to attend a Cantonese class offered by the Toronto District School Board. I started class in January of 2010 and by May 31st I had completed the beginner class as well as the intermediate class. Which brings me to my current thoughts.

What is Intermediate level as opposed to Beginner level and Advanced level?

This thought came to me a few weeks ago. Since coming back from Hong Kong I've been thinking about language learning and how I should approach the process. You see, the TDSB course was good but it wasn't great. The TDSB course was a chance to go to a classroom and get into the mindset of speaking Cantonese. At first I had difficulty adjusting. Thinking and working in English, I had to adjust my thinking for class to begin communicating in Cantonese. I adjusted Ok. I was fine. But the demands in the class was to be able to read the material "with acceptable intonation". My tones could use a little work. But I was fine with tones. What I had issue with was that I could not formulate complete correct sentences.

Long story short, I have thought of a lot of strategies on how to tackle language learning. Here are some of those ideas.
1. stories
2. composition
3. transcription
4. verbal performance

In essence the idea was to use storytelling as a mode in which to learn Cantonese. I think it's a good idea. But it begs the question of how. The deeper I delved into this quandary the more I learned about language learning in general. The more I learned the more I had to change my strategy. The more I learned the more I learned about myself and my mode of communicating and my personal preferences towards other people.

Which leads me to my initial question of 'What is intermediate level?'.
I'm defining intermediate level as the ability to communicate about general subjects (I'll call them beginner subjects) beyond a 3 response interaction. I use the analogy of tennis to explain. A beginner tennis player can put the ball over the net. It's not about the ability to do it consistently either. A beginner tennis player can put the ball over the net most times at the start of a rally. Therefore what marks a beginner tennis player is that a beginner cannot respond to the ball being returned to him/her. The rally dies. Usually the rally will die to about 3 hits on both sides (at most). Therefore, I'm defining intermediate level in terms of the ability to respond at least 3 times (and keep it going).

By defining what intermediate level is I can set a goal to reach it. But to achieve that goal I need to understand what is required to encompass that range of language learning. Here I use past material to grasp that range.

Example: Learn Mandarin in 500 words. My Mandarin book that I used in Fu Lao Shi class at Tzu Chi Academy. I don't know the theory behind 500 words (maybe it's 1000 words?) but it doesn't really matter. 500 words is a start. The important part is the content. Now learning 500 words, I feel, is completely arbitrary. I need a more systematic approach to learning (we don't have 10 years like we do when we're a child to learn a language) so those 500 words should be well chosen. I'll use my Mandarin book once again to determine the essence of the Chinese language and apply those same concepts to Cantonese. Words like, 都, 也, 已定, 有, 其實, 但是,不過, 還, 如果, 可以, 能, etc. are used often. Having a catalogue of most useful words would be helpful.

Hence my desire to write a document that incorporates all that I've described into a single document. Of course a lot of the material is already available. My job is to re-fashion it into a learning platform that I can use with my friends in my meetup group as well as have some fun with it.

My ideas are:
1. A document that teaches Cantonese at a beginner level
2. Explanations of concepts (particles, classifiers, pronouns, names, titles, question forms, etc.)
3. Grammar
4. Exercises on grammar (arrange the characters to form a correct sentence)
5. Memory tests (nouns, verbs, adverbs, adjectives)
6. Dialogue (scripts)

The important thing about this document is that at the end of the exercises there should be a script. The dialogue script can be dialectic or not (monologue). But it should contain the essence of beginner level Cantonese. By reviewing this script (alone or in a group) will allow you to re-affirm your understanding of beginner material. My hope for the material will be that this script (designed in a manner that can be customized to the person that is delivering it) can be spoken at the start of a meetup group to introduce oneself and/or "perform" it as in a drill to affirm knowledge/skill and understanding. The dialogues, exercises, quizzes and composition work, in the document (book) will build skills and build the script. By the end of the document a learner should have mastered the material and have understanding of his/her script.

So this document will represent what you need to know to consider yourself beyond a beginner. I'm interested in passing a certain stage in my learning. I need a goal. And hence I want to define that goal. This document will represent that goal. So I want the document to break down conversation into types, e.g. About people, about place, about thing, about time. These are too general but you get the point. The goal is to develop conversational skills beyond 3 responses over beginner subjects. So here I will define beginner subjects. More specific subjects becomes a topic for Intermediate level Cantonese. And that is where I want to go.

One added note. I purchased Sidney Lau's Cantonese material from the Hong Kong Government Publication department. Mr. Lau's material was developed for a radio program in teaching Cantonese. I purchased all the material including the elementary, intermediate and advanced level material. Mr. Lau's material will be used to re-inforce my approach and most likely modify the content.

Thursday, May 27, 2010

GLEE

I was checking out movies/videos at HMV with my buddy Vince (as I usually do on a Saturday) when they so happened to be playing back GLEE on the TV screens. I fell in love. I watched the scene that set up the song, "Don't stop believing" by Journey. It's a great song to the start of the series and so appropriate to the premise of the story. Thereafter, I downloaded season one and the following week purchased it. And then I promoted the series to my sister. It's just so much fun.

My enjoyment of GLEE has waned these past few days (I've been quite busy) but I wanted to write about its impact.

It's strange to me. Strange in the sense that, as a kid, I used to watch all the musicals that played on television over the Christmas holidays. I used to enjoy them. We used to sing to them in fact. I can still remember when Elaine and I (Elaine is my sister) would sing "Doe a deer a female deer" as my cousin Alice would conduct our singing. I was maybe 8 at the time. And I can also recall my friend Doug (passed away in 2008) whom would always be referencing theatre and musical numbers. It's funny that I've forgotten how much fun singing and dancing is. So serious as I am in serious matters ... :(

Well GLEE has been enjoyable. So I wanted to write about what makes it fun and a joy to watch. But I also wanted to write about what it has lost these past few episodes, i.e. since the restart of Season One (after the Sectionals).

Episode 1
- Introduce Will Shuester (Shue) whom wants to take on the Glee club, Will was a past Glee club member when he attended McKinley school
- Glee club was a popular club when Shue was a member, it has gone afoul since then and Shue wants to bring it back to it's former glory
- Introduce Sue Sylvester whom is the antagonist to the Glee club, she runs the Cheerios cheerleading squad, nationally competitive
- Shue calls the new club "New Directions" and opens for auditions
- Introduce Mercedes (black girl, chubby, big voice) sings Aretha Franklin's RESPECT
- Introduce Kurt (white boy, skinny, gay) sings Celephane from Chicago Musical
- Introduce Tina (asian girl, average, shy) sings I kissed a girl by Kate Perry
- Introduce Rachel (jewish girl, average, star) sings On my own from Les Miserable
- Shue promotes Glee but finds resistence from the administration/teachers and the kids themselves
- Rachel doesn't want to participate unless they can find a male counterpart to keep up with her
- Shue makes a plea to the Football team for guys and discovers the quarterback to have musical talent
- Shue connives (is this a word? ... haha) and get Finn to participate
- Rachel takes a liking to Finn, and the team find that they are sounding pretty good
- Finn is suspect as peer pressure forces him to question his allegiance even though he enjoys singing
- Shue's wife announces that she is with child and questions Shue's ability to provide for their growing family as a teacher
- Shue decides to get out of teaching when Emma Pilsbury shows Shue how happy he was when he was part of the Glee club, Shue reconsiders
- Shue overhears the Glee club performing and "it would kill me to miss you win the nationals" and decides to stay

Analysis:
The story works because:
1. musicals have become unpopular in mainstream television/film
2. a club that performs something that is unpopular will also be construed as unpopular despite the fact that music is always popular in school
3. the tension of the characters to "fit in" (to find a niche) is prevalent and many people can relate to it
4. singing and dancing is fun but not necessarily cool


These are the principle factors that make this a compelling TV show. What puts it over the top (what makes it good) is that it begins as a comedy. The show presents the kids as misfits whom just want a place to shine (show their talents) and have fun. A major component of comedy is exaggeration. Musicals are inherently exaggerations. Breaking into song because song is the only way to express yourself is wonderful but not really "normal" behaviour. That's why a musical is a little strange to some people. But all people love music. So to satirize the "Musical high school" theme is ingenious. Problem is that the show has stopped being a satire. The comedy has disappeared (part of being popular) and now it's less edgy than it was.
The drama has definitely improved but the comedy is being lost in it. I'm not sure that I consider it an improvement. Don't get me wrong, I like the drama. Some of it is done very well. But the comedy has really taken a nosedive. The best comedy is when there is a serious undertone beneath the surface. And in like manner, the best dramas have really insightful comedic moments that give the audience a respite from the seriousness but also highlights the message. I think the comedy (it's appeal) has been defanged (satire). It's become so popular that it's no longer "wickedly enjoyable".

That is just my take on the current series.

Saturday, March 20, 2010

Settings

Place and time. I had some conversations with some co-workers yesterday. It was regarding identity and place association. My friend P is from Italy and came to Canada when he was 20. My friend C like me was born here (in Canada) yet he only feels an association to Canada while I feel my identity associated with Asians and Chinese in particular. Many reasons for this state of affairs. I think the most significant being my sensitivity and also my upbringing.

The way that I described Hong Kong is by describing the heat on the street. It's hot in Hong Kong. You feel it especially on the street because the street is sweating. And it's not just damp, it's the smell of soy sauce that makes it so distinctive. The streets have enough traffic to make it feel dirty. It's just a busy pavement. You can't fault it for being busy. And that in a nutshell is how I characterize the people as well, busy.

So it is alittle strange that I would feel an affinity to a long distant place. A place that is quite different from my birth place. But there it is. It's the history of a place that lends itself to reverence and respect. You look at the Americas as an example and you hear the bands playing and you visualize kids from all over the US giving allegiance to the flag, etc. Of course it's not the flag that deserves such reverence (the flag is the symbol) but it's the documents of the founding of the republic which deserves admiration. So as with any place there are "features" which give it meaning, significance. It's a place where people have made it a home. A place surrounded by a culture announcing it's appetites and affectations saying to the world, "Here I am. This is me. This is my heritage". I don't believe I've ever felt that way. And I don't necessarily feel that way about Hong Kong either. I'm not from Hong Kong. But Hong Kong has a special place in the history of my family. It was a staging point toward eventually migration to Canada. The culture of my family is tied to Hong Kong as well.

Thursday, March 18, 2010

Joining the gadget revolution


My first post from my new used iPhone 3G. I started shopping for a new phone a few weeks back. I forget what prompted me to try. Oh yeah it was the fact that I started using SMS more regularly. Using SMS was due to the convenience of communicating at a club. So example, you've just been thrown out, u can now text ur ppl to come and fetch u. :)
Anyway, this is slow compared to my blackberry but it will do. I can see how this enables u to blog while on the go.


Sent from my iPhone

Saturday, September 26, 2009

Hong Kong

I'm in Hong Kong now. It's 3:22 AM Sunday morning. Days become nights and days become blurry in the haze of travelling half-way around the world. I'm travelling with mom and Elaine (sister). They are sleeping right now.

We left for Pearson around 9:15 PM on Sep. 24th. My uncle drove us to the airport. We checked our bags and waited for the boarding call. My feelings about the trip is mixed. The intent was to travel to Asia alone, or at least with a friend who was interested in going and finding out later why we went. But that changed because I was afraid to go alone and because all evidence suggests that I couldn't handle it on my own (language being the principle defficiency). I have to admit that I'm defficient in many ways but there's nothing like a trip with yourself to expose them to the light of day.

We travelled Economy class with Korean Air. Mom asked around and we eventually settled on these flights. A very nice flight. Cheap seats and beautiful flight attendants. That's all I need to say. Red-eye flight so we left Pearson at 11:50 PM Thursday and arrived in Seoul 1:10 AM Saturday. Mostly uneventful. You try and sleep, you eat and then you try and sleep some more. If it weren't for our hostesses I would prefer to wake up in Seoul and have no recollection of the trip. The girls wore a beige jacket over a beige skirt, teal blouse with a scarf tied at the neck. Very elegant. Some wore short sleeves some wore long sleeves, some wore pants, most had their hair tied back but one had her hair short and cropped. Quite a variety. However, they all had their hair accented with a hair clip that looks like the traditional chopsticks. I enjoyed it.

We got to Incheon International Airport at 1:10 AM (local time). We exited the plane and walked to Gate 21 which would take us to our next flight (only our next flight was 6 hours away). This was the perfect chance to catch up on some sleep. I slept maybe 2-3 hours on the flight. But in Incheon it was 1:10 PM (Toronto time) and I was wide awake. With so much time on our hands your instinct is to explore. There were phones, washrooms and closed shops at the airport, a free public internet hotspot and an information desk. Mom and I walked up and down this part of the airport once or twice saying hello to some of the people we met on the flight. With nothing else to do (and not sleepy at all) I got online to see how I could entertain myself. Logged into MSN Messenger and began conversations with Americo and then Martin. Americo was still at work (sucker!) but Martin Kim (is a guy whom I met at D-Link Networks a few years ago) was free. We kept in touch, he left for Seoul in 2007 looking for better work. Well, since I was in Seoul (technically Incheon) I decided to contact him. He was surprised to hear that I was in Seoul. It was like 3 AM at this point but 3AM wasn't so significant compared to the 2.5 years and thousands and thousands of miles between us.

I'm having an aside moment :) Litmus test. Friendship. It seemed like a perfect opportunity to get reacquainted, Martin and I. We jumped right in. He took off from his place in Seoul (I believe he said Non Hyeon) grabbed a taxi and travelled like 40 km to see me. Very cool. All I had to do was exit through immigration, fill out entering Korea form as well as a customs declaration form and then I was in the arrivals section of the airport waiting for Martin at McDonald's.

Anyway, Martin got to the aiport around 5 AM and we talked for a few hours. I was happy to see him. Martin, like myself is single with no attachments. So for him, as well as I, going out at 3 in the morning because a friend calls you up one day is an excellent way of getting to know someone and becoming reaquainted. I know, for me, I didn't feel quite so alone in Asia. We talked about work, women and life since D-Link. He's working for Alcatel-Lucent as a sales-engineer. It was great catching up. It was like old times. In fact, it didn't feel like time passed all that much (not that 2 years is a big deal). He was the same, I was the same, only the location has changed.

We talked til 7 AM and then I had to leave. I'm gonna try and fly back to Seoul during this trip. I know that Elaine and mom haven't expected this little turn of events but I feel that it would be personally an excellent option. A friday/saturday weekend would be ideal (for Martin as well as myself). We can hit some of the nightspots and see what Seoul has to offer. Martin says that I'm more interested in women than he remembers of me (we talked mostly geekspeak in Toronto). It's a part of our reality now. They change everything.

So mom, Elaine and I boarded KE603 bound for Hong Kong. 3 hours flight. We landed at 10:40 AM local time. I watched a movie on the flight that I didn't get a chance to finish. I'll have to download it when I get back to Toronto. It's called "The scam". A Korean film. We passed through immigration and then located our bags and met up with my uncle. My uncle drives an S500 Mercedes Benz. Boy was it smooth. We rode to Shatin (where my uncle, aunt and cousins live) and we got settled in my cousins flat. Had dimsum and then I had to crash. I was so tired. I really didn't sleep much on the flights and without sleeping at the stop-over I was a walking zombie. I slept for an hour or 2 and then got up for dinner with my uncle/aunt/cousin/mom/Elaine. Came back to the flat and crashed again. For most of Saturday it's been a blur.

Tuesday, August 25, 2009

My Benz 2



Here are more pictures (these came from the delearship).



I picked up the Benz on Tuesday August 11th. Finished work at 5 PM. And got myself to Union Station, bought me a ticket for Clarkson Station. and took the Go train to Mississauga. It was raining at the time and it appeared to be a bad day to pick up the car. I was surprised however that the rain quickly cleared and the sky turned blue by the time my buddy picked me up at Clarkson.

It was pretty simple buy (as I mentioned before). When I got there we had to settle the financials. I gave them the bank draft. They gave me another bill for the fines/plates/plate permit. I paid them using my Mastercard. Blah blah blah.

After finalizing the transaction I jumped in the car and I gingerly drove it out of the lot. I was trying to get comfortable but I had to get used to the idea that this was my car.

Sunday, August 9, 2009

My Benz

It hasn't hit me yet but I'm a new proud owner of a Mercedes Benz!

Ripped off images from the Internet. My rims look the same as these!

Funny, but it's my first true car. I've driven other cars in the past, see my previous post, but I've never chosen one with my own money.

The deal was struck yesterday afternoon. Americo and I went car shopping early in the morning of Saturday August 8th, 2009. This was really our 3rd time looking at cars. The first day we went to the closest dealer (in Etobicoke) and the following visit (July 25) I made an offer on a Volvo S40 2001. It was a clean car and attractive. The price was really right so it seemed like a no-brainer. Unfortunately it turned into a can-I-trust-you. Eventually I had to walk away.

Our second day out, Americo and I went to a dealer out in Mississauga. I compiled a list of C240 Mercedes Benz that I was considering and we decided to visit a few. We only got to one place. It was half way between Americo's work and my work. There wasn't really anytime after work to look at cars, but we tried. This time we met a friendly guy who showed us the showroom. All the cars were indoors. What a difference it was. There's such a wide variety of people in the automobile resale industry. You can meet some really classy gentlemen and some really slippery dealers. And the cars, unfortunately, really do reflect the salesperson.

Our third day (Aug 8) I bought a car. We visited like 5-6 dealers. 2 of them were ok, the others were pretty slick. It was a gut feeling (Americo felt the same way as I did) but I knew I wasn't going to buy anything from them. Basically, we went back to the dealer that I met on my second day and bought the car that they showed me. Weird but I almost walked away from it at the beginning. You see, I was under the impression that I was looking at a C240. But when we went back the second time we learned that the car was in fact a C230 Kompressor. Believing that I wasn't interested in the C230 I was ready to walk away. But this other sales guy (owner) suggested a test drive. I gave the C240 a test drive already (next door to this guy) so I knew how it handled. So I didn't think there was anything to gain from driving a smaller car (C240 has a 6 cyl. engine, C230 is a 4 cyl. with turbo).

What a difference! The C230 was just peppy. It wanted to run. And with Americo egging me on I put the pedal to the medal and it was fantastic. Hehehe, I was having so much fun. I never felt a car feel so strong, responsive and in control. The turbo engine made the car sound like a futuristic spacecraft with wonderful (easy) acceleration in the 2000 RPM to 6000 RPM range. Americo and I got the car to 150 KM/h on the entrance ramp to the 403. I loved driving the car. It was so much superior to the C240 that I quickly realized that I couldn't consider it (C240) any longer. My intention was to buy a cruiser ... but I didn't realize a cruiser could be so sluggish. Perhaps it was just the C240 that I drove. But it was like night and day. And since the C230 had the amenities that I wanted, i.e. sunroof, heated seats, cool rims, I thought that I would make an offer for the car. 5 minutes later we closed the deal.

Tuesday, July 28, 2009

Car shopping

Started shopping for a used car. We experienced some funky behaviour on our Toyota Camry 2 weeks back which prompted us to look around.



1. the windshield wiper fluid stopped spraying around the time that I came back from my mechanics around end of May.
2. light bulb on the driver side (front) stopped working (July 13) and started working again when I had it checked out (July 16).
3. I started the car to get it checked out (July 16) and the car started pumping out white smoke out of the muffler.

Because of these, my sister and I decided to begin looking for another car.

I started with the Automart. Located a sweet Volvo S40 2001 for a really good price. After further investigation and a visit to my mechanic I decided against buying the automobile.



It's really too bad because the car was beautiful. But there was enough reason NOT to purchase the car. And I learned alot from dealing with them. My only advise is trust your people. If your going to trust the advice from anyone, trust your people.

Car shopping (checklist)

1. Any liens on the car?
2. Any accidents (causing structural damage)?
3. Take the car to your mechanic.

If your paying in cash a good start for a price discount is to subtract the tax. It's a wise move (which I learned from my buying co-pilot). Standard costs that go into buying a used car are:

1. D.O.T. - $350
2. Admin fees - $150
3. Safety test (and repairs) - $300
4. Emission test - $50

These were the standard costs on top of the listed price for the car.

So I'm still in the market for a used car. My first choice was to buy a Mercedes. I've got over 10 years of driving experience and in that time I've driven a Chrysler Reliant (1985), Honda Civic (2003) and a Toyota Camry (1988). I want to try a luxury vehicle. My co-workers at work are telling me that I should go for the car of my dreams. It's the time. "In a few years you may be married with kids and that opportunity won't be coming back soon". It makes so much sense. When I found the Volvo (practically the first car I saw) I considered it a purchase in which my sister and I would share (since we'll be parking it at her place). It's a good thing it didn't work out because I'm not sure my sister would want it after I move out. So in that case I really should shop for myself. And the car that I've been wanting to buy is the Mercedes Benz.

Saturday, July 11, 2009

New York New York

I'm writing this 3 days after returning from New York. Getting back to my day-to-day means that I can't remember much of the experience any more. It's just not as vivid.

Let me start from the end and work my way back.

We left Long Island (near the Baldwin railroad station) around 10:25 AM. It was sunday and Americo just finished playing his Bronze medal game (the Ottawa Barbarians didn't make the Gold medal game because of the goals-for tie-breaker). After the game we were basically ready to go. We drove out of New York taking the I-385 north of Manhattan. There was a delay as a bridge was closed down due to a fire on Friday. Once we got onto the bridge that was available we were off to the races. It was a nice drive. We took I-81 through New Jersey and then back to New York state. We drove to Syracuse then near Rochester. We hit Buffalo on our way to the Lex bridge and discovered that the way at the bridge was 2 hours long. We decided to head back and go to Peace bridge instead.

The way back was pretty irritating. GPS is pretty cool when the girl knows where you want to go. But after we started backtracking she was just getting on my nerves telling me where to go. What's a guy to do when your GPS is giving you bad directions!? Jeesh.

We got to Peace bridge but before we got on we stopped to get some cheaper American gas and to switch drivers. Funny thing is when we got to Buffalo the clouds were hanging over the city like a plague. But driving through New York, and driving to Toronto (after Buffalo) was a pleasure. Strange I know.

Actually, driving to Toronto wasn't a pleasure. The sky was clear but the road was blocked. Stupid accidents along the QEW meant that our projected time of arrival for 8:53 PM turned into 10:26 PM.

Friday, July 10, 2009

Washington DC

I'm on my way to New York. My friend Americo asked if I'd like to join him. He's playing hockey at a tournament there. So we're driving.

We left around 10:10 AM on Thursday morning (had to rent the car and load it). It's been an easy drive so far. Blue skies, open road. Driving can get tedious. When I 16 years old, Americo and I couldn't wait to drive out to the States and see what we can find and do. The first time we went to down to the States we got turned back at the border because I didn't have official papers. Next time, I made sure I got my passport and a few months later we tried again. This time we were through and we crossed the border sometime in the morning. It was an interesting experience at the time (as you could imagine). We crossed Peace Bridge and then you were in downtown Buffalo. Downtown Buffalo isn't too pretty. So I remember we were eager not to spend too much time there, we didn't want to find any trouble. But that trip ended with us spending 2 hours at the border (coming back) as they took some time stripping down our car looking for drugs. It's funny in hindsight but at the time it was a little nervewracking. They interrogated us separately. We were guilty of trying to cross the border without declaring our purchases. Kids.

Old memories. We crossed the border easily yesterday. Followed Americo's GPS and we were driving along I-79 South route towards Pittsburgh. Somewhere before Pittsburgh I took over the driving and I drove the rest of the way. Poor Americo, I took a washroom pitstop, but Americo didn't need to go. I took over the driving at around 3:30 PM and I drove the next 4.5 hours. Americo was hurting by the time we got to Washington DC. :)

If you check out google maps you can see our route. We had a few missteps along the way. We had to get off the I-76 (exit 57) to get some gas but when we tried to get back onto the highway (trying to avoid the toll of the I-76) we found ourselves going westbound on the I-376 heading towards Pittsburgh! We lost maybe 30 minutes on this venture. It pushed back our projected time of arrival to 8:23 PM. Steadily we made the time back. We arrived in Washington DC at 7:53 PM. All-in-all it was a 9 hour drive plus the 1 hour for washroom, food and gas break.

From 8 PM onward it was a rush to take in the National Mall before it got dark. Americo preferred to stay with the car, so I jumped out and took in the sights. I walked toward the centre of the park, orienting myself to the pier of the Washington monument. The first thing I found was the White house christmas tree. It was undecorated (of course) with a plague containing a picture of President F.D. Roosevelt and his christmas tree. It situated the tree to the White house. So I turned around and there it was.



At this distance the impression is the same impression you would get from a postcard (or from television). The view wasn't so impressive as it was secure. We were separated from the building by a road way which cordons off the building from uninvited visitors. Surrounded by the national mall (with no vehicular access) means that security is high with visibility from all directions (from the vantage point of those protecting the site).

I took my few pictures and then I started off in the direction of the Lincoln memorial. Given that the White house and the Washington memorial makes up 2 of the triad I knew that the Lincoln memorial had to be to left of the White house. I walked to the west street and spoke to a southern gentleman who directed me to Constitution Ave. and a walk toward 22nd St. I jogged there.

Tuesday, June 30, 2009

Friendship

Want a friend, have a friend,
make a friend, buy a friend.
What's a friend worth these days?

Have you ever felt that you weren't doing friendship correctly?
I do. There's something about friendship I just don't get.

Why is it that I find no pleasure in friendship?

Saturday, June 27, 2009

Linux From Scratch

Last year I successfully built a Linux from scratch system by following the book. The date was April 24th and it took roughly 3 days to complete. I remember the process being relatively laborious. The system is only for those whom want to see how it all fits together.

I haven't touched it since then. Only off and on doing some research into boot disks, root disks, loopback devices, etc. What is interesting to me is the differences between ISOLINUX and my LFS system. I'm intrigued at how a LiveCD can give you roughly the same thing without the "installation" process as a normal distribution. Why install (30 minutes or so) when you can copy? Maybe it takes the same amount of time ... but anyway, it's for the learning experience.

From the grub command:

grub> root (hd0,3)
grub> kernel /boot/isolinux/linux root=iso:/dev/hda4:/root/lfslivecd-x86-6.3-r2160.iso rootfstype=ext2
grub> initrd /boot/isolinux/initramfs_data.cpio.gz
grub> boot

From this command the kernel is loaded into memory, the kernel mounts the initial RAM disk and finally the initial RAM disk performs a pivot root and mounts the ISO image as root and eventually provides you with a terminal. Fascinating. Generally my description is correct but there are gaps in my understanding.

Here is some of the information I've gathered from the process.

1. The second part of the kernel command (grub command), i.e. root=iso: ...
is passed to the kernel to load as a boot parameter. In other words after the kernel is loaded it will look to this boot parameter in which to mount the root filesystem.
2. But the initrd is loaded first as a preliminary root filesystem.
3. Somehow the kernel and the initrd work in tandem to know what to do with the boot parameter that I listed at #1.

How #3 happens I don't know. Reason being is that I've replaced the root=iso: ... part with a simple root filesystem on disk (instead of the ISO). It doesn't work.
Why? What is compiled in the linux kernel from the LFS disk that won't allow it to accept a regular uncompressed root filesystem on disk? What make an ISOLINUX unique from a regular compiled Linux kernel? What does the ISOLINUX kernel have to do with with the ISO9660 El Torito file system?

Maybe I just answered my own question. ISOLINUX kernel understands the El Torito (CD ROM) filesystem. So it knows how to mount the ISO image. Whereas a normal root filesystem is an EXT2 filesystem. In order for our generic ISOLINUX kernel to mount an EXT2 filesystem we would have to tell the init RAM disk how to install the kernel module in order to finally mount the root filesystem.

Once I figure out how to install modules from the init RAM disk environment I will be able to run a generic kernel from anywhere, everywhere I go.

The goal for me is to build a Linux Live USB. And not merely following the instructions provided by a website.

Monday, June 8, 2009

Home repair

I don't know anything about home repair. It's one of those things, that if your lucky, your dad will teach you. My father wasn't so lucky as he grew up in trying times, left home at an early age, and got lucky by making his way to Canada to start a new life.

Well my dad isn't really a handy guy. And neither am I. My father like my grandfather were both readers. Like father like son, I'm a reader too preferring theory over practice, concepts over tools.

On Victoria Day (May 18, 2009), my mom called me down to help outside on the walkway leading to my backyard. My mom and my neighbour have been talking about getting rid of a fence that separated our 2 yards. The fence was put up like 10 years ago. Since then the fence has been warped due to the build up of dirt/sand/gravel on my neighbours side placing alot of pressure on the fence. On Monday I helped remove the planks of the destroyed wooden fence into a van to be disposed of. Byron, a neighbourhood handyman, was hired to do the work. I helped lighten the load.

It was pretty cool. It wasn't just cleaning up the bits. They also wanted to repair the walkway leading to our backyard. I've laid paving stones at the tennis club before (a part-time job that I had throughout my high-school and University days), but I never witnessed destroying something so close to a building. The walkway was made of concrete not slabs of paving stones. It was 4 inches thick and it was almost a single piece. Byron bashed away at it for a good hour (on different sections of the walkway). It was fascinating watching him break it apart because as he was striking the concrete with his sledgehammer (5 lbs.) you could see the house shake!!
It gave me a feeling that my life wasn't really that secure and that one good blow could blow my house down (both literally and figuratively). I realized I need to learn some of these things.



The walkway was dug up from the foreground all the way to the recycle bin (background). It was really falling apart (the walkway) at the foot of this picture.

The backyard is full of piles of rubble.

It was a good time to clean up this mess. When I was a kid the side of our neighbours house (pink siding) was not there. Our neighbour was a Portuguese couple that kept a pigeon coop above a shed. We could hear the cooing of the pigeons every morning as they were being fed. We had a metal fence where pink siding sits now. On both sides of the walkway my mom used to grow vegetables like 冬瓜 and 葱. Our neighbourhood is a nice place to live (if you can afford it).
Posted by Den - 張恩華 at 6:48 PM