<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8190295454014882638</id><updated>2012-01-19T03:55:33.480-08:00</updated><category term='religion'/><category term='technology'/><category term='statistics'/><category term='open government'/><category term='the law'/><category term='human interest'/><category term='news talk'/><category term='health and fitness'/><category term='entertainment'/><category term='money'/><title type='text'>Thuon Chen</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>45</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-2979940936990194149</id><published>2012-01-04T19:29:00.000-08:00</published><updated>2012-01-08T23:27:13.372-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>How to install Googlebar for Firefox 9 and beyond</title><content type='html'>&lt;i&gt;Rather than editing an XML file, I highly recommend installing &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/nightly-tester-tools/"&gt;Nightly Tester Tools&lt;/a&gt;. I did so for Firefox 7, and when I upgraded to Firefox 8, Nightly Tester Tools helped to make googlebar compatible, without a hitch. Now we're on version 9, and it worked for a little bit, but after a browser crash, no more googlebar, so you may want to use the instructions below.  This blog post was originally published in June 2011, in response to the release of Firefox 5, then deleted and reposted in August 2011 to account for Firefox 6, and is now updated to account for the upgrade to Firefox 9.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Within the span of April of 2011 to the present, Firefox went from version 3.5 to versions 4, 5, 6, 7, 8 and now version 9.  This has wreaked havoc on those of us who use the Firefox add-on &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/googlebar/"&gt;Googlebar&lt;/a&gt;, one of the best interfaces on Firefox to Google, "with an emphasis on easy access to many types of specialized searches".  The problem is, the maintainers, John Woods, Andy Boughton, and Francis Turner, don't seem to stay on top of the version changes; while the add-on is a very useful tool, the maintainers don't seem to be very useful when it comes to applying an incredibly simple fix, so that Googlebar can be installed on Firefox versions 8, 9 and beyond.  We will now correct their oversight:&lt;ol&gt;&lt;li&gt;Right-click on the following link and "Save Link As..." to download Googlebar 0.9.20.05 locally to your computer:&lt;br/&gt;&lt;a href="https://addons.mozilla.org/firefox/downloads/latest/33/addon-33-latest.xpi?src=addondetail"&gt;https://addons.mozilla.org/firefox/downloads/latest/33/addon-33-latest.xpi?src=addondetail&lt;/a&gt;&lt;br/&gt;If you simply click on the link, your browser will try to install it, and the attempt will fail.&lt;/li&gt;&lt;li&gt;What you downloaded has a file extension of &lt;b&gt;xpi&lt;/b&gt;, Cross Platform Install, which is basically a package of files that has been compressed.  What we want to do now is decompress the xpi, in order to access a file inside named install.rdf.  Since xpi is a compressed file, you can easily decompress it, using your operating system's default decompressor, by changing the file extension from .xpi to .zip.  Then you click on the renamed file to display its contents, and open install.rdf with a text editor.&lt;/li&gt;&lt;li&gt;Scroll down the file, and look for the section for Firefox:&lt;blockquote&gt;&amp;lt;!-- Firefox --&amp;gt;&lt;br /&gt;&amp;lt;em:targetApplication&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;Description&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;em:id&amp;gt;{ec8030f7-c20a-464f-9b0e-13a3a9e97384}&amp;lt;/em:id&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;em:minVersion&amp;gt;2.0&amp;lt;/em:minVersion&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;em:maxVersion&amp;gt;5.*&amp;lt;/em:maxVersion&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/Description&amp;gt;&lt;br /&gt;&amp;lt;/em:targetApplication&amp;gt;&lt;/blockquote&gt;In the line that says maxVersion:&lt;br /&gt;&lt;blockquote&gt;&amp;lt;em:maxVersion&amp;gt;5.*&amp;lt;/em:maxVersion&amp;gt;&lt;/blockquote&gt;replace 5.* with the latest version of Firefox, which, as of today, is 9.*&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Save the install.rdf file, and add it back to the zip file.&lt;/li&gt;&lt;li&gt;Rename the file extension, from zip, back to xpi.&lt;/li&gt;&lt;li&gt;In your browser, click Firefox, Add-ons, Gear button, "Install Add-on From File..." and install the xpi file that you just modified.&lt;/li&gt;&lt;/ol&gt;Editor's note: my friend David McIntyre, in the comment below, suggests, rather than editing an XML file, to install &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/nightly-tester-tools/"&gt;Nightly Tester Tools&lt;/a&gt;, which I shall now do, and will report back if there are any problems.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Update: I still highly recommend Nightly Tester Tools, but there was a problem for me when upgrading to Firefox 9, where I found, initially there was googlebar, but after a browser crash, it disappeared, and I had to follow the instructions above.&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-2979940936990194149?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/2979940936990194149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/08/how-to-install-googlebar-for-firefox-6.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/2979940936990194149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/2979940936990194149'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/08/how-to-install-googlebar-for-firefox-6.html' title='How to install Googlebar for Firefox 9 and beyond'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3055575039298353654</id><published>2011-12-29T15:53:00.000-08:00</published><updated>2012-01-04T00:47:18.107-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='money'/><title type='text'>The Danger in Selling Digital Goods on Ebay &amp; Accepting Paypal as Payment</title><content type='html'>Many of you casual gamers on Facebook may know how popular digital goods are in the online marketplace, where people pay &lt;a href="http://www.gameinformer.com/b/news/archive/2011/12/28/man-spends-16-000-on-one-of-a-kind-virtual-sword.aspx"&gt;lots of real money&lt;/a&gt; to buy items used in video games and online transactions.  Digital goods can range from cell phone ringtones, music, movies and shows, electronic books (ebooks), rights to domain names, online accessories and characters (avatars) in video games, electronic gift certificates and coupon codes, online electronic currencies like Linden dollars and bitcoins (btc), financial &amp; cash services like ukash, moneypak, pecunix and more, secure, encrypted web browsing and software packages, sometimes written to a flash drive that you can use to boot from, and I'm sure there is much that I missed and am not aware of.  I'm not going to identify what I sold, because it's embarrassing that I not only got scammed, but that I spend so much time online acquiring digital goods.  Maybe it's because my fear is I am socially inept in crowds and I would rather be indoors playing video games than out mingling and meeting people.  Suffice it to say that, yesterday, around this time, I felt richer.  24 hours later, I feel poorer.  Here's the story:&lt;br /&gt;&lt;br /&gt;I poured quite a bit of time and effort into acquiring an online digital good.  At the same time, I decided to take advantage of a temporary promotion on ebay where you can list items for free for the next 3 days.  Among the many items that I listed, I decided to take a chance and list that particular digital good, my asking price for it about 25% higher than what I paid for it, after ebay and paypal fees.  I had done my due diligence, looked at competitors, saw many people buying and selling the same item on ebay, and thought, with my account in good standing and lots of positive feedback, why not see if it might sell?  Well, imagine my pleasant surprise when I got out of bed in the morning, checked my email, and saw that my item had sold through Buy It Now for a couple of thousand dollars, hand to God.  The buyer also seemed good, with 76 feedback and a rating of 95.4%, and he paid me with paypal, in the amount of $2736 after ebay and paypal fees.  The buyer used ebay messages to specify the online address where I could deliver the item, and after confirming the money was in my paypal account, I promptly sent the item to him.&lt;br /&gt;&lt;br /&gt;I was feeling high for about most of the day, happy that all the money, time and effort I had spent in my online community was beginning to pay off.  The ebay buyer had told me the item had been received, and had even given me positive feedback.  Imagine my surprise and horror when, around 10 pm yesternight, about 11 hours after I delivered the digital good, I received 2 messages, one from ebay, one from paypal, with the Subjects: "MC143 eBay Listing Removed", and "Notification of Cancelled Withdrawal", respectively.  The first message said:&lt;blockquote&gt;We recently learned that someone was using an account to bid on items without the account owner's permission. For this reason, we have canceled all bids on the following listing...All associated fees have been credited to your account. Please note that we're working with the account owner to prevent any additional unauthorized activity.&lt;br /&gt;&lt;br /&gt;If you have any concerns or questions, click "Customer Support" at the top of most eBay pages.&lt;br /&gt;&lt;br /&gt;We're sorry for any inconvenience, and we thank you for your patience and cooperation.&lt;br /&gt;&lt;br /&gt;Sincerely,&lt;br /&gt;&lt;br /&gt;eBay Customer Support&lt;br /&gt;&lt;/blockquote&gt;The second message, from Paypal, came about because I was trying to transfer the money sent by the buyer for my digital good into my bank account, and it read:&lt;blockquote&gt;Recently, your account balance became negative. To cover your negative balance, we have reversed "Pending" electronic funds transactions that you had initiated from your PayPal account. This is to confirm that the following transaction(s) have been cancelled...Thanks,&lt;br /&gt;&lt;br /&gt;PayPal Finance Department&lt;/blockquote&gt;Long story short, I called ebay, told them the buyer was making a false claim, because I had been in touch with the buyer by the hotmail email address associated with the buyer's Paypal account, and also by ebay messages, and I had an email from the buyer saying the digital good had been received, and the buyer had even given me positive feedback.  My protests had no effect.  In the eyes of the ebay customer service agent, Dustin, the account that bid on and won my item was accessed by a third party, without the account holder's permission, and for security reasons, Dustin could not tell me what the criteria or proof was that ebay possessed showing them the account had been accessed by a third party.  When I told Dustin that the problem was I had lost the item I sent to the buyer, Dustin put me on hold, then said he was going to advise me to contact law enforcement about this.  When I told Dustin that the buyer was in a different country, Dustin said "that's the only way we can resolve it."  When I asked for the payment back, Dustin said they could not do that, because the items were purchased by a third party.  At this point Dustin must have heard me typing, because he asked me if I was recording this call, and when I said yes, Dustin said at this point he is forced to disconnect this call.  Click.  And that, ladies and gentlemen, is the embarrassing story of how I got scammed out of the digital good I had, and the money I paid for it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3055575039298353654?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3055575039298353654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/12/danger-in-selling-digital-goods-on-ebay.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3055575039298353654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3055575039298353654'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/12/danger-in-selling-digital-goods-on-ebay.html' title='The Danger in Selling Digital Goods on Ebay &amp; Accepting Paypal as Payment'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-1360325785097079619</id><published>2011-12-27T21:54:00.000-08:00</published><updated>2011-12-27T22:20:26.437-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>Actual Telephone Numbers Made Famous by Artists in Popular Music</title><content type='html'>As someone who has lived in rental units as a tenant since leaving home at age 19, numerous times I've had to move to a new area and relinquish an old phone number.  In picking a new one, I've always put some time, thought and care into it, wanting my new phone number to be easy for me to remember when giving out to people, and difficult for people to misdial.  One thing that has always amazed me is how contemporary artists will include what I believe to be their actual telephone number in their music.  Google Answers has a subject, "&lt;a href="http://answers.google.com/answers/threadview/id/527165.html"&gt;famous telephone numbers in songs&lt;/a&gt;", that shows people have been singing about phone numbers since the 1960s, back when the format was, to place a call, you had to dial a live operator, say a place name first, then say a five-digit number, before being connected by the operator.  Now that we are in the age of seven digits (or age of ten digits if you include area code), one of the more famous phone numbers may be 867-5309, and hearkens back to the early 1980s, for which there is an entire &lt;a href="http://en.wikipedia.org/wiki/867-5309/Jenny"&gt;Wikipedia&lt;/a&gt; page devoted to it.&lt;br /&gt;&lt;br /&gt;If you ever are in the position to pick a new phone number, you might wish to steer clear of these, or contrarily, you may try to seek out these phone numbers, as they are easier to remember when set to a catchy tune (but be sure to expect multiple people trying to call you asking for somebody other than you):&lt;br /&gt;&lt;br /&gt;Tony! Toni! Toné! - &lt;a href="http://en.wikipedia.org/wiki/Whatever_You_Want_%28Tony!_Toni!_Tone!_song%29"&gt;Whatever (1991)&lt;/a&gt;: "Whatever you want, girl you know I can provide.  Whatever you need, call 632 2135"&lt;br /&gt;&lt;iframe width="415" height="311" src="http://www.youtube.com/embed/bGG5pQ7tn0o" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;Alicia Keys - &lt;a href="http://en.wikipedia.org/wiki/Diary_%28Alicia_Keys_song%29"&gt;Diary (2004)&lt;/a&gt;: "Oooh baby if there's anything that you fear, call 489 4608 and I'll be here"&lt;br /&gt;&lt;iframe width="415" height="311" src="http://www.youtube.com/embed/PIksbyVq5jA" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;Mike Jones - &lt;a href="http://en.wikipedia.org/wiki/Back_Then"&gt;Back Then (2005)&lt;/a&gt;: "281 330 8004, hit Mike Jones up on the low, cause Mike Jones about to blow"&lt;br /&gt;&lt;iframe width="415" height="311" src="http://www.youtube.com/embed/Sd0S0LwhEDU" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;Scientists have conjectured that the reason why every human culture that has been studied has music, why music appreciation is innate in almost all of us, is because the early man that was musical was more in tune with other early humans and more willing to cooperate with those that could appreciate music; musical human societies were more cohesive and likely to stick together than societies made of non-musical humans.  Even if you don't accept that premise, music can be seen as a kind of social glue that binds us all together.  The person who devotes him or her self to making new forms of music, if s/he is lucky, can step into the role of entertainer, and as an added benefit, when performing, that performance and song can serve as a sort of mating call, if you will, demonstrating to the audience his or her social and sexual value.  The next time you feel lonely, pining for a mate, you could do a lot worse than create something, be it music, art, technology or science, that includes, or is based on, your actual telephone number.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-1360325785097079619?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/1360325785097079619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/12/actual-telephone-numbers-made-famous-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1360325785097079619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1360325785097079619'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/12/actual-telephone-numbers-made-famous-by.html' title='Actual Telephone Numbers Made Famous by Artists in Popular Music'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/bGG5pQ7tn0o/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-7301739241707143508</id><published>2011-11-29T18:52:00.000-08:00</published><updated>2011-12-18T00:40:36.957-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><category scheme='http://www.blogger.com/atom/ns#' term='health and fitness'/><title type='text'>New Study Shows No Link Between Road Traffic Collisions &amp; Daylight Saving Time</title><content type='html'>People who follow the news know that every year, around this time, there seem to be an increase in trusted information sources warning us about bicycles and pedestrians colliding with cars, and the correlation with Daylight Savings Time.  Some of these vehicle collisions are fatal, and we remember when someone dies.  Invariably the reports quote police officers and traffic safety officials attributing said automobile collisions to the twice-a-year annual changing of the clocks, the explanation being that either the onset of darkness is sooner and people are in a rush to get home, or there's not enough light early in the morning when people are in a rush to get to work, or people have to wake up earlier than they are used to, and this disruption in the body's Circadian rhythm means people are less aware at the wheel.  In many cases, you add on the idea that some motorists have problems adjusting their eyes to the new light level, or the sun may be in their eyes, or it's too dark, and one can readily see why accidents might abound around the changing of the clock.  The idea then that there is a correlation between Daylight Saving Time and an increased rate of accidents sounds plausible, even somewhat convincing.  But what if there is no increase in traffic accidents around Daylight Savings Time?  In order to avoid confirmation bias (the notion that "people see what they want to see", in that it is a particular human weakness that we all remember the purported evidence that supports an idea we want to believe, and we discard any suspect evidence that threatens that belief), one should approach an answer to this question using the power of science.  &lt;br /&gt;&lt;br /&gt;In the past, there've been studies to support this claim.  However, the latest study, culled from &lt;a href="http://en.wikipedia.org/wiki/Daylight_saving_time#Public_safety"&gt;Wikipedia&lt;/a&gt;, seems to show, at the very least, the jury is still out, and that there may even be no connection:&lt;blockquote&gt;According to earlier studies, this change in time-schedule leads to sleep disruption and fragmentation of the circadian rhythm. Since sleep deprivation decreases motivation, attention, and alertness, transitions into and out of daylight saving time may increase the amount of accidents during the following days after the transition. We studied the amount of road traffic accidents one week before and one week after transitions into and out of daylight saving time during years from 1981 to 2006. Our results demonstrated that transitions into and out of daylight saving time did not increase the number of traffic road accidents.&lt;/blockquote&gt;2010 Jun 27.&lt;br /&gt;Daylight saving time transitions and road traffic accidents.&lt;br /&gt;Lahti T, Nysten E, Haukka J, Sulander P, Partonen T.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ncbi.nlm.nih.gov/pubmed/20652036"&gt;http://www.ncbi.nlm.nih.gov/pubmed/20652036&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-7301739241707143508?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/7301739241707143508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/11/new-study-shows-no-link-between-road.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7301739241707143508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7301739241707143508'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/11/new-study-shows-no-link-between-road.html' title='New Study Shows No Link Between Road Traffic Collisions &amp; Daylight Saving Time'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-8589833399902832096</id><published>2011-11-26T16:17:00.000-08:00</published><updated>2012-01-14T05:35:19.868-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the law'/><title type='text'>How to Sue a Corporation in Small Claims Court</title><content type='html'>Several years back, I sued AT&amp;T in small claims court, and the judge ruled in my favor for $1000.  My complaint was that AT&amp;T (back then they were doing business as Pacific Bell) had never notified me, as a DSL subscriber, that I could have availed myself of a number of features of their DSL package, including a nationwide network of local dialup phone numbers, and free web hosting and 3 email addresses.  I was never given notice of these parts of their package, and felt that I very much could have used those services if only I had known.  I had subscribed to DSL for 2 years by the time I found out, and believed I was due some sort of credit for the services the company had failed to notify me of, and I had never used.  I called the company, detailing my complaint, and asked for free DSL for a year (back then AT&amp;T was the only game in town in terms of providing DSL service in my area).  The representative I spoke to declined to give me free DSL, but offered me a discounted rate per month.  Hard-head that I was back then, I decided to reject their counter-offer, and began to prepare my case.  It was a lot of work, and after I had served the corporation with the suit, I even got a call from another representative, offering me 3 free months of DSL service; I decided to reject that offer and proceed with my lawsuit.  In court, no one showed up to contest the charges (a corporation usually must pay a lawyer much more than a potential liability of $10,000 to represent the company in a small claims case), but that doesn't mean you automatically win.  In my case, the judge wanted to hear the basis for my lawsuit, and I argued that, at the time I discovered I was due the extras that I was never notified of, given Pacific Bell's monopoly on DSL service, I couldn't have simply moved my business elsewhere if I was dissatisfied with their customer service.  The phone companies that owned the infrastructure were only just beginning to lease their lines to competitors at the time I argued my case, but the judge agreed with my logic and ruled in my favor.&lt;br /&gt;&lt;br /&gt;Flash forward to the present: last year, I was operating my motor vehicle, a Honda Accord, and discovered that the seatbelt alarm for my car was starting to flash and emit a continuous beep, even though I made sure I had my seatbelt properly secured.  Now, it's important to clarify that, by seatbelt alarm, what I'm talking about is actually a warning system that has a flashing light and audible alarm, indicating my seatbelt is not secure during operation of the vehicle (hence seatbelt alarm).  I told my local mechanic about the problem, and he suggested I take the car into the dealership, as what I was describing seemed to indicate a problem with the seatbelt system, and since Honda has a lifetime warranty on seatbelts, I could get the problem repaired for free.  I did as my mechanic suggested, but then I got a call from the dealership repair shop that the problem I had would not be covered under warranty, as their mechanic had deemed the problem to be an electrical issue, and not a seatbelt issue, so Honda would not pay for the cost of repair.  As explained to me by the dealership mechanic Chuck, for my particular model of vehicle, the seat belt system is one of the most complicated ever made.  To fix the problem, which is probably a wire that is shaved or touching the body of the car somewhere, the mechanics would have to take the panels off, including the dash panels and door panels, and trace the wiring from the sensors to everything that's involved with the system to find out where a wire is touching the body of the car somewhere.  So even though Honda says in their warranty booklet that "a seat belt that fails to function properly is covered for the life of the vehicle," I am apparently out of luck.&lt;br /&gt;&lt;br /&gt;I believe Honda is being disingenuous.  If the problem is electrical, it's still manifest by the seat belt alarm beeping and flashing for no apparent reason, and it was a mechanic who first suggested that the problem might fall under Honda's limited lifetime warranty for seat belts.  That's why I plan to sue them.  Stay tuned.&lt;ol&gt;&lt;li&gt;Make sure your claim is not invalid under the statute of limitations: &lt;a href="http://www.dca.ca.gov/publications/small_claims/file.shtml"&gt;http://www.dca.ca.gov/publications/small_claims/file.shtml&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Ascertain the proper jurisdiction.  If you don't file your lawsuit papers in the proper county, your lawsuit will be dismissed by the judge.  To figure out the correct jurisdiction, ask yourself, where was the agreement between you and the corporation entered into?  Where was the agreement broken?  When I purchased DSL from AT&amp;T, I did so for my home in Berkeley, and I filed in the Berkeley small claims court (which has since been moved to Oakland).  When I purchased my used car, I did so in Oakland, so I plan to file in Oakland at the Wiley Manuel Court.&lt;/li&gt;&lt;li&gt;Ask the corporation for the amount of damages you are seeking, either in writing, or in person (if in person, note the date and time you do this)&lt;/li&gt;&lt;li&gt;Find the agent of process for the corporation, at &lt;a href="http://www.sos.ca.gov/"&gt;http://www.sos.ca.gov/&lt;/a&gt;, click on Business Entities, under 'Online Services' click on Business Search, type in the name of the corporation&lt;/li&gt;&lt;li&gt;File the lawsuit papers in court, then notify the corporation you are suing them by serving the lawsuit papers on the agent of process&lt;/li&gt;&lt;li&gt;Prepare to argue your case in court, making sure to organize your ideas as legal arguments, and have documentation in hand showing damages, and evidence to support your claim of damages&lt;/li&gt;&lt;li&gt;If you win, i.e., if the judge rules in your favor and awards you damages, serve the judgment on the agent of process, so that your paperwork will be forwarded to the corporation's Accounts Payable department, where a check should be cut out to you&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-8589833399902832096?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/8589833399902832096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/11/how-to-sue-corporation-in-small-claims.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8589833399902832096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8589833399902832096'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/11/how-to-sue-corporation-in-small-claims.html' title='How to Sue a Corporation in Small Claims Court'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-5571872900343270948</id><published>2011-10-30T20:38:00.000-07:00</published><updated>2011-11-02T04:33:56.952-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open government'/><category scheme='http://www.blogger.com/atom/ns#' term='the law'/><title type='text'>How to Appeal a Red Light Camera Ticket When You've Been Found Guilty: Filing an Opening Brief</title><content type='html'>&lt;a href="http://www.flickr.com/photos/15742375@N00/6299794910/sizes/l/" title="IMG_0766 by tqf, on Flickr"&gt;&lt;img src="http://farm7.static.flickr.com/6104/6299794910_b8151ae604.jpg" width="415" height="311" alt="IMG_0766"&gt;&lt;/a&gt;&lt;br /&gt;Recent news about red light cameras, like the cities of Loma Linda in California, then Houston, Texas, and now the city of Los Angeles doing away with them, have been disturbing for those concerned with road safety, and encouraging for those who believe red light camera tickets have become an aggressive tactic by municipal government to squeeze money out of motorists.  The cities did away with the automated ticketing systems, despite evidence that the cameras prevent the most horrific and fatal type of accidents, the ones where a driver barrels through an intersection on a red light and gets into a side-impact collision.  I appreciate the technology of an automated system to record by video and photograph the people who violate traffic laws, and I even believe the technology can be used to bring safety to people on the road.  The implementation so far, however, leaves a lot to be desired.&lt;br /&gt;&lt;br /&gt;On Monday, December 13, 2010, during the 2pm hour, Gil Gross, news-talk host on KGO radio, interviewed Los Angeles City Controller Wendy Greuel on her 77 page critique of the red light camera program.  She made the point that 2/3 of red light camera tickets are for rolling right-on-reds, i.e., turning right on a red without coming to a complete stop.  Wendy came to the conclusion that red light cameras cost Los Angeles more than the city collects in fines; the state of California taking a portion of these fines is one reason, but another reason is people are not paying the fines, and getting away with this because they can still renew their licenses with the DMV.  In a damning rebuke of municipal greed, Wendy found that where the city puts these cameras are not where the most dangerous intersections are, but where they are easiest to install, i.e., where the city didn't have to work through a state process for an intersection near a state highway, or where there was the same kind of physical infrastructure at an intersection that the equipment installers had worked with before, and could easily work with again.&lt;br /&gt;&lt;br /&gt;I was convicted of a red light camera traffic ticket on Tuesday, July 12, 2011, even though at trial I felt I presented a strong case with convincing arguments.  As I mentioned in a previous blog post, &lt;a href="http://tpc247.blogspot.com/2011/09/how-to-file-stay-of-judgment-when-youve.html"&gt;how to file a stay of judgment&lt;/a&gt;, my read of the judge was he just didn't want to hear what I had to say.  Fair enough, judges can do whatever they want in their courtroom, and he certainly wouldn't be the first person to reject whatever may be contradictory to what he wants to believe, but the great thing about the criminal justice system (yes, a traffic ticket means you are being charged with a crime) is you can appeal your conviction when you've been found guilty of an infraction, which most traffic tickets are.  If you don't want to pay the ticket, you either have to hire a lawyer, or invest a lot of time learning how to do this on your own.  The first step to an appeal is filing a proposed notice of appeal, but before you can do so, you must do a lot of research, reading, writing, and preparation, using resources like &lt;a href="http://highwayrobbery.net"&gt;highwayrobbery.net&lt;/a&gt; and &lt;a href="http://www.nolo.com/products/fight-your-ticket-and-win-in-california-FYT.html"&gt;Fight Your Ticket &amp; Win in California&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;One of the main pillars of my defense at trial was the rule of "best evidence", which means in court the government has to submit their sharpest photos and video, and not some fuzzy copies, as evidence.  Under California Evidence Code 1520, otherwise known as the Secondary Evidence Rule, if submitting a document, the government has to provide an uncondensed version, not a summary or memo.  On the website, at photonotice.com, where you can view your alleged violation, there is a disclaimer (which as of 5pm today, I've confirmed is still there) which states: "Due to formatting constraints this video is a representation of the original evidence and is not intended for court purposes...The video you are viewing on this website is provided as a courtesy and convenience to you. The video is in no way purported to be a true and correct copy of evidence that will be presented in court."&lt;br /&gt;&lt;br /&gt;Because I asked the government numerous times to give me their best evidence, which are the high-resolution photos and video captured by the Redflex cameras, and said evidence was never provided to me, then for the purposes of trial, the rule of best evidence was never satisfied.  At trial, the police service technician may have, on her laptop, access to the evidence you requested, and she may offer to show it to you, but since you asked for the evidence before trial, so you could prepare for your defense, and said evidence was never given to you, you can ask the judge to throw out the high-resolution copy that the police have and plan to use against you.  If the judge throws out the high-resolution copy (which, in my case, did not happen), the police have no evidence against you, unless they decide to submit a lower resolution copy, or the officer might refer to the low res copy given to you in discovery.  However, you can object to the admission of the low res copy under the rule of "best evidence".&lt;br /&gt;&lt;br /&gt;The second step in an appeal is to file an opening brief, which the district attorney can respond to by filing a respondent's brief (this is unlikely in an infraction case).  Filing an opening brief is mandatory, and after all the briefs have been filed, or the time to to serve and file them has passed, the court will schedule a date for oral argument.  Below is what I submitted as my opening brief:&lt;blockquote&gt;Red light cameras depend heavily on legal faith in a certificate that claims to confirm the total reliability of a machine's calibration and accuracy in detection, tracking, and overall synchronicity with the system of lights and cameras.  Despite the possible hassle involved in confirming each fact at trial, it is essential to the integrity of the court system that questioning of the evidence be allowed.  On the basis of my right to challenge the human elements of the evidentiary chain, I submit this appeal.&lt;br /&gt;&lt;br /&gt;Commissioner Culver's trial court ruling was not supported by substantial evidence because there was no live testimony by any person actually involved in the preparation or production of the crucial evidence.  I have a right to confront witnesses under the 6th Amendment, as affirmed by the Supreme Court in Melendez-Diaz versus Massachusetts.  In addition, the website where representations of the evidence can be reviewed, photonotice.com, states the following (copied verbatim, and current as of October 12, 2011): "Due to formatting constraints this video is a representation of the original evidence and is not intended for court purposes."  I made multiple requests to the police and the city for the best evidence, i.e., the high resolution photos and video recorded by the Redflex cameras, by serving Dominique Burton, the agent of process for the city of Emeryville, by asking Rebecca Sylvester, Emeryville police technician, in person at the police station for said evidence, and by asking Sergeant Mike Allen, Ms. Sylvester's superior, in emails.  When my requests were not fulfilled, I twice asked Judge Culver during arraignment to schedule a motion hearing to hear my motion to compel discovery, and during the second time I requested a motion hearing, I submitted a printed copy of said motion to the court that asked the city of Emeryville to either provide me with the best evidence, or else preclude the evidence that would be used against me during trial.  None of my requests were fulfilled.  The evidence used against me in trial should have been precluded, because the city of Emeryville did not comply with my discovery request.&lt;br /&gt;&lt;br /&gt;Commissioner Culver made the following errors:&lt;ul&gt;&lt;li&gt;refused or ignored my numerous requests for a motion hearing to compel the city of Emeryville to provide me with the best evidence.&lt;/li&gt;&lt;li&gt;did not preclude the evidence when I asked him to, under California Evidence Code 1520&lt;/li&gt;&lt;li&gt;called up a witness, Sarah Rutherford, co-custodian of records for Redflex, when I as the defense was never notified in advance (according to rules of discovery) that she was going to testify.&lt;/li&gt;&lt;li&gt;did not want to see or consider the 2 rulings of the higher court in Alameda County, copies of which I brought with me and which I attempted to show Commissioner Culver.  Both of these appeals cases, People v Singh (January 2010) and People v Blankenship (May 2010), overturned similar trial court rulings resulting in convictions for said defendants in red light camera photo trials.  In both of these cases, the appellate court reversed the lower court ruling due to violation of the defendant's right to confront witnesses under the 6th Amendment.&lt;/li&gt;&lt;li&gt;denied my motion to dismiss based on violation of my right to due process under the 5th Amendment, i.e., no motion hearing was scheduled for me when I requested it.&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-5571872900343270948?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/5571872900343270948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/10/how-to-appeal-red-light-camera-ticket.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5571872900343270948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5571872900343270948'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/10/how-to-appeal-red-light-camera-ticket.html' title='How to Appeal a Red Light Camera Ticket When You&apos;ve Been Found Guilty: Filing an Opening Brief'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm7.static.flickr.com/6104/6299794910_b8151ae604_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-4748784039004561499</id><published>2011-10-27T16:47:00.000-07:00</published><updated>2011-11-06T10:01:13.682-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>How to Use Google Prediction API to Estimate a Sale Price for Your Home</title><content type='html'>&lt;i&gt;This blog post is based on &lt;a href="http://www.siliconvalley-codecamp.com/Speakers.aspx?AttendeeId=4395"&gt;Martin Omander&lt;/a&gt;'s workshop at &lt;a href="http://www.siliconvalley-codecamp.com"&gt;Silicon Valley Code Camp&lt;/a&gt;, which I attended on Saturday, October 8:&lt;blockquote&gt;Store your data, predict the future&lt;br /&gt;&lt;br /&gt;Speaker: Martin Omander    &lt;br /&gt;Level: Intermediate   |   Room: 3525   |   9:45 AM Saturday &lt;br /&gt;    &lt;ul&gt;&lt;li&gt;Make your smart applications smarter with Google's Prediction API. Take advantage of Google's machine learning algorithms to make recommendations, analyze Twitter, detect spam, classify documents, identify languages and more.&lt;/li&gt;&lt;li&gt;Store your applications' data securely and efficiently in Google's data centers with the Storage API.&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;The real estate home price data file mentioned below was compiled by Martin from Redfin data for the Rex Manor neighborhood of Mountain View, California.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;I&lt;/b&gt;f you've ever wanted to buy a house or sell your home, and would like a reasonable estimate for what the ultimate sale price will be in this market, you can get a real estate agent's take, or you can use Google Prediction API (henceforth Prediction) to give you another estimated price, given available market data.  The idea is, you grab a number of sale price records for the ZIP code you want to buy or sell in, feed the data into Prediction, and Prediction will spit out a number based on the data you fed it.  Besides spitting out scalar values, Prediction also does classification.  To get your feet wet, here is a beginner tutorial that figures out, in an automated way, whether some text you pass in is English, French or Spanish:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://code.google.com/apis/predict/docs/hello_world.html"&gt;http://code.google.com/apis/predict/docs/hello_world.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Assuming you were able to successfully use Google's Prediction API, in conjunction with Google Storage and Google's APIs Explorer Tool, to classify samples of text that you pass in, the next step is to predict a sale price for your home.&lt;ol&gt;&lt;li&gt;Download Martin's houses.csv data &lt;a href="https://codecamp.pbworks.com/w/file/fetch/47191677/houses.csv"&gt;here&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Using the same steps in the tutorial above, upload the houses.csv data into Google Storage, and then use the data to train Prediction&lt;/li&gt;&lt;li&gt;After training is complete, we want to get a predicted price.  To do this, we want to pass in the values for a house that we want to buy or sell.  Let's say we're trying to sell a 3 bedroom, 3 bathroom, 1800 square foot, built in 1960, single family residence.  I found that when I tried to pass in the following as a value for the csvInstance key, I got an error:&lt;pre&gt;3 3 1800 1960 house&lt;/pre&gt;I then tried the same thing with commas, but that didn't work either. What I found finally worked is, in the APIs Explorer tool, when specifying the value of the csvInstance, you need to count how many field values you are putting in, let's call it &lt;i&gt;n&lt;/i&gt; (in this case, &lt;i&gt;n&lt;/i&gt; equals 5), then provision that same number by clicking on "Add" &lt;i&gt;n&lt;/i&gt; times, and manually insert the values in order, like so:&lt;pre&gt; {&lt;br /&gt;   "input": {&lt;br /&gt;     "csvInstance": [&lt;br /&gt;       "3",&lt;br /&gt;       "3",&lt;br /&gt;       "1800",&lt;br /&gt;       "1960",&lt;br /&gt;       "house"&lt;br /&gt;     ]&lt;br /&gt;   }&lt;br /&gt; }&lt;/pre&gt;&lt;/ol&gt;Caveat for those who want to read in or import additional data sets: if you want Prediction to spit out a number, i.e., a scalar value, one thing to remember is that the column associated with the scalar value that you want a prediction on (in this case, home sale price) should be the first column inside the data file you feed into Prediction.  Martin said that when he was putting together the home sale price data, he had to manually copy and paste from Redfin into his spreadsheet program, then move the column for the home sale price to be the first column, and then exported the spreadsheet as a csv, i.e., comma separated values, file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-4748784039004561499?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/4748784039004561499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/10/how-to-use-google-prediction-api-to.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/4748784039004561499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/4748784039004561499'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/10/how-to-use-google-prediction-api-to.html' title='How to Use Google Prediction API to Estimate a Sale Price for Your Home'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-8400517998011171813</id><published>2011-09-30T22:06:00.000-07:00</published><updated>2011-11-04T01:00:18.482-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='money'/><category scheme='http://www.blogger.com/atom/ns#' term='the law'/><title type='text'>Heather, Rachel, Michelle, Casey or Ann from Account Services or Cardholder Services</title><content type='html'>From &lt;a href="http://phonespam.blogspot.com/2007/12/dec-7-recording-of-fraud-from-heather.html"&gt;phonespam.blogspot.com&lt;/a&gt;:&lt;blockquote&gt;Hello. This is Heather at account services. And we're calling in reference to your current credit card account. There's no problems currently with your account. It is urgent however that you contact us concerning your eligibility for lowering your interest rate. Your eligibility expires shortly. So please consider this your final notice. Please press one now on your phone to speak with a live operator and lower your interest rate. Or press two to discontinue further notices. Thank you and have a great day.&lt;/blockquote&gt;I've been roused from sleep by these unsolicited, automated phone calls, all having to do with card member services, or account services, relating to your credit card debt, lowering your interest rates across all lines of credit, repair your credit, financial services counseling, or debt negotiation.  These robocalls piss me off, and if you want to do something more than just hang up, you can get even.  I've pressed '1' to get connected to a live agent.  The people who get paid by the telephone marketing scammers have learned to be wary of giving out too much information, especially to an angry caller, because they know if too many people complain, the money will stop coming in.  However, if you have a little time, you can employ the following strategy to make yourself some money fighting crime, and help bring down these organizations who try to scam people.  The next time you get one of these calls, here's what you should do:&lt;ol&gt;&lt;li&gt;Pretend that you are interested.  The first two things the representative may ask you are your name and how much credit card debt you have.  You can use a variant of your name, or create a new name for yourself (in order to not arouse suspicion, try to make your new name similar to your real name, so that it's easier to remember, such as starting with the same sound or letter), and tell the representative you have credit card debt of $16,000 (which is about the national average), so that he or she will get excited about possibly doing a balance transfer with you over the phone, or getting your credit card number so he or she can bill your credit card for "services".&lt;/li&gt;&lt;li&gt;Do not give out any of your personal information, such as your credit card number.  Inform the representative that you have some discomfort doing business over the phone, and you would like to do some research before you go forward.  Tell the telemarketer, "I have a fear of scams, and would like to make sure this is a legitimate business", and "I would like to take advantage of that 4 to 8% rate, but before I do, can you tell me what is your company's name and physical location?"  To lull the scammer into thinking you are sincere, I might go so far as to give out my ZIP code and the toll-free number of my credit card company, but when you are prompted for your credit card number, go to step 3.&lt;/li&gt;&lt;li&gt;Ask for, and record, the company's name, the name of the person you are talking to, get a call-back number and an address, and note the time and the date of the call.&lt;/li&gt;&lt;li&gt;Report the call and any of the information you have to the authorities.&lt;/li&gt;&lt;/ol&gt;Enough people who complained were finally able to identify and bring down three telephone scammer companies, including Mutual Consolidated Services in Tacoma, Washington, and multiple companies in Florida:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs2.startribune.com/blogs/whistleblower/2009/06/26/hunt-for-rachel-from-cardholder-services-takes-me-to-a-company-in-florida-but-she-wasnt-there/"&gt;http://blogs2.startribune.com/blogs/whistleblower/2009/06/26/hunt-for-rachel-from-cardholder-services-takes-me-to-a-company-in-florida-but-she-wasnt-there/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.kirotv.com/money/18910460/detail.html"&gt;http://www.kirotv.com/money/18910460/detail.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ftc.gov/opa/2010/07/mutualconsol.shtm"&gt;http://www.ftc.gov/opa/2010/07/mutualconsol.shtm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ftc.gov/os/caselist/0923190/index.shtm"&gt;http://www.ftc.gov/os/caselist/0923190/index.shtm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These are three URLs I've used to lodge complaints about the calls:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://esupport.fcc.gov/ccmsforms/form1088.action"&gt;https://esupport.fcc.gov/ccmsforms/form1088.action&lt;/a&gt;&lt;br /&gt;&lt;a href="https://complaints.donotcall.gov/complaint/complaintcheck.aspx"&gt;https://complaints.donotcall.gov/complaint/complaintcheck.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="https://www.ftccomplaintassistant.gov/"&gt;https://www.ftccomplaintassistant.gov/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Depending on your state, you can possibly make yourself some extra cash by &lt;a href="http://www.videojug.com/film/how-to-stop-telemarketers-calling"&gt;suing the telemarketing company&lt;/a&gt; in small claims court if you are on the "do not call" registry:&lt;object width="425" height="263" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="videojugplayer"&gt;&lt;param name="movie" value="http://www.videojug.com/player?id=c4ca2800-37c3-8693-f4d8-ff0008ca1530"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.videojug.com/player?id=c4ca2800-37c3-8693-f4d8-ff0008ca1530" type="application/x-shockwave-flash" width="425" height="263" allowFullScreen="true" allowScriptAccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;According to the &lt;a href="http://ag.ca.gov/donotcall/faq.php"&gt;California Attorney General&lt;/a&gt;:&lt;blockquote&gt;In order to file a complaint, you must know either the name or the phone number of the company that called you. Our office cannot trace the phone call you received and obtain this information on your behalf. You also must provide the date that the company called you and your registered phone number. You may provide your name and address, but it's not required for you to submit a complaint.&lt;/blockquote&gt;According to &lt;a href="http://www.fcc.gov/guides/unwanted-telephone-marketing-calls"&gt;the FCC&lt;/a&gt;:&lt;blockquote&gt;Some states permit you to file law suits in state court against persons or entities violating the do-not-call rules. You may be awarded $500 in damages or actual monetary loss, whichever is greater. The amount may be tripled if you are able to show that the caller violated the rules willfully and knowingly. Filing a complaint with the FCC does not prevent you from also bringing a suit in state court.&lt;br /&gt;States also can bring a civil law suit against any person or entity that engages in a pattern or practice of violating the TCPA or FCC rules. You can contact your state Attorney General’s office or consumer protection agency with particular complaints, or to encourage such suits.&lt;/blockquote&gt;Happy hunting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-8400517998011171813?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/8400517998011171813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/09/heather-rachel-michelle-casey-or-ann.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8400517998011171813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8400517998011171813'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/09/heather-rachel-michelle-casey-or-ann.html' title='Heather, Rachel, Michelle, Casey or Ann from Account Services or Cardholder Services'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-5032772484112229703</id><published>2011-09-28T23:53:00.000-07:00</published><updated>2011-10-02T06:27:31.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open government'/><category scheme='http://www.blogger.com/atom/ns#' term='the law'/><title type='text'>how to file a stay of judgment when you've been found guilty of a traffic violation</title><content type='html'>Let's say you got a traffic ticket, a red light camera photo ticket, and you decide to fight it.  You do your due diligence, poring over the resources available at &lt;a href="http://www.nolo.com/products/fight-your-ticket-and-win-in-california-FYT.html"&gt;Fight Your Ticket &amp; Win in California&lt;/a&gt; and &lt;a href="http://highwayrobbery.net"&gt;highwayrobbery.net&lt;/a&gt;, and the first two times you appear for arraignment, in front of the same judge, you request that a motion hearing be scheduled so you can compel the city of Emeryville to provide discovery, in the form of the high resolution photos and video captured by the Redflex cameras.  Both times, the judge either ignores or refuses your request, and continues the matter, i.e., gives you an additional 30 to 60 days before you have to reappear during arraignment in order to enter a plea.  The third time, the judge is exasperated that you persist in your request for a motion hearing, and he demands that you enter a plea.  You plead Not Guilty, and the judge, perhaps cognizant that you won't skip town, since you showed up all 3 times like you were supposed to, does not order you to put up bail (i.e., the fine of $446 in order to clear the citation), but instead, does you the favor of releasing you on 'O' 'R', i.e., on your own recognizance (most people try to ask the judge for no bail, and are usually denied, although the judge may grant you extra time to put up the bail).  You have a trial, where you are found guilty, and the judge orders you to pay the fine, and gives you one month to do so.  You may now want to appeal the trial court ruling, because you believe the trial court judge made one or more errors when deciding to rule against you.  If you plan to appeal the ruling, you may want to avoid paying the fine until the appeals process is over, hopefully with the appeals court judge ruling in your favor.&lt;br /&gt;&lt;br /&gt;The government alleges that, last year, on June 1, 2010, I didn't stop before turning right at the intersection of 40th Street and Horton Street in Emeryville.  17 days later, on June 18, I received a citation in the mail, a notice of traffic violation of California Vehicle Code 21453a, "Failure to Stop at Red Light".  Since this case is still on appeal, I have to be wary of what I say, for fear of hurting my case (the government can read, just as well as you or I can).  I pled Not Guilty, and appeared in court a total of 8 times, 6 out of 8 in front of the same judge, Commissioner &lt;a href="http://members.calbar.ca.gov/fal/Member/Detail/70530"&gt;Taylor Culver&lt;/a&gt;, to argue my case and lose, then ask for a stay of judgment, and then for a hearing on settlement of the statement on appeal.  I spent quite a bit of time reading and writing to get a sense of what my legal foundation is and what obstacles I might face, as I carefully prepared my case.  Often, you'll find that when you're arguing a case in traffic court, the system is set up against you, and you will need all the help you can to navigate a process that seems prejudiced in favor of the police, the municipality where the alleged violation took place, and the corporations, such as Redflex, that the cities and the municipalities are in contract with.  Eventually, despite all your preparation and strong arguments, the judge may be unresponsive to what you have to say, and very well rule against you (the logic may be, perhaps, that if the trial court were to actually listen to your arguments, then that may only encourage people to fight their tickets, instead of swallowing your pride and forcing yourself to submit to what I believe is an aggressive government tactic to squeeze money out of motorists).  Well, during trial, despite my preparation and what I thought to be strong arguments for why my case should be dismissed, or at the very least why I should be found not guilty, the judge ruled against me, and I was ordered to pay $466 in one month.&lt;br /&gt;&lt;br /&gt;You can now do one of two things: pay the fine, and when you win, petition to get your money back, or avoid paying the fine by filing a stay of judgment, asking the court to postpone the sentence while you appeal the trial court's ruling.  I opted for the latter, as paying such a large amount for me would be a hardship.  At first I asked the trial court to stay the judgment, and not surprisingly, the same trial court judge denied my motion.  I then submitted a motion to the appeals court to stay the judgment, the template of which was provided to me by the editor of &lt;a href="http://highwayrobbery.net"&gt;highwayrobbery.net&lt;/a&gt;, but the court sent me a letter saying the motion was denied, without prejudice ('without prejudice' means you are allowed to resubmit the motion to the court).  The appeals court's given reason for why my motion was denied had to do with my not following the procedure spelled out by the California Rules of Court, which lays out the rules you must abide by, i.e., the technicalities you must follow, when you want the higher court to consider your motion.  In this case, this is the denial letter that I got, copied verbatim:&lt;blockquote&gt;Petitioner Chen's "Application for Stay of Sentence Pending Resolution Of Appeal To the Appellate Department" is denied, without prejudice.  CRC 8.930 et seq. governs proceedings in the appellate division for writs of mandate, certiorari, or prohibition.&lt;/blockquote&gt;I was left scratching my head, wondering what I did wrong.  I went to my local law library, where I was able to obtain a copy of the specific passage pointed at by the reference &lt;a href="http://www.courtinfo.ca.gov/cms/rules/index.cfm?title=eight&amp;linkid=rule8_930"&gt;California Rules of Court 8.930&lt;/a&gt;.  Reading further into the rule, in 8.931, I found the following:&lt;blockquote&gt;A person who is not represented by an attorney and who petitions the appellate division for a writ under this chapter must file the petition on Petition for Writ (Misdemeanor, Infraction, or Limited Civil Case) (form APP-151). For good cause the court may permit an unrepresented party to file a petition that is not on form APP-151.&lt;/blockquote&gt;Reading it over, I finally figured out I had to file what is known as a writ of mandate.  After some googling, particularly for california appeals, writ of mandate, I was led to the proper form, APP-151:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.courts.ca.gov/documents/app151.pdf"&gt;http://www.courts.ca.gov/documents/app151.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I went ahead and filled out the form, resubmitted my motion, crossed my fingers, and hoped for the best.  Four weeks later, I got the following letter in the mail, copied verbatim:&lt;blockquote&gt;Petitioner Chen's Petition for Writ is granted.&lt;br/&gt;IT IS ORDERED that the judgment and payment of the $466.00 fine be stayed pending resolution of Petitioner Chen's appeal to the appellate division.&lt;/blockquote&gt;The best thing about filing for a stay of judgment, and appealing a traffic court ruling, is that a traffic infraction technically falls under the aegis of the criminal justice system, where you are entitled to a free defense.  Therefore, all the paperwork described herein, such as the appeal or the writ of mandate, is free to file.  Unlike the paperwork you file in civil court, where you do have to pay, sometimes hundreds of dollars per filing, filing the aforementioned paperwork with the appeals court regarding a traffic violation incurs no fees.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-5032772484112229703?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/5032772484112229703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/09/how-to-file-stay-of-judgment-when-youve.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5032772484112229703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5032772484112229703'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/09/how-to-file-stay-of-judgment-when-youve.html' title='how to file a stay of judgment when you&apos;ve been found guilty of a traffic violation'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-455999984802549619</id><published>2011-08-30T22:43:00.000-07:00</published><updated>2011-08-30T23:08:36.581-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><title type='text'>Flower Thieves</title><content type='html'>&lt;a href="http://www.flickr.com/photos/15742375@N00/6098134709/sizes/l/" title="Surprise Lilies"&gt;&lt;img src="http://farm7.static.flickr.com/6078/6098134709_a801a7cd63.jpg" width="415" height="311" alt="Lycoris squamigera"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/6098135453/sizes/l/" title="Resurrection Lilies"&gt;&lt;img src="http://farm7.static.flickr.com/6187/6098135453_8f43afc2a6.jpg" width="415" height="311" alt="Lycoris squamigera"&gt;&lt;/a&gt;&lt;br /&gt;On a Thursday afternoon of last year, August 19, 2010, I walked outside and noticed that the pretty light-pink flowers in the pictures above had been removed without my permission and were now conspicuously absent.  I have these plants growing in my front yard, and somebody had taken the blooms while they were still flower buds, before they had a chance to open up and blossom.  Where the flower buds had been, I saw only the headless portion of remaining stalk, the flower bud and long stem missing.  I suspected then that someone may have come onto the property, possibly in the dark of night or early morning, and stolen the budding flowers from the bulbous plants growing on the property, and that's why my flower buds were no longer there.  Upon further examination, I saw that the top ends of some of the headless stalks had uneven edges, whereas some had clean cut edges, indicating that whoever stole the flower buds from the property used two different methods to remove the desired items, perhaps knife, scissors, or other sharp-bladed object on some, and snapping off a few of the others.  The person(s) who did this left one stalk already in bloom, possibly because the buds are of greatest value when they have not bloomed yet.  Flower thief?  Flower poacher?  Blossom bandit?  Bloom burglar?  I'm not sure, but in researching why someone would take my flowers, I ascertained that the scientific name for the plant in question is &lt;a href="http://en.wikipedia.org/wiki/Lycoris_squamigera"&gt;Lycoris squamigera&lt;/a&gt;, otherwise known as surprise lily, resurrection lily, or &lt;a href="https://www.bluebirdgardens.com/bluebird_gardens_blog/2010/08/plant-naked-ladies-for-a-garden-surprise.html"&gt;naked lady&lt;/a&gt;, and the ones pictured are the short-stamen variety.  I tried to take a photo of what happened to my plants, but at the time &lt;a href="http://tpc247.blogspot.com/2011/08/canon-is-awesome.html"&gt;my digital camera&lt;/a&gt; was not working correctly.  Even though the perpetrator would unlikely ever be caught (I mean, how do you trace stolen flowers when I didn't do anything to mark them in any way) and it would probably be a waste of time, I went online and filed an Oakland police report.  Then I stewed in my own righteous anger, mad at whoever would do such a dastardly thing as steal someone else's flowers from their front yard.  I counted 11 of my flower buds taken from me.&lt;br /&gt;&lt;br /&gt;Upon further investigation, I discovered I am not the only one this has happened to.  Many parties, besides me, from people in homes with flowers in their gardens to destinations like the San Francisco Golden Gate Park, have reported flower theft, or flower poaching, or bloom snipping, or blossom burglary.  Apparently, &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2000/09/15/MN71394.DTL"&gt;flowers can bring you $1 to $5 each&lt;/a&gt;, and the unscrupulous florists who buy the ill-gotten goods may not want to ask a lot of questions.  Whoever thought your friendly neighborhood floral arrangement specialist and bouquet shopkeeper might be some shady criminal dealing in stolen goods?  The police are onto the thefts, though.  Thieves and the florists who buy from them have gotten caught with &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2009/12/27/HOUE1B1919.DTL"&gt;covertly-marked stems&lt;/a&gt;, and some plants worth as much as $1000 per have &lt;a href="http://www.azcentral.com/arizonarepublic/local/articles/2008/10/09/20081009saguaro1009.html"&gt;microchips embedded inside&lt;/a&gt; to indicate that they belong to someone else.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-455999984802549619?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/455999984802549619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/08/flower-thieves.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/455999984802549619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/455999984802549619'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/08/flower-thieves.html' title='Flower Thieves'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm7.static.flickr.com/6078/6098134709_a801a7cd63_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-9215374107173604778</id><published>2011-08-27T19:50:00.000-07:00</published><updated>2011-08-28T23:40:42.446-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>Canon is awesome</title><content type='html'>I want to let you all know about some pleasantly surprising, then, rather amazing, customer service I received, from the consumer and business technology company Canon.  Back in October 10, 2003, I purchased a Canon Powershot S400 digital camera with $300 my parents had given me for my birthday.  I really liked the camera, and got to use it a lot, but then last year, I started noticing some problems.  The problem I was having was, whenever I tried to take a picture, I saw something like this (thanks, &lt;a href=-"http://whizlog.blogspot.com/"&gt;Deepak Prakash&lt;/a&gt;, for the photo):&lt;br /&gt;&lt;img src="http://1.bp.blogspot.com/_ToESW5VXoIU/RgIqnJS0XeI/AAAAAAAAABk/NmhY_0fbplI/s400/IMG_5631_camera_problem.jpg"  alt="" height="311" width="415"/&gt;&lt;br /&gt;The image on the LCD monitor on the camera, and in subsequent photographs I took, was smeared, blurred, washed-out, and tinted pinkish-red.  Other times, I noted a warped, noisy, false-color image, then the LCD monitor would go dark on me.&lt;br /&gt;&lt;br /&gt;I was ready to toss the camera and buy a new one, but in a last bid attempt to save money and salvage what I had, on Friday, August 20, 2010, I called Canon, and from a conversation I had with Canon representative Mike, in Chesapeake, Virginia, he told me the following (and I paraphrase):&lt;blockquote&gt;This particular camera has a service notice, for an issue with an image sensor, a CCD, charge-coupled device.  That sensor can fail.  What I need to do is send the camera to Canon, and they will repair it for free.  I need to give Mike my information, and get a case created for me.  Before I send the camera in, remove the battery, memory card, and strap from the device.  Wrap camera in bubble wrap, and put in a cardboard box.  Mike will send 2 emails to you, the first has instructions on what to do and where to send it to, along with an evaluation form that I print out and put inside the box, and the 2nd email will come from UPS, with a free shipping label, prepaid and insured.  Once the camera is received, it will take 2 to 3 days for the Canon technicians to check in the camera and evaluate it; they will send me an email with a repair order and status, and then 5 to 7 days to repair and return to you.  Return shipping is via Fedex, and I will need to sign for it.  The advisory for this service notice went out in 2007, but you weren't registered, so you didn't receive the notice&lt;/blockquote&gt;Lo and behold, on Thursday, September 9, 2010, I received a repaired Canon S400 camera, which has been working for me just fine since then.  I thought it was worth mentioning that, other than the inconvenience of my not having the camera during the time it was in transit, being repaired, and shipped back to me, the whole repair process cost me nothing, and even the shipping was completely paid for by Canon.  I've come to find that the problem I encountered was common to many digital cameras from many brands that contained a particular Sony-made part:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.imaging-resource.com/badccds.html"&gt;http://www.imaging-resource.com/badccds.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've also come to find out that Canon is slowly phasing out the cameras they will repair, according to a timeline.  So if you have a Canon Powershot S400, it looks like you may be out of luck:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://camerarepair.blogspot.com/2007/11/canon-digital-cameras-showing-black.html"&gt;http://camerarepair.blogspot.com/2007/11/canon-digital-cameras-showing-black.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-9215374107173604778?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/9215374107173604778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/08/canon-is-awesome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9215374107173604778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9215374107173604778'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/08/canon-is-awesome.html' title='Canon is awesome'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_ToESW5VXoIU/RgIqnJS0XeI/AAAAAAAAABk/NmhY_0fbplI/s72-c/IMG_5631_camera_problem.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-2358442013471379352</id><published>2011-07-25T18:22:00.000-07:00</published><updated>2011-07-25T18:42:00.532-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>How to Add Google +1 to Your Blogger/Blogspot Presence</title><content type='html'>The Google Plus social network has been fun to play with so far, and I understand that even though Google+ has been growing &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2011/07/25/BU7A1KDM4A.DTL&amp;ao=all"&gt;really fast&lt;/a&gt;, it still has a ways to go before it catches up with Facebook and Twitter.  Unlike the latter two, one thing that takes getting used to in Google+ is the lack of a system to send a direct or private message to who you're connected with.  There is a work-around, where you can publish to your intended recipient's stream: you click on "Share what's new...", type something, but then when it comes time to 'Share', instead of specifying a circle, you type out the name of the person who you're connected to.  Your message then gets published to that person's plus.google.com stream.  The problem with this method of approximating direct messaging is, as &lt;a href="http://www.google.com/support/+/bin/static.py?page=guide.cs&amp;guide=1358057&amp;answer=1053543"&gt;Google+&lt;/a&gt; warns:&lt;blockquote&gt;Your content may be shared beyond the bounds which you originally intended if your post is reshared or if someone is mentioned on your post. For instance, if someone is mentioned in a comment, they'll be able to see the entire post even if the post wasn't originally shared with them.&lt;/blockquote&gt;So if you mention someone else in the content of the post, and happen to prepend that third person's name with a '+' or '@', then that person can now read your message, which defeats the purpose of a private, direct message.&lt;br /&gt;&lt;br /&gt;That said, Google+ is still pretty cool, and one can argue that because there is this limitation of no direct messaging, Google+ is cleaner and leaner, akin to Twitter's self-imposed 140 character limit (which I, and &lt;a href="http://www.slate.com/id/2299539/"&gt;Farhad Manjoo&lt;/a&gt;, think has outlived its usefulness, especially for Twitter conversations).  &lt;br /&gt;&lt;br /&gt;Before Google Plus came out, Google introduced +1, which is their version of the Facebook 'Like' button.  In addition to Google's &lt;a href="http://code.google.com/apis/+1button/"&gt;how to add +1 to your blog&lt;/a&gt;, for those on blogger/blogspot, here's what I did:&lt;br /&gt;&lt;br /&gt;As stated in the Google document above, you need to copy and paste one of the following 3 possible pairs of &lt;a href="http://en.wikipedia.org/wiki/Root_element"&gt;XML elements&lt;/a&gt; into your blog template:&lt;ul&gt;&lt;li&gt;&amp;lt;script&amp;gt; and &amp;lt;g:plusone&amp;gt; elements&lt;/li&gt;&lt;li&gt;&amp;lt;script&amp;gt; and &amp;lt;div&amp;gt; elements&lt;/li&gt;&lt;li&gt;Two &amp;lt;script&amp;gt; elements, the latter of which makes a call to the render function, as explained in the section &lt;a href="http://code.google.com/apis/+1button/#jsapi"&gt;Javascript API&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;They all accomplish the same thing, but if you don't know which one to use, I'd go with the first, or the second, one, either of which are easy to copy, as Google provides the boilerplate for you, without the need for any additional changes from you.  Our next steps are for where to paste what we copied:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;In Blogger's tabs console, click on 'Design'&lt;/li&gt;&lt;li&gt;Click on 'Edit HTML', and in the section 'Edit Template', click on 'Expand Widget Templates'&lt;/li&gt;&lt;li&gt;Paste anywhere inside.  I recommend that you provision a section inside the template so you can keep track of all the changes you've made to the default.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-2358442013471379352?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/2358442013471379352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/07/how-to-add-google-1-to-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/2358442013471379352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/2358442013471379352'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/07/how-to-add-google-1-to-your.html' title='How to Add Google +1 to Your Blogger/Blogspot Presence'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-2174233578514856259</id><published>2011-07-19T17:14:00.000-07:00</published><updated>2011-07-22T09:10:56.989-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>Leccion de Español Tres o Spanish Lesson 3</title><content type='html'>The Yards (1999, directed by James Gray) with Joaquin Phoenix (as Willie Gutierrez) and Robert Montano (as Hector), where they are speaking in Spanish. Mark Wahlberg is silent onlooker.&lt;br /&gt;Notice how Robert's character code-switches, i.e., changes the language he is using, from English to Spanish. In this context, Joaquin's character, who was conversing in the more familiar Spanish, reverts to English, to distance himself emotionally from the person who he was addressing. We later find out why, as Willie Gutierrez and his crew are, and have been, intentionally sabotaging the trains operated by Hector's company, in order to secure lucrative city contracts.&lt;br /&gt;&lt;br /&gt;&lt;iframe width="415" height="259" src="http://www.youtube.com/embed/B1f4_SM6Ucw" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;Hey, Gutierrez, quiero hablar contigo.&lt;br /&gt;Yo tengo nada que decir, Hector.&lt;br /&gt;Oye, yo soy tu amigo, chico.  Yo se, uh, lo que tu estas haciendo.&lt;br /&gt;&amp;lt;Willie reverts from Spanish to English&amp;gt;&lt;br /&gt;Hey, nunca vas a ser tan blanco como ellos.&lt;br /&gt;&lt;br /&gt;Back in February of last year, I was listening to talk radio, and had a chance to hear an interview with Audrey Nelson, author of &lt;a href="http://www.amazon.com/Code-Switching-Talk-Will-Listen/dp/1592579264/ref=sr_1_2?ie=UTF8&amp;qid=1311121737&amp;sr=8-2"&gt;Code Switching&lt;/a&gt;.  I took some notes:&lt;blockquote&gt;Code switching came out of linguistics, and it refers to someone who is good at and has knowledge of two cultures. Good communicators know how to switch gears. When speaking to audiences predominantly of one typical gender role, Audrey will use different styles; with men: statistics, research, be much more direct. With women: stories, relationship talk, very high level of disclosure within a couple of minutes, i.e., talking about your insecurities, fears and doubts.  Women are in the business of social maintenance, to take care of people and relationships.  Chit chat initiated by women before a meeting serves a purpose: to relax, make people feel freer, less on-edge, feel connected and bonded, be more civil to each other.  When men chit chat, they talk about safe topics like work, sports.  You spend more time at work than any other organization.  If the verbal and nonverbal contradict, human nature is to base decisions on the observation of non-verbal behavior.  Women are much better readers of nonverbal cues than men; excellence in social maintenance means excellence in observing people's feelings, relationships, emotions.&lt;/blockquote&gt;Although her book is mainly about how to communicate effectively in the workplace to a mostly male (or female) audience, the take-away message is to know the needs of your audience (which is what I was referring to in &lt;a href="http://tpc247.blogspot.com/2011/01/why-you-should-learn-black-english.html"&gt;Why You Should Learn Black English&lt;/a&gt;).  Ms. Nelson went on to state that we make 6 to 8 stereotype conclusions in the first 6 to 8 seconds that we meet each other.  Assuming you are fluent enough to pull it off convincingly (one of the biggest hurdles of code-switching), once you demonstrate that you can speak their language, your audience will feel connected and bonded, and be more civil to each other, and more comfortable with you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-2174233578514856259?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/2174233578514856259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/07/leccion-de-espanol-tres-o-spanish.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/2174233578514856259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/2174233578514856259'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/07/leccion-de-espanol-tres-o-spanish.html' title='Leccion de Español Tres o Spanish Lesson 3'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/B1f4_SM6Ucw/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3822210257455435486</id><published>2011-06-17T20:40:00.000-07:00</published><updated>2011-06-25T02:52:52.155-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='money'/><title type='text'>one of the best computer deals out there right now</title><content type='html'>This past Memorial day, I got a brand new computer.  It took Dell about a week to assemble and ship to me, and about a week for me and machine to get friendly.  Coming up for air, here's one thing I really love about &lt;i&gt;mi computador nuevo&lt;/i&gt;: the place where you rest your hands on your wrists, as you are about to type, feels really good.  It's never too cool, which is what you might expect from a smooth metal surface, and it's also never too hot, which is what you'd expect from metal sitting just millimeters above powerful circuitry.  The wrist rests on my new machine have a high-quality brushed metal finish, that feels almost silky, and the fact that you can rest your palms before typing, and not have the coolness transfer from the metal to your body, is a nice touch, and feels just right.  It's kind of like you were shipped a computer with the luxury upgrade of hand-and-wrist-rest warmers, and evokes in me a great deal of confidence in my recent purchase.  Those Dell engineers, artists and designers thought of everything, and presumably come from the same school of thought as the geniuses who gave you the ability to keep your cooked rice hot, your favorite massage chair heated, your toilet seat warm, your movie theater seats toasty, your car's front seats comfy in that morning chill, heck, yes, even your steering wheel warm:&lt;br /&gt;&lt;iframe width="415" height="259" src="http://www.youtube.com/embed/WW45OpOtiRU" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;Sure, it's a minor detail, as can be said about any luxury, and I'm not quite sure how they did it, but it speaks to the finesse of a homegrown company that has been at it for years, and has finally come into its own.  My new laptop is also energy star 5.0 compliant, &lt;a href="http://www.sfgate.com/cgi-bin/blogs/techchron/detail?entry_id=91079"&gt;unlike your tv set-top box or DVR&lt;/a&gt;, meaning when it comes to your utility bill, this laptop uses less electricity when idle, and very little power when you've got it asleep, or hibernating.&lt;br /&gt;&lt;br /&gt;My previous computer, an Acer Aspire 9410-2028, was purchased back in August of 2007, and did not have any hand/wrist warmers.  It was a good computer for its time, at a good price, but fast forward to the present, about 3.5 years later, and now getting anything done on the same computer is a real slog.  First, the hinges broke about a year and a half ago, which meant I had to find a way to prop up my screen or else it wouldn't stay up by itself.   Then, for the past year, if I ran my operating system for a while without rebooting, I noticed extreme latency, lots of disk spinning, very slow response time, and often my screen would suddenly go dark for a minute or more because of my graphics driver crashing (this occurred sometimes multiple times an hour).  If I tried to switch between web browser tabs or web browser windows, I dreaded having to endure 6 second to several minute waits while the computer finished what it was doing and caught up to me.  Trying to switch between a browser window to my desktop, or playing a movie, were bitterly negative experiences, evoking in me a range of responses from impatience, to taking the Lord's name in vain, to prolonged bouts of swearing and exasperation, sometimes leading to existential cries that made me doubt my commitment to sparkle motion:&lt;iframe width="415" height="259" src="http://www.youtube.com/embed/ouFnQTq6gNQ" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;If you're in the market, looking to buy, or have been shopping for a new computer, you could do a lot worse than what I got for $1239.61 ($1,123.99 + $6 environmental disposal fee + $109.62 tax):&lt;pre class="mycode"&gt;Dell XPS 17 (L702X), Windows® 7 Home Premium, 64-Bit&lt;br /&gt;PROCESSOR               2nd generation Intel® Core i7-2720QM processor 2.20 GHz with Turbo Boost 2.0 up to 3.30 GHz&lt;br /&gt;OPERATING SYSTEM        Genuine Windows® Home Premium, 64-Bit, English&lt;br /&gt;SERVICE PLAN            1 Year Limited Hardware Warranty (Mail-in repair in 10-14 business days - Shipping not included)&lt;br /&gt;HD DISPLAY              17.3" FHD (1080p) with 2.0MP HD Webcam&lt;br /&gt;MEMORY                  8GB Shared Dual Channel DDR3 Memory&lt;br /&gt;VIDEO CARD              NVIDIA® GeForce® GT 550M 1GB graphics with Optimus&lt;br /&gt;BATTERY OPTIONS         90 WHr 9-cell Lithium Ion Primary Battery&lt;br /&gt;HARD DRIVE              1.0TB 500GB 7.2k HDD x 2&lt;br /&gt;OFFICE SOFTWARE         Microsoft® Office Starter: reduced-functionality Word &amp; Excel w/ ads. No PowerPoint or Outlook&lt;br /&gt;SECURITY SOFTWARE       McAfee Security Center with VirusScan, Firewall, Spyware Removal, 30-Day Trial&lt;br /&gt;INTERNAL OPTICAL DRIVE  Tray Load Blu-ray Disc BD-Combo (Reads BD and Writes to DVD/CD)&lt;br /&gt;WIRELESS + BLUETOOTH    Intel® Centrino® Wireless-N 1000&lt;br /&gt;SOUND OPTIONS           JBL 2.1 Speakers with Waves Maxx Audio 3&lt;br /&gt;&lt;br /&gt;Dell XPS 17 for:&lt;br /&gt;Order Subtotal:          $1,123.99&lt;br /&gt;Shipping and Handling:   $9.00&lt;br /&gt;Shipping Discount:      -$9.00&lt;br /&gt;Environmental Disposal Fee: $6.00&lt;br /&gt;Tax Total:               $109.62&lt;br /&gt;Total Amount:            $1,239.61&lt;/pre&gt;What was important for me was the &lt;a href="http://ark.intel.com/Product.aspx?id=50067"&gt;64-bit quad-core Core&lt;sup&gt;TM&lt;/sup&gt; i7 2720qm CPU&lt;/a&gt;, only 1 or 2 steps below the state-of-the-art, most advanced chip currently out on the market.  Also, I needed my next computer to have 8 gigabytes of RAM, 1 terabyte of hard drive space, a 17-inch high-resolution 1920 x 1080 screen (yes, high definition), and the ability to play Blu-ray DVDs.  To get this computer at such a great price, I had to make two sacrifices and apply two coupon codes:&lt;ol&gt;&lt;li&gt;opt for the limited hardware warranty (essentially, I am betting Dell won't send me a lemon) of "Mail-in repair in 10-14 business days - Shipping not included" instead of the standard 1 Year Home Express Service of "Mail-in repair in 1-2 business days - Shipping included"&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;decide against the 3D capable screen and the 3D glasses&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;These codes subtract an additional $500 off.  Both codes expire June 30, 2011, but you can always search for &lt;b&gt;dell coupon codes&lt;/b&gt; to find the combination that gives you the most money off:&lt;ul&gt;&lt;li&gt;8GHR80Q1PLLCF7&lt;/li&gt;&lt;li&gt;7WR1C2?HTTQQ11&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ol&gt;Perhaps the economy has people spooked about spending $1200 on a computer, but I was surprised I wasn't able to find this deal advertised anywhere else.  I found this deal on my own, meaning I took the time to pick out which computer I wanted, and, through trial and error research, which applicable coupon codes were stackable, as many of the codes have restrictions.  At first I looked on techbargains.com, then on Costco's website and in their stores, and I was contemplating buying an HP Pavilion dv7t Quad Edition customizable Notebook PC for $1484.14 ($1,344.99 + $8 recycling fee + $131.14 tax), but that tax rate of almost 10% seemed exorbitant to me.  In a defiant act of tax avoidance (remember, Jesus votes Republican), I decided to do some research on computers being offered for sale on ebay, where sometimes you can buy items tax-free.  At one point I was willing to pay $1600 for the right configuration of parts, but not being able to find what I wanted from ebay, I decided to go on Dell's site directly.  There, I found I still had to pay tax, but Dell's grand total price was almost $300 less than the HP I was first expecting to buy, for an upgrade on the CPU, hard drive spin from 5400 rpm to 7200 rpm, 17.3 inch screen with resolution increase from 1600 x 900 to 1920 x 1080, and I was able to throw in a 50% upgrade in battery life, from 6 to 9 battery cells.&lt;br /&gt;&lt;br /&gt;Until the end of the year, Dell is taking an additional $20 off, and throwing in free shipping.  You can actually get this computer for $20 less than what I paid!  Here's the link to what it looks like:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dell.com/content/products/productdetails.aspx/xps-17?c=us&amp;cs=19&amp;l=en&amp;s=corp&amp;~lt=popup"&gt;http://www.dell.com/content/products/productdetails.aspx/xps-17?c=us&amp;cs=19&amp;l=en&amp;s=corp&amp;~lt=popup&lt;/a&gt;&lt;br /&gt;&lt;iframe width="415" height="259" src="http://www.youtube.com/v/tsdk7q08lIc&amp;iv_load_policy=3" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3822210257455435486?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3822210257455435486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/06/one-of-best-computer-deals-out-there.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3822210257455435486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3822210257455435486'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/06/one-of-best-computer-deals-out-there.html' title='one of the best computer deals out there right now'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/WW45OpOtiRU/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3749180544966014297</id><published>2011-05-31T11:00:00.000-07:00</published><updated>2011-06-15T19:24:07.059-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><category scheme='http://www.blogger.com/atom/ns#' term='open government'/><title type='text'>Bruce Ivins, maybe a creep, but the anthrax killer?</title><content type='html'>So the world hasn't ended yet, despite the bold and confident prediction of my former employer Harold Camping.  On May 23rd, Harold declared that Judgment Day did occur, but only spiritually, and revised his doomsday prediction, moving it up to October 21.  Harold's rationale was that sometimes God doesn't open our eyes and reveal everything to us, and it was good that the prediction was made, even if it didn't happen, because now the whole world knows about Judgment Day, and the Word of God.  As I observed Harold on his Open Forum television program in the days leading up to May 21, and on May 23 and days after, I couldn't help but notice the resemblance between Harold Camping and the kind of person being spoken of in &lt;a href="http://en.wikipedia.org/wiki/Man_and_Superman"&gt;Man and superman; a comedy and a philosophy&lt;/a&gt; (1903) by George Bernard Shaw:&lt;blockquote&gt;The reasonable man adapts himself to the world : the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.&lt;/blockquote&gt;Sometimes, a person can be so fixated on the conclusion that s/he wants, that the possibility of a mistake, an error, or even reasonable doubt, cannot be tolerated.  If the person represents not just himself, but is the face of an institution, sometimes the expense, wholesale investment, and senselessness of a wasted effort is magnified.  I am reminded of an interview on Slate's &lt;a href="http://www.slate.com/blogs/blogs/thewrongstuff/archive/2010/08/17/reasonable-doubt-innocence-project-co-founder-peter-neufeld-on-being-wrong.aspx"&gt;The Wrong Stuff&lt;/a&gt; on what it's like trying to free people who have been wrongly convicted of crimes:&lt;blockquote&gt;You become more certain over time; that's just the way the mind works. With the passage of time, your story becomes your reality... They're so convinced that they are right that they feel exempt from behaving right... There's still a whole category of prosecutors and detectives who say, "No, I'm sure [the guy I convicted] is guilty. I can't tell you how, I can't give you a logical explanation, but he's guilty."  What's scary is that these people are part of a system that's predicated on logic and reasoning to see that justice is done. Yet they will ignore all logic and reason to protect their egos and their psyches.  And it requires a complete disconnect, too, because these guys rely on DNA to convict bad guys all the time. But when the DNA works against them, they say something must have gone wrong.&lt;br /&gt;...based on my own experience, about half the time police and prosecutors bury their heads in the sand and insist that they were right no matter what the evidence says.&lt;br /&gt;If a prosecutor or a detective is totally unable to admit they're wrong in one case, what that tells you is that they will be making dozens and dozens more erroneous decisions, because they're not allowing new information to affect their views...  --  Peter Neufeld&lt;/blockquote&gt;I think the best way to gauge whether the person you're dealing with is being unreasonable is to ask him if there's anything you or anyone can say or do that will make him change his mind.  If he deflects, doesn't answer, or says 'no', then you have someone who probably cannot be swayed (least of all by reality).&lt;br /&gt;&lt;br /&gt;A couple of days ago, an excerpt was published in the &lt;a href="http://www.latimes.com/news/nationworld/nation/la-na-anthrax-ivins-20110529,0,4584195,full.story"&gt;Los Angeles Times&lt;/a&gt;, written by LA Times reporter David Willman.  From the soon-to-be-published &lt;i&gt;The Mirage Man&lt;/i&gt;, the excerpt reads like a hatchet job on Bruce Ivins, the supposed anthrax killer who struck shortly after 9/11 (when it really did seem like the world was going to end), painting a picture of the man as a major creep who was obsessed with the Kappa Kappa Gamma sorority.  With no citations or references to sources, the excerpt describes in vivid detail how the man broke into KKG sorority houses in North Carolina and West Virginia and stole a cipher used to decode secret rituals, and a book of rituals used by the young women, respectively.  But a &lt;a href="http://www.mcclatchydc.com/2011/05/19/114467/fbi-lab-reports-on-anthrax-attacks.html#ixzz1Nx8sUiGU"&gt;McClatchy News&lt;/a&gt; article, published 20 days before the LA Times excerpt, painted an entirely different picture of the whole story:&lt;blockquote&gt;In ending the inquiry last year, the Justice Department said that a genetic fingerprint had pointed investigators to Ivins' lab, and gumshoe investigative techniques enabled them to compile considerable circumstantial evidence that demonstrated his guilt.&lt;br /&gt;&lt;br /&gt;Among these proofs, prosecutors cited Ivins' alleged attempt to steer investigators away from a flask of anthrax in his lab that genetically matched the mailed powder — anthrax that had been shared with other researchers. They also noted his anger over a looming congressional cut in funds for his research on a new anthrax vaccine.&lt;br /&gt;&lt;br /&gt;However, the FBI never found hard evidence that Ivins produced the anthrax or that he scrawled threatening letters seemingly meant to resemble those of Islamic terrorists. Or that he secretly took late-night drives to Princeton, N.J., to mail them.&lt;br /&gt;&lt;br /&gt;The FBI declared Ivins the killer soon after paying $5.8 million to settle a suit filed by another former USAMRIID researcher, Steven Hatfill, whom the agency mistakenly had targeted earlier in its investigation.&lt;/blockquote&gt;While there is certainly circumstantial evidence that the FBI was correct in trying to pin the crime on Bruce Ivins, my fear is that there was too much at stake, especially after the FBI mistakenly focused on Hatfill; once Ivins committed suicide, there was a need for everyone at the Bureau to unify and say with one voice that Ivins was the guilty party, rather than deal with the possibility that they were responsible for a second tragedy.&lt;br /&gt;&lt;br /&gt;Thanks to &lt;a href="http://www.artdiamondblog.com/archives/2008/11/shaw_all_progre.html"&gt;Art Diamond&lt;/a&gt; for pointing me to the source for the Shaw quote.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3749180544966014297?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3749180544966014297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/05/bruce-ivins-maybe-creep-but-anthrax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3749180544966014297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3749180544966014297'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/05/bruce-ivins-maybe-creep-but-anthrax.html' title='Bruce Ivins, maybe a creep, but the anthrax killer?'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-9185767152890772022</id><published>2011-05-17T15:43:00.000-07:00</published><updated>2011-05-17T16:55:43.951-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><category scheme='http://www.blogger.com/atom/ns#' term='religion'/><title type='text'>The Gays and The End of the World</title><content type='html'>My former employer Harold Camping, a UC Berkeley graduate in civil engineering who sold his construction business and retired early so he could devote his life to studying the Bible and sharing the gospel, is predicting the world will end on May 21, 2011.  Unlike many religious leaders who preach a prosperity gospel or claim that Jesus would have wanted us to invade Iraq, two messages that I believe are contrary to what Jesus taught, Harold, a lay preacher who lacks any formal training in theology and is proud of that fact, lives humbly, does not take a salary, drives the same brown pickup truck he's driven for many years, and usually tries to distance his religious non-profit, Family Radio, from political questions like what candidates and issues you should support and vote for.  One thing he's done recently, though, that worries me a bit, is Harold has started to claim that the gay rights movement, and social acknowledgement of homosexuality in human society, is a sign that the world is becoming the embodiment of wickedness, and since God cannot stand the sight of uncleanliness, He will soon destroy us all, much like wiping dirt off the floor.  Now, I no longer work for Harold, so I no longer have a vested interest in obeying the political instinct we all have of trying to please the man who signs our paychecks, but you have to give the guy credit for being bold enough to stake his reputation on something he insists, very authoritatively, "absolutely will happen"; this new behavior of his, where Harold says that the increasing political and social acceptance of homosexuals openly serving in the military and as religious leaders somehow is a sign that the world will end soon, is troubling to me, and reeks of desperation:&lt;br /&gt;&lt;iframe width="415" height="259" src="http://www.youtube.com/embed/Mk3ovpIfSz8" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;It's almost as if Harold is grabbing at straws, trying to pander to an ugly theme in popular religion of bigotry, in an effort to rally the troops, who would otherwise question why none of the other foretold signs of judgment day and world destruction are literally happening, such as the sun and the moon turning dark, and the stars falling from the sky.&lt;br /&gt;&lt;br /&gt;Harold Camping's moment of truth will come in a few days, no matter what.  Either the end of the world will ruin your Saturday, May 21st, at 6pm standard time, or there will be no great earthquakes, nor bodies of true believers flying out of their graves to meet up with Jesus Christ in Heaven.  If it's all business as usual, then Harold will have some explaining to do.&lt;br /&gt;&lt;br /&gt;The matter of Armageddon Day aside, when I was last there, &lt;a href="http://familyradio.org"&gt;Family Stations Incorporated&lt;/a&gt; was taking in approximately $15 million in donations every year.  If you ever wanted to start your own religion, here's what &lt;a href="http://www.economist.com/blogs/babbage/2011/04/science_and_faiths"&gt;the Economist&lt;/a&gt; has to say:&lt;blockquote&gt;FANCY founding a religion? Keen to reform a flagging faith? Here a few tips on how to attract and retain followers, thus ensuring that your gospel spreads far and wide, affording spiritual solace to as many souls as possible. &lt;br /&gt;&lt;br /&gt;At the outset, you must realise that success is unlikely if you go wholly against the grain of human nature. Granted, religion is all about forging the perfect man, or at least ensuring that, as far as possible, he lives up to divine expectations. But preternatural power has forged man in such a way that he will swallow some of your ideas about how to achieve this more easily than others.&lt;br /&gt;...&lt;br /&gt;As in the case of states, your principal concern is to encourage co-operation among your flock. In the long run, groups that co-operate more have an advantage over those whose members are less willing to do so. This also means limiting the number of actual and potential shirkers. People, it seems, are naturally inclined to do this anyway, but you can egg them on with a few simple tricks.&lt;br /&gt;&lt;br /&gt;First, you are better off plumping for a personal god, rather than some sort of indeterminate life force. Research shows that people who profess a belief in such a deity judge moral transgressions more harshly, which in turn tends to make them more willing to abide by the rules, and expend resources on enforcing them. This may be down to a conviction that they are being incessantly watched over by an attentive minder, who tallies their contributions (or lack thereof) and rewards (or punishments) in a cosmic ledger. Speaking of which, incorporating the idea of just deserts is a fine plan, too. Apparently, people are born with an intuition to that effect. Just remember to keep the misfortunes visited on wrongdoers commensurate with their misdeeds. Otherwise people will think it unfair and won't buy it. No fire and brimstone for littering, and suchlike.&lt;br /&gt;...&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-9185767152890772022?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/9185767152890772022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/05/gays-and-end-of-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9185767152890772022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9185767152890772022'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/05/gays-and-end-of-world.html' title='The Gays and The End of the World'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/Mk3ovpIfSz8/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-784473284563227348</id><published>2011-04-30T13:44:00.000-07:00</published><updated>2012-01-04T18:44:03.091-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='money'/><category scheme='http://www.blogger.com/atom/ns#' term='health and fitness'/><title type='text'>Green Travel: Bring a Folding Bicycle on an Airplane</title><content type='html'>I was in Los Angeles last week to attend an event; a friend from high school had gotten married, and his wife was having a baby shower.  Shortly after I received the invitation, the best deal I could find was 3 weeks away, and so I booked the first flight leaving Oakland on a Tuesday morning, and the last flight coming back to Oakland the following week on a Wednesday night.  My sister, who lives in LA, being a mother of an almost 4-year-old girl, hadn't been getting much sleep, and she balked at picking me up when my plane arrived at Burbank airport at 7:15 am.  I decided that, when I arrived at my destination airport, I was not going to jump into a rented car, but get on my bike and, depending on the grace and mercy of the public transit system, ride to where I needed to go.  The last time I was in Los Angeles was 4 years ago, for my sister's own baby shower, and I had a rental car for a week; by the time I came back to the Bay Area, I had gained 10 pounds, due to increased caloric intake and lack of physical activity.  This time I was going to save money and get some more exercise.  Here's what I did to become a green traveler (or, a green traveller, as they say in the United Kingdom):&lt;br /&gt;&lt;br /&gt;What you will need:&lt;ul&gt;&lt;li&gt;tape measure&lt;/li&gt;&lt;li&gt;folding bike&lt;/li&gt;&lt;li&gt;bicycle lock&lt;/li&gt;&lt;li&gt;clear plastic garbage bag&lt;/li&gt;&lt;li&gt;bungee cord, also known as a shock cord&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;Confirm your airline's baggage policy.  I was allowed to check-in two bags for free, in accordance with the Southwest Airlines &lt;a href="http://www.southwest.com/html/customer-service/baggage/checked-bags-pol.html"&gt;checked bags policy&lt;/a&gt;:&lt;blockquote&gt;Weight and Size Allowance:&lt;br /&gt;Maximum weight is 50 pounds and maximum size is 62 inches (length + width + height) per checked piece of luggage. ...[O]verweight items from 50 to 100 pounds and oversized items in excess of 62 inches but not more than 80 inches (e.g.; surfboards, bicycles, vaulting poles) will be accepted for a charge of $50 per item.&lt;/blockquote&gt;If you don't want to be forced to pay $50 at the ticket counter, use measuring tape and a scale to make sure your bicycle conforms to the size and weight limitations.  Besides your folding bike, I recommend you bring a backpack as your other bag, because your folding bike's wheels are smaller than your standard bicycle, and you don't want to make your ride even more unstable by having a heavy bag slung around your neck, hanging off one side, making your bicycle ride unpleasant and unsafe.&lt;br /&gt;&lt;br /&gt;If your bicycle lock is a U-lock, it's likely the TSA agent may consider that it can be used as a weapon, so don't try to bring it onto the airplane cabin in your carry-on; rather, lock your U-lock to your bicycle during the check-in.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Pack light.  Erykah Badu, in her famous "Bag Lady", exhorts, "Bag Lady, you're going to miss your bus.  You can't hurry up, cause you got too much stuff."&lt;br /&gt;&lt;iframe title="YouTube video player" width="340" height="277" src="http://www.youtube.com/embed/OqN0jsSeqPo" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;Do not be the bag lady, who would surely hurt her back, draggin' all her bags like that!  Besides my folding bike, I had &lt;b&gt;one&lt;/b&gt; backpack, into which I put my laptop computer, a change of underwear and an extra pair of shorts, an extra 16-inch inner-tube, and hard plastic steel-core tire levers, in case I got a flat tire.  I got a lot of my tips for how to pack light from &lt;a href="http://tpc247.blogspot.com/2011/04/how-to-pack-light-for-men-and-women.html"&gt;this article&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;I decided to enclose my bike in a plastic bag in an effort to conform to Southwest's &lt;a href="http://www.southwest.com/travel_center/sports_equipment.html"&gt;Sports Equipment Policy&lt;/a&gt;:&lt;blockquote&gt;Non-motorized Bicycles, including Bike Friday and Co-Pilot, will be accepted in substitution of a free piece of checked baggage at no additional charge provided the bicycle is properly packaged and the box containing the bicycle fits within the 62-inch sizing limit and weighs 50 lbs or less... Bicycles packaged in a cardboard box or soft-sided case will be transported as a conditionally accepted item.&lt;/blockquote&gt;"Conditionally accepted" means Southwest assumes no liability for damage sustained during transport.  I decided on a see-through transparent bag because I imagine the airport baggage handlers will be a bit more careful if they are able to see that it's a bicycle they are handling, than if the bicycle was in a canvas bag or hard-sided case.  Once your bike is unfolded at your destination airport, you can easily store the plastic bag in your backpack.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;You will also want to bring a &lt;b&gt;spare inner tube&lt;/b&gt; that is in your folding bike's tire size, and &lt;b&gt;tire levers&lt;/b&gt;, in case you get a flat tire.  Los Angeles has a lot of gas stations, bike shops, and people with bicycles and tire pumps in their garages, where you can use a pump if need be, but if you will not be in a densely populated area, you may also want to bring along a bike pump.  By the way, for those of you concerned with how the change in air pressure during a flight may or may not affect the compressed air in your bicycle tires: before I began my voyage, I had my tires inflated beyond the recommended upper limit, and at both of my destination airports, when I received my bike, there was never any problem with my tires or inner tubes.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/5670471471/sizes/l/" title="2005 Dahon Presto Lite"&gt;&lt;img src="http://farm6.static.flickr.com/5306/5670471471_25ffedd579.jpg" alt="" height="311" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;My &lt;a href="http://dahon.com.br/archive/2005/prestolite.htm"&gt;2005 Dahon Presto Lite&lt;/a&gt;.  This model is no longer available for retail sale.  I bought mine second-hand.  It came without mud guards.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/5671040346/sizes/l/" title="folded size is 30 x 20 x 11 for a total of 61 linear inches"&gt;&lt;img src="http://farm6.static.flickr.com/5066/5671040346_9f13c66979.jpg" alt="" height="311" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;Folded size, without right pedal, is 30 x 20 x 11, for a total of 61 linear inches.  The right pedal is easily removable.  Folded size, with right pedal, is 30 x 20 x 17, for a total of 67 linear inches.  Weight is about 18 pounds.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/5670471561/sizes/l/" title="folded bike with U-lock"&gt;&lt;img src="http://farm6.static.flickr.com/5266/5670471561_ef5857be9e.jpg" alt="" height="311" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;Folded bike with U-lock, locked to frame.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/5670471567/sizes/l/" title="folded bike with U-lock, clear plastic garbage bag, and bungee cord"&gt;&lt;img src="http://farm6.static.flickr.com/5068/5670471567_c0331a43d2.jpg" alt="" height="311" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;Folded bike with U-lock, locked to frame, covered by clear plastic garbage bag, and secured with bungee cord.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Did you ever have any problems, or unexpected events or hiccups, with checking-in your bike at the airport?&lt;/i&gt;&lt;br /&gt;On my recent flight, during both check-ins, with my removable right pedal affixed, neither Southwest ticket counter agent made an issue of the extra few linear inches or, for that matter, ever took out a measuring tape.  There was one incident where, during my first check-in, a Southwest ticket counter agent said she would have to charge me $50 to transport a bicycle.  However, I pointed out that, on their website, the Southwest policy is that bikes under the size and weight limit count as checked-in baggage and are not subject to a fee.  The agent looked up the policy, gave my folding bike a once-over, looked at the bike's weight, and said it was ok.&lt;br /&gt;&lt;br /&gt;If you're looking to buy a folding bike, I recommend: &lt;br /&gt;&lt;br /&gt;&lt;a href="http://foldingcyclist.com/folding-bike-buyers-guide.html"&gt;http://foldingcyclist.com/folding-bike-buyers-guide.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;though one drawback is the guide doesn't have folded-size dimensions.  If you have the time to look for a second-hand, well-maintained bike for a good price, I recommend &lt;a href="http://craigslist.org"&gt;Craigslist&lt;/a&gt;, which is how I found mine.&lt;br /&gt;&lt;br /&gt;Conceivably, you could also bring a folding bike with you on a boat cruise, or sight-seeing in an RV or tour bus.  So now you have another option as a green tourist.  Next time you travel, don't rent a car; bring a bicycle.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-784473284563227348?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/784473284563227348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/04/green-travel-bring-folding-bicycle-on.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/784473284563227348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/784473284563227348'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/04/green-travel-bring-folding-bicycle-on.html' title='Green Travel: Bring a Folding Bicycle on an Airplane'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/OqN0jsSeqPo/default.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-8854106445041550648</id><published>2011-04-29T16:40:00.000-07:00</published><updated>2011-04-29T16:52:32.154-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='money'/><title type='text'>How to Pack Light, for Men and Women</title><content type='html'>In preparation for a recent trip to Los Angeles, I read up on some tips on how to travel smart and avoid baggage fees.  &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2001/06/10/TR220593.DTL&amp;ao=all"&gt;Debra Saunders&lt;/a&gt; advises people to pack heavy, but this part of her column I definitely agree with:&lt;blockquote&gt;European travel guru Rick Steves has recommended that, regardless of the length of a trip, that the savvy male tourist pack only three pairs of socks and underwear, a pair of shorts, two short-sleeved shirts, a long-sleeved shirt, a sweater, a windbreaker and one pair of shoes. On his Web site he tells vacationers they should fit everything they are taking into one "carry-on size bag."&lt;/blockquote&gt;&lt;br /&gt;A tip for couples traveling with a small child or children, from &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2006/07/09/TRGHHJOJPT1.DTL&amp;ao=all"&gt;John Flinn&lt;/a&gt;:&lt;blockquote&gt;"But you can't pack light if you're traveling with small children," protested several readers. Apparently no one told Andy Sedik of South San Francisco: "My wife and I just returned from a two-week trip to Eastern Europe with our 14-month-old daughter using only two carry-ons, an umbrella stroller and a diaper bag. Not only is it possible, it makes life on the road so much easier. Once you travel light, you never go back."&lt;/blockquote&gt;&lt;br /&gt;Tips for men from &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2006/06/11/TRG05J8OKR1.DTL"&gt;John Flinn&lt;/a&gt; (Note the sidebar, "The Art of Packing", which covers 'Packing for Cruises' and 'What Women Want'):&lt;blockquote&gt;This is everything I pack for a typical three-week trip to Europe or South America, riding trains and buses and splitting my time between town and country. It all fits easily into a carry-on bag, with room left over for a bottle of &lt;a href="http://en.wikipedia.org/wiki/C%C3%B4tes_du_Rh%C3%B4ne"&gt;Côtes du Rhône&lt;/a&gt;, a baguette and a few souvenirs.&lt;/blockquote&gt;&lt;br /&gt;Tips for women from &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2010/08/01/TRDH1DLQP6.DTL&amp;ao=all"&gt;Eliza Hussman&lt;/a&gt;:&lt;blockquote&gt;I had carried around heavy suitcases for years, mostly because I always seemed to get a bad case of the "what ifs" while packing: "What if someone spills something on my dress and I need a backup?" or "What if it stops raining while I'm there and I need a swimsuit - or three?" or the dreaded "What if those sandals don't look as cute with that dress as I'd thought and my friend asks me if I brought a different pair?"&lt;/blockquote&gt;&lt;br /&gt;Tips for women from &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2006/06/11/TRGIKJA98O1.DTL"&gt;Christine Delsol&lt;/a&gt;&lt;blockquote&gt;&lt;ul&gt;&lt;li&gt;Two pairs of shoes is the maximum: Good walking shoes that will hold up for eight or 10 hours at a stretch, and a lighter pair -- comfortable sandals that can go with skirts for more formal outings in hot climates, or perhaps stylish flats in cooler weather.&lt;/li&gt;&lt;li&gt;A light, longish skirt is the best staple for hot climates. Unlike shorts, skirts can dress up or down, they are as welcome in restaurants and cathedrals as at the beach, they ward off sunburn and require little space. Take several.&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-8854106445041550648?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/8854106445041550648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/04/how-to-pack-light-for-men-and-women.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8854106445041550648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8854106445041550648'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/04/how-to-pack-light-for-men-and-women.html' title='How to Pack Light, for Men and Women'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3189381139507744617</id><published>2011-03-25T21:33:00.000-07:00</published><updated>2011-10-31T21:04:52.979-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>How to use Perl, PHP, Python, R, and Ruby to find Euclidean distance between two points</title><content type='html'>According to &lt;a href="http://en.wikipedia.org/wiki/Euclidean_distance"&gt;Wikipedia&lt;/a&gt;:&lt;blockquote&gt;In the Euclidean plane, if p = (p1, p2) and q = (q1, q2) then the distance is given by:&lt;br/&gt;&lt;br/&gt;&lt;a href="http://en.wikipedia.org/wiki/Euclidean_distance"&gt;&lt;img src="http://upload.wikimedia.org/math/2/7/1/27187d79303f30595f6ea88c89136aa3.png"/&gt;&lt;/a&gt;&lt;/blockquote&gt;Assuming you are using the Cartesian coordinate system, your two coordinates must both be of length &lt;i&gt;n&lt;/i&gt;, where &lt;i&gt;n&lt;/i&gt; can be any non-zero positive integer.  So if the two points in question, &lt;b&gt;p&lt;/b&gt; and &lt;b&gt;q&lt;/b&gt;, each had 3 values:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;p&lt;/b&gt; = (p&lt;sub&gt;1&lt;/sub&gt;, p&lt;sub&gt;2&lt;/sub&gt;, p&lt;sub&gt;3&lt;/sub&gt;), &lt;b&gt;q&lt;/b&gt; = (q&lt;sub&gt;1&lt;/sub&gt;, q&lt;sub&gt;2&lt;/sub&gt;, q&lt;sub&gt;3&lt;/sub&gt;)&lt;br /&gt;&lt;br /&gt;Then &lt;i&gt;n&lt;/i&gt; would equal 3, and the distance formula would be:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Euclidean_distance"&gt;&lt;img src="http://upload.wikimedia.org/math/6/0/f/60fef8f555d15a44d6fb3d0dca84761e.png"/&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The hardest part for me, when putting this all together, was figuring out, for each scripting language, how to iterate over, i.e., step through, the respective elements of both coordinates, simultaneously:&lt;br /&gt;&lt;br /&gt;Perl 5 (5.12.2):&lt;br /&gt;&lt;pre class="mycode"&gt;use List::Util qw(sum);&lt;br /&gt;use List::MoreUtils qw{ any pairwise };&lt;br /&gt;&lt;br /&gt;sub get_distance_between&lt;br /&gt;{&lt;br /&gt;  if (scalar(@_) != 2)&lt;br /&gt;  {&lt;br /&gt;    die "You must supply 2, and only 2, coordinates, no more, no less.  Stopped";&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  my $a_ref = shift;&lt;br /&gt;  my $b_ref = shift;&lt;br /&gt;&lt;br /&gt;  if (@$a_ref != @$b_ref)&lt;br /&gt;  {&lt;br /&gt;    die "Coordinates do not have the same number of elements, stopped";&lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;    @x = pairwise { ($a - $b)**2 } @a, @b;&lt;br /&gt;    return sqrt(sum(@x));&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Usage:&lt;br /&gt;@a = (1008, 2243, 976), @b = (1005, 2249, 974);&lt;br /&gt;$ad = get_distance_between(\@a, \@b);&lt;br /&gt;print "\$ad == $ad";&lt;/pre&gt;&lt;br /&gt;PHP 5.3.6:&lt;br /&gt;&lt;pre class="mycode"&gt;function subtract_and_square($n, $m)&lt;br /&gt;{&lt;br /&gt;  return(pow($n - $m, 2));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function find_distance_between($p, $q)&lt;br /&gt;{&lt;br /&gt;  $numargs = func_num_args();&lt;br /&gt;  if ($numargs != 2)&lt;br /&gt;  {&lt;br /&gt;    die("You must supply 2, and only 2, coordinates, no more, no less.\n");&lt;br /&gt;  }&lt;br /&gt;  else if (sizeof($p) != sizeof($q))&lt;br /&gt;  {&lt;br /&gt;    die("Coordinates do not have the same number of elements.\n");&lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;    $c = array_map("subtract_and_square", $p, $q);&lt;br /&gt;    return pow(array_sum($c), .5);&lt;br /&gt;  }&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;Python 2 (2.5.4):&lt;br /&gt;&lt;pre class="mycode"&gt;def get_distance_between(p, q):&lt;br /&gt;  if len(p) != len(q):&lt;br /&gt;    raise Exception&lt;br /&gt;  else:&lt;br /&gt;    sum = 0&lt;br /&gt;    for pval, qval in zip(p, q):&lt;br /&gt;      sum += (pval - qval)**2&lt;br /&gt;  return sum**(.5)&lt;/pre&gt;&lt;br /&gt;R (2.12.1):&lt;br /&gt;&lt;pre class="mycode"&gt;get_distance_between = function(p, q)&lt;br /&gt;{&lt;br /&gt;  if (length(p) != length(q))&lt;br /&gt;  { &lt;br /&gt;    stop("\nCoordinates do not have the same number of elements.") &lt;br /&gt;  }&lt;br /&gt;  else&lt;br /&gt;  {&lt;br /&gt;    element_products = mapply(function(a,b) (a - b)**2, p, q)&lt;br /&gt;    sqrt(sum(element_products))&lt;br /&gt;  }&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;Ruby 1.9.2:&lt;br /&gt;&lt;pre class="mycode"&gt;require 'generator'&lt;br /&gt;&lt;br /&gt;def get_distance_between(p, q)&lt;br /&gt;  if p.length != q.length&lt;br /&gt;    raise Exception&lt;br /&gt;  else&lt;br /&gt;    sum = 0&lt;br /&gt;    syen = SyncEnumerator.new(p, q)&lt;br /&gt;    for pval, qval in syen&lt;br /&gt;      sum += (pval - qval)**2&lt;br /&gt;    end&lt;br /&gt;  end&lt;br /&gt;  return Math.sqrt(sum)&lt;br /&gt;end&lt;/pre&gt;&lt;br /&gt;In the Perl example, thanks to Miller Hall and Jon Bjornstad for their review and suggestions on how to improve my Perl code to make it more readable.&lt;br /&gt;In the R example, thanks to Spencer Graves and Nicholas Lewin-Koh for pointing me to mapply and plyr (which I did not have time to research and use).&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Update&lt;/i&gt;: On October 31, 2011, my friend Nikita Borisov, assistant professor in Computer Science, offered the following suggestion on facebook re the R and Python code:&lt;blockquote&gt;This person clearly hasn't used these languages very much. In R, you can say sqrt(sum((p-q)**2)). Similarly, in Python you can write sqrt(sum([(x-y)**2 for (x,y) in zip(p,q)]))&lt;/blockquote&gt;Thanks, Nikita!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3189381139507744617?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3189381139507744617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/03/how-to-use-python-r-and-ruby-to-find.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3189381139507744617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3189381139507744617'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/03/how-to-use-python-r-and-ruby-to-find.html' title='How to use Perl, PHP, Python, R, and Ruby to find Euclidean distance between two points'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-9073031682126099098</id><published>2011-03-21T23:41:00.000-07:00</published><updated>2011-03-22T00:46:12.734-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>The 3 Most Important Things a Programmer Must Know</title><content type='html'>&lt;i&gt;Write code, run code, fix code&lt;/i&gt; is essentially what a programmer does, said the speaker at an intriguing talk I recently attended, hosted by the Perl Mongers group.  Zed Shaw is the author of &lt;a href="http://www.meetup.com/San-Francisco-Perl-Mongers/events/16408904/"&gt;Learning Python the Hard Way&lt;/a&gt; and in review, I have to agree with this user-generated comment:&lt;blockquote&gt;Very knowledgeable not just with Python, but he has a deep understanding of programming. He inspired me to be a better thinker and programmer.&lt;/blockquote&gt;I was interested in this talk because Zed Shaw made a name for himself by coding the Mongrel web server, as well as Mongrel2, both of which were and are integral parts of Ruby on Rails.  I looked forward to the rather unique confluence of a core Ruby on Rails programmer giving a talk about Python at a Perl meetup.  I had a prior discussion with a female attendee at a Ruby on Rails Workshop for Women on why religious wars in technology were so prevalent; some people get worked-up over a particular choice of scripting language (Perl vs Python vs Ruby) or &lt;a href="http://xkcd.com/378/"&gt;text editor&lt;/a&gt;, and soon flame wars ensue on the internet about which technology is best.  Rodney King asked us after the Los Angeles riots, and Zed is living proof that we can all get along, at least when it comes to scripting languages.&lt;br /&gt;&lt;br /&gt;Zed took a year off to learn jazz guitar.  He realized, when learning music, you have the concept of a trainer, who tells you to play individual chords multiple times until you get better at it.  Then the trainer tells you to play another chord, and then play a song in both chords, in a progression, until you have some experience under your belt.  Whenever you want to learn something difficult, it's hard to explain the ideas unless you have some experience under your belt.  Using this same principle, Zed decided to introduce the beginner to simple coding exercises, until you get better at writing computer programs, and then he slowly introduces the concepts to you.&lt;br /&gt;&lt;br /&gt;The fact that Zed was able to use an analogy from music learning in explaining hard-to-grasp concepts in computer programming makes his experience valuable and his book a must-read for me.  Zed strikes me as hard-working, dedicated to his craft, and he knows something about how to get beginner programmers engaged in a new, complex, but rewarding venture.  One last thing he said that really hit home for me: Zed recommends learning &lt;a href="http://en.wikipedia.org/wiki/Parsing"&gt;parsing&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Lexical_analysis"&gt;lexing&lt;/a&gt;, the two most important things, other than algorithms, that a programmer must know.   Right now, Zed is doing C and Lua, and he mentioned software called Corona that enables the Lua programmer to write iPhone games.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-9073031682126099098?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/9073031682126099098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/03/3-most-important-things-programmer-must.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9073031682126099098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9073031682126099098'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/03/3-most-important-things-programmer-must.html' title='The 3 Most Important Things a Programmer Must Know'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-6603503929912314517</id><published>2011-02-28T18:11:00.000-08:00</published><updated>2012-01-19T03:55:33.536-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>Reality Television's 'Cheaters' is Fake</title><content type='html'>I'm someone who has lived in Oakland for about 3.5 years now.  I love what I do everyday.  I like hanging out with my friends, and maybe having a few drinks on the weekend.  That's it really.  Well, I'll also admit to enjoying so-called "reality" television, which sometimes caters to the dark human desire to live out revenge fantasies.  Most anyone who's been jilted, especially in love, has dreamed of getting even.  It's why shows like Cheaters are so readily watched: you locate your significant other and have them followed by private investigators, who covertly record their rendezvous.  Then you surround the target with a television crew of 15-20, along with a vocal leading man who takes charge for you and orchestrates the ambush of the person you feel has hurt you.  You overcome the protestations of your target with a video recording of the infidelity, embarrass the heck out of that denying, unfaithful, lying liar, and, if the planets are aligned correctly, a shoving match or physical altercation may ensue.  As I grew accustomed to watching the show, I realized the real payoff was the thrill of not knowing what would happen next, and I'll confess to craning my neck, out of morbid curiosity, to see if the confrontation would turn violent, much like you might expect fisticuffs or a brawl at a hockey game, crashes at a race-car event, or some other dramatic development of extreme behavior we humans can all process and talk about the next day.&lt;br /&gt;&lt;br /&gt;The host of Cheaters who leads the charge to surprise your cheating lover, and plead your case, was once Tommy Habeeb (stage name Tommy Grand), but, since 2002, it's been Joey Greco.  Joey was present during some episodes I still remember, such as the one where Steve French, caught, spooked, cornered and insulted, &lt;a href="http://www.youtube.com/watch?v=b7rMurhvd48"&gt;kicked in a car's passenger window&lt;/a&gt;, and then decked his accusatory girlfriend Rene Reardon in the face, or the episode where entrepreneur Aaron Rodriguez, in a relationship with a subordinate female employee, discovers he had kissed his girlfriend Emily Cruz's mouth, just after she had performed a sex act on her male coworker, Aaron's subordinate employee, right under his nose.  Earlier, we saw the subordinate male urinate in the office coffee; we then see the man-being-cheated-on, Aaron, &lt;a href="http://www.youtube.com/watch?v=1sbrvE5C4gE"&gt;drink the very same coffee&lt;/a&gt; laced with urine.  Let's not forget the explosive confrontation that interrupted Dalia Santiago's outdoor marriage ceremony, as it slowly dawns on the bride in her wedding dress that the man she was about to marry had been carrying on with Jamie Isaacs and had been recorded picking up a one-night stand at a saloon:&lt;iframe title="YouTube video player" width="415" height="338" src="http://www.youtube.com/embed/p-RssG55gcQ?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;Good times, good times...  Yet, come to find we the Cheaters audience may all have been cheated on, by Cheaters!  According to the &lt;a href="http://www.houstonpress.com/2002-10-17/news/your-cheatin-art/"&gt;Houston Press&lt;/a&gt;:&lt;blockquote&gt;Actors don't need to be tailed by Gomez for weeks on end. They don't present security risks, and they don't need counseling. They also tend to be younger and better looking than real cheaters, who often will not consent to allow the show to air their faces.&lt;br /&gt;&lt;br /&gt;The bogus cheaters interviewed for this story say they've never heard of Goldstein and that Gomez stressed to them never to reveal to Grand or the camera crew that they were acting.&lt;br /&gt;&lt;br /&gt;One of the actors, Michelle, met Gomez last fall. "What he told me was that some of the episodes are real, but...a lot of people didn't want to be on the show once they'd been busted, so they would do these ringer episodes to supplement the show," says Michelle, who asked not to be identified by her last name.&lt;/blockquote&gt;If the reports are true, it's all very troubling, for it means Bobby Goldstein was trying to hide information from his business partner, Tommy Habeeb.  I think it's telling that when the Houston Press report first came out in 2002, alleging falsehood on the part of Cheaters, Tommy Habeeb and Bobby Goldstein parted ways shortly after because Tommy had "differences with the production company"; I can even imagine the confrontation that occurred between Habeeb and Goldstein, with Tommy demanding that Bobby be straight with him, then Tommy and Bobby have their falling out, and Tommy leaves the company.  Two reports from &lt;a href="http://www.insideedition.com/videos/298/inside-edition-investigates-cheaters.aspx"&gt;Inside Edition&lt;/a&gt; in 2009 seem to indicate that the infamous program where Tommy's replacement Joey Greco got stabbed was also staged, and when Inside Edition sets upon the man himself, rolling up on and presenting to this frequent accuser apparent evidence that seems to support the accusations of fakery and cheating, &lt;a href="http://www.insideedition.com/videos/300/inside-edition-confronts-joey-greco,-host-of-cheaters.aspx"&gt;Joey Greco&lt;/a&gt; would neither confirm or deny any specific allegations, such as whether the blood was fake.&lt;br /&gt;&lt;br /&gt;I would prefer not to believe these revelations, as I then would need to accept that some of my favorite Cheaters episodes are no more real than professional wrestling.  If Cheaters is scripted, then this means that the voyeuristic thrill we get in watching people being secretly captured on camera is based on a false premise, and that it is we, the viewers, who are being had, led on by actors, who knew they were on camera, playing a role.  But how can a reality television program broadcast fiction and claim that it's the truth?  The same Houston Press article reports:&lt;blockquote&gt;According to a Federal Communications Commission spokesman, there's no law or regulation against presenting acted-out scenarios as reality on television.&lt;/blockquote&gt;In response to the &lt;a href="http://en.wikipedia.org/wiki/Quiz_show_scandals"&gt;quiz show scandals&lt;/a&gt; of the 1950s, when impropriety was uncovered in rigged game shows, Congress did pass a law, in 1960, amending the Communications Act of 1934, and preventing anyone from fixing quiz shows.  Well, apparently, it's not illegal to portray scripted shows as "actual true stories filmed live", even as said program, to this day, claims nothing is staged and every broadcast episode starts out with language reiterating the show is not fake.  So, on television at least, you can call it non-fiction and sell it as non-fiction, even if, the truth is, Cheaters is fiction.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-6603503929912314517?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/6603503929912314517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/02/reality-televisions-cheaters-is-fake.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/6603503929912314517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/6603503929912314517'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/02/reality-televisions-cheaters-is-fake.html' title='Reality Television&apos;s &apos;Cheaters&apos; is Fake'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/p-RssG55gcQ/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-9106123401904634941</id><published>2011-02-12T15:56:00.000-08:00</published><updated>2011-02-21T05:20:32.868-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><title type='text'>The Almost Perfect, Guilt-Free, Shrimp to Eat</title><content type='html'>Pandalus platyceros.  &lt;a href="http://en.wikipedia.org/wiki/Pandalus_platyceros"&gt;Spot Prawns&lt;/a&gt; range all along the Pacific coast, but mostly in the North Pacific.&lt;br /&gt;&lt;br /&gt;Courtesy of &lt;a href="http://www.theatlantic.com/food/archive/2011/02/finally-a-big-wild-shrimp-to-eat-without-guilt/70894/"&gt;The Atlantic&lt;/a&gt;:&lt;blockquote&gt;But one shrimp has it all: the spot prawn caught off the coast of British Columbia. The species is big, luscious, and caught in a completely sustainable manner. Its only drawback is that Canadians have recently awakened to these virtues, and devour most of the catch before it can be exported...Instead of dragging nets, spot-prawn fishermen use round, washtub-sized traps that operate on the same principle as lobster pots—prawns are lured in by containers of fishmeal and are unable to get out.&lt;/blockquote&gt;I remembered these live shrimp being offered for sale at &lt;a href="http://maps.google.com/maps/place?oe=utf-8&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a&amp;um=1&amp;ie=UTF-8&amp;q=New+Sang+Chong+market,+oakland&amp;fb=1&amp;gl=us&amp;hq=New+Sang+Chong+market,&amp;hnear=Oakland,+CA&amp;cid=14411870454260373875"&gt;New Sang Chong Market&lt;/a&gt; in Oakland Chinatown, so I went this morning and took some pictures:&lt;a href="http://www.flickr.com/photos/15742375@N00/5440116022/" title="IMG_9845 by tqf, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5057/5440116022_f17910a347.jpg" width="415" height="311" alt="IMG_9845" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/5439510193/" title="IMG_9844 by tqf, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5132/5439510193_b267df79bf.jpg" width="415" height="311" alt="IMG_9844" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-9106123401904634941?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/9106123401904634941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/02/almost-perfect-guilt-free-shrimp-to-eat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9106123401904634941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/9106123401904634941'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/02/almost-perfect-guilt-free-shrimp-to-eat.html' title='The Almost Perfect, Guilt-Free, Shrimp to Eat'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm6.static.flickr.com/5057/5440116022_f17910a347_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-5053632849238278103</id><published>2011-01-23T22:12:00.000-08:00</published><updated>2011-10-02T08:08:16.926-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>Why You Should Learn Black English</title><content type='html'>Many of my friends are new parents now, married, in long-term careers, and looking to buy their second homes.  As for me, I'm on my last unemployment extension, with no job in sight, have been single for decades, and I mutter to myself on the street like a crazy man.  And I don't have a cellphone.  What I do have, though, is the gift of gab, and I find myself befriending homeless people, just for the conversation.  We humans need the company of other human beings, which is why it's important for me that I know the language of the street.  What some call black English, ebonics, African American vernacular (Harry Reid racily termed it "negro dialect", before he had to apologize for the trouble he got in) is remarkably the same almost anywhere you go.  In a pinch, black English helps me establish rapport and connect with everyday people I might meet, who remain important sources of information.  This is true if the person you're looking at is starting out (or starting over) at the bottom, and may lack the peace-of-mind and sophistication we associate with the highly-educated, wealthy and the wise.  Once you're out on the street, whether we like it or not, black English intrudes on our lives, sometimes unexpectedly.  For instance, the distinguished &lt;a href="http://en.wikipedia.org/wiki/Alfred_E._Mann"&gt;Alfred Mann&lt;/a&gt;, a man I highly respect, had to do a double-take, at 2:05:&lt;object width="425" height="256"&gt;&lt;param name="movie" value="http://cdn.gotraffic.net/flash/BloombergMediaPlayer.swf"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;param name="flashvars" value="file_url=http%3A//videos.bloomberg.com/65782550.flv&amp;amp;autoplay=false&amp;amp;site=blp.embed&amp;amp;zone=vod/ceo&amp;amp;EnableLogging=true&amp;amp;LoggingDomain=www.bloomberg.com&amp;amp;sz=1x1&amp;amp;tile=1&amp;amp;poster_url=http%3A//www.bloomberg.com/apps/data%3Fpid%3Davimage%26iid%3DiNsKSeHGR1C4"&gt;&lt;/param&gt;&lt;embed src="http://cdn.gotraffic.net/flash/BloombergMediaPlayer.swf" flashvars="file_url=http%3A//videos.bloomberg.com/65782550.flv&amp;amp;autoplay=false&amp;amp;site=blp.embed&amp;amp;zone=vod/ceo&amp;amp;EnableLogging=true&amp;amp;LoggingDomain=www.bloomberg.com&amp;amp;sz=1x1&amp;amp;tile=1&amp;amp;poster_url=http%3A//www.bloomberg.com/apps/data%3Fpid%3Davimage%26iid%3DiNsKSeHGR1C4" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="256" wmode="opaque"&gt;&lt;/embed&gt;&lt;/object&gt;Now, I'm not black, and you may not be, but I'm not white, either.  There is a popular concept that really popular entertainers like Eminem, and Elvis, or comics like Lenny Bruce, either stole the language of black people or their language was stolen from black people:&lt;iframe title="YouTube video player" class="youtube-player" type="text/html" width="425" height="345" src="http://www.youtube.com/embed/JxC_3VdcIE4?rel=0" frameborder="0" allowFullScreen&gt;&lt;/iframe&gt;I think this notion is mistaken.  By the same logic, since this piece was composed using the King's English, I must have stolen English from white people.  I think an argument can be made that what is known on Wikipedia as &lt;a href="http://en.wikipedia.org/wiki/African_American_Vernacular_English"&gt;African American vernacular English&lt;/a&gt; borrows heavily, if not outright steals, from the language of low-class white people from the South, many perhaps dirt-poor indentured servants.&lt;br /&gt;&lt;br /&gt;If speaking black English is a crime, then may God forgive me.  And now that America has a black president, it's high time Americans learn about black English. Barack Obama intuitively knows that you have to be likeable with regular people if you want to get things done.  Like the President, I come from an elite school, but it took me 30 years of going to and from this earth, and up and down it, before I learned that I am no more elite than the guy digging through the trash for recyclable bottles and cans. If, by definition, most people are of average measure, wouldn't it be important to know how most people feel and live ? I think learning about black English, and learning how to pull off speaking it convincingly, is part of learning how to be ordinary, or, at least, appearing to be.  These men have the right idea:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Top 5 Best Covers or Musical Examples of White People Speaking Black English&lt;/b&gt;&lt;ol&gt;&lt;li value="5"&gt;&lt;a href="http://www.amazon.com/Boyz-In-The-Hood/dp/B001NTJS1O/ref=sr_1_2?ie=UTF8&amp;s=dmusic&amp;qid=1295697128&amp;sr=1-2"&gt;Dynamite Hack - Boyz in the Hood&lt;/a&gt;&lt;br /&gt;  &lt;iframe title="YouTube video player" class="youtube-player" type="text/html" width="340" height="276" src="http://www.youtube.com/embed/pIo81Fk6J5g?rel=0" frameborder="0" allowFullScreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li value="4"&gt;&lt;a href="http://www.amazon.com/Gin-and-Juice/dp/B001ZG4AZY/ref=sr_1_1?ie=UTF8&amp;s=dmusic&amp;qid=1295697773&amp;sr=1-1"&gt;The Gourds - Gin &amp; Juice&lt;/a&gt;  &lt;br /&gt;  &lt;iframe title="YouTube video player" class="youtube-player" type="text/html" width="340" height="276" src="http://www.youtube.com/embed/wCAM3C3dpIA?rel=0" frameborder="0" allowFullScreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li value="3"&gt;&lt;a href="http://www.amazon.com/Baby-Got-Back/dp/B000ZK7YKO/ref=sr_1_1?ie=UTF8&amp;qid=1295696518&amp;sr=8-1"&gt;Jonathan Coulton - Baby Got Back&lt;/a&gt;  &lt;br /&gt;  &lt;iframe title="YouTube video player" class="youtube-player" type="text/html" width="340" height="276" src="http://www.youtube.com/embed/lyJeC99QO8A?rel=0" frameborder="0" allowFullScreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li value="2"&gt;&lt;a href="http://www.amazon.com/Waiting-To-Die-Explicit/dp/B000W1U9J4/ref=sr_1_1?ie=UTF8&amp;s=dmusic&amp;qid=1295697950&amp;sr=1-1"&gt;Mickey Avalon - Waiting to Die&lt;/a&gt;  &lt;br /&gt;  &lt;iframe title="YouTube video player" class="youtube-player" type="text/html" width="340" height="224" src="http://www.youtube.com/embed/MhOygMSMfz4?rel=0" frameborder="0" allowFullScreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li value="1"&gt;&lt;a href="http://www.amazon.com/One-Long-Year-Todd-Rundgren/dp/B00004TQUV/ref=pd_rhf_p_t_2"&gt;Todd Rundgren - Bang on the Ukulele Daily&lt;/a&gt;  &lt;br /&gt;  &lt;iframe title="YouTube video player" class="youtube-player" type="text/html" width="340" height="256" src="http://www.youtube.com/embed/jvLO2E4yMUc?rel=0" frameborder="0" allowFullScreen&gt;&lt;/iframe&gt;&lt;/li&gt;&lt;/ol&gt;Honorable mentions should go to songs like &lt;a href="http://www.amazon.com/Only-Drunk-Explicit-Album-Version/dp/B002RP9BRO/ref=sr_1_2?ie=UTF8&amp;qid=1295853558&amp;sr=8-2"&gt;Crazy Town - Only When I'm Drunk&lt;/a&gt;, which is a perfectly good rock band cover, but doesn't have that quirky cuteness that transforms the covers in my Top 5 into softened, almost folksy, American ballads that, despite their white-washed veneers, remain subversive at their heart. You may find yourself humming these seemingly harmless tunes without a second thought, such as the easy-listening, elevator music &lt;a href="http://en.wiktionary.org/wiki/paean"&gt;paean&lt;/a&gt; to the female derriere (complete with a singular quack of a duck) by Jonathan Coulton, or the quick ditty at the end of Dynamite Hack's track, referencing moonlight howls by an addict who has acquired a large amount of narcotic:&lt;pre&gt;Punk ass tripping in the dead of night.&lt;br /&gt;Homie scored a key, he's gonna fly.&lt;br /&gt;Punk ass, fly&lt;/pre&gt;along with the mutterings of the fiend in question: &lt;i&gt;"They're ripping off everybody man, they're ripping off everybody"&lt;/i&gt;, or the understated banjo-mandolin bluegrass cover, by The Gourds, of the 'G' Funk classic on the joys of consuming hard liquor and cannabis, whilst operating a motor vehicle on the streets of Los Angeles.&lt;br /&gt;&lt;br /&gt;What are your favorite examples of white people speaking black English ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-5053632849238278103?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/5053632849238278103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/01/why-you-should-learn-black-english.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5053632849238278103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5053632849238278103'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/01/why-you-should-learn-black-english.html' title='Why You Should Learn Black English'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/JxC_3VdcIE4/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3067513333494405918</id><published>2011-01-01T16:45:00.000-08:00</published><updated>2011-02-21T05:20:13.996-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><title type='text'>Año Nuevo Felicidad</title><content type='html'>My first new year in the Fruitvale, an extremely noisy, raucous, firecracker and gunfire peppered midnight.  Oh, and I found a bullet on my driveway this morning:&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/5314217168/" title="Large caliber bullet on my driveway, New Year's Day by tqf, on Flickr"&gt;&lt;img src="http://farm6.static.flickr.com/5049/5314217168_75c25ba5f9.jpg" width="415" height="553" alt="Large caliber bullet on my driveway, New Year's Day" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3067513333494405918?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3067513333494405918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2011/01/ano-nuevo-felicidad.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3067513333494405918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3067513333494405918'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2011/01/ano-nuevo-felicidad.html' title='Año Nuevo Felicidad'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm6.static.flickr.com/5049/5314217168_75c25ba5f9_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-7943712562782928535</id><published>2010-12-27T19:26:00.001-08:00</published><updated>2011-02-28T22:21:59.558-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='human interest'/><title type='text'>Spanish Lesson 2, or Leccion de Español Dos</title><content type='html'>Thanks to a friendly USPS female employee who works at my local post office, I found out that &lt;i&gt;locos gatos potones&lt;/i&gt; means &lt;b&gt;crazy big-footed cat&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/crazy-ivory/5098888565/" title="sick fearless bastard"&gt;&lt;img src="http://farm2.static.flickr.com/1170/5098888565_1bcdb2aee3_m.jpg" width="415" height="252" alt="" style="border: solid 2px #000000;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: 0.9em; margin-top: 0px;"&gt;&lt;a href="http://www.flickr.com/photos/crazy-ivory/5098888565/"&gt;sick fearless bastard&lt;/a&gt; &lt;br /&gt;Originally uploaded by &lt;a href="http://www.flickr.com/people/crazy-ivory/"&gt;Crazy Ivory&lt;/a&gt;&lt;/span&gt;&lt;br clear="all" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-7943712562782928535?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/7943712562782928535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2010/12/spanish-lesson-2-or-leccion-de-espanol.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7943712562782928535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7943712562782928535'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2010/12/spanish-lesson-2-or-leccion-de-espanol.html' title='Spanish Lesson 2, or Leccion de Español Dos'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm2.static.flickr.com/1170/5098888565_1bcdb2aee3_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-6296909464940973011</id><published>2010-11-01T16:12:00.000-07:00</published><updated>2010-11-01T17:10:24.764-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>Rails3: Migrating from MySQL to PostgreSQL</title><content type='html'>I encountered an error even though I had successfully run:&lt;pre class="mycode"&gt;gem install pg&lt;/pre&gt;I googled:&lt;pre class="mycode"&gt;install postgresql rails windows "no such file to load -- pg"&lt;/pre&gt;and &lt;a href="http://www.petermac.com/rubyrails-3-and-postgresql/"&gt;Peter Mac&lt;/a&gt; helped me out.  In your Rails 3 Gemfile, make the following change:&lt;pre class="mycode"&gt;#  gem 'mysql'&lt;br /&gt;  gem 'pg', :require =&gt; 'pg'&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-6296909464940973011?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/6296909464940973011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2010/11/rails3-migrating-from-mysql-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/6296909464940973011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/6296909464940973011'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2010/11/rails3-migrating-from-mysql-to.html' title='Rails3: Migrating from MySQL to PostgreSQL'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-244006608040483778</id><published>2010-08-19T13:06:00.000-07:00</published><updated>2010-08-20T18:31:26.478-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='human interest'/><title type='text'>California Academy of Sciences, Golden Gate Park, San Francisco</title><content type='html'>Yesterday, I finally had the chance to visit the California Academy of Sciences, motivated by my desire to see the &lt;a href="https://www.calacademy.org/academy/building/the_living_roof/"&gt;Living Roof&lt;/a&gt;.  They say if you live near a landmark, you tend to not make an effort to see it, and I believe that's what happened with me.  Luckily, a friend from Belgium was in town, and I had the idea to show him and his wife the facility; unfortunately, plans fell through, but I decided to go alone.  Every third Wednesday is Free Day.  My advice: get in line as early as you can.  I got in line at 8:40am, and the line was already fairly long.  Doors open at 9:30am, and close at 5pm.  By the time I left, at 2:45pm. the line was still extremely long, and people at the front had been waiting for 50 minutes.&lt;p&gt;&lt;a href='http://www.calacademy.org/visit/'&gt;http://www.calacademy.org/visit/&lt;/a&gt;&lt;/p&gt;Photos are courtesy of &lt;a href='http://www.sharpshooterimaging.com/sales/about.htm'&gt;SharpShooters&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/4907906897/" title="18AUG2010WED  9;45am_entrance_California Academy of Sciences by tqf, on Flickr"&gt;&lt;img src="http://farm5.static.flickr.com/4079/4907906897_0359522f6d.jpg" width="415" height="312" alt="18AUG2010WED  9;45am_entrance_California Academy of Sciences" /&gt;&lt;/a&gt;&lt;br /&gt;Outside the entrance, doing my best scuba diver impression&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/4908500692/" title="18AUG2010WED 10am_Extreme Mammals_California Academy of Sciences by tqf, on Flickr"&gt;&lt;img src="http://farm5.static.flickr.com/4102/4908500692_0a1da1536d.jpg" width="415" height="312" alt="18AUG2010WED 10am_Extreme Mammals_California Academy of Sciences" /&gt;&lt;/a&gt;&lt;br /&gt;Outside the "Extreme Mammals" exhibit, doing my best wooly mammoth impression (we're all showing our teeth)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-244006608040483778?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/244006608040483778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2010/08/california-academy-of-sciences-golden.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/244006608040483778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/244006608040483778'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2010/08/california-academy-of-sciences-golden.html' title='California Academy of Sciences, Golden Gate Park, San Francisco'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4079/4907906897_0359522f6d_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3351561749089999846</id><published>2010-06-22T00:22:00.000-07:00</published><updated>2010-07-17T21:32:05.283-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>Are you a sociopath, or just an extreme narcissist ?</title><content type='html'>Jenna meets a paramedic.  He thinks she's incredible, and they seem perfect for each other.  He leaves before they can plan to meet later, and now, at her wit's end, Jenna tells her coworker Pete the story.  This reminds Pete of a book he once read, a question psychiatrists ask in order to ascertain whether a person is a sociopath:&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=13402501&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" /&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=13402501&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Recently, a friend recommended a book, &lt;a href='http://www.amazon.com/Sociopath-Next-Door-Martha-Stout/dp/0767915828/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1277192776&amp;sr=8-1'&gt;The Sociopath Next Door&lt;/a&gt;, which he says will keep you up at night, thinking how &lt;b&gt;1 out of every 25&lt;/b&gt; people you meet would just as soon kill you as tell you to get out of the way.  A fellow 30 Rock fan said on his blog:&lt;blockquote&gt;...the basic principle of sociopaths viewing others as tools instead of people is entirely correct. Sociopathy is more than just a lack of emotion, they literally don’t connect to people the way human beings are supposed to.&lt;/blockquote&gt;Reference: &lt;a href='http://www.fearfulsymmetry.net/?p=179'&gt;http://www.fearfulsymmetry.net/?p=179&lt;/a&gt;&lt;br /&gt;&lt;p&gt;All this talk of sociopathy (psychopathy is the outdated term) makes me wonder whether &lt;i&gt;sociopath&lt;/i&gt; is the latest incarnation of &lt;i&gt;witch&lt;/i&gt;, &lt;i&gt;Communist&lt;/i&gt;, &lt;i&gt;racist&lt;/i&gt;, or even &lt;i&gt;terrorist&lt;/i&gt;.  Who in their right mind, when accused of such a despicable thing, even labeled as such by an expert or authority, can figure out what to do or say to disprove it ?&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3351561749089999846?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3351561749089999846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2010/06/are-you-sociopath-or-just-extreme.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3351561749089999846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3351561749089999846'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2010/06/are-you-sociopath-or-just-extreme.html' title='Are you a sociopath, or just an extreme narcissist ?'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-1102448942140888090</id><published>2010-06-11T20:33:00.000-07:00</published><updated>2011-02-25T19:40:33.100-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>Neon Signs on Korean Storefront from Nabbeun namja (2001)</title><content type='html'>After the &lt;a href="http://www.imdb.com/title/tt0307213/"&gt;Bad Guy&lt;/a&gt; gets beat up by the soldiers, he sees the girl's boyfriend meet up with the girl, and the Bad Guy covertly follows them around on their date.  Towards the end of the evening, the boyfriend tries to lead the girl to a Korean storefront, but she hesitates, then refuses, and kicks her boyfriend in the leg before running off.  The Korean storefront had neon signs in front.  What do the neon signs say ?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/4692496586/sizes/l/"&gt;&lt;img src="http://farm5.static.flickr.com/4058/4692496586_5ca75e46d6_b.jpg" width="415" height="268" alt="Korean storefront still from 2001 movie Nabbeun namja, Bad Guy" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;**UPDATE**&lt;br /&gt;This question has been answered by &lt;a href="http://www.imdb.com/user/ur23018733/boards/profile/"&gt;sonofberzerk&lt;/a&gt; on imdb:&lt;br /&gt;&lt;br /&gt;It says "motel."&lt;br /&gt;It's a love motel.&lt;br /&gt;They're all over Seoul for couples who want to have sex, but can't get privacy at home because of living with parents or they're having affairs or something like that.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.imdb.com/title/tt0307213/board/nest/164747758"&gt;http://www.imdb.com/title/tt0307213/board/nest/164747758&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-1102448942140888090?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/1102448942140888090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2010/06/neon-signs-on-korean-storefront.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1102448942140888090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1102448942140888090'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2010/06/neon-signs-on-korean-storefront.html' title='Neon Signs on Korean Storefront from &lt;i&gt;Nabbeun namja&lt;/i&gt; (2001)'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4058/4692496586_5ca75e46d6_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-8964704436851325727</id><published>2010-03-21T23:55:00.000-07:00</published><updated>2010-03-31T12:24:39.616-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><title type='text'>In Memoriam: Alicia Scott Lee, 17, of Mill Valley, California</title><content type='html'>My heart goes out to Alicia's family. The photograph being referred to in the last sentence of the article is here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://imgs.sfgate.com/c/pictures/2010/01/18/ba-weather19165m_0501072192.jpg"&gt;&lt;img src="http://imgs.sfgate.com/c/pictures/2010/01/18/ba-weather19165m_0501072192.jpg" width="415" height="268" alt="Alicia Scott Lee at Crissy Field" /&gt;&lt;/a&gt;&lt;blockquote&gt;[Alicia] was the subject of a published photograph herself recently, when a Chronicle photographer captured her examining a puddle at Crissy Field after a rainstorm in January.&lt;br /&gt;&lt;br /&gt;The photo, which she adopted as her Facebook profile picture, shows her traipsing ankle-deep through the water, studying the ripples, camera around her neck.&lt;/blockquote&gt;Reference:&lt;br /&gt;&lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2010/03/21/MNB41CJAEO.DTL&amp;tsp=1"&gt;http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2010/03/21/MNB41CJAEO.DTL&amp;tsp=1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-8964704436851325727?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/8964704436851325727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2010/03/in-memoriam-alicia-scott-lee-of-mill.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8964704436851325727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8964704436851325727'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2010/03/in-memoriam-alicia-scott-lee-of-mill.html' title='In Memoriam: Alicia Scott Lee, 17, of Mill Valley, California'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-1374526297800888146</id><published>2009-12-21T17:46:00.000-08:00</published><updated>2011-02-25T19:45:12.687-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>The Influence of the Stars</title><content type='html'>Right around the time I found out Brittany Murphy died yesterday, I finished reading &lt;a href="http://www.amazon.com/Eating-Animals-Jonathan-Safran-Foer/dp/0316069906/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1261446524&amp;sr=8-1"&gt;Eating Animals&lt;/a&gt; by Jonathan Safran Foer.  In an eye-opening piece on the 1918 Spanish flu pandemic (which killed more humans faster than any other disease, or any other &lt;i&gt;anything&lt;/i&gt;, has before or since), the author goes into the history behind the word 'influenza':&lt;blockquote&gt;Much like the virus it names, the word &lt;i&gt;influenza&lt;/i&gt; comes to us by way of a mutation.  The word itself was first used in Italian and originally referred to the influence of the stars - that is, astral or occult influences that would have been felt by many people at once.  By the 16th century, though, the word has begun mixing and blending with the meanings of other words and come to refer to epidemic and pandemic flues that simultaneously strike multiple communities (as if the result of some malevolent will).&lt;/blockquote&gt;Reference: page 13 in &lt;u&gt;Eating Animals&lt;/u&gt;.&lt;br /&gt;&lt;br /&gt;Much like an Italian villager in the 1500s, I feel like the universe is conspiring against me, trying to prevent me from discovering more about three Asian American actresses in a movie with Brittany.  I searched IMDB, on Google, and even posted a question on Yahoo Answers, all to no avail.  So I ask you, Gentle Reader, what are the names of the actresses who portrayed Janet Hong and 2 other unnamed Asian female characters in the movie &lt;a href="http://www.imdb.com/title/tt0112697/"&gt;Clueless&lt;/a&gt; (1995) ?&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="340"&gt;&lt;param name="movie" value="http://www.youtube.com/v/6CpUE9UHWDg&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/6CpUE9UHWDg&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="340"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-1374526297800888146?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/1374526297800888146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/12/influence-of-stars.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1374526297800888146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1374526297800888146'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/12/influence-of-stars.html' title='The Influence of the Stars'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-4849409985059204140</id><published>2009-09-23T17:25:00.000-07:00</published><updated>2010-08-01T03:50:36.366-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='statistics'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>how to import data into R and SAS</title><content type='html'>What is bio-statistics and how does it relate to me ?  I am often asked this question, and now I think I may have an answer.  With the advent of the Internet, we are now in the Age of Information, and when it comes to "statistical data analysis", a rather imposing mouthful, to quote a recent article in the New York Times (and I paraphrase):&lt;blockquote&gt;In field after field, computing and the Web are creating new realms of data to explore - sensor signals, surveillance tapes, social network chatter, public records and more.  We're rapidly entering a world where everything can be monitored and measured, but the big problem is going to be the ability of humans to use, analyze and make sense of the data.  Strong correlations of data do not necessarily prove a cause-and-effect link.  For example, in the late 1940s, before there was a polio vaccine, public health experts in America noted that polio cases increased in step with the consumption of ice cream and soft drinks.  Eliminating such treats was even recommended as part of an anti-polio diet.  It turned out that polio outbreaks were most common in the hot months of summer, when people naturally ate more ice cream, showing only an association.  Computers do what they are good at, which is trawling these massive data sets for something that is mathematically odd, and humans do what they are good at and explain these anomalies.&lt;/blockquote&gt;To analyze statistical data, we use computer programs as tools to work with such information as &lt;b&gt;biological data&lt;/b&gt;.  Yet another recent article in the New York Times compares and contrasts two of these computer programs, &lt;a href="http://www.r-project.org/"&gt;R&lt;/a&gt; and &lt;a href="http://www.sas.com"&gt;SAS&lt;/a&gt; (and again I paraphrase):&lt;blockquote&gt;SAS Institute (the privately held business software company that specializes in data analysis)'s namesake SAS has been the preferred tool of scholars and corporate managers.  But the R Project has also quickly found a following because statisticians, engineers and scientists without computer programming skills find it easy to use.&lt;/blockquote&gt;Reference:&lt;br /&gt;&lt;a href="http://www.nytimes.com/2009/08/06/technology/06stats.html"&gt;http://www.nytimes.com/2009/08/06/technology/06stats.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.nytimes.com/2009/01/07/technology/business-computing/07program.html?pagewanted=all"&gt;http://www.nytimes.com/2009/01/07/technology/business-computing/07program.html?pagewanted=all&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So "Statistical Data Analysis" in the abstract sense is a formidable journey of a thousand miles, but the bite-size journey's first step involves importing a set of data into the tool (I'm assuming you already obtained, installed, and are running the software).  For purposes of demonstration, I've created a data set using the actual previous year's receipts I had gathered and saved from each and every time I filled my car's tank with gasoline:&lt;pre&gt;    18AUG2009  6 12.815 37.66&lt;br /&gt;    14JUL2009 12  4.340 11.8&lt;br /&gt;    28MAY2009  6  9.532 24.39&lt;br /&gt;    22APR2009  4  7.348 16.01&lt;br /&gt;    25MAR2009  2  5.509 11.12&lt;br /&gt;    15MAR2009  7  4.230  8.62&lt;br /&gt;    04MAR2009  3 11.989 25.16&lt;br /&gt;    21FEB2009  7 13.298 27.91&lt;br /&gt;    29JAN2009 15 13.989 27.68&lt;br /&gt;    03JAN2009  6 12.620 22.70&lt;br /&gt;    29NOV2008 16 11.239 20.78&lt;br /&gt;    25SEP2008  8 13.929 51.80&lt;/pre&gt;Note that on the tail end of the second line, in the last figure, 11.8, I omitted a zero ('0') when I was typing the data in.  We'll come back to that later.  I decided to record the following four fields for each time I filled the gas tank (all took place at Costco in San Leandro):&lt;ol&gt;&lt;li&gt;date of purchase&lt;/li&gt;&lt;li&gt;pump number&lt;/li&gt;&lt;li&gt;quantity of gas obtained, in gallons&lt;/li&gt;&lt;li&gt;cost of the transaction&lt;/li&gt;&lt;/ol&gt;In both tools, R and SAS, we will then divide cost by quantity and generate a fifth field, price per gallon.&lt;br /&gt;&lt;br /&gt;To import a dataset into your software, you can either read from a file, or copy and paste it in (although for R, you will copy the data set, but you won't actually paste anything).  The following scripts have been tested on R versions 2.8.1, 2.9.2 and SAS version 9.1.3 Service Pack 4.&lt;ul&gt;&lt;li&gt;To read data from a file within R and SAS:&lt;ol&gt;&lt;li&gt;identify the path to the file containing your data set.  Let's say the path is:&lt;br /&gt;&lt;pre&gt;G:\tpc247\petrol.txt&lt;/pre&gt;if you're on Windows, the convention is to delimit or separate folders with a backslash, but this poses a problem for software that is trained to recognize tabs and carriage returns and newlines as '\t', '\r' and '\n' respectively.  For reasons of cross-platform compatibility, if there are backslashes in your Windows path, add another one right next to it:&lt;br /&gt;&lt;pre&gt;G:\\tpc247\\petrol.txt&lt;/pre&gt;or replace the backslash with a forward slash:&lt;br /&gt;&lt;pre&gt;G:/tpc247/petrol.txt&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;at the command prompt, input and run the following incantations:&lt;ul&gt;&lt;li&gt;R:&lt;br /&gt;&lt;pre class="mycode"&gt;petrol_01 = read.table("G:/tpc247/petrol.txt", header=FALSE, col.names=c('date', 'pump', 'quantity', 'cost'))&lt;br /&gt;petrol_01$per_gallon &lt;- petrol_01$cost / petrol_01$quantity&lt;br /&gt;petrol_01&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;SAS:&lt;pre class="mycode"&gt;data petrol_01;&lt;br /&gt;   infile "G:/tpc247/petrol.txt";&lt;br /&gt;   input date_of_sale$ 5-13 pump_number$ 16-17 quantity 20-25 cost 28-32;&lt;br /&gt;   per_gallon = cost / quantity;&lt;br /&gt;   proc print data=petrol_01;&lt;br /&gt;   title 'Unleaded gasoline purchase history for 1 year, San Leandro, California Costco';&lt;br /&gt;run;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;To read data from computer memory in R and SAS:&lt;ul&gt;&lt;li&gt;R:&lt;ol&gt;&lt;li&gt;copy and paste this into R, but don't actually run the incantation yet:&lt;pre class="mycode"&gt;petrol_01 = read.table("clipboard", col.names=c('date', 'pump', 'quantity', 'cost'))&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;copy your data set, &lt;i&gt;then&lt;/i&gt; run the previous incantation&lt;/li&gt;&lt;br /&gt;&lt;li&gt;run the rest as you normally would:&lt;pre class="mycode"&gt;petrol_01$price_per_gallon &lt;- petrol_01$cost / petrol_01$quantity&lt;br /&gt;petrol_01&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;SAS:&lt;pre class="mycode"&gt;data petrol_01;&lt;br /&gt;  input date_of_sale$ 5-13 pump_number$ 15-16 quantity 18-23 cost 25-29;&lt;br /&gt;  per_gallon = cost / quantity;&lt;br /&gt;  datalines;&lt;br /&gt;    18AUG2009  6 12.815 37.66&lt;br /&gt;    14JUL2009 12  4.340 11.8&lt;br /&gt;    28MAY2009  6  9.532 24.39&lt;br /&gt;    22APR2009  4  7.348 16.01&lt;br /&gt;    25MAR2009  2  5.509 11.12&lt;br /&gt;    15MAR2009  7  4.230  8.62&lt;br /&gt;    04MAR2009  3 11.989 25.16&lt;br /&gt;    21FEB2009  7 13.298 27.91&lt;br /&gt;    29JAN2009 15 13.989 27.68&lt;br /&gt;    03JAN2009  6 12.620 22.70&lt;br /&gt;    29NOV2008 16 11.239 20.78&lt;br /&gt;    25SEP2008  8 13.929 51.80&lt;br /&gt;  proc print data=petrol_01;&lt;br /&gt;  title 'Unleaded gasoline purchase history for 1 year, Costco in San Leandro, California';&lt;br /&gt;run;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;Coming back to the omitted zero ('0') on the second line in our last figure, 11.8, you might find it amusing how finicky R and SAS are about what they eat.  Putting this tutorial together gave me the opportunity to learn some valuable things about the two tools.  Just like a toddler can be very picky about the food she feels like taking in her, feeding data to R and SAS and ensuring they digest the data correctly may require some forethought and planning.  When importing the dataset into both tools from a file, I noticed that in:&lt;ul&gt;&lt;li&gt;R, if I didn't include in my incantation:&lt;pre&gt;header = FALSE&lt;/pre&gt;I would find the first record in my dataset on file would be missing from my dataset in R&lt;/li&gt;&lt;li&gt;SAS, omitting the zero ('0') when I typed the following into my dataset, for July 14, 2009:&lt;pre&gt;14JUL2009 12  4.340 11.8&lt;/pre&gt;did not pose a problem, as long as I ran a previous incarnation of my SAS script:&lt;pre&gt;data petrol_01;&lt;br /&gt;   infile "G:/tpc247/petrol.txt";&lt;br /&gt;   input date_of_sale$ pump_number$ quantity cost;&lt;br /&gt;   per_gallon = cost / quantity;&lt;br /&gt;   proc print data=petrol_01;&lt;br /&gt;run;&lt;/pre&gt;However, I didn't like the resulting output in SAS.  I have developed a preference for a specific way of representing dates that is 9 characters long and in a format that, to my eyes, is more easy to read.  However, when I ran the aforementioned script on my data set, my dates were truncated:&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3948308199/sizes/l/" title="SAS fill gas tank dataset by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2512/3948308199_c774417f98_b.jpg" width="340" height="200" alt="SAS fill gas tank dataset" /&gt;&lt;/a&gt;&lt;br /&gt;It seemed that SAS preferred data in columns to be 8 characters or less, or else it would truncate any value greater than 8 characters.  So even though running my SAS script resulted in SAS correctly reading in my data, and there was no problem with my omitting the zero ('0'), I decided to modify the incantations in my script and specify the columns so that the dates in my desired format would not be cut off.  When I did this, I noticed that data in SAS was different from the data on file:&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3949089522/sizes/l/" title="SAS fill gas tank dataset by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2541/3949089522_bda94e9f78_b.jpg" width="340" height="200" alt="SAS fill gas tank dataset" /&gt;&lt;/a&gt;&lt;br /&gt;As you can see, the information from the fill_the_gas_tank event for 28MAY2009 has disappeared, and the line in my dataset on file:&lt;pre&gt;14JUL2009 12  4.340 11.8&lt;/pre&gt;has been replaced in SAS with&lt;pre&gt;14JUL2009 12  4.340 2.00 0.46083&lt;/pre&gt;I imagine SAS would read 11.8 and then be confused because there were no more numbers and I had told it to expect one more, but I can't explain how SAS computed a cost of 2.00.  However, I can explain that the price_per_gallon of around 46 cents is simply derived from dividing 2.00 dollars by 4.34 gallons.  The fact that the record for May 28, 2009 is missing leads me to conclude that when reading data from file, and your SAS statement specifies columns, SAS seems to expect values for the entire range of columns you specify.  I've confirmed this phenomenon, of a missing record when you specify in your SAS statement the columns where values can be found, manifests itself in SAS only when reading data from file, and not from the copy and paste of data.&lt;/li&gt;&lt;/ul&gt;Other separators and delimiters&lt;br /&gt;&lt;br /&gt;If you have commas separating your data:&lt;pre&gt;    18AUG2009,  6, 12.815, 37.66&lt;br /&gt;    14JUL2009, 12,  4.340, 11.8&lt;br /&gt;    28MAY2009,  6,  9.532, 24.39&lt;br /&gt;    22APR2009,  4,  7.348, 16.01&lt;br /&gt;    25MAR2009,  2,  5.509, 11.12&lt;br /&gt;    15MAR2009,  7,  4.230,  8.62&lt;br /&gt;    04MAR2009,  3, 11.989, 25.16&lt;br /&gt;    21FEB2009,  7, 13.298, 27.91&lt;br /&gt;    29JAN2009, 15, 13.989, 27.68&lt;br /&gt;    03JAN2009,  6, 12.620, 22.70&lt;br /&gt;    29NOV2008, 16, 11.239, 20.78&lt;br /&gt;    25SEP2008,  8, 13.929, 51.80&lt;/pre&gt;In:&lt;ul&gt;&lt;li&gt;R: replace read.table() with read.csv()&lt;br /&gt;Reference: &lt;a href="http://pbil.univ-lyon1.fr/library/base/html/read.table.htm"&gt;http://pbil.univ-lyon1.fr/library/base/html/read.table.htm&lt;/a&gt;&lt;/li&gt;&lt;li&gt;SAS: simply update the existing column information to reflect the new column values, or, modify your script to specify the column range for where the values can be&lt;/li&gt;&lt;/ul&gt;When importing data into R or SAS, you need to look at your dataset, and tell R or SAS exactly what to expect, or your statistical data analysis software may complain.&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.stat.psu.edu/online/program/stat481/01importingI/02importingI_styles.html"&gt;http://www.stat.psu.edu/online/program/stat481/01importingI/02importingI_styles.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-4849409985059204140?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/4849409985059204140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/09/how-to-import-data-into-r-and-sas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/4849409985059204140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/4849409985059204140'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/09/how-to-import-data-into-r-and-sas.html' title='how to import data into R and SAS'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2512/3948308199_c774417f98_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-8228403172979638714</id><published>2009-09-10T13:53:00.000-07:00</published><updated>2011-07-21T01:33:52.377-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='health and fitness'/><title type='text'>how to install a seat leash to prevent theft of saddle &amp; seat post</title><content type='html'>Protect your bike from those who may see an opportunity to abscond with the valuable, quick-released perch for your peachy derriere.&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3906836695/sizes/l/" title="IMG_0621 by tqf, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3478/3906836695_36e44c460f_b.jpg" alt="IMG_0621" height="276" width="207" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3906836309/sizes/l/" title="IMG_0629 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2480/3906836309_20b851351b_b.jpg" alt="IMG_0629" height="276" width="207" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;a tempting target for a would-be thief&lt;/td&gt;&lt;td&gt;Foiled again!  Thanks seat leash&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3906837303/sizes/l/" title="IMG_0602 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2645/3906837303_118acaede5_b.jpg" alt="IMG_0602" height="311" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;Were anyone to happen upon this scene, look around and see no one watching, the thought might cross your mind to simply loosen the quick release and walk off with someone else's property like it was yours.  The Great Recession created lean and mean times, changing the way Americans spend.  With such general apprehension and fear, you can find some amazing bargains in the bicycle market right now.  I decided to overcome my reluctance to spend and make the big purchase that, as an avid bicyclist, you might be saving for as well.  My new second-hand bicycle is a lightly used &lt;a href="http://bikepedia.com/QuickBike/BikeSpecs.aspx?Year=1997&amp;amp;Brand=Marin&amp;amp;Model=Team%20Titanium&amp;amp;Type=bike"&gt;1997 Marin Team Titanium&lt;/a&gt; that has a quick release binder bolt for adjusting the height of the seat post.  &lt;br /&gt;&lt;br /&gt;Let's start by getting our vocabulary straight (thanks to &lt;a href="http://www.sheldonbrown.com/"&gt;Sheldon Brown&lt;/a&gt; for helping me put names to bike parts):&lt;ul&gt;&lt;li&gt;saddle (also called bicycle seat)&lt;/li&gt;&lt;li&gt;saddle clamp (also called seat sandwich)&lt;/li&gt;&lt;li&gt;seat leash (also seat security cable)&lt;/li&gt;&lt;li&gt;seatpost or seat post (also called seat mast, seat pillar, or seat pin)&lt;/li&gt;&lt;li&gt;stolen (also pilfered, nicked, or made off with)&lt;/li&gt;&lt;li&gt;Y hex wrench (also 3 way hex wrench.  This is a tool, commonly seen in bike repair shops, that has the 3 wrench sizes to fit the socket heads on most modern bicycles.  'Hex wrench' can be used interchangeably with Allen wrench or L wrench)&lt;/li&gt;&lt;/ul&gt;Reference:&lt;br /&gt;&lt;a href="http://www.sheldonbrown.com/gloss_sa-o.html"&gt;http://www.sheldonbrown.com/gloss_sa-o.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Allen_wrench"&gt;http://en.wikipedia.org/wiki/Allen_wrench&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To prevent your seatpost and saddle from being stolen, you will need:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://images.google.com/images?hl=en&amp;amp;source=hp&amp;amp;q=seat+leash"&gt;seat leash&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://images.google.com/images?hl=en&amp;amp;sa=1&amp;amp;q=3+way+hex+wrench"&gt;Y hex wrench&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;I tried numerous times to figure out a way to use a seat leash to secure my bicycle seat and seat-post, but the closest I got was a half-baked solution where I added the end-loop as an ingredient into the seat clamp mechanism, so that the clamp was gripping a combination of saddle rail and seat leash loop.  This made for not the best grip on the saddle rails, and, while you were riding, the bicycle seat was prone to moving horizontally back and forth, a rather unpleasant event for any rider.  The light bulb flashed atop my head last Sunday, September 6, at around 11:25am, when I stepped into the Missing Link repair shop and spoke with Andy Renteria, who told me it's possible to secure the saddle and seatpost to the bike with a security cable.  He used his forefinger and thumb as an analog for the end-point loop of the seat security cable, and wrapped it around the saddle clamp, between the seatpost and the saddle rail.  The breakthrough for me was using the saddle clamp itself as the focal point on which to anchor the endpoint loop:&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3906837587/sizes/l/" title="IMG_0603 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2580/3906837587_9098477295_b.jpg" alt="IMG_0603" height="311" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;Thanks Andy, at &lt;a href="http://missinglink.org"&gt;Missing Link&lt;/a&gt; repair shop&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/4131819908/sizes/l/" title="IMG_0666 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2722/4131819908_b2cb624680_b.jpg" width="415" height="311" alt="IMG_0666" /&gt;&lt;/a&gt;&lt;br /&gt;The seat security cable has end loop which uses the saddle clamp (I call it a seat sandwich) as a focal point. Also in the picture is my beloved Planet Bike Superflash Stealth Tail Rear Light&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3906836049/" title="IMG_0617 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2557/3906836049_eb9f92fa2a_b.jpg" alt="IMG_0617" height="553" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/5959243564/" title="IMG_9880_rotated right by tqf, on Flickr"&gt;&lt;img src="http://farm7.static.flickr.com/6142/5959243564_eb5ce163af.jpg" alt="IMG_9880_rotated right" height="553" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3906836945/" title="IMG_0612 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2652/3906836945_cf058c6723_b.jpg" alt="IMG_0612" height="553" width="415" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From start to finish:&lt;ol&gt;&lt;li&gt;use the Y hex wrench, or any appropriate Allen or 'L' wrench, to remove the saddle&lt;/li&gt;&lt;li&gt;insert one loop through the other and wrap your seat security cable around the seat stay, or any focal point that has stops and forms a closed area.  Take care when wrapping your security cable around the seat stay that you avoid the part of the frame closest to the tire&lt;/li&gt;&lt;li&gt;with the remainder of the bike security cable in your hands, visualize the saddle clamp itself as the focal point on which to anchor the endpoint loop, and affix said loop on the clamp&lt;/li&gt;&lt;li&gt;now install (or rather, reinstall) the saddle into the seat clamp mechanism, making sure the seat leash end-point loop is between, and stopped by, the seat rail and the seat post.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-8228403172979638714?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/8228403172979638714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/09/how-to-use-seat-leash-to-prevent-theft.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8228403172979638714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8228403172979638714'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/09/how-to-use-seat-leash-to-prevent-theft.html' title='how to install a seat leash to prevent theft of saddle &amp; seat post'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3478/3906836695_36e44c460f_t.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3658699607023395465</id><published>2009-08-24T14:15:00.000-07:00</published><updated>2011-11-08T19:30:20.334-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>how to use Google's mail server to send email</title><content type='html'>Just a little over 2 years ago I enrolled in a 3 month course from &lt;a href="http://cyberwebconsulting.com/"&gt;Wesley Chun&lt;/a&gt; in Intermediate Python, held in Los Altos Hills on the main campus of &lt;a href="http://www.foothill.edu/"&gt;Foothill College&lt;/a&gt;.  I found Wesley's lesson plan to be very challenging, but in my journey as a computer programmer since, one of the nuggets of wisdom I come back to is his lesson on writing internet clients.  One small task he prompted us with was a valuable exercise on how to write clients that use the servers run by free email providers (yahoo, aol, hotmail, gmail).  First, a little history on the instruction leading up to the in-class assignment...  Why, I remember like it was yesterday (swirling, squiggly lines as harp strings are plucked &amp;amp; played by unseen angels should now be occupying your visual and aural landscape):&lt;br /&gt;&lt;br /&gt;Internet Client programming&lt;br /&gt;All internet clients are built on top of TCP&lt;br /&gt;&lt;br /&gt;We talked about four internet clients: ftp, nntp, pop3, smtp&lt;br /&gt;After covering ftp and nntp, Wesley began with an overview of email, how electronic mail as a system is complex and to operate it requires lots of working pieces:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Message Transport Agent&lt;/li&gt;&lt;ul&gt;&lt;li&gt;responsible for moving email, routing, queueing, sending of email.&lt;/li&gt;&lt;li&gt;sendmail, postfix, qmail, exim (unix)&lt;/li&gt;&lt;li&gt;exchange (windows)&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Message Transport System&lt;/li&gt;&lt;ul&gt;&lt;li&gt;protocol used by MTAs to transfer email host-to-host&lt;/li&gt;&lt;li&gt;Simple Mail Transfer Protocol&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Message User Agent&lt;/li&gt;&lt;ul&gt;&lt;li&gt;protocol used to get email from servers client-to-host&lt;/li&gt;&lt;li&gt;post office protocols&lt;/li&gt;&lt;li&gt;internet message access protocols&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;At one time, every desk with a workstation had an email server, but this framework was not scalable.  Wesley talked about Python's poplib, and about the SMTP interface in smtplib:&lt;ol&gt;&lt;li&gt;connect&lt;/li&gt;&lt;li&gt;login&lt;/li&gt;&lt;li&gt;send email&lt;/li&gt;&lt;li&gt;quit&lt;/li&gt;&lt;/ol&gt;then he challenged us to write our own POP and SMTP clients.&lt;br /&gt;&lt;br /&gt;As we go to press, the code below, tailored specifically to work with Google's SMTP server, was tested to work on Windows 2000 &amp;amp; Vista, and Debian Linux 5.0 (Lenny):&lt;pre class="mycode"&gt;def use_gmail_smtp(te, tffn, ttfs, subject, msg_body):&lt;br /&gt;  from smtplib import SMTP&lt;br /&gt;  from email.MIMEText import MIMEText&lt;br /&gt;  from email.MIMEMultipart import MIMEMultipart&lt;br /&gt;  SMTP_server = 'smtp.gmail.com'&lt;br /&gt;  username = 'your gmail handle'&lt;br /&gt;  passwd = 'your gmail password'&lt;br /&gt;  msg = MIMEMultipart()&lt;br /&gt;  msg['From'] = tffn&lt;br /&gt;  msg['To'] = ttfs&lt;br /&gt;  msg['Subject'] = subject&lt;br /&gt;  msg.attach(MIMEText(msg_body))&lt;br /&gt;  server = SMTP(SMTP_server, 587)&lt;br /&gt;  server.ehlo() # see note below for Python 2.5 and 2.6 users&lt;br /&gt;  ssl_connection_errors = server.starttls()&lt;br /&gt;  ehlo_connection_errors = server.ehlo()&lt;br /&gt;  server.login(username, passwd)&lt;br /&gt;  server.sendmail('tpc247', (te, ), msg.as_string())&lt;br /&gt;  server.close()&lt;/pre&gt;A primer for the acronyms in the use_gmail_smtp() argument list:&lt;ol&gt;&lt;li&gt;te is the target_email, the email address where you want the message to arrive&lt;/li&gt;&lt;li&gt;tffn is the_from_field_name, what you want the user to see in the From: field's name portion.  To tffn, Gmail will append &amp;lt;your_gmail_handle@gmail.com&amp;gt;&lt;/li&gt;&lt;li&gt;ttfs is the_to_field_string, what you want the user to see in the To: field, usually in the format:&lt;br /&gt;"Your Name &amp;lt;yourname@company.com&amp;gt;"&lt;/li&gt;&lt;/ol&gt;A previous incarnation of the code behaved correctly on Python 2.5, but strangely enough, not on Python 2.6, because it called:&lt;pre&gt;...&lt;br /&gt;server.helo()&lt;br /&gt;ssl_connection_errors = server.starttls()&lt;br /&gt;...&lt;/pre&gt;resulting in the error:&lt;pre&gt;Traceback (most recent call last):&lt;br /&gt;...&lt;br /&gt;File "", line 11, in use_gmail_smtp&lt;br /&gt;ssl_connection_errors = send_server.starttls()&lt;br /&gt;File "C:\Python26\lib\smtplib.py", line 611, in starttls&lt;br /&gt;...&lt;br /&gt;SMTPException: STARTTLS extension not supported by server.&lt;/pre&gt;It's a mystery to me why this error is only on the aforementioned version of Python, but switching the call out was the answer.&lt;br /&gt;&lt;br /&gt;I tested my script on 3 different operating systems, each running at least two different versions of Python:&lt;ul&gt;&lt;li&gt;Windows&lt;/li&gt;&lt;ul&gt;&lt;li&gt;2000: Python 2.6.1, 2.6.2&lt;/li&gt;&lt;li&gt;Vista: Python 2.5.4, 2.6.1, 2.6.2&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Debian Linux 5.0 Lenny: Python 2.5.2, 2.6.1, 2.6.2&lt;/li&gt;&lt;/ul&gt;Other notes: when installing Python 2.6.1 on Windows Vista, for the first time ever I saw:&lt;pre&gt;Please wait while the installer finishes&lt;br /&gt;determining your disk space requirements&lt;/pre&gt;and then the installation would stall and never complete.  The workaround is to open a command prompt, and type:&lt;pre&gt;msiexec.exe -package &amp;lt;mypackage.msi&amp;gt; –qr&lt;/pre&gt;&lt;small&gt;Reference: &lt;a href="http://bloggingabout.net/blogs/jpsmit/archive/2009/08/28/please-wait-while-the-installer-finishes-determining-your-disk-space-requirements-message-drives-me-nuts.aspx"&gt;http://bloggingabout.net/blogs/jpsmit/archive/2009/08/28/please-wait-while-the-installer-finishes-determining-your-disk-space-requirements-message-drives-me-nuts.aspx&lt;/a&gt;&lt;/small&gt;&lt;br /&gt;&lt;br /&gt;For you who would like to use gmail to send emails that look like they come from your workplace, you can now do so without the "on behalf of" that make you look less than authentic.&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://gadgetwise.blogs.nytimes.com/2009/07/31/gmail-drops-the-dreaded-on-behalf-of-lingo/"&gt;http://gadgetwise.blogs.nytimes.com/2009/07/31/gmail-drops-the-dreaded-on-behalf-of-lingo/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3658699607023395465?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3658699607023395465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/08/how-to-use-googles-mail-server-to-send.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3658699607023395465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3658699607023395465'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/08/how-to-use-googles-mail-server-to-send.html' title='how to use Google&apos;s mail server to send email'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-656545183768838358</id><published>2009-08-20T17:12:00.000-07:00</published><updated>2011-01-13T17:30:24.070-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>Spanish Lesson 1, or Leccion de Español Uno</title><content type='html'>Thanks to &lt;a href="http://www.sfgate.com/cgi-bin/blogs/tgoodman/index"&gt;Tim Goodman&lt;/a&gt;, two of my favorite television shows are &lt;a href="http://www.amctv.com/originals/breakingbad/"&gt;Breaking Bad&lt;/a&gt;, and &lt;a href="http://sho.com/site/dexter"&gt;Dexter&lt;/a&gt;.  Both take place in cities with a relatively large percentage of native Spanish speakers: Albuquerque, New Mexico and Miami, Florida.  As someone who has made a living with associates who grew up speaking a different language, knowing the native tongue of your coworkers can serve as a social lubricant and engender a degree of respect and consideration from your bilingual colleagues when it comes time for a promotion, or, who to invite to that party.  I was fortunate to walk into my first Spanish class at a young age, in my preteen years, and with the teacher talking very fast in her foreign language (then immediately in English to translate).  From that point forth it was almost a settled matter: two years of Spanish in high school, the community college summer course in conversational Spanish, and two summer trips in Mexico to help erect a church in a small village near the border, were foundational events that made me want to build on that knowledge and spend time figuring out and understanding what exactly people were saying (sometimes about me).&lt;br /&gt;&lt;br /&gt;For your benefit and mine, I have transcribed and translated two pieces of content where the characters are talking rapidly in a foreign language:&lt;br /&gt;&lt;br /&gt;In this scene, Hank has just been promoted to a Drug Enforcement Administration tri-state task force based in Texas near the Mexican border.  The three speaking roles are, in order of speech, Dean Norris as Hank, Todd Terry as the SAC (Special Agent in Charge), and J.D. Garfield as Vanco:&lt;br /&gt;&lt;object height="340" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/O0px65MMkNM&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/O0px65MMkNM&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="340" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;voy atravesar sobre esos bastardos como caca pasando pato, fijate (&lt;i&gt;or&lt;/i&gt; fija te).&lt;br /&gt;&lt;i&gt;I'm going to run through those bastards like feces through a duck, you watch.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The two leads in this scene are Jimmy Smits as Miguel Prado (seated) and Michael C. Hall as Dexter Morgan.  The shopkeeper Francisco is played by Rudy Quintanilla.&lt;br /&gt;&lt;object height="340" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/F0zF8b9CJPI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/F0zF8b9CJPI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="340" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;Olvida te, que ese pide lo de siempre&lt;br /&gt;&lt;i&gt;Forget it, that one always orders the same thing.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;One might substitute "&lt;i&gt;that one&lt;/i&gt;" with "&lt;i&gt;he&lt;/i&gt;" but doing that wouldn't tell you the whole story.  In context, the shopkeeper understands that Miguel is talking about Dexter, but the shopkeeper also would have known that in Spanish, &lt;i&gt;he&lt;/i&gt; is &lt;b&gt;el&lt;/b&gt;, but you use &lt;b&gt;ese&lt;/b&gt;, meaning &lt;i&gt;that one&lt;/i&gt;, when you point to someone, or indicate a person, you don't particularly care for.&lt;br /&gt;&lt;br /&gt;Thanks to the lovely and pregnant custodian Sandra Barron, and to &lt;i&gt;mi bibliotecaria preferida&lt;/i&gt; Patricia Medina, for the respective transcription and translation.  I should also mention &lt;a href="http://twitter.com/refragable"&gt;David Montgomery&lt;/a&gt; for the heads up about Scott Aaronson and the following piece of wisdom:&lt;blockquote&gt;Why do native speakers of the language you’re studying talk too fast for you to understand them?  Because otherwise, they could talk faster and still understand each other.&lt;/blockquote&gt;Reference: &lt;a href="http://scottaaronson.com/blog/?p=418"&gt;http://scottaaronson.com/blog/?p=418&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-656545183768838358?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/656545183768838358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/08/spanish-lesson-1-or-leccion-de-espanol.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/656545183768838358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/656545183768838358'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/08/spanish-lesson-1-or-leccion-de-espanol.html' title='Spanish Lesson 1, or Leccion de Español Uno'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-8089694777690836942</id><published>2009-08-15T16:14:00.000-07:00</published><updated>2009-08-22T15:16:49.800-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='human interest'/><title type='text'>Isabella at Disneyland, post 9/11</title><content type='html'>On July 21 and 22, my sister and brother-in-law took a trip to celebrate my beautiful niece turning the terrible 2.  At the Magic Kingdom, the little princess explored a potential career as a freedom fighter in the war on terror.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3846014473/sizes/o/" title="21JUL2009TUE Disneyland by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2606/3846014473_25fb926840_o.jpg" width="415" height="345" alt="21JUL2009TUE Disneyland" /&gt;&lt;/a&gt;&lt;br /&gt;Marine Corps sniper (223rd Battalion, Mickey Mouse company) Monica Wickman-Mroch spots a possible jihadist and instructs Isabella, private-in-training, on the finer points of target shooting:&lt;ol&gt;&lt;li&gt;Breathe in&lt;/li&gt;&lt;li&gt;Breathe out&lt;/li&gt;&lt;li&gt;Aim&lt;/li&gt;&lt;li&gt;Squeeze&lt;/li&gt;&lt;/ol&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3846802800/sizes/o/" title="22JUL2009WED Dumpling House in Artesia, 1 of 4 by tqf, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3584/3846802800_33f2e184ec_o.jpg" width="415" height="277" alt="22JUL2009WED Dumpling House in Artesia, 1 of 4" /&gt;&lt;/a&gt;&lt;br /&gt;The next day, at Dumpling House in Artesia, Monica Wickman-Mroch mulls a run for her assault rifle (not pictured) as my niece, in her dress blues, poses with my sister.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3846013713/sizes/o/" title="22JUL2009WED Dumpling House in Artesia, 2 of 4 by tqf, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3443/3846013713_48ba1fd550_o.jpg" width="415" height="477" alt="22JUL2009WED Dumpling House in Artesia, 2 of 4" /&gt;&lt;/a&gt;&lt;br /&gt;Isabella discovers an affinity for this thing called 'cake'.  Seconds before, she performed a visual sweep of the table for any sugar packets, her favorite IED (improvised entertainment device).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3846803950/sizes/o/" title="22JUL2009WED Dumpling House in Artesia, 3 of 4 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2446/3846803950_734c979204_o.jpg" width="415" height="467" alt="22JUL2009WED Dumpling House in Artesia, 3 of 4" /&gt;&lt;/a&gt;&lt;br /&gt;Light, fluffy &amp; sweet (don't think Isabella wouldn't hesitate taking your eye out with that fork!), cake is a refreshing change from the relentless battlefield stressors of people in costume, clowns, and tea cup rides.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3846803594/sizes/o/" title="22JUL2009WED Dumpling House in Artesia, 4 of 4 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2446/3846803594_21f6a43db9_o.jpg" width="415" height="313" alt="22JUL2009WED Dumpling House in Artesia, 4 of 4" /&gt;&lt;/a&gt;&lt;br /&gt;The life of a patriot can make a freedom fighter hungry for food and company, as evidenced in this photo, seated with (left to right) Monica Wickman-Mroch, brother-in-law Brian Moffat, my dad, step-mom &amp; half-sister, and Walter Mroch.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-8089694777690836942?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/8089694777690836942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/08/isabella-at-disneyland-post-911.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8089694777690836942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8089694777690836942'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/08/isabella-at-disneyland-post-911.html' title='Isabella at Disneyland, post 9/11'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-3913399916447833498</id><published>2009-08-08T14:20:00.000-07:00</published><updated>2009-08-15T16:01:37.104-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>how to host and serve your audio files on Youtube</title><content type='html'>I recently created this video:&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/q_iaYSV8M2Q&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/q_iaYSV8M2Q&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://tpc247.blogspot.com/2009/07/while-on-my-bike-i-recently-hit-car.html"&gt;http://tpc247.blogspot.com/2009/07/while-on-my-bike-i-recently-hit-car.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's not really a video per se, more of a slide-show with narration.  As we go to press, &lt;a href="http://youtube.com"&gt;Youtube&lt;/a&gt; does not allow uploading of audio files, even if your song, radio program, or interview recording is in mp3, wma or wav file format.  If you have aural content you'd like to share with members of the general public, and you'd like to use Youtube, you might as well have hit a dead end.  However, there is a way around the restriction so that one of &lt;a href="http://www.pcworld.com/article/136089/top_10_video_sharing_sites.html"&gt;the most popular video sharing services&lt;/a&gt; can host and serve your file:&lt;blockquote&gt;create a video with your audio file content as the soundtrack.&lt;/blockquote&gt;It's easier than it sounds.  You'll need &lt;a href="http://umusic.codeplex.com/"&gt;uMusic&lt;/a&gt; (free open-source software):&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3802453356/sizes/o/" title="uMusic 0.3 by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2613/3802453356_08b3e8d216_o.jpg" width="415" height="420" alt="uMusic 0.3" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you have a set of photographs or images, and an audio file, you have all you need for uMusic to create a Windows Media Video (wmv) file which you upload to Youtube.  However, to prepare your images for public consumption, you may want to give proper attribution to the owners of the photos, or enhance your brand by imprinting a visible watermark that lets users know about you.  Also, your audio file may contain commercials, announcements, or something unrelated to what your audience may want to hear, so you'd like to edit your content to remove unwanted blocks of time and extract only what you desire.  In either case, you'll need the following free tools, respectively:&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.irfanview.com/"&gt;Irfanview&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://audacity.sourceforge.net/"&gt;Audacity&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;How to insert text into an image in Irfanview&lt;br /&gt;&lt;br /&gt;First open the image in Irfanview&lt;ol&gt;&lt;li&gt;Select an area, an outline rectangle, wherein your text will sit&lt;/li&gt;&lt;li&gt;Select 'Edit'/'Insert text into selection'&lt;/li&gt;&lt;li&gt;Type in your text&lt;/li&gt;&lt;li&gt;'Choose Font' and determine the proper font face, size and color&lt;a href="http://www.flickr.com/photos/15742375@N00/3801445775/" title="Irfanview_Choose Font by tqf, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3472/3801445775_aa5c045a63_o.jpg" width="340" height="247" alt="Irfanview_Choose Font" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;The negative about using this method is Irfanview doesn't give you a way to undo the text you insert into the outline rectangle.  If you don't like the result, you have to start over at step 1.&lt;br /&gt;&lt;br /&gt;If you're new to Audacity, we showed earlier &lt;a href="http://tpc247.blogspot.com/2009/08/how-to-use-audacity-to-edit-audio-file.html"&gt;how to use Audacity to edit an audio file&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.pcworld.com/article/136089/top_10_video_sharing_sites.html"&gt;http://www.pcworld.com/article/136089/top_10_video_sharing_sites.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-3913399916447833498?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/3913399916447833498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/08/how-to-host-and-serve-your-audio-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3913399916447833498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/3913399916447833498'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/08/how-to-host-and-serve-your-audio-files.html' title='how to host and serve your audio files on Youtube'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-4802605870546844766</id><published>2009-08-06T15:38:00.000-07:00</published><updated>2009-08-25T15:32:33.682-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>how to use Audacity to edit an audio file</title><content type='html'>This tutorial covers how to use &lt;a href="http://audacity.sourceforge.net"&gt;Audacity 1.3 beta&lt;/a&gt;, free open-source software, to edit an audio file.  Because of patent restrictions, Audacity does not come with the ability to save your audio file as an MP3.  After you install Audacity, make sure you &lt;a href="http://audacity.sourceforge.net/help/faq?s=install&amp;item=lame-mp3"&gt;install the free LAME encoder&lt;/a&gt; to enable Audacity to export to the MP3 digital audio encoding format.&lt;br /&gt;&lt;br /&gt;&lt;small&gt;Reference:&lt;/small&gt; &lt;a href="http://audacity.sourceforge.net/help/faq?s=install&amp;item=lame-mp3"&gt;http://audacity.sourceforge.net/help/faq?s=install&amp;item=lame-mp3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Our goal is to extract only desired content from a larger audio file and save it all into a smaller audio clip.  Let's say we desire audio content that is concerned with a single topic, in this case, &lt;a href="http://tpc247.blogspot.com/2009/07/while-on-my-bike-i-recently-hit-car.html"&gt;who is at fault when a bicyclist collides with a car door&lt;/a&gt;:&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/q_iaYSV8M2Q&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/q_iaYSV8M2Q&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;The soundtrack to the video above is a clip that actually consists of two segments.  Each segment consists of multiple smaller pieces.  The first of two segments involves a caller named Sunny, the second a caller named Jim.  Each segment is comprised of pieces that were first selected, roughly around two predetermined times denoting beginning and end, then copied into a new work area, where they were then sculpted (i.e., extraneous slices removed).  Finally the pieces were ready to be set aside, each prepared for the task of joining into a segment.  The segments were then merged into a clip, following the same process.&lt;br /&gt;&lt;br /&gt;Here we begin with an hour-long audio file recently imported into Audacity:&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3796680106/sizes/l/" title="Audacity_recently imported audio file by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2438/3796680106_c13f54e71f_b.jpg" width="415" height="200" alt="Audacity_recently imported audio file" /&gt;&lt;/a&gt;&lt;br /&gt;At this point I should note during this tutorial there will be prodigious use within Audacity of:&lt;ul&gt;&lt;li&gt;the keyboard space bar&lt;/li&gt;&lt;li&gt;the mouse left button&lt;/li&gt;&lt;/ul&gt;to determine during playback where the desired content starts and stops.  Once you load the audio file into Audacity, click anywhere within the &lt;a href="http://en.wikipedia.org/wiki/Waveform"&gt;waveform&lt;/a&gt; of the file, and depress the left-click button to indicate where you want to start play.  Press the space bar to start and stop.&lt;br /&gt;&lt;br /&gt;To edit the audio content, we first make the rough cuts, then the fine cuts.  When you've become well-practiced with Audacity, after this tutorial, you can skip the rough cuts, and use the zoom feature to make fine cuts from, say, an hour-long audio file.  For now, since we're just getting acquainted with Audacity, we don't want to overwhelm the new user with zooming in &amp; out and dragging the mouse across multiple views of the audio file.  &lt;br /&gt;&lt;br /&gt;Let's say that, from what my eyes and ears perceive, the first piece of our Sunny segment is from 11:32 to 16:39.  Once you've identified the approximate beginning and stop points, the rough boundaries, train your eyes on the "Selection Start" and "End" boxes next to 'Audio Position':&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3802262016/sizes/l/" title="Audacity_selected segment of audio file by tqf, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2574/3802262016_ca913ac6bf_b.jpg" width="415" height="135" alt="Audacity_selected segment of audio file" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3801445711/sizes/l/" title="Audacity_select start, end and audio position boxes by tqf, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3439/3801445711_8390b6623a_o.jpg" width="415" height="110" alt="Audacity_select start, end and audio position boxes" /&gt;&lt;/a&gt;&lt;br /&gt;Note that if you click on the 'Length' radio button, the 'Selection End' box becomes a 'Length of Selection' box.  As luck would have it, my mouse landed just 2 seconds before the estimated beginning of our desired content, and we make sure to end our selection on or slightly after what our ears had earlier perceived to be the stop of the track.  Now that we have our first rough piece of our desired content segment, our next step involves using the analogy of finding a clean table or workspace to put our pieces of desired content for the purposes of sculpture and assembly into a single segment.  Click on File/New and open a brand new Audacity window (for you users of audio editing software &lt;a href="en.wikipedia.org/wiki/Sound_Forge"&gt;Soundforge&lt;/a&gt;, this is akin to creating a new stage).  Now paste your copied audio content into the empty window.  Notice that since the audio content in question is much shorter than an hour, you can easily select the slices you want to throw away, and delete them.  &lt;br /&gt;&lt;br /&gt;To wrap up this tutorial's editing portion, repeat the following steps for the other pieces of the segments:&lt;ol&gt;&lt;li&gt;Open your audio content file and play it&lt;/li&gt;&lt;li&gt;Note to yourself, or better yet, write down the start and end boundaries of your desired piece of content.  Be ready with a pen and piece of paper to record where the start and stop points are.&lt;/li&gt;&lt;li&gt;Click on File/New to create an Audacity window that you have purposed for sculpting and joining pieces of a segment&lt;/li&gt;&lt;li&gt;Select, from the primary Audacity window, the rough piece of desired content; &lt;i&gt;it's ok if you're off by a few seconds&lt;/i&gt;.  Paste the copied content into the new Audacity window.&lt;/li&gt;&lt;li&gt;Carefully sculpt the rough piece.  Remove extraneous slices, such as dead air and fragments of unwanted content.&lt;/li&gt;&lt;/ol&gt;Once the pieces of audio content have been prepared, our concern is joining them into a larger segment.  Go to your secondary Audacity window, and follow these steps from the Audacity website to splice two files together:&lt;ol&gt;&lt;li&gt;Select the second file by clicking on its label (the area around the mute/solo buttons).&lt;/li&gt;&lt;li&gt;Choose “Find Zero Crossings” from the Edit menu.&lt;/li&gt;&lt;li&gt;Choose “Cut” from the Edit menu.&lt;/li&gt;&lt;li&gt;Place the cursor by clicking in the first track, after the end of the audio.&lt;/li&gt;&lt;li&gt;Choose “Paste” from the Edit menu.&lt;/li&gt;&lt;/ol&gt;Reference: &lt;a href="http://audacity.sourceforge.net/help/faq?s=editing&amp;i=join"&gt;http://audacity.sourceforge.net/help/faq?s=editing&amp;i=join&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At some point you might select some content in your audio file, and see now you're not able to cut, copy, paste or delete:&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3857344052/" title="Audacity no enabled edit options by tqf, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3474/3857344052_ceb807c359_b.jpg" width="415" height="184" alt="Audacity edit options not enabled" /&gt;&lt;/a&gt;&lt;br /&gt;You notice the edit toolbar is not functional and will say "I'm not able to edit" or "Audacity won't let me edit", and ask "is the edit toolbar not enabled ?", "why can't I edit ?", or "how do I enable the edit toolbar ?".  All good questions, seeing as how the options are grayed out, so you're unable to edit your audio file.  There's a simple solution: make sure the playback is stopped.&lt;br /&gt;&lt;br /&gt;Now that you have an audio file containing only what you want and need, you may like to know &lt;a href="http://tpc247.blogspot.com/2009/08/how-to-host-and-serve-your-audio-files.html"&gt;how to host and serve your audio files on Youtube&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-4802605870546844766?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/4802605870546844766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/08/how-to-use-audacity-to-edit-audio-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/4802605870546844766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/4802605870546844766'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/08/how-to-use-audacity-to-edit-audio-file.html' title='how to use Audacity to edit an audio file'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2438/3796680106_c13f54e71f_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-5436126238171530985</id><published>2009-07-28T15:33:00.000-07:00</published><updated>2010-08-20T18:48:49.595-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='health and fitness'/><category scheme='http://www.blogger.com/atom/ns#' term='the law'/><title type='text'>while on my bike, I recently hit a car door</title><content type='html'>On a Tuesday morning, May 12, 2009, around 7am, I was bicycling on this stretch of road, just leaving North Oakland and crossing into South Berkeley:&lt;br /&gt;&lt;br /&gt;&lt;iframe width="425" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/sv?cbp=12,50.46,,0,5&amp;amp;cbll=37.847189,-122.271068&amp;amp;panoid=&amp;amp;v=1&amp;amp;hl=en&amp;amp;gl=us"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;small&gt;&lt;a href="http://maps.google.com/maps?f=q&amp;amp;source=embed&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=3339+Martin+Luther+King+Jr+Way,+Berkeley,+CA&amp;amp;sll=37.847325,-122.270708&amp;amp;sspn=0.009065,0.022724&amp;amp;ie=UTF8&amp;amp;ll=37.857507,-122.266846&amp;amp;spn=0.009065,0.022724&amp;amp;z=14&amp;amp;iwloc=A&amp;amp;layer=c&amp;amp;cbll=37.847189,-122.271068&amp;amp;panoid=QxkvuKavxOEz8aXO38Aygw&amp;amp;cbp=12,50.46,,0,5" style="color:#0000FF;text-align:left"&gt;View Larger Map&lt;/a&gt;&lt;/small&gt;&lt;br /&gt;&lt;br /&gt;Traveling at a high rate of speed, I was on the right side of the road northbound on Martin Luther King Jr Way, having just passed Angel Light Books &amp; Gifts.  I crossed in front of the fenced playground area of &lt;a href="http://www.sheltonsprimary.net"&gt;Shelton's Primary Education Center&lt;/a&gt; (Since I wrote this, Shelton's moved, and the building is now occupied by &lt;a href="http://americanmontessori.wordpress.com/"&gt;American International Montessori&lt;/a&gt;) when suddenly a car door flipped open directly in front of me.  My right shoulder caught the top of the door corner and my right pedal the edge of the lower door, and I was thrown off my bike, landing on my back in the middle of the street.  After I heard a female voice ask if I was alright, I got up, dusted myself off, and took notice of the driver standing before me, dressed for an early summer morning and ready for work, possibly at the very school we had collided in front of; on the other side of the vehicle stood another woman, who may have been a passenger, dressed similarly and carrying her purse and some papers.  I made sure I was ok, asked the driver if she was ok, and picked up my bike to inspect for damage.  The African American female driver seemed genuinely concerned about my well-being, and I noticed that the tip of the lower metal edge of her car door was bent and protruding, having clearly been struck by something, which I later surmised had been the right pedal of my bike, the force of which had spun me around and thrown me out onto the street on my back.  I seemed to be in one piece, though my bike had some minor damage;  I was still in a hurry to get to Kinko's in downtown Berkeley to print out a document before riding into work.  I felt embarrassed for not being more attentive to the parked vehicle immediately ahead of me and to my right, whether there were any occupants to worry about, and I remarked to the woman that I was ok, but that the repair to her car door would cost a lot more than the repair to my bike.  I was operating under the assumption we were both at fault for the incident, and given the possibility in the back of my mind I might be held liable for any damages to the woman's car door as a result of my haste, I didn't see the need to exchange information with the driver.  I remarked to both ladies that it was an interesting way to start the day, got back on my bike and rode off, noticing the slight wobble in my now out-of-true front wheel.&lt;br /&gt;&lt;br /&gt;Over the next two weeks I saw a noticeable dark bruise appear on the upper part of my right chest where it had caught the car door's corner and felt severe pain in my right shoulder area whenever I picked up my bike and lifted it, or made certain motions with my right arm; luckily for me, gradually the sharpness lessened and over time the ache in my shoulder disappeared.&lt;br /&gt;&lt;br /&gt;On Saturday morning, July 18, 2009 at 11:15am I was at &lt;a href="http://missinglink.org"&gt;Missing Link&lt;/a&gt;'s repair shop to get my wheel trued.  I asked the bike mechanic Bill about his summer plans for his two kids, then described the incident that led to my being in his shop, and was surprised to hear from him that the woman was almost surely responsible for the incident, that a driver is almost always at fault for a bicyclist being "doored".  This idea was reinforced when on Thursday, July 23, 2009 I was listening to my favorite radio personality &lt;a href="http://www.kgoam810.com/goout.asp?u=http://www.kgoam810.com/sectional.asp?id=25969"&gt;Len Tillem&lt;/a&gt;'s noon to 1pm call-in radio show.  A woman named Sunny called saying her daughter, who was driving, had opened her car door and a female cyclist had collided with the door, breaking her wrist.  Sunny claimed the bicycle rider, a woman in her early 40s, caused the accident and so was liable for any damages resulting from the impact of the bicycle against the car door when her daughter opened it.  Sunny explained her rationale for defending her daughter as not motivated by the expected protective instinct a mother might have for her child, but simply that the woman on her bike was riding too close to the vehicles.  In her daughter's defense, Sunny, herself a cyclist, pointed out how some states have the &lt;a href="http://911law.blogspot.com/2009/02/door-zone-debate.html"&gt;door zone law&lt;/a&gt;, but in California there is unfortunately no such law, only a pending statute.  Len seemed skeptical, saying Sunny's daughter, if she had just checked over her shoulder, would have seen the cyclist, and was in a better position than the woman on the bicycle to prevent the collision.  Later, Jim, a retired California Highway Patrol officer, called in to confirm Len's initial assessment, saying that whenever a bicyclist hits a car door that opens into traffic, the person who opened the car door is at fault, quoting &lt;a href="http://www.dmv.ca.gov/pubs/vctop/d11/vc22517.htm"&gt;California Vehicle Code section 22517&lt;/a&gt;.  In response to Sunny's rationale, Jim added that a bike rider is required to ride as close as possible to the right side of the roadway:&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/q_iaYSV8M2Q&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/q_iaYSV8M2Q&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-5436126238171530985?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/5436126238171530985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/07/while-on-my-bike-i-recently-hit-car.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5436126238171530985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5436126238171530985'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/07/while-on-my-bike-i-recently-hit-car.html' title='while on my bike, I recently hit a car door'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-1601332366995746026</id><published>2009-07-23T15:13:00.000-07:00</published><updated>2009-10-09T15:07:04.629-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><category scheme='http://www.blogger.com/atom/ns#' term='money'/><title type='text'>determine your prorated share of the utility bill</title><content type='html'>Americans are scared, for these are lean and mean times, for anyone who has read the news, though we may be encouraged by signs that the economy has hit bottom and the downturn could be due for an upswing.  With experts saying the unemployment rate is likely to go up past 10% before companies start hiring again, the sheer number of unemployed Americans in the middle of a jobs recession will likely provide the necessary heat to make people change their debt-accumulating, hypomanic ways.  What I mean by "necessary heat" is, in a recent Lehrer News Hour segment analyzing the latest political events (concerning David Souter's retirement and Arlen Specter changing party affiliation), David Brooks offers a profound insight that, after turning it over in my head, I would tend to agree with more than not:&lt;blockquote&gt;You don't change when you see the light. You change when you feel the heat.&lt;/blockquote&gt;Reference: &lt;a href="http://www.pbs.org/newshour/bb/politics/jan-june09/politicalwrap_05-01.html"&gt;http://www.pbs.org/newshour/bb/politics/jan-june09/politicalwrap_05-01.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Because this economic slump may be severe and prolonged, an article on how Americans need to start consuming again makes the following points:&lt;ul&gt;&lt;li&gt;We've gone from an age of entitlement to an age of thrift.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;the American population, continually infused with immigrants, has self-selected for hypomania, i.e., a tendency to action, an appetite for risk, an endless belief in human possibilities&lt;/li&gt;&lt;/ul&gt;Reference: &lt;a href="http://www.slate.com/id/2213595/pagenum/all/#p2"&gt;http://www.slate.com/id/2213595/pagenum/all/#p2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ever since I turned 19 and left home for college, I've lived with other people (and still do).  This has not only expanded my social repertoire, but saves me a lot of money.  In the spirit of the age of thrift, you, former sole occupant of the 1 bedroom or studio apartment, now may be in a shared housing situation, via &lt;a href="http://craigslist.org"&gt;Craigslist&lt;/a&gt;, living with one or more mates in a room, flat or house.  When it comes time for roommates to divvy up the gas and electricity bill by figuring out who owes what, one of the more difficult tasks to settle may be how to fairly apportion the amount you owe, given that the day you move in may be after the day the billing period begins (or the day you move out before the date the billing period ends).  In either case, you may not feel it's entirely fair to divide the gas &amp; electricity bill, which accounts for energy usage in the unit, evenly among you and your fellow tenants under the lease, because then you would be liable for days when you could not possibly have drawn power from the grid or gas from the line.  Now, courtesy of my former housemate Kimberly Scott (now &lt;a href="http://www.kimotay.com/"&gt;Kimberly Lightholder&lt;/a&gt;), who provided this formula to me after a bit of trial and error, here's a simple and easy way for you to fairly prorate your share of the utilities (assuming, of course, that there are no other issues involved in the fair split, or prorating, of the monthly bill, such as one or more flatmates' constant use of a high energy consuming device, such as the central gas heater, or an electric heater, air conditioner, mini-refrigerator, grow lights, and/or aquarium):&lt;br /&gt;&lt;br /&gt;The test for this formula is, if you add up the amount that each person is calculated to owe, for all residents, that should equal the amount in the electric &amp; gas bill.&lt;ol&gt;&lt;li&gt;ascertain the number of billing days in the billing period.  Let's call this b.  For example, if your billing period is from June 7 to July 8, b should be 32 days&lt;/li&gt;&lt;br /&gt;&lt;li&gt;count the number of days you lived in the residence.  Let's call this a.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;determine the number of total billing days.  That is, add up the number of days each person lived in the unit, for all residents.  For example, let's say 4 people were already residing in the 5 bedroom house you just moved into:&lt;br /&gt;&lt;br /&gt;total billing days = b + b + b + b + a&lt;/li&gt;&lt;br /&gt;&lt;li&gt;divide the bill amount by the total billing days.  The quotient let us call k.  k is what you will multiply by the number of days you lived in the residence in order to arrive at your prorated share:&lt;br /&gt;&lt;br /&gt;amount of power bill&lt;br /&gt;-------------------------- = k&lt;br /&gt; total billing days&lt;/li&gt;&lt;br /&gt;&lt;li&gt;k * a = your prorated share of the utility bill&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-1601332366995746026?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/1601332366995746026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/07/determining-your-prorated-share-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1601332366995746026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/1601332366995746026'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/07/determining-your-prorated-share-of.html' title='determine your prorated share of the utility bill'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-8883853297478152699</id><published>2009-07-11T20:40:00.001-07:00</published><updated>2011-02-14T00:52:10.530-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>Freebase Hack Day</title><content type='html'>today was my third time in the offices of Metaweb, which operates freebase.  80 of us met on the 4&lt;sup&gt;th&lt;/sup&gt; floor of a building off of Hawthorne Street in downtown San Francisco to learn how to interact with freebase, a database of structured data which currently has 6 million topics (a topic is a thing in Freebase).  Besides being a database, Freebase is also an API and development platform.  In other words, you can use freebase as a source of information for your software, say, Microsoft Excel or Google Spreadsheet or MySQL database, but you can also issue commands to freebase and it will behave in a predictable way, and you can use freebase to create new kinds of software.  Any given topic in freebase has one or more types assigned to it, e.g., Queen Latifah, when considered as a topic on freebase, has at least 3 types assigned to her: person, musical artist, film actor.  A type in freebase has one or more properties, e.g., the musical artist type has at least 3 properties: genre, instruments played, music recorded.&lt;p&gt;&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3713276849/" title="photo sharing"&gt;&lt;img src="http://farm3.static.flickr.com/2469/3713276849_a7ff8753f4_m.jpg" alt="" style="border: solid 2px #000000;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: 0.9em; margin-top: 0px;"&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3713276849/"&gt;Thuon Chen with Kirrily Robert, Freebase Community Director&lt;/a&gt;&lt;/span&gt;&lt;br clear="all" /&gt;&lt;/p&gt;&lt;br /&gt;When one lands on &lt;a href="http://www.freebase.com"&gt;freebase&lt;/a&gt;, there is so much to take in it may seem overwhelming at first, and it took some time for me to wrap my head around it.  When freebase finally made sense was when I spoke with a Metaweb employee, Alex Botero-Lowry, about our mutual interest.  At the beginning of Hack Day, Alex announced in front of the group he was working on television data, specifically liberating the extraction of said data.  My curiosity piqued, I approached Alex and said I believe we are living in the Golden Age of television.  One of my favorite writers, Tim Goodman, expounds beautifully on the sheer number of high-quality, well written and expertly produced recent television programs in a very compelling &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2007/12/30/DDDGU66SJ.DTL"&gt;piece&lt;/a&gt; he put together containing lists of exceptional series sorted into categories:&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2007/12/30/DDDGU66SJ.DTL"&gt;http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2007/12/30/DDDGU66SJ.DTL&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So if we wanted, we could ask Freebase to give us the list of episodes for a given tv program, sorted primarily by season number, secondarily by episode number:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;go to &lt;a href="http://www.freebase.com/app/queryeditor"&gt;http://www.freebase.com/app/queryeditor&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;now we want to query the vast resources of freebase (imagine yourself face-to-face with a large machine with blinking lights).  The most important things to know at this point are: &lt;ol&gt;&lt;li&gt;the position of the blinking cursor within the query data structure, i.e., [{ }]&lt;/li&gt; &lt;li&gt;the 'Tab' key&lt;/li&gt;&lt;/ol&gt;  If we wanted all the episodes for a given tv program, we would simply type in:&lt;pre&gt;[{&lt;br /&gt;  "type": "/tv/tv_program",&lt;br /&gt;  "name": "The Wire",&lt;br /&gt;  "episodes" : [{}]&lt;br /&gt;}]&lt;/pre&gt;If you click within the data structure for episode, [{ }], i.e., click in the area between the curly braces inside the square brackets, and press the 'Tab' key, you will get a set of properties for 'episodes', and you can find out such information as the person who was credited as the writer or director.&lt;br/&gt;&lt;a href="http://www.flickr.com/photos/15742375@N00/3795903345/sizes/l/" title="freebase query editor by tqf, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3083/3795903345_8e11139566_b.jpg" width="340" height="245" alt="freebase query editor" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Just to give you a sense of how there's more than one way to get the same or a similar result in freebase, the following are two paths to our destination: for a given tv program, get all the episodes, in ascending order, categorized by season, in ascending order.  Nick and Jason at Metaweb helped me formulate my first query, and the latter query is courtesy of Alex Botero-Lowry:&lt;br /&gt;&lt;pre&gt;[{&lt;br /&gt;  "type": "/tv/tv_program",&lt;br /&gt;  "name": "the sopranos",&lt;br /&gt;  "episodes": [{&lt;br /&gt;    "episode_number": null,&lt;br /&gt;    "season_number": null,&lt;br /&gt;    "sort":          ["season_number", "episode_number"]&lt;br /&gt;  }]&lt;br /&gt;}]&lt;/pre&gt;or:&lt;br /&gt;&lt;pre&gt;[{&lt;br /&gt;  "name": "30 rock",&lt;br /&gt;  "type":  "/tv/tv_program",&lt;br /&gt;  "seasons": [{&lt;br /&gt;    "id":            null,&lt;br /&gt;    "name":          null,&lt;br /&gt;    "season_number": null,&lt;br /&gt;    "sort":          "season_number",&lt;br /&gt;    "episodes": [{&lt;br /&gt;      "name":          null,&lt;br /&gt;      "id":            null,&lt;br /&gt;      "episode_number": null,&lt;br /&gt;      "sort":          "episode_number"&lt;br /&gt;    }]&lt;br /&gt;  }]&lt;br /&gt;}]&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-8883853297478152699?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/8883853297478152699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/07/img0580.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8883853297478152699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/8883853297478152699'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/07/img0580.html' title='Freebase Hack Day'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2469/3713276849_a7ff8753f4_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-7345088202984802815</id><published>2009-07-07T15:15:00.000-07:00</published><updated>2009-07-12T23:03:37.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><category scheme='http://www.blogger.com/atom/ns#' term='open government'/><title type='text'>taking the police at their word</title><content type='html'>Confirmation hearings for Sonia Sotomayor's Supreme Court nomination begin next week, and I wanted to share an article on the Obama nominee's powers of persuasion in a previous ruling that hinges on her taking the police at their word, then asks how broad are the grounds for arrest; Sotomayor's ruling nullified the decision of a jury that saw a process rife with police abuse of power:&lt;br /&gt;&lt;br /&gt;A semi-truck breaks down on an expressway, with about 4 feet of the trailer jutting out into the right-hand lane. Worried about causing an accident, the truck driver runs almost a mile to the nearest gas station, which has a payphone with an extra long cord attached to the receiver that, at the time, was being used by a man sitting inside his car.&lt;br /&gt;&lt;br /&gt;The truck driver claims he ran up and told the man there was an emergency because his truck was jutting out onto the expressway. The man told him to find another phone. The truck driver repeats it's an emergency, the man swears at the truck driver, the truck driver hangs up the phone, and soon the man in the car (who turns out to be an off-duty police officer) has a gun pointed at the back of the truck driver's head. Eventually another officer formally arrests the truck driver.&lt;br /&gt;&lt;br /&gt;The man in the car claims he was asked for the phone by the truck driver, but there was never any mention of an emergency, and that the truck driver hit him in the face with the receiver, at which point the off-duty police officer pulled out his gun, and made the arrest.&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.slate.com/id/2219251/pagenum/all/"&gt;http://www.slate.com/id/2219251/pagenum/all/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-7345088202984802815?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/7345088202984802815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/07/taking-police-at-their-word.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7345088202984802815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7345088202984802815'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/07/taking-police-at-their-word.html' title='taking the police at their word'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-5670475371156292937</id><published>2009-07-02T16:26:00.000-07:00</published><updated>2009-07-02T22:59:48.190-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><title type='text'>where is journalism going ?</title><content type='html'>I find myself habitually navigating to one website (&lt;a href="http://sfgate.com/"&gt;sfgate.com&lt;/a&gt;) for local breaking news and weather forecasts.  Other fountains that I drink deeply from are &lt;a href="http://nytimes.com/"&gt;The New York Times&lt;/a&gt;, &lt;a href="http://slate.com/"&gt;Slate&lt;/a&gt; and &lt;a href="http://economist.com/"&gt;The Economist&lt;/a&gt;.  With the latter three, the content is more like steak and requires sitting down and more leisurely-paced chewing than the former, which is a bit like a quick bite of pesto and olive tapenade on toasted sourdough over the kitchen counter.  Like most of you, I don't pay for what I read, and if you're like me, you feel a pang of guilt when reading of the troubles in the newspaper industry.  Journalists need to eat, and the good ones usually need to go to college in order to speak, read and write well.  Food requires money, and who will pay these journalists for their sweat and labor at the sites I mention if we all contribute nary a red cent for the carefully prepared content that we consume ?  This was the question I struggled with as what a journalist friend said turned over in my head, specifically her lament that newspapers were "in a death spiral", with every single major national paper having "major, devastating layoffs".&lt;br /&gt;&lt;br /&gt;After this sobering assessment, one would think newspapers really were going the way of the Neanderthal.  To the contrary, Jack Shafer, Slate's editor at large, believes we may be entering the Golden Age of journalism.  He compares what's going on now with the newspaper industry in 1938, when Mark Sullivan, a journalist, then 64, published his memoirs lamenting the state of his trade amidst all the upheaval caused by a new technology then coming into its own, the radio:&lt;br /&gt;&lt;blockquote&gt;But just when you're ready to dismiss Sullivan as another doom and gloomer, carping about modern-era disappointments and disruptions, he zigs from the normal zag to find opportunity in the decline of newspapers. He writes:&lt;br /&gt;&lt;br /&gt;Not only did the market for writing shrink. New means of expression, of conveying thought and facts and description and narrative, came into the world. …&lt;br /&gt;&lt;br /&gt;I felt as if I were like one of those old monks, the scriveners, who continued to copy by hand long after printing had been invented. To young writers looking forward the lesson is as plain, and even more important, than to old writers looking backward. Learn the art of writing, of course, but learn also the art of the motion picture, and of the radio.&lt;/blockquote&gt;&lt;br /&gt;Reference: &lt;a href="http://www.slate.com/id/2221856/pagenum/all/"&gt;http://www.slate.com/id/2221856/pagenum/all/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-5670475371156292937?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/5670475371156292937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/07/where-is-journalism-headed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5670475371156292937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/5670475371156292937'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/07/where-is-journalism-headed.html' title='where is journalism going ?'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-267733095478838101</id><published>2009-06-26T14:16:00.000-07:00</published><updated>2011-02-14T00:49:07.139-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news talk'/><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><category scheme='http://www.blogger.com/atom/ns#' term='religion'/><title type='text'>Michael Jackson is my Lord and Savior</title><content type='html'>For those who don't know, Michael Jackson's breakout moment came in 1983 when he performed at the Pasadena Civic Auditorium for the &lt;b&gt;Motown 25: Yesterday, Today, Forever&lt;/b&gt; reunion.  The moment the lights dimmed on his breathtaking solo performance, Michael Jackson was no longer just a multi-regional (not quite national) celebrity, but an international superstar, as well-known as Coca Cola, McDonald's, and Mickey Mouse the world over.  No one had ever seen a person, let alone a scrawny young black man with a single white glove, move like that, sing like that, do that thing with his feet like that, and dance in a way that made you want to join him.  Even though Michael was lip-sync'ing throughout the performance, it didn't matter, because the moment was his, and Michael Jackson was showing us the way:&lt;br /&gt;&lt;iframe title="YouTube video player" width="425" height="344" src="http://www.youtube.com/embed/wne_AgYgCQk?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;On a personal note, I have actually suffered in the name of Michael Jackson.  In grade school my parents enrolled me in a religious private school called &lt;a href="http://www.heritageantioch.com/"&gt;Heritage Baptist Academy&lt;/a&gt; that to this day may still practice corporal punishment.  Once a person in a position of authority determined you deserved to be punished, you were called as your classmates' eyes tracked you out of the classroom and into the principal's office, where usually one or two authority figures were waiting.  You were told what you were being held to account for, that you were about to be spanked because the authority figure loved you, and then you had to stand, put your hands on the edge of a desk, bend slightly over, and wait for the adult, usually a teacher or someone in a position of authority, to swat you several times on your clothed buttocks with the flat surface of a &lt;a href="http://media.photobucket.com/image/spanking%20paddle/cathiewerich/PB010014.jpg"&gt;large wooden paddle&lt;/a&gt;.  Depending on who the authority figure was, the experience could be absolutely terrifying, or merely shameful.  There was a teacher, Mr. Hilton, who we all suspected would smack your behind with the crack of a baseball bat because he was tall, strong, with glasses and hairy forearms, who proudly swatted his toddler daughter.  Then you had to go back to class with a red face and watery eyes and try to make it through the day knowing everyone knew what had happened to you.&lt;br /&gt;&lt;br /&gt;Well, one morning during recess I found myself trying to copy Michael Jackson's trademark moonwalk, and was spotted by a fellow student, who told an authority figure about my behavior.  Soon I was called into the principal's office, and you know the rest of the story.  As it was explained to me at the time, the figure of authority who was about to strike me was doing so because he loved me; Michael Jackson was a worldly figure, and moonwalking was dancing, and dancing is of the world, and since being worldly was a sure path to hell, and as Christians, in this world, we must behave as if we are not of the world, I would be punished for trying to be like Michael Jackson.  Afterward, the authority figure prayed that God would teach me that the most dangerous way to be was like this worldly figure.  In retrospect, it was probably good advice, since we all know Michael Jackson was reported to be involved in some very strange things, such as trying to buy the bones of the Elephant Man &lt;a href="http://en.wikipedia.org/wiki/Joseph_Merrick"&gt;Joseph Merrick&lt;/a&gt;, hanging around with a chimp, sleeping with young kids in his bed, and trying to look like a white woman.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-267733095478838101?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/267733095478838101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/06/michael-jackson-is-my-lord-and-savior.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/267733095478838101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/267733095478838101'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/06/michael-jackson-is-my-lord-and-savior.html' title='Michael Jackson is my Lord and Savior'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/wne_AgYgCQk/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8190295454014882638.post-7107341527805608932</id><published>2009-06-25T15:26:00.001-07:00</published><updated>2009-06-29T17:04:31.020-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='statistics'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><title type='text'>yesterday I was laid off</title><content type='html'>so now I join the ranks of those without a corporate sponsor, the wretched masses yearning to breathe free in an air-conditioned cubicle.  It's weird, when I had gainful employment, I felt bad for those who I expected would soon try to hit me up for a job.  Now that I am one of the very same in-between jobs, I'm going to take this crisis-opportunity to build up my online references, so that when the economy does turn people will know me for something useful and, Lord willing, employable.  One way to do this is to focus on what I do best.   I have lots of experience using (installing, testing and submitting bugs for) statistical analysis software.&lt;br /&gt;&lt;br /&gt;The following is my own personal take on installing SAS® 9.1.3 Service Pack 4 on Microsoft Windows Vista Home Premium.  Apparently, as of today's date, June 25, 2009, there is no published solution on the web about how to get these two working together.  SAS effectively tells you that it's impossible:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;SAS does &lt;strong&gt;NOT&lt;/strong&gt; support Windows Vista 32-bit Home Editions: &lt;ul&gt;&lt;li&gt;Premium         &lt;/li&gt;&lt;li&gt;Basic &lt;/li&gt;&lt;/ul&gt;Reference: &lt;a href="http://support.sas.com/techsup/pcn/vista.html"&gt;http://support.sas.com/techsup/pcn/vista.html&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;but, as &lt;a href="http://en.wikipedia.org/wiki/No_Limit_Soldiers_Compilation:_We_Can%27t_Be_Stopped"&gt;No Limit Soldier&lt;/a&gt; &lt;a href="http://www.google.com/musica?aid=9iPtmde1V8O&amp;amp;ei=XgpESry4DIj-tAPuprHODQ&amp;amp;sa=X&amp;amp;oi=music&amp;amp;ct=result"&gt;Master P&lt;/a&gt; says, I got the hook-up !&lt;br /&gt;&lt;br /&gt;For those who haven't even installed SAS 9.1.3 yet, follow this guide:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cropsci.illinois.edu/csmyth/documents/InstallingSAS91.htm"&gt;http://www.cropsci.illinois.edu/csmyth/documents/InstallingSAS91.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Of course, along with the SAS software you will also need a SAS license in text file format.  Fortunately for me, this was provided by my &lt;a href="http://www.csueastbay.edu/"&gt;educational institution&lt;/a&gt;, though the license you have may be out-of-date (for me, the license expired in 2008), in which case you'll see the following error:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;The current date is past the final expiration date&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://support.sas.com/kb/17/635.html"&gt;http://support.sas.com/kb/17/635.html&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;SAS addresses this in their documentation; you simply need to "Renew SAS Software", which is a program that comes with the freshly installed SAS on your computer.  Unfortunately, like yours truly, you are one of the losers running a version of Vista that isn't supported by SAS 9.1.x.  What to do ?   At this point you'd see the following error (or something like it):&lt;br /&gt;&lt;br /&gt;Error: Update lock is not available, lock held by another process&lt;br /&gt;&lt;br /&gt;First, you'd think that the words "Home Premium" in Windows Vista meant you didn't have to see or deal with B.S. like SAS not being supported.   Then you turn that loser frown upside down - while thanking your lucky stars I was given the pink slip ("walking papers" as I like to call it) by my employer yesterday - because you can make everything right with the following procedure:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt; right-click on "Renew SAS Software"&lt;/li&gt; &lt;li&gt;select "Run as administrator"&lt;/li&gt;&lt;/ol&gt;   For me, that seemed to be the piece I was missing.&lt;br /&gt;&lt;br /&gt;This first blog post is dedicated to my friends &lt;a href="http://www.barglow.com/"&gt;Raymond Barglow&lt;/a&gt; and Janet Somers, my brother-in-law Brian Moffat, and in memory of all those recently unemployed or looking for work.  Congratulations to my friend &lt;a href="http://jjinux.blogspot.com/"&gt;JJ Behrens&lt;/a&gt; on recently getting hired.  On a sad note, my heart goes out to the memory of Michael Jackson, who died before I could publish this blog post, and whose much anticipated comeback will not be.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8190295454014882638-7107341527805608932?l=tpc247.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tpc247.blogspot.com/feeds/7107341527805608932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tpc247.blogspot.com/2009/06/yesterday-i-was-laid-off.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7107341527805608932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8190295454014882638/posts/default/7107341527805608932'/><link rel='alternate' type='text/html' href='http://tpc247.blogspot.com/2009/06/yesterday-i-was-laid-off.html' title='yesterday I was laid off'/><author><name>Thuon Chen</name><uri>http://www.blogger.com/profile/01096638605619207887</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_VVosivHtIHQ/SkRboQymHbI/AAAAAAAAAAM/aArkozbmmr8/S220/20DEC2003_werepad.jpg'/></author><thr:total>1</thr:total></entry></feed>
