Friday, May 31, 2013

Marionette-Require-Boilerplate for Your Single Page Application: "Marionette-Require-Boilerplate (MRB) is a simple boilerplate I created to help get Single Page Applications off the ground with a small starter project. It incorporates a number of great tools and best practices to save time in the early stages of a project."

Storing time series statistics in Redis: "After looking at various solutions including using Sorted Sets we decided we could get the best performance/space setup by breaking storing each API hit in a range of hashmaps representing different granularities of time (e.g. minutes, seconds…). Each hashmap would hold a suitable number of values to provide useful data at that granularity."

Getting Started With the Track Element - HTML5 Rocks: "Each item in a track file is called a cue. Each cue has a start time and end time separated by an arrow, with cue text in the line below. Cues can optionally also have IDs: 'railroad' and 'manuscript' in the examples above. Cues are separated by an empty line."

Falsehoods programmers believe about addresses: "Update:Matthieu Valleton got in touch to point out his address on Kerguelen Island (Google Map), a French territory in the Indian Ocean, his address was District de Kerguelen (island), Terres Australes et Antarctiques Françaises (territory), via la Réunion (indicates where the mail should be routed through), France (country)"

Wednesday, May 29, 2013

D3 Tutorial: Making a bar chart — Scott Murray — alignedleft: "Fantasti-code! If you are not typographically obsessive, then you’re all done. If, however, you are like me, you’ll notice that the value labels aren’t perfectly aligned within their bars. That’s easy enough to fix. Let’s use the SVG text-anchor attribute to center the text horizontally at the assigned x value:"

A comparison of various JS frameworks using cold hard data: "Backbone is clearly reaching some sort of maturity, with few issues left open on Github, commit activity subsiding and some sort of stability being reached. It doesn't have the high number of core contributors of other projects but there are plenty of people willing to fix bugs still. The support rate on StackOverflow is about the same as the other projects and while it might be the most popular project on Github it doesn't have that many questions considering that huge size."

Haxe 3.0 has been released! - Google Groups: "on behalf of the Haxe Foundation, I am proud to announce that Haxe 3.0 is now officially released! Nicolas Cannasse announced it during his speech at the Worldwide Haxe Conference in Paris earlier today. You can get it here: http://haxe.org/download"

Accumulated lots of data - deleting is is too expensive - Google Groups: "The mismatch, mentally is that these entities, all 18M, take up near a 1/2 terabyte of storage, which itself costs less than $100 nowadays. It's hard for me to understand paying $3600 to delete them all, and even though its an expensive lesson I'll not repeat in the future (letting entities accumulate), I don't think it should be this expensive in general to delete data."

Data URIs make CSS sprites obsolete | NCZOnline: "Before getting into how data URIs make CSS sprites obsolete, it helps to examine the problem that CSS sprites solved. The problem is that HTTP requests are a major performance bottleneck for web pages. The more requests you have, the longer it takes your page to load and the slower it is, so every little image you load onto a page fights against you in your quest for page speed."

The true power of regular expressions: "In order to analyze what regular expressions can and cannot match, we first have to look at what other types of languages there are. A good starting point for this is the Chomsky hierarchy:"

The Battle of Modern Javascript Frameworks – Part I | SoftFinity -: "Welcome to the Javascript Framework revolution. Since the release of JQuery in 2006, client-side javascript has entered a renaissance, and many developers have decided to shift much of the functionality of there applications to the client side, while using the server primarily to send and recieve data. "

UFLDL Tutorial - Ufldl: "Description: This tutorial will teach you the main ideas of Unsupervised Feature Learning and Deep Learning. By working through it, you will also get to implement several feature learning/deep learning algorithms, get to see them work for yourself, and learn how to apply/adapt these ideas to new problems."

Monday, May 27, 2013

algorithm - What does O(log n) mean exactly? - Stack Overflow: "This is why, for example, looking up people in a phone book is O(log n). You don't need to check every person in the phone book to find the right one; instead, you can simply divide-and-conquer, and you only need to explore a tiny fraction of the entire space before you eventually find someone's phone number."

NAP :: University of Southampton: "The half-wave rectification makes the response to the BMM uni-polar like the response of the hair cell, while keeping it phase-locked to the peaks in the wave. Experiments on pitch perception indicate that the fine structure is required to predict the pitch shift of the residue (Yost, Patterson, & Sheft, 1998). Other rectification algorithms like squaring, full-wave rectification and the Hilbert transform only preserve the envelope."

Summary statistics in auditory perception : Nature Neuroscience : Nature Publishing Group: "Sensory signals are transduced at high resolution, but their structure must be stored in a more compact format. Here we provide evidence that the auditory system summarizes the temporal details of sounds using time-averaged statistics. We measured discrimination of 'sound textures' that were characterized by particular statistical properties, as normally result from the superposition of many acoustic features in auditory scenes. When listeners discriminated examples of different textures, performance improved with excerpt duration. In contrast, when listeners discriminated different examples of the same texture, performance declined with duration, a paradoxical result given that the information available for discrimination grows with duration. These results indicate that once these sounds are of moderate length, the brain's representation is limited to time-averaged statistics, which, for different examples of the same texture, converge to the same values with increasing duration. Such statistical representations produce good categorical discrimination, but limit the ability to discern temporal detail."

Friday, May 24, 2013

JJA | Praat's Pitch Algorithm: "The autocorrelation is highest at a time lag of 0, so we need to look for peaks that are greater than 0 for significant periodicity. However, in this case, since we are working with a complex sound wave with a loud harmonic, the autocorrelation curve shows a false peak (red line) before the time lag that we know is the sound's actual fundamental frequency (green line), which is alligned with a lower peak."

Why you should write Makefiles: "Your build process usually can be described in terms of sequences of commands with some dependencies between. make captures this naturally as a set of build targets (with dependencies) and associated snippets of shell script (usually sh):"

Dart Is Not the Language You Think It Is - Programming: "When Dart was originally launched, many developers mistook it for some sort of Java clone. In truth, Dart is inspired by a range of languages such as Smalltalk, Strongtalk, Erlang, C#, and JavaScript. Get past the semicolons and curly braces, and you’ll see a terse language without ceremony. Dart has evolved into its own, and here are some of my favorite language features."

ULB Bonn ::: Dissertation - Rolf Bardeli: Algorithmic Analysis of Complex Audio Scenes, 2008: "In this thesis, we examine the problem-of algorithmic analysis of complex audio scenes with a special emphasis on natural audio scenes. One of the driving goals behind this work is to develop tools for monitoring the presence of animals in areas of interest based on Their vocalisations. This task, Which Often an occurs in the evaluation of nature conservation measures, leads to a number of subproblems to audio scene analysis.
In order to develop and evaluate pattern recognition algorithms for animal sounds, a representative collection of sounds tested"

Friday, May 17, 2013

FFT's are fast DFT Algorithms.: "For example, the popular 'Radix 2' algorithms are useful if N is a regular power of 2 (N=2p). These algorithms have complexity of only O(N.logN). If we (naively) assume that algorithmic complexity provides a direct measure of execution time (and that the relevant logarithm base is 2) then the ratio of execution times for the (DFT) vs. (Radix 2 FFT) can be expressed:"

fynyky/reactor.js · GitHub: "Reactor is based on the same reactive principles as Bacon.js and Knockout.js. The main difference is that Reactor is trying to be lightweight and keep the additional syntax and complexity to a minimum. Reactor sets dependencies for you automatically so there is no need to manually set subscriptions/listeners."

JavaScript Regular Expression Enlightenment - Tech.Pro: "It wasn't until I re-adjusted my thoughts on the nature of regular expressions that my fear of them turned into pleasure. This happened when I started thinking about regular expressions as an actual language itself, instead of a value contained within a language. I know it is not technically a language, but studying it like a programming language might just help a developer get over the steep learning curve. "

Pearson product-moment correlation coefficient - Wikipedia, the free encyclopedia: "In statistics, the Pearson product-moment correlation coefficient (sometimes referred to as the PPMCC or PCC,[1] or Pearson's r) is a measure of the linear correlation (dependence) between two variables X and Y, giving a value between +1 and −1 inclusive. It is widely used in the sciences as a measure of the strength of linear dependence between two variables. It was developed by Karl Pearson from a related idea introduced by Francis Galton in the 1880s.[2][3]"

Monday, May 13, 2013

Trend: a general-purpose, efficient trend graph: "trend is a general-purpose, efficient trend graph for "live" data. Data is read in ASCII form from a file or continuously from a FIFO and displayed in real-time into a multi-pass trend (much like a CRT oscilloscope). trend can be used as a rapid analysis tool for progressive or time-based data series together with trivial scripting."

Sinewave and Sinusoid+Noise Analysis/Synthesis in Matlab: "In practice, it gets a little complicated for a couple of reasons. Firstly, picking peaks is sometimes difficult: if there's a very slight local maximum on the 'shoulder' of a bigger peak, does that count or not? Also, the resolution of the STFT is typically not all that good (perhaps 128 bins spanning 4 kHz, or about 30 Hz), so you need to interpolate the maximum in both frequency and magnitude. However, this basically works."

Alex Brandmeyer: Auditory perceptual learning using decoded-EEG neurofeedback | CCRMA: "Auditory perceptual learning is a process in which skills of auditory perception improve through both passive and active exposure to sounds in the environment, and which underlies our abilities to perceive language and music. Individual differences in these perceptual skills can be observed in both our behaviors and in our brains’ automatic responses to sounds (i.e. auditory evoked responses). The results of these experiments suggest that,depending on stimulus features and participant instructions, the presentation of such feedback can lead to the modulation of distinct components of the auditory event-related potential. The ability to selectively modulate brain activity underlying ongoing perception via neurofeedback could eventually lead to a novel type of brain-computer interface for learning paradigms involving both healthy and clinical populations.
"

Sunday, May 12, 2013

Interrobang - Wikipedia, the free encyclopedia: "he interrobang, also known as the interabang,[1] (pron.: /ɪnˈtɛrəbæŋ/), ‽ (often represented by ?! or !?), is a nonstandard punctuation mark used in various written languages and intended to combine the functions of the question mark (also called the “interrogative point”) and the exclamation mark or exclamation point (known in printers’ and programmers' jargon as the “bang”).[2] The glyph is a superimposition of these two marks."

NRK vedsending stir - Hordaland: "Friday night fired Broadcasting Corporation of twelve hours live on the program with the National vedkveld. TV viewers got a four-hour magazine program only dedicated to the, before a burning fire filled the TV screen eight hours through the night - also it directly."

Friday, May 10, 2013

Venn Diagrams with D3.js: "A couple of my goals for this year are to learn both Javascript and D3.js. Its gotten to the point where its embarrassing that I don't know Javascript, and I want to learn D3 since I keep on seeing so many beautiful looking visualizations being made with it. To get started with this, I thought I'd try use D3 to create the simplest possible visualization I could think of - the Venn diagram.

Learn SQL, dammit! - Gun.io: "Look at any ORM documentation. Most are littered with indirect references indirect references to SQL. You need to understand how SQL works in order to grasp these references. This begs the question: How much SQL does one need to learn in order to adequately understand the documentation? Think about it, though: it’s absurd that you would even need to learn any SQL at all! The very nature of an ORM is to bypass SQL. But now you have to learn both syntaxes! Adding more time and more work to your plate."

Old Weather, Citizen Science | Scientific American: "Old Weather—part of the Zooniverse network of citizen science projects—seeks to gather and study information from ship's logs as a means of better understanding historical weather patterns worldwide. The goal isn't to prove or disprove global warming but rather to gather information about historical weather variability in an effort to improve the ability to predict weather and climate in the future."

Additional Publications Related to CNI: "Reports by CNI:
Institutional Strategies and Platforms for Scholarly Publishing: A report of the CNI Executive Roundtable held at the CNI Fall Membership Meeting, Dec. 10, 2012
Multiple Devices and Platforms: Institutional Strategies: A report of the CNI Executive Roundtable held at the CNI Spring Membership Meeting, April 2, 2012
Risk Management and Disaster Planning: A report of the CNI Executive Roundtable held at the CNI Fall 2011 Membership Meeting, Dec. 12, 2011
“Enhancing Graduate Education: A Fresh Look at Library Engagement,” ARL: A Bimonthly Report on Research Library Issues and Actions, no. 256 (February 2008)
“Libraries and Changing Research Practices: A Report of the ARL/CNI Forum on E-Research and Cyberinfrastructure,” ARL: A Bimonthly Report on Research Library Issues and Actions, no. 237 (December 2004)"

Repositories | DataCite: "Databib is a tool for helping people identify and locate online repositories of research data. Users and bibliographers create and curate records that describe data repositories that users can search.
This list is a working document. It is provided for information purposes only: DataCite provides no endorsements as to the quality or suitability of the repositories listed. We encourage community participation in developing this resource. Please contact us or DataBib directly to suggest changes or additions. A copy of the list can be downloaded from Google Docs."

A real number bx is approximated in machine by a rational:
x = (−1)s × m × β
e
where
β is the radix
10 in your calculator and (usually) your head
2 in most computers
Some IBM ﬁnancial mainframes use radix 10, why ?
s ∈ {0,1} is a sign bit
m is the mantissa, a rational number of nm digits in radix β

Throw Out Your Resume: "Don’t be boring. Most applications companies receive are a resume with a cover letter attached, but there’s no rule saying yours has to. Surprise them by including a poster, a song you’ve written, a video, or something else made specifically for that company. You have about 15 seconds to catch the attention of the person looking through applications. Make yourself stand out."