background preloader

Statistical Formulas For Programmers

Statistical Formulas For Programmers
By Evan Miller DRAFT: May 19, 2013 Being able to apply statistics is like having a secret superpower. Where most people see averages, you see confidence intervals. When someone says “7 is greater than 5,” you declare that they're really the same. In a cacophony of noise, you hear a cry for help. Unfortunately, not enough programmers have this superpower. As my modest contribution to developer-kind, I've collected together the statistical formulas that I find to be most useful; this page presents them all in one place, a sort of statistical cheat-sheet for the practicing programmer. Most of these formulas can be found in Wikipedia, but others are buried in journal articles or in professors' web pages. Send suggestions and corrections to emmiller@gmail.com Table of Contents 1. One of the first programming lessons in any language is to compute an average. 1.1 Corrected Standard Deviation The standard deviation is a single number that reflects how spread out the data actually is. Where: SE=s√N 2. 3.

Big-O Algorithm Complexity Cheat Sheet 40 Cool jQuery Animation Tutorials Since its arrival, jQuery has caught the web by storm and now it is one of the preferred solutions in creating fancy animations on web pages. jQuery provides great cross browser support, it is lightweight and easy to use. Right now, you can see jQuery effects applied in a number of ways that effectively demonstrate its power to define and control small-scale web animations. Until newer technologies like CSS3 fully mature with adequate support from major browsers and all, jQuery will continue the lead. We will still be seeing a lot of its application in navigation interfaces, sliders and other image display mechanisms, in enhancing web typography and more going forward. Therefore, to help you work your way around jQuery, I am sharing with you some of the best jQuery animation tutorials and plugins I have been able to find. Keep in mind though, that all major web standards and frameworks develop at light speed. Advertisement jQuery Animation Tutorials jQuery.Parallax – MORE INFO / DEMO

The Best Websites on the Internet It's seriously hard to keep track of which sites have the greatest content and resources. So to help make things easier, we've compiled this comprehensive list of over 100 of the best websites on the internet. The sites on this list are those that we consider to be genuinely useful, top-of-the-line websites (not apps) where you'll find what you need. We update this list regularly, so check back occasionally, and be sure to tell your friends! Books Project Gutenberg Own an e-reader but hate paying for e-books? GoodReads What could be better than large social network for book enthusiasts? Audible The internet's home of audio books, Audible has an insanely-sized catalog featuring most classics, many new releases, and a host of quality audio courses to keep you learning for years. If you're anything like me, your list of books to read is literally never ending. Book Riot You can be a book lover without being pretentious. Pixel of Ink WhichBook Browsing Instapaper Pocket Google Translate JustPaste.It Tor

Essential Math for Games Programmers As the quality of games has improved, more attention has been given to all aspects of a game to increase the feeling of reality during gameplay and distinguish it from its competitors. Mathematics provides much of the groundwork for this improvement in realism. And a large part of this improvement is due to the addition of physical simulation. Creating such a simulation may appear to be a daunting task, but given the right background it is not too difficult, and can add a great deal of realism to animation systems, and interactions between avatars and the world. This tutorial deepens the approach of the previous years' Essential Math for Games Programmers, by spending one day on general math topics, and one day focusing in on the topic of physical simulation. It, like the previous tutorials, provides a toolbox of techniques for programmers, with references and links for those looking for more information. Topics for the various incarnations of this tutorial can be found below. Slides

Build your own Google TV Using RaspberryPi, NodeJS and Socket.io | Donald's Blog Hardware Components: The RaspberryPi (Tested on Raspberry Pi model I-B, I-B+ and II-B)A USB WiFi dongle or Ethernet cable (Tested on Edimax WiFi Dongle)SD/MicroSD card (8 GB+) (check out NOOBS) Software Stack: Raspbian – a fork of Debian designed for the Raspberry Pi Node.js Socket.io – Web-sockets moduleExpress – Web-framework moduleOmxcontrol – OMX-player controller moduleChromium BrowserOMX-playerYoutube-dl – Youtube video downloaderQuo.js – Cross-platform swipe gestures libraryHTML5, CSS3 transitions, Javascript, and Moustache as a template engineYoutube API End-result: Outline Installing software and packages.Basic shellcodeServer-side scripting: Node.js, Express.js, and Socket.ioClient-side scripting: Dashboard and remote mobile-app 1. Installing Raspbian and Node.js Follow this tutorial to install Raspbian and Node.js on your Raspberry Pi Installing Chromium browser and Youtube-dl Build from source or use apt-get sudo apt-get install chromium-browser Install and update Youtube-dl script 2.

Dr. Dobb's | Good stuff for serious developers: Programming Tools, Code, C++, Java, HTML5, Cloud, Mobile, Testing Eulerian Video Magnification banner slider Many seemingly static scenes contain subtle changes that are invisible to the naked human eye. However, it is possible to pull out these small changes from videos through the use of algorithms we have developed. We give a way to visualize these small changes by amplifying them and we present algorithms to pull out interesting signals from these videos, such as the human pulse, sound from vibrating objects and the motion of hot air. Videos Software and Code Eulerian Video Magnification code Matlab code and executables implementing Eulerian video processing for amplifying color and motion changes. Phase Based Video Motion Processing code Matlab code for implementing the new and improved phase-based motion magnification pipeline. Videoscope Web interface for motion and color magnification. Publications (Magnifying Motion and Color Changes) Publications (Analysis of Small Motions) People Faculty: Students, Postdocs and Affiliates: Collaborators: Edward H. Talks

Best Practices for Designing a Pragmatic RESTful API | Vinay Sahni Your data model has started to stabilize and you're in a position to create a public API for your web app. You realize it's hard to make significant changes to your API once it's released and want to get as much right as possible up front. Now, the internet has no shortage on opinions on API design. But, since there's no one widely adopted standard that works in all cases, you're left with a bunch of choices: What formats should you accept? In designing an API for SupportFu (a lightweight Zendesk alternative ), I've tried to come up with pragmatic answers to these questions. ... or just skip to the bottom and signup for updates Key requirements for the API Many of the API design opinions found on the web are academic discussions revolving around subjective interpretations of fuzzy standards as opposed to what makes sense in the real world. An API is a developer's UI - just like any UI, it's important to ensure the user's experience is thought out carefully! Use RESTful URLs and actions

Lorem Ipsum - All the facts - Lipsum generator Bit Twiddling Hacks By Sean Eron Anderson seander@cs.stanford.edu Individually, the code snippets here are in the public domain (unless otherwise noted) — feel free to use them however you please. The aggregate collection and descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and without even the implied warranty of merchantability or fitness for a particular purpose. As of May 5, 2005, all the code has been tested thoroughly. Thousands of people have read it. Contents About the operation counting methodology When totaling the number of operations for algorithms here, any C operator is counted as one operation. Compute the sign of an integer The last expression above evaluates to sign = v >> 31 for 32-bit integers. Alternatively, if you prefer the result be either -1 or +1, then use: sign = +1 | (v >> (sizeof(int) * CHAR_BIT - 1)); // if v < 0 then -1, else +1 sign = (v ! Patented variation: f = v && ! Sean A.

19 Beautiful and Colorful Websites for your Inspiration In the Northern Hemisphere, summer is just around the corner, and to celebrate that, there’s nothing better than checking out some beautiful and colorful websites. Colors are a great way to get attention, and to add personality and interest to a design. Choosing the right color palette may change the whole outcome of a design, so today we will show you how some very talented web designers are using color to create beautiful websites. Enjoy the inspiration! Butterfly Bark PR Dumbo Townhouses Simple as Milk Summer in Tennessee Ready to Inspire TriplAgent Julia & Artem Dear Mum Polecat Kick my Habits herrlich media Dubbel Frisss Design Embraced rdio Kluge Interactive Flourish Brand Stylists colourcode Wall Creations About the Author Gisele Muller loves communication, technology, web, design, movies, gastronomy and creativity. Related Posts 276 shares 11 Inspiring Typography Focused Web Designs We all know that typography is a very important element of a good design. Read More 510 shares

Related: