jeresig on He should have used radio buttons - http://www.reddit.com/r...
"Hehe yep. In this case a radio button would be the right technique but if you really had to use checkboxes you could do something like: $(document).on("click", "input[type=checkbox]", function() { $(this).siblings("[type=checkbox]").prop("checked", false); }); You can see it in action here: http://jsbin.com/sinutatasi/1/ You would need to tweak the `$(this).siblings("[type=checkbox]")` portion depending upon your markup. So to respond to /u/MokitTheOmniscient -- jQuery is a library that helps to make this sort of Javascript-based interactions easy to implement in a minimal amount of code. Hope this helps to illustrate what it can do!" - John Resig
jeresig on Fernand Toussaint - The Japanese Print (1913) - http://www.reddit.com/r...
"This is a great example of Japonisme - France's (and western culture, in general) infatuation with all things Japanese after Japan was forced to open to the west: https://en.wikipedia.org/wiki... I'm a bit surprised at how "late" this painting is. 1913 is rather late in the Japonisme trend (most of it happened about 30 years prior). It looks like this particular painting just sold at Sotheby's this past month: http://www.sothebys.com/en... The particular print that this lady is holding appears to be a Utagawa-school bijin ("beautiful person") print. If I had to guess, I'd say that this is by Utagawa Kunisada and was published in the 1820s. You can see a similar series of prints here: http://ukiyo-e.org/search... You can see more Kunisada (and other) Japanese prints here in a database that I built cataloging them: http://ukiyo-e.org/" - John Resig
jeresig on From 1 to 9,000 communities, now taking steps to grow reddit to 90,000 communities (and beyond!) - http://www.reddit.com/r...
"Typically the top-listed moderator is also the creator (or, if they weren't the creator, then everyone who was a mod before them has left). But yeah, now you know! :)" - John Resig
jeresig on From 1 to 9,000 communities, now taking steps to grow reddit to 90,000 communities (and beyond!) - http://www.reddit.com/r...
"Heya! Just to clarify: I only mod 5 sub-reddits and they're all sub-reddits that I personally created (including /r/javascript). It's not possible to be added as a mod to a sub-reddit (at least not anymore). You have to explicitly accept the request to become a mod." - John Resig
jeresig on The Meta Snapshot #3: MagicAmy's GvG Ladder Tier List - http://www.reddit.com/r...
"Fantastic! No problem at all - do let me know if you have any questions!" - John Resig
jeresig on The Meta Snapshot #3: MagicAmy's GvG Ladder Tier List - http://www.reddit.com/r...
"I just proposed a series of fixes and pinged Reynad and Magicamy. Hopefully it'll be able to help them! https://www.reddit.com/r..." - John Resig
jeresig on The Meta Snapshot #3: MagicAmy's GvG Ladder Tier List - http://www.reddit.com/r...
"Hey /u/reynad and /u/magicamy - as others have mentioned there is a bit of weirdness when viewing the site on a mobile device. Thankfully it's a really easy series of fixes. You can pass this information along to whomever is responsible for fixing up the site! First, you'll want to add the following CSS to the site: @media screen and (max-width: 767px) { .article-left { padding-right: 0; } .article-page { display: none; } } This makes it so that when the browser window has a small width the main content area (article-left) will have the padding-right removed (it had a large padding to give room for the sidebar). Additionally, and optionally, I removed the sidebar content (article-page). You can leave it in, it just sits above the content which is a bit awkward on mobile as you have to scroll down to see what you're reading. Next you'll want to change the viewport meta tag in your page to something like: <meta name="viewport" content="width=530"> You had it set to be device-width,..." - John Resig
"Just add this one method to the API!" "...and fix my bugs, and document it, and support it, and never remove it for back compat, and ..."
A rule for good API design: just because you can add something to the API, doesn't mean you should! Optimize for the common use case first.
RT @JournalofDH: In this issue, Using Computer Vision to Increase the Research Potential of Photo Archives by @jeresig http://journalofdigitalhumanities.org/3-2...
Business Insider did a huge run through of our Intro to JS curriculum at @khanacademy: http://www.businessinsider.com/i-took-...
jeresig on 3 years later... - http://www.reddit.com/r...
"Wow, thank you for posting this! I'm really enjoying it! I think this is a great complement to 'The City Dark' (http://www.pbs.org/pov...). I appreciated the interviews and seeing the direct impact this was having. Thank you for citing the figures on the amount of energy waste that was going into keeping the surplus lights on. (Also enjoyed the 'Rite of Spring' soundtrack!) Best of luck with your film!" - John Resig
A grey hat hacker is messing with the @khanacademy CS stuff, posting tutorials on how to use the Chrome debugger and modify XHRs. He's 12!
jeresig on "Misty Moonlight at Matsue in Izumo Province, from the series Souvenirs of Travel III" by Kawase Hasui, 1924 [1025 x 1500] - http://www.reddit.com/r...
"Thank you for posting this print! For others that are interested, this is a Japanese woodblock print created during a resurgence of interest in traditional woodblock printing during the 1920s and 30s (called "shin hanga"). An interesting thing to note about this print, and many prints from this time period, are the many different ways in which the atmosphere of the print can change, simply by modifying the colors used during printing (no woodblocks were created or modified during printing): http://ukiyo-e.org/upload... If you're interested in this specific artist you can find thousands of additional prints on a site that I've created, here: http://ukiyo-e.org/artist... Please let me know if you have any questions, I'd be happy to help answer them!" - John Resig
jeresig on Kawase Hasui - "Night Scene from Kiyomizu Temple, Kyoto" (1933) - http://www.reddit.com/r...
"Thank you for posting this print! For others that are interested, this is a Japanese woodblock print created during a resurgence of interest in traditional woodblock printing during the 1920s and 30s (called "shin hanga"). An interesting thing to note about this print, and many prints from this time period, are the many different ways in which the atmosphere of the print can change, simply by modifying the colors used during printing (no woodblocks were created or modified during printing): http://ukiyo-e.org/image... If you're interested in this specific artist you can find thousands of additional prints on a site that I've created, here: http://ukiyo-e.org/artist... Please let me know if you have any questions, I'd be happy to help answer them!" - John Resig
jeresig on Hiroshige Andō - Suruga satta no kaijō [Sea at Satta in Suruga Province] (1858) - http://www.reddit.com/r...
"Thank you for posting this! If others are seeing how this print appears in other collections you can find some additional copies here: http://ukiyo-e.org/upload... This copy at the Museum of Fine Arts is particularly good: http://data.ukiyo-e.org/mfa... A fun fact: Look at the mountain (Mount Fuji) and the water beneath it. See the light swirls? Those come from the tool that's used to make the print impression: a baren. It's a round coiled cord placed a disk. The paper is put onto the woodblock and you use the baren to rub the paper into the woodblock (and thus, the ink on the woodblock). You can learn more about this tool here: http://woodblock.com/encyclo..." - John Resig
jeresig on Suruga satta no kaijō [Sea at Satta in Suruga Province], 1858, by Andō, Hiroshige [1120x1600] (/r/HI_Res link in comments) - http://www.reddit.com/r...
"(Re-posting my comment from /r/museum) Thank you for posting this print! If others are seeing how this print appears in other collections you can find some additional copies here: http://ukiyo-e.org/upload... This copy at the Museum of Fine Arts is particularly good: http://data.ukiyo-e.org/mfa... A fun fact: Look at the mountain (Mount Fuji) and the water beneath it. See the light swirls? Those come from the tool that's used to make the print impression: a baren. It's a round coiled cord placed a disk. The paper is put onto the woodblock and you use the baren to rub the paper into the woodblock (and thus, the ink on the woodblock). You can learn more about this tool here: http://woodblock.com/encyclo..." - John Resig
jeresig on Hiroshige Andō - Suruga satta no kaijō [Sea at Satta in Suruga Province] (1858) - http://www.reddit.com/r...
"This is absolutely Ukiyo-e -- Shin hanga is much later, not until the 1900s at the earliest. Most are from the 1920-30s, or so." - John Resig
The incomparable @AllieBrosh is on Spellslingers! (The Magic the Gathering show with @day9tv): https://t.co/2EQTN5VJFX
Anyone in NYC have a D&D group looking for a new, inexperienced, member? Or looking to start one?
Weekly all-hands update in the brand new @khanacademy offices! Finally we can fit the whole team! https://twitter.com/jeresig...
RT @laurmccarthy: excited to officially introduce p5.js http://p5js.org! get an intro at http://hello.p5js.org created by @scottgarner and @shiffman.
This cafe is actively engaged in chemical warfare, chopping large vats of onions in the open kitchen. Everyone's eyes are watering.
"Your donation to Wikimedia Foundation, Inc for $20.00 is complete." https://t.co/59KN3IVeR8 I'm so, so, happy. Someone just made my week!
RT @congressedits: Reptilians Wikipedia article edited anonymously from US House of Representatives http://en.wikipedia.org/w...
I will donate $20 to a charity if someone can land an edit to http://en.wikipedia.org/wiki... or http://en.wikipedia.org/wiki... in @congressedits
Every film with a titular line: http://www.imdb.com/keyword... related: https://t.co/ZHUlZtwAYM
It's really easy for any cafe to win me over: Just play a good 80s mix and make sure there's a lot of Depeche Mode.
Other ways to read this feed:Feed readerFacebook