Older blog entries for sness (starting at number 5121)

Static constructors, part one | Fabulous Adventures In Coding

Static constructors, part one | Fabulous Adventures In Coding: "Previously on FAIC we saw how easy it was to deadlock a program by trying to do something interesting in a static constructor.1 Static constructors and destructors2 are the two really weird kinds of methods, and you should do as little as possible in them."

'via Blog this'

Syndicated 2013-02-07 17:18:00 from sness

A geek with a hat » First impressions of Rails as a Javascripter

A geek with a hat » First impressions of Rails as a Javascripter: "What struck me when I first saw Ruby code was just how readable it is. Even though I was looking at the language for the first time in my life, I could understand what everything is doing. I could follow the code and decide what tests need to be written."

'via Blog this'

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

A geek with a hat » First impressions of Rails as a Javascripter

A geek with a hat » First impressions of Rails as a Javascripter: "The project I’m working on just … works. I have no idea where dependencies are coming from, I can’t tell which gem file a function I’m calling is defined in and most of the time I am completely at a loss as to what is actually going on."

'via Blog this'

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

Not Just AstLinux Stuff: Packets of Death

Not Just AstLinux Stuff: Packets of Death: "Before I go any further I need to give another shout out to an excellent open source piece of software I found. Ostinato turns you into a packet ninja. There’s literally no limit to what you can do with it. Without Ostinato I could have never gotten beyond this point."

'via Blog this'

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

matthewp/fs · GitHub

matthewp/fs · GitHub: "Bringing a file system abstraction to the browser. fs is a component that allows you to store data in the (modern) browser using an API similar to that of Node's fs module

Implemented in a cross-browser fashion, using the FileSystem API (for Chrome) or IndexedDB (for Firefox/IE).

"

'via Blog this'

Syndicated 2013-02-07 17:09:00 from sness

HTML5 Audio — The State of Play | HTML5 Doctor

HTML5 Audio — The State of Play | HTML5 Doctor: "Fortunately the audio API provides us with a way to find out whether a certain format is supported by the browser. But first, here’s a quick recap on how we manipulate the audio element via the API."

'via Blog this'

Syndicated 2013-02-07 16:51:00 from sness

django-tastypie/docs/resources.rst at master · toastdriven/django-tastypie · GitHub

django-tastypie/docs/resources.rst at master · toastdriven/django-tastypie · GitHub: "URIs are useful because it results in smaller payloads, letting you fetch only the data that is important to you. You can imagine an instance where an object has thousands of related items that you may not be interested in.

"

'via Blog this'

Syndicated 2013-02-07 07:09:00 from sness

Easy REST API with django-tastypie | Brabadu Technical Blog

Easy REST API with django-tastypie | Brabadu Technical Blog: "
And at last we would like to remove field id. Showing to the world inner data like ID of object in database is potentially dangerous. This could be done with fields or excludes parameters, that might be familiar to you from Django Forms, that use the same principle. To hide id field we add excludes = ['id'] to our Meta classes.
"

'via Blog this'

Syndicated 2013-02-07 06:15:00 from sness

5 tips using tastypie more securely and avoiding pitfalls | Gingerlime

5 tips using tastypie more securely and avoiding pitfalls | Gingerlime: "I’ve been using tastypie, the very awesome django REST API framework for a little while now (btw, that’s not the official title, but it might as well be). I’m not going to write yet another comparison between tastypie and django-piston. My reasons for choosing tastypie were that its code looked nicer, and it seemed a much more active project.
"

'via Blog this'

Syndicated 2013-02-07 05:59:00 from sness

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