tag:blogger.com,1999:blog-1466221949612286582009-07-10T00:49:36.837-07:00An Extraordinary BisonA long and sorrowful tale of greed, envy, deception, and redemption.bison1http://www.blogger.com/profile/16346464053519588893noreply@blogger.comBlogger331125tag:blogger.com,1999:blog-146622194961228658.post-61363273175076696412009-07-10T00:22:00.000-07:002009-07-10T00:49:36.865-07:00This is a title.Today I migrated to the grad student area of the lab from the shared desks that the undergrads use - the darker, inner area with less exposure to sunlight (very appropriate), where I get a permanent desk and *gasp* a local account with administrator privileges on a lab computer! Oh, the perks of being a co-term student. :P I have a feeling I'm going to be living at this desk once school begins since I didn't apply for grad housing and I'll be commuting from home. O_O Next week perhaps I shall bring some garish objects to the lab with me to decorate my new living, er, work space.<br /><br />#52:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_a1vqguJ19ac/SlbwlHfFExI/AAAAAAAAATc/xrsg6VBayGA/s1600-h/bison_fashion.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://2.bp.blogspot.com/_a1vqguJ19ac/SlbwlHfFExI/AAAAAAAAATc/xrsg6VBayGA/s400/bison_fashion.jpg" alt="" id="BLOGGER_PHOTO_ID_5356733327259013906" border="0" /></a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-6136327317507669641?l=blog.lv25.com'/></div>bison3noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-58562497348467576852009-07-06T23:44:00.000-07:002009-07-07T00:12:57.106-07:00Overenthusiastic bison.Groaaan...I thought I was on such a roll at work...things seemed to be going so smoothly...TOO smoothly! I think it is a general rule of research that when things are going smoothly, it means there's something terribly wrong that you just haven't caught yet - I recently built models and ran simulations for almost a dozen datasets for a project, only to discover today that the mesh generator hadn't been working the way I thought it was and ALL of the meshes weren't of high enough resolution at the surface! Horrors!!! My work has been set back by weeks!!! I think only a n00b doing finite element simulations would forget to check something like this. Gaaah. *Slams head against monitor* I spent most of today entering numbers into the computer, waiting a few minutes for it to generate a mesh (while annoying people on google chat who were probably working), checking how big the mesh was, and repeating the process if it wasn't satisfactory. Boy, this is going to be a long week...but at least I discovered the mistake before running any pulsatile flow simulations, which are an even bigger time investment... O_O; Imagine if I worked in a lab that did animal testing or something - you can't mess up those experiments or you'd have to order new animals, or even worse, wait for them to grow!!!<br /><br />THINK POSITIVE THOUGHTS, BISON3!!!<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_a1vqguJ19ac/SlLzk0G4B5I/AAAAAAAAATU/OUX4Nszji0g/s1600-h/character_development.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 386px; height: 400px;" src="http://4.bp.blogspot.com/_a1vqguJ19ac/SlLzk0G4B5I/AAAAAAAAATU/OUX4Nszji0g/s400/character_development.jpg" alt="" id="BLOGGER_PHOTO_ID_5355610720685262738" border="0" /></a><br />Maybe it's time for some therapeutic shopping. I went to the mall twice recently and didn't return with a single hooded object.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-5856249734846757685?l=blog.lv25.com'/></div>bison3noreply@blogger.com2tag:blogger.com,1999:blog-146622194961228658.post-43519025974549298812009-07-03T00:12:00.000-07:002009-07-03T00:33:36.511-07:00Fifty?I think I'm growing increasingly lazy...the 8 minute walk between the parking lot and the Clark Center where I work is starting to feel like a trip around the earth. This is very sad - I used to walk for about 25 minutes from my dorm to the Clark Center when I lived in Lantana and I didn't think it was so bad at the time. Bison3 is turning into a sloth. :(<br /><br />I'm also too lazy to figure out where these bisoncomics are going. Even though there are like fifty of them now, there hasn't been much character development besides the increasing emo-ness of the rabbit. How do real comic artists churn out so many of these things?!<br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_a1vqguJ19ac/Sk2xFJzqvtI/AAAAAAAAAS0/evx7fMIRpPM/s1600-h/bison_problems.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 204px;" src="http://2.bp.blogspot.com/_a1vqguJ19ac/Sk2xFJzqvtI/AAAAAAAAAS0/evx7fMIRpPM/s400/bison_problems.jpg" alt="" id="BLOGGER_PHOTO_ID_5354130234103480018" border="0" /></a><br />Despair.<br /><br />Edit: Hrmm I just realized that the age of that small rabbit is inconsistent. In a previous comic she didn't even know what a bison was, and now she's taking chemistry. Oh well....<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-4351902597454929881?l=blog.lv25.com'/></div>bison3noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-68168762051460324732009-06-29T00:47:00.000-07:002009-06-29T01:17:02.997-07:00Another interesting week.Hrm...this summer is turning out to be a lot more exciting than usual. Exciting stuff isn't always good, but this week a lot of interesting things happened. For some reason, my dad suddenly developed a interest in hybrid vehicles and I went to test drive a couple of cars with my mom. Suddenly there is a random new Prius in our driveway and no one's really sure whose idea it was to buy that particular model in the first place!!!<br /><br />Mom: The salesperson asked your dad why he finally chose the Prius over the other cars we looked at, and he answered that it was because we (Mom and Bison3) wanted it. I told him I wasn't the one who wanted it, but you liked it a lot.<br />Me: Huh? I didn't say I wanted a Prius specifically...I just thought it was way better than that other car we tried.<br />Mom: Oh. I guess no one actually wanted the Prius.<br /><br />Actually I think everyone likes it a lot but no one's admitting that they were the one who wanted it, because it cost way more than my parents were originally planning to spend on a new car. -____-; Anyway, I think it is pretty awesome! It looks very futuristic and it is shaped like a large hamster. Bison3 takes full responsibility for wanting a Prius. I guess I don't get to drive that one, though, I inherit the old car. :P<br /><br />Umm what else...oh yeah, I submitted THE APPLICATION a few days ago, after obsessing over it for weeks! Now, while it is being processed, there is nothing I can do for a while but WAIT. IN FEAR!!!!<br /><br />Also, I found some datasets at work that may potentially disprove our hypothesis for the project I'm working on. I guess this makes things more interesting...?<br /><br />And I finally unpacked my last few boxes from moving out of the dorm, including the box containing my tablet and some old food (eeeew), which means more terrible bisoncomics:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_a1vqguJ19ac/Skh2w3qM8iI/AAAAAAAAASs/Ot8DZQLu0xE/s1600-h/bison_everywhere.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 205px;" src="http://2.bp.blogspot.com/_a1vqguJ19ac/Skh2w3qM8iI/AAAAAAAAASs/Ot8DZQLu0xE/s400/bison_everywhere.jpg" alt="" id="BLOGGER_PHOTO_ID_5352658739076592162" border="0" /></a><br />There are some things you can't fight. O_O<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-6816876205146032473?l=blog.lv25.com'/></div>bison3noreply@blogger.com5tag:blogger.com,1999:blog-146622194961228658.post-89326611100668508142009-06-25T02:47:00.000-07:002009-06-25T03:57:04.002-07:00Android: simple guide to unit testsI couldn't find anything like this when trying to figure out how to write unit tests for my android app, <a href="http://www.weloveastrid.com/">astrid</a>, so I decided to put together something for you! This guide will show you how to<br /><ul><li>write unit tests for your android app<br /></li><li>execute them in eclipse<br /></li><li><strike>see code coverage results in EMMA</strike> (can't figure it out yet...)<br /></li></ul><br />So, before we start, I expect that you've installed the Android SDK, have an application that runs, and understand unit testing with JUnit.<br /><br />First, you need to create a new Android project, because for some reason, your unit tests need to be a separate android application from your main app. For organization purposes, you can put your test project within your main project (or not).<br /><br />In Eclipse, File => New, Other, Android Project.<br /><ul><br /><li>Project Name: your-app-tests<br /></li><li>Create New Project In Workspace<br /></li><li>Location: browse to your main project, and make a tests subfolder. Select it<br /></li><li>Package Name: your.package.tests<br /></li><li>Uncheck "Create Activity"<br /></li><li>Other stuff: up to you<br /></li></ul><br /><br />Now that you've created your new project, time to overwrite the AndroidManifest.xml with the following (replace com.example.app with your package):<br /><br /><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br /><br />&lt;!-- package name must be unique so suffix with &quot;tests&quot; so package loader doesn't ignore us --&gt;<br />&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br /> package=&quot;com.example.app.tests&quot;&gt;<br /> &lt;uses-sdk minsdkversion=&quot;3&quot;&gt;<br /><br /> &lt;!-- We add an application tag here just so that we can indicate that<br /> this package needs to link against the android.test library,<br /> which is needed when building test cases. --&gt; <br /> &lt;application&gt;<br /> &lt;uses-library name=&quot;android.test.runner&quot;&gt;<br /> &lt;/application&gt;<br /><br /> &lt;!--<br /> This declares that this app uses the instrumentation test runner targeting<br /> the package of com.example.android.apis. To run the tests use the command:<br /> &quot;adb shell am instrument -w com.example.app.tests/android.test.InstrumentationTestRunner&quot;<br /> --&gt;<br /> &lt;instrumentation android:name=&quot;android.test.InstrumentationTestRunner&quot;<br /> android:targetPackage=&quot;com.example.app&quot;<br /> android:label=&quot;Simple Tests for My App&quot;/&gt;<br /><br />&lt;/manifest&gt;<br /></pre><br /><br />Next step is to delete everything beneath in the res/ folder, since you won't be needing it. You will also need to set up your build path to depend on your parent project, so you can reference code from it. Right click on your test project, go to "Java Build Path", Projects, and add your main project as a dependency.<br /><br />Alright! You've created your test environment. Now that you've gotten everything set up, you will find this handy:<br /><br /><a href="http://developer.android.com/reference/android/test/package-summary.html">Android Javadoc: android.test package summary</a><br /><br />I encourage you to read about AndroidTestCase and InstrumentationTestRunner.<br /><br />Let's write our first unit test. Assuming your package is com.example.app, you need to create two files. First is our test suite that runs all of the tests:<br /><br /><b>com.example.app.AllTests</b><br /><pre><br />package com.example.app;<br /><br />import junit.framework.Test;<br />import junit.framework.TestSuite;<br /><br />import android.test.suitebuilder.TestSuiteBuilder;<br /><br />/**<br /> * A test suite containing all tests for my app.<br /> */<br />public class AllTests extends TestSuite {<br /><br /> public static Test suite() {<br /> return new TestSuiteBuilder(AllTests.class)<br /> .includeAllPackagesUnderHere()<br /> .build();<br /> }<br />}<br /></pre><br /><br />Simple enough, right? It's a test suite that includes all tests in the current package (com.example.app) and subpackages. Next is to write an actual test to test the test harness. <br /><br /><b>com.example.app.test.SanityTest</b><br /><pre><br />package com.example.app.test;<br /><br />import junit.framework.Assert;<br />import android.test.AndroidTestCase;<br /><br />public class SanityTest extends AndroidTestCase {<br /> public void testSimpleAssert() throws Throwable {<br /> Assert.assertTrue(true);<br /> }<br />}<br /><br /></pre><br /><br />This is a really trivial test that asserts that true == true. A few things to notice here:<br /><ul><li>Your tests should extend AndroidTestCase or its descendants. Tests extending InstrumentationTestCase won't get run automatically<br /><li>Notice that the method starts with "test". All your tests must start with this, no JUnit4-style @Test annotations are provided<br /></ul><br />Shall we give it a run? There are two ways to run Android unit tests: through eclipse, and on the command line. We'll start with eclipse, which gives you a nice JUnit view for looking at stack traces and such. Right-click on your project, Run-As, "Android JUnit Test". If you're looking at your LogCat and Console output, you should see that your test application gets installed, loads your main application, then starts. Something like this:<br /><br /><pre><br />[2009-06-25 02:43:49 - astrid-tests] ------------------------------<br />[2009-06-25 02:43:49 - astrid-tests] Android Launch!<br />[2009-06-25 02:43:49 - astrid-tests] adb is running normally.<br />[2009-06-25 02:43:49 - astrid-tests] Performing android.test.InstrumentationTestRunner JUnit launch<br />[2009-06-25 02:43:49 - astrid-tests] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'android-15'<br />[2009-06-25 02:43:49 - astrid-tests] Uploading astrid-tests.apk onto device 'emulator-5554'<br />[2009-06-25 02:43:49 - astrid-tests] Installing astrid-tests.apk...<br />[2009-06-25 02:43:52 - astrid-tests] Application already exists. Attempting to re-install instead...<br />[2009-06-25 02:43:55 - astrid-tests] Success!<br />[2009-06-25 02:43:55 - astrid-tests] Project dependency found, installing: data-3.0<br />[2009-06-25 02:43:55 - data-3.0] Uploading data-3.0.apk onto device 'emulator-5554'<br />[2009-06-25 02:43:56 - data-3.0] Installing data-3.0.apk...<br />[2009-06-25 02:44:00 - data-3.0] Application already exists. Attempting to re-install instead...<br />[2009-06-25 02:44:06 - data-3.0] Success!<br />[2009-06-25 02:44:07 - astrid-tests] Launching instrumentation android.test.InstrumentationTestRunner on device emulator-5554<br />[2009-06-25 02:44:25 - astrid-tests] Test run complete<br /></pre><br /><br />While your test runs, the JUnit view should pop up somewhere, and you should be able to see your single test run to completion.<br /><br /><b>important!</b> if you want to re-run your test, you need to close the JUnit view, then use the "Run" button in the toolbar or right-click on your project again. If the old JUnit view is still open, the tests didn't run for me.<br /><br />Alternatively, you can run your tests from the command line. I've yet to understand the intricacies of the various command line flags, but you can run something like:<br /><br /><code>adb shell am instrument -e coverage true -w com.example.app.tests/android.test.InstrumentationTestRunner<br /></code><br /><br />Alright! Hopefully that was comprehensive enough to get you started. To see an example of testing code in action (I'm currently using it to test my service layers), you can poke around in Astrid's codebase, for example <a href="https://code.launchpad.net/~tim-todoroo/astrid/data-3.0">the data-3.0 branch</a>.<br /><br />If/Once I figure out EMMA coverage, I'll add it to this page. I love seeing my code turn green =) Currently, I can generate coverage.ec files, but they're empty, which tells me that eclipse isn't instrumenting the .dex file appropriately. Of course there doesn't seem to be a configuration option for it!<br /><br />Let me know if this was helpful, or if you're stuck, feel free to ask a question and I may respond on the blog.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-8932661110066850814?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-7180587184865808782009-06-21T14:57:00.000-07:002009-06-21T15:50:33.349-07:00Bison3's "adventure."Apparently nothing worth writing about has happened in my life for over a month. But this week, loads of exciting things happened. Many things were the bad sort of exciting, but I guess they still count....<br /><br />Monday 6/15 - Day after graduation. Bison3 goes to lab at 8:45 in the morning and spends 9 hours working non-stop making figures for a poster.<br /><br />Tuesday 6/16 - Leaving for bioengineering conference in Lake Tahoe at 12:55 p.m. Bison3 arrives at the lab at 9:30 in the morning, and scrambles to finish her poster after getting comments from professors. Around12:10 Bison3 scurries into the Clark Center poster printing room, and finds 3 people in line ahead of her, all going to the same conference!!! Poster was printed in time, but wet ink smeared all over table. Takes 10 minutes to clean up. That's what you get for picking the expensive glossy paper. Bison3 leaps into PI's car with the poster's ink still drying. House near Lake Tahoe has a lot of creepy deer antlers. Bison3 looks over her freshly printed poster with lab members, and discovers several mistakes!!! Lab members planning to arrive later are asked to re-print the poster and bring it the next day. That's a waste of, like, $60 or something. >.< In the evening, Bison3 notices a bug bite on her leg beginning to swell. <br /><br />Wednesday 6/17 - Lots of conference talks. During the evening reception, Bison3 is excited about her drink ticket and greedily guzzles down a concoction of vodka and fruit juice in under 10 minutes. Lab members tell her her face is looking very red and appear concerned. A while later Bison3 is curled up on a couch in the antler house with an enormous headache. Lab meets for poster presentation practice. Later, Bison3 who is still curled up on the same couch gets killed early in a game of Mafia "to put her out of her misery."<br /><br />Thursday 6/18 - Poster presentation day - wake up at 6:30 to get poster set up. Bison3 notices that the bug bite on her leg has grown much bigger, and hopes the swelling will go down soon. While Bison3 is practicing in front of her poster, an <span style="font-style: italic;">extremeley</span> sketchy grad student inquires sketchily about her school and her project. Sketchy grad student seems to have limited English-speaking abilities, as he refers to stent grafts as "blood tubes." -__-; Bison3 is disturbed, decides to look for lab members. Poster presentation goes okay, after much practice. <br />Back at the antler house, Bison3 notices her bug bite has swollen to 6 inches in diameter. Lab members are concerned and take her to local hospital. PI jokes that the only hospitals available in the Tahoe area are vetinerary and that they will have to do. In her state of panic, Bison3 *almost* believes this. Bison3 is prescribed some antibiotics at a local hospital. Amputation jokes abound!<br /><br />Friday 6/19 - Probably the only normal day.<br /><br />Saturday 6/20 - Bison3 goes with some lab members to a random art fair in the morning, and buys a large, hideous bison-shaped magnet! Cardiovascular growth and remodeling lectures in the afternoon are complicated and full of PDEs. :( Bison3 does not have proper shoes for the evening banquet. Poster presentation winners get a free student edition of <span style="font-style: italic;">Abaqus</span>? Bison3 doesn't know how to use Abaqus. O_O Late at night Bison3 finds herself extremely dehydrated for some reason.<br /><br />Sunday (today...) - Bison3 gets up at the crack of dawn after sleeping for only 3 hours, feeling extremely sick and still dehydrated. Tries not to look too ill so lab members won't take her to hospital again. On the way home, Bison3 looks at the long list of possible side effects /reactions for her antibiotic prescription...ahhh...this explains everything....<br /><br />Now Bison3 is at home drinking a lot of Gatorade and trying not to pass out from low blood volume. Hooray!!!<br /><br />I believe this is enough excitement to last a couple of months. Strangely, going to the conference was one of the most fun things I've done in, like, a year. The rest of summer had better be painfully boring. God, my head feels awful. @_@<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-718058718486580878?l=blog.lv25.com'/></div>bison3noreply@blogger.com4tag:blogger.com,1999:blog-146622194961228658.post-542551986460578942009-06-08T00:18:00.001-07:002009-06-08T01:06:20.744-07:00Till We Have Faces<img src="http://upload.wikimedia.org/wikipedia/en/thumb/7/77/TillWeHaveFaces.jpg/200px-TillWeHaveFaces.jpg" style="float: right" />So I just finished "Till We Have Faces", a book by CS Lewis about the myth of Cupid and Psyche, and it was good enough to warrant a blog post. Faces, which was written in 1956 and a few years after the Narnia chronicles, was a book that Lewis reportedly had been thinking about since his doctoral studies. Although I last read Narnia over 10 years ago, I could feel the echoes of Aslan and the world of Narnia as I turned the pages of "Till We Have Faces".<br /><br />To summarize the story briefly, Till We Have Faces tells the story of three princesses in the lands surrounding Greece, the youngest of whom, Psyche, is the most beautiful woman in the kingdom and forced to be a sacrifice to appease the gods. Psyche is rescued by a mysterious being who Orual, the protagonist of the story and Psyche's older sister, is convinced is a demon. Her subsequent "rescue" causes untold heartbreak for Psyche and takes Orual on a long journey in search of truth.<br /><br />One of the themes of the book is the strange form that love takes whereby it can cause asphyxiation and death - we see through the eyes of others in the story that the ones Orual loved the most suffered cruelly under her manipulations even as she meant the best. Another theme, and the title for the book, is the idea of obtaining one's own "face", or "voice", instead of living in the voices, ideas, and moralities of others - that the gods will not talk a mortal until she has found her own face. Finally, an undertone of the whole book is the dark, mysterious, awful, bloody, yet comforting idea of holiness, held in contrast to the "Greek" ideals of Nature and Reason. Other ideas explored include womanhood and suffering.<br /><br />Many consider the book to be one of Lewis's masterpieces, with the New York Herald Tribune proclaiming it "the most significant and triumphant work that Lewis has yet produced". Personally, I really enjoyed the book, which provides an interesting exploration of the spirit world, what it must feel like to hear someone talk of an afterlife you don't believe in, and some great insights on the nature of the hidden God. I found the last two chapters abrupt and jarring, especially compared to the rest of the novel. I ended up reading it in about six hours total.<br /><br />In general I find Lewis a bit too unsubtle in his symbols, and you may experience the same discomfort, but this book is much different in purpose, scope, and content than the Narnia series. Lewis's descriptions and portrayals are vivid and well wrought and Orual is a deep and interesting main character. I wouldn't characterize this book as life changing, but it was a great read and has given me much to chew on.<br /><br />---<br /><br />As an interesting side note, many of my coworkers write blog posts about software engineering. I don't feel that way about my work; it's interesting to think about theory and languages and practices, but for me, at the end of the day, it's a tool for solving problems. I'm much more interested in things like this book that deal with people and their relationships. Go figure.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-54255198646057894?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-88938993847289176782009-06-03T00:24:00.000-07:002009-06-03T00:26:05.053-07:00Abstract submission for Journal of Intelligent Structures and Systems<o:p></o:p>Recent developments in wireless sensor networks have led to increased interest in structural health monitoring.<span style=""> </span>There is a need for algorithms that can detect changes in a structure’s response to vibrations and other excitation due to structural damage.<span style=""> </span>This paper presents a unique algorithm based on estimating the structural response parameters such as stiffness and damping using a Kalman filter approach on observed vibration signals: acceleration and displacement.<span style=""> </span>The Expectation Maximization (EM) algorithm is used to estimate the state transition matrix, and an adaptive Kalman filter is used to model the signal. <p class="MsoNormal">The Kalman filter derivations presented in this paper demonstrate that this approach optimizes the prediction accuracy.<span style=""> </span>Kalman filters are nice.<span style=""> </span>The mathematics behind them are just plain beautiful.<span style=""> </span>They never tell you that you’re twenty pounds overweight or that your teeth are crooked.<span style=""> </span>Kalman filters will never ask you why you can’t be more like your brother.<span style=""> </span>They don’t keep their eyes open when you kiss them and then when you ask them whether it’s alright between us they say everything’s fine and then quickly look away.<span style=""> </span>Kalman filters simply give you the best linear estimator of the true state of a time history given your observations, the best non-linear estimator if the signal is jointly Gaussian.<span style=""> </span>What more could you ask for?<span style=""> </span>So yeah, Kalman filters are pretty cool, and the results look good.<span style=""> </span></p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-8893899384728917678?l=blog.lv25.com'/></div>bison1http://www.blogger.com/profile/16346464053519588893noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-13701900376174948762009-05-22T17:09:00.000-07:002009-06-03T00:39:32.622-07:00Re: Data Analyst PositionTo: Human Resources<br /><br />Greetings. I am writing to you regarding the position for data analyst, as advertised on your website. I believe I would make a valuable contribution to your team. I have enclosed my resume as per your request.<br /><br />You may notice that there is a large gap in my resume starting immediately after my graduation from college and lasting 5 years. It may seem like I have been doing nothing during this time. On the contrary, I was enrolled in and completed a Ph.D. program in Civil and Environmental Engineering at Stanford University. The reason I chose not to include this information in my resume is that it might cause you to think that I am overqualified for this position. I assure you, I am not in any way overqualified for this position.<br /><br />At the same time, I had a dilemma, because I did not want you to think that I had been wasting my time, or worse, that I was hiding something awful, for example, being in prison. Or worse, perhaps you might have thought that I was in and out of a mental rehabilitation center for the past 5 years, simply because the judge didn't believe that the drawings and rants in my journal were simply products of my imagination and not intended for public distribution. In any case, I assure you that none of these events happened. I was simply in grad school.<br /><br />Yours sincerely,<br />Charles Chan<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-1370190037617494876?l=blog.lv25.com'/></div>bison1http://www.blogger.com/profile/16346464053519588893noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-30154435132233725312009-05-14T21:53:00.001-07:002009-05-14T21:56:12.509-07:00nothing really new<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_a1vqguJ19ac/Sgz1arRvMiI/AAAAAAAAASI/gHhUpeqgVsI/s1600-h/bison_garbage.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 215px;" src="http://4.bp.blogspot.com/_a1vqguJ19ac/Sgz1arRvMiI/AAAAAAAAASI/gHhUpeqgVsI/s400/bison_garbage.jpg" alt="" id="BLOGGER_PHOTO_ID_5335909497169719842" border="0" /></a><br />Sometimes it takes a long time to realize that there are some things that you've screwed up beyond repair. Try, try again, they say, but sometimes, however much you want it, there's simply no opportunity to try again. Some things are broken so badly that you can't fix them, no matter how hard you try. It's like aging - irreversible damage building up slowly in your cells until enough of them are dead that an organ and then your entire body fails. Maybe you can fight it for a while, with medicine, with machines, but eventually you reach a point where you are beyond help. The soul ages too. Bits of it die off all the time when you disappoint yourself, when people hurt you, when you hurt others, and all the damage accumulates until you're living in an empty shell. You lose your ability to feel happiness the way your tastebuds slowly die out and one day that favorite instant macaroni and cheese from your childhood tastes bland and flavorless. There's no pomegranate juice to stop the free radicals eating away your soul. That stuff tastes awful, anyway.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-3015443513223372531?l=blog.lv25.com'/></div>bison3noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-28241802864140015372009-05-11T17:52:00.000-07:002009-05-11T18:00:21.749-07:00Indie Artist Alert: Night Prowl Mike Gao!If you're into beats, check out my man Mike Gao, PhD student in computer music by day, crazy mad scientist by night. He is <a href="http://www.urbandictionary.com/define.php?term=wylin%27%20out">wylin' out</a> for real!<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_tJsV0ZBiYtA/SgjKHE5qdEI/AAAAAAAAAPg/DW2rKXQGk1E/s1600-h/3040_76773936358_572786358_1812400_1471864_n.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_tJsV0ZBiYtA/SgjKHE5qdEI/AAAAAAAAAPg/DW2rKXQGk1E/s400/3040_76773936358_572786358_1812400_1471864_n.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5334735981543846978" /></a><br /><br /><a href="http://www.facebook.com/pages/NIGHT-PROWL-MIKE-GAO/20726183274">Night Prowl Mike Gao</a><br /><br />I just moved to San Francisco, and I think I am going to go into event overload. So many things to do, aaaaahh!!! Maybe this is why people move to the suburbs - is there a pleasure to be derived from boredom? Maybe I'm just not wired that way.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-2824180286414001537?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-41536345459979235082009-05-07T03:28:00.000-07:002009-05-07T03:39:38.477-07:00The worst idea in the universe.Today was probably one of the worst days of the school year so far. I don't even know why. Nothing bad or unusual happened, it was just a normal day - but I can't remember being quite so unhappy and tired before. I had bio lab in the afternoon and when I got back to the dorm I was so exhausted for some reason that I fell asleep and didn't get up until after 9. This made me super depressed because I did nothing productive all day, so I tried really hard to watch a lecture online that I missed and finish some other random stuff but after 2 I just broke down and couldn't work anymore and now I'm...blogging again? :(<br /><br />Anyway, I've been thinking a lot about a terrible idea lately - the worst hypothetical situation in the universe! In middle school I used to think about the concept of hell a lot, due to the influence of Left Behind books, which I probably should not have read. Anyway, I haven't been pondering this eternal punishment stuff for a really long time because my Christian friends have done an excellent job of brainwashing me into focusing on other aspects of the religion. :P But lately I've been thinking about it a lot more often. Suppose that this life that you're currently living is actually your afterlife. You've already lived a previous life and now you've wound up here. What if you're in hell right now?! How would you ever know? You see people around you reaching out to God, communicating with God, people who can sense His presence. And you try really hard to do the same thing but never manage to experience what comes so easily to others. Isn't that exactly what hell is? Being isolated from God? Maybe in a previous life you were already given the chance, but you blew it, and now you can't have that relationship anymore. <br /><br />Uhhh okay that is super depressing and I don't actually believe that could happen because the whole idea sounds miserable to the point of being outrageous - but then again, isn't that what hell is, by definition?!<br /><br />I feel very alone these days. I used to talk to my friends about all sorts of stuff but now there are many things that I'd rather just keep to myself because they're too painful for me to bring up in conversation. Talking to God has about the same effect as talking to my water filter and now there are only two things that I bother to pray about, in case my prayers are ever answered. I think if you did an analysis of events that I would categorize as prayer responses to things that I ask for from my water filter vs. God, there would be no statistically significant difference. Don't worry, I haven't actually been talking to my water filter. What do I believe in, that there isn't a God, or that there is a God who seems to be ignoring me? Does it even matter?<br /><br />Anyway, all of this bottled up emo-ness results in a deluge of crappy, enigmatic blog posts.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-4153634545997923508?l=blog.lv25.com'/></div>bison3noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-28149717383942813512009-05-04T13:16:00.001-07:002009-05-04T13:26:26.916-07:00Priorities.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_a1vqguJ19ac/Sf9NaakbXFI/AAAAAAAAASA/pqp2sRvYG2E/s1600-h/hopeless_case.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 213px;" src="http://2.bp.blogspot.com/_a1vqguJ19ac/Sf9NaakbXFI/AAAAAAAAASA/pqp2sRvYG2E/s400/hopeless_case.jpg" alt="" id="BLOGGER_PHOTO_ID_5332065600034004050" border="0" /></a><br />Another. Week. This quarter I have so many random due dates/times for assignments and work-related stuff, it's hard to keep track of them even though I have them all written down and highlighted multiple times in my planner - it gives me the feeling that I'm going through an endless cycle of work, and I spend a lot of time hovering around my computer re-checking assignments before submitting/e-mailing them. (Oh wait, I always do that...) I'm turning something in practically every day of the week, including weekends! Most of it is just boring busywork, but...ughhh...one of these days I'm going to forget something important. D:<br /><br />Also, that bisoncomic is an example of shading with a pen FAIL.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-2814971738394281351?l=blog.lv25.com'/></div>bison3noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-79433821676350787222009-05-04T00:37:00.001-07:002009-05-04T01:11:28.250-07:00Different Worlds (2x)I live in a lot of worlds. I just came home from an amazing retreat where we talked about being God's beloved, passion, and our calling (maybe the subject of a future post!). What did I come home to?<br /><code> RepeatInfo repeatInfo = task.getRepeat();<br /> if(repeatInfo != null) {<br /> repeatEveryNSeconds = (int)(repeatInfo.shiftDate(new Date(0)).getTime()/1000);<br /> }<br /></code><br /><br />Programming is (mostly) a self-contained world. You operate on a defined set of inputs and produce outputs. Within your universe, there's nothing but code, and it always works the same way. The real world is <span style="font-style:italic;">so</span> different! I took a break from my code to look at facebook pictures from the retreat, and the context switch was such a jarring event.<br /><br /><hr/><br /><br />I let down my parents again today. My dad was so sick our family almost took him to the hospital (don't worry, it's not you-know-what). I did my usual routine of work, come home, work - and then I went on a retreat. It's not terribly surprising that he didn't feel loved by my actions. <br /><br />My parents and I have been struggling ever since I graduated high school many years ago about what our relationship should be like. My parents operate with the understanding that their role is to provide me their best, and I would care for them whenever they had need. They have held down their end of the bargain extremely well. However, much of the time, I feel like I am trying to escape their influence - they are not Christian and come from an entirely different culture than the one I find myself in every day - plus, they are much older than I am - so their words of advice cross numerous barriers of skepticism before reaching me. Furthermore, while growing up, my family impressed upon me the importance of following my dreams, essentially instilling in me a self-orientated decision-making paradigm centered around "what's in it for me."<br /><br />My duty as their son is to honor them. I find this incredibly hard, despite the fact that I love them deeply. As I navigate through life, is it any wonder I prefer the company of the well-socialized, the young, the hip, the career-relevant, over my parents? Is it any wonder that when I spend time with my parents, our mechanical interactions don't help them feel valued and loved?<br /><br />It's beautiful to see my friends praying with their parents. I would like to become more self-giving in my relationship with my parents.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-7943382167635078722?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-50078289136092714832009-05-01T23:20:00.000-07:002009-05-01T23:42:15.292-07:00Leeches...Gaaaah...don't you hate it when you learn something new that you think is absolutely awesome, and then when you gleefully share it with your friends, everyone in the room already knows about it, so you just feel kind of lame? -_-;<br /><br />Anyway, I figured that <span style="font-style: italic;">someone</span> who comes across the blog probably doesn't know about this, so I AM GOING TO WRITE ABOUT IT!!!<br /><br />Did you know that leeches and maggots are classified as <span style="font-weight: bold;">medical devices </span>by the FDA?! :D <br /><br />It's weird to think of them being in the same category as stuff like...heart valves and pacemakers. O_o But they totally fit within the FDA's definition of medical devices, which, according to wikipedia, is the following:<br /><br /><span style="font-style: italic;">A medical device, according to the U.S. Food and Drug Administration (FDA), is an instrument, apparatus, implement, machine, contrivance, implant, in vitro reagent, or other similar or related article, including a component part, or accessory which is:</span><br /><ul style="font-style: italic;"><li>recognized in the official National Formulary, or the United States Pharmacopoeia, or any supplement to them,</li><br /><li>intended for use in the diagnosis of disease or other conditions, or in the cure, mitigation, treatment, or prevention of disease, in man or other animals, or</li><br /><li>intended to affect the structure or any function of the body of man or other animals, and which does not achieve any of its primary intended purposes through chemical action within or on the body of man or other animals and which is not dependent upon being metabolized for the achievement of any of its primary intended purposes.</li></ul><span style="font-style: italic;">as defined by the Federal Food, Drug, and Cosmetic Act, 21 United States Code [321] (h). Medical devices are regulated by the FDA Center for Devices and Radiological Health (CDRH).</span><br /><br />Indeed, a lot of unexpected things are classified as medical devices and under FDA regulation.<br /><br />This is an interesting article about the uses of leeches:<br /><a href="http://www.fda.gov/fdac/features/2004/504_leech.html">http://www.fda.gov/fdac/features/2004/504_leech.html</a><br /><br />And wikipedia has an interesting article about "maggot therapy":<br /><a href="http://en.wikipedia.org/wiki/Maggot_therapy">http://en.wikipedia.org/wiki/Maggot_therapy</a><br /><br />Isn't that fascinating. O_O<br /><br />I hope I'll never need those types of "medical devices"....<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-5007828913609271483?l=blog.lv25.com'/></div>bison3noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-64224665606268664632009-04-28T18:08:00.000-07:002009-04-28T20:45:32.894-07:00Secret History of Silicon ValleyThe Secret History of Silicon Valley is a talk by Steve Blank (you can watch it <a href="http://www.youtube.com/watch?v=ZTC_RxWN_xo">here</a>) that chronicles the role the defense industry has played in the rise of Silicon Valley as an entrepreneurship hotbed. Recently, he put up a series of articles on his blog about how he came to be interested in this topic - it's a very enjoyable and informative read about Steve's story and the story of the Valley.<br /><br /><a href="http://steveblank.com/2009/03/23/if-i-told-you-i%e2%80%99d-have-to-kill-you-the-story-behind-the-secret-history-of-silicon-valley/">Part 1: If I Told You I'd Have to Kill You</a><br /><br /><a href="http://steveblank.com/2009/03/29/the-story-behind-the-secret-history-part-ii-getting-b-52s-through-the-soviet-air-defense-system/">Part 2: Getting B-52's through the Soviet Air Defense System</a><br /><br /><a href="http://steveblank.com/2009/04/06/story-behind-%e2%80%9cthe-secret-history%e2%80%9d-part-iii-the-most-important-company-you-never-heard-of/">Part 3: The Most Important Company You've Never Heard Of</a><br /><br /><a href="http://steveblank.com/2009/04/13/story-behind-%e2%80%9cthe-secret-history%e2%80%9d-part-iv-undisclosed-location-library-hours/">Part 4: Library Hours at an Undisclosed Location</a><br /><br /><a href="http://steveblank.com/2009/04/20/the-secret-history-of-silicon-valley-part-v-happy-100th-birthday-silicon-valley/">Part 5: Happy 100th Birthday Silicon Valley</a><br /><br /><a href="http://steveblank.com/2009/04/27/the-secret-history-of-silicon-valley-part-vi-the-secret-life-of-fred-terman-and-stanford/">Part 6: Every World War II Movie was Wrong</a><br /><br />Give them a shot - very worth your while! Teaser:<br /><br /><img src="http://steveblank.files.wordpress.com/2009/04/popular-view-of-silicon-valley-history1.jpg"><br /><br />It's not just a story about Silicon Valley, but about my alma mater, Stanford, and specifically, my department, Electrical Engineering. While I was at Stanford, coincidentally, I worked on E & M research funded by the military, so this story is really close to home for me. I had no idea that, for example, the <a href="http://dish.stanford.edu/">Stanford Dish</a>, which was run by my lab, was built to (secretly) try and locate Soviet radar installations. It's not that surprising, though - research institutions like Stanford are concerned primarily with the academic problems.<br /><br />Has the Valley outgrown military financing? Can we get green energy without government dough? One implication of the transition to a primarily venture-based financing model is that you have different, and probably shorter, boom-bust cycles. Can innovation be sustained with these shorter turnaround cycles?<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-6422466560626866463?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-70386458796134004782009-04-27T03:51:00.001-07:002009-04-27T04:02:56.327-07:00Boring introspective stuff.<div>Attempting to coordinate TSF letter-writing is an interesting experience.  This quarter, because of the increase in number of letters, it became a bit of a frustrating and detail-oriented activity that was quite different from stuff that I usually do.  Oh wait, I forgot, I'm in engineering. :P  Anyway, this experience has led me to think that there is a big difference between "leadership" and "management."  Leading people is sometimes a lot easier than actually managing them.  I'm not sure if definition-wise there's actually a distinction, but there is in my brain.  I think leadership is more about motivating people to do stuff and coming up with awesome ideas, whereas management is planning details about things and nagging people to get stuff done.  Some leaders do managing too but others don't.</div><div><br /></div><div>Anyway, I don't have a lot of experience managing people so this thing that was a pretty simple task was probably more stressful than it needed to be.  My friend who's organized this before for a waaay larger student group would probably find this post incredibly naive and a bit retarded.  She gave me a lot of tips on how to do stuff efficiently that I didn't even think of.  Now my idea of managing something is to divide up the things that need to be completed in a way that maximizes the amount of work that other people do toward finishing the project, while minimizing the impact (potential damage!) of each individual's work.  I'm not even sure if that's possible.  It doesn't sound too good.  That's why I'm not in management.  Anyway, regarding TSF letters, everyone should try it sometime.  It reveals much about human nature and the meaning of life, and I'm sure it builds plenty of character.  This is what I've learned about human beings in the past couple of weeks:</div><div><br /></div><div>-  A surprising number of people will volunteer to do something that you didn't think anyone would want to do.  Bison3's faith in humanity increases!  (I'm also thinking this could have been because I didn't outline the exact details of the letter-writing procedure very carefully when I solicited help....)</div><div>-  Some people who you didn't think really cared about the group actually want to help out. </div><div>-  Some people write really gushy, effusive thank-you letters to strangers.  Proof-reading letters was quite amusing, though frustrating.  You'd think that with all the strict guidelines about the content people would come up with really similar letters, but there was an amazing amount of "variety."  </div><div>-  Variety isn't always good. </div><div>-  Some people have triangular handwriting that looks like ancient runes.</div><div>-  People have very different ideas of what is aesthetically pleasing. Some people have no idea what is aesthetically pleasing.</div><div>-  Letter-writing is crazier than you think - it seemed to me that a lot of formatting stuff would be pretty standard, like having margins on the sides of the paper, but apparently margins aren't instinctive for everyone. O_O</div><div>-  As with all other group projects, everything is completed at the last minute, or later. @_@; </div><div><br /></div><div>And also, some less-interesing things that I've learned about bison3:</div><div><br /></div><div>- I laugh at terrible things.  </div><div>- I have trouble telling people when they are doing a bad job.  Well, I already knew this, but when it's something like, <span class="Apple-style-span" style="font-style: italic;">your handwriting is dreadful</span>, I can't do it!!!  There were some people's letters that I was itching to re-write myself, but I didn't, thank goodness.  Those things are a pain.</div><div>- I get nervous when people don't meet deadlines.</div><div>- There are many areas of grammar in which my knowledge is very, very shady... O_O  </div><div>- Crappy techno music with a beat faster than my resting heartrate makes me ANGRY at 3 a.m.  This is unrelated to the letters but I felt like I needed to mention it.</div><div><br /></div><div>For some reason, I can't wait to re-do this next quarter - now I know EXACTLY how to make things more efficient!!! D:   </div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-7038645879613400478?l=blog.lv25.com'/></div>bison3noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-48042709516107708652009-04-24T02:08:00.001-07:002009-04-24T02:22:11.970-07:00An Ordinary Bison<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_a1vqguJ19ac/SfGBusDY6-I/AAAAAAAAAR4/lREiISot_k8/s1600-h/ordinary.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 266px;" src="http://2.bp.blogspot.com/_a1vqguJ19ac/SfGBusDY6-I/AAAAAAAAAR4/lREiISot_k8/s400/ordinary.jpg" alt="" id="BLOGGER_PHOTO_ID_5328182473255349218" border="0" /></a><br /><br />You know what? These rabbits pretty much look the same in every single comic! They have a very limited number of poses and facial expressions. It's almost always some combination taken from the following: 1) Facing left 2) Facing right 3) Facing forward 4) Looking behind 5) Holding object 6) Ears up 7) Ears down 8) Exasperated 9) Sad 10) Ridiculously gleeful<br /><br />Why do I even bother to re-draw them every time? Maybe I should just work out a system where I can copy and paste pre-drawn rabbit parts together. The bison is even easier - I don't think I've drawn anything other than his profile. I can just use the reflection of one picture when I need him facing the other direction or something.<br /><br />Then again, maybe that would take the "fun" out of drawing bison comics. They'd be a less effective tool for procrastination, anyway....<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-4804270951610770865?l=blog.lv25.com'/></div>bison3noreply@blogger.com1tag:blogger.com,1999:blog-146622194961228658.post-20617848007621293422009-04-21T03:21:00.000-07:002009-04-21T03:33:15.289-07:00Terrible weather.The weather really is terrible. It is much too warm. I think my ideal ambient temperature might be 72 degrees, or lower - probably around 68 or so. Maybe that's why I'm still awake. I hope it cools down tomorrow, or I'll be getting way too much research done in the air-conditioned lab. D:<br /><br />Is that a bisoncomic I see? Why yes, it is! Apparently I felt bad about not making any new bisoncomics for a long time.<br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_a1vqguJ19ac/Se2fjDki-8I/AAAAAAAAARw/pbLgKRYT6eI/s1600-h/blue.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 248px;" src="http://2.bp.blogspot.com/_a1vqguJ19ac/Se2fjDki-8I/AAAAAAAAARw/pbLgKRYT6eI/s400/blue.jpg" alt="" id="BLOGGER_PHOTO_ID_5327089358851996610" border="0" /></a><br />I wonder what on earth I was thinking when I chose the color scheme. Oh wait, I probably wasn't thinking at all.... @_@<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-2061784800762129342?l=blog.lv25.com'/></div>bison3noreply@blogger.com1tag:blogger.com,1999:blog-146622194961228658.post-30566254123265652052009-04-18T23:12:00.000-07:002009-04-18T23:20:34.925-07:00Grandma's HandsBill Withers - Grandma's Hands<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/qv5pagal-ls&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/qv5pagal-ls&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br /><br />Incidentally, my grandfather passed away last week - one of the few elderly people in my life and a great man. Most of my grandparents have passed away before their time, and I think he was one of them. At any rate, when this song came up on my computer, it captured my attention from start to finish. I'm not thrilled with this live version, but it's still good.<br /><br />Also, sometimes I think our culture is moving away from the more soulful & acoustic sides of life.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-3056625412326565205?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-81181553311586921372009-04-16T16:11:00.001-07:002009-04-16T16:56:11.116-07:00List Plan Execute<img src="http://renditions.files.wordpress.com/2008/02/productivity.jpg" width="200" style="float: right"><br />This is a topic that I'd like to talk about more in the future, but I thought I'd quickly share my workflow for productivity. I've found this method to be fairly simple and work well for my purposes - the hats I wear include personal maintenance and development, my job, my startup(s), my friendships, and my religious commitments.<br /><ol><br /><li><span style="font-weight: bold;">List</span> - almost every day I make a list of the things that I have to do. Making such a list serves two purposes for me:<br /><ol><br /><li>It allows me to stop trying to remember all of the things I have to do. This frees up my brain to focus on the task at hand.<br /><li>It gives me a visual overview of the things I have to do. From there, I can make strategic decisions like prioritizing different tasks (see next point).<br /></ol><br />Since I juggle my work and personal lives, I usually make two lists - personal tasks and work tasks. I try to keep my work life separate from my personal life, so while I'm in "work-mode" I deal strictly with my work list, while when I'm in "home-mode", I deal with my home list; this is helpful because I often think about work from home or home from work. My home list is on my laptop and "in the cloud", my work list is on a steno notebook where every day gets a new page. <br /><br />The lists I create are often hierarchical, divided into projects and components. I find that two levels is usually enough, though three is sometimes necessary. Each list is dated at the top.<br /><br /><li><span style="font-weight: bold;">Plan</span> - once you have a list of things that need to get done, the next step is to figure out how to do it. If my list is not long, I usually just give each task a number and do things one-at-a-time down the list. I may not finish every task, in which case it ends up on tomorrow's list. Urgent tasks are recognized by this process and given their due priority. This method of daily re-evaluation ensures that while I don't forget about my urgent tasks, I am mindful of the big picture and things that I have been putting off for a while can be given a boost.<br /><br />If I have too many tasks to finish in a day, I instead create buckets for each day in the upcoming week, for example:<br /><br /><code>Monday 13 Mon Night Tuesday 14 Tue Night<br /> --------- --------- ---------- ---------<br /></code><br /><br />I then assign tasks to buckets, which become defacto "goals" for the given period of time.<br /><br /><br /><li><span style="font-weight: bold;">Execute</span> - once you have a list of things to do, all you have to do is do them. Of course, this isn't as simple as it sounds. From my experience, here are some tips to help you get the engine started:<br /><ul><br /><li>Energy - you have to have energy to start a new task. Sugar is my preferred weapon, but I think alternating between sugar and caffeine might help limit caloric intake and avoid caffeine addiction. Or, you could sleep more.<br /><li>Avoid Distractions - once you know what you're doing, you should have very little need for outside information input. That means no checking e-mail, browsing the web, etc while you are working. If you need to stay up on your e-mail, this can be a task that you perform in between doing other things.<br /><li>Feedback - positive feedback after completing something gives you energy to do more. Let yourself celebrate a little after each minor victory.<br /></ul><br /></ol><br /><br />As a funny side note, I accidentally switched my spell checker to Australian English, and had a minor crisis of confidence when it told me that I had spelled "prioritizing" wrong and wanted to correct it to "prioritising" - I thought maybe I had been spelling it wrong my whole life! (you indeed have, say all of our English friends....)<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-8118155331158692137?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com0tag:blogger.com,1999:blog-146622194961228658.post-57596462552285573452009-04-13T02:00:00.000-07:002009-04-13T02:30:12.869-07:00RecidivismI AM SO GLAD IT WAS EASTER. I just spent, like, an hour on Facebook. I must not have been blinking very much because my eyes are suddenly quite dry. That cannot possibly be good. I should probably get off the computer soon and go to sleep. But it has been so long since I've clicked through people's collections of profile pictures, uploaded useless photo albums that no one looks at, written meaningless comments on people's walls, and changed my profile picture to reflect my current hair length. What insights have I gained from these weeks without Facebook? How have I grown spiritually?<br /><br />*Crickets chirping*<br /><br />Um...well, in addition to numerous House episodes, I watched a lot of YouTube videos. D:<br /><br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/nEuVvSKN__I&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/nEuVvSKN__I&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><br /><br />I guess I had a *tiny* Easter miracle this weekend. After staring at this dreadful program I've been working on for days, I discovered that the reason that it wasn't working was because of some weird rounding of floating-point numbers, so when I used the == operator it didn't work. That probably sounds a bit stupid and lame, but the miracle is that the algorithm I wrote wasn't the part that was messed up! I was looking for the wrong type of mistake. O_o; Anyway I am quite happy about this and hope that I do not discover more bugs right before the due date....<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-5759646255228557345?l=blog.lv25.com'/></div>bison3noreply@blogger.com1tag:blogger.com,1999:blog-146622194961228658.post-41769499023927300032009-04-13T00:02:00.000-07:002009-04-13T00:39:51.582-07:00Easter is... awesome!I'm going to remember this Easter for years to come. I'll start off with a set of quixotic yet insightful quotes from a book I am reading, <i>Either/Or</i> by Søren Kirkegaard:<br /><br /><blockquote>No one comes back from the dead, no one has entered the world without crying; no one is asked when he wishes to enter life, nor when he wishes to leave.</blockquote><br /><br /><blockquote>What the philosophers say about reality is often as deceptive as when you see a sign in a second-hand store that reads: Pressing Done Here. If you went in with your clothes to have them pressed you would be fooled; the sign is for sale.</blockquote><br /><br /><blockquote>Whatever can be the meaning of this life? If we divide mankind into two large classes, we can say that one works for a living, the other has no need to. But working for one's living can't be the meaning of life; to suppose that constantly procuring the conditions of life should be the answer to the question of the meaning of what they make possible is a contradiction. Usually the lives of the other class have no meaning either, beyond that of consuming the said conditions. To say that the meaning of life is to die seems again to be a contradiction</blockquote><br /><br />This book is pretty great. I had never heard of it and bought it because I needed to spend $15 to get free shipping at Amazon, and I have no regrets at all. I'm also reading <a href="http://en.wikipedia.org/wiki/Gödel,_Escher,_Bach">Gödel, Escher, Bach</a> by Douglas Hofstader, but I must say, the book by Kierkegaard is the more intriguing for now. Both books are over 600 pages, but I am quite enjoying the fruits of <a href="http://blog.lv25.com/2009/03/on-buying-things.html">my indiscretion </a>.<br /><br />What else happened this weekend? The Seattle Mariners are hot, I met someone I admire greatly, I lost & regained a friendship, made two new acquaintances, moved out of my apartment and got to spend time with another dear friend at the same time, had a delicious burrito, Jesus rose from the dead, I fixed a computer, discovered a new (for me) style of playing bass, and had a few great conversations about the future of my church & churches in general. And that's not even all I did! Plus my sister got into colleges woo!<br /><br />Spring is a time for new life & new optimism. I love that baseball season follows life in that way. Hope you had a good weekend too.<br /><br />I'm feeling generous, so here are two more snippets from <i>Either/Or</i>. Borrow the book from me if you like.<br /><br /><blockquote>If you marry, you will regret it; if you do not marry, you will also regret it; if you marry or if you do not marry, you will regret both; whether you marry or you do not marry, you will regret both. Laugh at the world's follies, you will regret it; weep over them, you will also regret it; if you laugh at the world's follies or if you weep over them, you will regret both; whether you laugh at the world's follies or you weep over them, you will regret both. Believe a girl, you will regret it; if you do not believe her, you will also regret it; if you believe a girl or you do not believe her, you will regret both; whether you believe a girl or you do not believe her, you will regret both. If you hang yourself, you will regret it; if you do not hang yourself, you will regret it; if you hang yourself or you do not hang yourself, you will regret both; whether you hang yourself or you do not hang yourself, you will regret both. This, gentlemen, is the sum of all practical wisdom</blockquote><br /><br /><blockquote>My misfortune is this: an angel of death always walks by my side, and it is not the doors of the elect that I am to sprinkle with blood, as a sign that he is to pass them by; no, it is precisely their doors that he enters - for only the love that lives in memory is happy.</blockquote><br /><br />On that somber note.... =)<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-4176949902392730003?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com2tag:blogger.com,1999:blog-146622194961228658.post-3635341163030313062009-04-11T03:05:00.000-07:002009-04-11T03:23:31.672-07:00My recursive algorithm doesn't work, so...Today I will write about my latest obsession - HOUSE, M.D. <span style="font-style: italic;">What, bison3?! You have only recently discovered the awesomeness of House?! </span> I know, I know...everyone has been telling me to watch this show for ages, but I thought it was just a typical medical drama! Who knew that I would become addicted to a story about an unhappy, unshaven, misanthropic old man who oozes sarcasm through his pores? Um...apparently eveyone except me. I am now trying to watch all the episodes starting from season 1! <br /><br />House is such an intriguing character, whoever came up with the idea is a genius!!! I'm sure fangirls have already gushed over/analyzed his personality to pieces but I feel like putting in my two cents as well. :D This show is really creative...it does a good job of causing you to temporarily realign your values as you're watching it, through House's crazy antics and cruel remarks. Hrm...how much do I really believe a human life is worth? Not sure if this is a good show for pre-meds...might get too many "ideas." :P House looks down upon practically everything that normal people would consider the most meaningful elements of, well, human existence - compassion, trust, the ability to empathize, friendships, relationships, faith...and yet his main purpose in life is to preserve human lives! Sometimes it seems that human life (other people's, as well as his own) has no real meaning or importance to him - yet he will stop at nothing to save these people that he doesn't even want to see in person, trying out the most insane treatments he can think of when nothing else works, often angering others and jeopardizing his career - and his career is everything to him, because having emotionally distanced himself from others, he doesn't really have anything else to live for. Strangely, because of this, even though he tries to isolate himself from his patients and everyone else by appearing aloof and emotionally detached, each case that he takes on is actually a deeply personal struggle. His existence is defined by the fact that he is a medical genius, and he can't fail! He has to be right, every time, and if no one else can solve the problem, he has to be the one who figures it out. (I'm only on the first season and House hasn't failed to figure out a case yet...I'm sure something tragic will eventually happen in later episodes, but don't tell me what happens!) What an enormous pressure!!! THE DRAMA!!!!!<br /><br />I think in real life, people would hate a doctor like House, a doctor who doesn't see the patient as a human who needs to be healed, but an interesting problem needing to be solved. He doesn't like going to the clinic and treating "normal" cases, he only wants to do the weird ones. One of the most memorable lines for me was when House said that he treated the illness, not the patient...yikes! D: But I often find myself rooting for House, even when he does awful, selfish, and questionable things in attempts to save people (sometimes when they don't even want to be saved anymore...). Why do I sympathize with a character whose actions I totally don't agree with? Because saving patients' lives is what House <span style="font-style: italic;">does</span>. It is what keeps him going in life, when he has rejected everything else - and I want to believe that it's possible for a human being to have something in him that keeps him going even when everything else has failed or disappointed him. The idea of House failing at the one thing he does is very depressing, and I want him to be right every time!<br /><br />The character House is almost super-human or something...he doesn't abide by any of the rules/conventions of normal people, and he gets away with it because of his brilliance. But in a creepy way I also think he embodies what eventually happens to every human being, which is why his character is so appealing. Even when people think that they've found a purpose in life, there is often still an emptiness that they're constantly trying to fill. Then maybe one day, something happens that makes them give up, and instead of spending their energy trying to fill the emptiness, they focus their energy on just learning to endure it. That is extremely emo. House is extremely emo. He has always been in pain since his leg incident, but I think the show makes it pretty clear that the pain is mostly psychological. He has filled the emptiness of his existence with pain of the greatest emo-ness that a human can endure. His pain is like his significant other. He introduces it to everyone he meets and makes sure that they know they're a couple. He is not very open about anything else, but he is open about his pain. He crunches on Vicodin tablets in front of anyone who's watching. Public displays of affection for his emo pain. His pain keeps him human, the only weakness that he'll reveal to others - as misanthropic and cynical as he is, no one really wants to suffer alone...IT IS SO EPICALLY TRAGIC...*screams*<br /><br />Ummmm okay why did I write all that random stuff when I could have spent the time watching another House episode?!!! Or perhaps fixing my program which I've spent hours staring blankly at?!!!!! <br /><br />Too much coffee.<br /><br />D:<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-363534116303031306?l=blog.lv25.com'/></div>bison3noreply@blogger.com3tag:blogger.com,1999:blog-146622194961228658.post-34722424146745476192009-04-10T13:44:00.001-07:002009-05-06T12:08:42.791-07:00Build Subversion 1.6 & javahl on Ubuntu 8.10Here's how I installed Subversion 1.6 client on Ubuntu with https support. I'm using an AMD 64-bit distribution, but it shouldn't matter.<br /><br />1. First, install the right dependencies. I'm pretty sure this is all you need, but I could be wrong.<br /><br /><code>sudo apt-get install build-essential libapr1-dev libaprutil1-dev libneon27-dev<br /></code><br /><br />2. Download svn archive from <a href="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74">here</a>. For example,<br /><br /><code>cd /tmp<br />wget http://subversion.tigris.org/downloads/subversion-1.6.1.tar.bz2<br />tar xjf subversion-1.6.1.tar.bz2<br />cd subversion-1.6.1<br /></code><br /><br />3. Configure, make, install! ./configure will complain about libaprutil not being compiled with bdb support. This is a known issue, but if you just want the subversion client, shouldn't matter to you.<br /><br />If you've installed Sun's Java 6 JDK / JRE, and want JavaHL, do the following:<br /><br /><code>./configure --with-ssl --enable-javahl --with-jdk=/usr/lib/jvm/java-6-sun<br />make<br />make javahl<br />sudo make install install-javahl<br /></code><br /><br />If you haven't installed Java 6 and don't want JavaHL, do the following:<br /><br /><code>./configure --with-ssl<br />make<br />sudo make install<br /></code><br /><br />If you haven't installed Java 6 and <span style="font-style:italic;">want</span> JavaHL, you have to install it first:<br /><br /><code>sudo apt-get install sun-java6-jdk</code><br /><br />4. Confirm<br /><br /><code>which svn (should output /usr/local/bin/svn)<br />svn --version (should be 1.6.x and have 3 modules: ra_neon, ra_svn, ra_local)<br /></code><br /><br /><hr><br /><br /><span style="font-style:italic;">edit!</span> If you're like me and use Eclipse with <a href="http://subclipse.tigris.org/">Subclipse</a>, you're going to have to do some hacking to make that work as well. Here are the steps to make that work. I assume that you have installed JavaHL as described above, which dumps files to /usr/local/lib.<br /><br />1. From Eclipse, uninstall any old versions of Subclipse, and install Subclipse 1.6 with JavaHL bindings. Here is the update site:<br /><br /><code>http://subclipse.tigris.org/update_1.6.x</code><br /><br />2. Create a new script to launch Eclipse that contains the following. Obviously replace the last line with the location to your eclipse binary.<br /><br /><code>#!/bin/sh<br />export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib<br />export CLASSPATH=$CLASSPATH:/usr/local/lib/svn-javahl/svn-javahl.jar<br />/opt/eclipse/eclipse<br /></code><br /><br />3. Start your new script, and you should be able to select JavaHL (1.6.1) from the Window -> Preferences -> Team -> SVN menu.<br /><br />Happy Good Friday!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/146622194961228658-3472242414674547619?l=blog.lv25.com'/></div>bison2http://www.blogger.com/profile/16831020601558914238noreply@blogger.com12