TypeSet
TypeSet
This is an implementation of the Knuth and Plass line breaking algorithm using JavaScript and the HTML5 canvas element. The goal of this implementation is to optimally set justified text in the new HTML5 canvas element, and ultimately provide a library for various line breaking algorithms in JavaScript.

ALGLIB
Category:
ALGLIB
A large collection of algorithms implemented in C#, C++, FreePascal, Delphi and VBA.
QuickGraph
Category:
QuickGraph, Graph Data Structures And Algorithms for .Net
QuickGraph provides generic directed/undirected graph datastructures and algorithms for .Net 2.0 and up. QuickGraph comes with algorithms such as depth first seach, breath first search, A* search, shortest path, k-shortest path, maximum flow, minimum spanning tree, least common ancestors, etc... QuickGraph supports MSAGL, GLEE, and Graphviz to render the graphs, serialization to GraphML, etc...

Building Super Scalable Systems
Category:
Blade Runner Meets Autonomic Computing in the Ambient Cloud
How can we possibly build planet scalable systems to handle this massive growth if building much smaller applications currently stresses architectural best practices past breaking? We can't. We aren't anywhere close to building applications at this scale, except for perhaps Google and a few others, and there's no way you and I can reproduce what they are doing.
Don’t Hash Secrets
Category:
Benlog » Don’t Hash Secrets
So here it is: Don’t hash secrets. Never. No, sorry, I know you think your case is special but it’s not. No. Stop it. Just don’t do it. You’re making the cryptographers cry.

R-Tree Madness
Category:
R-Tree Madness
This page contains examples of R-Tree Library (rtree.js) for Javascript. The library is an open-source, high performance, and non-recursive implementation of the R-Tree data structure.

smallpt
Category:
smallpt: Global Illumination in 99 lines of C++
smallpt is a global illumination renderer.
Features:
* Global illumination via unbiased Monte Carlo path tracing
* 99 lines of 72-column (or less) open source C++ code
* Multi-threading using OpenMP
* Soft shadows from diffuse luminaire
* Specular, Diffuse, and Glass BRDFs
* Antialiasing via super-sampling with importance-sampled tent distribution, and 2x2 subpixels
* Ray-sphere intersection
* Modified Cornell box scene description
* Cosine importance sampling of the hemisphere for diffuse reflection
* Russian roulette for path termination
* Russian roulette and splitting for selecting reflection and/or refraction for glass BRDF
* With minor changes compiles to a 4 KB binary (less than 4096 bytes)

gremlin
Category:
Home - gremlin - GitHub
Gremlin is a graph-based programming language. The documentation herein will provide all the information necessary to understand how to use Gremlin for graph query, analysis, and manipulation.

Auto-Suggest From Popular Queries Using EdgeNGrams
Category:
Auto-Suggest From Popular Queries Using EdgeNGrams
A popular feature of most modern search applications is the auto-suggest or auto-complete feature where, as a user types their query into a text box, suggestions of popular queries are presented. As each additional character is typed in by the user the list of suggestions is refined. There are several different approaches in Solr to provide this functionality, but we will be looking at an approach that involves using EdgeNGrams as part of the analysis chain.

QuadTiles - OpenStreetMap
Category:
QuadTiles - OpenStreetMap
If we split the world into 4 tiles, (level 1 of zoom) then we would need 2 bits to give a tile address (topleft, topright, bottomleft, bottomright).

Each of those tiles would be about 20,000km in size. This is obviously too big to be practical, so we would need to split it into smaller tiles. Adding 2 more bits, we have 10,000km tiles (zoom level 2) - better, but still way too big. But of course, we can do this as much as we like. By the time we get to 32 bits (zoom level 16), our tiles are about 600m in size.

An interesting way to address any point on earth with 1mm precision with a 64 bit number, plus address square parent areas with decreasing number of bits.