toofishes.net
toofishes.net - Concise summary query for pg_stat_statements
https://www.toofishes.net/blog/concise-summary-query-pg_stat_statements
Concise summary query for pg stat statements. Posted Feb. 4, 2013 at 10:39 pm. PostgreSQL 9.2 made the pg stat statements. Module a heck of a lot more useful now that it does query normalization. See the documentation for how to set the module up, as it is totally worth it if you are trying to track down the slow database queries in your application. The beauty of this query:. Query text is normalized by coalescing whitespace. Total time and per-call time are immediately obvious. So it doesn't overwhelm ...
toofishes.net
toofishes.net - Posts tagged 'archlinux'
https://www.toofishes.net/blog/tags/archlinux
MySQL and /tmp on tmpfs. April 30, 2012. Ten Years of Arch Linux. March 12, 2012. Python-pgpdump, a PGP packet parser library. March 8, 2012. Linux command of the day: slabtop. July 7, 2011. June 23, 2011. Making things IPv6 capable. June 8, 2011. April 23, 2011. The real story behind Arch Linux package signing. March 24, 2011. Someone else did the pacman 3.5.0 blog post. March 17, 2011. Aug 27, 2010. Does anyone want to maintain the Eee kernel? Aug 13, 2010. Off to the first-ever ArchCon. July 19, 2010.
toofishes.net
toofishes.net - Posts tagged 'blog'
https://www.toofishes.net/blog/tags/blog
Thanks for the second wishlist book. July 28, 2010. Oct 21, 2009. ReadWriteWeb: hosters of unoriginal content. Oct 15, 2009. Aug 1, 2009. PostgreSQL thoughts and experiences. May 11, 2009. Why JS libraries are timesavers. May 10, 2009. Now with syntax highlighting! May 4, 2009. Quick notes and thoughts. April 29, 2009. Getting started with lighttpd and Django. Feb 23, 2009. Feb 22, 2009. Sept 2, 2008. Thanks for the book. Sept 2, 2008. Getting Django running on Dreamhost. July 23, 2007. July 22, 2007.
toofishes.net
toofishes.net - Django syndication feed class-based views and New Relic
https://www.toofishes.net/blog/django-syndication-feed-class-views-and-new-relic
Django syndication feed class-based views and New Relic. Posted Feb. 14, 2013 at 9:13 am. It is a fairly cool and noninvasive web performance monitoring situation that I've been testing out over the past month or so. One thing I figured out made it a lot easier to get unique web transaction name per syndication. Subclass, which wasn't happening out of the box. You'll want to add a. Attribute to the class, giving you something like the following:. Now I'm just wishing New Relic was less expensive (or free!
toofishes.net
toofishes.net - Posts tagged 'bluray'
https://www.toofishes.net/blog/tags/bluray
Blu-ray troubles with Pineapple Express. Nov 20, 2009. May 30, 2009.
toofishes.net
toofishes.net - i18n console output in C
https://www.toofishes.net/blog/i18n-console-output-c
I18n console output in C. Posted Feb. 15, 2012 at 1:11 pm. Most console applications start with the basics- no usage of gettext. English-only output, no need for aligned table columns. When this is a personal pet project, it isn't a big deal, but once your application starts getting used on a widespread basis, i18n becomes an almost necessary requirement. Shows we currently can show output in 26 different languages, which is quite impressive. Sizeof(byte) = sizeof(single character). Note: the last line w...
toofishes.net
toofishes.net - Posts tagged 'C'
https://www.toofishes.net/blog/tags/C
I18n console output in C. Feb 15, 2012. Dec 21, 2011. C, unsigned integers, and the infinite for loop. July 19, 2011. How to not display floating point- a lesson from MySQL. May 17, 2011. Whats wrong with SVN. Jan 5, 2010. GCC compound statement expressions. Dec 29, 2009. May 4, 2009. Onkyo receiver controller program. Oct 5, 2008. Road to pacman 3.2.0. Feb 28, 2008. Valgrind 3.3.0 and the new massif. Jan 23, 2008. Using gcov for code coverage testing. Dec 2, 2007. Using valgrind for C programming.
toofishes.net
toofishes.net - Posts tagged 'cvs'
https://www.toofishes.net/blog/tags/cvs
Whats wrong with SVN. Jan 5, 2010. Git workflow with pacman. Aug 15, 2007.
toofishes.net
toofishes.net - python-pgpdump, a PGP packet parser library
https://www.toofishes.net/blog/python-pgpdump-pgp-packet-parser-library
Python-pgpdump, a PGP packet parser library. Posted March 8, 2012 at 11:14 am. PGP file formats and data are not the simplest thing to wrap your head around, so pgpdump. Is a very handy tool to have available. Although similar to. Output is a bit more verbose and descriptive. Pgpdump is a PGP packet visualizer which displays the packet format of OpenPGP ( RFC 4880. And PGP version 2 ( RFC 1991. There is an online version. Or another tool seemed like a bad way of going about it. Discovering there was noth...
toofishes.net
toofishes.net - Posts tagged 'archweb'
https://www.toofishes.net/blog/tags/archweb
Concise summary query for pg stat statements. Feb 4, 2013. Python-pgpdump, a PGP packet parser library. March 8, 2012. MySQL deadlocking on simple inserts. March 7, 2012. June 23, 2011. Fast unicode decoding in Python 2.7. Feb 27, 2011. Feb 16, 2011. Aug 27, 2010. June 3, 2010. March 10, 2010. Archweb gets a refresher. Jan 31, 2010.