Archive for March, 2006
(Artificial) Views of the Earth
Tuesday, March 28th, 2006Some great artificial renderings of the world, much clearer than would be possible with atmosphere in the pics. As an example, check out this big image of Western Cape Region of South Africa. Here’s the context of that image. Or Kimberley Plateau, NW Australia (in context). Or Mt Kilimanjaro (in context)
Some technical info on how it’s done (with povray)., and another page of credits listing programs and data sources.
Panic! How it Works and What To Do About It
Tuesday, March 28th, 2006Loud Thinking: Tech publishing
Monday, March 27th, 2006Shaking up tech publishing (Loud Thinking). Tim O’Reilly has a detailed response in the comments.
Capturing and drawing ruby call graphs
Wednesday, March 22nd, 2006Call graphs to analyze code dependencies.
Nice. I had hoped to suggest something similar as a rubyquiz. Actually, i was thinking of sequence diagrams, and optional ascii rendering (see rubyquiz 40: drawing trees).
Java version: I blogged in 2004 on the jadvise + sequence combo which do the sequence diagrams in a few thousand lines of java. I expect there are plenty of tools out there to do this. See also: LJV - A lightweight java [data structure] visualiser for teaching (or debugging).
On ruby quiz, note that the book, The Best of Ruby Quiz is out now!
Rails: Fixtures and FKs: The ticket.
Tuesday, March 21st, 2006Just a link to the ticket. #2404 ([PATCH] Unit Testing teardown doesn’t clean up tests, causing FK constraint violations on next test)
There’s a patch offered there and individual approaches, such as that of Rick Bradley, (whose data-deletion requirements are non-standard (following the rewrite).
How wikipedia does it: MySQL configuration, more
Tuesday, March 21st, 2006There is a large amount of information available on the backend configuration for the wikimedia projects. Guides and configurations (fedora, apache, php, mysql, squid, memcached). For example, Ariel MySQL configuration. Ariel was the master DB server for Wikipedia until mid last year. The config of the new master (Samuel) doesn’t seem to be written up - perhaps it’s identical.
Via robot co-op, whose mysql server takes its configuration from this write up.
Here’s an overview of the Wikimedia servers, including this diagram of server arrangement. (note the out-of-date warnings. however, the newer wiki seems to be lacking much of this material).
The Switch To Mac - Penny Arcade
Tuesday, March 14th, 2006The switch to Mac - Penny Arcade. See also prev strip.
MySQL - get more info on “Error 1005 Can’t create table”
Friday, March 10th, 2006Run the problem command again, then use SHOW INNODB STATUS and have a look at the section on “last foreign key error”.
There you’ll probably find: “Cannot find an index in the referenced table where the referenced columns appear as the first columns, or column types in the table and the referenced table do not match for constraint.”.
Some probable causes:
- column doesn’t exist in referenced table (wrong way round?)
- data types of referencing and referenced columns don’t match
- referenced table isn’t innodb
Ruby On Spring
Friday, March 3rd, 2006Bogle’s Blog » Ruby On Spring. Spring, Hibernate, with ruby via JRuby.
