‹ BackHN Continuity

Thread

Show HN: Ledge.sh – Runnable Markdown Notes

204 points · 88 comments · dancablam

  1. edude03 · · focus · HN ↗
    I feel like there has been a few takes on this (atuin desktop comes to mind[0] but apparently it's not a going concern anymore?) why hasn't it caught on?

    0: <a href="https:&#x2F;&#x2F;github.com&#x2F;atuinsh&#x2F;desktop" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;atuinsh&#x2F;desktop

    1. junehwi · · focus · HN ↗
      I&#x27;m curious about this too. Org-babel, Jupyter, Atuin Desktop, etc. have explored similar ideas, but none became a mainstream way of working.

      For people who used these tools long-term: what held them back? UX&#x2F;accessibility, or do people simply prefer keeping documents separate from the actual work?

      1. frumiousirc · · focus · HN ↗
        I&#x27;ve used org-babel in big and small contexts for more than a decade. I generally reach for the patter for a few goals:

        - Keep diagram source (eg Graphviz dot) with the document.

        - Write software developer manuals that can reference code robustly as the code changes (eg include code snippets from source based on regex).

        - Literate Coding &#x2F; Reproducible Research pattern. Eg, org file explains and generates&#x2F;builds&#x2F;runs code and graphs&#x2F;figures which then get included back into the document.

        Some of the problems

        - At some scale, one needs a DAG (eg make) or to make every command idempotent with fast no-op. Otherwise, each little change to a source block takes too long and there is a worry that something didn&#x27;t update which should.

        - At some scale, the document becomes the size of a library&#x2F;package and it does not compose and&#x2F;or I want to run the code outside of the document.

        - The unenlightened around me do not use Emacs so an org file is a &quot;me&quot; file. In some ways this is a plus as it keeps others fingers out of my pie but it also means no way to share the baking.

        That was in the days before LLMs. As ellieh&#x27;s #3 points out, things are different now (we all know that). I now have an LLM externalize org-babel. The LLM maintains an org or LaTeX document describing bits of work, an external library&#x2F;CLI which runs to produce content including putting numerical results into LaTeX macros, a Makefile or Snakemake to regenerate content and figures. When things are found to change prior understanding the LLM remakes a section of prose in the LaTeX document. I then write my own notes or another LaTeX document so that the trip through eyeballs to fingers on the keyboard assures I keep some level of understanding.

        Likewise, in the software documentation goal, it&#x27;s far better to give a good LLM access to the source and have it generate documentation targeting some learning goal with follow exploration via Q&amp;A than it is to read some prepared document that assumes my goal. Software documentation is kind of a relic useful only for those people that have not yet taken up LLM tools.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.