miércoles, 13 de noviembre de 2013

Fireside chat with Paul Graham at #GMIC2013


Two weeks ago, I was fortunate enough to attend the "Global Mobile Internet Conference" (#GMIC2013 ), held at the Mosconne Center in San Francisco , CA. It was full of excellent lectures about technological trends like "mobile health" , startups , mobile marketing and more. One of the talks that I liked most was the one that took place on stage A in the morning of the first day. It consisted of an interview with Paul Graham, co-founder of Y Combinator seed capital firm, by Richard Waters, editor of the Financial Times.

During the conversation, Paul Graham stressed that his cell phone has only four applications installed. A few of the apps he has in his cellphone are Pebble, Uber and Lockitron.
Later Paul brought up several concepts about the current landscape of technology sector. Since the audience was full of tech guys some of the concepts turned out to be obvious. For instance the fact that the "software is eating the world".

By the time Waters asked about the the future of the technology industry, Paul had put ​​special emphasis on the phenomenon of mobile devices. He claimed that if anyone has an idea where something traditional is replaced by a mobile device, then it is a good idea. This is because today everyone has a cell phone and if you can improve a process using a mobile device you would be adding value to the world. Regarding the future, and in especially in relation to their investments, Paul Graham stated that we are entering to a multi-device world where both applications that coordinate people and wearable devices have great potential. Finally he concluded that in mobile market the monetization model should be charged for coordinating things. Furthermore, we should not try to export old business models that are successful in other technologies to cutting edge technologies, because this almost never works.

In regards to YCombinator, Paul Graham specifically told us that they seek good ideas that may seem bad but have potential. He also put special emphasis on the founding team. The team must be passionate and have a lot of potential.
According to Paul Graham, YCombinator has financed 564 companies that are valued at 13.7 billion dollars and they take 3% of the capital.

viernes, 8 de noviembre de 2013

Deploying an airbnb rendr app in Heroku



Welcome to the second post about Rendr. In the following steps we are gonna see how to setup a Rendr app to upload it to Heroku. So less talking and more doing:

  1. In the root directory we have to create a file called Procfile. Inside this file we have to write the following line:
  2. 1:  web: node index.js  
  3. Then we modify Gruntfile.js, also in the root directory. Inside this file, at the bottom, we have to add the highlighted line:
  4. 0:    ... 
    1:   // Default task(s).  
    2:    grunt.registerTask('default', ['compile']);  
    3:    grunt.registerTask('heroku:', ['compile']);  
    4:   };  
    
  5.  Due to the fact that we can't compile assets, templates and styles in the Heroku server, we have to compile those files in our workstation (running sudo grunt ) and then add them to the Heroku commit.
  6. Upload all the files to Heroku and wait the start-up process.
  7. Listo ;)
PS: If the dyno didn't start run : heroku  ps:scale web=1

I hope you find it useful.
@sdemians

miércoles, 6 de noviembre de 2013

How to integrate a third party library with airbnb rendr library




Hi all, today we are gonna integrate a third party library (we are going to use swipe as an example) with airbnb's rendr.
  1. Download the last version of swipe.js from https://github.com/bradbirdsall/Swipe
  2. Locate the library inside /app/lib
  3. Inside the swipe.js file you have to replace the declaration line (line 8) adding "module.exports":
   Original file:
1:  /*  
2:   * Swipe 2.0  
3:   *  
4:   * Brad Birdsall  
5:   * Copyright 2013, MIT License  
6:   *  
7:  */  
8:  function Swipe(container, options) {  
9:   "use strict";  

With our small modification:
1:  /*  
2:   * Swipe 2.0  
3:   *  
4:   * Brad Birdsall  
5:   * Copyright 2013, MIT License  
6:   *  
7:  */  
8:  module.exports = function Swipe(container, options) {  
9:   "use strict";  

4. In the view file that you want to use swipe, you have to import it using the require function:

1:  ...  
2:     if (typeof window != 'undefined') {  
3:      var Swipe = require('../../lib/swipe');   
4:     };  
5:  ...  

5. Drop the swipe.css file inside assets/stylesheets/vendor folder. In addition modify assets/stylesheets/index.styl in order to import swipe.css stylesheet.

6. Listo ;)


@sdemians
thanks to: @spikebrehm and @ignavaldi