Welp, here’s the latest project. It’s an IITC plugin for Ingress. This was a simple way to start messing with the code, but given that it took less than an hour to do and is pretty useful I suspect it won’t be my last. Give it a try if you’re feeling brave.
- Highlights portals by the number or rare or very rare mods they have
- Hides portals that have no such mods
- Allows highlighting for rare & very rare or just very rare
To show all portals again, just turn off highlighting. I’m pretty sure the feature of hiding non-matching portals will bug other people, but I find it helpful. If anyone else uses this I may make it an option. You’ll want to download the Tampermonkey extension first if you’re on Chrome. It may work on Firefox/Greasemonkey, but I haven’t tested it yet.
Download and install here:
Posted in Uncategorized
Many of the things the generator is kicking out are surprisingly good, but here’s one more for posterity:
I can’t sleep
you have killed, you let her suffer, you make the world suffer, you let him down, you let God down.
Your forever home
Tonight, tonight, tonight, tonight, tonight I won’t mind
Your home of spirit
I can’t sleep
And so I’ve learned the meaning of the sun
So I can be with you
But the sleep so deep, it feel better in the soul
Lies come tumbling down now
Let me sleep so I can be with you
From the first couple of runs of the TIPS poetry generator. Seeded with “sleep” it came up with this:
our selfishly, sly member, cuffed
and sleep so soundly
Cause I don’t feel bad about it.
If I could sleep forever,
I know that, I’m going out with a big get on my side
If I could sleep forever,
Why does it feel so right?
I’m calling this project a success right now.
Welp I managed to get the environment set up last night and able to run image searches and build rough mosaics. I haven’t had time to fine tune it, but since one of the key words that came up last night was “sleep” and today is #24MAG day I figured it would only be appropriate to remix their logo in my inaugural effort!
Click through for full size
All of the constituent images are from automated Flickr creative commons remixable searches for “sleep”. Thus there are many kittens and babies. I hope all of my #24MAG peeps have a fun and fruitful day!
I spent last night setting up a small cloud server environment for running TIPS on beause that’s what I do. Right now it’s an Amazon EC2 instance backed by DynamoDB, which is looking increasingly like a Mongo fork with less functionality. But hey, $1 /mo during development. Long term I’ll probably add a couple of front end web servers behind a load balancer with images up behind Cloudfront, just to do it.
I’m going to update the package post to include dynamodb-mapper, which got me up and running in a few minutes. Handy!
Today if I get time I’m going to look into the image generation and sourcing / scraping. Should be a hoot!
So here’s what I’m looking at using for FAP:
Twitter API: python-twitter
Mosaic generation: PyMos
Music generation: mingus
Web scraping / image downloading: requests
ETA: DynamoDB connectivity: dynamodb-mapper
I’ve got a prototype of the twitter connectivity running. It pulls @FAPTIPSBot’s friends list, finds uncommon words in their posts, and compiles a word usage list. Not a bad start for a couple of hours’ work. I actually spent more time figuring out why WordPress was slow than bootstrapping this test.
We’ll see how it goes from here!
I’m working on something silly, a project to take words from structured content (Twitter posts) and associate use freely available data sources to create new types of structured content (poems, images, and potentially music). My motivation is my work, where business types frequently take a statistically invalid sampling of data, enforce arbitrary structure on it, and make decisions based on the ensuing self-fulfilling prophecies. This project, like those “analyses” has absolutely no value, aside from the dubiously artistic, but if I get something working I’ll open source it anyway.
My plan is to write it in Python, with whichever modules are necessary (probably many, I don’t have much time or inclination to roll my own). As the design progresses I’ll add more here. Especially if things come out as hilariously as expected. Right now, the high level is thus:
Read a Twitter stream
- Follow some folks, a hashtag, popular posts, newest posts etc.
- Strip out common words. There are many lists of the top 100, that’ll probably do for my purposes.
- Store whatever words are left over with relative frequency in some data source or other.
- Potentially grab images from the stream for input into later image generation, depending on whether the stream source is something I can trust to only have images I can use.
Create an image
- Take the words and do a CC image search for them.
- Use a randomized sampling of the results to create a mosaic of… something.
- Potentially use an image from the Twitter stream as the mosaic template, or just as a color source to help find images that blend well.
Create a poem
- Take highly unique words and do a lyric search for them
- Take lines from the resulting song list where the word is used to create a stanza.
- Most lyrics are trite, I expect huge success from this with occasional hilarity.
- Repeat for as many words as we care to, perhaps driven by the number of tweets found in a particular update.
Create a song
- Take the words over time and create a set of chord transitions.
- Transitions based on word frequency, mapped to the frequency of “typical” musical transitions.
- Note density might be based on the number of tweets per update or the like.
- If it ends up being a known group of people each person might be assigned an instrument.
- End result should be sheet music, a midi file, or (heavens forbid) an actual wav of whatever godawful noise this makes.
If you want to follow the project and have your tweets be part of the project, follow @FAPTIPSBot! It’ll be a hoot.