I've been living at coding house for exactly two weeks now and I'm still completely in love with it. Its hard. The "homework" assignments keep me up until 2:00 AM or later and I'm cramming knowledge in my brain like Joey Chesnut at a hotdog eating competition (var hotdog = knowledge, var mouth = brain, var JoeyChestnut = boss_ass_motha_fucka)
And I have moments of frustration when I can't wrap my head around a new concept right away, but the struggle only adds fuel to the wonderfully explosive joy of the AH-HA! moment.
I've had a lot of ah-ha's. I've also had a lot of slow creeping "...ohhhh I get it now"s. And perhaps most rewarding, I've had a lot of "Thanks Jillian, the way you just explained that made me get it."
There are too many places where people try to get out of working hard without even realizing that all they are doing is transferring their effort from doing something that might satisfy them to avoiding doing things and therefore not getting a pay out. No one is like that at Coding House. I love that our house is a community. We all help each other and respect each other and work hard.
I can wait to find out what I'll be capable of this time next week!
Sunday, November 8, 2015
Sunday, November 1, 2015
Coding Bootcamp week 1
I arrived at Coding House one week ago today, and I am so excited for the next four months here.
This place is amazing! The instructors talk about code like I used to talk about troll dolls when I was twelve. ie. they are passionate, super knowledgable and deliver information in a really engaging way.
My cohort is a community of the most interesting, friendly, and compassionate people I've ever met. Everyone is more than willing to help each other out and are encouraging and excited about the projects.
Its definitely an intense program though. Class runs from 9:00 Am until 8:00PM every day -- with an hour for lunch. And 4-6 hours of homework to complete before class the next day.
TAs stay and help out until at least 11:00PM, so if you get stuck they can give you a push in the right direction.
There have been a couple lessons where I got lost a bit, but the assignments are very good practice of the skills learned that day, and even though I have not completed all of the assignments in full I have learned so much about javascript, keyboard short hand and efficient coding skills. I think my productivity has increased about ten fold in one week.
That being said, I've got to dive back in to it.
Check out my git hub to see what I've built so far.
Friday, October 23, 2015
Coding Bootcamp here I come
I went to summer camp once, for a week when I was in eighth grade. And I loved it. And when I was in high school some of my friends went to summer camp for a few weeks -- every summer. And they loved it. I've always wished I spent more time at camp. The meals in the mess hall, the scary stories in the bunks, capture the flag in the forrest. I did not get enough of that as a kid.
But I get a second chance-- I leave for computer coding bootcamp in two days!
I suppose it won't be exactly like a kids' summer camp. Instead of a cabin by a lake, I'll be at a house in the suburbs and the scary stories will probably be about infinite loops and losing unsaved projects, but I'm pretty sure I'll be bunking with lots of other girls around my age and sharing meals with them... and maybe while I'm there I can write a capture the flag game to play with my camp friends. In any case, I'm sure there will be just as much bonding and just as many inside jokes and stories. And I should definitely leave with a few extra merit badges on my sash: "Wrestled with Python", "serve a friend some hot java script", "picked her site up by the boostrap".
From what I understand coding bootcamp will be a lot of hard work. But that will be fun too. I miss learning. I didn't appreciate school enough when I was a kid. Looking back, I feel like going directly from high school to college may not have been the best path for me. I have learned so much more about what I want to do with my life since graduating college and if I had it to do over, I would have pursued a different degree. I am so glad that I now have the opportunity to continue my education and strike out on a different career path.
I am excited to cultivate the skills that will enable me to develop, apps, sites and software that will connect people with each other and with the things they need. The internet gets a bad rap for alienating people from each other. And I must admit, I myself am too often guilty of having the back of a cell phone for a face, but I am grateful for sites like Meetup, OK Cupid and Craigslist that have gotten me off my phone and into the real world where I've built a lot of strong relationships with like minded folks.
There is so much potential to unite people and strengthen communities via technology, and can't wait to find my role in that process.
Sunday, June 28, 2015
Code to live by. Scavenging the internet for happy fun times
I spent the week between the time that my lease expired and the time that I began house sitting for a month, living with my boyfriend. And as a thank-you for housing me and everything I own, I put together a treasure hunt for him. But not an out-dated map-and-shovel treasure hunt, this was a 21st century digital treasure hunt. QR codes taped to the back of paintings and masks that led to websites with scrambled pictures, fill-in-the blank puzzles and math problems which led to the location of the next clue. It was the first time I've brought together all of the different facets of web development that I've been learning. Using javascript/ Jquery, HTML, CSS for an actual real world application. I had fun making the sites I used -- but more importantly, my boyfriend loved it! It was amazing to be able to translate my hard work and learning into a smile on the face of someone I care about. I think web development is a powerful tool. A way to customize things and make them relevant, meaningful and useful to people. This scavenger hunt was good proof of concept for that...

rubicks are a point of struggle for him...
So he just popped all the pieces off and put them back together so the letters and characters in the URL were lined up right.

And straight to the prize at the end of the road,

...a custom comic book. And being as thoughtful and adorable as he is, he sent me pics of his journey.
Arthurs Quest began with a QR code on the Back of a construction-paper super hero emblem...
until I led him here...

rubicks are a point of struggle for him...
So he just popped all the pieces off and put them back together so the letters and characters in the URL were lined up right.

And straight to the prize at the end of the road,

...a custom comic book. And being as thoughtful and adorable as he is, he sent me pics of his journey.
Saturday, June 27, 2015
Personal code 6.8.15 Networking
Yesterday I went to my first coding Meetup, "Coffee and Code". The event was hosted by a group called Girl Develop It. This is the part where I should say "I didn't know what to expect", but I totally had a preconceived notion of what it would be-- a bunch of noobs like me getting tutored by the one or two ladies in the area that work as web Developers...WRONG! Apparently there are a lot of women around here that do web development -- and sometimes they just like to get together with other like-minded tech savy ladies and shoot the breeze.It was really encouraging to see so many successful women working as programmers. It seems like there are a lot of good jobs out there and a lot of people to connect with...but at the same time I felt a bit intimidated. I couldn't follow everything they were talking about -- discussion touched on languages, libraries and general technologies that I haven't even heard of. I am proud of the progress I've made and new knowledge I've acquired in the last couple months, but that group reminded me that I am pretty far behind most people working in the industry. Most of these women had a decade + experience on me.
My noobness to both "networking" and coding rendered me a bit shy at the meeting, but I know there is a lot I can gain from these women, so I plan to go back and see what I can't glean from them -- and if nothing else, I'll be able to at least bring an eager ear and some admiration for their achievements to the table.
Wednesday, June 3, 2015
Personal Code May 31 2015 Silicon Valley kumail nanjiani
I normally don't watch TV, but I've been hearing a lot lately about this show called Silicon Valley. (And by hearing a lot I mean, when I was in my internet-stalking-Kumail-Nanjiani phase, I saw that he was on this show and then last month they mentioned it on NPR --TWICE). NPR is like my third parent (ie I trust what they say implicitly) and this show has Kumail em-effin Nanjiani on it... a man who chopped up "a ninja" and hid it in his damn name, so obviously I forked over half of the amazon.com gift card I won at work, momentarily cast aside my hippy-who-doesn't-own-a-tv lifestyle and downloaded season 1 of Silicon Valley.
So far I've watched one episode. It was a'ight. I think what it needed, was little more Kumail. (I've got fever. And the cure is Kumail! #DatedChristopherWalkinSNLAllusion). Even without much Kumail, I must say the show got me excited... about programming.
Oh to create something -- to be at the helm of the next big advance. What must it feel like to hit "run" on your code and have it do something that no one has ever done before. Manipulate data in a way that will suddenly make people's lives easier-- and maybe even improve their quality of life.
I have worked in customer service (in one form or another) since high school. Serving one person at a time. Repeating myself. Over. And over. All day. I love people. I genuinely care about my clients I work with. I want to help them, I empathize when the call to complain about a bad experience they've had with their project, but I've never been in a role where I could stop them from having a bad experience to begin with. I'm just in a support role. I help the people in my company that serve customers and I help relay information from those people to customers, but I don't DO anything.
Things will always go wrong. Damage control will always be necessary, but I know if I am devoting my energy towards solving problems rather than assuaging people after a problem has occured, I can make go much further towards making people's experiences better.
I can't wait to have a job where I can make things better-- more accessible, more visible, more efficient.
One day I will think and create big... but for today, I just created some background pic options for my web developer site...
So far I've watched one episode. It was a'ight. I think what it needed, was little more Kumail. (I've got fever. And the cure is Kumail! #DatedChristopherWalkinSNLAllusion). Even without much Kumail, I must say the show got me excited... about programming.
Oh to create something -- to be at the helm of the next big advance. What must it feel like to hit "run" on your code and have it do something that no one has ever done before. Manipulate data in a way that will suddenly make people's lives easier-- and maybe even improve their quality of life.
I have worked in customer service (in one form or another) since high school. Serving one person at a time. Repeating myself. Over. And over. All day. I love people. I genuinely care about my clients I work with. I want to help them, I empathize when the call to complain about a bad experience they've had with their project, but I've never been in a role where I could stop them from having a bad experience to begin with. I'm just in a support role. I help the people in my company that serve customers and I help relay information from those people to customers, but I don't DO anything.
Things will always go wrong. Damage control will always be necessary, but I know if I am devoting my energy towards solving problems rather than assuaging people after a problem has occured, I can make go much further towards making people's experiences better.
I can't wait to have a job where I can make things better-- more accessible, more visible, more efficient.
One day I will think and create big... but for today, I just created some background pic options for my web developer site...
Monday, May 25, 2015
Personal Code May 25th 2015: Toddling towards a new career.
About a month ago I got accepted into Coding House, a computer programming boot camp in the Bay Area. Since then, I have been working my way into the corners of the world (and virtual world) that web developers inhabit. And I've found, in a lot of ways, learning to be a web developer is like being a toddler again. I am suddenly, learning how to get myself around, bumping and toddling through the command line, learning to paint with my fingers all over -- using HTML and CSS to create a pretty picture of my program and I'm learning how to communicate in a new way.
Crawling with my hands
My fingers are moving in new ways these days as I explore corners of my keyboard that I rarely touched before. Holding down shift with one pinky while I bend the other towards the "<" or "}" is a bit like a game twister for my digits. And like twister, it's a struggle, but its still fun. Using keyboard short cuts (command S, command shift 7, command control j etc) and typing in the command line feel unnatural. Pushing my work to git hub and pulling work back is a bit confusing, but it's exciting. Every day I feel like I'm doing things faster. Better. And I'm able to do things I never knew were possible before.
Finger-painting
HTML and CSS seem to be the least efficient aspect of web development. I doubt even the best developer or web designer realizes their vision for a page without a little tinkering to their code. It's hard to picture exactly what something will look like when you're just typing words on a page so you do you best and then you tweak it. Adding just a bit more padding or trying a different font until all of the code that you've bent your mind working on looks just so. Nit picking is the opposite of efficiency, but at the end of the day, its the shit that sells. The end game of what I am doing when I write a program is to sell it to others-- make it accessible and appealing to people who may or may not know anything about programming. And that is about psychology-- not necessarily science.
Learning my first words
I've always loved words. Written and spoken language gives humans power beyond that of any other animals on earth. And computer languages are an evolution of language that further increase our capabilities.
There are many "languages" in programming, but programming in general is a way of hewing mathematics, logic and language together. The syntax and command words used in the various programming languages (C, Java, C++, Javascript, Ruby etc) are different, but the way every computer language is designed is based on logic-- unlike English (or any other language I'm sure). In the English language there are arbitrary conventions, redundancies and exceptions to rules that make mastery of the language an arduous task. But in computing, as long as you understand logic and learn a few basic "phrases", you can quickly and easily pick up a second or third language.
And to me, programming is beautiful. In prose and poetry, the striking lines and phrases are the ones that convey something that is both honest and poignant in the most stripped down basic language possible. Flowery language is cheesy. Bullshit. In coding there is no room for bullshit; there is only logic.
There are only a few unique commands in each programming language, but there are infinite possibilities of what you can say with them. Everything is intentional. Moving a parenthesis can completely change the meaning of a bit of code, the way breaking a line in a poem can change it's meaning. I love that. It's a challenge because you have to always be attentive to detail while you code, but when you do it right, you can speak volumes on every single line..
A picture is worth a thousand words, but a well written function can be worth ten times as much.
My code today is my first attempt at incorporating all of my burgeoning skills at once. An interactive web site that I've pushed to git hub and pulled back again.
PetSittingLikeABoss
Tuesday, May 12, 2015
Personal Code 5/12/15
Last weekend 5 of my lady friends and I went to Prescott.

To maternize and be merry...
until we just couldn't take it anymore.
And it got hanging-from-the-rafters cray up in our cabin.
largely because of the creative-sparkin-so-not-PC-silliness that is cards against humanity.
So my personal code for today is a mini tribute to that game.
Written in Ruby:
#determine the number of players
#deal 5 white cards out to eac player
# rand (0...black_cards.length) 5.times
#create an array for each player to store their "hand"
#if 2 / if 3/ if 4... deal cards num_players .times
#randomly select a black card (random number generator).
# rand (0...black_cards.length)
#delete black_cards from array as they are used
#black_cards -= black_cards[i]
#identify how many white cards are needed to play per black card
#player selects card(s) to play. -- assign multiple choice values to each card in the players hand.
#each player plays his/ her cards
#draw more cards to replinish hand.
number_of_players = 0
while number_of_players < 2 || number_of_players > 4
puts "enter a number of players between 2 and 4"
number_of_players = gets.chomp.to_i
end
black_cards = ["That awkward moment when you realize. *_* is/are actually *_*", "Cheerios taste even better with *_*", "well why didn't you just tell me you were a *_*", "if it wasn't for *_* I never would have met your mother"]
white_cards = ["rabbit pellets", "A strong propensity for shitting myself", "Quantum physics", "A collection of Famous womens' used tampons.", "dry humping", "doing the hustle", "screaming obsenities every time I hear the song Where Its At by Beck"]
Thursday, April 30, 2015
Personal Code for 4/30/15
Sometimes the most satisfying feeling in the world can be that moment when you realize you’ve been going about something all wrong… and then you start over.
I split my weekend between fighting a fever (ie sleeping and drinking lots of water) and trying to teach my computer how to speak Jillian.
It didn’t work.
I was still quite feverish on Sunday night and no matter how many times enunciated to my laptop (in perfectly formed JavaScript) “take whatever text I gave you and reverse the order of the letters in each word while leaving all spaces and symbols in place.” It just kept doing the wrong thing.
.jpg&container=blogger&gadget=a&rewriteMime=image%2F*)
I blame the fever. I know it must’ve been frying my brain ‘cause when I was trying to think of the right adjective to smack talk with my friend at dinner on Saturday night, all I could come up with was “don’t look so… uhm.. .you know that thing where you haven’t seen something before and you’re eyes get wide and stuff? Well, don’t look so that word when I say how impressive I am.”
I wasn’t impressive last weekend though, so maybe that’s why Arthur looked startled maybe he was surprised that I wasn’t up to my usual standards of awesome.
I was patient though. All weekend long I kept plugging along at my code. My stupid code that just didn’t do what it was supposed to.
And then on Monday morning. I woke up and I had an epiphany. “I just need to start the fuck over! What I’m doing doesn’t work!” I wanted to throw my sheets off and run through the streets like Galleo and shout. “I have no fucking clue what I’m doing! I’m starting from scratch! I’m starting from scratch!”
But instead I outlined what I wanted to do. I broke the problem into bite sized pieces and as I found free moments at work and as the night rolled on. I worked away at it… until I finally had a 65 line bohemuth of code that very nearly did what I wanted… so I sent it off to the coding school that had asked me to showcase my brilliance.

And they basically said. “Woooow. This is way too long. You are not asking yourself the right questions.” And I already knew the importance of asking the write questions… the teacher gave me a few tips (which basically equated to step by step instructions on how to actually write the code (and which required that I google for help far more than I’d thought I was allowed.) … and then… a half hour later… Eureka! I had it. I finally got with this program…
var text = prompt("enter some text"); var word = []; var output = "";
for(i=0; i<text.length; i++)
{if (text[i].match(/[a-z]/))
{word.push(text[i]);}
else
{word.reverse();
output += word.join("");
output += text[i];
word = [];} }
console.log (output);
Thursday, April 23, 2015
Personal Code for 4/23/15
I am going to have a technical interview either tomorrow or Saturday for a coding school in the Bay Area. I read a few articles. Brushed up on some jargon and have no idea how its going to go. I am hoping it goes something like this:
Interviewer: "Can you please tell me how you would write a code to recreate the song 99 bottles of beer on the wall"
Me: Why yes. Yes I can.
Interviewer: "Have you ever gotten really close to getting an amazing tic tac toe game with multiple options for computer opponents that have the funniest dialogue as you play the game, but then something happened where it didn't run?"
Me: "why yes. Yes I have. And I know I will get it to run. This weekend. I am going to debug it this very weekend."
Interviewer: (clears his throat, clearly impressed by my stick-to-itiveness.) "Wow, I'm impressed with your stick-to-itiveness."
Me:"This is a phone interview, so you can't tell, but I'm blushing right now."
Interviewer: "Whelp, I think I've heard all I need to. I will get back to you tomorrow and let you know what code we want you to build for the next phase of the interview process."
Me: "Awesome! Thank you so much."
END CALL
Anyway, at lunch I had my friend Maddy be my interviewer and she asked me to tell her how I'd make a tetris game...
So here is how I'd make a tetris game
shape = [1,2,3,4,5,6]
Class Shapes (shape)
class Square
end
class Line
end
class L
end
class T
end
class backwardsL
end
class GiantBlobOfAllShapes
method to make each pixel of the shape move as the player moves it or default to falling straight down
method random number generator to select next shape to drop ( assign each shape a numeric value eg shape = 1, shape =2 etc)
method timer for the speed
method increase speed after given a mount of time or given amount of lines
method disappear lines
end
Sigh. I miss Tetris. It was hard to play for just long enough to get that screenshot and then quit... but alas, I have an interview to nail tomorrow.
Tuesday, April 21, 2015
My Personal Code for 4/21/15
I have an interview tomorrow with a coding bootcamp in Woodside. I wanted to run through some practice interview questions, so using the questions I was asked during my first code bootcamp interview (with another school), I wrote a program to feed me questions that I could respond to and then I tried to think of a few points that I want to try to work into the interview that I could relate to the questions… here is the program that I wrote (in javascript).
var questions = [a, b, c, d, e]
var a = "Tell me about yourself and how you got where
you are."
var b = "Why do you see computer programming as the
next step."
var c = "When did you do programming before/ what did
you like about it -- what was your favorite part"
var d = "Tell me about where you want to go moving
forward after the program environment you'd like to be in etc"
var e = "What are your hobbies/ what do you do?"
var stories = [f, g, h, i, j]
var f = "Teaching -> G Gnome rap"
var g = "Writing a book/ writing group "
var h = "Working at Verengo / Corporate
environment"
var i = "Writing group/ community learning"
var j = "Gardening and Cooking"
var selectQuest = function (questions)
{while
(questions.length > 0)
{
numb =
Math.floor((Math.random() * questions.length) + 0);
var givenQuest
=questions[numb];
var reply = prompt
(givenQuest);
console.log
(givenQuest);
console.log
("you said " + reply);
console.log
("points you should have touched")
switch(givenQuest)
{
case a:
console.log (f);
console.log (h);
break;
case b:
console.log (h);
break;
case c:
console.log (i);
break;
case d:
console.log (i);
console.log (f);
break;
case e:
console.log (i);
console.log (j);
break;
default:
console.log ("talk about unicorns");
};
questions.splice(numb,1);
console.log("
")
}
}
selectQuest (questions)
*****
This was my output for my first (successful) run…
*****
This was my output for my first (successful) run…
When did you do programming before/ what did you like about
it -- what was your favorite part
you said:
I did programming for
the first time when I was in college. I was required to take intro to c++, so I
did, and I liked it, but I was hell bent on getting a degree in Environmental
studies so I could be a park ranger or something, so I didn't think much about
pursuing computer science until I started to meet people who are programmers
and they thought I would enjoy it and might be good at it so about a year ago I
started doing some exercises on code academy and I've kind of dabbled here and
there ever since. Fav part is efficiency of language… when you hit on that
perfect something…
points you should
have touched
Writing group/
community learning
Tell me about where you want to go moving forward after the
program environment you'd like to be in etc
you said
I want to work in an environment where I will be challenged
and will be able to reach out to my peers to get and offer support and advice
and where I can feel like I am contributing. I want there to be more of
something at the end of the day than there was at the beginning and I want to
have peers who I can turn to and be like "dude, I just accomplished this
thing" and we can geek out about it.
points you should have touched
Writing group/
community learning Teaching -> G Gnome rap
What are your hobbies/ what do you do?
you said
I enjoy everything to
do with vegetables. I like to grow them, cook them, eat them, compost them. I
also like to write. I go to a couple local writing groups through meet up and I
like to do outdoorsy/ athletic things when I can.
points you should have touched
Writing group/ community learning Gardening and Cooking
Why do you see computer programming as the next step.
you said
technology brings people together in unique ways. It can be
used to find common threads between people to bring them together or to make a
learning experience more personalized and relatable. I just really appreciate
the way technology can enhance experiences and interactions off the screen and
I want to be a part of that. points you
should have touched
Working at Verengo / Corporate environment
Tell me about yourself and how you got where you are.
you said
A couple years back I was working at a moving company in the
Bay area and I just didn't feel like I was doing enough with my life, so I
decided I wanted to be a teacher. My brother is a teacher in AZ and he told me
if I could pass a science test I would have no problem getting a job in AZ as a
teacher -- despite the fact that I do not have any background in education, so
I studied for a few months, took a couple online classes, got some shots and
finger prints and BAM got offered a job at every school I applied to. However,
I didn't have any idea what it was like to work with a class room full of
students until I was actually there in that environment and as it turns out, it
is very isolating to be the only adult and I prefer to work with adults rather
than kids, so I bowed out of that, took some time off and wrote a book then
decided to get a job for a solar company which is where I am now. And there are
a lot of things I enjoy about myjob, but I still don't feel like I am being
challenged enough and creating enough. I want a job where there is more at the
end of the day than there was at the beginning
points you should have touched
Teaching -> G Gnome rap Working at Verengo / Corporate
environment
My Personal Code for 4/20/15
At work on Friday, the first phone call I received was from a gentleman in California who is in the very early stages of his solar project (We haven't even designed his solar system yet), who wanted to know if my company had put balloons in his front yard. I was baffled as to why he would think this, but apparently his sales rep had told him that we might have a bbq in his front yard on the day of install. That sounded like something our marketing director had mentioned a while back, so I brought it up to my manager, who laughed. "No. As far as I know we aren't putting balloons in anyone's front yard."
"Well, I thought it was over the top, but I have no idea who put these balloons in my yard." The man grumbled.
Despite the man's disgruntled response to the balloons, my mind wizzed off into fantasy land. That would be so fun and exciting to wake up and find balloons in your yard and have no idea who they came from. A happy mystery to find out who was so sweet.
So obviously I went to the supermarket that evening to buy helium balloons with sweet sentiments plastered over their plump mylar surface: "You're #1", "You're the Best", "Just because You're you!" My friend and I decided we would deliver them to houses in our area where the front yard looked like it was in disrepair-- people who looked like they had a lot on their plate and could use something to cheer them up. Also, I decided to leave one in my friend Arthur's yard -- because when it comes to good people, he really is the best.
The operation was a wild success... at least as far as I know. We ended up deciding to deliver balloons to three people we know as well as three people we do not-- and sort of gauge the reaction of people we know to see wether it was a success or not... well 2/3 of the people we know reported on their FB that they were tickled and baffled.
Soo as part of my write a code about something I did today project... I wrote the following code for a really boring choose your adventure style game (in Ruby)...
def buy(balloons) #how much will you pay to purchase balloons
@balloons = balloons
cost = @balloons*3
puts "you spent $ #{cost} on #{@balloons} balloons. Lets give them out."
end
def distrib (balloons) # where will you leave them
@balloons = balloons
while @balloons > 0
puts "You come to a house. Is this Arthur's house? y or n?"
@arthur = gets.chomp.downcase
unless @arthur == 'y' or @arthur == 'n'
puts "You come to a house. Is this Arthur's house? y or n?"
@arthur = gets.chomp.downcase
end #unless valid answer
puts "Is there a lawn here? y or n?"
@lawn = gets.chomp.downcase
unless @lawn == 'y' or @lawn == 'n'
puts "Is there a lawn at this house? y or n?"
@lawn = gets.chomp.downcase
end # unless lawn
if @lawn == "n" or @arthur == "y"
puts "lets leave a balloon here."
@balloons -= 1
else
puts "well, they probably don't need a balloon then."
end #if lawn
puts "you have #{@balloons} left. Let's give out some more."
end #while balloonss >0
end # distrib
buy(6)
distrib(6)
"Well, I thought it was over the top, but I have no idea who put these balloons in my yard." The man grumbled.
Despite the man's disgruntled response to the balloons, my mind wizzed off into fantasy land. That would be so fun and exciting to wake up and find balloons in your yard and have no idea who they came from. A happy mystery to find out who was so sweet.
So obviously I went to the supermarket that evening to buy helium balloons with sweet sentiments plastered over their plump mylar surface: "You're #1", "You're the Best", "Just because You're you!" My friend and I decided we would deliver them to houses in our area where the front yard looked like it was in disrepair-- people who looked like they had a lot on their plate and could use something to cheer them up. Also, I decided to leave one in my friend Arthur's yard -- because when it comes to good people, he really is the best.
The operation was a wild success... at least as far as I know. We ended up deciding to deliver balloons to three people we know as well as three people we do not-- and sort of gauge the reaction of people we know to see wether it was a success or not... well 2/3 of the people we know reported on their FB that they were tickled and baffled.
Soo as part of my write a code about something I did today project... I wrote the following code for a really boring choose your adventure style game (in Ruby)...
def buy(balloons) #how much will you pay to purchase balloons
@balloons = balloons
cost = @balloons*3
puts "you spent $ #{cost} on #{@balloons} balloons. Lets give them out."
end
def distrib (balloons) # where will you leave them
@balloons = balloons
while @balloons > 0
puts "You come to a house. Is this Arthur's house? y or n?"
@arthur = gets.chomp.downcase
unless @arthur == 'y' or @arthur == 'n'
puts "You come to a house. Is this Arthur's house? y or n?"
@arthur = gets.chomp.downcase
end #unless valid answer
puts "Is there a lawn here? y or n?"
@lawn = gets.chomp.downcase
unless @lawn == 'y' or @lawn == 'n'
puts "Is there a lawn at this house? y or n?"
@lawn = gets.chomp.downcase
end # unless lawn
if @lawn == "n" or @arthur == "y"
puts "lets leave a balloon here."
@balloons -= 1
else
puts "well, they probably don't need a balloon then."
end #if lawn
puts "you have #{@balloons} left. Let's give out some more."
end #while balloonss >0
end # distrib
buy(6)
distrib(6)
Subscribe to:
Posts (Atom)
































.jpg)

