background preloader

Coding

Facebook Twitter

Please note I will no longer be updating this pearltree as of July 2015.

Free-programming-books/free-programming-books.md at master · vhf/free-programming-books. How Remote Controls Work" Pushing a button on a remote control sets in motion a series of events that causes the controlled device to carry out a command. The process works something like this: You push the "volume up" button on your remote control, causing it to touch the contact beneath it and complete the "volume up" circuit on the circuit board. The integrated circuit detects this.The integrated circuit sends the binary "volume up" command to the LED at the front of the remote.The LED sends out a series of light pulses that corresponds to the binary "volume up" command.

One example of remote-control codes is the Sony Control-S protocol, which is used for Sony TVs and includes the following 7-bit binary commands (source: ARRLWeb): Button 1 = 000 0000 Button 2 = 000 0001 Button 3 = 000 0010 Button 4 = 000 0011 Channel Up = 001 0001 Channel Down = 001 0001 Power On = 001 0101 Power Off = 010 1111 Volume Up = 001 0010 Volume Down = 001 0011 The remote signal includes more than the command for "volume up," though. Google Offers A Free Crash Course In Android Development. Google has teamed up with Udacity to make available a free course in Android development available to all – complete with videos, quizzes, course materials and forums.

The course is called “Developing Android Apps: Android Fundamentals,” and it provides everything you need to learn how to make an Android app step-by-step; provided, that is, you already have a basic understanding of programming in general. The Android course is presented by Google Developer Advocates Reto Meier, Dan Galpin and Katherine Kuan, and also features personalized feedback and direct guidance from coaches for students who are also enrolled in Udacity’s paid, guided subscription program. The aim of the program is to provide context regarding the history of Android and its creation, as well as teach you how to build actual Android software, with the aim of getting devs to the point where they can think in terms of Android programming instead of just shoehorning their existing experience onto the platform.

Educational Toys to Introduce Your Child to Technology. Every week I hear about another amazing product which teaches kids about technology, programming or engineering. Here’s a list of our favourites, enjoy! Program a Robot Using Wooden Blocks There are a lot of good remote-controlled toys and programable robots around, but most require a computer or iPad to enter the instructions. What I love about Primo is that it’s a physical programming board into which you place wooden pegs to give the robot it’s instructions. Teaching Young Girls to Build In a world where men largely outnumber women in science, technology, engineering and math… and girls lose interest in these subjects as early as age 8. Goldie Blox teaches primary school girls about engineering.

Robot Turtles is a Programming-based Board Game Robot Turtles has a sneaky way of teaching kids – as young as preschoolers – the basics of programming. Geek Alphabet Building Blocks This set of 36 beautifully hand-crafted building blocks feature all sorts of geek culture icons. CS50x: Introduction to Computer Science. CS50x is Harvard College's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience. An entry-level course taught by David J.

Malan, CS50x teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web development. Languages include C, PHP, and JavaScript plus SQL, CSS, and HTML. Problem sets inspired by real-world domains of biology, cryptography, finance, forensics, and gaming.

As of Fall 2013, the on-campus version of CS50x was Harvard's second-largest course. Students who earn a satisfactory score on 9 problem sets (i.e., programming assignments) and a final project will receive a certificate from HarvardX. Simply Audit this Course Can't commit to all of the lectures, assignments, and tests? Try for a Certificate. Begin programming: build your first mobile game — University of Reading. Learn the basics of Java programming by developing a simple mobile game that you can run on your computer, Android phone, or tablet.

Programming is everywhere: in dishwashers, cars and even space shuttles. This course will help you to understand how programs work and guide you through creating your own computer program – a mobile game. Whether you’re a complete newcomer to programming, or have some basic skills, this course provides a challenging but fun way to start programming in Java. Over seven weeks we will introduce the basic constructs that are used in many programming languages and help you to put this knowledge into practice by changing the game code we have provided. You’ll have the freedom to create a game that’s unique to you, with support from the community and educators if you get stuck. You’ll learn how to create algorithms to solve problems and translate these into code, using the same tools as industry professionals worldwide. The Developer Cheat Sheet Compilation | FuzzyOpinions.com. I know personally, I’m not one of those people that can remember every detail of every language and never look anything up.

It’s nice to have a cheat sheet with a quick summary of some of the most commonly used procedures, tags, tools, syntax, etc, saving time that would have been used to look it up on Google or dig through documentation either online or in printed text. The following is a list of links to several different cheat sheets on a wide variety of tasks and tools.

You can print them out and hang them on your wall (my personal choice) or simply bookmark them for easy access down the road. If you have any additional suggestions or see something I’ve missed, let me know… Command Line Databases Programming Unix/Linux Web Development Miscellaneous Topics [tags]cheat sheet, development, c++, java, php, linux, unix, perl, python, css, jquery, html, xhtml[/tags] Top 10 Tools for a Free Online Education. Online Python Courses & Tutorials | LearnStreet. Argument Is a value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function. Syntax function_name(argument1, argument2, ...): #Function definition Example def sum(a,b): #a & b are two arguments in sum function s=a+b return s Assignment Assignment operator assigns the value to an object, it assigns from right to left. x = 10 # Integer value. x = "John" # String with double quote. x = 'Jack' # String with single quote.# String can be denoted by either a single quote or double quote.x = 45.50 #Float value.

The type of a variable depends upon the value assigned. Bytecode Is an intermediate language for the Python Virtual Machine within the interpreter. Class A class is a construct that is used to create instances of itself – referred to as class instances, class objects, instance objects or simply objects. Class Class_name: "class documents " #class definition includes data variables, methods, and class Output Code Comments Dictionary break.

Python Websites and Tutorials.