dariusk / NaNoGenMo-2014

National Novel Generation Month, 2014 edition.
257 stars 17 forks source link

A pill for every ill #106

Open lilinx opened 10 years ago

lilinx commented 10 years ago

However, this bottle was not marked `poison,' so Alice ventured to taste it, and finding it very nice, (it had, in fact, a sort of mixed flavour of cherry-tart, custard, pine-apple, roast turkey, toffee, and hot buttered toast,) she very soon finished it off.

I used tweets from @thisvideowill to generate this thing : http://www.lilinx.com/thiswill/1/

I really wanted to participate in NaNoGenMo2014, but I have very little time to devote to it, so I did this little thing. Let's call it a draft because I have several other ideas I'd like to put in it.

Few months ago I created @thisvideowill, a twitter bot that systematically retweets the (most hated) "This video will..." trope whenever it spots it. It generates a huge list of outrageously promising sale talk about all the things internet videos will do to you (change your life, make your day, etc.).

hugovk commented 10 years ago

I like it!

MichaelPaulukonis commented 10 years ago

Hunh.

The hover-text is a little slow to pop up. I had to view source before I figured it out.

(or is that a spoiler? THIS COMMENT WILL SPOIL THE SURPRISE!)

hugovk commented 10 years ago

Popup popped up promptly for me with Chrome.

lilinx commented 10 years ago

what browser are you using, Michael ?

MichaelPaulukonis commented 10 years ago

Firefox.

:::sigh:::

You kids with your google browsers. There's some of us what valued privacy in the old days. I'll tell you about it sometime, after I fend off these sentient robot spam zombies who are tyring to embed context-aware lolcat-ads directly into my brain....

MichaelPaulukonis commented 10 years ago

also, I'm seeing:

<img src="" 1.png""="" title="" this="" will="" make="" you="" cry="" thanks="" pewdiepie="" for="" showing="" me="" 😭="" als="" ice="" bucket="" challenge""="">

Which.... doesn't render so well.

lilinx commented 10 years ago

Hi Michael, thanks for the feedback. I just tried with firefox though and labels show up very fast. I unfortunately do not have time to investigate this...as I said for the moment this is more a draft so polishing would be premature Now the broken "" phenomenon is more annoying, thank you for pointing. Especially in firefox, it seems to result in broken imgs. I may fix this soon.

2014-11-19 18:18 GMT+01:00 Michael Paulukonis notifications@github.com:

also, I'm seeing:

<img src="" 1.png""="" title="" this="" will="" make="" you="" cry="" thanks="" pewdiepie="" for="" showing="" me="" 😭="" als="" ice="" bucket="" challenge""="">

Which.... doesn't render so well.

— Reply to this email directly or view it on GitHub https://github.com/dariusk/NaNoGenMo-2014/issues/106#issuecomment-63677153 .

cpressey commented 10 years ago

Well I for one found staring dumbly at my screen for 60 seconds thinking "Wait, but where is the novel" to be pleasantly mystifying.

Besides, tooltips aren't supposed to pop up instantly... that would be kind of awful, usability-wise.

You may be envious of Generated Detective, @lilinx, but I'm usually envious of your ideas. So there.

MichaelPaulukonis commented 10 years ago

@cpressey @lilinx BOTH o' yez have fantastic ideas coupled with execution. I've had one (two, if you count the whale-jape) ideas this year, and the code is a MESS.

OTOH, this is issue #106. Last year we only got to 82, I believe, with two late entrants (and a few misplaced issues from this year).

MichaelPaulukonis commented 10 years ago

@lilinx I'm looking at the page again (the tooltips come up on hover for me today; my system must have been slow yesterday, or something. or its cached. I dunno).

I wish there was a wee tad more information on the page. Not the technical stuff (twitter bot, tropes, blah blah blah), but the Alice quote, and something about these other bottles of medicine.

You've already got the about link on there -- make it more contextual.


Idea: the pill bottles don't all simultaneously render. They "pop" into existence on a time (every few seconds, a timout +-flutter). What if the tooltips were mouse-clicks (that auto-fade away), and what if clicking on a bottle changed the speed that other bottles appear at?

Or keep it simple. Simple is also good (plus usually easier to debug).

hugovk commented 9 years ago

@lilinx (For code census purposes) How did you make this? If there is any, is the source code up somewhere?

Remember:

The only rule is that you share at least one novel and also your source code at the end.

:)

lilinx commented 9 years ago

Hugo, you are perfectly right. Beside, I know the rule very well so I'm 100% guilty. Truth is, there is no source code. The auto RT twitter account was made with IFTTT or zapier (or something similar, not sure anymore) it sends the tweets to some google spreadsheet where the word "video" is removed. There is some parsing in the google spreadsheet as well, basic text parsing formulas I also coypasted a small macro to auto remove identical lines but it doesnt work so in the end I just did "erase doubles" in excel or google spreadsheet... Then I just create the html by surrounding each line (tweet) by a <img html tag... that's it...I hope it's clear regarding the text procedure it's mostly : find tweets with "this video will", remove @ references, urls and emoticons, and remove the word "video"

This is cleary not a novel but I can't do much more than a draft here... I don't have time so I thought I may just participate a bit to the NaNoGenMo thing :)

2014-12-04 20:44 GMT+01:00 Hugo notifications@github.com:

@lilinx https://github.com/lilinx (For code census purposes https://github.com/dariusk/NaNoGenMo-2014/issues/109#issuecomment-65630175) How did you make this? If there is any, is the source code up somewhere?

Remember:

The only rule is that you share at least one novel and also your source code at the end.

:)

— Reply to this email directly or view it on GitHub https://github.com/dariusk/NaNoGenMo-2014/issues/106#issuecomment-65690598 .

hugovk commented 9 years ago

That's cool, interesting to hear the process. And this is the second "no code" that uses IFTTT to harvest tweets followed by manual post-processing :)