Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby Asia and dat bacon cannon

Ruby Asia and dat bacon cannon

LT talk about Ruby Asia (rubyasia.com), http://trending.rubyasia.com, and https://github.com/JuanitoFatas/what-do-you-call-this-in-ruby at RubyConf PH 2016.

Juanito Fatas

April 09, 2016
Tweet

More Decks by Juanito Fatas

Other Decks in Programming

Transcript

  1. Ruby Asia &
    dat bacon cannon
    #RubyConfPH 2016

    View full-size slide

  2. MY FIRST TIME
    Use PHP

    View full-size slide

  3. philippines
    is a country of
    developer
    "

    View full-size slide

  4. One-talk away
    After Party

    View full-size slide

  5. Juanito Fatas from Taiwan

    View full-size slide

  6. Biweekly curated
    @winstonyw & me

    View full-size slide

  7. ENDLESS
    DISCOVERY
    Afghanistan
    Armenia
    Azerbaijan
    Bahrain
    Bangladesh
    Cambodia
    Brunei
    Bhutan
    China
    Cyprus
    Georgia
    Hong Kong
    East Timor
    India
    Indonesia
    Iran
    Israel
    Japan
    Kazakhstan
    Jordan
    Kuwait
    Kyrgyzstan
    Laos
    Lebanon
    Macau
    Malaysia
    Maldives
    Mongolia
    Myanmar
    Nepal
    North Korea
    Oman
    Pakistan
    Palestine
    Philippines
    Qatar
    Saudi Arabia
    Singapore
    South Korea
    Sri Lanka
    Syria
    Taiwan
    Tajikistan
    Thailand
    Timor-Leste
    Turkey
    Turkmenistan
    United Arab Emirates
    Uzbekistan
    Vietnam
    Yemen

    View full-size slide

  8. NEWS
    ARTICLES
    CODE
    JOBS
    CONFS
    GROUPS

    View full-size slide

  9. SUBMIT YOUR
    AWESOME WORK
    https://github.com/jollygoodcode/rubyasia
    [email protected]
    &

    View full-size slide

  10. NEWS
    ARTICLES
    CODE
    JOBS
    CONFS
    GROUPS

    View full-size slide

  11. Trending
    Ruby ASIA

    View full-size slide

  12. Find all
    developers
    in Asia

    View full-size slide

  13. GitHub API does
    not expose Users
    by region

    View full-size slide

  14. GitHub
    Search API
    can do that

    View full-size slide

  15. 2200+
    Rubyists
    in '

    View full-size slide

  16. Limit of GitHub
    Search API
    1000
    records/request

    View full-size slide

  17. Search by
    date periods!
    5*1

    View full-size slide

  18. Fetch all their
    repos based on
    criteria

    View full-size slide

  19. Updated in recent
    week with 20+ stars

    View full-size slide

  20. Search by
    less people
    at once
    5*1

    View full-size slide

  21. Parse those data to
    generate HTML
    everyday

    View full-size slide

  22. GitHub API
    Cron
    Static HTML
    data

    View full-size slide

  23. jollygoodcode/
    data.rubyasia.com

    View full-size slide

  24. 9JCVFQ[QW
    ECNNVJKUKP4WD[!

    View full-size slide

  25. DAT BACON
    CANNON

    View full-size slide

  26. 6JGTGCTGQPN[VYQJCTFVJKPIUKP
    %QORWVGT5EKGPEGECEJG
    KPXCNKFCVKQPCPFPCOKPIVJKPIU
    2JKN-CTNVQP

    View full-size slide

  27. Solve the
    2nd hard thing in
    Computer Science

    View full-size slide

  28. Maraming
    salamat

    View full-size slide