Wednesday, May 28, 2008

Simpang Asia + NLP Proj 2


out of all the foreign food restaurants i've eaten at in LA, somehow i've never had food from the indonesian restaurant Simpang Asia. so, sometime last week, i gave it a try. i ordered:
  • Nasi Warteg (entree): Turmeric fried chicken, jackfruit curry, telor ceplok balado, fried noodle, tasty tofu tempeh, tiny salted fish, steamed rice; all wrapped in banana leaf. Est. September 2005.
  • Roti Bakar (dessert): Indo sweet grilled cheese bread. Delicious w/ condensed milk and chocolate topping.
overall, it was pretty good stuff! halfway through, though, my tongue realized that something wasn't right and asked me what the heck i was doing to it. it felt like i had eaten 3 bags of hot fries simultaneously. nevertheless, it was a really cool place and the dessert was seriously one of the best desserts i've ever had. the only immediate thing that comes to mind that was better is google's catered strawberry/chocolate/waffer/pudding/cracker things. my mouth is watering now, so i should stop talking about it.

for my NLP class, we get to choose anything we want for project 2. leslie and i decided to create a system that (1) automatically classifies stories as being adult stories (i.e. regular text for adults, not x-rated stuff) or children stories; (2) converts adult stories to children stories. we have 1.5 weeks left, so it'll be fun. i did #1, already. now it's time for the fun parts.


Tuesday, May 13, 2008

FIT vs UCLA (part 3)

3 years ago at FIT, i took the course titled formal languages and automata theory (FLAT). for my master's at UCLA, we have to take a certain # of ugrad classes. i liked FLAT, so i decided to retake it. to show how UCLA's tests generally differ from FIT's, i took a picture of both exams. see original-sized images. in FIT's defense, FIT only gave 75 minutes instead of UCLA's 110.

also, when i was a freshmen at FIT, our endowment was $10 mill. they claim to have $30 mill now. today, in the Daily Bruin, one of the articles mentioned that the UCLA business school received a $10 million grant from someone. that's enough money to almost BUY florida tech, but here, it's just an article in our daily newspaper and some scholarship and departmental plans.

Sunday, May 11, 2008

math + religion + passport = longest post ever

(sorry for the long post. if anyone reads all of this, i'll be impressed).

lately, i've given a lot of thought towards religion and trying to figure out what i believe in. i've always believed in a god, especially due to some highly fortunate things that have happened in my life--stuff that i would like to think goes way beyond sheer coincidence or probability. yet, i've never vehemently agreed or advocated any particular religion over another. i guess my outlook is that there are thousands of religions spanning the entire world, many of which started thousands of years ago. i find it hard to assert that one set of beliefs is the true one, and that all the others are just misled, misguided, ill-directed faiths. i don't feel i'm that wise, and can't currently speak with such conviction. nevertheless, i've been remaining open and have been actively trying to figure out what i precisely believe in.

apparently these thoughts have affected my dreams. i woke up in the middle of the night, took some dayquil to ease my sore throat, then immediately went back to sleep. yet, during those few seconds as i shifted from being awake to dreaming, i remember having this bizarre stream of consciousness. well, first, i've occasionally wondered about math and its existence. particularly, it seems fascinating to me that everything works out. how does our number system and all of the myriad of mathematical operations all cohesively work together. not only that, but math is defined in such a way and has an infrastructure whereby mathematicians are constantly formalizing new theorems, making new discoveries, and are furthering fields that all branched from the foundations that were laid out of thousands of years ago. how is this possible?

this yields to question the very nature of math. what does 1 + 1 really mean? does it only mean something to us due to the notation and language that we define for it; is there really no basis of the underlying meaning, and we only assign meaning to things based on the grammars that we define? is math just something we've invented? things like gravity, centripetal force, and sound are all real elements that exist, and we can very precisely define them. we can accurately study chaos, probability, patterns, etc, and it seems to work out; our numbers and equations are justified. they do the job, and we slowly discover more powerful methods that allow us to understand more about our world. so, maybe the language isn't just babel; maybe there is some underlying meaning found within nature and the physical world. maybe there is some truth, and we are merely discovering it as we evolve this language we call math. this platonic view would suggest that these elements of truth would exist even if humans didn't discover and realize them. moreover, they would exist even if humans didn't exist. now, that's just weird to think about. what about poorly constructed bridges that may collapse under the right conditions due to their structure being vulnerable to particular harmonic motion. (you know, those videos of crazy bridges that rock out of control like an ocean wave until they break?) humans may have never built bridges, but these properties of force would still exist anyways, eh?

well, as i was falling asleep and started to dream, i had this epiphany that religious beliefs often parallel this; however, instead of having one convention--one system--of math notation to represent the underlying meaning, we have thousands. we have thousands of religions and sets of beliefs, where each one is its own system. each of these systems is in attempt to model the underlying truth, and asserts that it is the oracle--that its representation is right. and yet, we have other people who do not follow a particular religion. these people may question the same particulars of math--do religions concern the actual truth of some unknown force, and that our believing in a religion is our way of discovery. or rather, these people would assert that religions are merely invented, and are humans' way of defining a truth.

well, a difference in this analogy is that most religious beliefs stem from actual historical accounts. there is recorded evidence of many religious figures that are subject of prayer and worship. so, this should encourage one to believe that at least one of these religions is based on true events and that it's the oracle. yet, say one accepts that, say for example, Jesus Christ, Prince Siddhartha, Prophet Muhammad, Guru Nanak, and Prophet Zoroaster all existed and were actual mortals. even with this acceptance, the battle still begins because one must determine which system to believe in--which one is the truth and actually has significance to our existence.

just remember that this questioning all happened in a dream. (i later went on to have a nerdy dream about a graph theory talk at a math conference, and that i told the lady presenter that calculating what she called the "chocolate value" at each vertex with respect to every other vertex would be in worst case O(n^2)). anyway, i don't feel too comfortable (or feel that it's kosher) publicly talking about my actual, specific religious beliefs yet. moreover, having these subconscious questions represents my yearning to find out my "actual, specific beliefs." i'm on a quest, and i'll get back to you guys later :)

in other news, i recently applied for my first passport, to see sheley! i was warned by the department of state that it takes approximately 4-6 weeks to receive a passport. i listed that i plan to visit india in just 4 weeks after the date when i applied. apparently this motivated them :) i got my passport in 8 days! i'm not going to india now, so the joke is on them.

so, what are your views on the math stuff, and if you could visit any country, which would it be and why?

Thursday, May 1, 2008

halftime show

it looks like my career at ucla will last for a total of 5 quarters--10 weeks each. well, today is wednesday of the 5th week of my 3rd quarter here. that's exactly half-way over. i just realized that today. i find this really hard to believe, and i find it incredibly easy to opt out of doing events, meeting people, or getting involved on-campus due to the thought that i'll be gone from here in only 25 weeks from. i'm trying not to do this, though.


during the last week, i attended ucla's/LA times' annual festival of books. it has 140,000 attendees, 6 stages of entertainment, enough food to feed a small country, and tons of book signings. i got the autograph and picture of kareem abdul-jabbar and winnie cooper. today, i attended an on-campus event, too--bj novak (ryan from the office) spoke and had Q&A. afterwards, he had 1-1 time, allowing select students to individually come up and speak w/ and photograph him. i left, did some math proof(s), then went back upstairs, hoping that he'll be done with everyone and maybe i could see him. somehow, my timing could not have been more perfect. i was very lucky: i walked up into the empty 4,000-person-capacity room and saw him and the ucla CAB-rep walking toward me. i casually went up to him and said, 'hey bj, ah, i hoped you might still be here.' i then asked for his autograph and said that i really enjoy the show and that he does good work. we gave head nods, i walked off, and then joined the remaining circle of 5 other ucla CAB students and his manager. sweet.

anyway, yea, it's sobering to think that my time here in LA is half-way over. i don't think i've done nearly as many arsty or culturally-based events as i planned to do. i've seen more celebrities than i imagined (flava flav, pharrell, kevin smith, steve balmer, creators of google, etc), but that was never my interest or goal.

i guess my time in california can be divided into 4 distinct periods:
(1) summer at google: much fun w/ interns; basic touristy exploration
(2) 1st quarter at UCLA: pretty disciplined, yet hung out w/ brian tons of times. we had a blast, but he's pretty much an alcoholic. jk. but seriously, he's infertile.
(3) 2nd quarter at UCLA: did almost no school work. flew out of town 4 times during the quarter, and interviewed w/ tons of places--most didn't want me
(4) 3rd quarter at UCLA: finally getting a decent balance and trying to be healthy.

Sunday, April 20, 2008

it's all about semantics

i'm in a very blissful state right now. i don't want it to end. what's even better is that i see no reason for things to really change, either. hopefully. i'm in a good state of mind, i have a lot for which to be grateful, and i just need to continue to stay true and put forth work, time, and care into everything that i am currently doing. everything's perfect:
  • i enjoy my daily routine, the classes i take, my commitment to the gym, and bringing my lil lunchbox to school each day
  • i'm a TA for 'computer architecture. i've never taught before, and i really enjoy the challenge. it's fun
  • this summer, i'll be working at MIT lincoln lab. it has 2,000 employees and an annual budget ~$600 million.
  • i am registered to play intramural softball on a UCLA comp sci team this quarter. i haven't played competitively played baseball since my high school days. i didn't really even workout during those days. i am looking forward to playing very much. i've been craving doing so for years.
  • i have an amazing, loving girlfriend, and i couldn't ask for anything more. this year, we'll spend our first Christmas together in indonesia. :)


also, for my NLP class (natural language processing; cs263a), we have 2 weeks to do a project. it's very open-ended and unguided. basically, we have to build software that can take a story as input and determine the underlying meaning of each sentence. it then has to construct conceptual dependency diagrams to represent these meanings (independent of any human language). then, it has to take questions, interpret the meanings of those questions, then output the answers in the form of english sentences. this last step is supposedly the hardest. the paragraph and questions we will be given follow:

Bob was famished. His fridge was empty so he got his car. Leones was crowded so the hostess asked him to share a table. Alice immediately introduced herself. He thought she was very attractive and they hit it off. When the waitress brought the menus she ordered the salad and he the steak. He asked her to come back to his place afterwards and she agreed. Bob was very hopeful. After the food came Bob said McCain should be president because government health care in England is bad. Alice got angry. She said he was too senile to be president. Bob felt bad. Bob's hopes were dashed.

Here are the questions your system should read, along with (reasonably likely) answers. Note that your answers need NOT be identical to those shown below.

Q1 Why didn't Bob eat at home? BOB'S FRIDGE WAS EMPTY

Q2 How did Bob get to Leones? BOB DROVE

Q3 Why did the waitress ask Bob sit with Alice? LEONES WAS VERY CROWDED

Q4 How did Bob know Alice's name? ALICE INTRODUCED HERSELF.

Q5 Why did Bob invite Alice to his place? BOB HOPED TO HAVE SEX WITH ALICE.

Q6 Why does Bob believe McCain should be president? BOB BELIEVES THAT ANY GOVERNMENT WILL RUN HEALH CARE POORLY AND THAT MCCAIN IS AGAINST THE U.S. GOVERNMENT RUNNING U.S. HEALTH CARE.

Q7 Why does Alice believe McCain should not be president? ALICE BELIEVES THAT ANY SENILE PERSON WILL RUN THE U.S. POORLY AND THAT MCCAIN IS SENILE.

Q8 What did Alice agree to do? ALICE AGREED TO GO BACK TO BOB'S PLACE.

Q9 Why did Alice become angry? ALICE DISAGREED WITH BOB ABOUT WHO SHOULD BE PRESIDENT.

Q10 What is the moral of this story? DON'T SAY ANYTHING CONTROVERSIAL WHEN YOU'RE HOPING TO HAVE SEX.

Friday, March 21, 2008

it was the winter

this quarter has been probably the most ill-directed, confusing, uncertain time periods i've ever had. additionally, it was probably the one where i lacked the most ambition and had the least amount of focus. ever since my sophomore yr of college, my drive has been slowly down-shifting and has been weakened by my growing interest in being as well-balanced as i can. i still have goals, but coursework is just a chore to me, for the most part.

there are some classes that interest me, but i'm sadly becoming a lazy, cocky student, i guess? the coursework here at ucla is the most challenging i've had, but because we are not flooded with assignments, it's easy to lose discipline. plus, the caliber of the work here is almost discouraging a bit. for example, at florida tech, say i knew enough to get a 98 on an exam. with that same knowledge, it doesn't guarantee me anything beyond a 50 here. so, it's difficult to have the motivation to really master the material to that degree. i'm not burned out; rather, it's just that i've had the full-cycle of experiences as a student. i know what it's like to fail, to succeed, to be without hope, and to be overwhelmed with work. i've witnessed it all. it's just labor now. it's just repeating history. i'm not complaining; i'm just trying to understand why i'm so careless as a student lately.

well, i think my 4 flights out of town within this 10-week quarter made it really tough for me to focus on school and treat it seriously. i didn't even know where i was going to work this summer. and, i wasn't nearly as self-disciplined with my personal life as i should have been. i needed to exercise better time management skills. it made finals week hell. it's one thing to cram a whole course into 2 days of studying at florida tech. here, it's just impossible for me. i don't want to be that horrible position again. so, i have goals for next quarter:
  • classes + studying should = ~8 hours (i did absolutely no studying at all this quarter. just hw and classes)
  • gym each day (i luckily kept this up)
  • weekends = brief review of school + an LA event each weekend
  • stay on campus more during the days (laptop should help)
  • attend a ucla campus event at least 1 per 2 weeks (there are numerous per day)
  • bring a lunch each day (i need a lunchbox. wow, kindergarten days all over again)
  • speak up in class (i did a few times during the 1st week of ucla, but thats the only time in my 18 yrs)
  • go to teacher's office hrs if needbe (i never have, usually because i'm still trying to learn the stuff first)
well, at 5am tomorrow, i'm hopping on a plane to go back home for spring break. i can't wait.

Sunday, March 2, 2008

king of deals


i know i've posted a similar post in the past, where i brag about some deals i've gotten. but man, i'm really proud of this one. i finally broke down and decided to buy a laptop.

ibm's thinkpad lenovo series has won many awards for producing good, small laptops. i basically just wanted something small, simple, and dependable. something with which i can travel. my approach to finding deals is that i spend over half the time researching what i want to buy, then the remaining time on where to buy it. i figured i would buy it from ebay, but turned out that ibm's site had a deal too good to pass:

my chosen laptop was regularly $956 (after upgrades from a $825 base model)
  1. today was the last day of a 25%-off-all-laptops sale ($956 => $717)
  2. i told the site that i was a student at Calvin College, giving me 5% off ($717 => $618.13)
  3. i found a 10% off eCoupon that was good for only today ($618.13 => $613.02)
  4. + taxes = $669
  5. + free shipping = $669
so, what would normally be $1,040 shipped, i got for $669 :) my ultimate bargaining goal is to pursue something worth~$20, convince the salesman that he owes me money, and to walk out of the store with $5 more than what i came in with. that would be sweet.

incase anyone wants the nerdy details, the specs follow:
  • intel core 2 duo processor (dual 1.6 ghz CPUs w/ 2mb cache)
  • 14.1" wxga (aka widescreen), extra bright monitor w/ embedded webcam
  • 2 gb ram (pc2-5300 ddr2 @ 667MHz)
  • 80gig hd @ 5400rpm
  • 6 cell battery (5.7 hr lifespan)
  • it's pretty small: 13"x9"x1.5"