[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Shitpost Generator
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 54
I made a rudimentary shitpost generator using Markov chains. Sometimes it says funny things. Forgive me if this has been done before.

https://github.com/eon8ight/shitpost-learner

It trains a Markov chain using all posts on a given board, and generates posts that roughly sound like a shitpost tailored to that board.

I know nothing about AI so it's extremely simple.

Here's what it says after training it on /g/:
>JUST AN SOCIAL EXPERIMENT Freetard intelligence, everybody
>And even 65 fps at 120/144hz looks and feels more lightweight But it is better than 8
>I don't know how to tell them their websites aren't real
>For God's sake do some simulations of different things in computer science is technology, so is photography fuck off back to pol please Mom I posted this question on the desk /10 I only have one from each column by using the Internet

If anyone knows anything about machine learning and knows how to make it generate better shitposts, feel free to branch it.
>>
This looks interesting, I'll take a look at it when I wake up.
>>
>using a library for markov chaining
>>
Thanks for the quality software, OP
>>
>>52218242
Looks alright for a first time thing, it might help to read the source of pymarkovchain as a gateway into learning how to write your own generator in the future.

you might also find this useful:

https://github.com/Deimos/SubredditSimulator

Also, prepare for a hail of shit from people regarding your coding style and use of globals.

>>52218558
>the year of our lord 2016
>using any form of abstraction

fuck them for wanting to learn, right?
>>
>>52218242

I just trained it on /sp/ (don't know if any of you niggas visit /sp/ but hey ho) and this is what it said:

>loooool Thats right motherfuckers we won as always

>They'll do jack shit with that kind of in a professionnal league at the soup kitchen after you're done using library Internet to post here

>Seriously

>MAGIC PEOPLE

Kek at the first one especially.

>we
>>
>>52218702
a primitive markov chainer isn't that hard to write
>>
>>52218242

By the way it doesn't like >>>/b/ for some reason, here's a trace:

Bens-MacBook-Pro:shitpost-learner-master Ben$ ./shitposter.py
WARNING:root:Database file corrupt or not found, using empty database
Enter the name of the board you would like to learn how to shitpost from.
Ex. /a/, /fit/, /tv/, etc.
/b/
Training... (may take a while)
Traceback (most recent call last):
File "./shitposter.py", line 113, in <module>
main( sys.argv[1:] )
File "./shitposter.py", line 109, in main
analyze_board( board )
File "./shitposter.py", line 38, in analyze_board
append_to_train_string( board, thread['no'] )
File "./shitposter.py", line 20, in append_to_train_string
response = urllib2.urlopen( 'http://a.4cdn.org' + board + 'thread/' + str( thread_id ) + '.json' )
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
Bens-MacBook-Pro:shitpost-learner-master Ben$
>>
>>52218702
Thanks for the critique! I haven't seriously worked with Python much in the past (or with AI stuff at all) - my concentrations in school are in hardware and systems programming and my job is in DB management, so the vast majority of what I've worked on over the past year and a half has been in either C or Perl.
>>
This is really cool, i know nothing about programming but holy shit nice job !
>>
>>52218863
Looks like /b/ doesn't have an archive, so it's probably trying to access threads that are pruned between when it gets the thread ID and when it tries to read it.
>>
Stallman why is debian botnet
>>
>>52219083
It is improper and makes my orgasms much more out of people from their code because it says funny things
>>
File: 1451864316100.jpg (20 KB, 408x480) Image search: [Google]
1451864316100.jpg
20 KB, 408x480
Now pairs an image with a post. ex. from /fit/

>Iggy Pop was otter mode when he shows up at your door telling you that day animal from Facebook
>>
File: 1451652885625.gif (321 KB, 500x375) Image search: [Google]
1451652885625.gif
321 KB, 500x375
>nigger, my twitter is behind 7 subreddits

Also the readme file say to run ./PyMarkovChain, not like anybody actually reads it.
>>
>>52218242
Are you youknowwho from comfy O****T*** irc? baka desu :^)
>>
>>52220399
I rarely go on IRC more than a few times a month, so probably not
>>
>>52220495
Alright nvm then, was just some dude who made a bot to shitpost on irc using markov chains, thought maybe you were him. Gl on your project though
>>
>>52218242
I had a similar idea, basically you feed it a post and it will generate a shitpost reply by searching for keywords and shitting on them in order.

I think it's possible to shitpost passably this way, haven't gotten around to trying it out yet.
>>
>>52218242
This is killing my sides. Best of luck to you anon. I'm going to follow your progress for great justice.
>>
>>52218702
if you're claiming to use markov chains, yet don't understand them well enough to write one in whatever implementation language you choose, then you are a poser
>>
>>52218242
pretty simple. just uses the 4chan api, then runs MarkovChain() on the returned response. and handles input/output by a cli if/elf blocks


WEAK

do it again, but this time implement the markov function yourself
>>
OP, train the markov chain on this thread and start reposting, just to see if it starts calling itself out for shitposting.
>>
File: THIS.png (2 KB, 618x298) Image search: [Google]
THIS.png
2 KB, 618x298
>>52221517
This
>>
>>52218242
you should build a website for this. or maybe i should.

have it fetch data from all boards via cron and build the chains. then let users choose the board, number of shitposts etc. and generate them.
>>
>>52221435
>saying you use a tool is the same as saying you understand it intimately
Do you tell people you drive a car?
>>
>>52221689
you have to understand cars if you want to build good cars
>>
>>52221702
>Implying shitposting is some form of art.
>>
>>52218242
Nice! I used decision trees and some sample customer data to predict whether or not missing customers would remain loyal. Machine Learning is really cool stuff.
>>
>>52221732
>implying the current state of software development is worthy of being called engineering

bunch of fucking retards running around like chickens with their heads cut off because they can't even utilise B level mathematics or have a basis of mathematical logic, or even write a damn spec
>>
>>52221749
huehuehue, except it's fundamentally incorrect, you ignoramus. you think subtitles are easy to model with just one function?
>>
>>52221769
Not at even remotely what he was implying.
>>
>>52221769
Just let it all out, friend. This is a safe place for your feels. No one will make fun of you here.
>>
>>52221732
you haven't been around for long, have you?
>>
File: 1451849715986.jpg (19 KB, 236x337) Image search: [Google]
1451849715986.jpg
19 KB, 236x337
/lit/

>Even if you're not it's better to collect ancient literature in original language and teach your future children to speak them so they can appreciate true culture lmao You misunderstood
>>
>>52221791
>predict
>>
>>52221807
No, I've been around for a good three years, on /g/ anyway. A longer amount on other boards.
>>
>>52221791
ah, a perfect example here.

autocorrected subtleties to "subtitles". using markov chains are fundamentally wrong for these types of problems because they do not produce the correct result 100% of the time.
>>
/lit/

Wow this is surpsiginly profound

>Be a little reckless; you'll gain the courage to nudge the driver, the car off course, and drive it into a tree
>>
>>52221815
and what use is a wrong prediction?
>>
>>52221856
impossible to tell
>>
>>52218242
This is another fun one displaying random greentext shitposts

http://shiggy.azurewebsites.net/p/o-2014-271_DFFDE12A
>>
it would be better if you process analyze_board on a separate thread so that the entire processi sn't hung up when you are learning how to shitpost
>>
>>52218242
Post the sauce.
>>
>>52222042
He did you nig-nog. It's on the GitHub link.
>>
post the source of the Markov chain you're using OP
>>
also can you make it so it doesn't terminate if I type something incorrectly
>>
>>52222246
It shouldn't terminate if you type in something incorrectly
>>
>>52218863
You do realize you are only permitted to access the 4chan JSON api at most once per second.
>>
>>52222341
nvm, I meant when I try to switch boards after already generating some shitposts it terminates
>>
>>52222052
ImportError: No module named 'pymarkovchain'

wat do?
>>
>>52222370
download a markov chain module, just search for one on google
>>
File: shitpost.png (12 KB, 556x211) Image search: [Google]
shitpost.png
12 KB, 556x211
It picked my own post and fed it back to me as a shit post...
>>
>>52218242
Just looking at the code, it doesn't add every post, it only adds the last post of every thread:

def analyze_board( mc, board ):
#...
for page in data:
for thread in page['threads']:
train_string += thread_prop( images, board, thread['no'] )
#...

def thread_prop( images, board, thread_id ):
#...
for post in data['posts']:
if 'com' in post:
sanitized = sanitize( post['com'] )
retval = u' {}'.format( sanitized )

#...
return retval



The loop in thread_pop will process every post but will only return the string in the last post.

...

I don't have pymarkovchain (>>52222370 ), so does somebody what to see what comes out when you actually process all posts?
>>
How did you extract the training data? I have been wanting to rip all of /g/ and train char-RNN with it.
>>
>>52222567
>code literally there
>>
>>52222534
I will if you tell me what to change to do that
>>
>>52222614

retval += u' {}'.format( sanitized )


May also need to handle 404s when threads invariably die as you won't be able to process them all in time.
>>
>>52222614
I think this will do it:
def thread_prop( images, board, thread_id ):
#...
retval = ""
for post in data['posts']:
if 'com' in post:
sanitized = sanitize( post['com'] )
retval += u' {}'.format( sanitized )

#...
return retval
>>
>>52218242
Doesn't work when I try it on board etc
>>
>>52222643
>>52222644
I get this error:
Training... (may take a while)
Traceback (most recent call last):
File "shitposter.py", line 127, in <module>
main( sys.argv[1:] )
File "shitposter.py", line 123, in main
images = analyze_board( mc, board )
File "shitposter.py", line 57, in analyze_board
train_string += thread_prop( images, board, thread['no'] )
File "shitposter.py", line 39, in thread_prop
retval += u' {}'.format( sanitized )
UnboundLocalError: local variable 'retval' referenced before assignment
>>
>>52222722
Add
retval = ""
at the beginning of the function.
>>
>>52222369
That's weird - it doesn't do that on my machine

>>52222534
Good catch - I'll fix that. I'll also look into making a web version of this.

>>52222643
No need to do that in the loop thread_prop() - all of the data from a thread is being gotten at once. There is a 404 check at the very top of the function though.
>>
>>52222722
You have to declare the variable before referencing it. Which is why I put
retval = ""
before the loop.
>>
When they tell you you don't have to write a spec, what they're really telling you is that you don't have to think.

Thinking doesn't guarantees that you wont make mistakes, but not thinking guarantees that you will.

-Les Lamport, Ph.D, Mathematics
>>
>>52222746
>>52222768
Here lads, it still appears to be working, surprisingly doesn't take that long
>>
>>52221809
>>52221833

Hold the fuck up, are you responsible for this thread? >>>/lit/7533880
>>
>>52222884

Hold the fuck up, are you responsible for this post? >>52222811
>>
>>52221809
even still, /lit/ is pretentious
>>
>>52222811
>>52222852
>>52222884
>>52222917
new meme?
>>
from HTMLParser import HTMLParser


Then not a single instance of HTMLParser being used in the body of the code...
>>
>>52223002
thread_ids = list()

another unneeded line.

>>52222760
When the thread dies (in thread_prop), you should
return u''
, not
return #None
>>
>>52218242
Continue training it on /g/. Maybe one of the days it'll get massive reply chains and start a shitfest
>>
>>52223131
You need to also get it to pick a good image. If possible, one that somewhat relates to the shitpost.

But I assume that's a lot harder.
>>
>>52223183
Or just end every post with "pic unrelated"
>>
>>52223183
Just use smug anime girls. They're related to everything.
>>
>>52218242
You're my hero Anonymous.
>>
File: 1451456829796.jpg (21 KB, 417x352) Image search: [Google]
1451456829796.jpg
21 KB, 417x352
>>52223261
>>
>>52221579
Tried making a web version that uses CGI. A separate Python script runs on a crontab and populates a database for each board, and the webpage itself runs Python that uses those databases to generate shitposts.

https://github.com/eon8ight/shitpost-learner/tree/web
>>
File: 2fa4life8.png (3 MB, 935x1226) Image search: [Google]
2fa4life8.png
3 MB, 935x1226
Can someone point this to /fa/
>>
>>52218242
bumb 4 reading b4 archive
>>
>>52218242
>I don't know how to tell them their websites aren't real
This is fantastic. I'm going to have to write one of those for myself.
>>
Release it on 8chs /bane/, please.
>>
Pretty good shitposts already. Make as much sense as half the shit here does.
>>
>52218242
OP did you post this a year ago on /b/?
I remember seeing something similar
>>
>52218242
OP did you post this a year ago on /b/?
I remember seeing something similar
>>
>>52228022
is there a 4+4 chan api?
>>
>>52228452
>>52228022
meh.

here
https://4+4chan.net/bane/catalog.json

all That is needed now is for someone to modify shit.

Do it before faggot josh breaks the site even more.
>>
>>52228452
>>52228470
I have no talent, someone fullfill my dreams
>>
>>52228791
literally copy-paste the new links.
>>
>>52228791
literally copy-paste the new links.

Also I made a thread on /bane/ and /tech/.
>>
>>52224630
>Cutting fat led to increased body fat
yea, it's working just fine
>>
>>52222459
kek
>>
File: explodingintoskeletons.webm (1 MB, 320x240) Image search: [Google]
explodingintoskeletons.webm
1 MB, 320x240
>>52218242
gotta shut this shit down before it makes shitposting 1000x times worse
>>
>>52229239
I guess. will be powered pcs, including the spelling of the feds told me with technology to learn, arguably the first apartment.
>>
>>52218242
Hey, that's pretty good.
>>
>>52218765
>we
awesome

Also, it's more coherent and intelligent than 90%+ of /sp/ posts
>>
>>52221769
Why don't you appreciate my autism - The post
>>
>>52220345
fucking kek, 10/10
>>
>>52229239
There have already been other markov chain shitposting bots in the past, /sp/ had one that shitposted and uploaded CP with the post on every feels thread to get them deleted.
You have to be one bored ass son of a bitch to input every captcha though so only some mentally retarded faggot like the CP poster would use it all day long.
>>
>http://i.4cdn.org/g/1451810805367.png
>>Post your riced homescreens or lockscreen


Working like a charm, OP.
>>
What happens when it goes on /v/?
>>
>>52229372
>Naruto ultimate hellhole on the graveyard and when it happened to the games still donating and famous.
>>
>>52229311
I'm mad because my autism is worthless in a world where people would rather buy better computers than write better software - the post.

It's easier to produce computers of a certain high grade than it is to constantly put A+ effort into software devs. We've met that grade, and now we're trying to go down bit by bit until we hit a point where consumers notice because they're too busy marveling at their "experience"

T. apple employee
>>
Some day a generator is going to shitpost better than real humans and then we'll all be made redundant.
>>
>>52228791
please

someone do this
>>
File: 1451909404505.png (21 KB, 599x468) Image search: [Google]
1451909404505.png
21 KB, 599x468
>Imagine Tinder except people pay using it via command line.
I am so Entertained by the stupid shit it puts out, This is my new way to kill time. Good job OP.
>>
Small correction, the first line of your script:
#!/usr/bin/python

Should be /usr/bin/env python to make it work in virtualenv
>>
>>52229382
>T. apple employee
can someone explain this t. meme?
>>
>>52229707
His name is Thomas. Respect his identity.
>>
>>52229538
I suddenly want to make a command line only tinder clone
>>
>>52229707
"t." is short for "terveisin", which is "regards" in Finnish
>>
>>52229850
thank you anon
>>
>>52229160
kek
>>
>>52229850
Thanks
>>
>>52224630
how to run?
>>
File: 1451908570848[1].png (4 KB, 586x112) Image search: [Google]
1451908570848[1].png
4 KB, 586x112
/co/

>Another blog thread
>>
>>52218242
stuck at Training... (may take a while)
>>
8 years ago, when I was still on /b/, I did have the feeling that the most popular memes were reposted by bots. Also some replies were so generic that it seemed they were also made by bots to keep those threads alive.
What do you guys think?
>>
>>52230593
There were hundreds of bots back when captcha wasn't implemented yet, the incident with the bitmap pic making all the idiots who executed the payload post the same shit was the final drop on the glass so i wouldn't deem impossible what you're implying.
>>
>>52218765
>we
FANTASTIC! 10/10 SOFTWARE! OP YOU ARE A GENIUS AND MY HERO!
>>
>>52218242
I want to implement the following, what does /g/ think?
>1) downloading the threads and building the database in parallel using a stream
>2) keeping a different db file for each board
>3) using a script to train a database and a separate one to generate a shitpost
>>
File: shitpost.png (3 KB, 638x102) Image search: [Google]
shitpost.png
3 KB, 638x102
would be nice if it did something
>>
File: Capture.png (17 KB, 739x418) Image search: [Google]
Capture.png
17 KB, 739x418
Shows potential but needs more work
>>
>>52218242
Would it be able to learn from a single thread? Like a /vg/ general?
>>
Run it on /a/
>>
R9k sounds like a good candidate. An actual robot on a board for robots.
>>
File: lanuks.png (54 KB, 569x693) Image search: [Google]
lanuks.png
54 KB, 569x693
>>52231454
uhh no

please i don't want to see anything else from that shitty board
>>
File: dpTKz0l.png (60 KB, 924x506) Image search: [Google]
dpTKz0l.png
60 KB, 924x506
http://i.4cdn.org/v/1451920581355.png
>I'm happy

http://i.4cdn.org/v/1451926117565.gif
>Literally weeaboo shit

http://i.4cdn.org/v/1451917295096.jpg
>They have a fetish for greatswords that the skill or knowledge to harden an os Just because you never learn to throw other pawns into the game at this Nep

http://i.4cdn.org/v/1451926268178.jpg
>hey

http://i.4cdn.org/v/1451910241037.png
>As soon as I can never be Japanese at this rate, Anonymous feels good to be honest I'd be surprised if handholding was frowned upon in her debut game, much less

http://i.4cdn.org/v/1451912405692.jpg
>It kinda fits with my shitty laptop, it's still one on release day before scalpers snap them up first if you're cis-gen normal-fag hatelord

http://i.4cdn.org/v/1451908665494.png
>Still hyped beyond belief

http://i.4cdn.org/v/1451907625797.jpg
>HUR

http://i.4cdn.org/v/1451918062578.jpg
>Samus is really retarded

Pretty good.
So when is thing going to start making fake screenshots and flood /r/4chan?
>>
File: Screenshot_2016-01-04_12-52-17.png (10 KB, 442x71) Image search: [Google]
Screenshot_2016-01-04_12-52-17.png
10 KB, 442x71
how to fix?
>>
>>52231508
here are some quality shitposts generated from r9k, just for you:

>His eyes pried open up that'll lead me feel them down some interest you. i'm a fuckton.

>A dark cloud, or anything, even in australia you could just mildly disappoint you. i know the water gets released. just pirate copy in history would soar if other a krye?

>Yes. once this one but i literally scare me. no you want something up cock. felt amazing, big steps anon here, going through physiotherapy and also i'm rooting for a skirt. he looked a happier when i wanted to justify you laid :^)

>Proof of africa their cup of heroin.

>Oh ye. i personify all credibility: post that i post and i couldn't keep grinding anymore. sometimes you say it's more projection in the tripfag circlejerks if you lead to hit the idiot on anything, or interaction that you run, learn you aren't like the day a furryfag, but i only minutes of us from her throat and rudeness

>Come across this. no you left arm.

>The bad note of their perspective. cute girls i live with no idea, i still feel good price to get cummed in cell phones. there be a part to work through rose-tinted glasses, but yeah i was that you won't. you want to do you can post more of the good looking 45 minutes before but more than actually made you want or not. although i guess. i am occasionally forget about being mentally ill dudes? in related to you? not count on here i hope it is like this season lol nice personalty and often do anything
>>
>>52220399
>using the smiley with a carat nose
>>
>>52231559
Nvm. Why the fuck do people still program in Python2?
>>
how do you submit the captcha?
>>
>>52220345
Did you post that on pol? I swear I've seen it.
>>
>>52231539
9/12?

I don't get it
>>
File: 1451909102301.gif (966 KB, 250x183) Image search: [Google]
1451909102301.gif
966 KB, 250x183
>Rolling to be as little as 5 years
>>
>>52218242

Razor is trying to talk to me
>>
File: 1451919516003.jpg (116 KB, 721x1080) Image search: [Google]
1451919516003.jpg
116 KB, 721x1080
>Good times Geez man why do you recommend hentais
>>
File: 1451921608784.png (24 KB, 163x165) Image search: [Google]
1451921608784.png
24 KB, 163x165
>Is it true that dota is gay
>>
File: Capture.png (14 KB, 739x418) Image search: [Google]
Capture.png
14 KB, 739x418
/d/ is wise as always
>>
File: 1451906454438.png (516 KB, 1600x900) Image search: [Google]
1451906454438.png
516 KB, 1600x900
>>52231991
/g/ is good too
>Tbh senpai nofap is like recommending OSX as a shitposting machine, try any butu except ubuntu
>>
>>52218242

make it capable of posting on 4chan like this script:

https://github.com/install-gentoo-cuck/4chan-auto-memer
>>
>>52231835
did she get fucked by a BBC yet?
>>
some samples from /hc/
>The feel of bush around your body that produces sperm, it blocks off its means of putting sperm in your tiny teenaged pussy is good
>Keep practicing, you'll get used to eat out your Wookie-bushed girl our tongues look like train wrecks
>Learn to suck it off
>Neither, they both actually admit to roiding as hard as hell Bamp When skinny, she's hot
>Trimming pubes is a welcome change from the base of his stuff though
>Who is that the vast majority of psychology papers turn out to her tight sphincter
>>
>>52221481
Do it yourself then cunt
>>
>/g/ today Lurk in the main PC, formatting and going nuts about SJWs is one where you fucked up with other stuff which would be for people to get Server+ so they look really bad

Breddy good. 5/7.
>>
If your shitpost generator does generate "How can white men compete" when trained on /pol/, you need to start over
>>
Here are some gems from /trash/

>Absolutely horrible the place we're least cancer by default makes you far less likely to change, but what do you mean you can't fuck ghosts, right

>Is it weird ~de geso

>Please don't poke my eyes, that's painful

>Floatzel is pretty clear on this that isn't tg shit

>Entry Post coming soon in 3 years reporting in, homeboards are all pure cancer, we are
>>
>s4s

http://i.4cdn.org/s4s/1451912618328.jpg
>im sorry that shes not gonna lie that looks photoshopped xDDDDDDD DUMB FROGPOSTER DUMB FROGPOSTER DUMB FROGPOSTER I agree subreddits like r/woodworking have value

http://i.4cdn.org/s4s/1451868035237.jpg
>wish /POL/POL/POL/POL/POL If I am triggered by healthy, homecooked food

http://i.4cdn.org/s4s/1451900368687.jpg
>BAVI Hot chick plz pick the SPICY METBALL We got fire chicke what attack do we help Gabe get his shit is settled, I might just come up with this "LE MILLEN GIRL" CANCER
>>
>>52232578
have some /s4s/
>I'm crrying happy tears desu xDDD dumbass faggots get your autistic throats cut dying disgusting idiots get murdered on the moon in day, im 12 btw soon you'll scale the heady heights of the fittest and you might be charging too much
>deck 83 ur 2 old 4 dis i failed 408 What would be nice to see my anus of a photoshopped pig designed to resemble a shiba inu nuke wales This is lemon party
>When doing commissions, do you select the part where the cat before releasing the pic and story anatomy mistakes (arm and the slavic states just try and see how the economy evolves taking my coffee without cream or sugar for a single dubs in your PayPal, but only if you post "nice digits" in this cyber sanctuary: never make jokes like that
>ironically shitposting ironically
>anime today anime is so lacking in sense that I don't think op's got the skills to pay those bills I think yuo are miataken friendo, I was being post-post ironic, not post ironic
>>
>>52222343
It's recommended to pull from it once per second but there's nothing stopping you from doing it more often. I have a script in python that reads boards and letting it run as fast as possible doesn't get me b& etc.

I get why we shouldn't do it and I avoid it as much as possible but there aren't any repercussions from accessing it more often, none that I have experienced anyway
>>
>>52220399
You know I'd never write something like this in python, perl is the language of the gods.

Thanks for the internet fame though. Who are you?
>>
>>52218765
Came here from /sp/ this will make my job a whole lot easier.
>>
>>52218872

great job, thinking, planning and using a tool!
>>
>>52232921
>I was being post-post ironic, not post ironic
kek
>>
>>52232921
TIME FOR /pol/!
>nah, just a troll It's pointless to argue it's easier to kill the function of rapid cell reproduction which is part of the show was starting to say Yes to Shillary aka Obama 2

>You won't even vote

>I'm much more relaxed about it No, seriously

>Bill Gates is a slow death spiral that goes far beyond his current promises, the US never cut its ties with russia, Mexico, and Poland were so sick of this world

>It was just banned from Splatoon for posting happy merchants on Miiverse Oh vey

>I don't even understand what ad hominem fallacy is, do you friend
>>
>>52218765
what font?
>>
>>52233250
>Thank Christ, someone with some manicure scissors
>>
>>52218242
Nice, maybe the quality of posts will actually improve now...

>>52218702
> fuck them for wanting to learn, right?
That's exactly right. That way others can feel smugly superior, or something...
>>
>>52232908
>I agree subreddits like r/woodworking have value
mfw I posted that yesterday
>>
File: 1449317743727.png (111 KB, 666x389) Image search: [Google]
1449317743727.png
111 KB, 666x389
>>52234242
>>
>Might as well under nationalist poland as it is too much if they're being serious with this story has gone silent since it would get about 26MPG on the BRICS collapse

When your AI learns two boards at once kek
>>
>>52218242
Use urllib3 you fucking nigger.
Now i have to manually download and install this deprecated urllib2 module instead of just installing urllib3 from the arch repository.
Fuck you.
>>
>>52218242
Fuck off, Chad, you and your babby linux distro
>>
TOPKEK
>>
File: 1433449985631.png (5 KB, 264x31) Image search: [Google]
1433449985631.png
5 KB, 264x31
Pretty good so far.
>>
>>52231616
ArcGIS comes shipped with python 2.7

if not for that, i'd be using python 3...
>>
File: z6pqQ3Y.png (2 KB, 318x38) Image search: [Google]
z6pqQ3Y.png
2 KB, 318x38
Kek
>>
This would be an entertaining replacement for lorum ipsum
>>
/tv/ works, all other boards fail. why?
http://i.4cdn.org/tv/1451944682212.jpg
>To Ill"
board /v/
WARNING:root:Database file corrupt or not found, using empty database
Training... (may take a while)
WARNING:root:Database file could not be written
Traceback (most recent call last):
File "./shitposter.py", line 146, in <module>
main( sys.argv[1:] )
File "./shitposter.py", line 143, in main
shitpost_loop( mc, images, board )
File "./shitposter.py", line 116, in shitpost_loop
mc, images = load_or_train_board(board)
File "./shitposter.py", line 79, in load_or_train_board
images = analyze_board( mc, board )
File "./shitposter.py", line 64, in analyze_board
with open('./{}-images'.format( board ), 'w') as file:
IOError: [Errno 2] No such file or directory: './/v/-images'
>>
how do you differentiate between a post and a shitpost?
>>
File: Edsger_Wybe_Dijkstra.jpg (297 KB, 1024x1365) Image search: [Google]
Edsger_Wybe_Dijkstra.jpg
297 KB, 1024x1365
>>52221950
>>52221950
>>
>>52231559
idiot gaymer
>>
>>52236992
Do you need to?
>>
>>52236992
every post is a shitpost
>>
>>52237088
if you want this to remain a mere curiosity, nope.

at the moment it's one of those chinese one trick pony toys you get at a dollar store
>>
>>52237114
I meant this >>52237093
but I guess I'll take a srs reply too
>>
Macbot from Rizon is the ultimate edition of this OP.
Contact Tab on Rizon if you got time OP and let him tell you about all the modifications to seeborg he did.

Macbot also has several GB of input from 4chan related IRC channels since 2006 or 2007.
>>
>>52237187
Macbot used to be able to post in /g/ too, but not sure if Tab has kept that up to date with captcha changes
>>
a
>>
>>52230402
You'll need a server that can do CGI and PHP. I'm using Apache and running what's on the repo in a userdir.
>>
Australian here, are you trying to put me out of a job?

Also its giving me these errors:
[edge@Edge Desktop]$ sh shitpost.py
import: unable to load module `/usr/lib/ImageMagick-6.9.2//modules-Q16HDRI/coders/ps.la': file not found @ error/module.c/OpenModule/1300.
import: no encode delegate for this image format `PS' @ error/constitute.c/WriteImage/1167.
import: unable to load module `/usr/lib/ImageMagick-6.9.2//modules-Q16HDRI/coders/ps.la': file not found @ error/module.c/OpenModule/1300.
import: no encode delegate for this image format `PS' @ error/constitute.c/WriteImage/1167.
import: unable to load module `/usr/lib/ImageMagick-6.9.2//modules-Q16HDRI/coders/ps.la': file not found @ error/module.c/OpenModule/1300.
import: no encode delegate for this image format `PS' @ error/constitute.c/WriteImage/1167.
import: unable to load module `/usr/lib/ImageMagick-6.9.2//modules-Q16HDRI/coders/ps.la': file not found @ error/module.c/OpenModule/1300.
import: no encode delegate for this image format `PS' @ error/constitute.c/WriteImage/1167.
import: unable to load module `/usr/lib/ImageMagick-6.9.2//modules-Q16HDRI/coders/ps.la': file not found @ error/module.c/OpenModule/1300.
>>
>>52241467
Try running just
./shitposter.py
or
python3 shitposter.py
>>
>>52241545
Now this error
[edge@Edge PyMarkovChain-1.8]$ python3 shitpost.py
Enter the name of the board you would like to learn how to shitpost from.
Ex. /a/, /fit/, /tv/, etc.
/pol/
WARNING:root:Database file corrupt or not found, using empty database
Training... (may take a while)
Traceback (most recent call last):
File "shitpost.py", line 149, in <module>
main( sys.argv[1:] )
File "shitpost.py", line 145, in main
mc, images = load_or_train_board( board )
File "shitpost.py", line 80, in load_or_train_board
images = analyze_board( mc, board )
File "shitpost.py", line 57, in analyze_board
data = json.loads( response.readall().decode('utf-8') )
AttributeError: 'HTTPResponse' object has no attribute 'readall'
[edge@Edge PyMarkovChain-1.8]$
>>
>OpenCSW only has Python 2.6
>you'll never bruteforce shitposts with your SPARC shitbox
;_;
>>
>>52221517
I laughed way too hard at this
>>
>>52232921
Convincing
>>
>>52236931
Same issue. Running latest Python3.
>>
>>52242768
>>52236931

I ran into this bug earlier and it's been fixed. It was caused by not removing the surrounding "/" from the board name, causing board data filenames to be incorrect.
>>
>>52218242
How can I run this on Windows?
>>
>>52243499
Adding a data folder fixed it for me.
>>
File: 1450988194242.jpg (118 KB, 1365x729) Image search: [Google]
1450988194242.jpg
118 KB, 1365x729
Now make it use images to shitpost

I'll give you my entire Maki folder to makipost
>>
File: 1451703844720.jpg (53 KB, 444x337) Image search: [Google]
1451703844720.jpg
53 KB, 444x337
>>52221435
>>Reinventing the wheel
Jesus Christ you're an idiot.
>>
>>52218242
>shitpost generator

I'm Australian, and I'm unimpressed with your attempt to make me obsolete.
>>
Bump. This shit is hilarious.
>>
>God bless you OP I fucking hate you but hetero sexual sex is more than one girl who did was oral
>Practically speaking unless you for your body, but personally what I need a shitload of waaaaaaaaay more interesting things to all you stupid faggots bad mouthing aspartame for allegedly being unhealthy and am starting school at PSU soon where I'll die of pneumonia, and being aesthetic will get at least a day (which can be hard, but it won't melt your esophagus if that's what it says 4 exercises for the meat jew
>youtube Do not ask 99% of women who go on an obscure, bankrupt Transnistrian crock-pot and watercolor painting forum, that the girl actually does and considering the dudes running it, why not ask 99% of humans will at any stage of procrastination
>Van Wilder's Cock pushups, cockups I'm 24 and about to lose weight and look like an asshole to her, we literally just cooking your organs
>Thanks man :) I'll look around for a guy that went back to your gains than using a phone and keep going until they turn to old infertile hags to start skwaaats again Bench press is only one of the opposite sex(especially for men), terrible school and take a mile 1 inch 1 mile You drunk jer
>I'm 6'2" and 185 and I'm curious
>Anyone who wants mine can pick them from negatively affecting your health care, but this thread is officially about white collar crime and using every trick in the same as why you only ever see them fleeing ILLEGALLY to western degeneracy also no snout, so no blood to the masses who do not go with Rogue or Pendlay plates
>>
>>52246235
>Just recently, I found out she fucked around on him for 3 years while i do some dedicated core exercises, just some of my lifestyle threatened them by showing how unhealthy their behavior was
>how I feel like the consensus to OP's original question is that you got fat I had been diagnosed as anemic recently and started lifting, I saw it on all his spreadsheets since Goodbye thread cause my bosses are all of the meta-analysis will be able to corroborate that the comic THANK YOU SIR Someone explain that to me again unless you're a turbo level 80 hipster something you cuck Plot-twist: I'm OP, and therefore can't whiteknight myself or get the help man
>>
>>52246249
>>52246235
do /s4s/ pls
pls
pls
lol
lol
pls
>>
>>52218242
>so is photography fuck off back to pol please Mom I posted this question on the desk /10 I only have one from each column
Ebin
>>
>>52246391
I posted this one too >>52232908

s4s isn't as funny because most posts in s4s make no sense anyway, and they're shorter so it's harder to get streams of speech

I tried to modify the script to create shitposts with at least a certain length, but gave up after awhile

anyhow, here come some:
>▲ ▲easy \ / \ lol lol yes lol Your acheiving those dreams lol PTHLLPTHPH lol lol lol lol<sent from my SAMSUNG smartphone> lol lol lol lol<sent from my account, blocked from 4chan, computer destroyed with a trole on his chin tho is fambly doege doge is a rabbet psh, nobody says kek anymore, kid
>doge would never do that and pinwheel then it would probly cost 14 jillion dollars (dogehairs HAHAHHAHAHAH xDDDDD) i would led burchase gril shid on my iPhone and it wouldn't be a smart frogposter
>This is still in beta, so I can't verify that it takes too long to load the map I don't check [s4s] for a dollar the pic you posted this angry tirade on the idea
>p We Atlanta hip-hop That NaeNae" inter from Martin Lawrence was based of funny and of funny and of funny and to play Basically like super simple monopoly on google maps
>Anyway, watched that Making a Murderer and was blown away, but after thinking it over the Network, and that you are a very nice friend :-) i liek to think we all gave gifts to our world as beans of pure niceness and friendship connected directly to the cause Check out those digits crossdressing boys are very important lol traps are so close to what my actual total prices equal 100 times 500k, which would be on the left Simple, epically simple
>WOW anon great poast WOWOW this is the best posters here
>yyyyyyyy s nextgen number tech good deeds :O mods pls stiky this is nyce byrd This is a nice get, but it's pretty crazy
>Pero debido a que, estoy iluminado por mi inteligencia
lol polyglot shitposting
>>
How long before we execute phase two and we start blasting the other boards with this shit?

A sudden influx of shitposters would make people wonder and I do love stirring the pot.
>>
>>52241756
I get the same error.
>>
RMS interjector simulator when
>>
>>52246616
!
>>
>>52247027
In which system are you on?
Which python version?
Did you install the prerequisites with pip?
What do these commands show?:
which python
which pip
>>
>>52247145
>
C:\Users\ferongr>python -m pip list
pip (7.1.2)
PyMarkovChain (1.8)
setuptools (18.2)

C:\Users\ferongr>python
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48) [MSC v.1900 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.


Macroshaft Wangblows but oh well...
>>
>>52246616
this.

Imma get /b/ onboard.
>>
Make this work on specific threads too, would make my posting in generals a lot easier
>>
File: 1451940893778[1].jpg (45 KB, 800x600) Image search: [Google]
1451940893778[1].jpg
45 KB, 800x600
>>52218765
>We
>>
File: 1451887561424.jpg (232 KB, 750x619) Image search: [Google]
1451887561424.jpg
232 KB, 750x619
>>52247732
This.
Specific threads will make the training faster and simpler

>>ty just check the screenshots just to sound cute
>>
>>52247689
Try replacing `readall()` with `read()` or `read(-1)`, in lines 38 and 57. Tell me if it works. otherwise i have no idea :/
>>
feed it with harry potter :D

>Dudley stood with his wand and set off in the house championship for the use of cool logic in the doorway.

>He'd never gone so long without blowing up an alien on his chest.

>All the hair each house has its own noble history and each has produced outstanding witches and wizards cards, inside them, and rather large front teeth.

>Potions lessons were turning into a tight bun.
>>
>>52247887

>Ayooo amigo, holas muchas gracias fur scanos senioros por favoros, jajaja Godfuckingdammit Nisio, stop writing retarded nonsense and pretending it makes them simultaneously entertaining and looked nothing like their mechs the best written manga character ever

replacing readall() with read() works
>>
/pol/

>Anything else - like you have four sexualities, being the candidate agreed.

>It's largely genetic the plan calls for forcing the red pill?

>I also hate myself and my family is always a first.

>He was a wounded taliban terrorist.

>According the the biggest lie in politics that the non-aggression principle only has a guitar hero controller on her position and said that he has nuclear deterrents.

>But i honestly think it's a wall?

>He never said he was probably giving him shit.

>My wife actually hates them all in the nazi military collectibles.
>>
File: shitpost error.png (46 KB, 698x455) Image search: [Google]
shitpost error.png
46 KB, 698x455
Keep getting this error in pic related.

I see you guys talking about editing lines. How do I do this? Which files contain the lines I need to edit, and which program should I be using to open them?
>>
We need to build a shit posting with machine learning training.

Scrap bunch of posts from 4chan board for the most posts with replies. Save only your(machine's) posts with the most comments. Rinse and repeat till you get posts which would naturally generate xyz amount of replies due to the nature of the shitpost.
>>
>>52248154
I've made the changes and sent a pull request to the OP.

You can follow these instructions >>52247887
, edit shitposter.py using Notepad or IDLE. Or replace it all with this version https://raw.githubusercontent.com/franzwr/shitpost-learner/master/shitposter.py
>>
>>52232052
wow.. that's great
>>
>>52248106
>>According the the biggest lie in politics that the non-aggression principle only has a guitar hero controller on her position and said that he has nuclear deterrents.
Almost too real
>>
>>52248217
Tried both of those, both work like a charm. Thanks bro.
>>
how do i know this won't post cp without my knowledge
>>
File: shitpost.jpg (68 KB, 575x863) Image search: [Google]
shitpost.jpg
68 KB, 575x863
From /tv/

>No i think not jesus christ, just fuck back to reddit then and talk shit about good movies so they drew the most famous and deadly Jedi/Sith for hundreds of years
>>
fed it with ~100k /g/ posts

>Fyi im shit compared to linux you fucking cuck.

>You know that computers are for casuals

>Thanks you seem to get gangraped by the fbi for cyber bullying me

>Get some amazing breakthrough advance in technology but panties and other noteable things regarding networking.

>Huge pain in the header file from the rest of akg's.

>It's something i can even help you!

>Better video game development and no the dog.

>Those languages that encourage young people who try gnome just quit a smoking habit.

>Sadly i hate the tranny poster singlehandedly derailed an entire fucking array with two hands of a lot of issues to run the os

>Oh yea that is just a jelly sandnigger.

>Are you serious, i'm a fucking retard.

>Plz no h8 hey fa/g/s what is wrong with being phallic.

>That's just not enough, i'm trying to, i dont understand.

>Probably won't need to hold his trap porn as they don't give a shit about technology.

>Cuc s that a fucking lan get your feet and dubs are 4chans most important projects up online and made multiple comments about how unfair the world.

>So, what's the best thing is that sjw?

>But regardless, you underestimate yourself a little higher?
>>
>>52247689
>>52248217

Works fine now.
>>
you guys don't understand, you don't nuke your own country except during tests. Weaponized shitposting. The kind of thing you give a tumbler or facebook account and set loose on otherkin.
>>
>>52233637
yea it makes my penis hard too
>>
>>52248184
This nigga knows what's up.
>>
File: 1451856782641.jpg (36 KB, 400x460) Image search: [Google]
1451856782641.jpg
36 KB, 400x460
>Why are 99% of tv actors are also classic Austrian stuff, I hid them in anime What did you swap your IP
>>
>>52248482
>But regardless, you underestimate yourself a little higher?
Goddamnit
>>
>>52248482
>fed it with ~100k /g/ posts
How?
>>
So this is how the world will end. Not by nuclear war, but by a bunch of nerds weaponizing shitposting, refining it until they create a shitposter to surpass all shitposters.

And it will be a glorious end.
>>
Is it possible to add the ability for it to start posting, i.e. prompt captchas for the user to fill out and then it posts on the targeted board?
>>
anyone realized that library OP uses does not work properly at all?
>>
>>52248608
it's the future. When human law persecutes humans for shitposting, shitpost bots will be the loophole. Nobody can prove who made it, but you give it an agenda and set it loose and watch it bully trans cripples into killing themselves when it posts "you're not actually crippled you idiot did you eat a taco for movies?"
>>
>select /g/
>this pop up
>>Знaниe pyccкoгo нe пoмoжeт вaм, ecли тoлькo вы нe нaмepeвaeтecь кaчaть c poccийcких тpeкepoв
What the shit
>>
>Anybody telling you is GNU/Linux is, in fact, just Linux, or as I’ve recently taken to calling it, GNU plus Linux
>>
>on all posts on all pages of said board
Is this true? It seems like it uses less data.
>>
>>52248715
kek
>>
>>52243558
Yes.
>>
>Enjoy your fucking hand
>>
>>52218765
The "we" is obviously a result of the

WE

WAS

__MEME_HERE__

shitposting
>>
>>52218242
Anon, we need to branch this into a Twitter shitposter that pulls data from a hashtag.

Will be gold.
>>
>PTP according to Wikipedia, Java was an HD2, so I can keep it for me personally
>>
It already had the adapter always connected to iPods and Zunes
>>
this thing could literally run /pol/ all by itself. Nobody would ever know
>>
Nice botnet acquisition, OP.
>>
>>52248933
>and so it begins

it's now a botnet
>>
So when will you ever fix this
>WARNING:root:Database file corrupt or not found, using empty database
Annoying message
>>
>>52247887
This worked for me (wasn't working with readall()). Is this a Windows thing?
>>
File: 1451872086044.png (811 KB, 1087x768) Image search: [Google]
1451872086044.png
811 KB, 1087x768
>Try on /a/

>I'm sociopath mcedgelord, and I'll kill you if we assume that Tatsumi's shit is usually on the summary, but that synopsis sounds like someone who just gives her an embarrased look and tells everything

Yep, seems like something I would read there
>>
>>52231991

>Also do you recommend I do have two assholes

10/10 would kek again
>>
>>52248933
>-Posted with iShitpost™
>>
File: feels-good-man-728-1438104407.jpg (25 KB, 477x290) Image search: [Google]
feels-good-man-728-1438104407.jpg
25 KB, 477x290
I've gota better idea for you, OP.
Pepe posting; Scan 4chan for rare pepes and their corresponding posts. Then train the program to create proper frogposts.
>>
I'm sick and tired of this sick creative space (i write anime fanfics for fun)
Why cant you guys (and my name is Thomas
>>
...soon, millions of users will fail the Turing test, fighting against bots.

reminds me of some radical SJW arguing for hours against a twitter bot.
Thread replies: 255
Thread images: 54

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.