HNHacker News
TopNewBestAskShowJobs

vitalnodo

799 karma · joined May 6, 2023

https://www.linkedin.com/in/vitalnodo
submissionscomments
vitalnodo··on Book review: Is parallel programming hard, and, if so, what can you do about it?
As I found out recently, there's a lighter option: model checkers like Spin. You describe your synchronization logic in a small modeling language (Promela), and Spin tries every possible interleaving of that model.
vitalnodo··on People who can't picture anything are rewriting the science of imagination
Mnemotechnics is an art of memorizing by linking visual images. A book I have gives these criteria for a proper image:

you can roughly draw the object from memory

you can name its main parts

you can name its main colors

you can describe its spatial orientation

The image shouldn't be as clear as a hallucination, and it should be a memory of a specific object, not a generic one. Meeting these criteria is already enough to link another image to it, for example by piercing it with another object, though there's also the question of imagining it at a large enough size.

Aphants, do these hold for you? Take Doge, the popular meme dog: not a generic Shiba Inu, but that exact picture. Could you sketch it, name its parts and colors, and say which way it's facing? And could you imagine, say, a pencil piercing it?

vitalnodo··on A website for debloated open source alternatives
A lot of alternatives can be found at https://github.com/mayfrost/guides/blob/master/ALTERNATIVES....
vitalnodo··on Prism
This fits into the broader evolution of the visualization market. As data grows, visualization becomes as important as processing. This applies not only to applications, but also to relating texts through ideas close to transclusion in Ted Nelson’s Xanadu. [0]

In education, understanding is often best demonstrated not by restating text, but by presenting the same data in another representation and establishing the right analogies and isomorphisms, as in Explorable Explanations. [1]

[0] https://news.ycombinator.com/item?id=40295661

[1] https://news.ycombinator.com/item?id=22368323

vitalnodo··on Prism
With a tool like this, you could imagine an end-to-end service for restoring and modernizing old scientific books and papers: digitization, cleanup, LaTeX reformatting, collaborative or volunteer-driven workflows, OCR (like Mathpix), and side-by-side comparison with the original. That would be useful.
vitalnodo··on Prism
> Prism builds on the foundation of Crixet, a cloud-based LaTeX platform that OpenAI acquired and has since evolved into Prism as a unified product. This allowed us to start with a strong base of a mature writing and collaboration environment, and integrate AI in a way that fits naturally into scientific workflows.

They’re quite open about Prism being built on top of Crixet.

vitalnodo··on Prism
Previously, this existed as crixet.com [0]. At some point it used WASM for client-side compilation, and later transitioned to server-side rendering [1][2]. It now appears that there will be no option to disable AI [3]. I hope the core features remain available and won’t be artificially restricted. Compared to Overleaf, there were fewer service limitations: it was possible to compile more complex documents, share projects more freely, and even do so without registration.

On the other hand, Overleaf appears to be open source and at least partially self-hostable, so it’s possible some of these ideas or features will be adopted there over time. Alternatively, someone might eventually manage to move a more complete LaTeX toolchain into WASM.

[0] https://crixet.com

[1] https://www.reddit.com/r/Crixet/comments/1ptj9k9/comment/nvh...

[2] https://news.ycombinator.com/item?id=42009254

[3] https://news.ycombinator.com/item?id=46394937

vitalnodo··on What happened to WebAssembly
Can you recall the link?
vitalnodo··on How to Reproduce This Book with LaTeX
As an alternative to Overleaf, I found Crixet to be quite useful. It appears to be based on WASM and has fewer usage restrictions.
vitalnodo··on Phoenix: A modern X server written from scratch in Zig
Another potentially interesting project is zigx, an X11 client library for Zig applications:

https://github.com/marler8997/zigx

https://www.youtube.com/watch?v=aPWFLkHRIAQ

Compared to libX11, it avoids dynamic dependencies, uses less memory, and provides better error messages.

vitalnodo··on Venn Diagram for 7 Sets
I’m wondering what’s the proper way to draw Venn diagrams. I’ve seen that Graphviz has a “nice to have” mention about them, and there are a few simple JS libraries - mostly for two sets. Here’s also my own attempt using an LLM [1].

But maybe someone knows a more general or robust solution - or a better way to achieve this? In the future, I’d like to be able, for example, to find the intersection between two Venn diagrams of three sets each etc.

[1] https://vitalnodo.github.io/FSLE/

vitalnodo··on Kaitai Struct: declarative binary format parsing language
Can you share the link? I wonder also whether it uses comptine features.
vitalnodo··on Tell HN: It's possible that the only programming language will be assembly
There are many other so-called models of computation that are useful for representing ideas such as actor models, abstract rewriting systems, decision trees, and so on. Without them, you might feel that something is missing, so relying on assembly alone would not be enough.
vitalnodo··on The million dollar mystery behind Milk.com
I found out about milk.com when I was thinking about how to make an Android app completely from scratch (assembling DEX bytes from zero, kind of like writing an assembler for the Dalvik VM). That’s when I came across the author of the DEX format, Dan Bornstein — and I was surprised he actually owns a domain like that.
vitalnodo··on Faster substring search with SIMD in Zig
There is an existing concept called an exokernel. Moreover, I think Zig could be very suitable for this, because it already encourages passing allocators to functions to make memory allocation explicit. Recently, I/O has been (and is still being) reworked in a similar way.
vitalnodo··on There Is No Diffie-Hellman but Elliptic Curve Diffie-Hellman
Just wondering — has anyone come across a course or resource that explores how cryptographic systems are built up from smaller building blocks?

Like, using something like SageMath for algebraic structures, a prover like Lean to verify properties — to get a feel for how things actually fit together.

There's something cool about trying to reimplement known standards just to understand them better (with the usual "don’t roll your own crypto" warning, of course). By the way, it would be nice to have a kind of sandbox for the more formal path to explore how to build my own SP-network, prove that the Decisional Diffie-Hellman assumption holds or something.

I've seen cryptopals and cryptohack.

vitalnodo··on We must seek a widely-applicable science of systems
In some ways it’s my fault that I didn’t present it very well, but perhaps this should be taken less strictly, as something of a source of inspiration, like some kind of painting. Someone can then take it more strictly and make some kind of Curry-Howard isomorphism, or from the idea that the information concept of a file corresponds to the material concept of force, something in dimensional analysis can grow.

That is, it may be less formal at the beginning, but then a craftsman may be found who will do everything quite strictly.

Nevertheless, now this author is developing the theory of syllogistics and there are quite practical results, for example, that the logic textbooks for lawyers can be translated into boolean algebra and made more precise.

vitalnodo··on We must seek a widely-applicable science of systems
There is an approach that I like and I think allows one to compress quite a few different description models from different domains. Take a look at this image from wikipedia: https://commons.wikimedia.org/wiki/File:Systematik-Philosoph... You see "Theoretische" and "Praktische" philosophy in the rectangle with a diagonal which probably could mean that you can sort something based on the relation between matter and information, where something is more practical and less theoretical (say 30% practice and 70% theory) add a stimulus-response diagram at the bottom and various information-material circuits inside that allow you to show how something is transformed.

There is an development of this idea from some author which leads to something like https://imgur.com/a/AmF7AJe and currently the author tries to find the connection between syllogistics, Boolean algebra, Euler-Venn diagrams, and more. You can take a look at https://www.youtube.com/@Syllogist/videos Many of the recent videos have English subtitles It's hard to describe the whole idea at once, but maybe someone will have the courage to learn something from it.

vitalnodo··on Show HN: How to Build a Writing Habit
> Writing is an effective way to achieve this because you don’t need to find another person who wants to hear about your idea

Shouldn't you still have some sort of idea of the audience you're writing for? And for example, I am more accustomed to seeing myself in different spheres of life, where I behave differently, is it possible to combine all of this?

vitalnodo··on The Alternative Implementation Problem
With such wrappers, it should help to have an interface there to interact with the lower library directly, I think.

For example, there is the ziggy-pydust library to write native modules for Python in Zig, and it certainly looks prettier than the usual Python.h import. Still, there is also .ffi to address functions directly that are not yet implemented but are available in Python.h.

If such an option is not available, one often wants to replace such a library and prefer the original one.

However, even this is in a way a wrapper (a native module), and sometimes it is better to use ctypes directly, for example, for the sake of speed of development.

vitalnodo··on Calendar, Not Todos (2018)
This kind of planning may not work because of the difficulty of estimating tasks and the nuances that arise, but what about the similar idea of recording not what to do, but what has been done? For example, a text document where you can enter the date and time by keyboard shortcuts and keep a record of what you have done at regular intervals? Something like

20240513131516 posted a new comment here

Has anyone tried something similar or maybe there's some common name for it?

vitalnodo··on The Death of a Mnemonist
If we're discussing controlled changes in physical condition using various equipment that allows measurement, it's called biofeedback. If done without equipment, it includes various types of autogenic training.
vitalnodo··on The Death of a Mnemonist
I've come across a version suggesting that the genius of Shereshevsky is exaggerated because he studied mnemonics at school and if you compare his actual test results, he showed good but still not phenomenal performance.

https://mnemotexnika.narod.ru/izv_mn_02.htm (russian)

Regarding modern requirements for mnemonists, it's seen that one needs, for example, to be able to:

1) Memorize one hundred two-digit numbers in 10 minutes.

2) After a month and a half of the course, retain a database consisting of https://web.archive.org/web/20220331232601/https://www.mnemo... with the ability to recall the information both sequentially and by number, and in context.

I believe there are tens of thousands of people worldwide who have been trained in this manner, and various individual techniques are widely adopted by people.

I've tried learning it myself and I'm convinced that it works, but somehow I keep postponing it. For dissemination, it might be worth paying attention to individual techniques for memorizing formulas or other material to write an article or something similar. Without more detailed personal experience (when I would have such a database in my head), I'm afraid it might come across as mere advertising.

It's astonishing how much can be accomplished with just a bit of "rotating a cow in the mind."

On a related note, I can recall a quick visual counting system where the author attempted to utilize the dialing matrix in a cell phone. The author argues that no genius is needed; there are patterns. One can search for "Творогов В.Б. Наглядная арифметика и технология быстрого счета" for more information.

There's more, but it might already be a bit off-topic...

vitalnodo··on Immersive Linear Algebra (2015)
https://explorabl.es/

https://github.com/blob42/awesome-explorables

vitalnodo··on Immersive Linear Algebra (2015)
https://schoolyourself.org/ with different ideas about

https://www.youtube.com/watch?v=4cQIbZa7P80 Computer-Assisted Instruction

http://dmentrard.free.fr/GEOGEBRA/Maths/export4.25/golf.html some people manage to create some applets in geogebra

https://xenaproject.wordpress.com/2022/07/29/teaching-formal... a way to teach theorem proving

maybe I'll remember something else and add it here