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

    Roy van Rijn

    royvanrijn.com · Personal blog · on HN since 2015

    Roy van Rijn is a Java developer who writes about Java tooling, GraalVM, and side projects like a Shazam clone.

    Visit blogRSSHN submissions
    ProgrammingLanguages & Compilers
    What HN says

    HN commenters link his Shazam-in-Java post and his account of receiving a patent threat for a weekend project, with some critical of Shazam.

    Stats for nerds
    23HN people shared it
    29linked in comments
    1.1Kstory points
    Aug 2022last shared
    2015people per year2022

    Top posts on HN

    1. 1
      I became the world's most prolific DJ, using code
      1 person · 376 points · first shared 2022 · 92 comments on HN
    2. 2
      Paper sizes
      2 people · 322 points · first shared 2015 · 202 comments on HN
    3. 3
      Creating Shazam in Java (2010)
      8 people · 214 points · first shared 2015 · 36 comments on HN
    4. 4
      I received a patent infringement email for my weekend project (2010)
      7 people · 128 points · first shared 2015 · 29 comments on HN
    5. 5
      Deprecating: java.util.Optional.get()?
      1 person · 53 points · first shared 2016 · 90 comments on HN
    6. 6
      Part 1: OpenJ9 versus HotSpot
      3 people · 7 points · first shared 2018 · Discussion on HN
    7. 7
      Part 1: Java to native using GraalVM
      2 people · 4 points · first shared 2018 · Discussion on HN
    8. 8
      Java and Docker, the limitations
      1 person · 4 points · first shared 2018 · Discussion on HN
    9. 9
      Vikipedia: A YouTube bot (in Java)
      1 person · 3 points · first shared 2017 · Discussion on HN
    10. 10
      The collapse of Java EE?
      1 person · 3 points · first shared 2016 · Discussion on HN

    What HN people wrote when they linked it

    • eltetoAug 2022

      A more interesting story is behind the blog post linked in the article to someone else's implementation (which I also think contains a bit more detail than this one):

      [0] https://www.royvanrijn.com/blog/2010/06/creating-shazam-in-java/

      [1] https://www.royvanrijn.com/blog/2010/06/music-matching-part-deux/

      Turns out he was contacted and threatened by some patent lawyers from Shazam for writing the above blog posts:

      [2] https://www.royvanrijn.com/blog/2010/07/patent-infringement/

      [3] https://www.royvanrijn.com/blog/2010/07/patent-publicity/

      [4] https://www.royvanrijn.com/blog/2010/11/patent-infrigement-part-2/

      And of course, the original HN post:

      [5] https://news.ycombinator.com/item?id=1496683

      It seems he eventually just told them to go pound sound (!!). Good for him!

    • nojvekSep 2018

      I believe Shazam is very much an acquisition for its patent and algorithm sauce. The technology behind it is relatively simple based on audio fingerprinting

      http://royvanrijn.com/blog/2010/06/creating-shazam-in-java/

      It was either Google Music, Spotify or Apple Music that would have acquired it.

      I’m a 100% sure this will end up as a deep integration with Siri and the existing Apple Music app.

      Apple has always done well with its acquisitions. Buy small companies that do one small thing and do it extremely well, and fuse that with the Apple ecosystem, quality and rigor.

      Congrats to the Shazam team for going with Apple. Google would have most definitely messed it up like they did with Songza. I will never forgive them for that.

    • EridrusFeb 2016

      If you want to get tricky, you could build a mobile app that can tell what netflix show you're watching based on audio data ala Shazam.

      Maybe you could talk to these guys who have done exactly that for figuring out viewership numbers (maybe they'll want to share the tech): http://www.wired.com/2016/01/meet-symphony-the-company-that-tracks-netflixs-elusive-ratings/

      Or maybe see if you can use http://echoprint.me/ or build your own http://royvanrijn.com/blog/2010/06/creating-shazam-in-java/

      [EDIT]: Or maybe a wearable app, so that you don't have to have your phone out? It could potentially warn you about TV/movies too just by vibrating.

    • foobarrioSep 2016

      Yes. Shazam has a bunch of patents and has sued people before:

      https://en.wikipedia.org/wiki/Shazam_(service)#Patent_infringement_lawsuit

      The core algorithm is well known and fun to implement:

      https://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf

      A blog had a simple implementation of it and were contacted by Shazam's lawyers:

      http://royvanrijn.com/blog/2010/07/patent-infringement/

    • juriansluimanApr 2022

      Part 2: https://www.royvanrijn.com/blog/2010/11/patent-infrigement-part-2/ TL;DR:

      > I’m sorry, but I can’t comply.

      > Good luck.

      The follow up around 2016: https://twitter.com/royvanrijn/status/788436253532426241

      > Nothing happened, never heard from them again...

      I couldn't find the code anywhere on his Github profile, so not sure if he actually took the step to publish the code.

    • anonovaMay 2015

      See "An Industrial-Strength Audio Search Algorithm"[1], a 2010 paper written by one of the Shazam developers. The analysis itself doesn't seem complicated[2] but having a large enough database to compare against is probably the hard part.

      [1]: http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf

      [2]: http://www.royvanrijn.com/blog/2010/06/creating-shazam-in-java/

    Related

    Redcoderedcode.nl20 people

    Creating Shazam in Java

    Redcode
    Personal · last shared 2014
    Marijn Haverbekemarijnhaverbeke.nl111 people

    Lezer

    Marijn Haverbeke
    Personal · last shared 2026
    Martin Tournoijarp242.net101 people

    YAML: probably not so great after all (2017)

    Martin Tournoij
    Personal · last shared 2026
    Parallel Universe Blogblog.paralleluniverse.co45 people

    An Opinionated Guide to Modern Java Development, Part 1

    Parallel Universe Blog
    Company · last shared 2020
    Vyacheslav Egorovmrale.ph102 people

    Maybe you don't need Rust and WASM to speed up your JS

    Vyacheslav Egorov
    Personal · last shared 2026
    James Hagueprog21.dadgum.com472 people

    Things That Turbo Pascal is Smaller Than

    James Hague
    Personal · last shared 2026
    Basho Blogbasho.com121 people

    Microservices

    Basho Blog
    Company · last shared 2018
    Ryan Dahltinyclouds.org69 people

    Colorizing black and white photos with deep learning

    Ryan Dahl
    Personal · last shared 2026