Older blog entries for sness (starting at number 4123)

High Scalability - High Scalability - Big Data Counting: How to count a billion distinct objects using only 1.5KB of Memory

High Scalability - High Scalability - Big Data Counting: How to count a billion distinct objects using only 1.5KB of Memory: "Linear Probabilistic Counter
The Linear Probabilistic Counter is space efficient and allows the implementer to specify the desired level of accuracy. This algorithm is useful when space efficiency is important but you need to be able to control the error in your results. This algorithm works in a two-step process. The first step assigns a bitmap in memory initialized to all zeros. A hash function is then applied to the each entry in the input data. The result of the hash function maps the entry to a bit in the bitmap, and that bit is set to 1. The second step the algorithm counts the number of empty bits and uses that number as input to the following equation to get the estimate."

'via Blog this'

Syndicated 2012-04-05 20:05:00 from sness

rwldrn/idiomatic.js

rwldrn/idiomatic.js: "All code in any code-base should look like a single person typed it, no matter how many people contributed.
The following list outlines the practices that I use in all code that I am the original author of; contributions to projects that I have created should follow these guidelines.

I do not intend to impose my style preferences on other people's code; if they have an existing common style - this should be respected.

"Part of being a good steward to a successful project is realizing that writing code for yourself is a Bad Idea™. If thousands of people are using your code, then write your code for maximum clarity, not your personal preference of how to get clever within the spec." - Idan Gazit"

'via Blog this'

Syndicated 2012-04-05 19:28:00 from sness

Dropbox - Developers - Simplify your life

Dropbox - Developers - Simplify your life: "Dropbox for Developers

Harness the power of Dropbox to connect your app to almost any computer, smartphone or tablet, plus the web.

Easy online storage for your mobile or web app and a growing audience of more than 50 million users
True cross-platform support for Windows, Mac, Linux, iOS, Android, BlackBerry, and the web
Simple sharing for files and folders, file versioning, search and more
SDKs for iOS, Android, Python, Ruby, and Java"

'via Blog this'

Syndicated 2012-04-05 19:22:00 from sness

The Top 10 Best Dropbox Services, Addons and Hacks - TNW Apps

The Top 10 Best Dropbox Services, Addons and Hacks - TNW Apps: "You can download eBooks to your iDevices using the terrible iTunes file transfer but you can also access them directly from your Dropbox. Just find an eBook that you would like to read in the ePub format and save the book to your Dropbox folder. Then open the Dropbox app on your iPhone, find the book and tap on the Share button in the bottom corner. Use the ‘Open in’ option to open the book in your preferred reader. For a great selection of free ebooks in the ePub format check out Epubbooks."

'via Blog this'

Syndicated 2012-04-05 19:21:00 from sness

MIThril photos

MIThril photos: "Limor wearing the first MIThril vest. This demo vest displays the MIThril components and placement on the body. The "working" MIThril vest packaging will conceal the components, as shown in the MIThril title image."


Syndicated 2012-04-05 19:18:00 from sness

plymouth - Plymouth graphical boot system.

plymouth - Plymouth graphical boot system.: "plymouth - graphical boot animation and logger

Plymouth is an application that runs very early in the boot process
(even before the root filesystem is mounted!) that provides a graphical
boot animation while the boot process happens in the background.

It is designed to work on systems with DRM modesetting drivers. The idea
is that early on in the boot process the native mode for the computer is
set, plymouth uses that mode, and that mode stays throughout the entire
boot process up to and after X starts. Ideally, the goal is to get rid
of all flicker during startup."

'via Blog this'

Syndicated 2012-04-05 18:30:00 from sness

Rails isn't for beginners - Rake Routes

Rails isn't for beginners - Rake Routes: "With Rails, you get decisions made for every one of those questions. That’s what it’s for. Rails wasn’t created to make things so easy even an absolute beginner could code it. It was created to make lots of decisions out of the box so you could get to the fun part of building web applications right away. That’s the meaning of “convention over configuration”. Even better, none of the conventions are set in stone."

'via Blog this'

Syndicated 2012-04-05 16:04:00 from sness

Embedded in Academia : 57 Small Programs that Crash Compilers

Embedded in Academia : 57 Small Programs that Crash Compilers: "C17 : Crashes GCC 3.2.0 at -O2:


union U1 {
  int f0;
  char f1
};
void
fn1 (union U1 p1) {
  p1.f1 = 0;
  for (; p1.f1;) {
  }
}"

'via Blog this'

Syndicated 2012-04-05 16:03:00 from sness

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