Showing posts with label technical. Show all posts
Showing posts with label technical. Show all posts

Sunday, September 21, 2014

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.

Thursday, September 11, 2014

Programming 2: sending out spam poems

The second program logic has been drafted. It took me almost two days to finish the programming.
*outstanding thing:
1/ think of how to select around 8k emails
2/ dedicated IP -> trial run -> load test for consecutive days of code running

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


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. :) 

technical diagrams and flows


















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" 

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

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

next action:
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
  • 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 
2/ Writing a poem to spammers 
  •  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
 3/ Reading spammer' email
  • 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
Technical equipment and architecture:

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) 


Saturday, April 12, 2014

TCP and UDP

readme.SpamPoem

quite a lot to update, how to start?

ok- readme.SpamPoem is done, it is more to explore the spam language/culture as well as the autoreply as the medium to distribute artwork. See here: http://www.siusoon.com/home/?p=1184

But I am now also working on writeme.SpamPoem. What I want to do is to develop a generative work that utilize the entire spam poem pool. Currently, it randomly pick up a poem record, and then interact with the mouse movement. I want to replace the mouse movement with network / packet data, such that it comes an autonomous piece but also interact with the environment.

I am exploring various options such as carnivore lib as well as wireshark. I tend to use carnivore as it integrates pretty good with processing. For wireshark, it offers much more data, however, it will increase the complexity of the data file.

I download the latest carnivore lib and it doesn't really work with processing 2.1. It seems i have to install a backward version in order to support 32 bit. Here is the result: https://github.com/RSG/Carnivore/issues/2


Monday, April 7, 2014

The architecture of open data platform

Few things interest me that are closely related to real time technology:
1/ CKAN as an open source platform
2/ the real time module websocket server
3/ the event detection interface at postgresql

The other thing is the understanding of real time -> you require constant polling of request, this cause delay, but also still consider as real time/streaming data. 

drew by LASSE STEENBOCK VESTERGAARD from ALEXANDRA INSTITUTTET A/S