Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #7196

D

David Jones

Personal blog · drj11.wordpress.comprogrammingsystems

David Jones writes code monk, a personal blog at drj11.wordpress.com about programming and systems. Since 2009, 11 different Hacker News readers have linked it 14 times. The last post was in 2016, but the archive is still widely read.

Visit the blog
14mentions?
11HN people?
2009–2021first – last linked?
Links on Hacker News per year · peak 4 in 2009

Too few sampled comments (5) to say how often HN recommends it.?

Why HN links it

HN readers link David Jones's blog for posts on "shell armour" against truncated curl-to-sh installs, a codemonk series on the J language, and a C calloc overflow discussion.

Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

hacking habits

What Hacker News says?

  1. I don't know what I'm talking about, but according to [1] (2008): > So naturally every existing calloc out there performs this overflow check and doesn’t just multiply its arguments together? Oh no. Even I was surprised. > On OS X (10.4.11) calloc(65537, 65537) returns a non-NULL pointer. This is a bug. > PHK’s code in NetBSD is typical, it just multiples the two arguments and uses the result, reckless to overflow.…

    Comment linking /2008/06/04/calloc-when-multiply-overflows/

    on “Write a Shell in C”
  2. Submitted On compiling 34 year old C code as a story · 145 points

    HN discussion
  3. That's what shell armour is for ;-) http://drj11.wordpress.com/2014/03/19/piping-into-shell-may-...

    Comment linking /2014/03/19/piping-into-shell-may-be-harmful/

    on “Show HN: Sysdig, a tool for Linux system exploration”
  4. Submitted Sizeof(char) is 1 as a story · 34 points

    HN discussion
  5. Careful though, that might have repercussions. http://drj11.wordpress.com/2012/05/17/bosch-the-constructor/

    Comment linking /2012/05/17/bosch-the-constructor/

    on “Why Are Lego Sets Expensive? ”
  6. Submitted Piping into shell may be harmful. Bring armor. as a story · 2 points

    HN discussion
  7. minikomi · 2012-09-19Recommends
    I found the codemonk series on J very entertaining as well: http://drj11.wordpress.com/category/j/ Does anyone on the board use J / K daily? What for?

    Comment linking /category/j/

    on “A look at the J language: the fine line between genius and insanity”
  8. Submitted Self-assembling Duplo - is my Washing Machine an AI? as a story · 2 points

    HN discussion
  9. Another method to protect against malformed output due to the connection being cut short - "shell armour": http://drj11.wordpress.com/2014/03/19/piping-into-shell-may-... { echo { && curl https://thing && echo } ; } | sh

    Comment linking /2014/03/19/piping-into-shell-may-be-harmful/

    on “Protect yourself from the hidden dangers of `curl – sh`”
  10. Submitted Python: Some Naughty Features as a story · 2 points

    HN discussion
  11. Submitted Dither and gamma (David Jones) as a story · 2 points

    HN discussion
  12. Submitted PNG with palettes as a story · 2 points

    HN discussion
  13. Submitted All I need to learn R as a story · 1 points

    HN discussion
  14. Submitted How to beat out OptiPNG by one byte. as a story · 1 points

    HN discussion

Search all of HN for drj11.wordpress.com