background preloader


Node.js is an open source, cross-platform runtime environment for server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, Linux, FreeBSD, NonStop and IBM i. Node.js provides an event-driven architecture and a non-blocking I/O API that optimizes an application's throughput and scalability. Node.js is gaining adoption as a server-side platform[4] and is used by Microsoft,[5][6] Yahoo! History[edit] Ryan Dahl, creator of Node.js Node.js was invented in 2009 by Ryan Dahl, and other developers working at Joyent.[17] Node.js was created and first published for Linux use in 2009. Dahl was inspired to create Node.js after seeing a file upload progress bar on Flickr. In June 2011, Microsoft partnered with Joyent to implement a native Windows version of Node.js.[23] The first Node.js build to support Windows was released in July. In January 2014, Schlueter announced Timothy J. Overview[edit] V8[edit] Related:  silentswerveNode.js

Introduction to Nodejs (taking javascript to the server-side) - GeexHQ 0inShare Web Technologies so far Remeber those days when we used only the basic features of html to bring texts, images, tables and few other layouts into our webpage, Later CSS came into the picture and created a huge impact or it has actually influenced the way a normal web user-interface is made. After creating webpages & designs using markups and CSS, developers turned their focus onto the data transfer techniques, thats when Ajax came into the picture. Taking Javascript to the server-side As we see there are a lot of evolutions happening with the web, now developers have thought out of the box in making javascript more than just a client side programming language.There has been considerable interest in bringing javascript onto the server side as well, thanks to the CommonJS project. However, Node.js is a bit different from these solutions, because it is event-based rather than thread based. Featuring “nodeJs” and to start interactive mode use the command p>

Data Plane Development Kit The Data Plane Development Kit (DPDK) is a set of data plane libraries and network interface controller drivers for fast packet processing. The DPDK provides a programming framework for Intel x86 processors and enables faster development of high speed data packet networking applications.[1][2] It scales from Intel Atom processors to Intel Xeon processors and support for other processor architectures like IBM POWER8 are under progress.[3] It is provided and supported under the open source[4] BSD license. Overview[edit] The DPDK framework creates a set of libraries for specific hardware/software environments through the creation of an Environment Abstraction Layer (EAL).[5] The EAL hides the environmental specific and provides a standard programming interface to libraries, available hardware accelerators and other hardware and operating system (Linux, FreeBSD) elements. Libraries[edit] The DPDK includes data plane libraries and optimized NIC drivers for the following:[6] Plugins[edit]

Event-driven programming Event handlers[edit] A trivial event handler[edit] Because the code for checking for events and the main loop do not depend on the application, many programming frameworks take care of their implementation and expect the user to provide only the code for the event handlers. In this simple example there may be a call to an event handler called OnKeyEnter() that includes an argument with a string of characters, corresponding to what the user typed before hitting the ENTER key. To add two numbers, storage outside the event handler must be used. The implementation might look like below. globally declare the counter K and the integer T. While keeping track of history is straightforward in a batch program, it requires special attention and planning in an event-driven program. Exception handlers[edit] Creating event handlers[edit] The second step is to bind event handlers to events so that the correct function is called when the event takes place. Common uses[edit] Criticism[edit] See also[edit]

Introducing Linked Data And The Semantic Web Next: Introducing Graph Data What is Linked Data and the Semantic Web and what is all the hype about? Principally, the Semantic Web is a Web 3.0 web technology - a way of linking data between systems or entities that allows for rich, self-describing interrelations of data available across the globe on the web. In essence, it marks a shift in thinking from publishing data in human readable HTML documents to machine readable documents. How Does It Differ From The Web As It Is Today? Today, much of the data we get from the web is delivered to us in the form of web pages - HTML documents that are linked to each other through the use of hyperlinks. Enter Linked Data - Liberating Web Databases From Their Old Chains The web contains lots of information, but typically the raw data itself isn't available - rather only HTML documents constructed from data, if a web site is generated from a database at all. But Where Do I Start? It needn't be complicated.

Why Developers Should Pay Attention to Node.js There's a substantial amount of buzz and enthusiasm right now about Node.js. So what is it, and why should you care about it (well, other than "I said so")? ReadWriteWeb chatted with Javascript developer Guillermo Rauch, co-founder and CTO of LearnBoost in order to get some insights. ReadWriteWeb: So, what is Node.js? ReadWriteWeb: Why should developers care? Rauch: First of all, most web developers are already using jQuery, MooTools, or similar frameworks to leverage JavaScript on the browser. Secondly, thanks to the expressiveness of JavaScript and the concise yet powerful Node.js API, you can build programs that have been typically considered out of reach or too time consuming. And lastly, you won't be alone. ReadWriteWeb: What are the key benefits of Node.js? Rauch: There are several: Fast. ReadWriteWeb: What are some of its drawbacks - and how do you respond to criticisms about Node.js? Rauch: It's incomplete. This is the only problem I see right now. Thanks, Guillermo!

Ruby (programming language) Following the release of Ruby 0.95 in 1995, several stable versions of Ruby were released in the following years: Ruby 2.0 added several new features, including: It has been obsolete since February 22, 2016 [1] and it will no longer receive bug and security fixes. Users are advised to upgrade to a more recent version. Semantic versioning also provides additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format, not available at Ruby. PowerPC64 performance Ruby 2.3.0 was released on December 25, 2015. Often people, especially computer engineers, focus on the machines. Python's property descriptors are similar, but come with a tradeoff in the development process. (In Ruby, integer literals are objects that can have methods apply to them, so requiring a digit after a decimal point helps to clarify whether 1.e5 should be parsed analogously to 1.to_f or as the exponential-format floating literal 1.0e5. Classic Hello world example: Input:

Debugging Node.js in Production By Kim Trott, Yunong Xiao We recently hosted our latest JavaScript Talks event on our new campus at Netflix headquarters in Los Gatos, California. Yunong Xiao, senior software engineer on our Node.js platform, presented on debugging Node.js in production. Yunong showed hands-on techniques using the scientific method to root cause and solve for runtime performance issues, crashes, errors, and memory leaks. We’ve shared some useful links from our talk: Videos from our past talks can always be found on our Netflix UI Engineering channel on YouTube. s Python Class - Educational Materials Welcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class includes written materials, lecture videos, and lots of code exercises to practice Python coding. These materials are used within Google to introduce Python to people who have just a little programming experience. To get started, the Python sections are linked at the left -- Python Set Up to get Python installed on your machine, Python Introduction for an introduction to the language, and then Python Strings starts the coding material, leading to the first exercise. This material was created by Nick Parlante working in the engEDU group at Google. Tip: Check out the Python Google Code University Forum to ask and answer questions.

Learning Server-Side JavaScript with Node.js Node.js is all the buzz at the moment, and makes creating high performance, real-time web applications easy. It allows JavaScript to be used end to end, both on the server and on the client. This tutorial will walk you through the installation of Node and your first “Hello World” program, to building a scalable streaming Twitter server. What is Node.js? JavaScript has traditionally only run in the web browser, but recently there has been considerable interest in bringing it to the server side as well, thanks to the CommonJS project . Other server-side JavaScript environments include Jaxer and Narwhal . “Every I/O operation in Node.js is asynchronous…” Node.js, uses an event loop instead of threads, and is able to scale to millions of concurrent connections. Step 1 Installation Node.js runs on Unix based systems, such as Mac OS X, Linux, and FreeBSD. Download the latest release of Node.js from (the latest version at the time of this writing is 0.1.31) and unzip it. make if (! else {

Open vSwitch Open vSwitch, sometimes abbreviated to OVS, is a production-quality open-source implementation of a distributed virtual multilayer switch. The main purpose of Open vSwitch is to provide a switching stack for hardware virtualization environments, while supporting multiple protocols and standards used in computer networks.[4] Project's source code is distributed under the terms of the Apache License 2.0. Overview[edit] Open vSwitch as a cross-server virtual network switch, transparently distributed across multiple physical servers.[4] As a software implementation of a virtual multilayer network switch, Open vSwitch is designed to enable effective network automation through programmatic extensions, while supporting standard management interfaces and protocols, including NetFlow, sFlow, SPAN, RSPAN, CLI, LACP and 802.1ag. Features[edit] As of November 2014[update], features provided by Open vSwitch include the following:[14][15] See also[edit] References[edit] External links[edit]