panglesd | 6 months ago | on: Improvements to OCaml code editing: the basics of a refactor engine
panglesd's comments
panglesd | 11 months ago | on: Asking LLMs to create my game Shepard's Dog
Would love to see a multiplayer version of this game!
panglesd | 1 year ago | on: Show HN: FlakeUI
panglesd | 1 year ago | on: Show HN: Slipshow – A presentation tool not based on slides
First, let me start with the biggest drawback of using OCaml: it might prevent potential contributors from making contributions. That is very sad!
However, OCaml is the language I know the most. I use it at work and I'm very very satisfied with it. It's main strengths for me are its type system for maintainability, the tools around it (the lsp server, the build system dune, the autoformatter ocamlformat, ...) and the fact that it can compiles to Javascript! It also has some libraries of very high quality.
With a "single" codebase, leveraging the javascript ecosystem, I could make the compiler work as a statically linked binary, as a node script published on npm, inside a Tauri app, and inside a VSCode plugin. ("single" codebase in quote since I needed some specific code for each application, but the core logic is shared.)
For sure, the same could have been made with another language, but I knew OCaml, and knew I would have a pleasant experience using it for that.
(I even plan to rewrite the engine in OCaml. The engine was written in javascript quite quickly, at a time when I had no experience with largish projects. It is now very difficult to maintain and extend.)
panglesd | 1 year ago | on: Show HN: Slipshow – A presentation tool not based on slides
Having modifiable source inside the html is a great idea. I'll still need to have a compile workflow to add image while keeping a standalone produced html file (and some other feature such as live-preview), but I'll definitely add this as a possible workflow.
panglesd | 1 year ago | on: Show HN: Slipshow – A presentation tool not based on slides
This is one important thing for me: the produced file must be self contained. Even if images are included, they are embedded in the html file.
panglesd | 1 year ago | on: Show HN: Slipshow – A presentation tool not based on slides
panglesd | 1 year ago | on: Show HN: Slipshow – A presentation tool not based on slides
I think math lectures often need quite some text support, they are the reason I created Slipshow.
panglesd | 1 year ago | on: Show HN: Slipshow – A presentation tool not based on slides
Sometimes, I used the analogy of a big papyrus roll (like this one: https://pgi-shop.de/en/papyrus-roll-20-x-80-double/) to explain what is Slipshow. But your analogy is much better!
panglesd | 1 year ago | on: Show HN: Slipshow – A presentation tool not based on slides
- You can write a Slipshow presentation in Markdown, which can be more convenient than in those collaborative whiteboards (depending on the person): the source file is plain text. - Slipshow is made for presentations, so it is themed for that: the usual ratio for the screen, blocks such as example/theorem/definition, titles, ... - It is easy in Slipshow to reveal new content/go to a new position by simply pressing the "right arrow" key. - The output from Slipshow is a single file that you can view offline, send to your audience, ...
There might be more differences. For sure, those tools are different and adapted to a purpose, or a style of presenting. For some kind of presentations, Miro and Figjam might be much better than Slipshow!
Does it replace identical expressions in the same scope? Like:
becomes ?EDIT: Or even crazier with function:
becomes (I ask this just out of curiosity. Even the "simpler" version is very impressive!)