background preloader

How to Write a Spelling Corrector

How to Write a Spelling Corrector

Exercise 3: Numbers And Math — Learn Python The Hard Way, 2nd Edition Every programming language has some kind of way of doing numbers and math. Do not worry: programmers lie frequently about being math geniuses when they really aren't. If they were math geniuses, they would be doing math, not writing ads and social network games to steal people's money. This exercise has lots of math symbols. + plus- minus/ slash* asterisk% percent< less-than> greater-than<= less-than-equal>= greater-than-equal Notice how the operations are missing? $ python ex3.py I will now count my chickens:Hens 30Roosters 97Now I will count the eggs:7Is it true that 3 + 2 < 5 - 7? Above each line, use the # to write a comment to yourself explaining what the line does.Remember in Exercise 0 when you started Python? Why is the % character a "modulus" and not a "percent"? Mostly that's just how the designers chose to use that symbol. How does % work? Another way to say it is, "X divided by Y with J remaining." What is the order of operations? Why does / (divide) round down?

Cython: C-Extensions for Python Coursera.org UPDATE: we're doing a live, updated MOOC of this course at stanford-online July-2014 (not this Coursera version). See here: CS101 teaches the essential ideas of Computer Science for a zero-prior-experience audience. Computers can appear very complicated, but in reality, computers work within just a few, simple patterns. CS101 demystifies and brings those patterns to life, which is useful for anyone using computers today. In CS101, students play and experiment with short bits of "computer code" to bring to life to the power and limitations of computers. Here is another video Nick created for this class.

Recognition by Components Theory Geons[edit] The recognition-by-components theory suggests that there are less than 36 geons which are combined to create the objects we see in day to day life.[3] For example, when looking at a mug we break it down into two components – “cylinder” and “handle”. This too works for more complex objects, which in turn are made up of a larger amount of geons. Perceived geons are then compared with objects in our stored memory to identify what it is we are looking at. The theory proposes that when we view objects we look for two important components. Edges – This enables us to maintain the same perception of the object regardless of viewing orientation.Concavities – The area where two edges meet. Viewpoint Invariance[edit] One of the most defining factors of the Recognition-by-Components theory is that it enables us to recognize objects regardless of viewing angle, this is known as viewpoint invariance. Strengths of the theory[edit] Experimental evidence[edit] Weaknesses[edit] References[edit]

Persistence, Scripting, Deployment Khan Academy Raphael Additional Helper!! Database 4.... Wait... Notes... Initialising New(3rd June) Animation.delay Animation.repeat Element.animate Element.animateWith Element.attr Element.click Element.clone Element.data Element.dblclick Element.drag Element.getBBox Element.getPointAtLength Element.getSubpath Element.getTotalLength Element.glow Element.hide Element.hover Element.id Element.insertAfter Element.insertBefore Element.isPointInside Element.matrix Element.mousedown Element.mousemove Element.mouseout Element.mouseover Element.mouseup Element.next Element.node Element.onDragOver Element.paper Element.pause Element.prev Element.raphael Element.remove Element.removedata Element.resume Element.rotate Element.scale Element.setTime Element.show Element.status Element.stop Element.toBack Element.toFront Element.touchcancel Element.touchend Element.touchmove Element.touchstart Element.transform Element.translate Element.unclick Element.undblclick Element.undrag Element.unhover Element.unmousedown Element.untouchcancel Element.untouchend Element.untouchmove Element.untouchstart eve.on

Online Python Tutor - Learn programming by visualizing code execution Inbox - aoatkinson - Gmail Home - D Programming Language A Brief Rant on the Future of Interaction Design So, here's a Vision Of The Future that's popular right now. It's a lot of this sort of thing. As it happens, designing Future Interfaces For The Future used to be my line of work. I had the opportunity to design with real working prototypes, not green screens and After Effects, so there certainly are some interactions in the video which I'm a little skeptical of, given that I've actually tried them and the animators presumably haven't. My problem is the opposite, really — this vision, from an interaction perspective, is not visionary. This matters, because visions matter. This little rant isn't going to lay out any grand vision or anything. Before we think about how we should interact with our Tools Of The Future, let's consider what a tool is in the first place. I like this definition: A tool addresses human needs by amplifying human capabilities. That is, a tool converts what we can do into what we want to do. In this rant, I'm not going to talk about human needs. That's right! So then.

Beginning Perl (free) - www.perl.org by Simon Cozens What does this book cover? Installing Perl on Windows and UNIX Making use of online Perl resources like CPAN First principles in programming and the Perl syntax Working with files and databases Writing web pages in Perl Using Perl as an object-oriented language Book overview Perl is a well-established programming language that has been developed through the time and effort of countless free software programmers into an immensely powerful tool that can be used on pratically every operating system in the world. "There's more than one way to do it" is the motto of Perl, but this book aims to take you through them all. Who is this book for? This book is for those new to programming who want to learn with Perl.

Related: