Blog

Apache Apex with Apache SAMOA

Traditional Machine Learning - Batch Oriented - Supervised - most common - Training and Scoring - One time model building - Data set - Training: Model building - Holdout: Paremeter tuning - Test: Accuracy Online Machine Learning - Streaming - Change - Dynmaically adapt to new patterns in Data - Change over time (concept drift) [...]

By |2017-07-24T19:57:56+00:00July 17th, 2016|Categories: Events|0 Comments

Hive, Calcite and Druid

BI/OLAP requires interactive visualization of complex data streams: Real time bidding events User activity streams Voice call logs Network trafic flows Firewall events Application KPIs Traditionnal solutions RDBMS (Mysql..): don't scale, need caching but adhoc queries remain slow Key/value store (HBase...): quick but takes forever to compute (pre-materialization of data) Context Created in 2011, open-sourced [...]

By |2018-06-05T22:37:07+00:00July 14th, 2016|Categories: Big Data|0 Comments

Network Namespace without Docker

Let's imagine the following use case: I am connected to several networks (wlan0, eth0, usb0). I want to choose which network I'm gonna use when I launch apps. My app doesn't allow me to choose a specific interface, it's delegated to the OS that chooses the default one. I could of course use Docker, which [...]

By |2018-06-05T22:37:08+00:00July 6th, 2016|Categories: Blog, Hack|Tags: |0 Comments

A simple connect middleware to transpile CoffeeScript files

This new module called connect-coffee-script is a Connect middleware used to serve javascript files written in CoffeeScript. This middleware is to be used by connect or any Connect compatible framework such as Express and Zappa. For those not familiar with CoffeeScript, it is a transpiler which compile into Javascript. […]

By |2018-06-05T22:37:08+00:00July 4th, 2016|Categories: Hack|0 Comments

Catch ‘uncaughtException’ error in your mocha test

This isn't the first time I faced this situation. Today, I finally found the time and energy to look for a solution. In your mocha test, let's say you need to test an expected "uncaughtException" event, the Node.js technique to catch the uncatchable. Easy, just register an "uncaughtException" listener to the process event emitter. Well, [...]

By |2017-11-21T19:54:26+00:00July 27th, 2013|Categories: Hack|0 Comments

Oracle to Apache Hive with the Oracle SQL Connector

In a previous article published last week, I introduced the choices available to connect Oracle and Hadoop. In a follow up article, I covered the Oracle SQL Connector, its installation and integration with Apache Hadoop and more specifically how to declare a file present inside HDFS, the Hadoop filesystem, as a database table inside the [...]

By |2018-06-05T22:37:10+00:00July 27th, 2013|Categories: Big Data|2 Comments

Crawl you website including login form with Phantomjs

With PhantomJS, we start a headless WebKit and pilot it with our own scripts. Said differently, we write a script in JavaScript or CoffeeScript which controls an Internet browser and manipulates the webpage loaded inside. In the past, I've used a similar solution called Selenium. PhantomJS is much faster, it doesn't start a graphical browser [...]

By |2018-06-05T22:37:11+00:00July 27th, 2013|Categories: Hack|0 Comments

Kerberos and delegation tokens security with WebHDFS

WebHDFS is an HTTP Rest server bundle with the latest version of Hadoop. What interest me on this article is to dig into security with the Kerberos and delegation tokens functionalities. I will cover its usages from the command line and a programming language perspective. Don't crawl the web looking for a command to start [...]

By |2018-06-05T22:37:11+00:00July 25th, 2013|Categories: Big Data|0 Comments

Remote connection with SSH

While teaching big data and Hadoop, a student ask me about SSH and how to use. I’ll discuss about the protocol and the tools to benefit from it. Lately, I’ve been supervising the deployment of [Hadoop] clusters and its core components including [Kerberos] and [LDAP] servers from a single host to a full [...]

By |2018-06-05T22:37:11+00:00July 24th, 2013|Categories: Hack|0 Comments