My Recent Pastes (49 and counting)
Pastes by evn (49 and counting)
Below are the 15 most recent pasties by evn.
May 08, 2007
9:09PM EDT
by evn
View all 12 lines
(Reading database ... 36688 files and directories currently installed.) Unpacking libssl0.9.7 (from .../libssl0.9.7_0.9.7g-5ubuntu1.1_amd64.deb) ... Selecting previously deselected package monit. Unpacking monit (from .../monit_1%3a4.6-1_amd64.deb) ... Setting up libssl0.9.7 (0.9.7g-5ubuntu1.1) ...
May 08, 2007
5:46PM EDT
by evn
View all 21 lines
namespace :ultrasphinx do desc "Swap the pistonized ultraspinx checkout with Evan's local dev version" task :switch do Dir.chdir(RAILS_ROOT) do
May 07, 2007
5:54PM EDT
by evn
View all 32 lines
A Timeout::Error occurred in profile#settings: execution expired /opt/ruby/1.8.4/lib/ruby/1.8/timeout.rb:54:in `perform_action'
May 05, 2007
4:52AM EDT
by evn
View all 29 lines
Index: gc.c =================================================================== RCS file: /src/ruby/gc.c,v retrieving revision 1.168.2.45 diff -p -u -r1.168.2.45 gc.c
May 03, 2007
6:49PM EDT
by evn
5-7 years of software development experience, including at least 5 years of web development experience (only 3 years) Strong background in MySQL, including an understanding of replication, caching, hot backups, load balancing, redundancy, and partitioning (no partitioning) Familiarity with Oracle (very weak) Experience with profiling using tools like DTrace for Solaris or SystemTap/Valgrind for Linux (nope)
April 30, 2007
11:23PM EDT
by evn
View all 132 lines
your sexy blind date a date in hell all packetstorms have a ruby lining all storms have a ruby lining catch me i'm falling
April 30, 2007
8:10PM EDT
by evn
chloe:~/p/miscellaneous/matzbot/plugins eweaver$ ls count.rb language.rb moo.rb roll.rb tld.rb what.rb drink.rb lispify.rb old_quote.rb seen.rb tld.yml eightball.rb lj.rb pastie.rb sing.rb trybot.rb hax.rb matzdev.rb people.rb svn.rb web.rb
April 30, 2007
5:39AM EDT
by evn
View all 21 lines
require 'open-uri' require 'hpricot' class Plugins::Sidebars::XmlController < Sidebars::ComponentPlugin display_name "XML Syndication"
April 27, 2007
4:01PM EDT
by evn
View all 263 lines
--> You are now talking on #backchannel --- Topic for #backchannel is BACKCHANNEL FOR TALK --- Topic for #backchannel set by olleolleolle at Fri Apr 27 04:59:49 <olleolleolle> "It'd be bad if Java died and I had to go to C++ or some other weird creature"
April 27, 2007
3:22PM EDT
by evn
View all 35 lines
chloe:~/projects/miscellaneous/cookbook/vendor/plugins/has_many_polymorphs eweaver$ rake test (in /Users/eweaver/Desktop/projects/polymorphs/has_many_polymorphs) Notice; tests must be run from within a functioning Rails environment. rails::initializer block ending Loaded tag extensions
April 26, 2007
5:51PM EDT
by evn
View all 15 lines
chloe:~/tmp eweaver$ port deps git-core git-core has library dependencies on: curl zlib openssl
April 26, 2007
6:07AM EDT
by evn
View all 36 lines
chloe:~/p/fauna/trace/trace eweaver$ ./trace.rb Source file: associations.rb Method name or line number: table_name_and_alias: () x4 options: () x4
April 24, 2007
8:34AM EDT
by evn
View all 7 lines
as has_many ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: eaters_foodstuffs.foodstuff_type: SELECT petfoods."the_petfood_primary_key" AS t0_r0, petfoods."name" AS t0_r1, petfoods."created_at" AS t0_r2, petfoods."updated_at" AS t0_r3, eaters_foodstuffs."id" AS t1_r0, eaters_foodstuffs."foodstuff_id" AS t1_r1, eaters_foodstuffs."eater_id" AS t1_r2, eaters_foodstuffs."some_attribute" AS t1_r3, eaters_foodstuffs."eater_type" AS t1_r4, eaters_foodstuffs."created_at" AS t1_r5, eaters_foodstuffs."updated_at" AS t1_r6 FROM petfoods LEFT OUTER JOIN eaters_foodstuffs eaters_petfoods_join ON (petfoods."the_petfood_primary_key" = eaters_petfoods_join."foodstuff_id") LEFT OUTER JOIN eaters_foodstuffs ON (eaters_foodstuffs."foodstuff_id" = eaters_petfoods_join."foodstuff_id" AND eaters_foodstuffs."foodstuff_type" = 'Petfood') AND NULL IS NULL AND NULL IS NULL WHERE (petfoods."the_petfood_primary_key" = 1) as has_many_polymorphs
April 24, 2007
4:49AM EDT
by evn
Warning: Polymorphic include is forcing a SELECT DISTINCT to find target classes. You need to specify the :from => [] option on the EatersFoodstuff#eater association to avoid this. SQL (0.002989) SELECT DISTINCT eater_type FROM eaters_foodstuffs EatersFoodstuff Load Including Associations (0.009814) SELECT eaters_foodstuffs."id" AS t0_r0, eaters_foodstuffs."foodstuff_id" AS t0_r1, eaters_foodstuffs."eater_id" AS t0_r2, eaters_foodstuffs."some_attribute" AS t0_r3, eaters_foodstuffs."eater_type" AS t0_r4, eaters_foodstuffs."created_at" AS t0_r5, eaters_foodstuffs."updated_at" AS t0_r6, petfoods."the_petfood_primary_key" AS t1_r0, petfoods."name" AS t1_r1, petfoods."created_at" AS t1_r2, petfoods."updated_at" AS t1_r3, cats."id" AS t2_r0, cats."name" AS t2_r1, cats."cat_type" AS t2_r2, cats."created_at" AS t2_r3, cats."updated_at" AS t2_r4, wild_boars."id" AS t3_r0, wild_boars."name" AS t3_r1, wild_boars."created_at" AS t3_r2, wild_boars."updated_at" AS t3_r3, bow_wows."id" AS t4_r0, bow_wows."name" AS t4_r1, bow_wows."created_at" AS t4_r2, bow_wows."updated_at" AS t4_r3 FROM eaters_foodstuffs LEFT OUTER JOIN petfoods ON petfoods.the_petfood_primary_key = eaters_foodstuffs.eater_id AND eaters_foodstuffs.eater_type = 'Petfood' LEFT OUTER JOIN cats ON cats.id = eaters_foodstuffs.eater_id AND eaters_foodstuffs.eater_type = 'Cat' LEFT OUTER JOIN wild_boars ON wild_boars.id = eaters_foodstuffs.eater_id AND eaters_foodstuffs.eater_type = 'WildBoar' LEFT OUTER JOIN bow_wows ON bow_wows.id = eaters_foodstuffs.eater_id AND eaters_foodstuffs.eater_type = 'Dog' WHERE (eaters_foodstuffs.foodstuff_id = 1 AND (NULL IS NULL)) ORDER BY eaters_foodstuffs.updated_at ASC
