background preloader

Programming

Facebook Twitter

Goodbye, Object Oriented Programming. I’ve been programming in Object Oriented languages for decades.

Goodbye, Object Oriented Programming

The first OO language I used was C++ and then Smalltalk and finally .NET and Java. I was gung-ho to leverage the benefits of Inheritance, Encapsulation, and Polymorphism. The Three Pillars of the Paradigm. I was eager to gain the promise of Reuse and leverage the wisdom gained by those who came before me in this new and exciting landscape. I couldn’t contain my excitement at the thought of mapping my real-world objects into their Classes and expected the whole world to fall neatly into place.

I couldn’t have been more wrong. At first glance, Inheritance appears to be the biggest benefit of the Object Oriented Paradigm. Knowledge base - Numato Lab Documentation Portal. Free-programming-books/free-programming-books.md at master · vhf/free-programming-books. Welcome to CodeIgniter : CodeIgniter User Guide. Welcome to CodeIgniter CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP.

Welcome to CodeIgniter : CodeIgniter User Guide

Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task. Who is CodeIgniter For? CodeIgniter is right for you if:

[python] Can i install numpy on yun? jQuery UI Demos. jQuery UI offers a combination of interaction, effects, widgets, utilities, and themes designed to work well together or on their own.

jQuery UI Demos

Play with the demos, view the source, build a theme, read the API documentation and start using jQuery UI today. Interactions Interactions add basic mouse-based behaviors to any element. You can create sortable lists, resizable elements, drag & drop behaviors and more with just a few lines of code. Interactions also make great building blocks for more complex widgets and applications. Widgets Widgets are full-featured UI controls that bring the richness of desktop applications to the Web. Effects Effects add support for animating colors and class transitions, as well as providing several additional easings. Utilities.

Python

Play with Ricoh THETA w/o Smartphones. TL;DR: Using gphoto2 with PTP/IP seems to give us a full control of Ricoh THETA without proprietary softwares nor hardwares.

Play with Ricoh THETA w/o Smartphones

Ricoh THETA (and also gphoto2) are awesome. Detailed explanation. Download Free Artificial Intelligence Open Source Software - SourceForge. RICOH THETA HACKS! - 無線LAN越しに制御する方法 (THETA Wifi control protocol , sample perl scripts) - MobileHackerz. Ios - How to simulate a click on home screen of (jailbroken) iPhone. Raspberry. Connecting to a UDP data stream with Mathematica. Propaganda. Procoding - Coding with Style. Using RXTX - Rxtx. From Rxtx This page is for general content regarding the use of rxtx. Feel free to add your own content. Code examples I wrote an app several months ago using javax.comm on windows.

Sun has left me high and dry. rxtx help! Download [1]unzip it copy rxtxSerial.dll into your c:\program files\java\jre-version\bin dir copy RXTXcomm.jar into your c:\program files\java\jre-version\lib\ext dir change all references from 'javax.comm' to 'gnu.io' recompile test. Arduino Cookbook, Second Edition > 4. Serial Communications > Discussion. Tutorials - Bitwise Operators and Bit Manipulations in C and C. Generally, as a programmer you don't need to concern yourself about operations at the bit level.

Tutorials - Bitwise Operators and Bit Manipulations in C and C

You're free to think in bytes, or ints and doubles, or even higher level data types composed of a combination of these. But there are times when you'd like to be able to go to the level of an individual bit. Exclusive-or encryption is one example when you need bitwise operations. Another example comes up when dealing with data compression: what if you wanted to compress a file? In principle, this means taking one representation and turning it into a representation that takes less space. Finally, you can use bit operations to speed up your program or perform neat tricks. Thinking about Bits The byte is the lowest level at which we can access data; there's no "bit" type, and we can't ask for an individual bit.

The leftshift operator is the equivalent of moving all the bits of a number a specified number of places to the left: [variable]<<[number of places] Why is it integer division? Operators in C and C++ When not overloaded, for the operators &&, ||, and , (the comma operator), there is a sequence point after the evaluation of the first operand.

Operators in C and C++

C++ also contains the type conversion operators const_cast, static_cast, dynamic_cast, and reinterpret_cast. The formatting of these operators means that their precedence level is unimportant. Table[edit] For the purposes of this table, a, b, and c represent valid values (literals, values from variables, or return value), object names, or lvalues, as appropriate. R, S and T stand for any type(s), and K for a class type or enumerated type. "Can overload" means that the operator can be overloaded in C++. Arithmetic operators[edit] Comparison operators/relational operators[edit]