Older blog entries for sness (starting at number 5098)

Sorting data in parallel CPU vs GPU | Solarian Programmer

Sorting data in parallel CPU vs GPU | Solarian Programmer: "Suppose now, that your machine has a CUDA capable GPU. What will be the easiest way to sort an array of data on the GPU ? With CUDA 5 and Thrust we can sort an array in a few lines of code:"

'via Blog this'

Syndicated 2013-02-04 19:29:00 from sness

Facebook Hacker Cup 2013: round 1 problem analysis - Notes - Tweakblogs - Tweakers

Facebook Hacker Cup 2013: round 1 problem analysis - Notes - Tweakblogs - Tweakers: "Round 1 of the Facebook Hacker Cup has just ended. Competitors were required to solve three nicely-balanced problems: all of them required substantial thought, without being unreasonably difficult. Like last week, I will describe my solutions to the problems, although this time the solution source code is written in C++.
"

'via Blog this'

Syndicated 2013-02-04 19:29:00 from sness

C++ containers that save memory and time

C++ containers that save memory and time: "We’re pleased to announce C++ B-Tree, a C++ template library that implements B-tree containers with an analogous interface to the standard STL map, set, multimap, and multiset containers. B-trees are well-known data structures for organizing secondary storage, because they are optimized for reading and writing large blocks of data. But the same property that makes B-trees appropriate for use with databases and file systems also makes them appropriate for use in main-memory, just with smaller blocks."

'via Blog this'

Syndicated 2013-02-04 19:28:00 from sness

High Performance JS heatmaps - Codeflow

High Performance JS heatmaps - Codeflow: "You might have encountered heatmaps for data visualization before. There is a fabulous library, heatmap.js, which brings that capability to draw them to javascript. There is only one problem, it is not exactly fast. Sometimes that doesn't matter. But if you have hundreds of thousands of data points to plot, or need realtime performance, it gets tricky. To solve that I've written a little engine using WebGL for drawing heatmaps."

'via Blog this'

Syndicated 2013-02-04 19:27:00 from sness

DailyJS: A JavaScript Blog

DailyJS: A JavaScript Blog: "Starting a project today involves selecting a package manager, module system, build system, templating language, data binding library, a sync layer, a widget library, and a test framework. And it doesn’t end there: many of us also regularly use a dynamic CSS language, and mobile SDKs"

'via Blog this'

Syndicated 2013-02-04 19:23:00 from sness

Google Trends - Web Search Interest: ruby on rails, django - Worldwide, 2004 - present

Google Trends - Web Search Interest: ruby on rails, django - Worldwide, 2004 - present:

Syndicated 2013-02-04 05:32:00 from sness

"R. Fielding
Request for Comments: 2616 UC Irvine"

'via Blog this'

Syndicated 2013-02-04 05:30:00 from sness

Python Diary | Good use for the Http-Accept header?

Python Diary | Good use for the Http-Accept header?: "While working on a project which needs to use JSON for AJAX functions, I thought about using the Http-Accept header to return content depending on what the client asks. Most web browsers send this header, and it is usually on the lines of, I accept anything in the XML mimetypes, including HTML. Since headers can be set from jQuery and various client software, I thought... Why not take advantage of this Http-Accept header and build a Django middleware to return the content which is accepted by the client. So far, it only detects and returns JSON, and there is no caching enabled. Keep in mind that this is my very first version of this middleware, which I did test and works as expected."

'via Blog this'

Syndicated 2013-02-04 05:25:00 from sness

View decorators | Django documentation | Django

View decorators | Django documentation | Django: "The decorators in django.views.decorators.http can be used to restrict access to views based on the request method. These decorators will return a django.http.HttpResponseNotAllowed if the conditions are not met.

"

'via Blog this'

Syndicated 2013-02-04 05:25:00 from sness

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