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
    M

    Matteo Spinelli

    cubiq.org · Personal blog · on HN since 2009

    Matteo Spinelli is a developer who writes about mobile web techniques, HTML5 games, CSS experiments, and DIY keyboards.

    Visit blogHN submissions
    Web DevelopmentMobile & AppleHardware & Electronics
    What HN says

    HN links it for his add-to-home-screen library, the technical series on making an HTML5 game, and a DIY keyboard build guide.

    Stats for nerds
    39HN people shared it
    20linked in comments
    358story points
    Jun 2017last shared
    2010people per year2017

    Top posts on HN

    1. 1
      Open Source made me the man I am
      1 person · 205 points · first shared 2013 · 50 comments on HN
    2. 2
      Building a pure CSS 3D City
      2 people · 80 points · first shared 2011 · 15 comments on HN
    3. 3
      Don't go native UI on your mobile web app
      1 person · 18 points · first shared 2009 · 7 comments on HN
    4. 4
      Text-only dot matrix LCD animation
      1 person · 15 points · first shared 2011 · 4 comments on HN
    5. 5
      Cease and decist lameness against respected mobile web dev's open source project
      1 person · 10 points · first shared 2011 · 1 comments on HN
    6. 6
      Add to Home Screen
      6 people · 6 points · first shared 2011 · Discussion on HN
    7. 7
      IScroll 5 ready for beta test
      1 person · 5 points · first shared 2013 · Discussion on HN
    8. 8
      Hexagame, the making of an HTML5 game
      2 people · 4 points · first shared 2012 · Discussion on HN
    9. 9
      Device orientation augmented UI the CSS way
      1 person · 4 points · first shared 2012 · Discussion on HN
    10. 10
      Build your very own PC keyboard
      2 people · 2 points · first shared 2015 · Discussion on HN

    What HN people wrote when they linked it

    • stock_toasterFeb 2012

      I would be more concerned about the memory consumption (especially on mobile).

      On ios in particular I recall[1] something about jpg taking up significantly more than their file size in memory, due to decoding the image. png's don't suffer from that (an ios optimization for pngs or something), but they tend to be overall larger for big files (retina size).

      I would think webp.js would be even worse off than jpg in regard to memory usage for mobile devices. (note: this is just a guess/hunch though. I saw no data one way or the other on the linked post, nor on the libwebp site).

      [1]: Maybe a fellow HN'er knows more about this particularity with regard to ios image memory consumption.

      edit: found this: http://cubiq.org/testing-memory-usage-on-mobile-safari which appears to rebut the jpg/png memory discrepancy. Perhaps our particular app was doing something odd with the jpg images we were testing, that was causing the additional memory usage. Maybe it had to do with loading in the actual jpg decoding code itself (png perhaps already loaded?).

      edit2: this article seems to confirm it: http://mobile.tutsplus.com/tutorials/mobile-design-tutorials/mobile-design_png-or-jpg/

      subtext: test test test! :P

    • datadiverApr 2013

      true, infinite scrolling and footer do not work together, unless footer is position:fixed, which is often the case on mobile. Infinite scrolling is pretty much the norm on mobile and is increasingly popular on desktop, pinterest and twitter are examples.

      I have found only a couple of libraries that attempt some of the techniques used by LinkedIn team. One is [infinity.js](http://airbnb.github.io/infinity/) by airbnb but it is specific to pinterest-style masonry layouts, and another is [swipeview.js](http://cubiq.org/swipeview) by Matteo Spinelli, the great guy who created iscroll.js. We are using swipeview in [Urbini](http://github.com/urbien/urbini) but it is not good enough, scrolling is terribly slow. It is possible that it is some problem in interaction between jquery mobile and swipeview, so we are investigating it, but anyway swipeview is not even close to what LinkedIn guys have created. I know Sencha guys have a similar technique, [Infinite List Component](www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story) but we do not want to use Sencha as it has terrible cross-browser support compared to JQM.

    • wvenableDec 2011

      I never said anything about "lack of access to capabilities". Native applications, in the vast majority of cases, are just better in every way than the similar web versions. They're faster, cleaner, and more capable. If both are being offered, it makes no sense to choose the web version.

      My company makes an iOS-compatible web application with no plans for a native client right now. We use some JavaScript[1] to remind users to add us to their homescreen. But if we had the resources, we would build a native client -- it's a no brainer.

      [1] http://cubiq.org/add-to-home-screen

    • pbhjpbhjOct 2012

      http://cubiq.org/project-underpants-explained - browser fingerprinting demo, they say flash being off reduces your anonymity.

      You can measure fonts using JS to avoid having to have flash to do font based fingerprinting, eg http://www.lalit.org/lab/javascript-css-font-detect/. There's also the option to attempt to set the font and then get the style of the element and see if it's using the new font (works only on FF and Opera IIRC), eg http://www.quirksmode.org/dom/getstyles.html).

    • 9999Jan 2015

      I really wanted to try out the frogpad back when it was first released, but never bought one. If you handled the chording in software I imagine it wouldn't require wiring very different from what people use to make regular DIY keyboards: http://cubiq.org/build-your-very-own-pc-keyboard Given the heavy use of chording in a one handed keyboard, I'm guessing Topre keys might be a better choice than any Cherry MX variety.

    • mclinApr 2010

      I wrote my first app with phonegap. I loved it at first but moved to Titanium because PhoneGap (UIWebView) is really slow. Now doing native. Can someone point out a phonegap app that isn't trivial/doesn't suck?

      Also, it's a lot of work to do even simple things like, say, have your search field stay at the top when you scroll.
      http://cubiq.org/scrolling-div-for-mobile-webkit-turns-3/16

    Related

    Scirra Blogscirra.com46 people

    Bitcoin's UK future looks bleak

    Scirra Blog
    Company · last shared 2021
    Marco Armentmarco.org644 people

    Shame on Y Combinator

    Marco Arment
    Personal · last shared 2026
    Luca Palmierilpalmieri.com29 people

    On the shoulders of the giants

    Luca Palmieri
    Personal · last shared 2026
    Nolan Lawsonnolanlawson.com133 people

    Safari is the new IE

    Nolan Lawson
    Personal · last shared 2026
    Facebook Engineeringcode.facebook.com552 people

    Relicensing React, Jest, Flow, and Immutable.js

    Facebook Engineering
    Company · last shared 2021
    Ignore the Codeignorethecode.net112 people

    Oberon (2009)

    Ignore the Code
    Personal · last shared 2026
    Paul Kinlanpaul.kinlan.me46 people

    Serverless Sync in Web Apps Using Bit Torrent

    Paul Kinlan
    Personal · last shared 2026
    Adrian Roselliadrianroselli.com65 people

    Accessibility: Don't Use Fake Bold or Italic in Social Media

    Adrian Roselli
    Personal · last shared 2026