Older blog entries for sness (starting at number 5095)

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

Django snippets: Accept Header Middleware

Django snippets: Accept Header Middleware: "Accept Header Middleware

import new

def accepts( self, mime ):
return mime in self.accepted_types

class AcceptMiddleware(object):
def process_request(self, request):
acc = [a.split(';')[0] for a in request.META['HTTP_ACCEPT'].split(',')]
setattr(request, 'accepted_types', acc )
request.accepts = new.instancemethod(accepts, request, request.__class__)
return None"

'via Blog this'

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

REST APIs must be hypertext-driven » Untangled

REST APIs must be hypertext-driven » Untangled: "I am getting frustrated by the number of people calling any HTTP-based interface a REST API. Today’s example is the SocialSite REST API. That is RPC. It screams RPC. There is so much coupling on display that it should be given an X rating."

'via Blog this'

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

HATEOAS - Wikipedia, the free encyclopedia

HATEOAS - Wikipedia, the free encyclopedia: "
HATEOAS, an abbreviation for Hypermedia as the Engine of Application State, is a constraint of the REST application architecture that distinguishes it from most other network application architectures."

'via Blog this'

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

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