This new world sucks for the interactive user in a browser (which is me often enough), but it's great for the guy who wants to treat a website as just a remote provider of some kind of data or service (also me often enough).
875 karma · joined May 1, 2019
https://reindeereffect.github.io
This new world sucks for the interactive user in a browser (which is me often enough), but it's great for the guy who wants to treat a website as just a remote provider of some kind of data or service (also me often enough).
https://www.walmart.com/browse/health/adult-diapers/depend/9...
--Chuck Moore
(defmacro defdelta (class &body body)
(let* ((body `(,@body
(- enter - - -)
(- leave - - -)))
(acc (group-by
1
(let ((-q0) (-e) (-w) (-q) (-a))
(loop for (q0 e w q a) in (cdr body) do
(setf -q0 (tc q0 -q0)
-e (tc e -e)
-w (tc w -w)
-q (tc q -q)
-a (tc a -a))
collect (list -q0 -e -w -q -a))))))
(push (cons class acc) *delta*)
`(progn
,@(loop for (e . clauses) in acc collecting
`(progn
(defevent ,e)
(defmethod ,e ((me ,class) &rest args)
(when (member *@* args)
(apply #'emit ',e (state me) me args))
(case (state me)
,@ (loop for (q0 . deltas) in (group-by 0 clauses)
collecting
`(,q0 (random-case
,@ (loop for (- -- w q a) in deltas
collecting
`((,@(or w 1))
,@(when (and q (not (eq q0 q)))
`((change-state me ',q args)))
,@(when a
`((apply ',a me args)))))))))))))))
which allows me to write, for example, this (defdelta door
( q0 event - q action )
;;--------------------------------------------------
( locked challenge - - test-lock )
( ^ unlock - unlocked - )
( ^ enter - - to-locked )
;;--------------------------------------------------
( unlocked enter - - to-unlocked )
( ^ challenge - open - )
( ^ lock - locked - )
;;--------------------------------------------------
( open enter - - to-open )
( ^ arrival - blocked - )
( ^ shut - unlocked - )
;;--------------------------------------------------
( blocked departure - open - )
( ^ enter - - to-blocked ))
along with some support code (e.g., the action functions) to define the auto-closing, auto-locking behavior of doors.---
[0] Some helpers have been omitted. `defevent` defines a generic function with the given name and a particular set of arguments, and a default method that does nothing. `change-state` handles the mechanics of updating the state variable, sending a `leave` event just before the transition and `enter` just after.
Like Betamax?
https://cs.fit.edu/~kgallagher/Schtick/How%20To%20Write%20Un...
It's an application-specific memory allocator.
--Fred Brooks, The Mythical Man Month, Ch. 12.
All you need is harm (ba da-da da-da)
All you need is harm (ba da-da da-da)
All you need is harm
Harm, harm is all you need ▲ U+25B2 BLACK UP-POINTING TRIANGLE
▼ U+25BC BLACK DOWN-POINTING TRIANGLE
[0] https://en.wikipedia.org/wiki/Geometric_Shapes_(Unicode_bloc...--
[0] The aptly named "Javascript Toggle On and Off" plugin for Firefox sets up a keybinding for toggling. It's very convenient and great for scaling many a paywall.
--
Be advised that a lot of them use CP438, so you might want to get your hands on a BBS client that can handle it gracefully, like Netrunner.
[0] https://www.ipingthereforeiam.com/bbs/?step=software&all=0 [1] http://www.mysticbbs.com/downloads.html
--Masood Boomgaard
[0] http://sigbovik.org/2022/proceedings.pdf, page 23.
That's the approach that st-json [0] builds on:
- true and false become :true and :false, respectively
- [] becomes nil
- {} becomes #s(st-json:jso :alist nil)
---
[0] in QuickLisp and at https://github.com/marijnh/ST-JSON
Way hay we're out of memory
Way hay our disk is thrashing
Way hay I need more coffee
Early in the morning!
What can you do with a process ID
What can you do with a process ID
What can you do with a process ID
Early in the morning?
Send a SIGKILL to its process
Send a SIGKILL to its process
Send a SIGKILL to its process
Early in the morning!