Older blog entries for sness (starting at number 5709)

The Big Blob » Moore Neighbor Contour Tracing Algorithm in C++

The Big Blob » Moore Neighbor Contour Tracing Algorithm in C++: "This post shows the implementation of Moore’s neighbor tracing algorithm in C++. This algorithm performs what is called contour tracing i.e.
tracing the borders or boundaries of, in this case, a binary image. The two images below illustrates what the algorithm does with a pure black and white/binary image."

'via Blog this'

Syndicated 2013-07-19 21:24:00 from sness

Moore neighborhood - Wikipedia, the free encyclopedia

Moore neighborhood - Wikipedia, the free encyclopedia: "In cellular automata, the Moore neighborhood comprises the eight cells surrounding a central cell on a two-dimensional square lattice. The neighborhood is named after Edward F. Moore, a pioneer of cellular automata theory. It is one of the two most commonly used neighborhood types, the other one being the 4-cell von Neumann neighborhood. The well known Conway's Game of Life, for example, uses the Moore neighborhood. It is similar to the notion of 8-connected pixels in computer graphics."

'via Blog this'

Syndicated 2013-07-19 20:06:00 from sness

Exploring the HTML5 Web Audio: visualizing sound | Smartjava.org

Exploring the HTML5 Web Audio: visualizing sound | Smartjava.org: "Create an analyzer node: With this node we get realtime information about the data that is processed. This data we use to determine the signal strength
Create a javascript node: We use this node as a timer to update the volume meters with new information
Connect everything together"

'via Blog this'

Syndicated 2013-07-19 19:52:00 from sness

How to keep files safe from accidental overwriting with noclobber under BASH shell

How to keep files safe from accidental overwriting with noclobber under BASH shell: "Sometime you just need to turn off noclobber for single operation. Use >| operator to force the file to be overwritten:
$ ls /etc >| output.txt
$ less output.txt

"

'via Blog this'

Syndicated 2013-07-17 17:52:00 from sness

linux - Bash Loop - How to stop the loop when I press Control-C inside a command? - Server Fault

linux - Bash Loop - How to stop the loop when I press Control-C inside a command? - Server Fault: "for DIR in * ; do rsync -a $DIR example.com:somewhere/ || break; done"

'via Blog this'

Syndicated 2013-07-17 17:14:00 from sness

Do Things that Don't Scale

Do Things that Don't Scale: "It's not enough just to do something extraordinary initially. You have to make an extraordinary effort initially. Any strategy that omits the effort—whether it's expecting a big launch to get you users, or a big partner—is ipso facto suspect."

'via Blog this'

Syndicated 2013-07-16 23:16:00 from sness

Magnolia - Wikipedia, the free encyclopedia

Magnolia - Wikipedia, the free encyclopedia: "Magnolia is a large genus of about 210[1] flowering plant species in the subfamily Magnolioideae of the family Magnoliaceae. It is named after French botanist Pierre Magnol."

Syndicated 2013-07-16 18:20:00 from sness

Stop working (so hard) — I.M.H.O. — Medium

Stop working (so hard) — I.M.H.O. — Medium: "The idea that, without “hustle,” without throwing away nights and weekends, without putting your life on hold for your work, you’ll somehow be more successful, more productive, is ridiculous to me, yet continues to be pushed by participants in our industry left and right. This is, quite simply, insane.

"

'via Blog this'

Syndicated 2013-07-16 15:28:00 from sness

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