Better HN
topnewbestaskshowjobs
Log inSign up

FailMore

1,843 karma · joined Mar 5, 2013 (13y ago) · 708 submissions

I love building things. Building:

* https://smalldocs.org / https://github.com/espressoplease/smalldocs (an agent-first document format for engineers who use coding agents) (~6k installs, 230 stars) (https://news.ycombinator.com/item?id=47777633)

* https://tradernews.fyi (Hacker News for traders) (https://news.ycombinator.com/item?id=49828019)

* https://jevmail.fyi (What happens if you mix messaging with Jev)

What else:

* I work as a SWE, used to work in VC, and have also trained to be a psychotherapist.

* I want to connect with great product builders.

* I wrote a paper on a new theory for dream interpretation (https://news.ycombinator.com/item?id=19143590)

* X: @a_small_j, @smalldocs_org, @jevmail

Submissions

comment 3mo ago · link · parent

If you give me a real example of a dream I can help. It's hard to give feedback otherwise.

comment 3mo ago · link · parent

REM sleep is a very interesting beast, and I think the neurology of it provides a hypothesis for the function of dreaming.

When you are awake: Your executive function is active, your default mode network (a network of brain areas which light up together which are focused on social interaction + long term memory) is active, your amygdala (threat) is active (at a high level if you are stressed, but has some base level of activity even when not), the "fight or flight" neurotransmitter norepinephrine is also circulating at a reasonable level (again, higher if you're stressed).

During REM sleep: Your executive functions are disabled, your default mode network is extremely active, your amygdala is inactive, and norepinephrine is 85% below base waking levels.

So... even though you might be having a scary dream, your brain is actually in a supremely relaxed state. You are also in a state where you cannot control your behaviour (no executive functioning; I am excluding lucid dreams from this statement).

Why is this useful?

[I am training to be a Attachment-based psychotherapist, the following is learnt from my training + dealing with my own issues in therapy + a substantive evidence base:]

The primary driver of unnecessary adult psychological suffering comes from a miscalibrated fear response. When we are infants we are highly sensitive to the emotional connection between us and our caregivers, and will be scared when our parents become anxious. Unfortunately, our parent’s anxieties are not always rational (just like ours eventually will not be), and they are frequently triggered by what are natural expressions of emotion the infant will (and should) express. Some overly simplistic examples might be a “tough father” who is angry when their child shows weakness, or an “anxious mother” who is scared in case the natural exuberance of their child may offend someone. Infants pick up on this fear response and develop a fear about expressing the emotion which generates the fear response in their parent.

This all happens unconsciously. The infant does not decide to do this. The infant is not aware that it is doing this. The infant does not have the cognitive capacity to understand that it is doing this. Then the infant grows up, but this deep fear has not left. This adult is then stuck with the side effects. That fear of appearing weak persists; that fear of upsetting others persists. For most of us, we are not even conscious of these fears as adults, but these fears will have a powerful effect on our behaviours.

The mind is quite like a pressure based physics system. Bad mental health emerges when the system cannot release pressure, good mental health is associated with quick releases of pressure. You will have a more stressful internal world if you can’t allow yourself to be weak and cry; you will have a more tense experience of life if you’re worried that everything you do might upset someone. Both of these are blockages in the flow of natural healthy emotional expression.

Mental health gets better if you can unblock these blockages. But remember… you’re not aware you even have them. This is where dreams help. Dreams are effectively the inverse of anxious mind wandering.

Anxious mind wandering: You are awake, the brain is in a stressed state: you worry about the worst things that could happen. Objectively, these things are normally far fetched, but unfortunately it doesn’t feel like that on the inside.

Dreaming: You are asleep, the brain is in a relaxed state: the brain creates situations where it would be healthy/useful to not be so scared. And the brain turns off your executive functioning, but not your default mode network, so any behaviour with observe you take in the dream reveals the state of your emotional/long-term-memory/relational brain. When you focus on the behaviour of the dreamer, you will notice the behaviour will be miscalibrated to the situation they are dreaming about - and in the direction of revealing too much fear.

Examples from real dreams: Someone is mugged by a child robber, and hands over all their stuff without fighting back. Someone is getting a tattoo they don’t want, but lets the tattooing continue instead of saying “stop!”.

This allows the analyser of the dream (a therapist or perhaps yourself) to pinpoint the underlying fear that must be dealt with to unblock the system of emotional expression.

(This note was a bit rushed... so sorry if it is written casually.)

I wrote a paper about this. Preprint here: https://osf.io/preprints/psyarxiv/k6trz_v1

Previously discussed on hacker news here: https://news.ycombinator.com/item?id=19143590

comment 3mo ago · link · parent

Yes, it becomes exhausting to read/follow.

It feels they must be getting Claude to train Claude… and just like AI can do work that’s slightly in the wrong direction (eg a MR description for your colleague that contains info which only makes sense in the context of your extensive session with the LLM), I feel that’s happened somewhere in Anthropic when it comes to language. I wonder how hard it is to back out of…

comment 3mo ago · link · parent

I would prefer to view code this way - a flow of data between things... a project I'd really like to work on. Has anyone done anything similar?

comment 3mo ago · link · parent

Tyvm!

comment 3mo ago · link · parent

I've been working on https://smalldocs.org for some time. It as if "Claude Code & Microsoft Office had a baby". It's actually very useful if you develop with a terminal based coding agent and sometimes want to get out of the terminal view to dig deep into a topic.

I have had quite a bit of usage: https://smalldocs.org/analytics, which I'm very proud of, with many developers using it week after week.

It's free to use by the way.

Code is open source at: https://github.com/espressoplease/smalldocs

comment 4mo ago · link · parent

Does a product include the ability to acquire and retain customers?

comment 4mo ago · link · parent

This is the OG: https://poke-holo.simey.me/ - inspired me as an old pokemon collector

comment 4mo ago · link · parent

If you liked the playing card interaction at the start (I did), I run a random side project where you (or your coding agent) can build similar 3d cards:

https://requirement5.com

build a card here: https://requirement5.com/create (and the CLI instructions are there too)

https://github.com/vilt9/requirement5

comment 4mo ago · link · parent

Google down $160Bn so far since the leaving announcements. Those are some valuable people!

comment 4mo ago · link · parent

Looks interesting. Does this mean I would use this as my day to day harness? Or is it something additional to an established workflow?

comment 4mo ago · link · parent

I empathise with this. I run a little open source project called SmallDocs [1][2] which Claude/Coding Agent invokes to generate easily human readable Markdown documents (and render code files).

You can ask Claude to "sdoc me an annotated code walkthrough of this MR" and it will produce something like this:

https://smalldocs.org/s/Ju9GOmWZ0JXTtzqCVfgt1q#k=6HBrpcCjIu7...

I use this a lot to stay in touch with the code the LLM is producing.

[1] https://smalldocs.org [2] https://github.com/espressoplease/smalldocs

comment 4mo ago · link · parent

I think that is a really nice implementation. A few questions:

Can you easily share lists or pages or is it all local? (Is there a cloud element to it)

What are the most useful examples you’ve personally found when it comes to using the HYML component?

I built https://smalldocs.org for my agent’s Markdown needs. I extended it so it can render complex formats: Mermaid diagrams, charts, in-document slides and even in-document spreadsheets. It gives your agent a good selection of formats to express itself as it helps you understand whatever topic you’re looking into.

Here is a sample document: https://smalldocs.org/blogs/what-is-a-smalldoc

I publish anonymous analytics here: https://smalldocs.org/analytics

comment 4mo ago · link · parent

If this is interesting to you (as it is to me) but you want to quickly digest it instead of read the paper, Claude + SmallDocs[1] converted it into a slideshow which serves it to you in bitesized ideas:

https://smalldocs.org/s/2SH6FHiUK1mcym24Z8E37I#k=2Sk6c_IdKJL...

[1] I am the developer behind SmallDocs.

comment 4mo ago · link · parent

I've been building SmallDocs [1], a fairly fully functional office suite (text, formatting, presentations, spreadsheets) which is based in markdown (and mainly written by agents).

Given my experience building this, I think the idea of "a truly independent document":

> one that displays identically on any system, in any country, for any user, regardless of the software used

Will be very difficult to achieve in practice.

Building software is an expression of opinions. And one of the main drivers of building an app is to innovate or improve the user experience vs. what exists today. These things combine to result in new features, and new features breaks the open standard.

If I wanted to build a new Excel, I might want to add something to spreadsheets which a basic open source reader cannot, or even Excel itself, might not be able to handle.

With SmallDocs, I built on the standard rendering of markdown, but then added a bunch of properties which traditional markdown renders would ignore.

For example, styles front matter:

  ---
  styles:
    fontFamily: Lora
    baseFontSize: 17
    h1: { fontSize: 2.3, fontWeight: 700 }
    p: { lineHeight: 1.9, marginBottom: 1.2 }
    ...
  ---
Which means you can create colorful files like: https://smalldocs.org/s/v_CHCaQHdGNVlsQtk6skEY#k=ZajP0oeiW86...

And slide blocks like:

  ~~~slide
  grid 100 56.25 bg=#0b1220
  r 6 9 82 4 text=caption color=#fbbf24 align=left | LAUNCH   REVIEW  -  Q2 2026
  r 6 18 84 16 text=title color=#f8fafc align=left | Atlas 2.0 shipped to every customer
  r 6 37 78 6 text=subtitle color=#94a3b8 align=left | What changed, what it cost, and what we learned
  l 6 47 24 47 stroke=#fbbf24 strokeWidth=0.2
  ~~~
Which means you can generate slides like: https://smalldocs.org/s/EKnIk-YdUBZeDA9yQs97mh#k=Eo-p46k-k6Q...

All this means SmallDocs markdown files only render correctly through our rendering engine - but this enables me to add something new to an existing document format.

[1] https://smalldocs.com; https://github.com/espressoplease/smalldocs

comment 4mo ago · link · parent

Yes, LLMs are way to literal - it is a problem.

Claude can right great code, but it’ll throw comments into the code about why we chose this approach instead of the random one I discussed with it - when the comment is of no use to a future developer.

It points at some sort of theory of mind problem in LLMs imo.

comment 4mo ago · link · parent

I'm working on https://smalldocs.org, https://github.com/espressoplease/smalldocs, anonymised usage analytics https://smalldocs.org/analytics

comment 5mo ago · link · parent

Sorry dang, I will stop.

comment 5mo ago · link · parent

Fair point. Sorry

comment 5mo ago · link · parent

Yep I find them to be very useful for explaining a system.

They can do a lot of cool things! Mermaid gallery here: https://smalldocs.org/s/xZrc-lNW1kbXpoIuU3l_ky#k=-0ehGe2B-hR...

comment 5mo ago · link · parent

The charts are very nice, and I think the visualisation layer for LLMs is a very interesting problem.

I’ve been building https://smalldocs.org for this exact reason. It’s an office suite for AI agents - but my main use case is giving a cli based LLM the canvas to express itself - charts, mermaid diagrams, etc. I’ve extended it a bit further to be a format for all types of work so the agent can embed slides and spreadsheets in a document.

Sample document: https://smalldocs.org/blogs/what-is-a-smalldoc

Source: https://github.com/espressoplease/smalldocs

comment 5mo ago · link · parent

I created https://smalldocs.org to help with this. After installing you can tell your agent to "sdoc me a mermaid diagram of X flow" or "sdoc me a visual architecture of this repo" or something, and it handles it nicely (imo!).

Here is the mermaid diagram gallery: https://smalldocs.org/s/PpArByXuNBA5kGS1JVMUW6#k=uTqNRLqzz_T...

Code available: https://github.com/espressoplease/smalldocs

Discord: https://discord.gg/txjATTsDaq

comment 5mo ago · link · parent

Hey, I'm building something a bit like that - please checkout https://smalldocs.org if you have time.

I say it’s as if “Claude Code & Microsoft Office had a baby...”

Code available: https://github.com/espressoplease/smalldocs

Discord: https://discord.gg/txjATTsDaq

Sample document: https://smalldocs.org/blogs/what-is-a-smalldoc

Invoked via Claude Code by saying stuff like: “sdoc me the plan for this feature”, or “dig into our logs and sdoc me a report on our latency"

comment 5mo ago · link · parent

Thanks!

comment 5mo ago · link · parent

I posted the same thing below, but I’m open for feedback on the license. I’ve put a lot of work in and I think there is a commercial pathway forward for the product. I don’t want to let someone else - who might be more experienced re commercialisation - take everything I’ve done and build a business with it (I’d really like to do that myself), so wasn’t sure what license to use as MIT didn’t feel right to me at the moment. But open for feedback/maybe I’m being too short sighted…

comment 5mo ago · link · parent

Yep, it does. If you open https://smalldocs.org/s/tUWdfKLKBcnhnrYsoFMn4W#k=7SC6KGg-Fye... And scroll to the business model area, you’ll see it supports multi tab functionality + connected formulas.

comment 5mo ago · link · parent

I’m open for feedback on the license. As you say/notice, I’ve put a lot of work in and I think there is a commercial pathway forward for the product. I don’t want to let someone else - who might be more experienced - take everything I’ve done and build a business with it (I’d really like to do that myself), so wasn’t sure what license to use as MIT didn’t feel right to me at the moment. But open for feedback/maybe I’m being too short sighted…

comment 5mo ago · link · parent

Thanks, please could you email me at hi@smalldocs.org. I’m trying to learn how to make this a better experience for teams, so would love to work with you guys to optimise the experience.

comment 5mo ago · link · parent

Multiple agents could write to the doc locally, but for the moment it’s not predominantly could based (only short links). I think I will build a cloud first version/offering/config soon

comment 5mo ago · link · parent

It is mostly that pattern yes, but you can see the underlying formats in https://smalldocs.org/docs
12345
24