By Erik Eldridge | YDN Blog – Tue, Jan 11, 2011 11:00 AM EST
Suppose you're using YUI 3.2 and you'd like a modal dialog. YUI 3 Overlay provides an easy way to position an element above the others, but it doesn't provide modality. The Overlay Extras gallery module sounds perfect, but it seems to work best with YUI 3.1.0.
By Erik Eldridge | YDN Blog – Wed, Sep 29, 2010 5:00 PM EDT
We just wrapped up the third Hack U at Carnegie Mellon University (CMU), and it was a good one. CMU hackers are talented, motivated, and friendly. We had 33 hacks submitted. You can find the full list of hacks on the YDN Hack U site.
This web app allowed everyone in the room to compose music together by clicking on a canvas. A great example of user-generated content appropriate for all ages. Tech used: HTML5 canvas), Node.js, and an ActionScript sound library.
2nd place: Radio Stalin
Don’t call it “social”. Radio Stalin enables a community of users to watch the same video (Stalin-era Soviet propaganda) at the same time. Tech used: websockets and Node.js to coordinate YouTube video playback and a chat client. Produced by creators of Creepy Chat, which was a winner last year.
3rd place: Random Encounters
This app presented a slick interface for the CMU calendaring system, and used the CMU’s
By Erik Eldridge | YDN Blog – Thu, Jul 15, 2010 6:15 PM EDT
More than 200 people attended the 7th San Diego BarCamp last July 10-11 at Intuit's San Diego campus. Phelan Riessen, Dan Tentler, and the other members of the BarCamp SD crew did a great job organizing the event and helping everyone feel at home. To make things even better, we had beautiful weather all weekend and the World Cup final on Sunday.
The following photo shows BarCampers eating the Yahoo! Developer Network-sponsored lunch on a gorgeous Saturday.
It is important for users and developers to understand how to do this. Users may change their minds about allowing an app to access their data. Developers need to build apps that can handle such changes.
By Erik Eldridge | YDN Blog – Fri, Apr 16, 2010 1:00 PM EDT
The Hack U season concluded with a great week at the University of California, San Diego UCSD. Special thanks to Cody Noghera, Deputy Director of Corporate Affiliates Program (CAP), and Erica Kosa, for helping organize the hack. Also to Gert Lanckreit, of "herd it" fame, Professor Rick Ord, and Gary Gillespie for being guest judges.
Hackers slap the "hack like a champion" sign in the CSE building at the start of the 24 challenge.
The 24-hour hack session ran Thursday and Friday. Here are the results from the competition, with descriptions of the hacks submitted.
#1 Overall: Rock My World!, an iPhone app that displays local concerts
Put this file on a server (this could just be localhost, e.g., http://localhost/myfile.php, if you have a web server installed).
Browse to the file.
When called without a parameter, this script will make an OAuth signed request to itself, with a GET parameter server set to true. When the script is called with the server parameter set, it will check the signature of the request. If the signature is valid, it will return orale!. If the signature is invalid, it will terminate and return invalid signature.
For those reading this in an RSS reader, you can see the code on github.
By Erik Eldridge | YDN Blog – Tue, Mar 30, 2010 10:00 AM EDT
I presented a talk on cloud computing at an event organized by the AIM Institute at Gallup University in Omaha, Nebraska, on March 26. The phrase "cloud computing" is a bit vague, so I focused on describing a few different types of cloud-like services (e.g., app hosting, virtual private servers, file & data storage, grid computing, etc.) and Yahoo!'s role in the cloud computing community.
For those using feed readers, you can see the code on Github.
The script’s operation flows like this:
The small view will first load the default content (see below), which will callback to this code to fetch the output defined in the else clause of this code.
That content will then use a yml:include tag to call back to itself with the parameter “item=1”.
The script will then execute the if statement and return the default body content for the app.
To use the script, do the following:
Copy/paste this code into the index file at the root of your app. For example, if the base url for your app is http://example.com/index.php, put this code in index.php. Be sure to remove/comment-out any code already in index.php that may interfere.
Put the following code in the default small view code box in the YAP dashboard: loading…. Note that because the “params” attribute is
Note: instead of running all this on the page, you might consider using YQL execute to generate your HTML on Yahoo! servers and pass it back to the handler for insertion into the page. You could also create an adhoc API that leans on Yahoo!'s cache to reduce WWF's bandwidth costs.