If I were to create a political party, I would vet the candidates for office by making them pass standard exams. It would guarantee minimum competence in areas that are hard to assess by the larger public. Possibly, these would be regular university exams.

@dpiponi it seems hard to not follow this law. I'd be interested in seeing counterexamples.

Using an AI assistant for guidance regarding my use of the English language. These are fascinating times.

J’ai enfin le temps de me plonger dans ce livre important : une enquête de la sociologue Joanna Kempner, qui suit un groupe de malades souffrant d’algies vasculaires de la face (des douleurs fulgurantes qualifiées de « suicidaires » tant elles sont terribles) dans leur quête de traitements à base de psychédéliques. Cette pathologie ne répond à aucun médicament disponible (avec parfois plusieurs crises par jour) et condamne bien souvent les malades au suicide. Or les psychédéliques semblent

Causality is an engineering concept, not a scientific one.

@CabinetOfDelights I used to feel tired from standing or walking extremely slowly when my parents used to take me to museums and I was forced to follow along with them - or worse with a guide spending an eternity in each room.
As an adult in charge of these visits, I haven't had this problem and museums became fun because I look at what interests me and I skip the rest.
Additionally, I now stand at my desk all day, so I would fare better if I had to slow-visit a museum again.

@b0rk it's like regular mail but extra fun because your packages may end up duplicated, in addition to the thrill of not knowing if or when they arrive.

@b0rk it's for situations that can be described as "it's currently a mess of new test files, logs, and hacks that maybe shouldn't be committed or at least need some cleanup before it makes sense to add them to git"

@b0rk tip: iff you frequently have to pause/resume work on a project foo (due to waiting for feedback from reviewers or god forbid waiting for CI), I suggest keeping two worktrees named foo and foo2. It removes the need for rebuilding the project when switching branches as well as avoiding tricky git stash/pop.

In general, this function is "read one whole message from the transit buffer":

val read_msg : Buffer.t -> msg option

Show thread

A key function we need is:

val read_available_lines : Buffer.t -> string list

Show thread

Application: receive printable data from parallel workers and print each line uninterrupted.
We need to read all the data available from each worker so they don't get stuck in the middle of a long line but only print the data one whole line at a time.

Show thread

Actually, wrapping around out_channel is possible, with a little bit of care: use a Buffer.t to accumulate bytes, and flush right after writing the contents of the Buffer.t to the out_channel. The out_channel will sometimes be flushed more than once in this operation but it doesn't matter.

Show thread

Do you know what I could use right now? A buffered output channel that flushes only when explicitly flushed by the program. Does have this? I.e. out_channels that don't get full.

All these people with tattoos will look so outdated 20 years from now. Heh, your body, your choice, or whatever.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.