10:00 check in protocols/care takers + check in with reading
11:30 short break
11:45 navigating /media/worm/
12:15 working with CSS Paged Media
13:00 BREAK
14:00 broadcasting/discussing smaller group projects
14:30 exercises: generating scripts
17:00 end of the day

Caretaker's update:
    - very mysterious 
    
Our shows thus far have been updated to the mixcloud of Radio Worm:
    https://www.mixcloud.com/radiowormrotterdam/
    - there are no descriptions, hashtags, time stamps, etc
    - Do we want to leave it like this or provide Ash with information about the broadcasts?
    - What is Ash's process in regards to administration? What are the spreadsheets, protocols and such happening behind the scenes of the radio?
    
  - Holiday Broadcast/Edition > Rosa, Victor
  - October 24 > Rosa, Thijs, Anita
  
  Are there any protocols you want to propose in the group:
      - Smaller projects running parallel to what we're doing> proposing to talk during our time together (half hour time slots perhaps)
      - Time until zinecamp is slightly fragmented
Readings:
https://hub.xpub.nl/bootleglibrary/read/789/epub#epubcfi(/6/22[chp02]!/4/2/4/1:0)
https://hub.xpub.nl/bootleglibrary/read/194/pdf


     - Two lines of poetry becoming the same, not merely a matter of infitine loops
     dirty concrete poetry (working with the material, eg. typewriter - literally getting dirty)
reproducing the aesthetics of DIY and zine (while not actually using the materials but reproducing in photoshop)

Text All Problems of Notation Will be Solved by the Masses:
    - Open Source Publishing did the layout for this text (it was a difficult process)
    
- Radical pedagogy of the 1950s and Logo
- improvisation vs free play - the racialized aspect of implying that someone a black individual innately knows how to improvise (as opposed to this being a learned skill) 
- Programming as debugging (Papert)
internal: taking care of the values of a specific community
external: produce more, remix more (distribution-oriented?)
Maybe it is more important to think about: What is the context of the community making radio in Worm?
- What are we trying to preserve and for whom?

11:45 navigating /media/worm/
Terminal commands
fish -------------- friendly interactive shell (it has autocompletion, colours that make everything more legible, you can configure your own commands, double tab gives you suggestions, it also gives you brief explanations of commands and what it does)
exit -------------- the way to go back to bash


https://hub.xpub.nl/chopchop/~mb/tree.txt
https://hub.xpub.nl/chopchop/~zerozeta/tree.txt
https://hub.xpub.nl/chopchop/~senak/tree.txt
https://hub.xpub.nl/chopchop/~wang/tree.txt
https://hub.xpub.nl/chopchop/~river/tree.txt
https://hub.xpub.nl/chopchop/~mxrwho/tree.txt
https://hub.xpub.nl/chopchop/~bernabereit/tree.txt
https://hub.xpub.nl/chopchop/~mszw/tree.txt
https://hub.xpub.nl/chopchop/~mania/tree.txt
https://hub.xpub.nl/chopchop/~zz1/tree.txt


$ man tree > ~/public_html/tree.txt

$ tree /media/worm/ -H https://hub.xpub.nl/chopchop/ > worm.html

server: /media/worm/radio
browser: https://hub.xpub.nl/chopchop/worm/

$ tree /media/worm/radio -H https://hub.xpub.nl/chopchop/worm > worm.html

">" alligator!

> worm.html
(spaces are important!)

ls | grep .html --------------- only shows html files
ls | grep .html > ls.html

COMMAND [arguments] | COMMAND [arguments] > filename.ext

 tree -if /media/worm/radio -H https://hub.xpub.nl/chopchop/worm | grep mp3 > mp3.html ------ the "-if" removes the name before and shows only the links

************

14:15-14:45
14:45 more pipelines!
17:00 end of the day

************

$ curl https://pad.xpub.nl/p/SI22-protocols/export/txt | grep protocol >> searches.html && weasyprint searches.html searches.pdf

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/txt

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/txt

14:00 broadcasting/discussing smaller group projects

Current protocols:
    - EtherPatches https://pzwiki.wdka.nl/mediadesign/EtherPatches
    - A case for chopchop https://pzwiki.wdka.nl/mediadesign/A_case_for_chopchop
   - Rug  made from captured wave movements

    - working with the plotter https://pzwiki.wdka.nl/mediadesign/User:Thijshijsijsjss/Notes_on_SI22#Plotting_Penplotters

    - osci-render: https://github.com/jameshball/osci-render
       how to connect ocrender to blender? to a projector? through processing?
       https://www.youtube.com/watch?v=oU85jqbKQKs&t=55s&ab_channel=RyanPWM
       bring it to zinecamp!
       Making audio waves that look and sound like things: https://youtu.be/qeUAHHPt-LY?si=FfgpOnTvYIiuy3vs

    - html practice
What goes into the archive/ what is not important enough to go into the archive?
- forgotten histories / functional archive vs storage-oriented 

In the future do we want to share during class hours or outside of them (in a self-initiated effort)

Can we all share our perspective and interest in the archive?

deaccessioning
what do we take out of an archive, in order to de-clutter it and make more space for other things?
this might also help us with the question of what we put inside the archive in the end?

making a small prototype of doing this - removing things from the archive

How do we relate to and remove things from our own photo archives?
- you come with the burden of your past and how do you work with this in relation to the archive (decolonial practices) - should stolen items from many countries be returned to them?

deacsession the copies - do we do pad purging? (which pads do we keep)
- XPUB3 found the most used word from every pad and made a zine from it 

Back to the regularly schedule class:

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/txt

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/txt > todays-pad.txt

and since manetta ran the command in the public_html folder, it's published here:
it's here now: https://hub.xpub.nl/chopchop/~mb/todays-pad.txt
(you can make copies of the pads these way so if they disappear you have them)

Piping the output of a curl command through grep to filter contents

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/txt | grep archive > search-archive.html

using the HTML export of etherpad

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/html > todays-pad.html

Retrieving the number of files in a directory
$ ls | cat | wc -l

Using sed to find and replace
$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/html | sed 's/<br>/\n/g'

curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/html | sed 's/<br>/\n/g' | grep archive | sed 's/$/<br><br>/g' > search-archives.html

curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/html

weasyprint todays-pad.html todays-pad.pdf

and to add it directly to your other pipelines:


https://pad.xpub.nl/p/print.css

$ weasyprint -s https://pad.xpub.nl/p/print.css/export/txt todays-pad.html todays-pad.pdf

----------- REGEX SUBGROUP -----------

https://pad.xpub.nl/p/yuill

To copy the yuill text from my home to yours...
cp /home/murtaugh/public_html/yuill.txt .

syllabus that uses RegEx to introduce automata theory:
  http://www.cs.ru.nl/~herman/onderwijs/2016TnA/Silva_TnA.pdf

test your regexes here:
    https://regexr.com/


Michael (whispering): RegEx is ripe for a zine

isolate words
grep -o -E '\w+'


grep -o -E '\w+ \w+'
so to isolate the words of a text file:
    
cat yuill.txt | grep -o -E '\w+'

Save the words...

cat yuill.txt | grep -o -E '\w+' | sort > yuill_words.txt

'more' command for displaying files in a terminal better
'less'  command for displaying files in a terminal even better

cat yuill.txt | grep -o -E '\w+ \w+ \w+'

Using this reference:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet

- you can also use regular expressions to find and replace things in your editing software as well



---------------------------------------------------------------------------------------------------------------------------

CSS GROUP
in the studio
paged media - refers to media on pages

https://pzwiki.wdka.nl/mediadesign/Category:PagedMedia

https://pzwiki.wdka.nl/mediadesign/Weasyprint
https://pzwiki.wdka.nl/mediadesign/Paged_Media_CSS
https://pzwiki.wdka.nl/mediadesign/Paged_Media_CSS_examples

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/html > todays-pad.html

$ weasyprint -s https://pad.xpub.nl/p/print.css/export/txt todays-pad.html todays-pad.pdf

$ curl https://pad.xpub.nl/p/SI22-Monday-Oct-09/export/html > todays-pad.html && weasyprint -s https://pad.xpub.nl/p/print.css/export/txt todays-pad.html todays-pad.pdf

https://caniuse.com/
https://devdocs.io/