Netflix Open Sources “Resilience Engineering” Code Library Hystrix: it’s the genus name for “Old World” porcupines, and it’s also the latest release from Netflix. But you won’t see it in their catalog of movie and TV titles, and you can’t add it to your queue, because it’s not content–it’s how Netflix makes sure its content is highly available. Now, Netflix has made Hystrix open source, for anyone using Amazon Web Services (AWS) to implement in their own cloud applications. Read on for details on this “resilience engineering” code library. Mention Netflix, and most people will think of the company’s DVD-rental-by-mail service or its growing library of “Watch Instantly” streaming video titles. This week, Netflix added Hystrix to its bag of open-source tricks. The Hystrix home page on GitHub defines the problem: [R]unning an application that depends on 30 services that each have 99.99% uptime we get: 99.9930 = 99.7% uptime 0.3% of 1 billion requests = 3,000,000 failures 2+ hours downtime/month even if all dependencies have excellent uptime.
Qu'est-ce que YunoHost ? • YunoHost Modifications successfully saved. You will receive an email to confirm your submission. Objectif YunoHost est un système d’exploitation serveur visant à rendre accessible l’auto-hébergement à autant de personne que possible, sans délaisser la qualité et la fiabilité du logiciel. Fonctionnalités basé sur Debian ; administration via une gentille interface web ; déployez facilement des applications ; gérez des utilisateurs (gérés via LDAP) ; gérez des domaines ; créez et restaurez des sauvegardes ; connexion simultanée à toutes les apps via un portail utilisateur (nginx, SSOwat) ; fourni avec un serveur mail complet (Postfix, Dovecot, Rspamd, DKIM) ; ... ainsi qu'un serveur de messagerie instantanée (XMPP) ; ... un système de gestion de certificats SSL (integration de Let's Encrypt) ; ... et des systèmes de sécurité (fail2ban, yunohost-firewall) ; Origine YunoHost est un projet né en février 2012 à la suite d’à peu près ça : « Merde, j’ai la flemme de me reconfigurer un serveur mail... But Nom
Online Regex tester and visualizer - Python, PHP, Ruby, JavaScript, Java, MySQL It would be nice to disable adBlock, advertising is the only resource of this website :) CyrilEx is an online regex debugger, it allows you to test regular expression in PHP (PCRE), Python, Ruby, JavaScript, Java and MySQL. It helps you to test and debug regex online, you can visualize the matches when matching a string against a regex. A regex visualizer allows to visualize your regex, it helps to understand it. This feature is useful for large regexes. Cyrilex also allows you to generate a string example from a RegEx. You can consult the regex Quick Start or see the full user guide to help you to use this regular expression tester. User guide Step 0: Choose the regex engine: JavaScript, Ruby, Java or PCRE (PHP, Python). Generate a string from RegEx (Beta): Clicks on "Generate a string from RegEx (Beta)" in order to generate a string that matches with the regex. Substitutions are not managed. News: You can now test MySQL regex, select the "MySQL 8" engine. About regular expression
10 applications mobile indispensables pour un Community Manager l YouSeeMii blog Une des particularités du métier de Community Manager est d’être sur-connecté pour rester en veille mais surtout améliorer sa productivité. A tel point que son meilleur ami est sûrement le Smartphone pour éliminer toutes contraintes géographiques tout en ayant à portée de mains ses outils de travail et ce peu importe l’heure. L’article ici présent ne traitera pas du fameux débat de la connectivité H24 7j/7, mais plutôt d’une trousse à outils mobile pour CM qui me facilite mon quotidien. 1°) Mailbox Personnellement je n’ai jamais aussi bien gérer mes e-mails depuis que je possède cette application. Grâce à de simples gestes vous pouvez archivez, modifier l’ordre d’affichage de vos mails, recevoir des alertes pour les traiter plus tard, les classer… Malheureusement je la trouve parfois un peu lente dans le chargement. L’application est un tel succès (60 millions d’e-mails par jours) que Dropbox a annoncé le mois dernier s’offrir Mailbox… de quoi annoncer de prochaines évolutions. 2°) Astrid
How to Debug One of the painful parts of teaching a lab-based embedded systems course is that over and over I have to watch a team with a relatively simple bug in their code, but who is trying to fix it by repeatedly making random changes. Generally they start with code that’s pretty close to working and break it worse and worse. By the end of the lab they’re frustrated, aren’t any closer to finding the bug, and have made a complete mess of their code, forcing them to go back to the previous day or week’s version. A typical Computer Science curriculum fails to teach debugging in any serious way. First we’ll want to define some terms: The high-level reason debugging is hard is that it’s an inverse problem: it attempts to infer the cause for observed effects. Of course, a very bad bug will involve several of these factors at the same time. The following steps constitute a fairly complete approach to debugging. 1. It makes no sense to even start debugging unless we’re pretty sure: 2. 3. 4. 5. 6. 7. 8.
Telepathwords: preventing weak passwords by reading your mind. A Visual Guide to Regular Expression It’s a common task in NLP to either check a text against a pattern or extract parts from the text that matches a certain pattern. A regular expression or “regex” is a powerful tool to achieve this. While powerful, regex can feel daunting as it comes with a lot of features and sub-parts that you need to remember. In this post, I will illustrate the various concepts underlying regex. The goal is to help you build a good mental model of how a regex pattern works. Mental Model Let’s start with a simple example where we are trying to find the word ‘cool’ in the text. With regex, we could simply type out the word ‘cool’ as the pattern and it will match the word. While regex matched our desired word ‘cool’, the way it operates is not at the word level but the character level. Key Idea: Regex works at the character-level, not word-level. The implication of this is that the regex r'cool' would match the following sentences as well. Basic Building Blocks a. b. Besides the common ones above, we have: c.
5 .htaccess Snippets to Borrow from HTML5 Boilerplate HTML5 Boilerplate is an awesome website template when you want all best pieces in place for you when you start your project. A while back I covered 7 CSS Snippets to Borrow from HTML5 Boilerplate, so today I want to feature a few .htaccess settings which could speed up, secure, and make your site very much more useful! Block Access to Hidden Files and Directories We try to push our code to productions servers without hidden files and directors, like our revision system directors, but that doesn't always happen. This snippet prevents those files from being accessible: <IfModule mod_rewrite.c> RewriteCond %{SCRIPT_FILENAME} -d [OR] RewriteCond %{SCRIPT_FILENAME} -f RewriteRule "(^|/)\." - [F] </IfModule> Hackers shouldn't have the ability to get those files so now they can't! Compress Served Files by MIME Type There are a number of file types we know we want compressed on the way out, and with mod_deflate, we can direct the server to do so: Allow Cross-Domain Fonts with CORS Expires