Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Practical /Prog/ Challenge

Name: Anonymous 2007-09-08 17:17 ID:P8+/2q3A

The challenge is to make a PROGWATCH program

What it does is, scans this file:
http://dis.4chan.org/prog/subject.txt
every 1 min, 10 mins or 30 seconds or so..

When a change occurs (e.g. someone makes a new post or whatever) then it should exec some program set by the user, with the given args

so for example, you could set it up to open your webbrowser for  the page, or get growl to display "New thread on /prog/, title: Ive read SICP!" etc etc

I will post mine afterwards.. anyway good luck and GO FOR IT!

Name: Anonymous 2007-09-08 17:23 ID:Heaven

while true; do wget -O /dev/null http://dis.4chan.org/prog/subject.txt; done

Name: Anonymous 2007-09-08 17:35 ID:P8+/2q3A

>>2
that doesn't do it....

Name: Anonymous 2007-09-08 17:43 ID:P8+/2q3A

more like
while true; do cp prog.txt prog2.txt && curl -o prog.txt http://dis.4chan.org/prog/subject.txt && diff prog* | grep "^<" ; done

Name: Anonymous 2007-09-08 17:43 ID:P8+/2q3A

>>4
but obviously needs to parse output etc

Name: sage 2007-09-08 17:46 ID:Heaven

>>3
while true; do curl -A sage -F bbs=prog -F id=1189285965 -F  lol what 2 -F meiru=sage -F kotehan=sage -F com=sage -F email= http://dis.4chan.org/post; sleep 5; done

Name: sage 2007-09-08 17:48 ID:Heaven

>>6
Oh yeah, forgot about that wordfilter...
while true; do curl -A sage -F bbs=prog -F id=1189285965 -F shiichan=proper2 -F meiru=sage -F kotehan=sage -F com=sage -F email= http://dis.4chan.org/post; sleep 5; done

Name: sage 2007-09-08 17:49 ID:Heaven

sage

Name: sage 2007-09-08 17:49 ID:Heaven

sage

Name: sage 2007-09-08 17:49 ID:Heaven

sage

Name: sage 2007-09-08 17:49 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:50 ID:Heaven

sage

Name: sage 2007-09-08 17:51 ID:Heaven

sage

Name: Anonymous 2007-09-08 18:17 ID:P8+/2q3A

>>20
why are you saging lol

Name: Anonymous 2007-09-08 18:21 ID:v8LJ153d

sage

Name: Anonymous 2007-09-08 18:31 ID:vH2kB9X5

Funny you should mention this, I've already starting writing a search engine for /prog/, using subject.txt to look for changed threads to download. It'll be ready this coming week sometime.

Name: Anonymous 2007-09-08 18:57 ID:P8+/2q3A

>>23
in java?

Name: Anonymous 2007-09-08 22:03 ID:P8+/2q3A

>>24
it must be java if hes taking this long lol

Name: Anonymous 2007-09-08 23:55 ID:P8+/2q3A

>>24
>>25
same person

Name: Anonymous 2007-09-08 23:56 ID:P8+/2q3A

oh for fucks sake, Im far too tired today... never realised all 3 posts were me lol

gah.. this is what staying up trying to finish fucking c homework does to you

Name: Anonymous 2007-09-09 0:08 ID:v6kfGJnq

>>27
this made my fucking day
too bad it's 12 am here and i'm awake for two days ... fuck i wish you posted that earlier!
fuck1!

Name: Anonymous 2007-09-09 0:08 ID:v6kfGJnq

>>27
wait, C homework? post it here and i'll help

Name: Anonymous 2007-09-09 0:12 ID:ESwnjzn2

>>29
lol
I am doing ok, it's just time consuming thanks for the offer though very kind :)

Name: sage 2007-09-09 4:39 ID:Heaven

sage

Name: sage 2007-09-09 4:39 ID:Heaven

sage

Name: Anonymous 2007-09-09 5:36 ID:i39FV6TP

I'll do your C homework in Python

Name: Anonymous 2007-09-09 5:58 ID:LiOsF/B5

>>30
Let me do your homework. I'll do it, faggot.

Name: Anonymous 2007-09-09 6:12 ID:v6kfGJnq

>>34
not me!

Name: Anonymous 2007-09-09 8:43 ID:Alm8D+R2

My prog is finished, changed an old directory watch program I had, took half an hour. Produces output like:

Thread bumped: abelson and sussman, by Anonymous
Thread created: XXXXXXXXXXXXXX, by Anonymous

Will let it run for a bit and post my code if it works without errors.

Name: Anonymous 2007-09-09 8:43 ID:Alm8D+R2

It just said: Thread bumped: Practical /Prog/ Challenge, by Anonymous

Name: not anon 2007-09-09 8:44 ID:Alm8D+R2

It just said: Thread bumped: Practical /Prog/ Challenge, by Anonymous

Name: Anonymous 2007-09-09 8:45 ID:Alm8D+R2

Oh shit, the name tag in the subject file is not the last poster, it's the original

Name: Anonymous 2007-09-09 8:45 ID:Alm8D+R2

Thread bumped: Practical /Prog/ Challenge, by Anonymous

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List