background preloader

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. Par Albin - le 09/05/2010 à 16:28 Comment écrire une expression régulière qui n'accepte que les chaînes de caractères qui ne contiennent pas tel mot ou telle expression.

REGEX et PREG - assertions avant-arrière (lookahead & lookbehind assertions) : récupérer les chaînes qui ne contiennent pas un mot particulier

Une réponse avec les assertions avant-arrière (lookahead & lookbehind assertions) Commentaires : 5 C'est un problème récurrent sur les forums de développeurs : comment écrire une expression régulière qui n'accepte que les chaînes de caractères qui ne contiennent pas tel mot ou telle expression. La réponse est dans les assertions, qui vont nous permettre de faire plein d'autres choses. 1. '/element(? Cette assertion "? 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. If your project requires that you create a new XML document format, our XML Document Format Style Guide may be helpful. Styleguide. Www.linux-france.org/article/these/cathedrale-bazar/cathedrale-bazar.html#toc11. Page suivante Page précédente Table des matières La cathédrale et le bazar ( The Cathedral and the Bazaar) Auteur : Eric S.

www.linux-france.org/article/these/cathedrale-bazar/cathedrale-bazar.html#toc11

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.

Project Euler. Expérience de Milgram. Un article de Wikipédia, l'encyclopédie libre.

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

There never was a version 5.0. The last major release, version 4.0, was released almost three years ago. Three years is an awfully long time in the Internet world. 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. Once that’s installed you’ll need to type about:config in your URL bar and then search for and enable the plugins.click_to_play flag. Once that’s done, visit a page with Flash content and it won’t load until you click on it. While HTML5 reduces the need for Flash and other plugins, they’re still a big part of the Web today.

Another popular solution is the click-to-play approach that Mozilla developers are considering. 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. (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 “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.

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 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] Limitations[edit] Business practicalities[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.