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
    A

    Abhijit Menon-Sen

    toroid.org · Personal blog · on HN since 2008

    Abhijit Menon-Sen writes about Unix, git, cryptography, and system administration in practical how-to posts.

    Visit blogHN submissions
    Open Source & LinuxProgrammingSecurity
    What HN says

    HN links his git website and central repository howtos, which commenters have used for years and found hard to locate through search.

    Stats for nerds
    25HN people shared it
    14linked in comments
    829story points
    Mar 2020last shared
    2009people per year2020

    Top posts on HN

    1. 1
      How are Unix pipes implemented?
      3 people · 439 points · first shared 2020 · 49 comments on HN
    2. 2
      Using git to manage a website
      10 people · 177 points · first shared 2008 · 51 comments on HN
    3. 3
      What is fsck up to now?
      1 person · 76 points · first shared 2020 · 40 comments on HN
    4. 4
      Exactly how much physical memory is installed?
      1 person · 73 points · first shared 2020 · 42 comments on HN
    5. 5
      Using Git with a central repository
      2 people · 49 points · first shared 2010 · 10 comments on HN
    6. 6
      Moving to Modern Neovim [from Vim]
      1 person · 7 points · first shared 2021 · Discussion on HN
    7. 7
      Understanding sudoers(5) syntax: a simple explanation (no EBNF)
      2 people · 5 points · first shared 2015 · 1 comments on HN
    8. 8
      Strange cryptographic decisions in Ansible vault
      2 people · 2 points · first shared 2015 · Discussion on HN
    9. 9
      How do authors tell genuine translation offers from personalised SEO linkbait?
      1 person · 1 points · first shared 2013 · Discussion on HN
    10. 10
      Dot india crypto nonsense
      2 people · first shared 2011

    What HN people wrote when they linked it

    • sigilJul 2013

      > Is the cookie's value mapped to some in-memory entry in the application server, is it stored in a database, etc?

      Neither. At login the server signs the new session cookie with a secret application key. Later, when a client requests a page and sends over the session cookie, the server verifies the signature. If it matches, the data in the session cookie -- which usually includes the username, whether they're logged in, and for how long -- can be trusted.

      This is nice because it makes scaling a stateful site easier. Server-side session stores often become the bottleneck. Also, from a REST standpoint, updating a session database during a GET request (eg to freshen the session) is problematic.

      ASP.net was the first time I remember seeing the signed session cookie trick, but most web frameworks have it now:

      django -- https://docs.djangoproject.com/en/dev/topics/http/sessions/#using-cookie-based-sessions

      rails -- http://guides.rubyonrails.org/security.html#session-storage

      flask -- http://flask.pocoo.org/docs/api/#sessions

      node -- https://github.com/mozilla/node-client-sessions

      mojolicious -- http://toroid.org/ams/etc/mojolicious-session-cookies

    • migrantgeekMay 2011

      I limit my subs to mostly tech and feeds that post infrequently but well.

      I go back and forth between enabling Hacker News and disabling it. It's too busy and distracting sometimes when I need to get things done and I don't want to get lost it some lengthy article somewhere.

      Here are my current feeds sans HN

      http://abstrusegoose.com

      http://xkcd.com/

      http://cmurphycode.posterous.com

      http://acmel.wordpress.com

      http://bsdpunk.blogspot.com/

      http://saintaardvarkthecarpeted.com/blog/

      http://www.cpeterson.org

      http://www.codinghorror.com/blog/

      http://blogs.iss.net

      http://ignorethecode.net

      http://blog.lastinfirstout.net/

      http://linuxsysadminblog.com

      http://www.mysqlperformanceblog.com

      http://planetsysadmin.com/

      http://teddziuba.com/

      http://toroid.org/ams/etc

    • teromJul 2019

      > Encrypting Files
      > This really is a problem. If you’re/not/ [...] then there’s no one good tool that does this now. Filippo Valsorda is working on “age” for these use cases, and I’m super optimistic about it, but it’s not there yet.

      I've been (ab)using ansible-vault for this. It's apparently[1] now using reasonable primitives (PBKDF2+AES-CTR+HMAC-SHA256), but not necessarily the latest and bestest ones: https://github.com/ansible/ansible/blob/v2.8.1/lib/ansible/parsing/vault/__init__.py#L1108

      The implemention is sub-optimal though, with some silly issues that haven't been fixed like https://github.com/ansible/ansible/issues/12121

      [1] http://toroid.org/ansible-vault-strange-crypto

    • amenonsenMar 2020

      > Thanks for the awesome write-up.

      Glad you enjoyed it. :-)

      > I have considered doing something totally ridiculous like setting up a Raspberry Pi with a camera and machine vision software to watch the LED displays on these devices to glean status information. Silly, but...

      Ha! I actually have a PoE camera pointed at the display of my UPS. Here's what it looks like right now: https://toroid.org/misc/ups-display.jpg

      Notice that horizontal blank row of dead pixels halfway down the right side of the display? The one that makes "54.6" look like "51.6"? That gap defeated my naïve five-minute attempt to use image recognition to extract the battery voltage.

    • ArntNov 2016

      I think the general idea is that if you make your yield points explicit, you see them yourself, and if you generally try for 100% unit test coverage, you end up nudging yourself towards fewer yield points, a simpler state machine, and better karma overall.

      The complexity you see affects yourself more than the complexity you don't.

      I rather agree.

      FWIW my friend Abhijit Menon-Sen wrote a blog post on the matter last year, about some code with excellent test coverage and explicit yield points: http://toroid.org/callback-heaven

    • raghavaMar 2011

      Am not really surprised that this happens in India. On the contrary, I was expecting this to happen quite sometime before. Never underestimate the stupidity of Indian bureaucracy (inherited and modeled from the Soviets, rivals even Vogonic bureaucracy), particularly when it comes to technical matters involving software and computers.

      On another note, http://toroid.org/ams/etc/dot-india-crypto-nonsense ; on how competent the policymakers are.

    Related

    Daniel Miesslerdanielmiessler.com241 people

    It’s Time to Get Back to RSS

    Daniel Miessler
    Personal · last shared 2026
    Atlassian Blogblogs.atlassian.com154 people

    Git? tig

    Atlassian Blog
    Company · last shared 2023
    anarcatanarc.at41 people

    GnuTLS audit: passive cleartext recovery attack

    anarcat
    Personal · last shared 2026
    Atlassian Developer Blogdeveloper.atlassian.com115 people

    A better pull request

    Atlassian Developer Blog
    Company · last shared 2026
    Microsoft Cloud Blogscloudblogs.microsoft.com133 people

    exFAT in the Linux kernel

    Microsoft Cloud Blogs
    Company · last shared 2024
    Kernel.org Peoplepeople.kernel.org71 people

    How many kinds of USB-C to USB-C cables are there?

    Kernel.org People
    Publication · last shared 2026
    Technicallytechnically.substack.com19 people

    I built a (basic) Substack clone in a month

    Technically
    Publication · last shared 2023
    Herb Suttergotw.ca84 people

    Ritchie, Stroustrup, and Gosling interview

    Herb Sutter
    Personal · last shared 2026