Other Stuff

Learning JavaScript – Name Game

When I was younger I found it really interesting you could piece together 'tags' to make web pages. More recently, I've found it fascinating how the guys at Cyanogenmod and ModaCo can hack through source code for phones. They improve not only the speed but also the functionality of android phones sometimes far beyond where the original manufacturer gave up. My example is my old HTC Magic which was running Android 2.1 reasonably well thanks to Cyanogen and team but HTC left me high and dry on Android 1.6!

So the point is, I'd love to be able to do that too. I told myself while I was in Canada I would learn Java but never got round to it (busy life!). Since then I've been spending my time filling in job applications...

Lifehacker brought my attention to Codecademy, an interactive teach-yourself site currently focused on javascript, so I decided to give it a bash. Within a few minutes I was hooked and completed the whole thing in one sitting. Not terribly long but it put wood on the fire. I decided to do something with what I learnt and the result is below.

I just hope that Codecademy update with more detailed lessons in more languages in the near future. Continue reading

Find MeTwitterFacebookLinkedinYoutubeFlickrTags</div> </div><div class="art-blockcontent"><a href="https://twitter.com/#!/jambezuk" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Twitter_32x32.png" alt="Twitter" /></a><a href="http://www.facebook.com/jambezuk" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Facebook_32x32.png" alt="Facebook" /></a><a href="http://www.linkedin.com/in/jamesberridge" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Linkedin_32x32.png" alt="Linkedin" /></a><a href="http://www.youtube.com/user/jambezuk" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Youtube_32x32.png" alt="Youtube" /></a><a href="http://www.flickr.com/photos/bez_uk/" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Flickr_32x32.png" alt="Flickr" /></a><div class="tagcloud"><a href="http://www.bezzer.co.uk/tag/450d/" class="tag-cloud-link tag-link-28 tag-link-position-1" style="font-size: 20.9230769231pt;" aria-label="450D (7 items)">450D</a> <a href="http://www.bezzer.co.uk/tag/android-tag/" class="tag-cloud-link tag-link-20 tag-link-position-2" style="font-size: 19.8461538462pt;" aria-label="android (6 items)">android</a> <a href="http://www.bezzer.co.uk/tag/battery-life/" class="tag-cloud-link tag-link-23 tag-link-position-3" style="font-size: 8pt;" aria-label="battery life (1 item)">battery life</a> <a href="http://www.bezzer.co.uk/tag/bf3/" class="tag-cloud-link tag-link-59 tag-link-position-4" style="font-size: 11.8769230769pt;" aria-label="BF3 (2 items)">BF3</a> <a href="http://www.bezzer.co.uk/tag/build/" class="tag-cloud-link tag-link-58 tag-link-position-5" style="font-size: 8pt;" aria-label="build (1 item)">build</a> <a href="http://www.bezzer.co.uk/tag/canon-450d/" class="tag-cloud-link tag-link-27 tag-link-position-6" style="font-size: 22pt;" aria-label="Canon 450D (8 items)">Canon 450D</a> <a href="http://www.bezzer.co.uk/tag/cm9/" class="tag-cloud-link tag-link-62 tag-link-position-7" style="font-size: 8pt;" aria-label="CM9 (1 item)">CM9</a> <a href="http://www.bezzer.co.uk/tag/code/" class="tag-cloud-link tag-link-51 tag-link-position-8" style="font-size: 11.8769230769pt;" aria-label="code (2 items)">code</a> <a href="http://www.bezzer.co.uk/tag/comparison/" class="tag-cloud-link tag-link-12 tag-link-position-9" style="font-size: 14.4615384615pt;" aria-label="comparison (3 items)">comparison</a> <a href="http://www.bezzer.co.uk/tag/custom/" class="tag-cloud-link tag-link-57 tag-link-position-10" style="font-size: 8pt;" aria-label="custom (1 item)">custom</a> <a href="http://www.bezzer.co.uk/tag/flash/" class="tag-cloud-link tag-link-44 tag-link-position-11" style="font-size: 14.4615384615pt;" aria-label="flash (3 items)">flash</a> <a href="http://www.bezzer.co.uk/tag/flickr/" class="tag-cloud-link tag-link-45 tag-link-position-12" style="font-size: 8pt;" aria-label="flickr (1 item)">flickr</a> <a href="http://www.bezzer.co.uk/tag/games/" class="tag-cloud-link tag-link-60 tag-link-position-13" style="font-size: 11.8769230769pt;" aria-label="games (2 items)">games</a> <a href="http://www.bezzer.co.uk/tag/hd1010/" class="tag-cloud-link tag-link-14 tag-link-position-14" style="font-size: 8pt;" aria-label="HD1010 (1 item)">HD1010</a> <a href="http://www.bezzer.co.uk/tag/hdr/" class="tag-cloud-link tag-link-54 tag-link-position-15" style="font-size: 14.4615384615pt;" aria-label="HDR (3 items)">HDR</a> <a href="http://www.bezzer.co.uk/tag/headphone/" class="tag-cloud-link tag-link-41 tag-link-position-16" style="font-size: 8pt;" aria-label="headphone (1 item)">headphone</a> <a href="http://www.bezzer.co.uk/tag/ir/" class="tag-cloud-link tag-link-71 tag-link-position-17" style="font-size: 11.8769230769pt;" aria-label="IR (2 items)">IR</a> <a href="http://www.bezzer.co.uk/tag/javascript/" class="tag-cloud-link tag-link-49 tag-link-position-18" style="font-size: 11.8769230769pt;" aria-label="javascript (2 items)">javascript</a> <a href="http://www.bezzer.co.uk/tag/joomla/" class="tag-cloud-link tag-link-10 tag-link-position-19" style="font-size: 8pt;" aria-label="joomla (1 item)">joomla</a> <a href="http://www.bezzer.co.uk/tag/learning/" class="tag-cloud-link tag-link-50 tag-link-position-20" style="font-size: 11.8769230769pt;" aria-label="learning (2 items)">learning</a> <a href="http://www.bezzer.co.uk/tag/lg2x/" class="tag-cloud-link tag-link-24 tag-link-position-21" style="font-size: 11.8769230769pt;" aria-label="lg2x (2 items)">lg2x</a> <a href="http://www.bezzer.co.uk/tag/light/" class="tag-cloud-link tag-link-43 tag-link-position-22" style="font-size: 19.8461538462pt;" aria-label="light (6 items)">light</a> <a href="http://www.bezzer.co.uk/tag/observations/" class="tag-cloud-link tag-link-61 tag-link-position-23" style="font-size: 14.4615384615pt;" aria-label="observations (3 items)">observations</a> <a href="http://www.bezzer.co.uk/tag/overclockersuk/" class="tag-cloud-link tag-link-56 tag-link-position-24" style="font-size: 8pt;" aria-label="OverclockersUK (1 item)">OverclockersUK</a> <a href="http://www.bezzer.co.uk/tag/pc/" class="tag-cloud-link tag-link-55 tag-link-position-25" style="font-size: 16.6153846154pt;" aria-label="PC (4 items)">PC</a> <a href="http://www.bezzer.co.uk/tag/plugin/" class="tag-cloud-link tag-link-46 tag-link-position-26" style="font-size: 8pt;" aria-label="plugin (1 item)">plugin</a> <a href="http://www.bezzer.co.uk/tag/profile/" class="tag-cloud-link tag-link-22 tag-link-position-27" style="font-size: 16.6153846154pt;" aria-label="profile (4 items)">profile</a> <a href="http://www.bezzer.co.uk/tag/programming/" class="tag-cloud-link tag-link-52 tag-link-position-28" style="font-size: 11.8769230769pt;" aria-label="programming (2 items)">programming</a> <a href="http://www.bezzer.co.uk/tag/review/" class="tag-cloud-link tag-link-36 tag-link-position-29" style="font-size: 16.6153846154pt;" aria-label="review (4 items)">review</a> <a href="http://www.bezzer.co.uk/tag/sanyo/" class="tag-cloud-link tag-link-16 tag-link-position-30" style="font-size: 8pt;" aria-label="sanyo (1 item)">sanyo</a> <a href="http://www.bezzer.co.uk/tag/sanyo-hd1010/" class="tag-cloud-link tag-link-13 tag-link-position-31" style="font-size: 8pt;" aria-label="Sanyo HD1010 (1 item)">Sanyo HD1010</a> <a href="http://www.bezzer.co.uk/tag/site/" class="tag-cloud-link tag-link-8 tag-link-position-32" style="font-size: 11.8769230769pt;" aria-label="site (2 items)">site</a> <a href="http://www.bezzer.co.uk/tag/sms/" class="tag-cloud-link tag-link-48 tag-link-position-33" style="font-size: 8pt;" aria-label="sms (1 item)">sms</a> <a href="http://www.bezzer.co.uk/tag/sony/" class="tag-cloud-link tag-link-35 tag-link-position-34" style="font-size: 14.4615384615pt;" aria-label="Sony (3 items)">Sony</a> <a href="http://www.bezzer.co.uk/tag/sony-dsc-w7/" class="tag-cloud-link tag-link-29 tag-link-position-35" style="font-size: 8pt;" aria-label="Sony DSC-W7 (1 item)">Sony DSC-W7</a> <a href="http://www.bezzer.co.uk/tag/sony-dsc-w300/" class="tag-cloud-link tag-link-30 tag-link-position-36" style="font-size: 11.8769230769pt;" aria-label="Sony DSC-W300 (2 items)">Sony DSC-W300</a> <a href="http://www.bezzer.co.uk/tag/sony-dsc-wx10/" class="tag-cloud-link tag-link-31 tag-link-position-37" style="font-size: 11.8769230769pt;" aria-label="Sony DSC-WX10 (2 items)">Sony DSC-WX10</a> <a href="http://www.bezzer.co.uk/tag/tasker/" class="tag-cloud-link tag-link-21 tag-link-position-38" style="font-size: 18.3384615385pt;" aria-label="tasker (5 items)">tasker</a> <a href="http://www.bezzer.co.uk/tag/update/" class="tag-cloud-link tag-link-9 tag-link-position-39" style="font-size: 11.8769230769pt;" aria-label="update (2 items)">update</a> <a href="http://www.bezzer.co.uk/tag/video-camera/" class="tag-cloud-link tag-link-17 tag-link-position-40" style="font-size: 8pt;" aria-label="video camera (1 item)">video camera</a> <a href="http://www.bezzer.co.uk/tag/volume/" class="tag-cloud-link tag-link-42 tag-link-position-41" style="font-size: 11.8769230769pt;" aria-label="volume (2 items)">volume</a> <a href="http://www.bezzer.co.uk/tag/w7/" class="tag-cloud-link tag-link-32 tag-link-position-42" style="font-size: 8pt;" aria-label="W7 (1 item)">W7</a> <a href="http://www.bezzer.co.uk/tag/w300/" class="tag-cloud-link tag-link-33 tag-link-position-43" style="font-size: 11.8769230769pt;" aria-label="W300 (2 items)">W300</a> <a href="http://www.bezzer.co.uk/tag/wordpress/" class="tag-cloud-link tag-link-11 tag-link-position-44" style="font-size: 11.8769230769pt;" aria-label="wordpress (2 items)">wordpress</a> <a href="http://www.bezzer.co.uk/tag/wx10/" class="tag-cloud-link tag-link-34 tag-link-position-45" style="font-size: 11.8769230769pt;" aria-label="WX10 (2 items)">WX10</a></div> </div> </div></div> </div> </div> </div><footer class="art-footer"><div class="art-footer-text"> <p><a title="RSS" class="art-rss-tag-icon" style="position: absolute; bottom: 10px; left: 6px; line-height: 25px;" href="#"></a></p><div style="position:relative;padding-left:10px;padding-right:10px"><p>Copyright © 2013. All Rights Reserved.</p></div> </div> </footer> </div> <p class="art-page-footer"> <span id="art-footnote-links">Designed by <a href="http://www.bezzer.co.uk" target="_blank">Bezzer</a>.</span> </p> </div> <div id="wp-footer"> <!-- Google Analytics Code added by Web Ninja Google Analytics plugin v1.0.7: http://josh-fowler.com/?page_id=70 --> <script type='text/javascript'> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-9071547-3']); _gaq.push(['_setDomainName', '.bezzer.co.uk']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <!-- Web Ninja Google Analytics Done --> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20130122'></script> <script type='text/javascript' src='https://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201917'></script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/wp-jquery-lightbox/jquery.touchwipe.min.js?ver=1.4.8'></script> <script type='text/javascript'> /* <![CDATA[ */ var JQLBSettings = {"showTitle":"1","showCaption":"1","showNumbers":"1","fitToScreen":"1","resizeSpeed":"400","showDownload":"0","navbarOnTop":"0","marginSize":"50","slideshowSpeed":"4000","prevLinkTitle":"previous image","nextLinkTitle":"next image","closeTitle":"close image gallery","image":"Image ","of":" of ","download":"Download","pause":"(pause slideshow)","play":"(play slideshow)"}; /* ]]> */ </script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/wp-jquery-lightbox/jquery.lightbox.min.js?ver=1.4.8'></script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-includes/js/wp-embed.min.js?ver=5.1.1'></script> <script type='text/javascript' src='https://stats.wp.com/e-201917.js' async='async' defer='defer'></script> <script type='text/javascript'> _stq = window._stq || []; _stq.push([ 'view', {v:'ext',j:'1:7.2.1',blog:'25573657',post:'0',tz:'0',srv:'www.bezzer.co.uk'} ]); _stq.push([ 'clickTrackerInit', '25573657', '0' ]); </script> <div id="cookie-notice" role="banner" class="cn-bottom bootstrap" style="color: #fff; background-color: #000;"><div class="cookie-notice-container"><span id="cn-notice-text">We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.</span><a href="#" id="cn-accept-cookie" data-cookie-set="accept" class="cn-set-cookie cn-button bootstrap button">Ok</a> </div> </div> <!-- 59 queries. 1.086 seconds. --> </div> </body> </html>