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
    C

    Christian Johansen

    cjohansen.no · Personal blog · on HN since 2009

    Christian Johansen is a Norwegian developer who writes about Clojure, Emacs, Go, JavaScript testing with Sinon.JS, and Rails deployment.

    Visit blogHN submissions
    ProgrammingLanguages & Compilers
    What HN says

    HN links it for Clojure and Emacs tutorials, including a deps.edn guide that a commenter calls wonderful, and older Rails and Git server guides.

    Stats for nerds
    15HN people shared it
    19linked in comments
    234story points
    Jul 2019last shared
    2009people per year2019

    Top posts on HN

    1. 1
      Clojure to die for
      1 person · 173 points · first shared 2014 · 73 comments on HN
    2. 2
      Building static sites in Clojure with Stasis
      1 person · 26 points · first shared 2014 · 3 comments on HN
    3. 3
      Processing data with Clojure and Go
      2 people · 7 points · first shared 2018 · Discussion on HN
    4. 4
      Norways biggest websites tell IE6 users to upgrade
      1 person · 6 points · first shared 2009 · 2 comments on HN
    5. 5
      An introduction to Emacs Lisp
      2 people · 4 points · first shared 2012 · Discussion on HN
    6. 6
      A Better Playlist Shuffle with Go
      1 person · 4 points · first shared 2018 · Discussion on HN
    7. 7
      Editing for Cleaner Merges
      1 person · 3 points · first shared 2020 · Discussion on HN
    8. 8
      Pure, functional JavaScript
      1 person · 3 points · first shared 2013 · 1 comments on HN
    9. 9
      Git Subtree for Multiple Directories
      1 person · 2 points · first shared 2018 · Discussion on HN
    10. 10
      Sinon.JS v0.7 Released (Standalone test spies, stubs and mocks for JavaScript)
      2 people · 1 points · first shared 2010 · Discussion on HN

    What HN people wrote when they linked it

    • augustlJul 2010

      Use JsTestDriver to write and run your tests.

      One of my pet projects is open source and tested with JsTestDriver [1], that should be a good starting point for learning more about how to test JavaScript in webapps.

      I also like to use Sinon [2] for stubbing and mocking. The author of Sinon is also putting the finishing touches on a book about TDD-ing JavaScript.

      EDIT: calendar-logic.js [4] an example of how you can extract and test logic in separate libraries. It's being used on figureoutwhen.com.

      [1] http://github.com/augustl/figureoutwhen.com
      [2] http://cjohansen.no/sinon/
      [3] http://www.amazon.com/Test-Driven-JavaScript-Development-Developers-Library/dp/0321683919
      [4] http://ditrw.com/calendar-logic-dot-js/

    • cjohansenMar 2014

      It's not really intended as an "evangelist" post. It's just describing some details that makes a big difference to me in my day-to-day work. I guess it's more of a "hey, fellow Clojure programmer, don't you agree that these details really put the icing on the cake?" kind of post.

      Maybe the other post I posted the same day would give newcomers a better impression of what using Clojure is like in practice (lots more code, more in-depth): http://cjohansen.no/building-static-sites-in-clojure-with-stasis

    • wayneMar 2009

      I found the original linked page much more descriptive than the Ajaxian summary: http://www.cjohansen.no/en/ruby/juicer_a_css_and_javascript_packaging_tool Juicer is written in Ruby. You need Java too if you want to use JsLint and YUI Compressor.

      Read the Ajaxian comments before you use. One personal rightfully noted that you shouldn't add parameters for cache-busting because it'll also bust server-side proxies/caches. The right way to do this is to rename the file, which Juicer supports.

    • fhirzallDec 2010

      You could run something like Autotest for continuous testing & quality control: http://ph7spot.com/musings/getting-started-with-autotest

      You can run Capistrano for continuous deployment: https://github.com/capistrano/capistrano.

      If you wanted to go the extra mile you could also setup different staging environments on your server:
      http://cjohansen.no/en/rails/multi_staging_environment_for_rails_using_capistrano_and_mod_rails

    • dimovichJul 2019

      What I really like about deps.edn is the ability to add git repos and also local projects as deps. Makes forking and testing libraries a charm.

      Another wonderful tutorial about using deps.edn that contains additional tips for Emacs -- https://cjohansen.no/tools-deps-figwheel-main-devcards-emacs/

    • sohoooDec 2010

      If you need a git server for your company, why not set up Gitorious?

      The initial setup can be quite challenging, but I found this guide to be quite useful: http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server

    Related

    Stuart Sierrastuartsierra.com51 people

    Clojure 2014 Year in Review

    Stuart Sierra
    Personal · last shared 2024
    Lars Ingebrigtsenlars.ingebrigtsen.no56 people

    The End of Gmane?

    Lars Ingebrigtsen
    Personal · last shared 2026
    Christian Heilmannchristianheilmann.com124 people

    Web developer tool secrets that shouldn’t be secrets

    Christian Heilmann
    Personal · last shared 2026
    Best In Classbestinclass.dk46 people

    Reddit/HN clone in Clojure

    Best In Class
    Personal · last shared 2020
    Yogthosyogthos.net45 people

    Why I'm Productive in Clojure (2013)

    Yogthos
    Personal · last shared 2026
    Valentin Waeselynckvvvvalvalval.github.io29 people

    What makes a good REPL?

    Valentin Waeselynck
    Personal · last shared 2025
    David Nolenswannodette.github.io98 people

    The Future of JavaScript MVCs

    David Nolen
    Personal · last shared 2025
    Andrew Kelleyandrewkelley.me155 people

    Statically Recompiling NES Games into Native Executables with LLVM and Go

    Andrew Kelley
    Personal · last shared 2026