Journal

Here are my random thoughts. A few of my favorite topics are design, poetry, travel, and computer science. Enjoy! :)

Pipes, Forks, & Dups: Understanding Command Execution and Input/Output Data Flow

I'm currently enrolled in a systems programming class at Stanford (CS110: Principles of Computer Systems). It is the second systems class I've taken (the first was CS107 which teaches C and focuses on understanding pointers and memory management). This class focuses mainly on the inner workings of the operating system, using C and C++ to teach us concepts like process management, program execution, and handling data. While I enjoyed and quickly grasped the concepts taught in CS107, I've had a harder time understanding the material in CS110. The class itself is extremely interesting and well-taught, but my main pain point has been understanding the way processes share data and how input and output work across commands entered in the terminal. In the last few days, however, I finally found clarity when I started creating diagrams to model process behavior and the path that data takes as it travels from one command to another. I'd like to share what I've learned with you. In this post, we'll go over how Unix commands pass data to each other via pipes and input/output redirection and I'll illustrate what actually happens to the flow of data when a command is executed.

Fun with Fractals

There is an interesting intersection between math, computer science, and art that has fascinated me for years, but I didn’t realize how strong the math and computer science components are until my studies at Stanford. The topic represents some of the most beautiful and mathematically sound forms of digital art and nature itself: fractals.

Probability: Finding The Expectation and Variance of Runs

Last week, I completed a summer course at Stanford: CS109, Probability for Computer Scientists. This 8-week long class was intense and challenging but one of the most rewarding classes I've taken at Stanford so far. A few weeks ago, I had an idea for a homework problem but I couldn't quite figure out how to implement the idea. The problem is the following: Below are two sequences of 300 “coin flips” (H for heads, T for tails). One of these is a true sequence of 300 independent flips of a fair coin. The other was generated by a person typing out H’s and T’s and trying to seem random. Which sequence is the true sequence of coin flips? Make an argument that is justified with probabilities calculated on the sequences. Both sequences have 148 heads, two less than the expected number for a 0.5 probability of heads.

Sunrays

The sun rose with a vengeance this morning, stretching her fire into the blueness of the night until no trace of darkness was left. Her magnificent rise was a reminder that I had left him two cold nights ago, had taken the first flight home, running away from the sun the entire way back, trying to catch up with the hemisphere I'd left behind for too long. Life was waiting for me to return to reality. I left love behind on the top of the hill where I'd left him, surrounded by the chill of silence and an air heavy with loss and confusion.

November 2016: Bali

Note: This is the second part of my Thailand and Indonesia vacation. To read about my time in Thailand, click here. After spending a week in Thailand for Thanksgiving, my friend Enitan and I ventured to a country I’ve long...

Introduction to Game Theory: An Analysis of My iPhone Game

Enter MentalBlocker: my first game app and second iPhone app to be published on the App Store (my first is YumTum, a recipe manager). It was a game concept that I came up with two years ago, but this summer, I finally felt equipped with the right tools and knowledge to design and develop the game. The motivation behind the game is simple: to create a game that challenges a player's memory and problem-solving skills. The game has four modes, all of which have two things in common: a grid of tiles and blocks.

My Love Affair with Havana

There is a sleepy haze around Havana, one that makes you want to fall into a deep slumber filled with dreams about the Spanish colonial buildings, graffiti-lined alleys and classic old cars. Havana is definitively feminine, a woman who knows the power of her charms, beautiful albeit damaged, untouched in some places and scarred in others. She seduced me the moment I stepped out of the airport, with the sun and humid air as her accomplices. She is like a glass of her own rum: dark, smooth, going down warm and staying with you long after your first taste. Intoxication comes easily in this city, more so for me in the mental rather than physical form, as Havana takes pieces of your soul while you sleepwalk through her streets. She is at the same time tranquil and vibrant, a spectrum of colors smeared on a canvas by carefree hands and yet still nothing short of a masterpiece if you don't stare too deeply into the surface. It didn't take long to fall under her spell.

72 hours in Japan

It was one evening in February while I was at home browsing the web when I received an email that would undoubtedly give me one of the best travel–if not life–experiences I’ve ever had. It was an amazing round trip...

30 Years In The Making

I’ve been thinking a lot about the past year. Last summer, I took the first class in a series of five that will count towards a graduate certificate in Foundations in Computer Science at Stanford. Since then, I’ve taken a...

Pegs and Holes

Half of knowing what you want is knowing what you must give up before you get it. Sidney Howard I just spent the whole weekend recovering from a cold and watching Twilight. …All five movies of Twilight, actually. And I...

Look Up

Our daily lives are, for the most part, routine. We wake up (and in my case, shamefully hit the snooze button at least 4 times), get ready for the day, and head out to our destination. Usually that requires getting...
My new toy!

Guitarist in the making!

I’ve made yet another random purchase! I figure hey, since I’m in California with this easy-going lifestyle, why not live like a Californian? Soooo…I bought a guitar! I’ve always wanted to learn and I figure now is the best time...

Words With Friends madness

I’m slowly becoming addicted to more games as time passes. Poker, pool, chess, and now Words With Friends (which is really just a bootleg version of Scrabble, my favorite board game alongside chess). I’ve been playing this game on my...

4th Of July Madness!

What a weekend! Hopefully the world knows by now that I moved to California a month ago. I haven’t really gone out much and dreaded the idea of staying in the apartment for the holiday weekend, especially since Citrix gave...

Life In Cali

A lot has happened in the last year, and I must say, moving to California has definitely been one of the more interesting events. I’ve been working for Citrix since March 2010 and have loved every minute of it. My...

Jamaica, Land I Love

Okay, I’m clearly in Jamaica several times a year, but this trip was exceptional because I went with family and friends and also got to feel like a tourist for once. Me, Alana and Keri planned this trip a while...

The Photo Shoot

I've been doing a lot of random things lately, including buying an Xbox and most recently modeling for a photo shoot this past weekend. I don't know what made me actually do it, since I'd talked about doing it for years but never had the courage, but I decided to call up my friend Greg, a photographer, and make magic happen.

Here I am

I know, I know…It has been a while…But here I am. I redesigned my site and am back with a passion! I can’t wait to get back in the habit of writing! Wait till you see what I have in...

Quarter Century

Happy Birthday To Meeee! :) So yes…it has arrived…my quarter century accomplishment has been very fulfilling. I’ve learned a LOT in 25 years, but have a long way to go. I’ve held on to some childish loves and have learned...

Las Vegas Recap

So, I know the details for my vegas trip are a week overdue. But yeah, in a nutshell, it was pretty darn great! It started off rough…My first day there was spent waiting in line for TEN hours for the...

April-May 2009: Kingston, Jamaica

Title: April-May 2009: Kingston, Jamaica Location: Kingston, Jamaica Description: Another trip to my second home in Kingston, Jamaica. Start Date: 2009-04-13 End Date: 2009-05-14 Tuesday, April 14, 2009, 8:31 pm: Kingston, Jamaica: Home (Red Hills) So here I am! I...

Diary Of An Insomniac: Entry 2

I’ve been in Jamaica the past few weeks, and since my grandparents’ house is really my second home, I usually have no problem falling asleep here. Large king-sized bed; plenty of kicking room. Comfy enough pillows. Cool sheets. What else...

March 2009: Kingston, Jamaica

Title: Jamaica Trip Location: Kingston, Jamaica Description: Business and mini-vacation Start Date: 2009-03-02 End Date: 2009-03-16 This trip to JA was just like the others I’ve taken every other month or so for the past year, with a few exceptions....

The Black Heart

Dominique crept into my room last night. Came through the balcony door. Deep inside, I knew she’d be back; she’s been visiting me quite often the past few days. She came with me to New York; she ate dinner with...

Delta Week 2009

Title: Delta Week 2009 Location: Cornell University: Ithaca, New York Description: Mu Gamma Chapter of Delta Sigma Theta Sorority, Inc. sponsors its annual week of events. Start Date: 2009-02-20 End Date: 2009-02-23 Friday, February 20, 2009, 5:04 am: Plantation, FL:...

Everyday People

I feel like the whole world has something to say about my actions and decisions. But why is this? Why can’t a young lady who is trying to be beautiful while striving for success, appreciation, respect, love, truth, and whatever...

freshwater fish

On the second episode ever of The Cosby Show, Dr. Huxtable describes little Rudy’s discovery of what would become her first pet fish. At the store, in a tank with ten thousand other fish, Rudy picks out Lamont, her choice...

natural

if a newborn star can shoot its glimmering rays through the stratospheres of the earth, pierce through the smog of sins, and smash into the waters of our land, and if i can see that twinkle of light trapped so...

boxability

imagine you are placed into a black box. you aren’t aware of your environment, and your eyes are subconsciously shut; you don’t realize that your pupils are sheltered because it is too dark inside of the box for you to...

ringtones

It’s funny that the inspiration for this post is actually the result of numerous hours spent on hacking into my phone so that I could get away with not paying for ringtones. I just got a new phone on Sunday,...

two one

so i’m 21 now. and upon waking up the next morning (well, the next day because I definitely wasn’t up in the morning) after a successful night of fun at a miami club with my girlz, i realized that it...

L!PS

…I think only I could wake up one morning and manage to successfully run into my mirrored closet door without knowing fully what happened. The result of this escapade? A bloody lip that I didn’t notice until I figured out...

UPDATE!!!

…ok. so it’s been a while…only 6 months but who’s counting? i apologize for not updating this in a while, so here it goes: my life in the last 6 months. My last post was in December as you can...

Thanksgiving Recap

Many people don’t appreciate Thanksgiving. I have lots to be thankful for, but my Thanksgiving this year was extra special. For one, I got to meet my Mom’s side of the family, which NEVER happens. But even more than that,...