Older blog entries for sness (starting at number 5026)

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

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)."

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

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'

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

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'

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

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'

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

5017 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!