
Great idea from @shukla.at (@raykar.ath): https://github.com/atharvashukla/table-of-contents (A table of contents to help people navigate a large number of Github repositories)

I have found Safari getting flaky recently. It just fails to render some pages. I copy the URL over to Firefox and it does fine.

New blog post from Alex:
https://news.ycombinator.com/item?id=25406455\|https://news.ycombinator.com/item?id=25406455

@alexharsanyi superb post :) small css comment: the lhs menu steps on the main text of my phone:

In the documentation https://docs.racket-lang.org/foreign/foreign_pointer-funcs.html?q=malloc#%28def._%28%28quote._~23~25foreign%29._malloc%29%29\|malloc has multiple modes. In particular 'atomic
, states that the memory isn’t traced by the GC; which I assume means that you would need to hold references to any bits of memory referenced /within/ the malloc block?

I am no expert in malloc
, but that I agree with that interpretation.

More than that: any objects referenced by the block might be moved (unless something specifically keeps them in place), which means the references can become invalid.

I am aware of the CSS problem, unfortunately, I don’t know how to fix it. If anyone wants to help, the CSS source is at https://github.com/alex-hhh/alex-hhh.github.io/blob/master/css/custom.css

I’m glad you like the blog post :-), @laurent.orseau

The body text is inside an <article>
. I think adding an article { margin-left: 1rem; }
is enough.

That does indeed appear to fix the problem and I pushed this fix, thanks for the hint

Don’t know how to write such programs in a side-effect free manner…:thinking_face:

The first version of the program was written side-effect free, but the resulting program was more difficult to explain in a blog post and more difficult to extend with new features. In my opinion anyway…

Is there a way to make new definition (@def...
) forms for #lang scribble/manual
, other than making adjustments to existing forms?

@kellysmith12.21 they’re just functions, so you can write other functions that do what they do. They aren’t specially recognized by scribble/manual
.