28 March 2014 0 Comments
The Meaning of Life over a Script of Coffee

  whatIsTheMeaningOf = (life) ->

  you = (born) ->
    meaningOfLife isnt 'important'
    yourQualities = pure and happy and fearless
  
  (you) -> 'live' and begin to: 'experience'
  
  while you.age < 'teenager' 
    your.qualities = [ 
      solipsistic,
      selfish,
      demanding
    ]
    you.life is easy 
  
  then_you = (teenager) -> 
    meaningOfLife is 'hedonistic'

    your.qualities = [
      douchebag,
      rebellious,
      experimental
    ]
  
    (you) ->
      try
        (everything) ->
          drugs
          alcohol
          sex
      catch stds
        setTimeout life
      finally
        change

  you attend university
  for subjects in university
    you pick subject

    meaningOfLife is 'success'

    while you.inside university
      goals = [
        "become wealthy", 
        "study hard", 
        "be a rockstar",
        "conquer the world"
      ]

    goals.each (goal) ->
      "You achieve #{goal}"

    meaningOfLife isnt 'complete' 
    you 'seek love' and 'a family'
    
    this throws you in 'loop' until you.realize meaningOfLife is 42

If you disagree, please enter The Argument Room.

(Source: Farhadg.com)

25 March 2014 0 Comments

Pretty proud that my team and I were given the opportunity to build Famo.us University at their headquarters.

More to come, perhaps.

19 February 2014 0 Comments
MESH: A Collaborative Code Editor —- Winner @ Firebase’s 2-Day Solo Hackathon

I am pleased to say that utilizing Firebase for my solo 2-day Hackathon was not only a great way to build Mesh quickly but that it also won me the competition :)

The prize consists of some goodies that I’m looking forward to using in the near future—Firebase, you guys rock!

Also, a big shout out to Victor (aka The King) at Hack Reactor for helping me with an elegant solution to cursor tracking and eventing across users.

Mesh is a simple and sleek interface for collaborative online code editing with many features, such as:

  • HTML, CSS, JavaScript and jQuery Support
  • Live Preview Box that is both draggable and resizable
  • Syntax highlighting for the languages supported
  • Collaboration amongst all users (synced via Firebase)
  • Dark and light theme to suit your coding preference

You can check out the live project here, Mesh Code Editor, and the GitHub here, Mesh on GitHub.

I’ll be adding more features down the road: voice and text chat, cursor sharing, multiple rooms, more languages, etc. but for now, I hope you guys like it.

I’m also considering doing a tutorial on this project, so if you’re interested, shoot me an e-mail.

(Source: FarhadG.com)

26 December 2013 0 Comments
Perfection is Dead

"I need to make sure this is perfect," I’ve thought to myself, every time working on a project. "We need to make sure the presentation is absolutely perfect," I’ve heard expressed in many group projects. "It’s not perfect!" we’ve all heard from our critics—that internal one, included. But, what the hell does it mean?

image

Read More

(Source: FarhadG.com)

9 December 2013 0 Comments
Javascript Summons

I’ve been building out this library of Javascript and CoffeeScript exercises inspired by various resources online. Perhaps you’re like me and like to tackle a problem or two before starting your day to get you into the groove.

They sort of start out from easier exercises to more difficult ones. I’m planning to add 2-4 exercises per week and I’ll be porting these over to Ruby, as well.

Javascript Summons (Github)

CoffeeScript Summons (Github)

If you have any questions or suggestions, feel free to contact me.

(Source: FarhadG.com)

4 December 2013 0 Comments
FACT: If you yelled for 8 years, 7 months and 6 days you would produce enough sound energy to heat one cup of coffee.

Sounds like another viable source for alternative energy.

(Source: FarhadG.com)

6 October 2013 0 Comments

Women always wish that men knew how to cook. RESULT: Breaking Bad.

(Source: FarhadG.com)

14 September 2013 0 Comments
FACT: Every human spent about half an hour as a single cell.

How I miss the good ol’ simple days.

13 September 2013 0 Comments
FACT: Our eyes are the same size from birth, but noses and ears never stop growing.

This is why it takes us longer to recognize and smell BS.

(Source: FarhadG.com)

9 September 2013 0 Comments
FACT: In Neptune and Uranus it literally RAINS DIAMONDS!

Where can I apply to be an astronaut?

(Source: FarhadG.com)

8 September 2013 0 Comments
Fact: In ancient Greece giving an APPLE to a woman was considered a MARRIAGE PROPOSAL!

Where have the simple days gone?

(Source: FarhadG.com)

5 January 2013 0 Comments
30 October 2012 0 Comments
Fact: The United States has never lost a war in which mules were used.

Here we are spending trillions on wars, when mules are simply the solution.

(Source: FarhadG.com)

30 October 2012 0 Comments

Philosopher’s World Cup

(Source: FarhadG.com)

18 October 2012 0 Comments
My Roommate’s a Genius

As I’m settling in Wudaokou, Beijing, and getting to know my roommates, I have come to really enjoy them and, more importantly, admire one of my them, in particular, for his uncanny creativity and imagination. He’s a 20-something Indonesian-Chinese music composer, studying here in Beijing, aspiring to become a famous Pianist.

This post won’t be about his inimitable hospitality or care for people, but about his ingenious awareness.

“Do what you can, with what you have, where you are. 

~Theodore Roosevelt

Roosevelt’s normative stance on making the best with what you have is a great way to describe his attitude. Since our residence is still under construction, it’s rather bare. However, I’m fond of its simplicity and minimalist atmosphere, since it allows for much flexibility and freedom.

Let me start off by saying that I love sitting on the floor, whether I’m working on my laptop, studying, or relaxin’ with friends. So, one day, my roommate walks in and notices my love for this sort of atmosphere and decides to improve it.

"Improve it? It’s the floor, and I’m sitting on it. What do you have in mind?" I ask.

Read More

(Source: FarhadG.com)