Three Identities.

The Accomplished.
Mind clear, sight focused
Impec’ble priorities
Path defined as well.

The Determined.
Fearless and Headstrong
She faces her enemies.
It’s not a facade.

The Individual.
Vibrant Doc Martins
Judge me, love me, or hate me
They’re donned without fear.

 

It’s possible. Just keep trying, you’ll get it soon.

Just Try.

Categories: Uncategorized |

Something’s Not Right..

He groans. His face shows pain, suffering, and fatigue, in one ashen-yellow tone. My mom and I look at each other, unable to decide what to do. If Pessimist and Stubborn ever had a child, it would be Steve**, the family friend for 20 years, the man slumped limp on the couch, as if life had mostly drained out of him, save for his crossed arms.

You really don’t look too good. Please, let us take you to the hospital.

“It’s too expensive,” he moans. Steve doesn’t have insurance…making him another one of 44 million without health insurance in the States.

There’s a cheap hospital somewhere in San Gabriel, I’m sure.

“No, there isn’t.” He remains defiant. Refusing to continue the subject, Steve shoots down our suggestions and pleas with a growing recalcitrant attitude. He claims he just needs a couple more days, and he’ll be alright, regardless of the fact that he has not defecated in more than 5 days, and has sever pain all over his body. We have no idea what he’s suffering from, and how to help relieve his pain.

It’s pretty hard, not being able to feel the security of having medical care available to someone if and when he needs it.

The thing is, though, not having health insurance actually costs more than having health insurance. When people postpone necessary care and forego preventive care such as routine check-ups, they’re actually much more susceptible to fall victim to health conditions that could have been avoided. It worries me that I, too, don’t have regular doctor check-ups. There’s a mole on the left side of my waist. What if that’s actually not a mole, but a visual of a cell that’s gone overboard with its proliferation? Aghck.

I’m hoping Steve really does get better automatically. Otherwise, he needs to start thinking logically and go to a doctor before things worsen and medical fees rise higher than it would’ve been if he had gone for a check-up earlier. For now, I’ll go back and try to figure out what he’s suffering from and his symptoms without adding additional stress on his weakened spirit. Please, please, please get well.

 

Just a little food for the mind:

“For the 40 million uninsured, we have brutal rationing by price and their income. I sometimes resent politicians or smug economists who say, “We can avoid rationing through the market, through the price system.” That is so patently false, you would box the ear of a freshman in Congress for ever saying that, and here, you have grown-up politicians saying it. Markets ration. They ration by price and income. If you’re a waitress, uninsured, and your child has an ear ache and you can not afford to go to a doctor, you have been rationed out of the system. And I’m appalled that there are politicians who can not understand this.”

– Uwe Reinhardt, PhD, Professor of Political Economy, Princeton University

**Name has been changed for privacy matters.

Categories: Uncategorized | Tags: , , , , |

Favorite Fruit

My Favorite Fruit.

Jackfruit, oh Jackfruit

Delightfully Sunflower-Gold

A Taste – Mellow and Exotic

A Whiff – Unique and Pungent

A Touch – Slippery and Fun

 

Strawberry, oh Strawberry,

Vibrantly Red and Redolent

Frequent Crunches, Small Infant Seeds

A Whiff – Fresh and Aromatic

A Touch – Unsuspectingly Smooth.

 

Apple, oh Apple,

Green, Red, Shiny and Yellow

Fragrant Hints From Smooth, Radiant Skin

A Bite Crunchy yet Juicy

My Absolute Favorite, Mr. Fuji.

Categories: Uncategorized | Tags: , , |

A Few Pages Recovered from Memory Shelf.

After spending an hour huddled in my chair staring at the squirrel jumping from branch to branch outside my window, I thought maybe i should try a different method to come up with an idea for my college essays.

I took a dive into parts of my shelves and drawers where i haven’t been in over a year. Some major cleaning needs to be done here. Here’s one of them items recovered from memory shelf.

A little book with pre-teen emotional lyrics scribbled in the midst of a facial rainfall.

I’m surprised i still remember the original melody with which i wrote these lyrics. Maybe I should resume my lyrical outburst; but then again, i really don’t have the voice to accompany these creations. My voice sounds like a severely out of tune violin with too much chalk on the bow. I wish my perfect pitch didn’t apply to just musical instruments–speaking of which, this blessing really deserves more appreciation and usage. I used to think everyone had perfect pitch, but then realized it’s rather rare when people never believed me when i said i had perfect pitch. Maybe I should start by playing songs by ear since my piano books are slowly disappearing behind my piano one by one.

But first, those college essays need to be done.

Peace!

Categories: Uncategorized | Tags: , , , , , , |

Sudden yearning to deluge my thoughts.

Even if it is a short blurb on my favorite boba flavor, I decided today that I’ll write posts at least three times a week. Preferably every day–I mean… who can’t spare a couple of minutes to type a few sentences, right? It’ll probably do my immigrant Engrish some good too.

Last week, I was surfing YouTube and found some amazing bands:

San Cisco – Awkward

Princess Chelsea – Just a Cigarette

Marble Sounds – Time to Sleep & Sky High (awesome video)

Yes.. these are bands not many has heard of, but that makes them all the more special and awesome. No.. I don’t wear vintage clothing, and I’m far from being a vegetarian. I’m more of a high-top sneaker & jeans kind of person who lives to enjoy KBBQ.

—Topic Change—

A little incident tonight with a peer reconfirmed my gall towards immaturity.

I feel maturity just depends how well people can hold back or change their opinions before it comes out in the worst way possible(raw). Facts don’t change. Opinions/Analysis do. I learned to think before i talk the hard way a couple of years ago, and it wasn’t an easy process. It’s really not easy to put yourself in another person’s shoes every time you want to say something. So most of the time, words just spill out of the mouth before the mind even has time to revise it. Other times, it’s actually fun and intellectually stimulating to be able to empathize with someone–for me, at least (maybe that’s why i like theatre). Just to throw another analogy out there, speaking before thinking is like pushing code before revising/cleaning it to check if the logic’s right. If the code/words are dysfunctional, the audience won’t be particularly happy. Thus, revise them before they go live. Really, would you rather be safe or sorry?

There goes my little rant from the mind for the day. Hopefully as my posts continue, I’ll deliver more interesting and stimulating stories.

Categories: Uncategorized | Tags: , , |

Passionfied.

My affinity towards programming grows stronger with each hackathon I attend. Personally, being on a time restraint serves as a big motivation to hack and code without interruption, optimizing productivity and absorbance… and when I have a deadline, I want to perfectly finish a task from start to end—bug-free. With this trait in mind, this weekend’s Hack for Change really made me realize the flexibility and magical qualities of programming on the back-end. Our project this weekend (Blastee) is an application that helps anyone in danger alert and get help from pre-selected contacts with the touch of a big red HELP button. I offered to handle the Twilio component (SMS+Call) of our app:

  1. Once a Victim presses the big red button, a Machine will call all of Victim’s emergency contacts at the same time.
  2. When a Contact picks up, Machine will report to Contact the Victim’s location, and that he needs assistance.
  3. Machine will ask if Contact wants to help. If yes, press one.
  4. Contact then receives an SMS detailing Victim’s location.
  5. Machine connects Victim to Contact so they can talk.

Aaaaand that’s where I began my road to happiness, exuberance, and passion-building. The snippets of code here will all add up to be my whole code.

Initially, I tried to run the Twilio code via Sinatra on a localhost, but soon realized Twilio can’t access my localhost domain, so that’s why I couldn’t call. Well, the other reason was because I didn’t upgrade my trial account, so I couldn’t call no matter what I did.

Thus, I set up a heroku server for Blastee and began testing out each function. Here’s the set-up.

require 'rubygems'
require 'twilio-ruby'
require 'sinatra'
ACCOUNT_SID = 'AC2b5c36b6e2b9969be7596d7e8f2e0f7c'
AUTH_TOKEN = '6ab5b4dc96ff7bd3cfc97cdcade057b2'
CLIENT = Twilio::REST::Client.new(ACCOUNT_SID, AUTH_TOKEN)
#+13109826618 is the machine's number

Twilio’s REST API lets you call several numbers at once, so here’s step 2.

 

get '/call' do
   @account = CLIENT.account
   @contacts = ['3108455437', '3109755545', '3105555555'] #emergency contacts
   @contacts.each do |contact|
      @account.calls.create(
      :from => '+13109826618',
      :to => contact,
      :method => "GET",
      :url => "http://tblastee.herokuapp.com/call-handler?contact=#{contact}")
   end
   erb:call
end

 

Once we integrate this into our application, @contacts will import the whole emergency contact list so Twilio calls each on of them, all at the same time.

Step 3 below further uses the “contact” stored in the url to send an SMS to the Contact (twiML).

get '/call-handler' do
 params = Rack::Utils.parse_nested_query(request.query_string)
 contact = params["contact"]
 response = Twilio::TwiML::Response.new do |r|
    r.Gather :timeout => "20", :numDigits => "1", :finishOnKey => "1", 
     :action => "/direct", :method => "GET" do |g|
      g.Say "DRUNKARD needs a ride. He is at ADDRESS. If you can help, press 1.",
       :voice => "woman", :loop => "2"
    end
    puts contact
    r.Sms "I am at ADDRESS", :from =>'+13109826618', :to => contact, 
     :method => "GET"
    r.Dial do |d|
       d.Number "3109755545" #VICTIM
       d.Conference "Help", :waitMethod => "GET", :beep => "false"
    end
 end
 response.text
end

Since “contact” is stored in the url, params[“contact”] extracts the number so we can use that in sending SMS to Contact once Contact presses 1. As the SMS is sent, Twilio then calls the Victim, and connects them together. YIPEE! Help has arrived! =D

Additional feature: In each call, the machine states who the Victim is, and where the Victim is.

The concept of XML never really unclouded itself in my head, so twiML was hard to understand—I could not figure out how to use it. How will my code understand commands like “Record”, “Response”, and “Say”? WELL. Twilio intern Oscar Sanchez gave me a couple lines of example code, and BOOM! Revelation.

 

response = Twilio::TwiML::Response.new do |r|

 

That line ^ is what I had to include to finally have the commands make sense and logic.

Well, to get this code to where it is now, there was undoubtedly ugly, ugly code. Twilio’s documentation for twiML confused me a little in that it didn’t differentiate between the Dial and Conference command. With that said, here’s the difference I discovered through trial and error. Dial can connect person1 with person2, just like Conference does, but Dial hangs up on person1 then calls them back after person2 picks up, while Conference just keeps person1 on the line, regardless of whatever person2 decides to do. Oh, and switching to Conference command from Dial for this particular project took off ~20 lines of code.

This brings me to how my passion for programming grew. After I cleaned up my code and shortnened it drastically form what it was before, a feeling of pure satisfaction came over me and I felt myself lifted to a thoroughly clean and refreshed state of mind, partnered with an immense amount of relief and pride. Though perfectly implementing a simple API like Twilio’s may not seem like an achievement at all for experienced programmers, I am not afraid to still say that I am happy, and I am proud of what I accomplished. Experiences like these account for most of my passion-intensifying because I get a type of satisfaction not attainable anywhere else. I hope that as I continue with my code adventure, other women and teenagers can experiment more with programming and experience the bitter-sweet moments that helped me run forward on the path I am now.

 

Categories: Uncategorized | Tags: , , , , , , , , , |

Believe, Do, then Preach and Teach.

Let me start off this post by doing a little self-reflection. I often find myself asking myself why I am doing a certain activity, and what I get out of it. The answers I provide myself cannot be any more useful and clear-cut to help me achieve my goals. But just like debating too long on which is the right bubble on a scantron, I doubt my initial answer and trick myself into taking a different route–the wrong route.  The route that’s filled with visually and emotionally delicious candy that causes blindness and stomachaches.

Much like the majority of society, I enjoy watching dramas and tv shows. Shows that involve characters with hardships and obstacles blocking the doorway of their success. Hardships like a four-member family living in a one-bedroom apartment; hardships like a child without a home, constantly moving from shelter to shelter; hardships like a child who gets emotionally and physically abused by those close to him. These shows have made me realize that there are so many kids who would kill to be in my place—the place where opportunity is limitless. After watching a certain amount of these shows, the themes then get repetitive, and I began to watch the shows solely for entertainment. Now that I have nothing to gain from these shows anymore, what am I still hoping to get out of watching others unbelievably overcome their ten-ton hardship, while I sit on my lazy butt? Nothing. At the very least, nothing more than what I could be doing, or should be doing. One learns through experience, not by reading, or watching, or imagining. I got at least THAT much from doing theatre for five years. Right now, I seriously need to reinvent myself; otherwise this summer will be gone in the blink of an eye, with my brain completely stagnant.

To start, I need to overcome my huge obstacle of self-control. If I get into something I like, I intently stick on to it and become submerged the activity. However, stupid YouTube comes into my head after a couple hours and I think hey, let’s check out some short films. FFFFFFFFFFFFFFFFFFF.

 Three hours later, I find myself staring at the screen in despair. I’ve wasted my precious time once again. I consulted my brother about this horrible habit, but I realized the only person who can help me battle with my self-control is –-drumroll- – me. Simply thinking about doing is not enough to get anyone anywhere in life. I have to do what I tell myself to do, and make sure I give it my all to get it done. As an RPG game once told me, “Do not preach what you practice until you practice what you preach.” I can’t let myself down. I will prove my strength. Yes I can.

Categories: Uncategorized | Tags: , , , , , |

Women, Gather Up and Hack

“Excuse me, do you know where Twilio might be located? Oh, you’re from out of town. Ha, me too. Thanks anyway!”

“Excuse me, do you know where Twilio is? Oh, you don’t know what that is? Ah, nevermind then. Thanks anyway!”

“Excuse me, do you happen to know where a company called Twilio is? Up the street on 1st and Falsom? Cool, thanks!”

Sprint Sprint Sprint.. I realized in this past week my code journey has been pretty literal. Thanks to traveling from this tech company to another, the streets of San Francisco and I have gotten to know each other quite well. My mission on that Women HackNight was to figure out a solution to a problem i encountered in my code using Twilio’s API. The moment i stepped into their building, I was once again delightfully taken aback at how homey and decorated everything was. Their logo design, which consists of a gray circle encompassing 2 little grey ones and 2 little red ones, was cleverly imprinted on most of the furniture–the sofa, wooden benches and tables… Neat. I situated myself across an Iranian women who had just began programming a couple months ago, working on HTML and Javascript — the vital basics. She showed me her website too, which was using WordPress (like mine), and it looked really nice and elaborate. It made me realize I really need step up my WordPress page(s).

My simple test app i was making allows my localhost to send text messages to my phone. To do so, i used Sinatra–a really easy to use “DSL for quickly creating web applications in Ruby”. The .erb file (file.erb) is just a regular HTML:5 file with Ruby insertions, and This is what the Ruby (.rb) file looks like:

# myapp.rb
require 'sinatra'

get '/' do

erb :file
  'Hello world!'
end

Twilio coders and i began to debug my code. 15 min passes by..30min.. an hour…In the end, I realized that I had been linking my terminal with the wrong Ruby file. Biggest fail ever. My little test turned out to be bug-free, and i received a glorious text message on my phone from a Twilio-generated phone number after i corrected the file link. Who knew that such a simple mistake can gulp so much time away..Lesson learned: Small things can make a Huge impact. Always check the minute details. Goal: Make my WordPress page prettier and cooler.

Categories: Uncategorized | Tags: , , , , , , , , |

Making and Cleaning

June 26th — Normal Day

3.30pm: “Eva, I’m running on a quick schedule, but if you get here before 4pm I can take you to come meet my friend at Stripe–a startup company.” -Song(brother)

My eyes bulged. Chance to meet another tech company? SCORE. 30 minutes to change out of my sweat pants and not look like i just woke up? CRAP. Don’t know how to get to TokBox (brother’s company)? CRAP. Realize it’s not too far away? SCORE.

I grabbed a bottle of Naked Green Machine and sprinted down the stairs of the old apartment in between the dirty pee-infused alleys of downtown San Francisco and continued running down Mission Street. If I was that man who felt a gust of wind accompanying an awkward figure running pass, i’d stop to watch and observe too; I held on tightly to my backpack with one hand; the other pumping back and forth keeping momentum; and legs sprinting–short, blue, and strong.

Upon arriving at TokBox, situated in yet another alley (much cleaner that mine), I took the chance to pant like there was no tomorrow while waiting for someone to open the door. To be ll i had to do was Push, instead of Pull (Damn those push-pull doors. Gets me everytime.) The interior of TokBox was really homely(British definition) and very inviting. Complementing its appearance are TokBox employees. Beams of smiles and welcoming handshakes were exchanged–I felt so accepted. I wasn’t ruled out because i was a woman; nor because i was so young. They displayed full interest in what I hoped to achieve this summer, and even expressed full support and enthusiasm for my journey towards that goal.

Within a few minutes, I was out on my tech company exploration again, with Song guiding me along. During that journey, I discovered that Stripe is a platform company that provides JavaScript, which “lets users build their own payment forms while still avoiding PCI requirements.”After meeting Patrick and John Collison, the two Co-Founders of Stripe (who were as friendly as daisies), Song and I set forth to explore their API(Application Programming Interface that facilitates usage of a company’s service.) Stripe has APIs’ that allow anyone to put payment into their website. Furthermore, Stripe’s API is fully detailed and as organized as can be making it was EXTREMELY easy to use, even for novices. Stripe API does this: In layman terms, when a customer enters highly confidential and sensitive information like their credit card info onto a website, Stripe provides the seller a way to safely use that information without the seller becoming liable in any regards at all. Fascinating stuff really. Even PayPal founders gives Stripe their full support by being Stripe’s top investor.

Now that I know how fascinating it is to visit a tech company, I can’t wait for another opportunity like this to arise. Thank you Song, for introducing me to the world of Programming and giving me these privileges. ONWARDS, MATES!

Categories: Uncategorized | Tags: , , , , , , , |

The Inception of my Code Journey

Hi there, fellow readers! Let me start narrating my journey into the programming world from the beginning of my journey. This is Day 1, situated in Los Angeles –> San Francisco.

12.30am: “Mom, there’s apparently a python workshop/tutorial from 11am to 5pm tomorrow.. Do you think we can make it then?”

We will need 7 hours to drive to San Francisco, so we have to leave tonight. What about the graduation tomorrow for your friends and George tomorrow?” *George = significant other

“… They will understand….. Let’s get packing.”

3am: “Are you alright back there? That penguin plushie takes up practically half the space”

“Yes mom, I’m perfectly comfortable. Thanks for doing this. I really appreciate it.”

____

At around 10am, i found myself waiting in the lobby of the San Francisco Chronicle for an escort. The escort led us up to the Python session, where Thomas Levine, the genius behind Scraper Wiki. Scraper Wiki is has a ”web-based platform – or data hub – where programmers write scripts to get, clean and analyse data sets.” This was my first time touching Python, and i have to admit, its very similar to Ruby. That might have been a redundant statement because no matter how you look at it, the different computer languages (Ruby, Java, Python, Javascript) are like dialects to the generic computer language. Several helpers walked around to assist those who have questions. I was surprised how friendly and accommodating they were, especially when i had so many questions to ask i asked their CS life story through code. Without a doubt, i acquired very helpful knowledge and experiences at that tutorial. I didn’t stay for the beer+getting to know each other session though–I’m not really into drinking at this point in life.

That’s the end of Day 1 (~6pm: I went home and unpacked, showered, snored, etc.)

Day 2? You mean Day 2-3 without sleep in between? Coming up..

 

Categories: Uncategorized | Tags: , , , , , , |