Sunday, March 31, 2013

Finite automata and string matching

Finite automata and string matching: "The KMP algorithm works by turning the pattern it's given into a machine, and then running the machine. The hard part of KMP is finding the machine.

We need some restrictions on what we mean by "program". This is where "deterministic & finite" come from."

'via Blog this'

Finite-state machine - Wikipedia, the free encyclopedia

Finite-state machine - Wikipedia, the free encyclopedia: "A finite-state machine (FSM) or finite-state automaton (plural: automata), or simply a state machine, is a mathematical model of computation used to design both computer programs and sequential logic circuits. It is conceived as an abstract machine that can be in one of a finite number of states. The machine is in only one state at a time; the state it is in at any given time is called the current state. It can change from one state to another when initiated by a triggering event or condition; this is called a transition. A particular FSM is defined by a list of its states, and the triggering condition for each transition."

'via Blog this'

Lecture 16 in 6.851: Advanced Data Structures (Spring'12)

Lecture 16 in 6.851: Advanced Data Structures (Spring'12):

'via Blog this'

Saturday, March 30, 2013

Bayesian gene/species tree reconciliation and... [Bioinformatics. 2003] - PubMed - NCBI

Bayesian gene/species tree reconciliation and... [Bioinformatics. 2003] - PubMed - NCBI: "MOTIVATION: Comparative genomics in general and orthology analysis in particular are becoming increasingly important parts of gene function prediction. Previously, orthology analysis and reconciliation has been performed only with respect to the parsimony model. This discards many plausible solutions and sometimes precludes finding the correct one. In many other areas in bioinformatics probabilistic models have proven to be both more realistic and powerful than parsimony models"

'via Blog this'

Notung 2.6 : Reconciliation

Notung 2.6 : Reconciliation: "Given a gene tree and a species tree (e.g., Fig. 1), Notung-2.6 will determine:
The duplications, conditional duplications, and losses that occurred
Upper and lower bounds on the time of duplication and conditional duplication
The cost (D/L Score) of the tree"

'via Blog this'

Tree Reconciliation | iPlant Collaborative Web Portal

Tree Reconciliation | iPlant Collaborative Web Portal: "The primary goal of the Tree Reconciliation Working Group is to develop an infrastructure to perform large species-gene tree reconciliations involving thousands of taxa and thousands of gene families. Such an infrastructure, able to process datasets of this magnitude, will prove indispensable given the pace at which the genomes of the different species are being sequenced. The iPlant Tree Reconciliation platform is composed of three elements: an analytical pipeline, a database and a visualizer."

'via Blog this'

repository - How can I get apt to use a mirror close to me, or choose a faster mirror? - Ask Ubuntu

repository - How can I get apt to use a mirror close to me, or choose a faster mirror? - Ask Ubuntu: "always gone with the 'select best server' GUI tool: from Ubuntu Software Center, go to Edit -> Software Sources in the menu. (You can also do this from the Preferences for Synaptic or the Update Manager.)"

'via Blog this'

Thursday, March 28, 2013

List of HTTP status codes - Wikipedia, the free encyclopedia

List of HTTP status codes - Wikipedia, the free encyclopedia: "413 Request Entity Too Large
The request is larger than the server is willing or able to process.[2]
414 Request-URI Too Long
The URI provided was too long for the server to process.[2]"

'via Blog this'

List of HTTP status codes - Wikipedia, the free encyclopedia

List of HTTP status codes - Wikipedia, the free encyclopedia: "413 Request Entity Too Large
The request is larger than the server is willing or able to process.[2]
414 Request-URI Too Long
The URI provided was too long for the server to process.[2]"

'via Blog this'

List of HTTP status codes - Wikipedia, the free encyclopedia

List of HTTP status codes - Wikipedia, the free encyclopedia: "406 Not Acceptable
The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.[2]"

'via Blog this'

Software Engineer | FACEBOOK, INC. | Workopolis

Software Engineer | FACEBOOK, INC. | Workopolis: "Want to create products that more than 1 billion people around the world use? Want to build new features and improve existing products like Photos, Video, Places, NewsFeed, Search, Mobile and Messaging? Want to solve unique, large scale, highly complex technical problems? Facebook is seeking an experienced Software Engineer to join the Products team. You can help build the next-generation systems behind Facebook's products, create web applications that reach millions of people, build high volume servers and be a part of a team that’s working to help people connect with each other around the globe. Join us! This position is full-time and is based in Facebook Canada Limited’s Vancouver office.
"

'via Blog this'

Tuesday, March 26, 2013

http://staff.washington.edu/bdjwww/medfilt.py

'via Blog this'

Monday, March 25, 2013

D3 | TULP interactive

D3 | TULP interactive:

'via Blog this'

Elegant Code » Basic JavaScript: Prototypical Inheritance vs. Functional Inheritance

Elegant Code » Basic JavaScript: Prototypical Inheritance vs. Functional Inheritance: "In ‘classical’ programming languages, one class can directly inherit from another class. JavaScript doesn’t have this notion of classes (yet). Instead, JavaScript has prototypes which you can augment to fit your own needs. This means that having a single augmented object as the prototype for other objects, which ‘inherit’ all members of the augmented prototype object, kind of simulates a pseudo-classical inheritance pattern. Let’s talk code in order to demystify this concept."

'via Blog this'

Introduction to Machine Learning

Introduction to Machine Learning:

'via Blog this'

80 chars per line is great | Wrong Side of Memphis

80 chars per line is great | Wrong Side of Memphis:

'via Blog this'

The 5 laws of API dates and times | API UX

The 5 laws of API dates and times | API UX: "Law #1: Use ISO-8601 for your dates

There’s really no debate here. From the W3C to the IETF, and even XKCD, the Internet has come to operate on this standard. Don’t try to be smart and do it differently. ISO-8601 provides a host of varieties on how to display dates/times/timezones."

'via Blog this'

Too Perfect A Mirror - Me, my blog, and my Johnson

Too Perfect A Mirror - Me, my blog, and my Johnson: "Git is pretty safe. Usually. But it turns out that you can do some things that will cause it to be relatively quiet about problems, which can make it appear to you, the casual user or sysadmin, as if all is well. I just completed a bunch of testing in an attempt to understand how the repositories that did get re-cloned onto the anongits could have been corrupt, and here’s what I found:"

'via Blog this'

Code School - Discover DevTools

Code School - Discover DevTools:

'via Blog this'

Friday, March 22, 2013

All sizes | House Finch UVic | Flickr - Photo Sharing!

All sizes | House Finch UVic | Flickr - Photo Sharing!:

Songs With The Same Chords - Hooktheory Trends

Songs With The Same Chords - Hooktheory Trends:

'via Blog this'

AP011-players-cigs.jpg (446×709)

AP011-players-cigs.jpg (446×709):

Built-in table editor - The Org Manual

Built-in table editor - The Org Manual: "C-c ^     (org-table-sort-lines)
Sort the table lines in the region. The position of point indicates the column to be used for sorting, and the range of lines is the range between the nearest horizontal separator lines, or the entire table. If point is before the first column, you will be prompted for the sorting column. If there is an active region, the mark specifies the first line and the sorting column, while point should be in the last line to be included into the sorting. The command prompts for the sorting type (alphabetically, numerically, or by time). When called with a prefix argument, alphabetic sorting will be case-sensitive.
"

Visualizing k-means clustering (using d3.js) - H. Chase Stevens

Visualizing k-means clustering (using d3.js) - H. Chase Stevens:

'via Blog this'

Applidium — Writing an evented web server

Applidium — Writing an evented web server: "You may have heard about Node.js, and how it maximizes scalability. But what is the big innovation behind Node? HTTP servers have been around for a very long time (Apache is nearly 20 years old), what have we been missing for so long?"

'via Blog this'

The Joy of Tech :: Google musical chairs

The Joy of Tech :: Google musical chairs:

How to disable Auto Sleep mode, Hibernation in Windows 8

How to disable Auto Sleep mode, Hibernation in Windows 8:

'via Blog this'

HP ENVY h8-1500 Desktop PC series -  HP ENVY h8-1549 Desktop PC Product Specifications - c03666767 - HP Business Support Center

HP ENVY h8-1500 Desktop PC series -  HP ENVY h8-1549 Desktop PC Product Specifications - c03666767 - HP Business Support Center: "Intel Core i7 3770
TDP: 77W
Operating speed: 3.4 GHz (up to 3.9 GHz turbo)
Number of cores: 4
Socket: LGA 1155
Bus speed: DMI (Direct Media Interface) - 5.0GT/s"

Wednesday, March 20, 2013

Backbone 1.0

Backbone 1.0: "These days, you can find it helping to power web applications large and small, from major news organizations to comment widgets, a whole diversity of use cases including payment management, online jukeboxes, digital books, online courses, RSS readers, vacation rentals, news sites, web television, and music magazines. And those are just a small sampling from the heavyweight end of the scale."

'via Blog this'

Superhero.js

Superhero.js: "Creating, testing and maintaining a large JavaScript code base is not easy — especially since great resources on how to do this are hard to find. This page is a collection of the best articles, videos and presentations we've found on the topic.

"

'via Blog this'

Tutorial 3 : Matrices | opengl-tutorial.org

Tutorial 3 : Matrices | opengl-tutorial.org:

'via Blog this'

Build collaborative apps with Google Drive Realtime API - Google Developers Blog

Build collaborative apps with Google Drive Realtime API - Google Developers Blog: "Google Drive lets users create Docs, Sheets, and Slides, collaborate on them in real time, and have their changes saved automatically. With the new Google Drive Realtime API, you can now easily add some of the same real-time collaboration that powers Google Drive to your own apps. This new API handles network communication, storage, presence, conflict resolution, and other collaborative details so you can focus on building great apps."

'via Blog this'

massless

massless: "However, saying “no” to projects doesn’t make you Steve Jobs if you say no to inspiring things. It’s the discernment that’s meaningful, not the refusal. Anyone can point their thumb to the ground."

'via Blog this'

Job Monitoring | WestGrid

Job Monitoring | WestGrid: "The qstat command shows a limited amount of information on a number of jobs in the scheduling system.
The "qstat -a" command shows information on all queued jobs.
The "qstat -r" command shows information on all running jobs.
The "qstat -i" command shows information on all non-running jobs."

Tuesday, March 19, 2013

826 Valencia - Wikipedia, the free encyclopedia

826 Valencia - Wikipedia, the free encyclopedia: "826 Valencia is a non-profit organization dedicated to helping children and young adults develop writing skills and to helping teachers inspire their students to write. It was the basis for the 826 National organization, which has centers around the country with the same goal."

'via Blog this'

Once Upon a School: Dave Eggers' TED Prize wish on TED.com

Once Upon a School: Dave Eggers' TED Prize wish on TED.com:

Uwe Schmidt - Wikipedia, the free encyclopedia

Uwe Schmidt - Wikipedia, the free encyclopedia: "Uwe Schmidt (aka Atom Heart, Atom™, Señor Coconut; born August 27, 1968), is a German composer, musician and producer of electronic music. He is often regarded as the father of electrolatino, electrogospel and acitón (acid-reggaeton) music."

The Amazing Audio Engine: Core Audio, Cordially.

The Amazing Audio Engine: Core Audio, Cordially.:

'via Blog this'

Monday, March 18, 2013

きなこ温泉に浸かる - YouTube

きなこ温泉に浸かる - YouTube: ""

'via Blog this'

いろいろなねこ11。-Many Maru 11.- - YouTube

いろいろなねこ11。-Many Maru 11.- - YouTube: ""

'via Blog this'

Live at the Witch Trials - Wikipedia, the free encyclopedia

Live at the Witch Trials - Wikipedia, the free encyclopedia: "Live at the Witch Trials is the debut studio album by The Fall. It wast released on 16 March 1979, through record label Step-Forward. It is not, despite its title, a live album, but was recorded in the studio in the period of one day and mixed by producer Bob Sargeant the next. No singles were taken from the album, a practice that would be commonplace for the group until 1986."

Bulletproof Demos

Bulletproof Demos: "1. Start by closing Chrome (after copying down these instructions!)
2. Open a Terminal (Cmd+Space then type "Terminal")
3. Type open -a "Google Chrome" --args --record-mode and hit enter.
4. Run through your demo, and close Chrome, returning to the terminal.
5. Type open -a "Google Chrome" --args --playback-mode and hit enter.
6. Everything will be served out of the recorded cache, even if your servers have exploded, a bug has been deployed, or the conference wifi has dropped out.

 "

'via Blog this'

Saturday, March 16, 2013

Shoulder-treatments.png (500×187)

Shoulder-treatments.png (500×187):

Photo-Lettering - New Alphabet: Sodachrome

Photo-Lettering - New Alphabet: Sodachrome: "Causing typographic classification experts to reach for, then throw out their copy of Vox, Sodachome is a chromatic concoction of two parts serif forming one part sans. The alphabet is an original design by Ian Moore and Dan Rhatigan of the The Colour Grey. Ian and Dan took the tradition of chromatic alphabets and explored what would happen if the chromatic overlap created a secondary alphabet design. We’re happy to offer the design to Photo-Lettering users."

Nicholas Felton | Feltron.com

Nicholas Felton | Feltron.com:

Django: Creating a Custom Middleware Component

Django: Creating a Custom Middleware Component:

'via Blog this'

Genevieve Pearson - Random

Genevieve Pearson - Random: "Question: How did you get so hot?
Answer: I'm wearing too many layers."

'via Blog this'

Genevieve Pearson - Books

Genevieve Pearson - Books:


Cross-domain Ajax with Cross-Origin Resource Sharing | NCZOnline

Cross-domain Ajax with Cross-Origin Resource Sharing | NCZOnline: "Access-Control-Allow-Origin – same as in simple requests.
Access-Control-Allow-Methods – a comma separated list of allowed methods.
Access-Control-Allow-Headers – a comma separated list of headers that the server will allow.
Access-Control-Max-Age – the amount of time in seconds that this preflight request should be cached for."

'via Blog this'

Gray-B-Gon wind-powered evapotron for graywater disposal

Gray-B-Gon wind-powered evapotron for graywater disposal:

Why We Shut Down Charm on the Eve of Public Launch, at $48k/Year and Growing « Unicornfree with Amy Hoy: Creating And Selling Your Own Products

Why We Shut Down Charm on the Eve of Public Launch, at $48k/Year and Growing « Unicornfree with Amy Hoy: Creating And Selling Your Own Products: "Now we’ve discovered that there’s some kind of base incompatibility with Ubuntu, which is giving us kernel panics which nobody can track down. Charm has been plagued by mystery technical problems from the beginning, when we had to backport from Rails 3.x to 2.x because of massive performance slowdowns which even Rails Core members couldn’t identify."

'via Blog this'

£2.75m Gold Melt - 500k Gold Bar Being Made - YouTube

£2.75m Gold Melt - 500k Gold Bar Being Made - YouTube: ""

'via Blog this'

The second-order-diff Git trick - Tom Moertel’s Blog

The second-order-diff Git trick - Tom Moertel’s Blog: "The idea is to replace git reset with git stash, should you need to back up and try again with an adjusted sledgehammer. Using stash not only resets your working tree back to the starting point but also stashes the result of the applying the previous sledgehammer. Then you can apply your new sledgehammer and use git diff stash to review how it changed your original working tree differently than the previous sledgehammer. In this way, you can more easily verify that adjusting your sledgehammer worked as expected. Once everything looks good, git commit as usual."

'via Blog this'

Submarine Cable Map

Submarine Cable Map:

Stunning Dita Von Teese in Revolutionary 3D-Printed Dress - My Modern Metropolis

Stunning Dita Von Teese in Revolutionary 3D-Printed Dress - My Modern Metropolis: "Burlesque performer Dita Von Teese modeled the very first fully articulated 3D-printed dress at an unveiling party earlier this week at Ace Hotel New York. The spectacular garment is made of 17 individually printed pieces with 3,000 articulated joints. To further glamorize the piece, the designers adorned the netted pattern with 12,000 black Swarovski crystals. Created by designer Michael Schmidt and architect Francis Bitonti, in collaboration with Shapeways, the black gown boasts an ease in movement that paves the way for future 3D-printed fashion."

paxos/paxos/essential.py at master · cocagne/paxos · GitHub

paxos/paxos/essential.py at master · cocagne/paxos · GitHub:

'via Blog this'
Toggle volume mute/unmute under Ubuntu 12.10. #!/bin/bash CURRENT_STATE=`pacmd dump | grep set-sink-mute | egrep -o 'no|yes'` if [[ $CURRENT_STATE == 'no' ]]; then pactl set-sink-mute @DEFAULT_SINK@ 1 else pactl set-sink-mute @DEFAULT_SINK@ 0 fi

Control Voltage's Friday Five: Unsound Festival in Review | SPIN | Control Voltage

Control Voltage's Friday Five: Unsound Festival in Review | SPIN | Control Voltage: "The flickering highlights and faint tone colors suggested filament and metal filings, and the low end was as spongy as loam. Ghost melodies flitted through the porous fabric of the music, and you were never quite sure if they were something Pole was actually playing or just an accidental confluence of frequencies taking on mass as they tangled up.

"

'via Blog this'

Control Voltage's Friday Five: Unsound Festival in Review | SPIN | Control Voltage

Control Voltage's Friday Five: Unsound Festival in Review | SPIN | Control Voltage: "After a long period of relative inactivity in his own productions, Pole (Berlin's Stefan Betke) has spent the past two years gradually reinventing the buoyant, grit-ridden strain of dub techno with which he first made his name back in the late 1990s; this time, though, he's managed to imbue it with more detail and color than ever before."

Chris Hadfield and some incredibly floating Canadian space food - YouTube

Chris Hadfield and some incredibly floating Canadian space food - YouTube: ""

'via Blog this'

Susan Cain: The power of introverts - YouTube

Susan Cain: The power of introverts - YouTube: ""

'via Blog this'

Quick way to set CORS headers on django-tastypie resources

Quick way to set CORS headers on django-tastypie resources:

'via Blog this'

Friday, March 15, 2013

Middleware | Django documentation | Django

Middleware | Django documentation | Django: "Middleware is a framework of hooks into Django’s request/response processing. It’s a light, low-level “plugin” system for globally altering Django’s input or output.

Each middleware component is responsible for doing some specific function. For example, Django includes a middleware component, TransactionMiddleware, that wraps the processing of each HTTP request in a database transaction.

This document explains how middleware works, how you activate middleware, and how to write your own middleware. Django ships with some built-in middleware you can use right out of the box. They’re documented in the built-in middleware reference.

"

'via Blog this'

enable cross-origin resource sharing

enable cross-origin resource sharing: "JavaScript and the web programming has grown by leaps and bounds over the years, but the same-origin policy still remains. This prevents JavaScript from making requests across domain boundaries, and has spawned various hacks for making cross-domain requests.

CORS introduces a standard mechanism that can be used by all browsers for implementing cross-domain requests. The spec defines a set of headers that allow the browser and server to communicate about which requests are (and are not) allowed. CORS continues the spirit of the open web by bringing API access to all."

Cross-origin resource sharing - Wikipedia, the free encyclopedia

Cross-origin resource sharing - Wikipedia, the free encyclopedia: "CORS relationship to JSONP

CORS can be used as a modern alternative to the JSONP pattern. While JSONP supports only the GET request method, CORS also supports other types of HTTP requests. Using CORS enables a web programmer to use regular XMLHttpRequest, which supports better error handling than JSONP. On the other hand, JSONP works on legacy browsers which preclude CORS support. CORS is supported by most modern web browsers. Also, whilst JSONP can cause XSS issues where the external site is compromised, CORS allows websites to manually parse responses to ensure security.[2][15]"

Learn CSS Layout

Learn CSS Layout: "I assume you already know what selectors, properties, and values are. And you probably know a thing or two about layout, though it may still be a rage-provoking activity for you. If you want to learn HTML and CSS from the beginning, you should check out this tutorial. Otherwise, let's see if we can save you some fury on your next project.

"

'via Blog this'

jQuery UI Widget Factory

jQuery UI Widget Factory:

'via Blog this'

Diamond Rings: Runaway Love (SXSW Sessions 2013) | Watch the video - Yahoo! Music

Diamond Rings: Runaway Love (SXSW Sessions 2013) | Watch the video - Yahoo! Music:

'via Blog this'

Boondoggle (project) - Wikipedia, the free encyclopedia

Boondoggle (project) - Wikipedia, the free encyclopedia: "The term arose from a 1935 New York Times report that more than $3 million had been spent on recreational activities for the jobless as part of the New Deal. Among these activities were crafts classes, where the production of "boon doggles," described in the article as various utilitarian "gadgets" made with cloth or leather, were taught.[1] The term's earlier definition is thought to have its origin in scouting, particularly in reference to a woggle.[2]"

'via Blog this'

Thursday, March 14, 2013

Pole (musician) - Wikipedia, the free encyclopedia

Pole (musician) - Wikipedia, the free encyclopedia: "Pole is the artistic name of Stefan Betke (born February 18, 1967), a German electronic music artist commonly associated with the glitch genre as well as dubtronica."

'via Blog this'

Sicherheitstacho.eu

Sicherheitstacho.eu:

'via Blog this'

Wednesday, March 13, 2013

Music Information Retrieval | IEEE Content Portal

Music Information Retrieval | IEEE Content Portal:


A talk by my professor at UVIC.  A great overview of our field.

Building Brains to Understand the World's Data - YouTube

Building Brains to Understand the World's Data - YouTube: ""

'via Blog this'

Jeff Hawkins - Wikipedia, the free encyclopedia

Jeff Hawkins - Wikipedia, the free encyclopedia: "Jeffrey Hawkins (born June 1, 1957, in Huntington, New York) is the founder of Palm Computing (where he invented the Palm Pilot)[1] and Handspring (where he invented the Treo).[2] He has since turned to work on neuroscience full-time, founded the Redwood Center for Theoretical Neuroscience (formerly the Redwood Neuroscience Institute) in 2002, and published On Intelligence describing his memory-prediction framework theory of the brain."

'via Blog this'

Javascript code to parse CSV data - Stack Overflow

Javascript code to parse CSV data - Stack Overflow: "You can use the CSVToArray() function mentioned in this blog entry."

'via Blog this'

Secret Feature in Ableton Live: Show Devices / Plugins • Resoundsound

Secret Feature in Ableton Live: Show Devices / Plugins • Resoundsound: "

ILPO KÄRKKÄINEN MARCH 9, 2013
SECRET FEATURE IN ABLETON LIVE: SHOW DEVICES / PLUGINS ON TRACKS

One of the things I have been missing in Ableton Live is the ability to see all of the devices/plugins of all of the tracks at once. It’s a bit annoying having to hop tracks to see what devices each one has loaded up.

Well, one of you (thanks Martin) pointed me out to a solution. Ableton have in fact created the feature to show device slots in Live but left it out for some reason. However with a little tweak we can make it happen."

"dna-mode.el --- a major mode for editing dna sequences"

'via Blog this'

Balkan Beat Box- Urge To Be Magical (ShazaLaKazoo Remix) | Tropical Bass

Balkan Beat Box- Urge To Be Magical (ShazaLaKazoo Remix) | Tropical Bass:

Iron.io Blog: How We Went from 30 Servers to 2: Go

Iron.io Blog: How We Went from 30 Servers to 2: Go: "When we built the first version of IronWorker, about 3 years ago, it was written in Ruby and the API was built on Rails. It didn’t take long for us to start getting some pretty heavy load and we quickly reached the limits of our Ruby setup. Long story short, we switched to Go. For the long story, keep reading, here's how things went down.
"

'via Blog this'

The Pull Request Hack - Felix Geisendörfer

The Pull Request Hack - Felix Geisendörfer: "But the magic does not stop here. In addition to their contribution quality going up, I've observed many people continuing to help out with issues and patches sent by other users. This is of course fueled by Github notifying every contributor on a repository of all activity on it.

"

'via Blog this'

Tuesday, March 12, 2013

Grasshopper Hoverslam | Ring of Fire - YouTube

Grasshopper Hoverslam | Ring of Fire - YouTube: ""

'via Blog this'

.trigger() | jQuery API Documentation

.trigger() | jQuery API Documentation: "1
2
3
4
$('#foo').on('custom', function(event, param1, param2) {
alert(param1 + "\n" + param2);
});
$('#foo').trigger('custom', ['Custom', 'Event']);"

'via Blog this'

Setting the granularity of the HTML5 audio event 'timeupdate' - Stack Overflow

Setting the granularity of the HTML5 audio event 'timeupdate' - Stack Overflow: "$(audio).bind('timeupdate', function() {
if (audio.currentTime >= 26){
var blah = audio.currentTime;
audio.currentTime = 23;
console.log(blah);
}
})"

'via Blog this'

JavaScript unit testing on steroids

JavaScript unit testing on steroids: "I started writing this post expecting it to span multiple pages and need nights of editing, but this has gotten so easy now that this topic needs little more than a bullet point list. This is such a fun time to be working with JavaScript.

1. Install grunt
You should really read the getting started guide linked above but, if you're impatient, this should get you started.

$ sudo npm install -g grunt-cli
$ npm install --save-dev grunt"

'via Blog this'

Loper OS » Kalman Reti, the Last Symbolics Developer, Speaks of Lisp Machines.

Loper OS » Kalman Reti, the Last Symbolics Developer, Speaks of Lisp Machines.:

'via Blog this'

UX, Then Architecture, Then Tools | More Than Coding

UX, Then Architecture, Then Tools | More Than Coding: "Type of System

Your First Thought Should NOT Be…

Your First Thought SHOULD Be…

Online music player “I’m going to design the database schema!” “Let’s design the UX”
Social media plugin “Let me start hacking around with some online social media APIs!” “Let’s design the UX”
Multiplayer Game “SuperFastDB is apparently really scalable, I’ll start testing it today!” “Let’s design the UX”
Virus Checker “I’ve been dying to write a new virus scanning algorithm, so I’m jumping right into that!” “Let’s design the UX”
GPS Device “I’m going to research the latest in OLED technology right away!” “Let’s design the UX”"

'via Blog this'

Monday, March 11, 2013

HTML5 & JavaScript Charts - CanvasJS

HTML5 & JavaScript Charts - CanvasJS: "CanvasJS is an easy to use HTML5 & Javascript Charts library. It runs across devices including iPhone, iPad, Android, Windows Phone, Microsoft Surface, Desktops, etc. This allows you to create rich dashboards that work on all the devices without compromising on maintainability or functionality of your web application. CanvasJS comes with beautiful themes and is around 10x faster than conventional Flash and SVG Charts – resulting in lightweight, beautiful and responsive dashboards."

"Canvas is a 2D drawing API recently added to HTML and supported by most browsers (even Internet Explorer 9 beta). Canvas allows you to draw anything you want directly in the web browser without the use of plugins like Flash or Java. With its deceptively simple API, Canvas can revolutionize how we build web applications for all devices, not just desktops."

'via Blog this'

SpringBoard Harlem Shake - YouTube

SpringBoard Harlem Shake - YouTube: ""

'via Blog this'

PRODUCT - OMOTE 3D SHASHIN KAN

PRODUCT - OMOTE 3D SHASHIN KAN:

'via Blog this'
"* Installation Changes in Emacs 24.3"

'via Blog this'

SensorInstallHowto - Community Ubuntu Documentation

SensorInstallHowto - Community Ubuntu Documentation: "Install the lm-sensors package (see InstallingSoftware).

Run sudo sensors-detect and choose YES to all YES/no questions.

At the end of sensors-detect, a list of modules that needs to be loaded will displayed. Type "yes" to have sensors-detect insert those modules into /etc/modules, or edit /etc/modules yourself.
Next, run sudo service module-init-tools restart This will read the changes you made to /etc/modules in step 3, and insert the new modules into the kernel.

"

'via Blog this'

How can I suspend/hibernate from command line? - Ask Ubuntu

How can I suspend/hibernate from command line? - Ask Ubuntu: "I have also found the commands sudo pm-suspend and sudo pm-hibernate to work on my netbook."

'via Blog this'

Awesome post-show hangout - YouTube

Awesome post-show hangout - YouTube: ""

'via Blog this'

Adam Siepel: Software

Adam Siepel: Software:

'via Blog this'

Geekquilibrium - Dr. Awkward - YouTube

Geekquilibrium - Dr. Awkward - YouTube: ""

'via Blog this'

B(io)LOG (in English)

B(io)LOG (in English):

'via Blog this'

Django Best Practices — Django Best Practices

Django Best Practices — Django Best Practices: "Django Best Practices
A guide to developing and deploying with the Django Web framework

"

'via Blog this'

How To Train Your Robot | Dr. Techniko's Children's Stories and Games

How To Train Your Robot | Dr. Techniko's Children's Stories and Games: "The goal is for the robots to go through an obstacle course, pick up a ball and bring it back. The kids have to write a program that will tell the robot how to do all that. Every time they write a program, they hand it to their robot and the robot executes it. To do that, I give each kid a pen and paper where they copy symbols from the dictionary to write their programs and off their robots go!"

Tcl the misunderstood

Tcl the misunderstood: "In my programming life I have used a lot of languages to write different kind of applications: many free/paywork programs in C, a web CMS in Scheme, a number of networking/web applications in Tcl, a shop management system in Python, and so on. I used to play with a number of other programming languages like Smalltalk, Self, FORTH, Ruby, Joy,... And yet, I have no doubt, that there is no language that is as misunderstood in the programming community as Tcl is."

'via Blog this'

Astronomy Picture of the Day

Astronomy Picture of the Day: "Why does a volcanic eruption sometimes create lightning? Pictured above, the Sakurajima volcano in southern Japan was caught erupting in early January. Magma bubbles so hot they glow shoot away as liquid rock bursts through the Earth's surface from below. The above image is particularly notable, however, for the lightning bolts caught near the volcano's summit. Why lightning occurs even in common thunderstorms remains a topic of research, and the cause of volcanic lightning is even less clear. Surely, lightning bolts help quench areas of opposite but separated electric charges. One hypothesis holds that catapulting magma bubbles or volcanic ash are themselves electrically charged, and by their motion create these separated areas. Other volcanic lightning episodes may be facilitated by charge-inducing collisions in volcanic dust. Lightning is usually occurring somewhere on Earth, typically over 40 times each second."

Friday, March 08, 2013

Data URI scheme - Wikipedia, the free encyclopedia

Data URI scheme - Wikipedia, the free encyclopedia: "The data URI scheme is a URI scheme (Uniform Resource Identifier scheme) that provides a way to include data in-line in web pages as if they were external resources. This technique allows normally separate elements such as images and style sheets to be fetched in a single HTTP request rather than multiple HTTP requests, which can be more efficient."

'via Blog this'

New Tricks in XMLHttpRequest2 - HTML5 Rocks

New Tricks in XMLHttpRequest2 - HTML5 Rocks: "An ArrayBuffer is a generic fixed-length container for binary data. They are super handy if you need a generalized buffer of raw data, but the real power behind these guys is that you can create "views" of the underlying data using JavaScript typed arrays. In fact, multiple views can be created from a single ArrayBuffer source. For example, you could create an 8-bit integer array that shares the same ArrayBuffer as an existing 32-bit integer array from the same data. The underlying data remains the same, we just create different representations of it.

"

'via Blog this'

javascript - Getting BLOB data from XHR request - Stack Overflow

javascript - Getting BLOB data from XHR request - Stack Overflow: "var xhr = new XMLHttpRequest();
xhr.open('GET', 'doodle.png', true);

xhr.responseType = 'arraybuffer';

xhr.onload = function(e) {
if (this.status == 200) {
var uInt8Array = new Uint8Array(this.response);
var i = uInt8Array.length;
var binaryString = new Array(i);
while (i--)
{
binaryString[i] = String.fromCharCode(uInt8Array[i]);
}
var data = binaryString.join('');

var base64 = window.btoa(data);

document.getElementById("myImage").src="data:image/png;base64,"+base64;
}
};

xhr.send();"

'via Blog this'

Sending and Receiving Binary Data - Document Object Model (DOM) | MDN

Sending and Receiving Binary Data - Document Object Model (DOM) | MDN: "The responseType property of the XMLHttpRequest object can be set to change the expected response type from the server. Possible values are the empty string (default), "arraybuffer", "blob", "document", "json", and "text". The response property will contain the entity body according to responseType, as an ArrayBuffer, Blob, Document, JSON, or string. This is null if the request is not complete or was not successful.

"

'via Blog this'

Portable Network Graphics - Wikipedia, the free encyclopedia

Portable Network Graphics - Wikipedia, the free encyclopedia: "Compression
PNG uses a 2-stage compression process:
pre-compression: filtering (prediction)
compression: DEFLATE
PNG uses a non-patented lossless data compression method known as DEFLATE, which is the same algorithm used in the zlib compression library.
[edit]"


Hmm, if it just does these two, then we should be able to do something similar with Python sending data to Javascript.

How Guys Will Use Google Glass - YouTube

How Guys Will Use Google Glass - YouTube: ""

'via Blog this'

Dropbox Hires Away Google’s Guido Van Rossum, The Father Of Python | TechCrunch

Dropbox Hires Away Google’s Guido Van Rossum, The Father Of Python | TechCrunch: "The original open source software “Benevolent Dictator For Life” and author of Python, Guido van Rossum, is leaving Google to join Dropbox, the startup will announce later today. Van Rossum was a software engineer at Google since 2005, and should be a huge help as Dropbox is built on Python. He’s the latest big hire by the cloud storage startup that’s capitalizing on its 100 million-user milestone."

Hallo!

I used Google Glass - YouTube

I used Google Glass - YouTube: ""

Want want want.

Smule | AutoRap for iOS and Android [Food Truck Rap] - YouTube

Smule | AutoRap for iOS and Android [Food Truck Rap] - YouTube: ""

'via Blog this'

MC Frontalot - NERD LIFE [OFFICIAL VIDEO] - YouTube

MC Frontalot - NERD LIFE [OFFICIAL VIDEO] - YouTube: ""

'via Blog this'

Rap Nerdy To Me - YouTube

Rap Nerdy To Me - YouTube: ""

'via Blog this'

The Speed-up Loop - The Daily WTF

The Speed-up Loop - The Daily WTF: "for(i=0;i<1000000;i++) {;}"

'via Blog this'
"* 'htop' instead of 'top'"

'via Blog this'

How to «open» microchip and what's inside? : ZeptoBARS

How to «open» microchip and what's inside? : ZeptoBARS:

Solar Wind Energy Source Discovered - NASA Science

Solar Wind Energy Source Discovered - NASA Science: "Ion cyclotron waves are made of protons that circle in wavelike-rhythms around the sun's magnetic field.  According to a theory developed by Phil Isenberg (University of New Hampshire) and expanded by Vitaly Galinsky and Valentin Shevchenko (UC San Diego), ion cyclotron waves emanate from the sun; coursing through the solar wind, they heat the gas to millions of degrees and accelerate its flow to millions of miles per hour. Kasper's findings confirm that ion cyclotron waves are indeed active, at least in the vicinity of Earth where the Wind probe operates."

Thursday, March 07, 2013

javascript - JSONP and Backbone.js - Stack Overflow

javascript - JSONP and Backbone.js - Stack Overflow: "JSONP support for GET operations can be added via fetch's options.

In the same hash where you configure your success and error handlers, add an object like so:

{dataType: "jsonp"}

This will pass along the jsonp option to JQuery's ajax handler, and automagically, you'll have JSONP support for retrieving models / collections."

'via Blog this'

Songify This - CAN'T HUG EVERY CAT (now on iTunes) -- a song about loving cats - YouTube

Songify This - CAN'T HUG EVERY CAT (now on iTunes) -- a song about loving cats - YouTube: ""

'via Blog this'

Wednesday, March 06, 2013

Git - let's make errors (and learn how to revert them) | Java Code Geeks

Git - let's make errors (and learn how to revert them) | Java Code Geeks: "It’s not a secret that git is not a very easy tool to use. I am able to use it more or less; but I always feel a little scared and confused about what’s happening. I feel that I want more informations. I have followed some tutorial and read distractedly some book but, with too much information I always end up with just the feeling that I could do what I want to do. But I do not know how to do it. I want to fix this situation so I have started to investigate more and I am trying to stick some key concept in my head, hoping to never forget them."

'via Blog this'

Waveform.js

Waveform.js: "Waveform.js makes drawing SoundCloud waveforms simple and lets you style and color them the way you want it. It comes as a small JavaScript library and is using a lightweight service hosted on waveformjs.org that translates the waveform images provided by SoundCloud into floating points.

"

'via Blog this'

Breaking down Amazon’s mega dropdown - Ben Kamens

Breaking down Amazon’s mega dropdown - Ben Kamens: "At every position of the cursor you can picture a triangle between the current mouse position and the upper and lower right corners of the dropdown menu. If the next mouse position is within that triangle, the user is probably moving their cursor into the currently displayed submenu. Amazon uses this for a nice effect. As long as the cursor stays within that blue triangle the current submenu will stay open. It doesn’t matter if the cursor hovers over “Appstore for Android” momentarily — the user is probably heading toward “Learn more about Cloud Drive.”

"

C2013 A1 comet could hit Mars with force of a billion megatons of TNT | News | National Post

C2013 A1 comet could hit Mars with force of a billion megatons of TNT | News | National Post: "It’s likely that comet C/2013 A1 (Siding Spring) will whizz past Mars on October 29, 2014. Scientists have gauged its trajectory as missing the planet by about 37,000 km from the surface of the planet."

'via Blog this'

Tuesday, March 05, 2013

UbuntuTime - Community Ubuntu Documentation

UbuntuTime - Community Ubuntu Documentation: "dpkg-reconfigure tzdata."

'via Blog this'

Don't Be Distracted by Superior Technology

Don't Be Distracted by Superior Technology: "The technology world is filled with cases where smart and superior alternatives exist, but their existence makes no difference because you can't use them. 1980s UNIX was incredibly stable compared to MS-DOS, but it was irrelevant if you intended to use MS-DOS software. Clojure and Factor are wonderful languages, but if you want to write iOS games then you're better off pretending you've never heard of them. Not only are they not good options for iOS, at least not at the moment, but going so against the grain brings extra work and headaches with it. "

'via Blog this'

Joe Duffy's Weblog

Joe Duffy's Weblog: "Allow me to let you in on a little secret. (Well, okay, it's not really a secret, but if only I could go back and tell my younger self this. And I suppose it ought to be obvious.) These people don't always know what is going on. It's probably safe to assume that these people have been rewarded in their careers because, statistically speaking, they are right more often than they are wrong. But it's still just statistics. And truthfully, if they are any good, they will like being questioned. They enjoy the technical debate. This is a critical aspect of a great team."

'via Blog this'

console.meme/README.md at master · escusado/console.meme · GitHub

console.meme/README.md at master · escusado/console.meme · GitHub:

About | Peter Vogel Instruments

About | Peter Vogel Instruments: "In the 1980s, Fairlight Instruments turned the music industry on its head by developing the first commercial instrument based on sound sampling. See the history page for more background. That company was wound up at the end of the eighties. Fairlight’s successor, Fairlight.AU, is now the world leader in professional audio editing, recording and mixing*."

'via Blog this'

The Contemporary Classical Composer's Bullshit Generator

The Contemporary Classical Composer's Bullshit Generator: "The Contemporary Classical Composer's Bullshit Generator
In my most recent work, leitmotifs, transformations and poly-spatial oppositions are all used within poly-statically-chaotic energies, allowing the audience to deconstruct a variety of aleatoric polychords. My performance-system is the only one of its kind, due in part to the inclusion of highly-improvisatory chordophone-modules, with a hint of so-called 'chordophone-melodies'. One of my most symmetrical influences is the concept of transposing technological vibrations, which challenges my composition and causes my process to become somewhat pre-conceived. It must be remembered that mixing chorales, especially if they are almost-heterophonic (or even temporal), should be avoided. My most personal texture always features strongly in any of my 12-tone compositions. Working actively means that my focus is always predominantly-based, and never complex."

'via Blog this'

Monday, March 04, 2013

adambom/parallel.js · GitHub

adambom/parallel.js · GitHub: "spawn takes a function and a list of arguments and spawns a worker thread for computing the result of your function. spawn takes two arguments, a function, and args, which may be any value that can be handled by JSON.stringify. Numbers, booleans, and objects/arrays should work. spawn will return a RemoteReference, which is essentially to a pointer to the result of your function, but on a different processor. To get the result of the computation, you can call fetch on the remote reference."

'via Blog this'

Society for Marine Mammalogy - Important Dates

Society for Marine Mammalogy - Important Dates: "1 May
Deadline for Submitting:
Abstracts for Talks & Posters
Student Travel Grant Applications"

'via Blog this'

Society for Marine Mammalogy - Important Dates

Society for Marine Mammalogy - Important Dates: "1 May
Deadline for Submitting:
Abstracts for Talks & Posters
Student Travel Grant Applications"

'via Blog this'

Digging Into Data > Home

Digging Into Data > Home: "Now going into the third round of the competition, the Digging into Data Challenge has funded a wide variety of projects that explore how computationally intensive research methods can be used to ask new questions about and gain new insights into our world. To encourage innovative research from across the globe, Digging into Data is sponsored by ten international research funding organizations that are working together to focus the attention of the social sciences, humanities, library, archival, information, computer, mathematical, and statistical science communities on large-scale data analysis and its potential applications."

'via Blog this'

ulich.org: hints

ulich.org: hints: "sudo su -
cd /tmp
wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
wget http://prdownloads.sourceforge.net/png-mng/xv-3.10a-jumbo-patches-20050501.tar.gz
wget http://www.ulich.org/hints/resources/xv-3.10a-jumbo20050501-1.diff.gz
tar xvzf xv-3.10a.tar.gz
tar xvzf xv-3.10a-jumbo-patches-20050501.tar.gz
gzip -d xv-3.10a-jumbo20050501-1.diff.gz
cd xv-3.10a
patch -p1 < ../xv-3.10a-jumbo-fix-patch-20050410.txt
patch -p1 < ../xv-3.10a-jumbo-enh-patch-20050501.txt
patch -p1 < ../xv-3.10a-jumbo20050501-1.diff
chmod 755 debian/rules
apt-get install libc6-dev
apt-get install xlibs-dev
apt-get install libjpeg62-dev
apt-get install libtiff4-dev
apt-get install libpng12-dev
apt-get install libxt-dev
make
cp xv /usr/bin"

'via Blog this'

Shouting in the Datacenter - YouTube

Shouting in the Datacenter - YouTube: ""

'via Blog this'

Saturday, March 02, 2013

Danny Byrd (Feat. Netsky) - Tonight - OFFICIAL VIDEO - YouTube

Danny Byrd (Feat. Netsky) - Tonight - OFFICIAL VIDEO - YouTube: ""

'via Blog this'

Danny Byrd - Ill Behaviour feat I-Kay - (OFFICIAL VIDEO) - YouTube

Danny Byrd - Ill Behaviour feat I-Kay - (OFFICIAL VIDEO) - YouTube: ""

'via Blog this'

Tastypie Cookbook — Tastypie 0.9.13-beta documentation

Tastypie Cookbook — Tastypie 0.9.13-beta documentation: "Adding Custom Values
You might encounter cases where you wish to include additional data in a response which is not obtained from a field or method on your model. You can easily extend the dehydrate() method to provide additional values:
class MyModelResource(Resource):
class Meta:
qs = MyModel.objects.all()

def dehydrate(self, bundle):
bundle.data['custom_field'] = "Whatever you want"
return bundle"

'via Blog this'

Friday, March 01, 2013

12 Lessons Steve Jobs Taught Guy Kawasaki - YouTube

12 Lessons Steve Jobs Taught Guy Kawasaki - YouTube: ""



A players hire A+ players
B players hire C players

Django dev JSONEncoder is now based on json by maraujop · Pull Request #535 · toastdriven/django-tastypie

Django dev JSONEncoder is now based on json by maraujop · Pull Request #535 · toastdriven/django-tastypie: "easy_install simplejson==1.9.3"

'via Blog this'

lastfm/libmoost · GitHub

lastfm/libmoost · GitHub:

'via Blog this'

aisbaa / python-money / Pull request #1: Fixes #1: ImportError: cannot import name LOOKUP_SEP — Bitbucket

aisbaa / python-money / Pull request #1: Fixes #1: ImportError: cannot import name LOOKUP_SEP — Bitbucket: "-from django.db.models.sql.constants import LOOKUP_SEP
+from django.db.models.constants import LOOKUP_SEP"

'via Blog this'

Sir Ravi The Juggler - YouTube

Sir Ravi The Juggler - YouTube: ""

'via Blog this'

Bootswatch: Free themes for Twitter Bootstrap

Bootswatch: Free themes for Twitter Bootstrap:

'via Blog this'

Data Romance - She's Been High - YouTube

Data Romance - She's Been High - YouTube: ""

'via Blog this'

Why Yammer believes the traditional engineering organizational structure is dead

Why Yammer believes the traditional engineering organizational structure is dead: "Kris Gale, VP of Engineering at Yammer, argues the key to building fast at scale lies in small teams.  He explores intricacies of organizational design in engineering and explains how making intentional decisions throughout growth ensures that you don’t lose the things that are unique and special about being a startup.  At the end of the day, it’s *your* job as a CTO to think about how engineering can be organized and optimized."

'via Blog this'

More Features Won’t Save Your Product - MojoTech

More Features Won’t Save Your Product - MojoTech: "Of course, everybody’s own idea for a feature is the best one. For lots of reasons — usually some combination of politics, people-pleasing, indecisiveness, compromise and insecurity — the developer ends up incorporating everyone’s “best” features, and a product that was built to be simple and elegant becomes a bloated Facebook/Twitter/Google+/Pinterest/LinkedIn-integrated, geolocation-targeted, pop-up-notifying gamified mess."

Calculating unknown eigenvalues with a quantum algorithm : Nature Photonics : Nature Publishing Group

Calculating unknown eigenvalues with a quantum algorithm : Nature Photonics : Nature Publishing Group: "A quantum algorithm solves computational tasks using fewer physical resources than the best-known classical algorithm. Of most interest are those for which an exponential reduction is achieved. The key example is the phase estimation algorithm, which provides the quantum speedup in Shor's factoring algorithm and quantum simulation algorithms. To date, fully quantum experiments of this type have demonstrated only the read-out stage of quantum algorithms, but not the steps in which input data is read in and processed to calculate the final quantum state. Indeed, knowing the answer beforehand was essential. We present a photonic demonstration of a full quantum algorithm—the iterative phase estimation algorithm (IPEA)—without knowing the answer in advance. This result suggests practical applications of the phase estimation algorithm, including quantum simulations and quantum metrology in the near term, and factoring in the long term."

'via Blog this'

Embedded in Academia : How to Debug

Embedded in Academia : How to Debug: "Symptom — a faulty program behavior that you can see, such as crashing or producing the wrong answer
Bug — a flaw in a computer system that may have zero or more symptoms
Latent bug — an asymptomatic bug; it will show itself at an inconvenient time
Debugging — using symptoms and other information to find a bug
Failure-inducing input — input to the program that causes the bug to execute and symptoms to appear. In some cases, capturing the complete failure-inducing input is hard because it may include window system events, hardware-level events like interrupts or bit-flips in RAM cells, and OS-level events like context switches and TCP timeouts. The times at which elements of the input occur may be important.
Deterministic platform — A platform having the property that it can reliably reproduce a bug from its failure-inducing input. Simulators should be deterministic, but getting determinism from bugs involving hardware/software interactions may be difficult or impossible."

'via Blog this'