Older blog entries for sness (starting at number 5025)

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

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'

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

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