^ did I? I didn't. Wish me luck and determination not to procrastinate till afternoon when today's morning comes.
2022-04-27: urgent ink escapade laziness, and a webpage full of 2-4KB JPEGs
https://g.mikf.pl/gemlog/2022-04-27.gmi gemini://g.mikf.pl/gemlog/2022-04-27.gmi
Lisp
Compile-time checking is done with proclaim or declaim:
(defun add (a b)
(declare (type fixnum a b))
(+ a b))
(declaim (ftype (function (fixnum fixnum) fixnum) add))
Which says that add accepts two fixnums as its arguments and returns a fixnum, and produces a compiler error if the func returns anything else, or is called with the wrong arguments.
Lisp
So the magic is that you can ignore the extra values, and they can flow through the stack until something needs them.
And the clunk is that they're inaccessible without some fairly verbose macro binding forms.
Shortening the names or having the standard let-bind aware of them would be a big improvement IMO.
Lisp
For example: you have a web crawler. Three links deep into archiving something, a HTTP request fails.
Other languages -- whether you use exceptions or return an error value -- unwind the stack until reaching an error handler, which loses the accumulated state (that is, which links were followed). So recovery means repeating *successful* operations as well as the one that failed.
Not Common Lisp.
Lisp
The error handling system, and restarts in particular, are amazing, but also kind of difficult to use in practice.
Restarts let you define error recovery strategies at the same level of the code they occur, and are invoked without unwinding the stack. This is wild, and unlike any other language.
basically, mormons being overly fanatical in their beliefs means that the file format they developed was restricted to only allowing for relationships that were allowed by mormonism.
and mormonism is very strictly monogamous (the whole polygamy thing was a rather short period towards the beginning of mormonism and since then they've done a really fucking strong 180 on it) and also strictly defines a family structure of every child having exactly one mother and one father who are married.
so a family structure involving having multiple spouses of various genders where they're all equally considered the parents of their children (like was common in hawaii and polynesia in general) is completely and totally impossible to do in that file format
@helene@p.helene.moe what if we were both sysadmins but one of us was a docker fanboy and the other was a kvm fanboy
Software Developer With A Job
- - Poznań🇵🇱 (CEST=GMT+2) - -
FP enthusiast & NixOS user.
Burned-out but reactivating.
- - 23⅔. - -
_ she/her _
🏳️⚧️ trans, 🏳️🌈 demipansexual, ♾️ polyam, grayro, aroflux. Open partnered. Flirting welcome from feminine or nonmasculine folks.
* SpaceHey! https://spacehey.com/mkf
* Gemini! gemini://g.mikf.pl
* Website! https://mikf.pl
/if i start boosting crappy personalities again please tell me to stop because apparently i must have forgotten what does it end up like/