{"id":739,"date":"2006-09-24T21:01:15","date_gmt":"2006-09-24T11:01:15","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/2006\/09\/24\/saturn-comes-back-around\/"},"modified":"2006-09-24T21:01:15","modified_gmt":"2006-09-24T11:01:15","slug":"saturn-comes-back-around","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2006\/09\/24\/saturn-comes-back-around\/","title":{"rendered":"Saturn comes back around&#8230;"},"content":{"rendered":"<p>For certain evil purposes last week, I assembled the old Saturn with a hard disk I found when cleaning a little while ago (I have that kind of tech stuff &#8211; you clean up and find 40GB disks &#8211; I&#8217;m pretty sure I have an 8.4 bumming around somewhere too).<\/p>\n<p><a title=\"Saturn comes back around\" class=\"imagelink\" href=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2006\/09\/dscn8988-small.jpg\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"Saturn comes back around\" id=\"image738\" src=\"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2006\/09\/dscn8988-small.thumbnail.jpg?w=584\" \/><\/a><\/p>\n<p>I ended up being able to do the evil I needed to, but I could tell that the room was a bit warmer due to the extra box being alive. I was also lazy and couldn&#8217;t be bothered going downstairs for the D200, so this was shot with my old and trusty Coolpix 4500.<\/p>\n<p>I used the box to be able to get remote access to a customers&#8217; test setup to do some diagnosis on a bug (that&#8217;s notoriously hard to reproduce). I think I have a fair idea of what it is now though (timing related &#8211; not fun).<\/p>\n<p>Remember kids, threads are evil.<\/p>\n<p>Also, an interesting thing to note is that there is, in fact, a limit to not the number of fds you can pass to the select(2) system call, but to the actual number (on my Ubuntu box here, passing a fd of, say 2000 is probably going to lead to trouble). This has nothing to do with the previously mentioned bug, but an interesting point.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For certain evil purposes last week, I assembled the old Saturn with a hard disk I found when cleaning a little while ago (I have that kind of tech stuff &#8211; you clean up and find 40GB disks &#8211; I&#8217;m &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2006\/09\/24\/saturn-comes-back-around\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1,2,14],"tags":[],"class_list":["post-739","post","type-post","status-publish","format-standard","hentry","category-general","category-life-the-universe-and-everything","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-bV","jetpack-related-posts":[{"id":1309,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/12\/12\/debian-about-1234533-times-easier-to-install-than-solaris\/","url_meta":{"origin":739,"position":0},"title":"Debian about 1234533 times easier to install than Solaris","author":"Stewart Smith","date":"2008-12-12","format":false,"excerpt":"After what many hours trying to netboot the T1000 to install Solaris Express, I wondered \"how hard is it for debian?\". Easy. get the sparc64 boot.img, put it on TFTP server, add \"filename \"boot.img\";\" or similar to dhcp, boot the T1000 from the service console something like this \"bootmode bootscript=\"boot\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":269,"url":"https:\/\/www.flamingspork.com\/blog\/2004\/09\/10\/evil-php-bug\/","url_meta":{"origin":739,"position":1},"title":"evil php bug","author":"Stewart Smith","date":"2004-09-10","format":false,"excerpt":"http:\/\/pear.php.net\/bugs\/bug.php?id=42 Evil.","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":330,"url":"https:\/\/www.flamingspork.com\/blog\/2004\/12\/24\/autoconf-is-evil\/","url_meta":{"origin":739,"position":2},"title":"automake is evil","author":"Stewart Smith","date":"2004-12-24","format":false,"excerpt":"say no more.","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":449,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/08\/08\/comments-are-evil\/","url_meta":{"origin":739,"position":3},"title":"Comments Are Evil","author":"Stewart Smith","date":"2005-08-08","format":false,"excerpt":"When a comment above a function says \"returns -1 on error\" and the code does the exact oposite (returns -1 anyway except if there was out of memory error, which may be #defined to -1 anyway) it's a bit annoying when you first look at it. Remember kids, comments in\u2026","rel":"","context":"In &quot;life, the universe and everything&quot;","block_context":{"text":"life, the universe and everything","link":"https:\/\/www.flamingspork.com\/blog\/category\/life-the-universe-and-everything\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1367,"url":"https:\/\/www.flamingspork.com\/blog\/2009\/01\/27\/so-how-much-email-am-i-storing\/","url_meta":{"origin":739,"position":4},"title":"So&#8230; how much email am I storing?","author":"Stewart Smith","date":"2009-01-27","format":false,"excerpt":"stewart@saturn:~$ time du -sh Maildir 15G\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 Maildir real\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0m55.749s user\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0m1.008s sys\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0m17.205s interestingly the tar.bz2 archive of this is only 3.4GB. It also takes *much* longer to run this on my laptop (over 5 minutes). mmmm... raid. I've also deleted a lot of mailing list mail over the years...\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1863,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/03\/17\/one-last-bit-of-evil\/","url_meta":{"origin":739,"position":5},"title":"One last bit of evil&#8230;.","author":"Stewart Smith","date":"2010-03-17","format":false,"excerpt":"You can store things for later! drizzle> select libtcc(\"#include <string.h>\\n#include <stdlib.h>\\nint foo(char* s) { char *a= malloc(1000); return snprintf(s, 100, \\\"%p\\\", a); }\") as RESULT; +-----------+ | RESULT | +-----------+ | 0x199c610 | +-----------+ 1 row in set (0 sec) drizzle> select libtcc(\"#include <string.h>\\n#include <stdlib.h>\\nint foo(char* s) { char *a=\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=739"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/739\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}