Lisplog | Blogging in Lisp
144 FOLLOWERS
Lisplog is a templating system that blends Apache and Hunchentoot to aid in the maintenance of a blog-like web site.
Lisplog | Blogging in Lisp
4y ago
"Micro-optimization is usually premature. Macro-optimization is essential." -- Bill St. Clair ..read more
Lisplog | Blogging in Lisp
5y ago
An AngularJS user in the Fediverse asked me to sell Elm to him. This is my first attempt.
I have never used AngularJS or any other JS framework besides jQuery, so I'm operating from a quick perusal of the Angular web site, making my comparisons mostly invalid.
Caveats
First off, you're going to miss a lot of Angular's features with Elm. Elm has a functional flavor to it, not the templatey feel of Angular. Your entire site, except for the initial HTML file that loads the elm-generated JS, is Elm. And Elm wants total control. With a couple of exceptions:
You may load Elm into only a single D ..read more
Lisplog | Blogging in Lisp
5y ago
This page explains my thinking of doing OAuth2 authorization for an Elm web frontend talking to a Mastodon API backend.
The OAuth2 Authorization Code Grant Flow Dance
OAuth2 has a number of authentication methods. For end users, using web apps, the Authorization Code Grant Flow is common. It lets the user authenticate with the service she's using, such that the client code never sees her userid or password, then the client code fetches a token it can use to authenticate API requests. If the user notices the client misbehaving, she can go to the service's web site, and remove permission for t ..read more
Lisplog | Blogging in Lisp
5y ago
https://zapmeme.com is a meme maker written in Elm.
It's open source, with a link at the bottom of the page. It uses <svg> to layout the meme, and converts to JPEG or PNG for saving.
It stores meme and images (as data:// URLs) in your browser's localStorage database. They may be exported as JSON and imported into another browser ..read more
Lisplog | Blogging in Lisp
5y ago
For April Fools Day, 2019, stackoverflow put fairy dust on every question page, and had a definite retro look.
I saved the fairy dust, and the ASCII art HTML comment at lisplog.org/20190401.
Also see Announcing the Stack Overflow Time Machine ..read more