In older versions of debian you could use update-rc.d to remove auto-start services. Now insserv is used to change the boot sequence. To remove a service do:
sudo insserv -r <service>
Watch Clojure episodes on blip.tv
PostgreSQL: Documentation: Manuals: PostgreSQL 9.0: Window Functions
If you’ve got a table of historical pricing information (Prices) where each item has a has an ID (not as in row primary key, but as in ISBN style ID) you can get the average price using a PostgreSQL window function.
SELECT DISTINCT ON (“id”) “id”, avg(“price”) OVER (PARTITION BY “id”) FROM “Prices”;
This works by grouping all the items by item ID and then calculating an average value of the prices. Normally this would return the “avg” column with the average price for that item in every row. By adding the distinct requirement you limit it to just one row per item ID.
SymPy -
Symbolic math library for python
TheNewBoston – Free Educational Video Tutorials on Computer Programming and More! » Tutorials -
Short video tutorials on a wide range of topics
25 Apache Performance Tuning Tips at SysAdmin Tips and Tools
Functional Programming with Collections — Building Skills in Python
Data Driven Programming in Haskell (Part 1) | Entirely Subjective
how to make easy json cross domain requests (ex disqus)