10 Questions with Facebook Research Engineer – Andrei Alexandrescu
Today we caught up with Andrei Alexandrescu for a “10 Question” interview. He is a Romanian born research engineer at Facebook living in the US, you can contact him on his website erdani.com or @incomputable.
We will talk about some of the juicy stuff that going on at Facebook, so let’s get started.
More Featured Articles →Community Resources
Smashing Magazine My Favorite Programming Mistakes
Over my programming career, I have made a lot of mistakes in several different languages. In fact, if I write 10 or more lines of code and it works the first time, I’ll get a bit suspicious and test it more rigorously than usual. I would expect to find a syntax error or a bad array reference or a misspelled variable or something. [...]
Separating Maven Unit & Integration Tests
In this example I will show how you can perform a standard Maven build whilst keeping your unit and integration tests in separate packages. [...]
Separating Code Coverage With Maven, Sonar and Jacoco
In this example I will expand upon my previous example of keeping your unit and integration tests in separate packages, and explain how to also produce code coverage statistics. [...]
Maven Multi-Module With Sonar and Jacoco
This blog shows how to seperate your unit and integration tests in a multi-module maven project whilst providing seperate test coverage results for each. [...]
10 examples of grep command in UNIX and Linux
“grep” one of the most frequently used UNIX command stands for “Global Regular Expression Print”. This grep command tutorial is not about theory of UNIX grep but to practical use of grep in UNIX and here I am sharing my experience [...]
How to become a proficient Python programmer
I will focus on four primary topics: Functional programming, performance, testing and code guidelines. When those four aspects merge in one programmer, he or she will gain greatness no matter what. [...]
Quick Ways to Boost Performance and Scalability of ASP.NET, WCF and Desktop Clients
There are some simple configuration changes that you can make on machine.config and IIS to give your web applications significant performance boost. These are simple harmless changes but make a lot of difference in terms of scalability. [...]
10 Caching Mistakes that Break your App
Caching large objects, duplicate objects, caching collections, live objects, thread unsafe caching and other common mistakes break your app instead of making it fly. Learn ten common caching mistakes devs make. [...]
Unit Testing and Integration Testing in Business Applications
This article presents some realistic unit and integration test examples in a N-tier web application to assist in writing tests that provide confidence in moving towards Test Driven Development (TDD) [...]
To push, or not to push, the Web Socket dilemma
Web Sockets is a relatively new specification introduced as part of HTML 5 to support a full duplex-communication channel over http in web browsers. This represents a great advance toward real-time and event driven web applications. Before Web Sockets jumped in scene, the only available solutions for emulating real time notifications in web applications were different variants of Http Long polling. Real time notifications in this context became particularly important for specific scenarios, such as reporting stock pricing updates, online gaming or news reports to name a few. [...]
Proxying HTTP and Websockets in Node
This guide is geared toward beginners and people who are unfamiliar with reverse HTTP proxying, websocket proxing, load balancing, virtual host configuration, request forwarding, and other web proxying concepts – those who already know what they’re doing and just want to see the syntax should skip down to the sample code. [...]
SQL Server 10xs Faster with Rails 3.1
As you may have heard or seen, ActiveRecord 3.1 now comes with prepared statement support. This happens for you automatically since ActiveRecord will associate all SQL statements with bind substitute variables. The implementation of these is left to each database adapter. [...]
Advanced PHP Closed Captioned Training Video
This is the third closed captioned video in a series where we explore PHP6 and other advanced PHP concepts. From our Advanced PHP Course. We are happy to announce that we are well on our way to closed captioning all of our Web Design and Web Programming related video training courses. [...]
Create alias for class
Sometimes we need to use external libraries with strange and obscure class names, and it can be really annoying. Luckily, from PHP 5.3 version we can create aliases for classes and interfaces with class_alias function. Example of class_alias usage. [...]
Working with date and time in object oriented way
Date and time manipulation in PHP is mostly connected with functions like: date, time or strtotime. They can be sufficient, but if we want to deal with dates like with objects – we can use DateTime class. DateTime class is not only straightforward wrapper for standard functions, it has a lot of additional features [...]
SQL Server: Quickest Method to Create Single Table Backup
There are several ways to create backup for a single table in SQL Server database. In SQL Server 2008, now you can create insert statements for selected tables. Beside this Export wizard is commonly used to create a flat file backup for a single table. Both methods are reliable but still time consuming. [...]
Introduction to LINQ
Language-Integrated Query—LINQ—is a new data-access feature that does exactly what it says: allow for querying of data sources from within the language itself. [...]
Installing Node.js and NPM on Ubuntu 11.04
In my last article I installed Node on Ubuntu 10.10. Nothing really has changed for Ubuntu 11.04 but I want to have a separate article since a lot of people hit my installing Node articles. Also, keep in mind you [...]
The Storage Technologies Behind Facebook Messages [Video]
The engineering team behind Facebook Messages spent the past year building out a robust, scalable infrastructure. We spent a few weeks setting up a test framework to evaluate clusters of MySQL, Apache Cassandra, Apache HBase, and a couple of other [...]
Learn MVC (Model view controller) Step by Step in 7 days
As the article name says learn MVC, so the agenda is simple we are going to learn ASP.NET MVC [...]
How To Get That Edge Ruby Faster-Loading-Hotness in Ruby 1.9.2 Now
As the current production version of Ruby, a boost for Ruby 1.9.2-p180 should benefit most of you so I knew I had to share Todd’s work as soon as I’d given it a test run. I ran the same benchmarks [...]
Strategies for refactoring untestable PHP code
With the growth of PHP from a simple scripting language to a full-fledged programming language, there has been a parallel growth in the complexity of the code bases of a typical PHP application. To control support and maintenance of these applications, various testing tools help automate this process. [...]
Purging Zend Server’s Job Queue.
Zend Server is great. It kicks WAMP & MAMP’s butt. My favorite feature is the job queue – it offers an object oriented, cross-platform, cron-like paradigm. It’s really handy. [...]
PHP Multithreading with cURL
Some applications need to perform several tasks that may take a while to finish. When there are many tasks to execute, it may take a long time to finish all of them if they are executed sequentially, i.e., one after another. A possible solution for this problem is to execute several tasks at the same time using separate processes or threads. [...]
Rethinking Models in MVC
Jon Galloway is researching dynamic ASP.NET MVC 3 models using Mono’s Compiler as a Service. Meanwhile Karsten Januszewski is looking into deserialized JSON in lieu of statically typed models. [...]