This blog explores the intersection of the aesthetics of generativity and liveness in network art. Theoretically I would like to draw a connection between generativity and liveness as part of my entire research. The outcome will be an artwork that visualize data in a dynamic and unpredictable manner. Therefore, this blog is more documenting my reflective notes and creative processes towards theory and practice.
Monday, April 25, 2016
Sunday, September 28, 2014
Autorun testing
1/ For PI: - create a desktop file -> running a python file (readme)
- create a desktop file: type nano <filename>.desktop
- type the followings: http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/desktop-shortcuts
- put it in the autostart directory: '
setting full screen for lxterminal:
> change the xml file in pi/.config/openbox -> add
<application name = "lxterminal">
<decor>no</decor>
<maximized>true</maximized>
<fullscreen>true</fullscreen>
Procedures for my pi:
- plug in ethernet cable (not the mouse and keyboard)
- plug in power
- everything will start by itself!
* To set HDMI -> VGA, need to change the config file: http://www.makeuseof.com/tag/three-ways-to-display-your-raspberry-pi-on-a-monitor-or-tv/
* To set background and foreground color, just go to lxterminal > preference
* To set screensaver off, edit the file (sudo nano xxxxxxx):
- http://www.etcwiki.org/wiki/Disable_screensaver_and_screen_blanking_Raspberry_Pi
- more methods: http://www.raspberrypi.org/forums/viewtopic.php?f=66&t=18200
- and this: http://it.thelibrarie.com/weblog/2013/07/raspberry-pi-disable-screensaver/
* to remove mouse cursor (this works for me, but you need to remove that line if you want the cursor appears again) : http://darmawan-salihun.blogspot.hk/2013/01/disabling-raspberry-pi-cursor-inside.html
2/XP computer : running a web page
1/ get firefox and set the homepage
2/ download an addon call full screen add on -> do the settings for auto full screen
3/ create a new firefox short cut in start up : start> all programs > right click > ..
4/ hide your mouse here: http://www.softwareok.com/?seite=Microsoft/AutoHideMouseCursor
3/ macbook : running a python file (writeemail)
- Download iTerm2 to replace original terminal (because with full screen feature)
- Then set the default command line (say: run a specific python path)
- Set the full screen mode and set as default window arrangement
- in iTerm2 preference, check for default window arrangement (means everytime will open in full screen)
- go to system preference > account > login > add in iTerms (to make sure whenever macbook login, it will automatically load iTerm2)
- create a desktop file: type nano <filename>.desktop
- type the followings: http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/desktop-shortcuts
- put it in the autostart directory: '
mkdir ~/.config/autostart" , then copy the desktop file to there (http://raspberrypi.stackexchange.com/questions/12730/start-a-lxterminal-on-startup)- python path here: setting full screen for lxterminal:
> change the xml file in pi/.config/openbox -> add
<application name = "lxterminal">
<decor>no</decor>
<maximized>true</maximized>
<fullscreen>true</fullscreen>
Procedures for my pi:
- plug in ethernet cable (not the mouse and keyboard)
- plug in power
- everything will start by itself!
* To set HDMI -> VGA, need to change the config file: http://www.makeuseof.com/tag/three-ways-to-display-your-raspberry-pi-on-a-monitor-or-tv/
* To set background and foreground color, just go to lxterminal > preference
* To set screensaver off, edit the file (sudo nano xxxxxxx):
- http://www.etcwiki.org/wiki/Disable_screensaver_and_screen_blanking_Raspberry_Pi
- more methods: http://www.raspberrypi.org/forums/viewtopic.php?f=66&t=18200
- and this: http://it.thelibrarie.com/weblog/2013/07/raspberry-pi-disable-screensaver/
* to remove mouse cursor (this works for me, but you need to remove that line if you want the cursor appears again) : http://darmawan-salihun.blogspot.hk/2013/01/disabling-raspberry-pi-cursor-inside.html
... [SeatDefaults] xserver-command=X -nocursor ...
2/XP computer : running a web page
1/ get firefox and set the homepage
2/ download an addon call full screen add on -> do the settings for auto full screen
3/ create a new firefox short cut in start up : start> all programs > right click > ..
4/ hide your mouse here: http://www.softwareok.com/?seite=Microsoft/AutoHideMouseCursor
3/ macbook : running a python file (writeemail)
- Download iTerm2 to replace original terminal (because with full screen feature)
- Then set the default command line (say: run a specific python path)
- Set the full screen mode and set as default window arrangement
- in iTerm2 preference, check for default window arrangement (means everytime will open in full screen)
- go to system preference > account > login > add in iTerms (to make sure whenever macbook login, it will automatically load iTerm2)
Monday, September 22, 2014
autorun
For the purpose of minimizing administrative procedures, I have to think of ways to smooth-en the setup of my works.
Currently I have three programs, my ideal mapping as follow:
- edit http://www.slideshare.net/SeggySegaran/raspberry-pi-autostarting-a-python-program
- start on terminal: http://www.raspberrypi.org/forums/viewtopic.php?f=32&t=76653
- setting screen size: http://ubuntuforums.org/showthread.php?t=1888851
- edit configure file for full screen: http://forum.lxde.org/viewtopic.php?f=3&t=31566
- more customization: http://bbs.archbang.org/viewtopic.php?id=355
- autorun when boot: http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=65607
- note: can it do full screen automatically?
- Then set the default command line (say: run a specific python path)
- Set the full screen mode and set as default window arrangement
- in iTerm2 preference, check for default window arrangement (means everytime will open in full screen)
- go to system preference > account > login > add in iTerms (to make sure whenever macbook login, it will automatically load iTerm2)
- SUCCESS!!
-> also need to do ssh to allow remote access-> just in case need to fix any issues
extra:
- autorun a PI with full screen browser and a specific address: http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/auto-run-browser-on-startup
Currently I have three programs, my ideal mapping as follow:
- Pi -> run python script >
- edit http://www.slideshare.net/SeggySegaran/raspberry-pi-autostarting-a-python-program
- start on terminal: http://www.raspberrypi.org/forums/viewtopic.php?f=32&t=76653
- setting screen size: http://ubuntuforums.org/showthread.php?t=1888851
- edit configure file for full screen: http://forum.lxde.org/viewtopic.php?f=3&t=31566
- more customization: http://bbs.archbang.org/viewtopic.php?id=355
- autorun when boot: http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=65607
- note: can it do full screen automatically?
- mac book -> run python script
- Then set the default command line (say: run a specific python path)
- Set the full screen mode and set as default window arrangement
- in iTerm2 preference, check for default window arrangement (means everytime will open in full screen)
- go to system preference > account > login > add in iTerms (to make sure whenever macbook login, it will automatically load iTerm2)
- SUCCESS!!
- Windowns 98 -> run a browser -> a default page is set -> keep refreshing a html page
- Windows XP -> autostart running a browser: http://en.kioskea.net/faq/2282-automatically-launch-a-program-at-pc-startup
-> also need to do ssh to allow remote access-> just in case need to fix any issues
extra:
- autorun a PI with full screen browser and a specific address: http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/gui/auto-run-browser-on-startup
Sunday, September 21, 2014
Thinking about error code and exceptions
In an exhibition settings, of course I would like to minimize the possible errors and so that minimize admin configuration by the gallery assistant. As such, I need to implement functions such as: continuous loop, catch exceptions and log them, also bypass if any exceptions are found.
Then I realize this acts possibly the ways to contribute automation. To keep machines running, no matter errors are found, it keeps produce thing.
Programming 3: reading networked replies
Third screen is about reading networked replies..
- selecting what to display: I tend to display everything includes header and things that is usually hidden in an email client interface. But I do want to exclude the original sent message (which includes poems), because audience suppose to see those msg already and it is hardly seen everything in one screen if there is no mouse provided.
- selecting what to display: I tend to display everything includes header and things that is usually hidden in an email client interface. But I do want to exclude the original sent message (which includes poems), because audience suppose to see those msg already and it is hardly seen everything in one screen if there is no mouse provided.
Thursday, September 11, 2014
Exhibition: computers allocation
1x windows - run python - screen 2 [need to check if i need to install python] -> or download another browser to run animation such as firefox.
1x Pi -> run python - screen 3 [python available in pi]
1x macbook -> run animation on a browser
two php run on the server, a conj job is set.
1x getting the latest spammer list
1x display animated interface
1x Pi -> run python - screen 3 [python available in pi]
1x macbook -> run animation on a browser
two php run on the server, a conj job is set.
1x getting the latest spammer list
1x display animated interface
Tuesday, September 9, 2014
Pi with screens
I have bought few things from taobao:
1/ screen -> screen broken
2/ 3.2 tft screen -> not working as I need to reinstall pi OS. The original OS requires 4GB free space then I found another one online: http://pan.baidu.com/s/1ntkJo85#path=%252FLCD32-CN%252FIMAGE. I can't use existing OS and get the screen up and running
3/ hdmi to vga cable -> works fine and quality is good
4/ mini projector is working, but just too low resolution
5/ big keyboard doesn't really work properly..at the end i use another china usb keyboard.
other testing:
- it can't really load the hellozombies page, possibly it requires much more ram and memory. Therefore, this device can only be used in running python script.
- it can load once with the Midori browser -> very slow though
1/ screen -> screen broken
2/ 3.2 tft screen -> not working as I need to reinstall pi OS. The original OS requires 4GB free space then I found another one online: http://pan.baidu.com/s/1ntkJo85#path=%252FLCD32-CN%252FIMAGE. I can't use existing OS and get the screen up and running
3/ hdmi to vga cable -> works fine and quality is good
4/ mini projector is working, but just too low resolution
5/ big keyboard doesn't really work properly..at the end i use another china usb keyboard.
other testing:
- it can't really load the hellozombies page, possibly it requires much more ram and memory. Therefore, this device can only be used in running python script.
- it can load once with the Midori browser -> very slow though
Sunday, September 7, 2014
Monday, September 1, 2014
Estimated costing and technical requirement
Cost for both setup:
1/ Dedicated server IP: $900
2/ Domain: $78
3/ Transportation:
Transport (SSP to CityU): $60
Transport (CityU to connecting space): $160
Transport (Connecting space to HSK): $500
Setup1 with all zombie media
1/ old and cases monitors: $920
2/ Pi: $560
3/ Projector (need to source/SCM?)
4/ Computer accessories: VGA splitter for the big CRT + projection screen, HDMI to VGA (for Pi), Ethernet cables x 3, cable extension e.g power/ ethernet , router??
5/ Extension cord (with at least 8 plugs: 4x monitors, 1x case, 1x Pi, 1x computer) : site provided?
6/ Mac computer - lab top (self provided)
Setup 2 with two monitors:
1/ old monitor: $920
2/ Pi: $560
3/ Mac computer - labtop (self provided)
4/ Projector (need to source / scm?)
5/ Computer accessories: HDMI to VGA (for Pi): $50, cable extension, ethernet cables x 3
6/ wall-mounted stand for CRT x 2 (need to source)
1/ Dedicated server IP: $900
2/ Domain: $78
3/ Transportation:
Transport (SSP to CityU): $60
Transport (CityU to connecting space): $160
Transport (Connecting space to HSK): $500
Setup1 with all zombie media
1/ old and cases monitors: $920
2/ Pi: $560
3/ Projector (need to source/SCM?)
4/ Computer accessories: VGA splitter for the big CRT + projection screen, HDMI to VGA (for Pi), Ethernet cables x 3, cable extension e.g power/ ethernet , router??
5/ Extension cord (with at least 8 plugs: 4x monitors, 1x case, 1x Pi, 1x computer) : site provided?
6/ Mac computer - lab top (self provided)
Setup 2 with two monitors:
1/ old monitor: $920
2/ Pi: $560
3/ Mac computer - labtop (self provided)
4/ Projector (need to source / scm?)
5/ Computer accessories: HDMI to VGA (for Pi): $50, cable extension, ethernet cables x 3
6/ wall-mounted stand for CRT x 2 (need to source)
Monday, August 25, 2014
hello zombies
o...i almost finish the first screen with the zombies!!
Basic functions are finished including getting spammer list (copy and unzip to txt), read txt and display rolling html txt. lol
I am thinking the con job scheduler and found this: http://www.phpjobscheduler.co.uk/. As such, the download and upload process can be centralized and handle by one script. yah! Therefore, everytime the page load and retrieve the spammer txt file on my server. :)
Basic functions are finished including getting spammer list (copy and unzip to txt), read txt and display rolling html txt. lol
I am thinking the con job scheduler and found this: http://www.phpjobscheduler.co.uk/. As such, the download and upload process can be centralized and handle by one script. yah! Therefore, everytime the page load and retrieve the spammer txt file on my server. :)
Tuesday, August 19, 2014
Dealing with Respberry Pi for exhibition settings
I have been working long for the wifi connection, still cannot figured out the eduroam settings. Then I work on Ethernet cable and internet works with cable connection.
Things work fine after changing the power adaptor and cable, with a more stable current flow and both keyboard and mouse response well.
I can able to surf online, browsing different pages.
Python version is 3.2.3 [GCC 4.6.3]
1/ How to run python: http://mcpionline.wordpress.com/2013/02/18/how-to-run-python-programs-on-the-raspberry-pi/
2/ Setting up SSH to communicate between mac and pi [PI Ethernet cable to router & Mac Ethernet cable to router]: http://www.raspberrypi.org/documentation/remote-access/ssh/unix.md
3/ To get IP address in PI: hostname -I
4/ To set up file transfer between PI and MAC: http://raspberrypi.stackexchange.com/questions/8950/copy-files-from-osx-to-from-pi
5/ run all the tested python script @ PI
6/ Fix WIFI dongle
- it works for other WIFI but not eduroam
7/ accessing file system command: http://www.raspberry-projects.com/pi/command-line/file-system
8/ setup virtual keyboard: require internet connection: "sudo apt-get install matchbox"
Things work fine after changing the power adaptor and cable, with a more stable current flow and both keyboard and mouse response well.
I can able to surf online, browsing different pages.
Python version is 3.2.3 [GCC 4.6.3]
1/ How to run python: http://mcpionline.wordpress.com/2013/02/18/how-to-run-python-programs-on-the-raspberry-pi/
2/ Setting up SSH to communicate between mac and pi [PI Ethernet cable to router & Mac Ethernet cable to router]: http://www.raspberrypi.org/documentation/remote-access/ssh/unix.md
3/ To get IP address in PI: hostname -I
4/ To set up file transfer between PI and MAC: http://raspberrypi.stackexchange.com/questions/8950/copy-files-from-osx-to-from-pi
5/ run all the tested python script @ PI
6/ Fix WIFI dongle
- it works for other WIFI but not eduroam
7/ accessing file system command: http://www.raspberry-projects.com/pi/command-line/file-system
8/ setup virtual keyboard: require internet connection: "sudo apt-get install matchbox"
Sunday, August 17, 2014
Thinking about the screens
I have to submit some images and final idea to WMC..today I finally have sometime to seat down and rethink the whole process. At the same time, estimating the technical feasibility.
#1: php spammer list display
- upload and unzip file on webserver with php: http://www.a2zwebhelp.com/upload-file-unzip-webserver
#2: sending spam poem:
- read internet web text with Python: http://www.daniweb.com/software-development/python/threads/161312/reading-from-a-website
- time delay with Python: http://stackoverflow.com/questions/510348/how-can-i-make-a-time-delay-in-python
#3: listening to reply:
- need to write a script to run the script in every 10 mins
#1: php spammer list display
- upload and unzip file on webserver with php: http://www.a2zwebhelp.com/upload-file-unzip-webserver
#2: sending spam poem:
- read internet web text with Python: http://www.daniweb.com/software-development/python/threads/161312/reading-from-a-website
- time delay with Python: http://stackoverflow.com/questions/510348/how-can-i-make-a-time-delay-in-python
#3: listening to reply:
- need to write a script to run the script in every 10 mins
Saturday, August 16, 2014
Monday, August 11, 2014
Testing on Pi thing
Get the micro 8GB SD card, format it and download the OS. Ready to go!!
http://www.raspberrypi.org/help/noobs-setup/
Other notes:
Audio/video jack: https://learn.adafruit.com/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b/audio-slash-video
setting up wifi: http://www.raspyfi.com/wi-fi-on-raspberry-pi-a-simple-guide/ and https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/setting-up-wifi-with-raspbian
Pi tutorial course: http://www.suntimebox.com/raspberry-pi-tutorial-course/
http://www.raspberrypi.org/help/noobs-setup/
Other notes:
Audio/video jack: https://learn.adafruit.com/introducing-the-raspberry-pi-model-b-plus-plus-differences-vs-model-b/audio-slash-video
setting up wifi: http://www.raspyfi.com/wi-fi-on-raspberry-pi-a-simple-guide/ and https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/setting-up-wifi-with-raspbian
Pi tutorial course: http://www.suntimebox.com/raspberry-pi-tutorial-course/
Thursday, August 7, 2014
Python testing: sending and reading email
Tested:
1/ simple scrolling email -> js and html
2/ simple python sending out an email
3/ simple python reading out an email
4/ simple python deleting mails on server
- delete mail on server: http://shallowsky.com/blog/programming/deleting-pop-email.html
- sending email: http://www.blog.pythonlibrary.org/2013/06/26/python-102-how-to-send-an-email-using-smtplib-email/
- scrolling on a web page: http://www.htmlcodetutorial.com/_MARQUEE.html
- Book reference: Programming Python- https://www.inkling.com/store/book/programming-python-mark-lutz-4th/?chapterId=9e6f9839ca3d4ac8a677e2ba2efc5ec6
1/ test sticky screen
2/ read email content instead of subject + check the duplicate read email (store in a text file)
3/ continuous send email with delay (say every 2 seconds / mail) + random text file content
4/ two forms of display: many text on a single screen or one by one flashing
5/ small python script to download zip file then unzip and store in a specific location: http://www.stopforumspam.com/downloads/
Sunday, August 3, 2014
Almost latest idea - writing to spammers
Artwork title: Writing to Spammers
The work is about:
- intervening the spam system
- understanding the techno-materiality of spam system e.g server, coding and mail library
- understanding the cultural logic of reading and writing spam
- criticizing the massive cultural spam industry
- counter suggesting to response to spam rather than filter it in the mailbox
How it works:
1/ Display of the animated spam address
1/ Dedicated IP server
2/ A web domain e.g www.writingtospammers.com
3/ a email address such as reply@writingtospammers.com
4/ #1> display email address } a web page (html, jquery, php) or python with UI framework
5/ #2> writing spam email } either php or a python script
6/ #3> reading spam email } either php or a python script
Next actions:
1/ test script1: python ftp and get zip file, unzip and then display the text on terminal; then check UI, adjust font color, text size, animated effect and full screen
2/ test script2: python sending dummy email (smtp) and check delay/sleep syntax
3/ test script3: python receiving dummy email (pop3)
The work is about:
- intervening the spam system
- understanding the techno-materiality of spam system e.g server, coding and mail library
- understanding the cultural logic of reading and writing spam
- criticizing the massive cultural spam industry
- counter suggesting to response to spam rather than filter it in the mailbox
How it works:
1/ Display of the animated spam address
- A program is written to extract a spammer list for every 24 hours
- getting latest zip file, unzip and put on web server again
- a screen displays with fade in/out or running text of a spammer email address, one follows the other
- A program is written to keep sending out a spam poem to each of the spammer
- random selection of one of my spam poems
- need to know which one has been sent and which one hasn't
- need to display the sending process e.g which email address, which poem to send, status such as start sending, successfully delivered etc.
- auto scroll/process to display the next spam poem, logic repeats
- * specify sender email address, subject, content, to-address
- A python script is written to keep listening to the email server and see if any auto reply or bounce back email
- continuous check (poll) request to mail server
- download the email content, email address, timestamp, subject etc and able to mark read/delete the email on server
- Display the email content on screen
1/ Dedicated IP server
2/ A web domain e.g www.writingtospammers.com
3/ a email address such as reply@writingtospammers.com
4/ #1> display email address } a web page (html, jquery, php) or python with UI framework
5/ #2> writing spam email } either php or a python script
6/ #3> reading spam email } either php or a python script
Next actions:
1/ test script1: python ftp and get zip file, unzip and then display the text on terminal; then check UI, adjust font color, text size, animated effect and full screen
2/ test script2: python sending dummy email (smtp) and check delay/sleep syntax
3/ test script3: python receiving dummy email (pop3)
Friday, August 1, 2014
About spider and Crawler
- Create an advanced Crawler in PHP: http://subinsb.com/php-create-advanced-web-crawler
- Resursive scraping with python Scrapy: http://mherman.org/blog/2012/11/08/recursively-scraping-web-pages-with-scrapy/#.U9s_JUjPYb0
- Send email in PHP - gmail and outlook: http://subinsb.com/send-mails-via-smtp-server-gmail-outlook-php
- Check internet connection in js or jquery: http://subinsb.com/how-to-check-if-internet-connection-exists-in-jquery-javascript
- How do spammers harvest email address: http://www.private.org.il/harvest.html
Subscribe to:
Posts (Atom)














.jpg)








