code

Showing 33 posts tagged code

Today is International Women’s Day, and as one of our contributions to the celebration, we’re proud to support Voices Global Conference, presented by Global Tech Women. As part of this 24-hour live streamed event, Google will provide more than a dozen hours of free talks featuring women working in computer science, beginning today. To access the full schedule and our ongoing broadcasts, see our section on the Voices website, which will be updated throughout the day.

The Voices Global Conference is the brainchild of Global Tech Women’s founder Deanna Kosaraju, who also started India’s Grace Hopper Celebration of Women in Computing in 2010 with grant support from Google.

Hi Gwen, Love your Tumblr. Is it easy to make the slideshow? I would like to have that for my tumbler, but I have no knowledge of HTML (or very limited). I understand if you don't have time to answer this. Also, what template are you using? Your page is beautiful and full of insights. Thanks for creating it! Pilar Munday

Asked by aprendeconfotos

image

Wow, thank you so much Pilar! I really like the idea of your tumblr too - pictures to help practice Español! The slideshow would let your viewers practice much easier - glad you asked.

You can add a slideshow to your tumblr pretty easily - here are the instructions (if you run into trouble, message me):

  1. View the source code of that slideshow and copy it. It’ll work as-is for any Tumblr without any changes.

    <!-- Fullscreen Tumblr Image Viewer v0.3 by topherchris -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    	<head>
    		<title></title>
    		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    		<link rel="stylesheet" href="http://fllscrn.com/css/supersized.css" type="text/css" media="screen" />
    		<link rel="stylesheet" href="http://fllscrn.com/theme/supersized.beta.css" type="text/css" media="screen" />
    		<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
    		<script type="text/javascript" src="http://fllscrn.com/js/jquery.easing.min.js"></script>
    		<script type="text/javascript" src="http://fllscrn.com/js/supersized.3.2.7.min.js"></script>
    		<script type="text/javascript" src="http://fllscrn.com/theme/supersized.beta.js"></script>
    		<script type="text/javascript" src="http://static.tumblr.com/sajzoro/Wfzloggrk/tumblr-query.js"></script>
    		<script type="text/javascript">
    		var slides = [];
    		TumblrQuery.query(
    			'http://api.tumblr.com/v2/blog/?/posts/photo',
    			{
    				limit: 30,
    				api_key: 'QzBFicp9EaPWrCzepyISnrKRgE7b85PCwAWwhoi54LgndsUAob',
    				onSuccess: function(transport) {
    					document.title = transport.response.blog.title;
    					for (i in transport.response.posts) {
    						var post = transport.response.posts[i];
    						for (i in post.photos) {
    							var imageurl = post.photos[i].alt_sizes[0].url;
    						}
    						var posturl = post.post_url;
    						var avatar = "<div id=\"avatar\"><a href=\"http://" + post.blog_name + ".tumblr.com/\"><img src=\"http://api.tumblr.com/v2/blog/" + post.blog_name + ".tumblr.com/avatar/64\" /></a></div>";
    						var framesrc = "http://assets.tumblr.com/iframe.html?10&src=" + encodeURIComponent(posturl) + "&amp;pid=" + post.id + "&amp;rk=" + post.reblog_key + "&amp;lang=en_US&amp;name=" + post.blog_name;
    						var iframe = "<iframe src=\"" + framesrc + "\" scrolling=\"no\" width=\"330\" height=\"25\" frameborder=\"0\" style=\"position:absolute; z-index:1337; top:0px; right:0px; border:0px; background-color:transparent; overflow:hidden;\" id=\"tumblr_controls\"></iframe>";
    						var layer = avatar + iframe;
    						slides.push({
    							image: imageurl,
    							url: posturl,
    							layer: layer
    						});
    					}
    				},
    				onFailure: function() {
    					alert('Something went wrong. I\'m so very sorry.');
    				},
    				onComplete: function() {
    					$.supersized({slides: slides});
    				}
    			}
    		);
    		</script>
    	<script type="text/javascript" language="javascript" src="http://assets.tumblr.com/javascript/tumblelog.js?2f72e5d41a88380020b3737681107236"></script><meta http-equiv="x-dns-prefetch-control" content="off"/></head>
    <body>
    	<div id="page"></div>
    	<a id="prevslide" class="load-item"></a>
    	<a id="nextslide" class="load-item"></a>
    </body>
    </html>
  2. Head to the Customize Theme area and add a new page.

  3. Select Custom Layout, give it a url, decide if you want to display a link (if your theme supports it), and…

  4. Paste the source code in the form and enjoy.

I’m using the Swell template by Style Hatch, but I’d recommend any of their templates. They’re nice looking, easy to customize, and their support is helpful and friendly. ¡Buena suerte!

For the students in this computer-lab-turned-mini-software-company, who spend the entire course working individually or with partners developing a game that teaches an educational concept of their choosing, there’s the critical thinking needed to understand and communicate to players what exactly is toughest to teach about a subject. There are also the transferable skills of proposal writing, storyboarding, AdobeScript software coding, informational blogging, and presentation of progress reports, as students follow a development plan similar to those in the commercial gaming industry through tools available through their account on Globaloria’s wiki site.

theinsidelane makes me happy with news of:

Weebly Launch iPhone App

Weebly today launched an app that allows users to post to their Weebly blogs.

As you can see from the pictures accompanying this post, you can select any blog you have added to a site. In my case, my school has two blogs on our website so it’s great to be able to post to both.

Writing a post is simple and you can even add photos and videos directly from your device’s camera or from your media library.

The app also let’s you access form entries if your site contains forms and stats that include page hits and unique visitor numbers.

I’m personally delighted to now have this app as it will make school blogging that bit easier!

Follow the link to find this app in the App Store. http://itunes.apple.com/ie/app/weebly/id511158309

Giving Women the Access Code

In 2010, just 18.2 percent of undergraduates in the field were women, according to the National Center for Education Statistics — in spite of gains in chemistry, biomechanical engineering and other so-called STEM fields (the acronym stands for science, technology, engineering and mathematics).

“It must be the unique area of science and technology where women have made negative progress,” said Nicholas Pippenger, a mathematics professor at Harvey Mudd, who is married to Dr. Klawe.

How to Submit Your Tumblr to Google Webmaster

So, you want google to crawl/index your tumblr quickly so that your posts show up in searches, right? Easy.

  1. By now you should have a Google Analytics account. Use the same account/email and get yourself a Google Webmaster account.
  2. Add a site and enter in your tumblr
  3. Verify your site: do this by using the “metatag” option. Copy the tag that Google Webmaster creates into your tumblr theme. Copy the tag > login to tumblr > on your tumblr’s dashboard click “Customize appearance” > depending on your theme, you need to click “Custom HTML” > ARGH SO MUCH CODE that’s ok, just search for this: </head>
  4. Paste the metatag that you copied right in front of the </head> line (so it should be the last line of stuff and then </head>)
  5. Wait 60 seconds. (Seriously, sing the alphabet-song at least twice)
  6. Back in Google Webmaster, click VERIFY (if it doesn’t immediately wait 15m and try again)
  7. BAM, click submit sitemap to submit the sitemap, and type in your default tumblr sitemap at yourtumblrname.tumblr.com/sitemap1.xml. (thx Aneslin!)
  8. DONE!

Further tweaking your tumblr is for Google Webmaster 103, next semester. My office hours are anytime, so if you need help or have questions, just contact me!


Raspberry PI’s $35 Computer Enters Production
Raspberry PI Foundation, the UK-based non-profit, has begun production on its $35 Linux computer. It’s about the size of a credit card and will ship as an open board like that pictured above.
For display, users can plug it into existing monitors or televisions. USB connections are available for keyboard and mouse.
The Foundation’s goal is to put inexpensive computers into the hands of young people to hack upon.
The backstory comes via Raspberry Pi:

The idea behind a tiny and cheap computer for kids came in 2006, when Eben Upton was lecturing and working in admissions at Cambridge University. Eben had noticed a distinct drop in the skills levels of the A Level students applying to read Computer Science in each academic year when he came to interview them. From a situation in the 1990s where most of the kids applying were coming to interview as hobbyist programmers, the landscape in the 2000s was very different; a typical applicant now had experience only with web design, and sometimes not even with that. Fewer people were applying to the course every year. Something had changed the way kids were interacting with computers…
…There isn’t much any small group of people can do to address problems like an inadequate school curriculum or the end of a financial bubble. But we felt that we could try to do something about the situation where computers had become so expensive and arcane that programming experimentation on them had to be forbidden by parents; and to find a platform that, like those old home computers, could boot into a programming environment.

Specs (via the Raspberry Pi FAQ):
Debian, Fedora and ArchLinux will be supported from the start.
256 MB RAM, 700Mhz ARM11 CPU, and a Videocore 4 GPU. The GPU is capable of BluRay quality playback, using H.264 at 40MBits/s
Size 85.60mm x 53.98mm x 17mm. It weighs 45g.
Composite and HDMI out on the board. There is no VGA support, but adaptors are available.
Perhaps a great little machine to get if you’re learning to code by following along with CodeAcademy’s Code Year.
Image: Raspberry Pi beta board, via Raspberry Pi.

via futurejournalismproject High-res

Raspberry PI’s $35 Computer Enters Production

Raspberry PI Foundation, the UK-based non-profit, has begun production on its $35 Linux computer. It’s about the size of a credit card and will ship as an open board like that pictured above.

For display, users can plug it into existing monitors or televisions. USB connections are available for keyboard and mouse.

The Foundation’s goal is to put inexpensive computers into the hands of young people to hack upon.

The backstory comes via Raspberry Pi:

The idea behind a tiny and cheap computer for kids came in 2006, when Eben Upton was lecturing and working in admissions at Cambridge University. Eben had noticed a distinct drop in the skills levels of the A Level students applying to read Computer Science in each academic year when he came to interview them. From a situation in the 1990s where most of the kids applying were coming to interview as hobbyist programmers, the landscape in the 2000s was very different; a typical applicant now had experience only with web design, and sometimes not even with that. Fewer people were applying to the course every year. Something had changed the way kids were interacting with computers…

…There isn’t much any small group of people can do to address problems like an inadequate school curriculum or the end of a financial bubble. But we felt that we could try to do something about the situation where computers had become so expensive and arcane that programming experimentation on them had to be forbidden by parents; and to find a platform that, like those old home computers, could boot into a programming environment.

Specs (via the Raspberry Pi FAQ):

  • Debian, Fedora and ArchLinux will be supported from the start.
  • 256 MB RAM, 700Mhz ARM11 CPU, and a Videocore 4 GPU. The GPU is capable of BluRay quality playback, using H.264 at 40MBits/s
  • Size 85.60mm x 53.98mm x 17mm. It weighs 45g.
  • Composite and HDMI out on the board. There is no VGA support, but adaptors are available.

Perhaps a great little machine to get if you’re learning to code by following along with CodeAcademy’s Code Year.

Image: Raspberry Pi beta board, via Raspberry Pi.

via futurejournalismproject

Where can today’s students go to learn how to make an app? That’s the question Thomas Suarez, a sixth-grader from suburban Los Angeles, asked himself after realizing that most of his peers like to play games and use apps, but schools don’t teach the basic programming skills needed to make them. So Suarez, who taught himself how to make apps using the iPhone software development kit—he created the anti-Justin Bieber, Whac-a-Mole-style game “Bustin Jieber“—decided to start an app club at school.