This is a bash script, as an example, on how to do click-testing GUI based on finding components based on how they look.
- opencv
- scrot
- findimage
- xdotool
; http://an-animal-imagined-by-poe.tumblr.com/post/97790330928/i-have-been-busy-distracted-absent-for-the-past | |
(defn find-in | |
([needle haystack] (find-in needle haystack 'x)) | |
([needle haystack varname] | |
; varname remminds us of how we got the haystack we're looking at from x | |
(or | |
; base case | |
(when (= needle haystack) | |
varname) |
This is a bash script, as an example, on how to do click-testing GUI based on finding components based on how they look.
#!/usr/bin/env bash | |
## | |
# 0. (A must) Leave a star on this GIST :P | |
# 1. Clone/download/copy-paste the this script | |
# 2. Give it rights to execute: `chmod +x d.sh` | |
# 3. Move it somewhere on your PATH and (optionally) rename it on the fly: `mv d.sh /usr/local/bin/d` | |
# 4. Now run it from anywhere: `d` or `d.sh` (if you didn't rename your file) | |
# 5. ??? | |
# 6. Hooray! You're inside the container! Enjoy your stay & mess around as much as you want! |
The target audience is people who are familiar with Urbit's architecture, though not necessarily much of its code.
As some of you already know, i recently left my job as a core dev for the Urbit Foundation to work on a similar system called Plunder. Plunder was created in 2020 by two former Tlon employees, after their proposal for a new version of Nock was rejected. They have since reworked that significantly and built a reference implementation of their own system. You can follow its continued development on its mailing list.
I've known about Plunder for quite some time now, but their recently released demo -- in which the system is used to serve a 70 GB dataset, complete with metadata and searchable -- made me feel the need to explore it again and in greater detail. Doing this with my personal server doesn't feel like a big ask, but there is currentl