Jun. 6th, 2014

magibrain: This alt text intentionally left blank. (This icon intentionally left blank.)
Today, in an effort to avoid actually writing anything (because writing is scary), I programmed functionality into my demographics/random sets generator which let you import comma-delimited lists of values. This, combined with the option I worked up a while ago which let you import random sets from the demographics generator into the bingo generator, means that I can do wacky stuff like working up a bingo card with a bunch of randomly-generated sets of things like fandom, trope, and wordcount. See below:

I sound my fearsome procrastination across the land. )

Now, the demographics generator (unlike the bingo generator) is still in alpha, is desperately ugly, and lacks a ton of stuff that would make it easier to use – like, say, paging down to show you that your options have, in fact, been added when you click the button in the comma-delimited list options. That's because I'm a back-end developer by trade, and just getting jQuery to play nicely enough that it would import the comma-delimited list in the first place meant an hour of hand-to-hand coding. Nicer stuff will happen later, once my urge to procrastinate on writing exceeds my frustration with front-end technologies again.

But, you know, if this sort of challenge appeals to you, there's now a clunky interface on my site that allows you to set up bingo cards like this.

In other news, today I have learned that jQuery does not like passing data out of its AJAX scope, and that you have to tell it not to run its AJAX asynchronously if you actually want to provide its information to another part of your script. Even if that part of the script comes after the AJAX call. ...I feel like that one, I should have known.

Profile

magibrain: A radiation symbol. It appears to be a little bit on fire. (Default)
magibrain

April 2016

S M T W T F S
     12
3456789
10111213141516
17181920212223
242526 27282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 20th, 2017 07:34 pm
Powered by Dreamwidth Studios