Tips and Tricks

  • submit to reddit

Mutually Odd Functions

The floor of a real number x is the largest integer n ≤ x, written ⌊x⌋.The ceiling of a real number x is the smallest...

0 replies - 1471 views - 05/13/13 by John Cook in Articles

Poisson Regression on Non-Integers

In the course on claims reserving techniques, I did mention the use of Poisson regression, even if incremental payments were not integers. For instance, we did...

0 replies - 402 views - 05/12/13 by Arthur Charpentier in Articles

How to Stand Out at Work: 10 Tips for Programmers (Part 1)

I’ve been in the IT industry for almost 8 years working in 4 different companies. During this time I had a chance to work with a couple of dozens of...

4 replies - 13027 views - 05/10/13 by Yuriy Lopotun in Articles

Background Notification Hack for iPad and iPhone Sites

Mobile browsers may look like desktop browsers, but their behavior sometimes is different and we need to understand them to provide the right user experience....

0 replies - 1474 views - 05/10/13 by Maximiliano Firtman in Articles

Write Sitting Down, Edit Standing Up

On March 26th I giddily said it takes about two months to write a technical book. Still high from the recent success it seemed like the thing to...

0 replies - 2134 views - 05/09/13 by Swizec Teller in Articles

Exporting and Sharing Sublime Text Configuration

Sublime Text is a very powerful and popular text editor. But it’s more than a text editor… it’s an ecosystem of programmer’s tools where you can...

0 replies - 2152 views - 05/09/13 by Mikko Ohtamaa in Articles

Creating a QGIS-Style (qml-file) with an R-Script

How to get from a txt-file with short names and labels to a QGIS-Style (qml-file)? I used the below R-script to create a style for this legend...

0 replies - 1378 views - 05/09/13 by Kay Cichini in Articles

Links You Don't Want To Miss (5/9)

Google Glass’s sensorsThis guy probed the depth of Glass’s kernal source code to dig up specifics about Glass’s sensors and hardware. He found a Texas...

0 replies - 3823 views - 05/09/13 by Eric Gregory in Articles

Here’s why you can’t trust SSL logos on HTTP pages (even from SSL vendors)

A couple of days ago I wrote about Why I am the world’s greatest lover (and other worthless security claims) and it  really seemed to...

0 replies - 1327 views - 05/09/13 by Troy Hunt in Articles

Almost If and Only If

The Perrin numbers have a definition analogous to Fibonacci numbers. Define P0 = 3, P1 = 0, and P2 = 2. Then for n >...

0 replies - 1483 views - 05/09/13 by John Cook in Articles

The Taming of the Queue: Measuring the Impact of Request Queueing

A few weeks back, webserver request queueing came under heightened scrutiny as rapgenius blasted Heroku for not using as much autotune as promised in...

0 replies - 999 views - 05/08/13 by Dan Kuebrich in Articles

Ramanujan Approximation for Circumference of an Ellipse

There’s no elementary formula for the circumference of an ellipse, but there is an elementary approximation that is extremely accurate. An ellipse has...

0 replies - 991 views - 05/08/13 by John Cook in Articles

Recovering Lost Post Data

I recently typed out a long, thoughtful response in a textarea. I clicked submit, like I've done millions of times, and I got the dreaded "session expired"...

0 replies - 1654 views - 05/08/13 by Jay Fields in Articles

Entity recognition with Scala and Stanford NLP Named Entity Recognizer

The following sample will extract the contents of a court case and attempt to recognize names and locations using entity recognition software from Stanford...

0 replies - 1516 views - 05/08/13 by Gary Sieling in Articles

Legacy Code Preservation: The Bugs Are The Features

The extreme end of "paving the cowpaths" are people for whom the bug list is also the feature list. This is a very strange phenomenon, rarely seen, but...

0 replies - 2441 views - 05/08/13 by Steven Lott in Articles