Leaena

Everyone’s On It

Aug
07

I just made something! For the first time ever I made a stupid little ruby program to do something that a PivotTable was giving me fits over at work. I had a spreadsheet like so:

Spreadsheet of Traits

But what I really needed was a text file that I could print and hand out to people like so:

Formatted Strengths

And I did it with the power of Ruby! I was so proud of myself. I’ve never taken a real world problem (from my work no less) and made a tiny bit of code do exactly what I want it to. It just adds to my love of coding.

require 'csv'

contents = CSV.open "strengths.csv", headers: true, header_converters: :symbol
File.open("out.txt", 'w') do |f|
  contents.each do |row|
    headers = contents.headers
      name = row[0]
    strength = {}
      i = 1
    while i < row.length
      if row[i]
        strength[(row[i].to_i)] = i
      end
      i += 1
    end
    f.write("#{name} \n")
    stren = strength.sort_by { |k, v| k }

    stren.each do |k,v|
      f.write("\t #{headers[v].to_s.capitalize} \n")
    end
    f.write("\n")
  end
end

And yes, those are my StrengthsFinder top 5 in the second picture. Everyone at work had to do them and I think mine are very accurate.

Programming , , Comments Off on Everyone’s On It

Third Guessing?

Aug
01
Programming Comments Off on Third Guessing?

Second Guessing

Aug
01

As an addition to my post below about App Academy. I’m starting to feel less confident in myself. I did well on the second coding test and I’m through the first interview now but according to the website I assumed that meant it was my only interview. Not so said the TA who put me through a coding test. So ugh. I was nervous, I got it done, but not prettily and I made some stupid mistakes. When I finished I was upset and called both my parents and my best friend. My dad was the best about the whole situation. He just wanted to make sure I wouldn’t give up if I didn’t get in to this ONE program. He was right.

I spent the rest of the evening prepping applications to the other programming schools in the Bay Area. I finished one for Coding Dojo and got an email this morning to set up an interview next week! I also applied to HackReactor which has suddenly vaulted itself to the top of my list. Not gonna lie, the free gym and really high success rate of graduates makes me happy. Both of those programs are also in November so they are my three that I’m most excited about. I also will probably apply to Dev Bootcamp and Hackbright, but they aren’t until next year and I don’t want to wait that long if I don’t have to.

Life, Programming Comments Off on Second Guessing

When I Wake Up

Jul
30
Life , Comments Off on When I Wake Up

Everything Will Be Amazing

Jul
26

Someday I’ll be a better writer of my thoughts. In the mean time, there is a lot to catch up on. My bestest, best friend got into Hackbright! She starts in September. I am so ridiculously happy for her, not in the least because I feel like I taught her most of what she knows about coding currently and I can’t wait to be able to have deep, nerdy conversations when she’s all done with the mind-meld that is programming. It’s a little bittersweet for me as I was the one who initially sent her the link. I’d been thinking about trying for it myself, but the timeline just wasn’t right this year.

Hackbright became my gateway drug, however. I found out they weren’t the only game in town. There are all shapes and sizes of programming bootcamps and after reviewing a lot of them, I’m currently in the process of applying for App Academy. Application and first coding test are a check. I’m literally taking a break from studying for the second coding test to type this up. So second round of coding and then (fingers crossed) a coding interview left to go before I wait with bated breath to find out if I get the best birthday present ever (birthday – Nov 14, start date – Nov 18!).

Besides hopefully an entire life shift I’ve been sticking to my routine of Coursera class. Startup Engineering is at its halfway point and I have a shell of a crowdfunding idea here. Oh yeah, the Code Girls and Octavia are real things, sort of. They are mostly in the brains of the three of us (aforementioned bestest, best friend and my other best friend) but I’ve said out loud to myself that I want a working project within 5 years, so obviously I have to do it now.

Other than that: quietness. I spent two weeks in California earlier this month and spent most of the time falling deeper in love with the Bay Area. I came back and bought myself a Mac (for those keeping score, I now technically own 4-5 laptops, but two have been handed down to my parents, one I received for free and it doesn’t really work anyway, the 4th is a tiny fun Linux netbook and the 5th is the new shiny MacBook Air I lovingly call “Monster”). This Mac represents my promise to myself it is my first true “dev” machine. The first things I installed on it were Ruby and Python and all the little bits that go along with that.

Wish me luck. I think I should probably be studying.

Programming , , , Comments Off on Everything Will Be Amazing

#Hashtag Redundancy

May
14

I couldn’t even finish the first Coursera course without starting another one. This time it’s Data Science. Yummy, yummy data that I get to program into submission. We are starting off with a trip through the Twitter API and I finally learned that JSON isn’t as scary as I thought it was when I didn’t know anything about it! Go me! We did a number of things with Twitter and some Python programming. The last part of the assignment was my favorite, the most popular hashtags. Some of my code (for a different section on finding tweet locations):

And my hashtag results from a 10 minute snapshot of new tweets to Twitter:

In theory I understand hashtags. In practice they bug me, especially the ones like the above “#YouWillNotBeTakenSeriouslyIf”. Ugh. Anyway, I actually went wild and crazy and Googled some of the hashtags, because most of them mean nothing to me. I even learned some Spanish! Seamos sinceros = “let’s be honest” which sounds just like another of the type of hashtags that bother me.

Programming , Comments Off on #Hashtag Redundancy

Always Running

May
13

The quietness of this weblog isn’t a reflection on my life, more like the inverse of my life now. I’ve started a more grownup sleep schedule then “wake up 20 minutes before you have to leave for work, roll out of bed and throw your hair in a ponytail”. I now go to bed at the same time every night and wake up to my alarm (no snoozing! okay, maybe one hit of the snooze button).

All this so I can wake up at 5:30 and start a version of Couch to 5k. But me being me I couldn’t do the normal old c25k, no! Instead I chose zombies (because I have loved zombies since before they were cool, yeah that’s right, I’m being that annoying person who talks about bands no one knows)!  Zombies, Run! or actually their Zombie 5k intro to be exact is my zombified program. You can find my runs (and the ridiculous pop music I find necessary to wake me up at 5:30 am on my ZombieLink profile). My goal is to finish the 5k program and then start their actual Season content. I have promised to gift myself with expensive, pretty running shoes if I get that far. On my current shortlist:

Hoka One One Stinson

Hoka One One Stinson Tarmac

Supposedly this is like “running on pillows” and is designed for the type of running I do – on concrete as I run around the concrete jungle of my city’s downtown. It’s the most expensive one on my list and my least pretty choice, but it’s still at the top because I think it would be super comfy.

Nike Air Max Tailwind

Nike Air Max Tailwind+ 5

Probably the best mix of bright and comfy. I love anything that screams NEON PINK. Only when I exercise am I a girly girl.

Nike Air Pegasus

Nike Air Pegasus+ 29

Probably my fav color combo, but it’s out of stock in my size so it’s probably not going to happen. I’m keeping it on the list just in case.

And there we go. I’ve added another obsessive hobby to my life. But at least the running is the first physically good thing I’ve become obsessed with. I think I need to find a zombie t-shirt to run in…

Life , , Comments Off on Always Running

I Are Learned

Apr
14

Whoohoo. The Interactive Python class over at Coursera just opened up. I decided to sign up for with a friend of mine who has much less programming experience than I do. Mostly for the lulz and because I’ve discovered I love teaching other people about my (limited) knowledge. I started her off just building websites then started her on JavaScript and I finally showed her the prettiness of Python and she wanted to learn it too.

Also I’m messing around with the layout of this website. So it will probably be a bit messy for the next few weeks (I say weeks because I’m down with a cold and my brain is having a hard time focusing for long periods).

Programming Comments Off on I Are Learned

The Circus Waits to Takeoff

Apr
10

About a year ago for giggles I tried the Rails for Zombies class at Code School. I mean, it’s zombies. I am a huge zombie fangirl and I was getting back into Java programming at the time but wanted to learn something more web develop-y. Anyway, I got frustrated with Ruby/Rails. There were parts of it that just bugged me. So I stopped.

Then a few weeks ago I discovered Python. It was an immediate love. I started with Learn Python the Hard Way mixed in with Codecademy‘s Python lessons. Also I’m in love with the The Hitchhiker’s Guide to Python. I’ve been reading it like a novel.

Then I wandered around looking for things to do with my newfound love. Django just seemed too big for my very newb hackings. I can’t remember where but a blog somewhere out there in my searchings mentioned Flask. So I plugged that little baby into my cobbled together Python studio (i.e. my newly reformatted Windows 7 laptop) and felt a little overwhelmed. Undeterred I searched out tutorials and decided to start with this one which just creates some static pages (I’m moving on to more dynamic things as I post this).

Pic spam!!

My first Flask generated page. Isn’t it gorgeous?

Added some pretty pretty CSS (I missed web design, it’s been awhile):

And ta-da:

And then I added navigation and a second page:

And just because I find it pretty, my recolored PowerShell:

Programming , , Comments Off on The Circus Waits to Takeoff

Who Needs Sleep?

Mar
27

I’m up late listening to the entertaining people discuss numbers and psychics on Coast to Coast. I’m also sitting on a mattress on the floor of my best friend’s apartment. There are two tiny Chihuahuas snoring at my feet and I just want to grin.

I’m on vacation from the real world for a week. I took a week off, flew down to California and I’m basking in the sun and the closeness of friends who really get me. I’ve even made a new friend in the past few weeks and of course she lives down here too. I’m tired but happy and I’m positive now that this is the place I want to live. All the time. Everyday.

I want to move to California. I want to shake things up and become a web developer and live the life I fantasize about. I kept waffling between computers and accounting, but accounting was the safe and easy way out. I knew the path. I knew it would be another two years before I had to start making tough decisions. For computers, the tough decisions start NOW. I need to get down to California, try to get into a program and then figure out what exactly it means to work in a little development company that could disappear in 5 years. It’s terrifying and yet I can’t stop smiling.

Also, I’m back with A Small Orange hosting. I just loved them too much not to go back.

Life , , Comments Off on Who Needs Sleep?