News & articles

Facebook Twitter

Google Glass

REGEX et PREG - assertions avant-arrière (lookahead & lookbehind assertions) : récupérer les chaînes qui ne contiennent pas un mot particulier. Styleguide - Style guides for Google-originated open-source projects. Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project.

styleguide - Style guides for Google-originated open-source projects

It is much easier to understand a large codebase when all the code in it is in a consistent style. “Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.” This project holds the style guidelines we use for Google code. If you are modifying a project that originated at Google, you may be pointed to this page to see the style guides that apply to that project. Our C++ Style Guide, Objective-C Style Guide, Java Style Guide, Python Style Guide, Shell Style Guide, HTML/CSS Style Guide, JavaScript Style Guide, AngularJS Style Guide, and Common Lisp Style Guide are now available. Styleguide. The Internet map.

The map of the Internet Like any other map, The Internet map is a scheme displaying objects’ relative position; but unlike real maps (e.g. the map of the Earth) or virtual maps (e.g. the map of Mordor), the objects shown on it are not aligned on a surface.

The Internet map

Mathematically speaking, The Internet map is a bi-dimensional presentation of links between websites on the Internet. Every site is a circle on the map, and its size is determined by website traffic, the larger the amount of traffic, the bigger the circle. Users’ switching between websites forms links, and the stronger the link, the closer the websites tend to arrange themselves to each other. Charges and springs. Project Euler. Expérience de Milgram. Tech news & articles. Things You Should Never Do, Part I. By Joel Spolsky Thursday, April 06, 2000 Netscape 6.0 is finally going into its first public beta.

Things You Should Never Do, Part I

Mozilla may make Flash click-to-play by default in future Firefox. Firefox developers are considering making Web plugins like Adobe Flash an opt-in feature.

Mozilla may make Flash click-to-play by default in future Firefox

Although there is still a long way to go before it’s ready for Firefox proper, switching to an opt-in, "click-to-play" approach for plugins could help make Firefox faster, more secure, and a bit easier on the laptop battery. A very early version of the "click-to-play" option for plugins is now available in the Firefox nightly channel. Pluto Scarab — Hash Functions. SMAC - Publications. Anatomy of Facebook. Don't give away your product for free... …unless you plan to keep it free forever.

Don't give away your product for free...

The Cost of Free Doughnuts, a story on NPR shows what happens when you make something paid that was once free. During WWII, the Red Cross, which used to give away free coffee and doughnuts started charging servicemen for doughnuts at the behest of the US Government. Veterans still remember this 70 years later! (28) How to master your time - Leading a better life - Quora.

Imagine you were a Jedi master called Bob (your parents, whilst skilled in the ways of the force weren’t the best at choosing names).

(28) How to master your time - Leading a better life - Quora

The love of your life - Princess Lucia – is trapped in a burning building as you hurry to save her. You might think of Lucia as the embodiment of your dreams, your aspirations – she is your most important thing. The “Unhyped” New Areas in Internet and Mobile. Editor’s note: Legendary investor Vinod Khosla is the founder of Khosla Ventures.

The “Unhyped” New Areas in Internet and Mobile

You can follow him on Twitter at @vkhosla. All Khosla Ventures investments, as well as ventures related to Vinod Khosla, are italicized.

Open source

Metcalfe's law. Two telephones can make only one connection, five can make 10 connections, and twelve can make 66 connections.

Metcalfe's law

Metcalfe's law states that the value of a telecommunications network is proportional to the square of the number of connected users of the system (n2). First formulated in this form by George Gilder in 1993,[1] and attributed to Robert Metcalfe in regard to Ethernet, Metcalfe's law was originally presented, circa 1980, not in terms of users, but rather of "compatible communicating devices" (for example, fax machines, telephones, etc.)[2] Only more recently with the launch of the Internet did this law carry over to users and networks as its original intent was to describe Ethernet purchases and connections.[3] The law is also very much related to economics and business management, especially with competitive companies looking to merge with one another. Network effects[edit] RFC 3501 - INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1 (RFC3501)

Why programmers work at night. [This essay has been expanded into a book, you should read it, here] Image via Wikipedia A popular saying goes that Programmers are machines that turn caffeine into code.

Why programmers work at night

And sure enough, ask a random programmer when they do their best work and there’s a high chance they will admit to a lot of late nights. Some earlier, some later. A popular trend is to get up at 4am and get some work done before the day’s craziness begins.