Older blog entries for sness (starting at number 5032)

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'

Syndicated 2013-01-29 18:26:00 from sness

Installing mustache-mode.el

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

'via Blog this'

Syndicated 2013-01-27 21:00:00 from sness

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'

Syndicated 2013-01-27 20:55:00 from sness

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:"

Syndicated 2013-01-27 19:53:00 from sness

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'

Syndicated 2013-01-27 18:28:00 from sness

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'

Syndicated 2013-01-27 18:28:00 from sness

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'

Syndicated 2013-01-27 18:27:00 from sness

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'

Syndicated 2013-01-27 18:25:00 from sness

5023 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!