Activity tagged “programming”
You could teach an advanced Python class by just going over all of Raymond's Python recipes.
An overview of some of the techniques that *don't* prevent or mitagate timing attacks.
This should be required reading for web developers. Kudos to Google for putting this out.
A nice outline for how open source code documentation might be organized. I'm less than convinced that there needs to be a “standard,” but as a sort of conceptual framework for organizing docs this does a great job.
Everything you ever wanted to know about re-raising exceptions in Python.
Wow. Looks amazing.
A great Cassandra success story from Digg (76 billion columns, 3 TB, sub-second updates). I'm looking forward to the opportunity to use Cassandra myself.
Ted Leung's OSCON talk. One of my favorites, he zoomed through a bunch of different ways languages implement concurrency. Chock full of links to implementations, theory, and details.
Bug tracking software oriented around the “story/iteration” model. Looks pretty neat, though I kinda wish the bullshit jargon around “Agile Software” would curl up and die; it's just distracting and Inside Baseball-y. I especially like the built-in velocity tracking; that's something traditional bug tracks aren't so good at.
Really awesome, and I think I finally understand how heapsort works. Oh, and it comes with bonus Python+Cairo examples.
Interesting: “an open source web crawling and screen scraping framework written in Python.”
A Django-ish template language for Cocoa.
An implementation of Erlang-style concurrency for Python. Processes are implemented on top of threads, unfortunately, so there's a pretty low limit on the level of concurrency, which illustrates the problems with “porting” a concept like this between languages. Still the API is relatively sane, and with some work on the underlying model — perhaps a switch to select/epoll — this could be a very nice addition to the Python concurrency toolkit.
SQLite's testing infrastructure is nothing short of inspired: “SQLite […] consists of approximately 62.2 KSLOC of C code. […] By comparison, the project has 716 times as much test code and test scripts - 44568.6 KSLOC. […] The TCL test suite obtains 99.37% statement coverage [… and] 95.16% branch coverage.”
Roundup of 20 free (some gratis, some libre) visualization toolkits. I'd heard of about half of these, but some others are news to me. Awesome.
Pure-Python search engine. Looks like a great idea if you need something simple and don't want to mess with an external service.
Looks like a must-read; Matt says that this is the best technical book he's read in years.
Goddamn: MTV has an API, and it uses Atom. This somehow boggles my mind.
Google's visualization API — previously only available as widgets in a Google Spreadsheet — gets released for general use today. See also the Python library.
“eXtensible Public Relations Language.” Yikes.
Unfortunately, this isn't what the title promises.
An interesting look at the choice to use a “weaker” open source license like the BSD, and some good arguments against the GPL.
Steven's specifically talking about reporting bugs in a OS X application, but there's really very little here that's OS X specific. Reporting bugs well is an art; those who practice it well see their itches scratched sooner.
The schema evolution in Django space is really heating up. With luck we can keep the competition friendly, and pull out a best-of-breed solution to roll back into Django.
Matt's been working on the JW's election coverage for a few years now, and it's getting *really* slick. To me, though, the most interesting part is in how Matt's been able to track down clueful people at Douglas County and the Secretary of State; having a quick and clean source of data makes this process much, must easier. It strikes me that there really isn't a whole lot of difference between Matt cultivating these relationships and a “traditional” journalist's cultivation of sources.
Fantastic article on building a top-down parser in just a few hundred lines of Python. Read this even if you don't care about parsing: effbot really demonstrates many of the cool idiomatic tricks that makes Python such a pleasure to write and read.
Absolutely perfect roundup of the reaction to protocol buffers.
“Neat script I wrote for a friend to annotate a Python script with the types observed during a run of the program.”
I don't understand why there's so much debate about this: more screen real estate is simply a negligable cost even for a tiny performance increase. Wonder if my 30” is here yet…
Two-phase commit proposal for Python. A bit esoteric, but this could help us crazy ORM weenies a bit.
Version 2 of the Pownce API is out, and it's extremely well-designed. I hope Leah will write about the backend-details — this is the best Django-powered REST API I've seen yet.
Another iCalendar library. This one has perhaps the best API of all the ones I've used and seems to work with all the iCal feeds I've thrown at it.
Nifty looking dataviz toolkit. Some overlap with Processing, it seems, but there's also a bunch of graph/node stuff in Prefuse that looks neat. It's Java, unfortunatly, but maybe that'll be a good excuse to try out the recent advances in Jython.
A pretty radical proposal reguarding hiring practices, but one that makes a *lot* of sense.
“Oh yeah! Good ol' C-x M-c M-butterfly…” I think this might be my favorite XKCD yet.
An interesting visual diff tool along the lines of FileMerge or kdiff3. I've been more than happy with FileMerge, but Changes is probably worth a look.
Marty implements a plugin architecture in six (brilliant) lines of code.
Cryptography makes my head hurt.
If I thought I could actually make it through an entire textbook on a computer screen this would be amazing.
An implementation of tuplespaces in Python
An area of CS that this Literature student knows nothing about. I've been thrashing around trying to come up with something like this at work; seems like a bit more CS knowledge would have saved some of that thrashing. Grump.
RTF generator written in Python. Looks like a docutils writer based on PyRTF should be pretty trivial, and that might make a better reST -> Word workflow than my current reST -> ODF -> OO.org -> Word nonsense.
Adam Gomaa *nails* the philosophy behind Django. I've tried to make similar arguments, but never really could articulate why Django works the way it does. Adam gets is perfectly right.
Non-blocking IO library by Linden Lab. I've heard awesome things about this; gotta give it a try.
An overview of what's new in Leopard for developers. The killer feature of Leopard is really going to be what it lets indie developers do; I can't wait to see what Panic, Flying Meat, et al. can do with this stuff.
Mah head asplode.
Nice utility class for dealing with IPv4/IPv6 addresses. Especially nice is the netmask handling; I never have been very good at calculating netmasks by hand.
I never remember how to do this right. Don't miss the comments for Raymon Hettinger's amazingly clever version.
Pastebin/gallery for CFDG images/files.
Completely true, and unfortunatly so.
Read the comment thread for the 8th reason: good lord the Rails community is obnoxious. It's a shame: Rails is such beautiful tech, but it seems to attrack the worst of the rabid fanboy assholes out there.
This is a pretty big deal: I've been using ctypes in Python for quite some time, and I can attest to how much better it is than writting C/C++ wrappers. XPCOM in particular is a total PITA, so js-ctypes should mean a bunch of new, awesome Mozilla plugins.
Not sure about the quality of the benchmarks, but I'd nevertheless still like to see how Django stacks up here. Not very well I'd imagine, but Django's always been an 80% ORM anyway, so 80% of the performance would be just *fine* with me.
A stab at a memcached-like message queue. Looks super-simple, and 1000 op/s isn't half shabby.
“Game Objects is a collection of 2D and 3D maths classes, and algorithms for helping in the creation of games with Python. Suitable for PyGame, but independent of it.”
TurboGears 2.0 will be built on top of Pylons. This is a very good thing for the Python web community. This has majorly cool implications for Django, too, so I better get my butt in gear and start coding.
Diff two PG schemas. Very cool.
A book on natural language processing in Python.
Revealing the “psudo” in “psudorandom” (thanks for the quip, Matt)
Garmin's new developer website. APIs, device communication toolkits, services… must investigate further…
A paper comparing different DBMSes for Erlang.
Fantastic information about creating Django models at run-time. I didn't even know this was possible!
Cocoa GData bindings from the great G in the sky.
Awesome article on how you can write a simple spelling corrector in a handful of lines of Python.
A development toolbox in a single disk image.
Holy freaking crap this is cool.
Sweet - I've been looking for a quick tutorial of this nature.
A good collection of stories from Django users. Gives me the warm fuzzies :)
YA python to API doc tool. But this one's by mwh, so it's likely a cut above.
Low-level database connectors for MySQL. Essentially you get to use a relational database without SQL. Could be very interesting when combined with an ORM.
The best summary of what constitutes a “derivative work” in open source. It's more complex than it needs to be :(
Hey, pretty nifty.
Class using SCIP at Berkeley
MIT OpenCourseWare classes in CS/EE
Video lectures to accompany SCIP. Awesome.
“If you do a rain dance for enough days in a row, it will eventually work. Guaranteed.”
Awesome. I know about 30 people who need to read this yesterday.
This paper is the condensation of a discussion of inefficient sorts in the talk.origins newsgroup. The main focus was on a sort suggested by Richard Harter. Although the topic (and much of the discussion) was apparently frivolous it raised real mathematic
PySyck is aimed to update the current Python bindings for Syck. The new bindings provide a wrapper for the Syck emitter and give access to YAML representation graphs. Hopefully it will not leak memory as well.
Some insights into what PHP6 will look like. Apparently namespaces will make it in (yay!) but the suggested syntax looks terrible.
Basic Stamp programmer for mac
I should learn R
A web site devoted to saving the world from threads
A quote from Peter Norvig on programming languages.