Thursday, January 31, 2013

Organizing your application using Modules (require.js) - Backbone.js Tutorials

Organizing your application using Modules (require.js) - Backbone.js Tutorials: "Our applications main module should always remain light weight. This tutorial only covers setting up a Backbone Router and initializing it in our main module.

The router will then load the correct dependencies depending on the current URL.

"

'via Blog this'

Building a basic drum sound trigger machine – Part 1. | Interactive Audio: Learn how to build web & mobile audio applications using Javascript & the Web Audio API.

Building a basic drum sound trigger machine – Part 1. | Interactive Audio: Learn how to build web & mobile audio applications using Javascript & the Web Audio API.:

'via Blog this'

Sonified.co.uk | Sonification and Auditory Graph Research Tool

Sonified.co.uk | Sonification and Auditory Graph Research Tool:

'via Blog this'

Web Audio API + Dataflow graph editor

Web Audio API + Dataflow graph editor:

'via Blog this'

Build Backbone Apps Using RequireJS | Simple Thoughts

Build Backbone Apps Using RequireJS | Simple Thoughts: "Since coding is by far easier than explaining, I programmed a Todos app in order to demonstrate how this can be done with Asynchronous Module Definition (AMD) using RequireJS."

'via Blog this'

javascript - Loading jQuery, Underscore and Backbone using RequireJS 2.0.1 and shim - Stack Overflow

javascript - Loading jQuery, Underscore and Backbone using RequireJS 2.0.1 and shim - Stack Overflow: "You only need to use "shim" config if the library does not already call define() to declare a module. jquery does this already, so you can remove that from the shim config. The above code will work as is, but the exports shim config for jquery will be ignored since jquery will call define() before the shim work is done."

'via Blog this'

twitter/flight · GitHub

twitter/flight · GitHub: "How do I apply mixins to a regular object?

Under the covers, Components add mixins using Flight's compose module, which amongst other things, prevents mixins from clobbering existing method names. If you ever need to apply a mixin to something other than a component (e.g. to another mixin), you can invoke compose.mixin directly:"

'via Blog this'

Flight by Twitter

Flight by Twitter: "Mixins

A mixin defines a set of functionality that is useful to more than one object. Flight comes with built-in support for functional mixins, including protection against unintentional overrides and duplicate mixins. While classical JavaScript patterns support only single inheritance, a component (or other object) can have multiple mixins applied to it. Moreover mixins requires a fraction of the boilerplate required to form traditional classical hierarchies out of constructor-prototypes hybrids, and don't suffer the leaky abstractions of the latter ('super', 'static', 'const' etc.)

"

'via Blog this'

Adequately Good - JavaScript Module Pattern: In-Depth - by Ben Cherry

Adequately Good - JavaScript Module Pattern: In-Depth - by Ben Cherry: "Anonymous Closures

This is the fundamental construct that makes it all possible, and really is the single best feature of JavaScript. We'll simply create an anonymous function, and execute it immediately. All of the code that runs inside the function lives in a closure, which provides privacy and state throughout the lifetime of our application.

(function () {
// ... all vars and functions are in this scope only
// still maintains access to all globals
}());
Notice the () around the anonymous function. This is required by the language, since statements that begin with the token function are always considered to be function declarations. Including () creates a function expression instead.

"

'via Blog this'

Adequately Good - JavaScript Module Pattern: In-Depth - by Ben Cherry

Adequately Good - JavaScript Module Pattern: In-Depth - by Ben Cherry: "The module pattern is a common JavaScript coding pattern. It's generally well understood, but there are a number of advanced uses that have not gotten a lot of attention. In this article, I'll review the basics and cover some truly remarkable advanced topics, including one which I think is original."

'via Blog this'

JS Memory

JS Memory: "Let take a look at what V8 actually does when it runs something like:

function foo(x) {
if (x) {
var hi = "str";
}
return hi;
}
First of all, allocation of string "str" does not happen every time you run this function. It is allocated once by a parser. Every time you execute this code the very same string object will be used again and again. It looks like this:

hidden class
length
hash
str■
"

'via Blog this'

amd-implement - Google Groups

amd-implement - Google Groups:

'via Blog this'

Vine

Vine:

'via Blog this'

JorenSix/TarsosDSP · GitHub

JorenSix/TarsosDSP · GitHub: "TarsosDSP is a Java library for audio processing. Its aim is to provide an easy-to-use interface to practical audio (signal) processing algorithms implemented, as simply as possible, in pure Java and without any other external dependencies. TarsosDSP features an implementation of a percussion onset detector and a number of pitch detection algorithms: YIN, the Mcleod Pitch method and a “Dynamic Wavelet Algorithm Pitch Tracking” algorithm. Also included is a Goertzel DTMF decoding algorithm, a time stretch algorithm (WSOLA), resampling, filters, simple synthesis, some audio effects, and a pitch shifting algorithm.

"

'via Blog this'

JorenSix/TarsosDSP · GitHub

JorenSix/TarsosDSP · GitHub: "TarsosDSP is a Java library for audio processing. Its aim is to provide an easy-to-use interface to practical audio (signal) processing algorithms. — Read more
"

'via Blog this'

Instacode

Instacode:

'via Blog this'

Slant - What is the best programming font?

Slant - What is the best programming font?: "Anonymous Pro (2009) is a family of four fixed-width fonts designed especially with coding in mind."

'via Blog this'

blog.izs.me

blog.izs.me: "I’m pretty sure I stole this line from someone, but I couldn’t find any reference earlier than mine, so maybe I made this up. It’s a way of thinking about git that I really like:

cvs and svn are remote backups that you use to save your changes.
git is an editor that you use to write your code’s biography.
— isaacs (@izs) May 14, 2010
"

'via Blog this'

Dynamic Programming: Chain Matrix Multiplication - Koushik Dasika

Dynamic Programming: Chain Matrix Multiplication - Koushik Dasika: "The purpose of this post is to show a fully worked out example of Chain Matrix Multiplication using dynamic programming, a fancy term for breaking a big problem down into subproblems which are easier to solve. (Note: Not the technical definition)"

'via Blog this'

7559_e892.jpeg (1663×866)

7559_e892.jpeg (1663×866):

Sunday Projects: Cache Money Hoes

Sunday Projects: Cache Money Hoes: "The initial block being accessed is the sub-block in the top left consisting of red and blue blocks. Its entries are shown in the cache line above. Once its been accessed its sibling block ( the top right block consisting of green and yellow ) is accessed. Since the blocks are smaller than the cache line the siblings entries are also in cache.
"

'via Blog this'

Queen

Queen: "A platform for running scripts on many browsers
Let's say you want to play a game where you write down a number and others try to guess it. You gather some friends and tell them to start giving numbers at you. Your friends keep giving you random numbers until one of them gets it right.

Now imagine your friends are browsers, and the game is a script which tells browsers how to play, and waits for the right number to be guessed. This makes you the Queen Server. The Queen Servers allows you to perform distributed tasks on many browsers -- a platform for running scripts on many browsers.

Let's run the example:"

'via Blog this'

Dynamic Programming: Chain Matrix Multiplication - Koushik Dasika

Dynamic Programming: Chain Matrix Multiplication - Koushik Dasika:

'via Blog this'

Tuesday, January 29, 2013

Emacs – select entire buffer macro « Arg and gah and ap and pa

Emacs – select entire buffer macro « Arg and gah and ap and pa: "
You can use the mark-whole-buffer. This is bound to C-x h by default."

'via Blog this'

Organizing Your Backbonejs Application With Modules - Bocoup

Organizing Your Backbonejs Application With Modules - Bocoup: "Application.js
Your Application.js has several important roles. It serves as the entry point for your application by doing the following three things:

It defines the namespace of your application. For example, if your chat client application is called FireTalkChat, your namespace might be chat. All your application source should live under chat to prevent any collisions with other libraries."

'via Blog this'

Sunday, January 27, 2013

Installing mustache-mode.el

Installing mustache-mode.el: "curl -O https://github.com/mustache/emacs/raw/master/mustache-mode.el"

'via Blog this'

How to remove Facebook friends from your iPhone's contact list | How To - CNET

How to remove Facebook friends from your iPhone's contact list | How To - CNET: "If you have been living with a contacts list inundated with hundreds of Facebook friends, there is an easy fix. Head to Settings and scroll down until you find Facebook. For the Facebook setting, you'll see a section titled Allow These Apps to Use Your Account. Tap the slider to Off for Contacts. Now, head back to the All Contacts list and you'll see your list returned to its state prior to iOS 6 -- listing only the contacts you entered."

'via Blog this'

Eric P. Nichols

Eric P. Nichols: "Dr. Douglas R. Hofstadter "

'via Blog this'

Peekaboo: Machine Learning Cheat Sheet (for scikit-learn)

Peekaboo: Machine Learning Cheat Sheet (for scikit-learn): "As you hopefully have heard, we at scikit-learn are doing a user survey (which is still open by the way).
One of the requests there was to provide some sort of flow chart on how to do machine learning.

As this is clearly impossible, I went to work straight away.

This is the result:"

ongoing by Tim Bray · How to Think About OAuth

ongoing by Tim Bray · How to Think About OAuth: "For ex­am­ple, Google has an au­tho­riza­tion pro­to­col for ac­cess­ing its APIs that’s to­tally OAu­th2. It meets our se­cu­rity needs and it’s been easy for us (and any­one else) to ship li­braries for app builders to use, be­cause there are start­ing to be com­mon bits and pieces of frame­work im­ple­men­ta­tion to use. And also be­cause OAu­th2 just isn’t that hard."

'via Blog this'

Python Shortcuts for the Python Beginner - Max Burstein's Blog

Python Shortcuts for the Python Beginner - Max Burstein's Blog: "Python Shortcuts for the Python Beginner (Posted on January 26th, 2013)
The following are just a collection of some useful shortcuts and tools I've found in Python over the years. Hopefully you find them helpful.

Swapping Variables

x = 6
y = 5

x, y = y, x

print x
>>> 5
print y
>>> 6"

'via Blog this'

learn.knockoutjs.com

learn.knockoutjs.com:

'via Blog this'

Ben Alman » A Bit of Advice for the JavaScript Semicolon Haters

Ben Alman » A Bit of Advice for the JavaScript Semicolon Haters: "Earlier today, one of my coworkers was contributing to a cool new JavaScript lib, and complained that while he loves contributing to open source projects (who doesn’t, right?) he finds it annoying to read JavaScript code without semicolons.

Not just that, but he mentioned that he finds it amusing when, amidst hundreds of lines of otherwise pristine semicolon-less code, there is a single line that starts with a semicolon.

"

'via Blog this'

MindCipher - 12 Identical Balls

MindCipher - 12 Identical Balls: "You have 12 identical balls. One of them is slightly different in weight than the rest. You have three weighs of a balance scale to determine which ball is different and whether it is heavier or lighter.

This is not easy… try hard to figure this out before looking at the answer."

'via Blog this'

MindCipher - 12 Identical Balls

MindCipher - 12 Identical Balls:

'via Blog this'

bpostlethwaite/colormap · GitHub

bpostlethwaite/colormap · GitHub: "Super simple just do,

options = {
colormap: "jet" // pick your colormap
, nshades: 72 // how many divisions
, format: "hex" // "hex" or "rgb"
}
cg = colormap(options)
where leaving options = {} or undefined results in the defaults given above. There is a minimum number of nshades divisions you can select since the algorithms for each colormap have different requirements. colormap throws an error if there are too few divisions for the chosen colormap and gives the minimum number required. You should be safe with n > 10 for all the colormaps, though some require much less (much simpler to implemenent)."

colormap/example at master · bpostlethwaite/colormap · GitHub

colormap/example at master · bpostlethwaite/colormap · GitHub:

'via Blog this'

Caring for Your Introvert - Jonathan Rauch - The Atlantic

Caring for Your Introvert - Jonathan Rauch - The Atlantic: " Our motto: "I'm okay, you're okay—in small doses.""

'via Blog this'

Caring for Your Introvert - Jonathan Rauch - The Atlantic

Caring for Your Introvert - Jonathan Rauch - The Atlantic: "If you answered yes to these questions, chances are that you have an introvert on your hands—and that you aren't caring for him properly. Science has learned a good deal in recent years about the habits and requirements of introverts. It has even learned, by means of brain scans, that introverts process information differently from other people (I am not making this up). If you are behind the curve on this important matter, be reassured that you are not alone. Introverts may be common, but they are also among the most misunderstood and aggrieved groups in America, possibly the world."

'via Blog this'

Berlekamp–Massey algorithm - Wikipedia, the free encyclopedia

Berlekamp–Massey algorithm - Wikipedia, the free encyclopedia: "The Berlekamp–Massey algorithm is an algorithm that will find the shortest linear feedback shift register (LFSR) for a given binary output sequence. The algorithm will also find the minimal polynomial of a linearly recurrent sequence in an arbitrary field.[1]"

'via Blog this'

Low-density parity-check code - Wikipedia, the free encyclopedia

Low-density parity-check code - Wikipedia, the free encyclopedia: "In information theory, a low-density parity-check (LDPC) code is a linear error correcting code, a method of transmitting a message over a noisy transmission channel,[1][2] and is constructed using a sparse bipartite graph.[3] LDPC codes are capacity-approaching codes, which means that practical constructions exist that allow the noise threshold to be set very close (or even arbitrarily close on the BEC) to the theoretical maximum (the Shannon limit) for a symmetric memory-less channel. The noise threshold defines an upper bound for the channel noise, up to which the probability of lost information can be made as small as desired. Using iterative belief propagation techniques, LDPC codes can be decoded in time linear to their block length."

'via Blog this'

Reed–Solomon error correction - Wikipedia, the free encyclopedia

Reed–Solomon error correction - Wikipedia, the free encyclopedia: "In coding theory, Reed–Solomon (RS) codes are non-binary[1] cyclic error-correcting codes invented by Irving S. Reed and Gustave Solomon. They described a systematic way of building codes that could detect and correct multiple random symbol errors. By adding t check symbols to the data, an RS code can detect any combination of up to t erroneous symbols, or correct up to ⌊t/2⌋ symbols. As an erasure code, it can correct up to t known erasures, or it can detect and correct combinations of errors and erasures. Furthermore, RS codes are suitable as multiple-burst bit-error correcting codes, since a sequence of b + 1 consecutive bit errors can affect at most two symbols of size b.[2] The choice of t is up to the designer of the code, and may be selected within wide limits."

'via Blog this'

Silver fox (animal) - Wikipedia, the free encyclopedia

Silver fox (animal) - Wikipedia, the free encyclopedia: "The Silver Fox (Vulpes vulpes) is a melanistic form of red fox. "


What We Learned in 2012 · An A List Apart Article

What We Learned in 2012 · An A List Apart Article: "Design systems, not screens

More than half of U.S. laptop owners now also own a smartphone, and nearly a quarter of them own a tablet too (source). And, of course, with the holiday season past us, the number of users who own a device in all three categories will jump higher still. Users move between devices so fluidly, and in patterns that we often can’t predict. Now apps are starting to connect to other devices to control, synchronize or extend an experience.

I think we’re going to see more cross-channel design thinking in 2013 to address simultaneous multi-device usage, and frequent device hopping in a single workflow. Continuity between platforms will be important, but we don’t need to make the experience the same between devices. The user experience will morph with each context. We’ll need to design systems, not screens, to solve cross-channel experience design problems."

'via Blog this'

What We Learned in 2012 · An A List Apart Article

What We Learned in 2012 · An A List Apart Article: "For me 2012 was a year of experimentation. I learned that the more certain you are about something, or the longer you’ve been doing things one way, the more important it is to abandon your assumptions and try the complete opposite. The more embedded your assumptions are, the less you notice them—so this is not easy.

"

'via Blog this'

Dynamic programming - Wikipedia, the free encyclopedia

Dynamic programming - Wikipedia, the free encyclopedia: "Optimal substructure means that the solution to a given optimization problem can be obtained by the combination of optimal solutions to its subproblems. Consequently, the first step towards devising a dynamic programming solution is to check whether the problem exhibits such optimal substructure. Such optimal substructures are usually described by means of recursion. For example, given a graph G=(V,E), the shortest path p from a vertex u to a vertex v exhibits optimal substructure: take any intermediate vertex w on this shortest path p. If p is truly the shortest path, then the path p1 from u to w and p2 from w to v are indeed the shortest paths between the corresponding vertices (by the simple cut-and-paste argument described in Introduction to Algorithms). Hence, one can easily formulate the solution for finding shortest paths in a recursive manner, which is what the Bellman-Ford algorithm or the Floyd-Warshall algorithm does.
"

'via Blog this'

Optimal substructure - Wikipedia, the free encyclopedia

Optimal substructure - Wikipedia, the free encyclopedia: "In computer science, a problem is said to have optimal substructure if an optimal solution can be constructed efficiently from optimal solutions of its subproblems. This property is used to determine the usefulness of dynamic programming and greedy algorithms for a problem.[1]"

'via Blog this'

Saturday, January 26, 2013

Dynamic Programming Archives Tag: GeeksforGeeks | GeeksforGeeks

Dynamic Programming Archives Tag: GeeksforGeeks | GeeksforGeeks:

'via Blog this'

Dijkstra's Algorithm for Shortest Route Problems

Dijkstra's Algorithm for Shortest Route Problems:

'via Blog this'

Dijkstra's algorithm - Wikipedia, the free encyclopedia

Dijkstra's algorithm - Wikipedia, the free encyclopedia: "For the current node, consider all of its unvisited neighbors and calculate their tentative distances. For example, if the current node A is marked with a distance of 6, and the edge connecting it with a neighbor B has length 2, then the distance to B (through A) will be 6+2=8. If this distance is less than the previously recorded tentative distance of B, then overwrite that distance. Even though a neighbor has been examined, it is not marked as "visited" at this time, and it remains in the unvisited set."

'via Blog this'

Python - Dijkstra's Algorithm - Stack Overflow

Python - Dijkstra's Algorithm - Stack Overflow: "
0
down vote
accepted
As mentioned above, you can use an instance of an object.

This author has a pretty convincing python implementation of Dijkstras in python.

"

'via Blog this'

Dijkstra's algorithm for shortest paths « Python recipes « ActiveState Code

Dijkstra's algorithm for shortest paths « Python recipes « ActiveState Code: "

6

Dijkstra(G,s) finds all shortest paths from s to each other vertex in the graph, and shortestPath(G,s,t) uses Dijkstra to find the shortest path from s to t. Uses the priorityDictionary data structure (Recipe 117228) to keep track of estimated distances to each vertex.

Python, 87 lines"

'via Blog this'

Friday, January 25, 2013

Lecture 10 - Dynamic Programming - YouTube

Lecture 10 - Dynamic Programming - YouTube: ""

'via Blog this'

Lecture 13: Dynamic programming: overlapping subproblems, optimal substructure | CosmoLearning Computer Science

Lecture 13: Dynamic programming: overlapping subproblems, optimal substructure | CosmoLearning Computer Science:

'via Blog this'

Optimal substructure - Wikipedia, the free encyclopedia

Optimal substructure - Wikipedia, the free encyclopedia: "In computer science, a problem is said to have optimal substructure if an optimal solution can be constructed efficiently from optimal solutions of its subproblems. This property is used to determine the usefulness of dynamic programming and greedy algorithms for a problem.[1]"

'via Blog this'

Redesigning Google: how Larry Page engineered a beautiful revolution | The Verge

Redesigning Google: how Larry Page engineered a beautiful revolution | The Verge: "Something strange and remarkable started happening at Google immediately after Larry Page took full control as CEO in 2011: it started designing good-looking apps."

'via Blog this'

Needleman-Wunsch Algorithm for Global Sequence Alignment in Python - CodesOfMyLife

Needleman-Wunsch Algorithm for Global Sequence Alignment in Python - CodesOfMyLife: " Great! So I decided to start from beginning of the chain by learning some dynamic programming methods as a prelude to my holy grail (not really!). And first in the chain came Needleman-Wunsch method for global pairwise alignment."

'via Blog this'

Sequence alignment - Wikipedia, the free encyclopedia

Sequence alignment - Wikipedia, the free encyclopedia: "In bioinformatics, a sequence alignment is a way of arranging the sequences of DNA, RNA, or protein to identify regions of similarity that may be a consequence of functional, structural, or evolutionary relationships between the sequences.[1] Aligned sequences of nucleotide or amino acid residues are typically represented as rows within a matrix. Gaps are inserted between the residues so that identical or similar characters are aligned in successive columns."

'via Blog this'


'via Blog this'

Thursday, January 24, 2013

python - Breadth-first search trace path - Stack Overflow

python - Breadth-first search trace path - Stack Overflow: "# graph is in adjacent list representation
graph = {
'1': ['2', '3', '4'],
'2': ['5', '6'],
'5': ['9', '10'],
'4': ['7', '8'],
'7': ['11', '12']
}

def bfs(graph, start, end):
# maintain a queue of paths
queue = []
# push the first path into the queue
queue.append([start])
while queue:
# get the first path from the queue
path = queue.pop(0)
# get the last node from the path
node = path[-1]
# path found
if node == end:
return path
# enumerate all adjacent nodes, construct a new path and push it into the queue
for adjacent in graph.get(node, []):
new_path = list(path)
new_path.append(adjacent)
queue.append(new_path)

print bfs(graph, '1', '11')"

'via Blog this'

Wednesday, January 23, 2013

A New Tune Tuesday - Episode 7 - YouTube

A New Tune Tuesday - Episode 7 - YouTube: ""

'via Blog this'

Deploying Node.js with systemd | Ruben Vermeersch (rubenv) - The Life of RubenV

Deploying Node.js with systemd | Ruben Vermeersch (rubenv) - The Life of RubenV: "This talk is about how we deploy Node.js. Using one of the widely available deployment platforms (such as Heroku, NodeJitsu or the Joyent Cloud) gives you access to a highly advanced and modern platform in a heartbeat. I’ll show you how you can get some of that magic too, if you prefer to run on your own infrastructure."

'via Blog this'

Jeff Dean facts: How a Google programmer became the Chuck Norris of the Internet. - Slate Magazine

Jeff Dean facts: How a Google programmer became the Chuck Norris of the Internet. - Slate Magazine: "“The speed of light in a vacuum used to be about 35 mph. Then Jeff Dean spent a weekend optimizing physics.”—Jeff Dean Facts"

'via Blog this'

Stop punishing your users and learn some design | Daniel Pradilla

Stop punishing your users and learn some design | Daniel Pradilla: "One thing that never ceases to amaze me is how bad in-house enterprise applications look and behave: clashing color combinations, buttons that don’t respond to clicks, messy forms, elements that look like links but aren’t, inconsistent non-standard controls, no user feedback whatsoever, ugly reports, you know the drill. It’s even more incredible how the poor users find the courage and patience to put up with those monstrosities.

"

'via Blog this'

fail0verflow ::

fail0verflow ::: "In short, CBC-MAC is a Message Authentication Code, not a strong hash function. While MACs can be built out of hash functions (e.g. HMAC), and hash functions can be built out of block ciphers like AES (e.g. using the Davies–Meyer construction), not all MACs are also hash functions. "

'via Blog this'

FAQ — Segment.io

FAQ — Segment.io: "What is Segment.io?
Segment.io gives you the ability to instrument your web app for analytics once, and then send your data to any number of analytics services, including Google Analytics, Mixpanel, KissMetrics, Customer.io, Intercom.io and others. This keeps your code clean, saves development time, and makes it easy to add, remove and experiment with different analytics services without touching any code."

'via Blog this'

segmentio/analytics.js · GitHub

segmentio/analytics.js · GitHub: "analytics.js


The hassle-free way to integrate analytics into any web application. See the docs.

Looking for an even easier way to setup analytics on your website? Checkout out Segment.io! It's our hosted solution that lets you add analytics services without touching any code at all."

'via Blog this'

Analytics.js — Segment.io

Analytics.js — Segment.io: "Analytics.js is a simple, clean wrapper for all of your web analytics services.
Instead of littering your codebase with hooks for every analytics service you want to use, you instrument your website once and your data gets routed to any analytics service you want! The library is open-source, so you can check it out on Github.
"

'via Blog this'

Songs that sounds like other songs | | Sounds Just Like

Songs that sounds like other songs | | Sounds Just Like:

'via Blog this'

Tuesday, January 22, 2013

jrburke/r.js · GitHub

jrburke/r.js · GitHub: "A command line tool for running JavaScript scripts that use the Asychronous Module Defintion API (AMD) for declaring and using JavaScript modules and regular JavaScript script files.

"

'via Blog this'

LESS « The Dynamic Stylesheet language

LESS « The Dynamic Stylesheet language: "The dynamic stylesheet language.

LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions.

"

'via Blog this'

Closure Tools — Google Developers

Closure Tools — Google Developers: "What is the Closure Compiler?

The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

"

'via Blog this'

grunt/docs/getting_started.md at 0.3-stable · gruntjs/grunt · GitHub

grunt/docs/getting_started.md at 0.3-stable · gruntjs/grunt · GitHub: "You can store any arbitrary information inside of the configuration object, and as long as it doesn't conflict with a property one of your tasks is using, it will be ignored. Also, because this is JavaScript and not JSON, you can use any valid JavaScript here. This allows you to programatically generate the configuration object, if necessary.

See the documentation table of contents for a list of tasks whose documentation will explain their specific configuration requirements.

"

'via Blog this'

File-Sharing Service Mega Is No Megaupload | Threat Level | Wired.com

File-Sharing Service Mega Is No Megaupload | Threat Level | Wired.com: "Kim Dotcom’s new Mega file-sharing service surpassed 1 million members one day following its initial Saturday launch from New Zealand, and the number of subscribers has apparently skyrocketed in the following days.

"

Google People Operations: The secrets of the world’s most scientific human resources department. - Slate Magazine

Google People Operations: The secrets of the world’s most scientific human resources department. - Slate Magazine: "In time, Bock argues, Google’s findings—which it often shares with other HR professionals—may improve all our jobs. “You spend more time working than doing anything else,” he says. “If you work eight or 10 hours a day, it’s more time than you spend sleeping, more time than you spend with your spouse. When you add it up it gets really depressing. You like your job, but for all time it should be— and it could be—something more. So why isn’t it?”"

'via Blog this'

Google People Operations: The secrets of the world’s most scientific human resources department. - Slate Magazine

Google People Operations: The secrets of the world’s most scientific human resources department. - Slate Magazine: "After it went into place, Google’s attrition rate for new mothers dropped down to the average rate for the rest of the firm. “A 50 percent reduction—it was enormous!” Bock says. What’s more, happiness—as measured by Googlegeist, a lengthy annual survey of employees—rose as well. Best of all for the company, the new leave policy was cost-effective. Bock says that if you factor in the savings in recruitment costs, granting mothers five months of leave doesn’t cost Google any more money."

'via Blog this'

jvashishtha/backbone-tastypie-requirejs · GitHub

jvashishtha/backbone-tastypie-requirejs · GitHub: "Django+Backbone.js+Require.js Example
This is an example application using Django, with the help of django-tastypie, backbone.js, icanhaz.js and require.js. It is based on the awesome django-backbone-example by Josh Bohde. I have just taken his example and modified for the purpose of the demonstration."

'via Blog this'

ICanHaz.js | client-side templating with Mustache.js and jQuery or Zepto.js

ICanHaz.js | client-side templating with Mustache.js and jQuery or Zepto.js:

'via Blog this'

django-backbone-example/backbone_example at master · joshbohde/django-backbone-example · GitHub

django-backbone-example/backbone_example at master · joshbohde/django-backbone-example · GitHub: "Sample application to show how to use Django and Backbone.js together.
http://joshbohde.com/blog/backbonejs-and-django"

'via Blog this'

RequireJS Optimizer

RequireJS Optimizer: "For command line use, Node is the preferred execution environment. The optimizer runs much faster with Node."

'via Blog this'

Bassnectar - Basslights 2012 Recap - YouTube

Bassnectar - Basslights 2012 Recap - YouTube: ""

'via Blog this'

Underworld - Rez (Bassnectar Remix) - YouTube

Underworld - Rez (Bassnectar Remix) - YouTube: ""

'via Blog this'

First demo of the Monster - YouTube

First demo of the Monster - YouTube: ""

'via Blog this'

python - How do I stop getting ImportError: Could not import settings 'mofin.settings' when using django with wsgi? - Stack Overflow

python - How do I stop getting ImportError: Could not import settings 'mofin.settings' when using django with wsgi? - Stack Overflow: "This can also happen if you have an application (subdirectory to the project with an init file in it) named the same thing as the project. Your settings.py file may be in your project folder, but it seems that a part of the django system looks first for a module inside the project by the same name as the project and when it can't find a settings.py in there, it fails with a misleading message."

'via Blog this'

Howto Reset The Admin Password in Django — Coders Eye

Howto Reset The Admin Password in Django — Coders Eye: "YOU ARE HERE: HOME / LANGUAGES / PYTHON / DJANGO / HOWTO RESET THE ADMIN PASSWORD IN DJANGO
Howto Reset The Admin Password in Django
FEBRUARY 16, 2007 BY BRUCE KROEZE 27 COMMENTS
I keep needing to do this, darn it! I leave a project for a few months, possibly push it live, and then I go back to fire up the dev server but I simply cannot remember the password I used for admin during development."

'via Blog this'

Google+

Google+: "Our biggest challenge in this area is focus.  We face so many opportunities it’s always important to thoughtfully invest in the right areas where we can have the greatest impact.  We don’t want to spread ourselves too thin.  But I’m quite optimistic that as we get better and better at managing our product areas we will be able to continue to grow our ambitions.  That’s why I’m here.  And that’s one reason why Googlers love working at Google.
 "

'via Blog this'

NCZOnline

NCZOnline:

'via Blog this'

David Heinemeier Hansson

David Heinemeier Hansson:

'via Blog this'

$$$ fat

$$$ fat:

'via Blog this'

Enterprise Software Development with Java: The Heroes of Java: Coleen Phillimore

Enterprise Software Development with Java: The Heroes of Java: Coleen Phillimore: "Which is the tool providing most productivity to your work?
In general, I am as about as low tech as it gets.  I mostly use vim, make, gcc and gdb.   grep -r is my IDE."

'via Blog this'

Peekaboo: Scikit-Learn 0.13 released! We want your feedback.

Peekaboo: Scikit-Learn 0.13 released! We want your feedback.: "
- I added a method to use totally randomized trees for hashing / embedding features to a high-dimensional, sparse binary representation. It goes along the lines of my last blog post on using non-linear embeddings followed by simple linear classifiers."

'via Blog this'

Modern OpenGL Series « Tom Dalling

Modern OpenGL Series « Tom Dalling:

'via Blog this'

Important Considerations When Building Single Page Web Apps | Nettuts+

Important Considerations When Building Single Page Web Apps | Nettuts+: "Single page web applications – or SPAs, as they are commonly referred to – are quickly becoming the de facto standard for web app development. The fact that a major part of the app runs inside a single web page makes it very interesting and appealing, and the accelerated growth of browser capabilities pushes us closer to the day, when all apps run entirely in the browser."

'via Blog this'

Ludde's FPGA NES: Ludde's FPGA NES

Ludde's FPGA NES: Ludde's FPGA NES: "I was a bit bored during Christmas, so I decided to construct a whole Nintendo Entertainment System (NES) in an FPGA. An FPGA is a programmable integrated circuit, generally programmed using a hardware description language. The FPGA contains thousands of logic blocks, that can be connected together to form complex combinatorial logic, and flipflops are used to implement memory and feedback loops."

'via Blog this'

A Websockets, Ratchet, Silex and Redis pubsub implementation - James Morris - JMOZ

A Websockets, Ratchet, Silex and Redis pubsub implementation - James Morris - JMOZ: "At first, the obvious answer might be to create another REST web service that the iPhone clients could just ping for changes. However, one of the devs explained that this wouldn’t be fast enough, or scale – they’d need changes to be transmitted as soon as possible, as the app would be a real-time betting app and there’d be thousands of connections to the server."

'via Blog this'

A bit more on writing bioinformatic research code | Byte Size Biology

A bit more on writing bioinformatic research code | Byte Size Biology: "I am writing about the software you write to answer a biological question using the sequence data, structure data and/or metadata that you have. Those are the programs that your lab writes in Python, Perl, R or Matlab to classify, analyze, quantify and otherwise shake-and-bake the raw pink data you have until it is nicely and evenly cooked with a fine brown glaze of information coating."

'via Blog this'

Assembly algorithms for next-generation sequencing ... [Genomics. 2010] - PubMed - NCBI

Assembly algorithms for next-generation sequencing ... [Genomics. 2010] - PubMed - NCBI: "Abstract
The emergence of next-generation sequencing platforms led to resurgence of research in whole-genome shotgun assembly algorithms and software. DNA sequencing data from the Roche 454, Illumina/Solexa, and ABI SOLiD platforms typically present shorter read lengths, higher coverage, and different error profiles compared with Sanger sequencing data. Since 2005, several assembly software packages have been created or revised specifically for de novo assembly of next-generation sequencing data. This review summarizes and compares the published descriptions of packages named SSAKE, SHARCGS, VCAKE, Newbler, Celera Assembler, Euler, Velvet, ABySS, AllPaths, and SOAPdenovo. More generally, it compares the two standard methods known as the de Bruijn graph approach and the overlap/layout/consensus approach to assembly."

'via Blog this'

Assembly algorithms for next-generation sequencing ... [Genomics. 2010] - PubMed - NCBI

Assembly algorithms for next-generation sequencing ... [Genomics. 2010] - PubMed - NCBI: "Abstract
The emergence of next-generation sequencing platforms led to resurgence of research in whole-genome shotgun assembly algorithms and software. DNA sequencing data from the Roche 454, Illumina/Solexa, and ABI SOLiD platforms typically present shorter read lengths, higher coverage, and different error profiles compared with Sanger sequencing data. Since 2005, several assembly software packages have been created or revised specifically for de novo assembly of next-generation sequencing data. This review summarizes and compares the published descriptions of packages named SSAKE, SHARCGS, VCAKE, Newbler, Celera Assembler, Euler, Velvet, ABySS, AllPaths, and SOAPdenovo. More generally, it compares the two standard methods known as the de Bruijn graph approach and the overlap/layout/consensus approach to assembly."

'via Blog this'

The 10 commandments of logging - Masterzen's Blog

The 10 commandments of logging - Masterzen's Blog: "1. Thou shalt not write log by yourself

Never, ever use printf or write your log entries by yourself to files, or handle log rotation by yourself. Please do your ops guys a favor and use a standard library or system API call for this.

"

'via Blog this'

jQuery Plugin Registry

jQuery Plugin Registry: "jQuery Demunger
a jQuery plugin that transparently demunges common email address munging techniques."

'via Blog this'

Publishing Your Plugin | jQuery Plugin Registry

Publishing Your Plugin | jQuery Plugin Registry: "Publishing Your Plugin
Publishing your plugin on the site is a three step process:

"

'via Blog this'

King of the Nerds - Wikipedia, the free encyclopedia

King of the Nerds - Wikipedia, the free encyclopedia: "Episode 1: Welcome to Nerdvana
To assemble the teams, two captains are drawn at lot from a Hogwarts-like sorting hat: Genevive and Ivan. After a few hours of contestants getting to know each other and their home "Nerdvana", the two captains are called to the front by Curtis and surprised when Bobby shows them their team colors — by pouring a chalice of a paint-like substance on their heads from behind. After a game of Rock-Paper-Scissors (which had three ties before a winner was determined), the teams alternate selections with the captains, and then each new team member pouring a chalice of the team color on a new teammates head in the same fashion. However with 11 competitors, one will not be selected."

'via Blog this'

24 Of The Best Cosplays Ever

24 Of The Best Cosplays Ever:

Four-strand DNA structure found in cells : Nature News & Comment

Four-strand DNA structure found in cells : Nature News & Comment: "G-quadruplex visualized
This seems likely to be the case, Balasubramanian and colleagues found. They engineered an antibody that binds tightly and specifically to G-quadruplex structures and does not bind to double-stranded helical DNA. When they incubated the antibody with human cells in culture, they found that it bound to many different sites in the chromosomes, only around a quarter of them in telomeres.

“It’s early days, but if we can map exactly where these G-quadruplex structures pop up in the genome, we may learn how better to control genes or other cellular processes that go awry in diseases like cancer,” he says. “That’s the long-term vision anyway.’’

"

'via Blog this'

Four-strand DNA structure found in cells : Nature News & Comment

Four-strand DNA structure found in cells : Nature News & Comment: "There is no more iconic image in biology than that of DNA's double-stranded helix, which coils and supercoils on itself to form dense chromosomes.

But a quite different, square-shaped type of DNA structure can easily be created in the laboratory by the folding of synthetic DNA strands rich in guanine, one of the building blocks of DNA. Scientists have long believed that these so-called 'G-quadruplex structures' may occasionally form in the DNA of living cells. A G-quadruplex comprises four guanines from different places along a G-rich strand held together by a special type of hydrogen bonding to form a compact square structure that interrupts the DNA helix."

'via Blog this'

Giant squid filmed in its natural environment : Nature News & Comment

Giant squid filmed in its natural environment : Nature News & Comment: "Ocean explorers have finally achieved one of their most alluring but elusive goals: video footage of the legendary giant squid (Architeuthis dux) in its natural deep-sea habitat. Scientists say that the spectacular film, captured during an expedition off Japan’s Ogasawara archipelago, answers enduring questions about the enigmatic invertebrate."

'via Blog this'

Giant Squid Caught on Tape for First Time for Discovery Channel's 'Monster Squid: The Giant Is Real' - YouTube

Giant Squid Caught on Tape for First Time for Discovery Channel's 'Monster Squid: The Giant Is Real' - YouTube: ""

'via Blog this'

Monday, January 21, 2013

Tsar Bomba - Largest Nuclear Device Ever Tested (50MT) - YouTube

Tsar Bomba - Largest Nuclear Device Ever Tested (50MT) - YouTube: ""

'via Blog this'

Steve Jobs Lost Interview 1990 - A must watch for any entreprenuer - YouTube

Steve Jobs Lost Interview 1990 - A must watch for any entreprenuer - YouTube: ""

'via Blog this'

The Evolution of Kim Persona - Shaw TV Victoria - YouTube

The Evolution of Kim Persona - Shaw TV Victoria - YouTube: ""

'via Blog this'

AVR32 - Fixed point DSP Library: Q Format

AVR32 - Fixed point DSP Library: Q Format: "Detailed Description

This module regroups the options used to configure the signed fixed point Q format.
This module regroups the options used to configure the signed fixed point Q format.
Here is a description of the Q-Format:
Q-format: Qa.b
a is the number of bits used to defined the integer value.
b is to define the number of bits used after the radix point (the fractional value).
Here is the formula linking a Q-format number (x) to a decimal number (d):
"

'via Blog this'


'via Blog this'

Amazon Mechanical Turk FAQs

Amazon Mechanical Turk FAQs: "Q: Can international Requesters use Amazon Mechanical Turk to get tasks completed?
Requesters must provide a U.S. ACH-enabled bank account and a U.S. billing address in order to submit a request for tasks to be completed through the Amazon Mechanical Turk web site. If a Requester is not a legal entity, but is submitting tasks to Amazon Mechanical Turk as an individual, he or she would also need to provide a U.S. driver’s license number.
"

'via Blog this'

Amazon S3, Cloud Computing Storage for Files, Images, Videos

Amazon S3, Cloud Computing Storage for Files, Images, Videos: "Designed for 99.999999999% durability "

'via Blog this'

That is a lot of 9s.

Cornell Lab of Ornithology: Bioacoustics Research Program

Cornell Lab of Ornithology: Bioacoustics Research Program: "At the Cornell Lab of Ornithology, we develop user-friendly sound visualization and analysis software for a broad range of users.
The programs listed below range from simple visualization tools suitable for diverse users, to sophisticated visualization, analysis, and development environments for advanced users and scientists."

'via Blog this'

Sound Analysis Software for Bioacoustics

Sound Analysis Software for Bioacoustics: "This is a compilation of WEB addresses that provide software and information for bioacoustics: as freeware, shareware, commercial trial versions, or commercial software. There is a wide variety of software available, and I outline a good number of sources on these pages, with annotation."

'via Blog this'

Bioacoustics Research Program, What We Do

Bioacoustics Research Program, What We Do: "The Bioacoustics Research Program develops and uses digital technology, including equipment and software, to record and analyze the sounds of wildlife around the globe. By listening to wildlife, we advance the understanding of animal communication and monitor the health of wildlife populations. We help policy makers, industries, and governments use this information to minimize the impact of human activities on wildlife and natural environments."

'via Blog this'

xbat-devel - XBAT is an extensible sound analysis platform in MATLAB - Google Project Hosting

xbat-devel - XBAT is an extensible sound analysis platform in MATLAB - Google Project Hosting: "Through the XBAT project we extend MATLAB to facilitate computer-assisted sound analysis and annotation. XBAT allows you to scan arbitrarily long recordings using automated recognition techniques and to interactively review, amend, and expand automated annotation. Through an extensible architecture XBAT facilitates the integration new algorithms and reuse of community contributions."

'via Blog this'

Software Design, Development, Programming, and Deployment services from EdgeState Services Inc.

Software Design, Development, Programming, and Deployment services from EdgeState Services Inc.: "EdgeState is a full service interactive rich media software company that provides design, development, programming, and deployment services. We create applications for the desktop environment on both Macintosh and Windows as well as mobile devices such as the Apple iPhone, Windows Mobile, Palm, Symbian, Blackberry and Andriod."

'via Blog this'

Totally Hip Technologies Inc.

Totally Hip Technologies Inc.: "Totally Hip Technologies Inc. continues to build itself as it secures its future as a leading developer and marketer of interactive QuickTime technologies, tools and solutions."

'via Blog this'

WebPagetest - Website Performance and Optimization Test

WebPagetest - Website Performance and Optimization Test:

'via Blog this'

Pingdom Tools

Pingdom Tools:

'via Blog this'

Website Speed Test - iWEBTOOL.com

Website Speed Test - iWEBTOOL.com:

'via Blog this'

smokeping tool - packet loss test | DSLReports.com, ISP Information

smokeping tool - packet loss test | DSLReports.com, ISP Information: "
Total active smokes: 220


Smokeping another IP
Enter your IP: "

'via Blog this'

Smokeping - ArchWiki

Smokeping - ArchWiki: "Smokeping allows you to probe a list of servers, store that data using RRDtool, and generate statistical charts based on RRDtool's output. Smokeping consists of two parts. A daemon runs in the background pinging and collecting data at set intervals. A web interface displays that data in the form of graphs."

'via Blog this'

tryfree.monitis.com

tryfree.monitis.com: "Improve the user experience of your website by staying on top of issues with 24/7 monitoring and getting instant failure alerts.

Keep users happy with a better website experience
Fix issues instantly with automated alerts
Be proactive and avoid potential future issues
Quick and easy set-up, with no maintenance
Ensure users worldwide can access your site"

'via Blog this'

Website analysis | AlertSite | SmartBear Software

Website analysis | AlertSite | SmartBear Software: " The alerts contain all of the data you need to help you address issues quickly, so you can get your site back to optimal performance as soon as possible."

'via Blog this'

Friday, January 18, 2013

YUI Compressor's CSS minifier

YUI Compressor's CSS minifier: "CSS minifications
This section describes the various ways that YUICompressor makes your CSS smaller.

Stripping comments and white space
YUICompressor strips all the comments and white space that are not required for the CSS to work.

"

'via Blog this'

purcell/less-css-mode · GitHub

purcell/less-css-mode · GitHub: "This package contains less-css-mode.el, which provides an Emacs mode for LESS CSS (lesscss.org), complete with optional support for flymake and compile-on-save.

Please see documentation in less-css-mode.el"

'via Blog this'

Twitter Bootstrap Button Generator | PlugoLabs

Twitter Bootstrap Button Generator | PlugoLabs:

'via Blog this'

Resetting WTMP? - The UNIX and Linux Forums

Resetting WTMP? - The UNIX and Linux Forums: "cat /dev/null > /var/adm/wtmp"

'via Blog this'

www.abvsciences.com » Expertise

www.abvsciences.com » Expertise: "Consultant: Sunny Mahajan, B.Eng. (B.Sc.) (Linked-In)

Sunny Mahajan graduated from the Electrical Engineering program at the University of Victoria in April 2008 during which he acquired 3+ years experience developing advanced EMG and EEG analysis methodologies. Sunny developed skills in cutting edge multidisciplinary scientific research working with Dr. Zeman developing EEG and EMG analysis methods and working with CanAssist, an organization that develops assistive technologies for persons with disabilities.  This work lead to a full-time research engineer placement with the CanAssist lab at the University of Victoria."

SmartOS Datasheet - Dev Center - Joyent

SmartOS Datasheet - Dev Center - Joyent: "SmartOS Datasheet
Joyent SmartOS provides a combination of hardware and operating system (OS) virtualization to support efficient, reliable and high performing cloud computing."

'via Blog this'

Thursday, January 17, 2013

Using Pull Requests · github:help

Using Pull Requests · github:help: "Pull requests let you tell others about changes you've pushed to a GitHub repository. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary."

'via Blog this'

Using Pull Requests · github:help

Using Pull Requests · github:help: "Pull requests let you tell others about changes you've pushed to a GitHub repository. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary."

'via Blog this'

LESS « The Dynamic Stylesheet language

LESS « The Dynamic Stylesheet language: "The dynamic stylesheet language.

LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions.

LESS runs on both the server-side (with Node.js and Rhino) or client-side (modern browsers only)."

'via Blog this'

Vows « Asynchronous BDD for Node

Vows « Asynchronous BDD for Node: "There are two reasons why we might want asynchronous testing. The first, and obvious reason is that node.js is asynchronous, and therefore our tests should be. The second reason is to make tests which target I/O run much faster, by running them concurrently."

'via Blog this'

CircuitLab - Blog - Tuning RaphaelJS for High Performance SVG Interfaces

CircuitLab - Blog - Tuning RaphaelJS for High Performance SVG Interfaces: "Last week, we released a few improvements to our front-end that significantly improved the performance of working with larger schematics in CircuitLab. In this blog post, we detail one of the key components to this improvement. Since it makes modifications to RaphaelJS, a very handy vector graphics library, we thought releasing the details might be helpful to other developers of high-performance browser-based applications.

"

'via Blog this'

Beautiful Analytics Chart

Beautiful Analytics Chart:

'via Blog this'

Cufón Fonts - Free Cufon Font Library [BETA]

Cufón Fonts - Free Cufon Font Library [BETA]: "Cufon plug-in directory for the most commonly used in the world you've made the font from which you access all the fonts cufon file."

'via Blog this'

Combining D3 and Raphael to make a network graph « dataist

Combining D3 and Raphael to make a network graph « dataist: "D3+Raphael=true
I have really come to like the Raphael.js library, but unfortunately it does not provide the same robust support for advanced data visualizations (for example network graphs) as its big brother D3.js. D3 on the other hand lacks Raphael’s broad browser compability, which is important when you are working with a public broadcaster like Sveriges Radio. So what if you could combine the two?"

'via Blog this'

oesmith/morris.js · GitHub

oesmith/morris.js · GitHub:

'via Blog this'

sigma.js | a lightweight JavaScript graph drawing library

sigma.js | a lightweight JavaScript graph drawing library: "sigma.js is an open-source lightweight JavaScript library to draw graphs, using the HTML canvas element. It has been especially designed to:

Display interactively static graphs exported from a graph visualization software - like Gephi
Display dynamically graphs that are generated on the fly"

'via Blog this'

25 Awesome Open Source JavaScript | jQuery Chart Library for Web Developer

25 Awesome Open Source JavaScript | jQuery Chart Library for Web Developer: "Although a web application can use many ways to depict graphs or data, still client side processing of data reduces the load on server and improves overall latency. Open source JavaScript charting libraries are great tools for implementing data in the form of charts and graphs at the client side. The list of famous open source JavaScript charting libraries is given below-

"

'via Blog this'

VeriteCo/TimelineJS · GitHub

VeriteCo/TimelineJS · GitHub: "There are lots of timeline tools on the web but they are almost all either hard on the eyes or hard to use. Create timelines that are at the same time beautiful and intuitive for users

TimelineJS is great for pulling in media from different sources. Just throw in a link from Twitter, YouTube, Flickr, Vimeo, Google Maps or SoundCloud and TimelineJS will format it to fit perfectly. More media types will be supported in the future.

Creating one is as easy as filling in a Google spreadsheet or as detailed as JSON."

'via Blog this'

Tangle: a JavaScript library for reactive documents

Tangle: a JavaScript library for reactive documents:

'via Blog this'

Datavisualization.ch Selected Tools

Datavisualization.ch Selected Tools:

'via Blog this'

Moment.js | Parse, validate, manipulate, and display dates in javascript.

Moment.js | Parse, validate, manipulate, and display dates in javascript.: "A 5kb javascript date library for parsing, validating, manipulating, and formatting dates."

'via Blog this'

Google Trends - Web Search Interest: raphaeljs, d3js, jit javascript - Worldwide, 2004 - present

Google Trends - Web Search Interest: raphaeljs, d3js, jit javascript - Worldwide, 2004 - present:

Network Solutions | Simons Foundation

Network Solutions | Simons Foundation:

'via Blog this'

Magit User Manual

Magit User Manual: "With Magit, you can inspect and modify your Git repositories with Emacs. You can review and commit the changes you have made to the tracked files, for example, and you can browse the history of past changes. There is support for cherry picking, reverting, merging, rebasing, and other common Git operations."

'via Blog this'

Wednesday, January 16, 2013

Web-Drawing Throwdown: Paper.js Vs. Processing.js Vs. Raphael

Web-Drawing Throwdown: Paper.js Vs. Processing.js Vs. Raphael: "Choosing the right framework will determine the success of your project. This article covers the advantages and disadvantages of each, and the information you need to make the best choice."

'via Blog this'

Paper.js — Features

Paper.js — Features: "Paper.js allows you to interact with the keyboard in two ways: You can either intercept key events and respond to these, or you can check the state of a given key at any moment, to see if it is pressed or not.

"

'via Blog this'

Django navigation bar (active link highlighting) | TurnKey Linux Blog

Django navigation bar (active link highlighting) | TurnKey Linux Blog: "$('#menu a[href*="' + location.pathname.split("/")[2] + '"][class!="noselect"]').addClass('selected');"

'via Blog this'

Django navigation bar (active link highlighting) | TurnKey Linux Blog

Django navigation bar (active link highlighting) | TurnKey Linux Blog: "Every web application needs a navigation bar. Common practice is to indicate to the user where he or she is, and is usually implemented by using a visual aid such as a bold type-face, different color or an icon.

I wanted an elegant, generic, extendable solution to "highlight" a link on the navigation bar without hardcoding URLs, using ifequals, or using template block inheritance by specifying a navbar block on each and every template (you'd be surprised, but the above mentioned are recommend often)."

'via Blog this'

schinckel / django-menus — Bitbucket

schinckel / django-menus — Bitbucket: "django-menus
django-menus is an app that provides some useful template helpers for rendering and handling menus within django projects.
To use in in your django project, it needs to be installed:
$ pip install django-menus"

'via Blog this'

Using the SSH protocol with Bitbucket - Bitbucket - Atlassian Documentation - Confluence

Using the SSH protocol with Bitbucket - Bitbucket - Atlassian Documentation - Confluence: "You can use either secure hypertext transport protocol (HTTPS) or secure shell (SSH) to connect to Bitbucket. HTTPS requires you to enter a username/password each time you connect to the Bitbucket server, for example, when you push your changes. HTTPS is suitable for situations where you work with Bitbucket infrequently and make few code changes. However, if you do most of your coding with a Bitbucket hosted repository, you'll want to set up a SSH connection. After you configure SSH, Bitbucket no longer requires you to authenticate each remote communication with a username/password combination. This page contains the following topics:
"

'via Blog this'

How to Attach EBS Volume to Amazon EC2 Instance | Webmaster Sessions

How to Attach EBS Volume to Amazon EC2 Instance | Webmaster Sessions: "To create an EBS Volume using the AWS (Amazon Web Services) Management Console, select the EC2 tab, then select Volumes under the Elastic Block Store heading. Click on Create Volume to setup your EBS volume. Enter the size and zone. Snapshot is used to load a copy of a volume into a new one. To attach to EC2, the volume must be in the same availability zone as the EC2 instance."

'via Blog this'

Podcast Help | On Being

Podcast Help | On Being: "And, for those familiar with subscribing to podcasts, just paste the following URL into your favorite podcast software:
http://onbeing.org/podcast/podcast.xml"

'via Blog this'

Call of the Wild: Largest Animal Sound Archive Goes Digital - Yahoo! News

Call of the Wild: Largest Animal Sound Archive Goes Digital - Yahoo! News: "The searchable Macaulay Library at the Cornell Lab of Ornithology boasts nearly 150,000 digital audio recordings, covering about 9,000 noisy species, with a total run time of 7,513 hours. Though there's an emphasis on birds, the collection contains sounds from across the animal kingdom, from elephants to elephant seals.
Some of the highlights of the collection include recordings of the curl-crested manucode, a bird-of-paradise in New Guinea, whose otherworldly calls sound like UFOs landing in a sci-fi movie. There's also a clip of a song sparrow recorded in 1929 by Cornell Lab founder Arthur Allen, which is the earliest recording in the collection."

'via Blog this'

ML: Raven Viewer

ML: Raven Viewer: "Play and visualize our digital audio recordings
Watch spectrograms, power spectra, and waveforms. These are graphs of frequency over time. Raven Viewer creates these views in real time and scrolls them as the recording plays
Play and visualize our digital audio recordings, including video recordings with associated audio
Control zoom, playback speed, resolution, & more
Inspect low-frequency sounds that are inaudible to humans
Experience sound in a new way"

'via Blog this'

Full-page Animations Using CSS - IEBlog - Site Home - MSDN Blogs

Full-page Animations Using CSS - IEBlog - Site Home - MSDN Blogs: "Transforming a Page’s Entire Content

CSS Transforms are defined on the stylistic properties of an HTML DOM Element. For example, the markup for rotating an element 45 degrees along its Z axis would look like this:

#element {
transform: rotateZ(45deg);
}
"

'via Blog this'

What if Java 8 dropped 'extends'? - JavaWorld

What if Java 8 dropped 'extends'? - JavaWorld: "What if we dropped class inheritance entirely?
This got me thinking about what I could live without. What could we take out of Java? As cracked as it may seem, I could live without the extends keyword.

What the frak, you ask? Well, inheritance isn't tagging -- it's enforcing a hierarchy. Pure hierarchies don't tend to exist in nature, business, or anywhere else but in the human mind. There have been languages with objects but no inheritance. OK, fine, extends Object is probably useful, but do I need to go any further?"Publish Post

Why Programmers Work At Night - Business Insider

Why Programmers Work At Night - Business Insider: "A popular saying goes that programmers are machines that turn caffeine into code."

'via Blog this'

chameco/Shade · GitHub

chameco/Shade · GitHub: "def f (arg1 -> Integer, arg2 -> Integer) -> Integer {
ext printf -> Void;
var y -> Integer, z -> Integer, a -> Integer;
y = 5;
z = 0;
a = 15;
if y == 5 {
printf("%d %d %d %d %d", y, z, a, arg1, arg2);
if z {
printf("Nope!");
}
}
return 17;
}"

'via Blog this'

Glass Developer Update - YouTube

Glass Developer Update - YouTube:

'via Blog this'

Tuesday, January 15, 2013

Notes on Distributed Systems for Young Bloods – Something Similar

Notes on Distributed Systems for Young Bloods – Something Similar: "Distributed systems are different because they fail often. When asked what separates distributed systems from other fields of software engineering, the new engineer often cites latency, believing that’s what makes distributed computation hard."

'via Blog this'

How to avoid relying on github: mirror your repository | Dean Clatworthy

How to avoid relying on github: mirror your repository | Dean Clatworthy: "What I’m going to illustrate is how easy it is to set up your git remotes so you push to two places. If github goes down, it doesn’t matter, assuming everyone on your team follows this guide the code will also be on bitbucket, or wherever else you choose. But this tutorial will mirror to github & bitbucket. Let’s begin."

'via Blog this'

Git Tips And Workflows, Round 2: basics, stashes and submodules - be present now

Git Tips And Workflows, Round 2: basics, stashes and submodules - be present now: "You’d think I fired all my bullets with my previous round of curated tips, but no, I have plenty more.

The new year has just kicked off and I am happy to be back with more findings, shortcuts and workflows to enhance your git experience. I also humbly anticipate the optimizations and corrections that you guys will feed me back. I very much appreciate that."

'via Blog this'

Welcome to simpleai’s documentation! — simpleai 0.5 documentation

Welcome to simpleai’s documentation! — simpleai 0.5 documentation: "Simple AI allows you to define problems and look for the solution with different strategies. Another samples are in the samples directory, but here is an easy one.

This problem tries to create the string “HELLO WORLD” using the A* algorithm:

from simpleai.search import SearchProblem, astar"

'via Blog this'

Hoopla! » Graph Traversal: solving the 8-puzzle with basic A.I.

Hoopla! » Graph Traversal: solving the 8-puzzle with basic A.I.: "Here’s the simplest way we can find the right node on the given tree.

best = nil
def walk(node)
best = node if best.nil? || node > best
node.children.each {|child| walk child }
end
walk root"

'via Blog this'

ioyu.com :: ASCII Plasma

ioyu.com :: ASCII Plasma: "The first step is admitting you have a problem
I am addicted to ASCII. There, I said it. I stumbled upon a neat tutorial that shows how to create that wavy plasma effect that was so prevalent in the demo scene back in the day. So, naturally, my next step was to build an ASCII version of the effect in Javascript.

I don't know about you, but I can't stop staring at the thing."

'via Blog this'

Home | Breeze.js

Home | Breeze.js: "Client caching
Cache queried, new, and changed data on the client for a responsive UI."

'via Blog this'

Google Chrome Blog: Hello Browser

Google Chrome Blog: Hello Browser: "With the inclusion of the Web Speech API for developers, users can start enjoying new, interactive experiences with web apps, like in this demo where you can compose an email by speaking. With this new JavaScript API, developers can integrate speech recognition into their web apps. So, in the near future you’ll be able to talk apps into doing all sorts of things.
"

'via Blog this'

Draggable & resizable - iPad

Draggable & resizable - iPad:

'via Blog this'

jQuery Blog » jQuery 1.9 RC1 and Migrate RC1 Released

jQuery Blog » jQuery 1.9 RC1 and Migrate RC1 Released: "NEW! SOURCE MAPS

jQuery 1.9RC1 has added the ability to use source maps in browsers that support them. At the moment that’s just Google Chrome, but Mozilla Firefox is planning support as well.

What’s all this about? Well imagine that you are using compressed versions of your files on your production site, including a compressed version of jQuery. You get a report that an important customer is running into a problem. You could debug it a lot easier if you had the uncompressed source, but using that on your high-traffic production site isn’t an option. With source maps, you can let the browser’s debugger “map” the lines in the compressed file into the uncompressed source. That makes it so much easier to set breakpoints, inspect or change values, and see meaningful variable names. This video gives you a taste of what it can do."

'via Blog this'

How Google and Facebook Will Make the Leap to Lightspeed | Wired Enterprise | Wired.com

How Google and Facebook Will Make the Leap to Lightspeed | Wired Enterprise | Wired.com: "According to Papen, Helios is still a long way from driving live data centers. But across the country, in Cambridge, Massachusetts, a startup known as Plexxi recently introduced an optical networking switch that seeks to remake the data center, and though this technology is quite different from Helios, it has the same basic goal."

'via Blog this'

Monday, January 14, 2013

github - Git merge from someone else's fork - Stack Overflow

github - Git merge from someone else's fork - Stack Overflow: "Add their github fork repo as a remote to a clone of your own repo:

git remote add other-guys-repo
Get their changes:

git fetch other-guys-repo
Checkout the branch where you want to merge:

git checkout my_new_branch
Merge their changes in (assuming they did their work on the master branch):

git merge other-guys-repo/master
Resolve conflicts, commit the resolutions and voila."

'via Blog this'

Amazon S3 tools: s3cmd : command line S3 client

Amazon S3 tools: s3cmd : command line S3 client: "Run s3cmd --configure
You will be asked for the two keys - copy and paste them from your confirmation email or from your Amazon account page. Be careful when copying them! They are case sensitive and must be entered accurately or you'll keep getting errors about invalid signatures or similar.

"

'via Blog this'

Static hosting on Amazon S3 - DNS Configuration - Stack Overflow

Static hosting on Amazon S3 - DNS Configuration - Stack Overflow: "Upload your content to the s3 bucket. Choose a consistent name for your website index files (index.html usually). You can also upload a custom page for 404 Not Found errors. Call this 404.html. Give Read permissions to every file in your website so that the public can view it. Don't give any extra permissions to the bucket, just the files within."

'via Blog this'

Django Support - Google App Engine — Google Developers

Django Support - Google App Engine — Google Developers: "Alternate development database and settings

In an ideal setup, you would use an alternate database during development to avoid corrupting your production data while working on your project. You could create another database on your Google Cloud SQL instance for this, or you can even use a local MySQL database instead.

You will also need a system to allow for switching between project settings used exclusively in development, and those used in production. This can be accomplished in many different ways, one of which is shown in the following settings.py snippet:"

'via Blog this'