Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    R

    Rico Sta. Cruz

    ricostacruz.com · Personal blog · on HN since 2011

    Rico Sta. Cruz is a web developer who writes JavaScript libraries, cheatsheets and Backbone guides, including Flatdoc and NProgress.

    Visit blogRSSHN submissions
    Web DevelopmentProgrammingOpen Source & Linux
    What HN says

    HN links his Flatdoc documentation tool, Backbone patterns and Vim script cheatsheet; one commenter calls Flatdoc more full featured and good with code samples.

    Stats for nerds
    57HN people shared it
    31linked in comments
    1.1Kstory points
    May 2020last shared
    2011people per year2020

    Top posts on HN

    1. 1
      NProgress: slim, site-wide progress bars
      9 people · 599 points · first shared 2013 · 140 comments on HN
    2. 2
      Backbone patterns
      11 people · 281 points · first shared 2011 · 33 comments on HN
    3. 3
      JQuery Transit - CSS3 animations for jQuery
      8 people · 173 points · first shared 2011 · 26 comments on HN
    4. 4
      Flatdoc is the fastest way to create a site for your open source project.
      10 people · 37 points · first shared 2013 · 6 comments on HN
    5. 5
      JS2Coffee: The JavaScript to CoffeeScript compiler
      5 people · 10 points · first shared 2011 · 2 comments on HN
    6. 6
      Rico's Cheatsheets
      3 people · 6 points · first shared 2015 · Discussion on HN
    7. 7
      RSJS: Reasonable System for JavaScript Structure
      4 people · 4 points · first shared 2017 · Discussion on HN
    8. 8
      A better Hello World
      1 person · 4 points · first shared 2017 · 1 comments on HN
    9. 9
      Vim script cheatsheet
      2 people · 3 points · first shared 2016 · Discussion on HN
    10. 10
      Rscss: Styling CSS without losing your sanity
      2 people · 3 points · first shared 2023 · Discussion on HN

    What HN people wrote when they linked it

    • richardofyorkAug 2012

      I learned Backbone just about 3 months ago and the first project I built (still in developing) with it was a commercial eCommerce web application for a major client. This is how I learned Backbone:

      —— 1. I downloaded a copy of the following book and followed all the examples:

      http://addyosmani.github.com/backbone-fundamentals/

      Note that the following incomplete sections in the book you will very likely need (I did). The answer to each can be found on StackOverflow.

      - Sub-Views And Nesting

      - Managing Models In Nested Views

      - Views Triggering Other Views

      - Cleanly Disposing Views

      - [Communicating effectively between views (particularly subviews)]—I added this because I was not sure how to do this after reading the book, I found help on StackOverflow.

      By the way, the book is very good and Addy Osmani is a thorough writer, he does not shy away from detail, which I love. Detail is very good, it prevents you from getting stuck later and allows you to have a thorough understanding of the subject matter.

      —— 2. Follow these 3 tutorials, they are easy, but very helpful:

      http://coenraets.org/blog/2011/12/backbone-js-wine-cellar-tutorial-part-1-getting-started/

      http://coenraets.org/blog/2011/12/backbone-js-wine-cellar-tutorial-part-2-crud/

      http://coenraets.org/blog/2011/12/backbone-js-wine-cellar-tutorial-part-3-deep-linking-and-application-states/

      — And this one, which is incredibly important for improving your Backbone skills and using Backbone efficiently. These are the…

    • iheartmemcacheDec 2015

      -- A survey which will likely be of interest to the zsh and/or iTerm and/or Git users --

      I used zsh for almost 3 years exclusively before moving over to Fish. Oh-my-fish doesn't leave me lacking for any features that Oh-my-zsh has, and it's easier for me to extend as well.

      Anyways, yeah. Fish rules. The package manager that comes with oh-my-fish is nice, but you have options like 'fundle'. And being able to see what each function does/edit it out of the box with 'funced' is great.

      This is a good cheat-sheet to start with fish and omf.[2] Followed by a setup that's pretty standard for zsh converts especially if you're on OS X[3]. Bobby's theme is good out of the box and git-friendly. Read the guide to see the out-of-the-box omf plugin functionality[4]. It really is that easy. Some iTermer's like Agnoster[5], and the github page has previews for dozens of themes.

      -- Modifications that might be of interestif you're an autojump/z/j user [Skip to the citations 2-5 if you just want to try Fish out] --
      Directory navigation/auto-complete/globbing is probably the #1 'issue' I've had with shells, and I'd imagine others as well because of the numerous 'j','z','autojump', etc solutions that are out there. My problem with all of those is that it uses heuristics rather than giving you a deterministic solution as to 'ok, you will end up here'.

      After ~15 years I finally wrote my own solution extended fish with SQLite. After every cmd, it makes an atomic append to the directory history…

    • TrevorBurnhamJun 2011

      This podcast was recorded about three weeks ago. A couple of things that have happened since then that surprised me:

      1. I was asked about CoffeeScript and CouchDB. To my surprise (and delight), it's since been announced that CoffeeScript support will be integrated into CouchDB 1.2 (see https://issues.apache.org/jira/browse/COUCHDB-817).

      2. I was asked whether there's a JavaScript-to-CoffeeScript compiler. I said no, and there probably never would be... then js2coffee appeared (which is quite good, though the code it generates doesn't always have the same behavior as the original JS): http://ricostacruz.com/js2coffee/

      Also, I was asked at the end if I had any upcoming speaking engagements. At the time, I didn't. I'm now scheduled to talk about CoffeeScript at the O'Reilly Web 2.0 Expo in NYC in October, and at Øredev in Sweden in November.

      So, things are moving pretty fast in CoffeeScriptland. My book (http://pragprog.com/titles/tbcoffee/coffeescript) was PragProg's #1 seller last month. Who knows what the next three weeks will bring?

    • bluespiceJul 2012

      Depends on browser and mouse settings (smooth scrolling on/off).

      However the animation and rendering is just very slow for me on Chrome + quad, about 5-10 FPS. I won't even try on Android.

      This could have been greatly improved by using CSS3 animations, there's even a drop-in jquery library that makes this an easy fix: http://ricostacruz.com/jquery.transit/

      With that said, the effect is overused and tacky.
      Message could have been delivered more quickly and elegantly.

      I felt as if visiting that link was just a waste of time, like watching an old movie I've seen and looking for changes in subtitles.

    • TehnixSep 2016

      Not that much to be honest, there are some quirks and such as variable scopings (g:, s:, l: a:) and other things, but other than that it's pretty familiar.

      A few great resources I found after having googled a ton around was [0] and [1]. If you are very familiar with vim (I'm not really a power user tbh), then all the commands you use with : are supported in vim script. Meaning opening a split in your script is, well, just split.

      [0] http://ricostacruz.com/cheatsheets/vimscript.html

      [1] http://www.ibm.com/developerworks/library/l-vim-script-1/

    • azamuddinApr 2013

      Hey eranation, for multiple words we can use CamelCase and avoid underscore. And when we use multiple words, both 'imageModel' and 'ImageModel' are good practice, see here http://ricostacruz.com/backbone-patterns/#naming_convention

      and about adding multiple things to collection the reason for using 'add' instead of 'reset' is, 'add' will maintain the existing data, while reset will clear the existing data then replace it.

      I like the code schools's part 1 and 2 which was written by Jeremy Ashkenas, it is simple but practical, I agree.

    Related

    Christophe Coenraetscoenraets.org20 people

    Sample App with Backbone.js and Twitter Bootstrap

    Christophe Coenraets
    Personal · last shared 2016
    Tim Kadlectimkadlec.com65 people

    Is Apple stifling progress in Web standards?

    Tim Kadlec
    Personal · last shared 2023
    Chris Eppsteinchriseppstein.github.com17 people

    Why Stylesheet Abstractions Matter

    Chris Eppstein
    Personal · last shared 2013
    Sacha Chuasachachua.com95 people

    EmacsConf 2024 Notes

    Sacha Chua
    Personal · last shared 2026
    Damien Katzdamienkatz.net71 people

    The Unreasonable Effectiveness of C

    Damien Katz
    Personal · last shared 2020
    Román Cortésromancortes.com37 people

    1k Rose - How a 3D Rose was made in under 1K of javascript

    Román Cortés
    Personal · last shared 2024
    Aldo Cortesicorte.si88 people

    Visualizing binaries with space-filling curves

    Aldo Cortesi
    Personal · last shared 2026
    Marijn Haverbekemarijnhaverbeke.nl111 people

    Lezer

    Marijn Haverbeke
    Personal · last shared 2026