Mark Nelson

Programming, mostly.

  • Home
  • About Mark Nelson
  • Archives
  • Liberal Code Use Policy

Algorithms Crossword

Posted in December 4th, 2007
by Mark in Computer Science

For the last few months I’ve been up to my eyeballs in algorithms - school, work, writing, you name it.
In honor of the often puzzling topics I’ve been working on, here’s a little crossword with an algorithms theme.
The java applet that lets you solve online has a bit of lameness, but it’s not […]

read more from this topic.....

No Comments

Yet Another Word Puzzle

Posted in November 13th, 2007
by Mark in Web Articles, Programming, Computer Science

Dr. Dobb’s PortalNovember, 2007
Article on DDJ site

As I’ve confessed in the past, I’m a sucker for word puzzles. My recent post on a Will Shortz puzzle from NPR Morning Edition ended up provoking a surprising amount of comment, much of it in the vein […]

read more from this topic.....

4 Comments

Building the Convex Hull

Posted in August 22nd, 2007
by Mark in Web Articles, Computer Science

Dr. Dobb’s PortalSeptember, 2007
Article on DDJ site

Finding the Convex Hull of a set of points is an interesting problem in computational geometry. It is useful as a building block for a diverse set of applications, including thing such as:

Collision detection in video games, providing […]

read more from this topic.....

6 Comments

C++ Hash Table Memoization: Simplifying Dynamic Programming

Posted in August 1st, 2007
by Mark in Web Articles, Computer Science

This article discusses the use of C++ hash containers to improve storage of subproblem results when using dynamic programming (DP.) Memoization is a key part of dynamic programming, which is conventionally done by storing subproblem results in simple tables or lists. Using hash tables instead of these simpler structures will allow you to use dynamic programming while retaining your algorithm’s natural recursive structure, simplifying design and making your code easier to follow. I’ll provide a fully-developed example of an algorithm, and show how it can be adapted to use hash table memoization.

read more from this topic.....

5 Comments

The Multicore Kerfuffle and a Dose of Reality

Posted in July 30th, 2007
by Mark in Complaining, Computer Science

It seems like this is the summer of multicore panic. I can’t open a technical magazine without some pundit declaring that our current programming paradigms are useless when running on new multicore CPU architectures. Venerable analyst John Dvorak, who generally actually understands what he is writing about, coughed up this mess (with minor excisions for […]

read more from this topic.....

35 Comments

The Byzantine Generals Problem

Posted in July 23rd, 2007
by Mark in Programming, Computer Science, Magazine Articles

This article presents the algorithm that solves the Byzantine General’s Problem, as first described by Lamport, Pease, and Shostak in 1982 [1]. While Lamport’s algorithm is not particularly complex, programmers who aren’t used to working on distributed computation might find it difficult to implement. To accompany the explanation of the algorithm, I have included a C++ program designed for experimentation with the solution.

read more from this topic.....

17 Comments

Puzzling

Posted in April 1st, 2007
by Mark in Web Articles, Programming, Computer Science

Dr. Dobb's PortalApril, 2007
Article on DDJ site

I'm an inveterate fan of wordplay of all sorts - puzzles, anagrams, crosswords. I've been known online by my anagrammatic name, SnorkelMan, all the way back to the ancient days of the text mode BBS. My continual hectoring [...]

read more from this topic.....

20 Comments

Babar K. Zafar and The Case of the Purloined Computer Science Papers

Posted in June 22nd, 2006
by Mark in Computer Science, Data Compression

There are a lot of classic papers in Computer Science, Information Theory, and so on that aren't commonly availably outside of university libraries. That is, unless you happen to visit Babar K. Zafar's web site.

read more from this topic.....

No Comments

Fast String Searching With Suffix Trees

Posted in August 1st, 1996
by Mark in Computer Science, Data Compression, Magazine Articles

Suffix trees provide the extraordinary ability to search through an unlimited amount of text for a given string of length N in O(N) time. This article describes the structure of a suffix tree and provides C++ source for a simple suffix tree generation algorithm.

read more from this topic.....

94 Comments

Priority Queues and the STL

Posted in January 1st, 1996
by Mark in Computer Science, Magazine Articles

An example of how to use STL priority queues, with an implementation of Huffman coding as an example.

read more from this topic.....

9 Comments

Find the office chair mat you've been dreaming of at GlassMat. It doesn't crack, dent, or yellow, and it never wears out. Lifetime warranty!

Links From Google


Amazon Books

 
Mark Nelson at Blogged

Bookmarks/Feeds

Use the first button below to bookmark this article on sites like del.icio.us, Digg, Reddit, Slashdot, etc. The second button adds a feed for the site to your reader. Both buttons will open a selection screen in a new window.

AddThis Social Bookmark Button
AddThis Feed Button

Categories

Standards Scams Humor VoIP Work Culture Hackery Writing Snarkiness Video Graphics People Audio Web Articles Business Computer Science Programming Complaining Magazine Articles Data Compression

Recent Entries

  • Innumeracy Part N
  • Slate Rips Me Off
  • Another One Bites the Dust
  • English as a Foreign Language - A Cautionary Tale
  • How Evil Is Apple?
  • Cashing in On Electronic Books
  • Jerome Kerviel, My Hero
  • I Trust American Express With My Money?
  • Algorithms Crossword
  • Help Needed

Blogroll

  • Joey Nelson - Joey Nelson
  • Obviosaurus.com - It's obvious

My Books

  • The Data Compression Book
  • Serial Communications: A C++ Developer's Guide, 1st. ed.
  • Serial Communications: A C++ Developer's Guide, 2nd ed.
  • C++ Programmer's Guide to the Standard Template Library
  • Developing Cisco IP Phone Services: A Cisco AVVID Solution

Archives

Recent Comments

  • Marauder in Building Your Home Video Jukebox
  • Ernst in The Million Random Digit Challenge …
  • Mark Nelson in zlib - Looking the Gift Code in the…
  • Zuffi in zlib - Looking the Gift Code in the…
  • funman in LZW Data Compression
  • suffix tree res… in Fast String Searching With Suffix T…
  • ziman in Fast String Searching With Suffix T…
  • Mark Nelson in Managing the Heap
  • anoop in Managing the Heap
  • obfuscated in Intel's JPEG Library
©2007 Mark Nelson
Powered by WordPress | Talian designed by VA4Business, Virtual Assistance for Business who's blog can be found at Steve Arun's Virtual Marketing Blog