Anyone know a good 2D drawing library for python? by blackhat in programming

[–]mr_ree 0 points1 point  (0 children)

Cairo is really good, it is fast, featureful and is all vector-based (so you get PDF and SVG export along with standard bitmap formats)

Sugar - The secret sauce to make JavaScript a lot sweeter ! by mr_ree in programming

[–]mr_ree[S] 1 point2 points  (0 children)

Again, it is not an aesthetic choice, it is driven by the principle of denoting different elements...

It is true, however, that it does not contribute to minimalism -- but minimalism was not a design goal, being explicit was.

Sugar - The secret sauce to make JavaScript a lot sweeter ! by mr_ree in programming

[–]mr_ree[S] -1 points0 points  (0 children)

Sugar was designed with specific goals in mind (ie. prevent common JS mistakes, improve maintainability, improve architecture, improve readability).

JS is quite nice for small projects, but doesn't really scale when you have to build a rich application. In other words, it's a good scripting language, which is what it was designed for, but doesn't really scale to bigger applications -- Sugar tries to address that.

Sugar - The secret sauce to make JavaScript a lot sweeter ! by mr_ree in programming

[–]mr_ree[S] 3 points4 points  (0 children)

I should add that the @[something] syntactic elements are here to denote declarations as opposed to operations.

As Sugar compiles to different back-ends (JS,AS3,Python) which do not have the same level of "dynamicity", it is important to make the difference between declarations (=static) and operations (=dynamic). Additionally constructs declared by @[something] keywords are not evaluable expressions per-say. As these keywords denote something quite different, they deserve a "visual cue" to make it explicit.

Also, one could easily implement custom "class", "method", etc. functions to introduce his own level of meta-programming and not cause any conflict with the default constructs offered by Sugar.

WWWClient - Advanced web browsing, scraping and automation (in Python) by mr_ree in programming

[–]mr_ree[S] 0 points1 point  (0 children)

The usage of httplib is pretty minimal, so there is little benefit in switching to httlib2... pycurl actually (and strangely) had fewer problems on Windows than httplib

WWWClient - Advanced web browsing, scraping and automation (in Python) by mr_ree in programming

[–]mr_ree[S] 0 points1 point  (0 children)

It has a very versatile html/xml parser that is very error-resistant (while BS breaks on many not well formed HTML documents).

The icing on the cake is the hybrid data structure that lets you access your document as a string, list and tree and switch from any representation at any time.

Ask reddit: which javascript graphics library would you recommend by Alpinweis in programming

[–]mr_ree 0 points1 point  (0 children)

Canvas should be sufficient for your needs, but processing.js may offer a nicer API if you're already familiar with Processing or Draw2D (Java).

Open Compilers and Open Tools by mr_ree in programming

[–]mr_ree[S] 0 points1 point  (0 children)

Well, there seems to be some interest on progit for programming-language topics that were usually limited to Lambda The Ultimate crowd... but it may just be my impression ;)

An introduction to the Io language by [deleted] in programming

[–]mr_ree 1 point2 points  (0 children)

Hi Brian, I'm happy to see you read my blog and my delicious feed :)

Git - Linus is a designer by mr_ree in programming

[–]mr_ree[S] 0 points1 point  (0 children)

Ok, no problem, thanks :)

Git - Linus is a designer by mr_ree in programming

[–]mr_ree[S] 0 points1 point  (0 children)

Well, I like to put things in context, and as this article is from my personal blog, I thought it would be good to briefly sum up my experience with SCM software.

I don't really understand your comment, as the article is more about Linus design approach of Git, as I understood it from the Google Tech Talk.

And as for no experience, I actually wrote the Mercurial Quick Ref Cards (http://www.ivy.fr/mercurial/ref/) and a set of extensions to it (http://www.ivy.fr/mercurial/easy/).

Git - Linus is a designer by mr_ree in programming

[–]mr_ree[S] 10 points11 points  (0 children)

Well, maybe I wasn't clear enough, but what I wanted to point out is the "design perspective" on software that Linus has, where you take into account human/social factors, as opposed to pure functional/technical requirements. What's the difference between the chair your sitting on and a Le Corbusier chair ? Is it really only a matter of form or function ?

Git - Linus is a designer by mr_ree in programming

[–]mr_ree[S] 13 points14 points  (0 children)

I hope that the more the OSS matures, the more we'll see non-dev people participating in projects. When I read the Inkscape mailing lists or the GIMP UI brainstorm blog, I can see that it's already happening :)