Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmbaturin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
dmbaturin
3y ago
Delegating the complexity to the user was my biggest motivation behind many features of soupault. Hugo has two different Markdown libraries baked in and you have to choose them, and it also had hardcoded commands to call rST and AsciiDoc pr
2.
▲
by
dmbaturin
3y ago
I was wondering if that part should have been the main page slogan: "Soupault’s DOM manipulation is as powerful as client-side JavaScript (without interactivity, of course), but the result is a static page." >Maybe this table o
3.
▲
Soupault 4.0.0: as extensible as Jekyll, still statically linked
(soupault.app)
47 points
by
dmbaturin
4y ago
|
5 comments
4.
▲
by
dmbaturin
5y ago
For soupault, library availability was actually a key factor: lambdasoup [1] is one of the best HTML parsing libraries if you want to automatically edit element trees, not just extract data from them. The single case when I couldn't fi
5.
▲
by
dmbaturin
5y ago
The key idea of soupault is that it works on the HTML element tree level and can automatically call external convertors on pages (based on page file extensions, see [1]), so the input format doesn't matter to it. You can bring your own
6.
▲
by
dmbaturin
5y ago
There's a users page ( https://soupault.app/users/ ), most come with source code links. ocamlbook.org may be the most illustrative one: it exploits soupault's ability to pipe HTML element content through an ext
7.
▲
by
dmbaturin
5y ago
I'm glad someone recognized the CHIM reference, but I'm surprised that the entry for AASR (Ancient and Accepted Scottish Rite) hasn't caught anyone's eye as being just as out of place. :)
8.
▲
by
dmbaturin
7y ago
I'm a bit confused by its pictures. It has a scroll wheel, right? How's the build-in wrist pad? I'm still using a Kensington Expert Mouse. Anyone tried those vertical mice? To me it looks like a pointing device for people wit
9.
▲
by
dmbaturin
8y ago
I'm not against the REPL (perhaps I should even describe its usage in more detail). In fact, I use it all the time. I'm against books like Learn You A Haskell that leave the reader wondering how to make and distribute executable p
10.
▲
by
dmbaturin
8y ago
I haven't used gRPC as such, but for protobuf specifically, ocaml-protoc works well for me.
11.
▲
by
dmbaturin
8y ago
This would work: let _ = let this_integer = read_int () in print_int (this_integer * this_integer); print_newline () I agree part 1 should explain more of the basic syntax. The whole thing is a work in progress so I keep
12.
▲
by
dmbaturin
8y ago
It will appear when (and I hope it's when rather than if) I complete the series. Then I'll typeset it properly and release the source under CC-BY-SA or another free license and make PDFs from it.
13.
▲
by
dmbaturin
11y ago
Do you have a (more or less) formal description of the type system?
14.
▲
by
dmbaturin
11y ago
OCaml has separate compilation, a REPL, and it's very fast. None of those things is incompatible with global type inference (although particular type systems can be).
15.
▲
by
dmbaturin
12y ago
Some languages, like ML family or Haskell, make it an organic part of the language, so beginners doesn't need to worry about the concept to use it. When first exposed to ML/Haskell code, they may use simple mental models such as &