Beer Bubbles CSS
Another random conversation led to this experiment . . . it’s animated CSS which is pretty cool but I can’t take any credit for it.
I found this example on Codepen and then mainly gutted it to make what you see below (also a minor experiment with flexbox).
See the Pen CSS Animated Beer Pour (Forked from CSS Beaker Pen) by Tom (@twwoodward) on CodePen.
I wanted a Twitterbot to push out Markov generated stuff from Emily Dickinson’s work. I wanted to do it fairly quickly as it was inspired by an awesome discussion yesterday with Jason Coats who will be teaching one of VCU’s online courses this summer on poetry. One of his goals was to encourage students to put themselves out there and engage with poetry. I thought mechanically created poetry might allow for a certain degree of freedom of analysis and Emily Dickinson’s work was particularly well suited to the Markov genre. As I already had a Markov generator running with some of the possible texts for Gardner and Jon’s MOOC this summer, it was easy enough to switch out the source material with Emily Dickinson’s work. It never hurts to be able to build what you discuss while still carrying on the discussion. That’s one of the things I love about computers. So that got me the Markov portion but it was on a web page and would require either a visit or a manual action to feed it into Twitter (which Jason had used previously with his students). To get at Twitter I needed a new Twitter account EmilyMkv which I got by using this GMail alias trick. It’s handy if you run out of unique emails. As I thought […]
creative commons licensed ( BY-SA ) flickr photo shared by nojhan Alice Campbell in the VCU library hosted a Wikipedia edit-a-thon today. It was interesting and we had a variety of faculty and even some students show up. Gardner joked at one point whether we had a leader board for edits. It got me thinking. I remembered that Wikipedia keeps track of the edits of logged in users and I figured I’d take a shot at scraping some of that data so we’d have a rough idea of how many edits were made by our group. I started off by looking at the contributions page. This URL will get you the page for my user name. https://en.wikipedia.org/wiki/Special:Contributions/Woodwardtw I used the IMPORTHTML formula in Google Spreadsheets.Something I’ve used a few times before. It was easy because this was the first list on the page. You can see in the image above that you have the choice between trying to grab a list or a table. The other variable is what number that element is from the top of the page. You can see the working document embedded below. I considered parsing outI’d have used some regex. Alan would have been proud. the ..(+30)..Characters I think. The tooltip on hover is in bytes. but after talking to Alice that wasn’t the kind […]
Back when Instagram’s API rules didn’t completely suck, I wrote a few posts on scraping it so that some of our faculty could use those data in their research. Then all their rules changed and everything broke. That’s their prerogative but it’s also my option to complain about it. But because I posted about it, I got a comment from raiymOn this post. And apparently this theme doesn’t support direct links to comments. About time I wrote my own theme . . . who let me know he wrote a PHP scraper that avoided the API limitations. I’ve now got that up and running and set up a simple GET so that the URL determines the tagged content that is returned. The PHP for that page is below and allows you to replace the API URL in the old Google Scripts with a new url like http://bionicteaching.com/creations/ig/scrape.php?tag=fish You can then make your own custom displays based on that. I made a quick custom page template for the artfulness WP theme (currently showing filler data from the exciting ‘fish’ tag). This example has the tag hardcoded in but could easily use a custom field to pass the value.