background preloader

Programming

Facebook Twitter

Bossing around. Percentile. Adriweb/nRemote. OpenMP.org. The Go Programming Language. Programação: Bibliografia Recomendada. Alan Turing. Alan Mathison Turing, OBE, FRS (/ˈtjʊərɪŋ/ TEWR-ing; 23 June 1912 – 7 June 1954) was a British mathematician, logician, cryptanalyst, philosopher, pioneering computer scientist, mathematical biologist, and marathon and ultra distance runner.

Alan Turing

He was highly influential in the development of computer science, providing a formalisation of the concepts of "algorithm" and "computation" with the Turing machine, which can be considered a model of a general purpose computer.[2][3][4] Turing is widely considered to be the father of theoretical computer science and artificial intelligence.[5] During World War II, Turing worked for the Government Code and Cypher School (GC&CS) at Bletchley Park, Britain's codebreaking centre.

For a time he led Hut 8, the section responsible for German naval cryptanalysis. After the war, he worked at the National Physical Laboratory, where he designed the ACE, among the first designs for a stored-program computer. Early life and career[edit] Cryptanalysis[edit] Time, technology and leaping seconds. Google’s Site Reliability team is responsible for keeping Google’s services and data centers up and running 24/7.

Time, technology and leaping seconds

In this post, you’ll hear about a project our Site Reliability Engineers took on to make sure that the fluctuations of time don’t adversely affect Google’s products and services. If you like this (detailed) glimpse at the tech behind the scenes, come back for more about this team’s work in the future. -Ed. Have you ever had a watch that ran slow or fast, and that you’d correct every morning off your bedside clock? Computers have that same problem. Soon after the advent of ticking clocks, scientists observed that the time told by them (and now, much more accurate clocks), and the time told by the Earth's position were rarely exactly the same. These fluctuations in Earth’s rotational speed mean that even very accurate clocks, like the atomic clocks used by global timekeeping services, occasionally have to be adjusted slightly to bring them in line with “solar time.” Never Use a Warning When you Mean Undo. Have you ever had that sinking feeling when you realize—just a split second too late—that you shouldn’t have clicked “Okay” in the “Are you sure you want to quit?”

Never Use a Warning When you Mean Undo

Dialog? Issue № 241 Yes? Well, you’re in good company—everybody has had a similar experience, so there’s no need to feel ashamed about it.

WebDevelopment

Coding Standards. Search for in the Coding Standards (Previous) Indenting and Line Length (Next) PEAR Manual Coding Standards Coding Standards Table of Contents The PEAR Coding Standards apply to code that is part of the official PEAR distribution.

Coding Standards

The original coding standards have been adjusted several times through RFCs: Those RFCs have been integrated into this document. The PEAR2 Coding Standards define several other rules that have to be followed once PEAR2 is in place. Last updated: Mon, 05 Dec 2016 — Download Documentation Do you think that something on this page is wrong? View this page in: English User Notes: Note by: hm2k Redirected here from the "Add Patch" page with the statement "Make sure your coding style complies with Coding Standards". Note by: Jim Rules, rules and more rules. Note by: v1d4l0k4@gmail.com From the PEP 8 -- Style Guide for Python Code about maximum line length: "Limit all lines to a maximum of 79 characters.

VB.NET

Windows Phone 7. Haskell. DZSlides. Twitter From the Command Line in Python Using OAuth. Issuing Twitter updates from the command line was once a simple affair: you could just use curl or its equivalent.

Twitter From the Command Line in Python Using OAuth

Things changed when basic authentication was removed from the Twitter API in August 2010, and now all Twitter clients are required to use secure authentication based on OAuth. Configuring an app to use OAuth properly requires a bit of legwork. My goal with this post is to save people time by showing the complete step-by-step process of building a Python script that can tweet from the command line using OAuth. I’ve intentionally skipped over the details of how OAuth works, and what the different authentication tokens mean. This post is just about getting things done. Step 1: Download Tweepy Tweepy is an awesome Twitter library for Python. Download Tweepy from GitHub and install it on your system.

Step 2: Register a new client app with Twitter Navigate to and click on Register a new application. Fill in the registration fields as follows: 3 Key Software Principles You Must Understand. If you're in software development, new techniques, languages and concepts pop up all of the time.

3 Key Software Principles You Must Understand

We all feel those nagging doubts every now and then: "can I keep up with the changes and stay competitive? " Take a moment, and sum a line from my favourite movie, Casablanca: "The fundamental things apply, as time goes by. " Republished Tutorial Every few weeks, we revisit some of our reader's favorite posts from throughout the history of the site.

This tutorial was first published in April, 2012. What's true for love, is true for code.

C