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

Pages: 1-4041-

Daily Programming Exercise/Challenge

Name: Anonymous 2012-02-12 7:23

Write a program that takes any thread on 4chan as the first argument. Make the program return the number of replies in the thread, the number of image replies in the thread, the number of sage replies in the thread, and the top 10 most popular words in the thread.

Extra credit: Return the average time between posts in the thread and the age of the thread as well.

Extra credit #2: Intelligently let the user know if the thread became inactive for a period but then was revived, and for how long and when.

Name: Anonymous 2012-02-12 8:22

Boring. With ideas like those you won't amount to much.

Name: Anonymous 2012-02-12 9:38

age of the thread
That's the easiest part to do, since the time it was made is in the URL.

Name: Anonymous 2012-02-12 9:53

the number of image replies in the thread
Fuck off.

Name: Anonymous 2012-02-12 12:41

Saw this in /g/.

Name: Anonymous 2012-02-12 13:23

>>4
ASCII too advanced for you tuff guy?

Name: Anonymous 2012-02-12 13:38

>>6
That doesn't even make any sense.

Name: Anonymous 2012-02-12 13:42

the number of image replies
back to the image boards with you, ``faggot''

Name: Anonymous 2012-02-12 13:51

>>2
This is coming from someone who doesn't have the mental capacity to even work as a computer programmer as a living. Ya know, it's one thing to call people names. It's an entirely different thing to be able to sit down and write code. Now shut up and go serve another customer you damn idiot.

By the way, I'm still not granting your sorry ass the first interview. Go away.

Name: Anonymous 2012-02-12 15:03

>>9
fuck off fa/g//g/ot

Name: Anonymous 2012-02-12 16:24

Shouldn't be too hard to do with a Scrapy script and some python. The hard part is getting the data out of the raw HTML.

Name: Anonymous 2012-02-12 16:42

>>12
Except that it's not.

Name: Anonymous 2012-02-12 17:23

I don't see the challenge.

It's basically a : can you parse html used by 4chan

Name: Anonymous 2012-02-12 17:40

It's basically a : can you parse html used by 4chan

ENTERPRISE QUALITY HTML.

Name: Anonymous 2012-02-12 17:42

how much of your grade is this assignment worth?

Name: Anonymous 2012-02-12 17:57

NEW PROGRAMMING CHALLENGE:

MAKE A TROLL BOT THAT DYNAMICALLY RESPONDS TO PEOPLE WHO REPLY TO IT WITH A RELATED ARGUEMENT

-1.)MUST MEASURE THE ANGER OF THE RESPONSE AND USE ALPHA-BETA PRUNING TO ELIMINATE

-2.) MUST BE ABLE TO PARSE REPLIES AND DETERMINE IF IT IS BEING TROLLED, IF IT IS IT SHOULD EVALUATE TROLL VALUE AND PLACE IT IN TROLL TREE ACCORDINGLY

Name: Anonymous 2012-02-12 18:17

>>16
shalom israel

Name: Anonymous 2012-02-12 18:30

>>16
You know... that's not a bad idea. If the imageboards didn't have captcha we could deploy on them to troll them 24/7
░░░░░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄
░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█
░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█
░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█
█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█
█▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█
░░█░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█
░░░█░░██░░▀█▄▄▄█▄▄█▄████░█
░░░░█░░░▀▀▄░█░░░█░███████░█
░░░░░▀▄░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█
░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░█
░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░█
░░░░░░░░░░░░░░▀▄▄▄▄▄░░░░░█

Name: Anonymous 2012-02-12 18:35

>>18
or we could just use it to destroy all the other text boards
extra credit, make a recaptcha solver

Name: Anonymous 2012-02-12 18:39

>>19
there can only be one

Name: Anonymous 2012-02-12 18:50

>>19
I think this is something that /prog/ can easily do.

Unlike that RPG idea some had a few months ago

Name: Anonymous 2012-02-12 18:56

check 'em

Name: Anonymous 2012-02-12 19:01

>>22
dulce dubles

Name: Anonymous 2012-02-12 19:04

this post # has dubs when convert to binary

Name: Anonymous 2012-02-12 19:07

this post # has dubs when convert to base 24

Name: Anonymous 2012-02-12 19:57

>>25
i'm not good at maths but aren't all numbers n dubs in base n-1?

Name: Anonymous 2012-02-12 20:17

>>19
If we solve reCAPTCHA, we can rent our software to haxors and become millionaires.

Name: Anonymous 2012-02-12 20:21

>>27
with our powers combined

Name: Anonymous 2012-02-12 20:21

>>26
Yes.

Name: Anonymous 2012-02-12 20:25

>>27
rent software...
to hackers....

seems legit lets do this shit

Name: Anonymous 2012-02-12 21:21

>>29
Uhh...no.

Name: Anonymous 2012-02-12 22:00

>>26

let lim 1/x = n as x --> 0.

base n-1 on n = n.

Name: Anonymous 2012-02-13 0:03

http://wegeneredv.de/antirecaptcha.pdf
automatically solve recaptcha everyday

Name: Anonymous 2012-02-13 0:18

>>19

trolling might be easy, in that it usually consists of short responses that nudge the reader to higher levels of anger, but to do it effectively requires some intelligence, and some knowledge about what will be offensive, and to whom.

lets see:

user post history -> inferred information about target user -> statements that are highly offensive to users with such information -> short one liner generator.

Name: Anonymous 2012-02-13 0:42

>>9
The sad thing is you wear the fact that you can code as proof that you're somehow intelligent. The truth being: coding is easy. Anyone can do it, the term "code monkey" comes from this fact.

In reality this profession or hobby is picked up by people who are idiots. They suck at almost everything including socializing. So whenever they try explain programming to someone else, simple though it may be, it comes off as sounding complicated. Thus further propagating the myth that programming is somehow hard and you need to be very smart to do it.

Additionally, due to people like you pretending it is hard, this further reinforces the myth. Perhaps you do so because your perceived intelligence is all you have. Too bad programming is even more trivial than mathematics and could be taught to a 12 year old.

Name: Anonymous 2012-02-13 7:32

>>2

Even the shittiest idea that has been executed holds more weight than a great idea that has yet to come to fruition.

Just do it and shut up.

Name: Anonymous 2012-02-13 8:18

>>36
Even the shittiest idea that has been executed holds more weight than a great idea that has yet to come to fruition.
So you are saying that going out and killing 6 million Jews is better than fantasising about writing a useful program in Lisp some day?

Name: Anonymous 2012-02-13 8:28

>>37
No. It's just the idea holds weight. There's nothing said about being better.

Name: Anonymous 2012-02-13 8:30

>>37

Yes. Most evidently.

Name: Anonymous 2013-09-01 10:06


No, that was one of the first things that was scrapped mechanically. Once you unlock a class you can grind it for as long as you want.

Name: Anonymous 2013-09-01 10:51


 Perverted old man has been influenced by nigger culture

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