This document discusses Node.js and how it enables event-driven and non-blocking programming in JavaScript. It provides examples of how Node.js allows for handling a large number of concurrent connections efficiently. It then discusses different techniques for asynchronous communication between a client and server, including AJAX polling, Comet, and websockets. Finally, it provides a specific example of implementing a long polling system on the server-side using a custom buffer and on the client-side by periodically requesting updates from the server.
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQRick Copeland
With over 180,000 projects and over 2 million users, SourceForge has tons of data about people developing and downloading open source projects. Until recently, however, that data didn't translate into usable information, so Zarkov was born. Zarkov is system that captures user events, logs them to a MongoDB collection, and aggregates them into useful data about user behavior and project statistics. This talk will discuss the components of Zarkov, including its use of Gevent asynchronous programming, ZeroMQ sockets, and the pymongo/bson driver.
JSLab. Домников Виталий. "ES6 генераторы и Koa.js"GeeksLab Odessa
28.03.15. Одесса. Impact Hub Odessa. Конференция JSLab.
Домников Виталий. "ES6 генераторы и Koa.js"
Доклад про ES6 generators, для чего они нужны и как мы до этого докатились и пример использования в Koa.js
Подробнее:
http://geekslab.co/
https://www.facebook.com/GeeksLab.co
https://www.youtube.com/user/GeeksLabVideo
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQRick Copeland
With over 180,000 projects and over 2 million users, SourceForge has tons of data about people developing and downloading open source projects. Until recently, however, that data didn't translate into usable information, so Zarkov was born. Zarkov is system that captures user events, logs them to a MongoDB collection, and aggregates them into useful data about user behavior and project statistics. This talk will discuss the components of Zarkov, including its use of Gevent asynchronous programming, ZeroMQ sockets, and the pymongo/bson driver.
JSLab. Домников Виталий. "ES6 генераторы и Koa.js"GeeksLab Odessa
28.03.15. Одесса. Impact Hub Odessa. Конференция JSLab.
Домников Виталий. "ES6 генераторы и Koa.js"
Доклад про ES6 generators, для чего они нужны и как мы до этого докатились и пример использования в Koa.js
Подробнее:
http://geekslab.co/
https://www.facebook.com/GeeksLab.co
https://www.youtube.com/user/GeeksLabVideo
A few slides about asynchrnous programming in Node, from callback hell to control flows using promises, thunks and generators, providing the right amount of abstraction to write great code.
All examples available on https://github.com/troch/node-control-flow.
Slides do curso de Node.js e MongoDB do blog LuizTools. Inscreva-se no curso e tenha acesso ao conteúdo completo em http://www.luiztools.com.br/curso-nodejs
This talk was given at JSSummit 2013. Entitled "Avoiding Callback Hell with Async.js", my talk focused on common pitfalls with asynchronous functions and callbacks in JavaScript, and using the async.js library and its advanced control flows to create cleaner, more manageable code.
Visualizing ORACLE performance data with R @ #C16LVMaxym Kharchenko
A picture is worth a thousand words.
This is especially true during performance problems investigations where a well done graph of the issue can often cut resolution time from days to mere minutes.
ORACLE database provides a wealth of performance information, but unfortunately only a small part of it is currently visualized by standard tools, such as Enterprise Manager.
Enter R: a well known (and free) statistical analysis and graphing framework that can create relevant and interesting visualizations on pretty much any data.
A few slides about asynchrnous programming in Node, from callback hell to control flows using promises, thunks and generators, providing the right amount of abstraction to write great code.
All examples available on https://github.com/troch/node-control-flow.
Slides do curso de Node.js e MongoDB do blog LuizTools. Inscreva-se no curso e tenha acesso ao conteúdo completo em http://www.luiztools.com.br/curso-nodejs
This talk was given at JSSummit 2013. Entitled "Avoiding Callback Hell with Async.js", my talk focused on common pitfalls with asynchronous functions and callbacks in JavaScript, and using the async.js library and its advanced control flows to create cleaner, more manageable code.
Visualizing ORACLE performance data with R @ #C16LVMaxym Kharchenko
A picture is worth a thousand words.
This is especially true during performance problems investigations where a well done graph of the issue can often cut resolution time from days to mere minutes.
ORACLE database provides a wealth of performance information, but unfortunately only a small part of it is currently visualized by standard tools, such as Enterprise Manager.
Enter R: a well known (and free) statistical analysis and graphing framework that can create relevant and interesting visualizations on pretty much any data.
Funding agencies are instituting requirements for data management and sharing as a condition of receiving research funds. This presentation addresses why researchers should care about research data management, what libraries have to do with it, and a case study of what one research specialist at the University of Colorado Anschutz Medical Campus is doing in this area.
AdLINK Internet Media@Case Study Automotive MarketCris Nulli
AdLINK Internet Media@Case Study Automotive Market
Presentazione per il corso di Digital Media presso il master in Accademia di Comunicazione a Milano.
Relatrice: Francesca Mortari
- Case Study Peugeot 807
- Case Study Renault Clio
Al barri de la Salut hi falten aparcaments de bici i és per això que mitjançant aquesta document presentem propostes d'ubicacions per a nous aparcaments, per tal que l'Ajuntament les valori i es decideixi a instal·lar-ne.
How to be a Religion - O meglio, cosa fare per trasformare un brand in una re...Fabio Lalli
Esiste un marketing della religione?
E' possibile associare una religione ad un brand?
E se si, cosa hanno in comune?
Tutto è partito da queste domande.
E dopo uno studio di qualche mese, passato ad analizzare diverse religioni e filosofie, ho provato ad estrarre una serie di caratteristiche per poi associarle - in questa presentazione - ad un brand e al suo potere. In particolare ho messo a confronto la religione cristiana ed un brand importante come APPLE.
C'è molto da imparare dalle religioni e possono esser ispirazione per la costruzione di un brand importante.
Ma se ci domandiamo se un brand può diventare una religione, a mio avviso la risposta è no.
Building Scalable Stateless Applications with RxJavaRick Warren
RxJava is a lightweight open-source library, originally from Netflix, that makes it easy to compose asynchronous data sources and operations. This presentation is a high-level intro to this library and how it can fit into your application.
ERRest - Designing a good REST serviceWO Community
Learn how to design your REST service with the correct HTTP verbs and codes. We also talk on how to manage optimistic locking and caching for your REST services.
Sails.js is a realtime MVC framework for Node.js that is inspired by some of the best ideas behind Ruby on Rails and realtime frameworks like Meteor.js.
In this presentation I'll overview getting started with Sails.js, its architecture and features, as well as some advice on place to look at when you are getting started.
Learn a brand new way to think about web application development with Node.js!
Physical Web is an important component for the Smart Cities and for monetizing IoT projects. This talk explain what is it and how to implement it using Eddystone protocol.
Alexey Kupriyanenko "The State of Modern JavaScript and Web in 2020 - Real us...Fwdays
Web technologies are on a constant rise, and as time goes by, they’re just getting better, quicker and making our lives much easier. In this talk, we will review some of them, including those still in experimental stages.
We’ll kickoff with “Web Standards” and “Browser Features”, that you can start using right away. Following that, we will tackle some of the interesting ideas flying around out there, and explore them via real use cases most of us probably deal with on a daily basis.
And the cheery on top of all of this - Upcoming APIs. Although still in early stages, we’ll examine them and even challenge them with different use cases and problems that they are solving.
In a world where users have ever higher expectations from the apps they use, having data always available, even when the device is offline has become increasingly important.
In this talk we will go through different ways of saving data on the phone and introduce Realm as a replacement for SQLite and ORM's.
Through an example app it will be demonstrated that thinking "Offline first" not only affects your apps architecture for the better, but also results in happier users.
Nordic APIs - Automatic Testing of (RESTful) API DocumentationRouven Weßling
Learn how to automatically test your API's documentation by using API Blueprints and dredd.
Presented at the Nordic APIs Platform Summit on October 25, 2016
This talk was given at the Dutch PHP Conference 2011 and details the use of Comet (aka reverse ajax or ajax push) technologies and the importance of websockets and server-sent events. More information is available at http://joind.in/3237.
Similar to robrighter's Node.js presentation for DevChatt (20)
14. Setup the Data Source
var rb = new lpb.LongPollingBuffer(70);
var dump = process.createChildProcess("tcpdump",["-i","en1","-A","-n","port", "80"]);
var ignorelist = ['localhost','foxnews.com'];
//Setup the listener to handle the flow of data from the dump
dump.addListener("output", function (data) {
var hosts = data.match(/Host: (.*)/g);
if(hosts){
_.each(hosts, function(item){
var out = item.slice(6);
sys.puts(out);
if(!_.detect(ignorelist, function(s){ return (item.indexOf(s) > -1); })){
rb.push(out);
}
});
}
});
@robrighter
16. Setup the Updater
fu.get("/update", function (req, res) {
//Send the HTTP Headers
res.sendHeader(200,{"Content-Type": "text/html"});
//Parse out the since from the query string
var thesince;
if(url.parse(req.url,true).hasOwnProperty('query') &&
url.parse(req.url,true).query.hasOwnProperty('since')){
thesince = parseInt(url.parse(req.url,true)['query']['since']);
}
else {
thesince = -1;
}
//Setup the datalistener (note why this works so well with JS scoping)
rb.addListenerForUpdateSince(thesince, function(data){
var body = '['+_.map(data,JSON.stringify).join(',n')+']';
res.write( body );
res.close();
});
});
@robrighter