This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <time.h> | |
int main(void) | |
{ | |
time_t now; | |
struct tm *ts; | |
char buf[80]; | |
/* Some distant moment in the past */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dirkjan@nvc1372 ~/Documents/projects/rubinius master $ gdb --args ./bin/rbx -XJ -Xjit.inline.debug | |
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 UTC 2009) | |
Copyright 2004 Free Software Foundation, Inc. | |
GDB is free software, covered by the GNU General Public License, and you are | |
welcome to change it and/or distribute copies of it under certain conditions. | |
Type "show copying" to see the conditions. | |
There is absolutely no warranty for GDB. Type "show warranty" for details. | |
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done | |
(gdb) run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dirkjan@nvc1372 ~/Documents/projects/rubinius master $ gdb --args ./bin/rbx -XJ | |
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 UTC 2009) | |
Copyright 2004 Free Software Foundation, Inc. | |
GDB is free software, covered by the GNU General Public License, and you are | |
welcome to change it and/or distribute copies of it under certain conditions. | |
Type "show copying" to see the conditions. | |
There is absolutely no warranty for GDB. Type "show warranty" for details. | |
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done | |
(gdb) run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdb --args ./bin/rbx -XJ benchmark/rubinius/numerics/bm_add.rb GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 UTC 2009) | |
Copyright 2004 Free Software Foundation, Inc. | |
GDB is free software, covered by the GNU General Public License, and you are | |
welcome to change it and/or distribute copies of it under certain conditions. | |
Type "show copying" to see the conditions. | |
There is absolutely no warranty for GDB. Type "show warranty" for details. | |
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done | |
(gdb) run | |
Starting program: /Users/dirkjan/Documents/projects/rubinius/bin/rbx -XJ benchmark/rubinius/numerics/bm_add.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
otool -L bin/rbx | |
bin/rbx: | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 124.1.1) | |
/usr/lib/libffi.dylib (compatibility version 1.0.0, current version 1.0.0) | |
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/dm-core/property.rb b/lib/dm-core/property.rb | |
index dbb6de9..5d54323 100644 | |
--- a/lib/dm-core/property.rb | |
+++ b/lib/dm-core/property.rb | |
@@ -766,6 +766,23 @@ module DataMapper | |
"#<#{self.class.name} @model=#{model.inspect} @name=#{name.inspect}>" | |
end | |
+ # Test a value to see if it matches the primitive type | |
+ # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2009-09-15 15:08:49] /Users/dirkjan/.rvm/ruby-1.8.6-p383/bin/gem install rake --no-rdoc --no-ri -q | |
++ nice -n 0 /bin/bash -l -c '/Users/dirkjan/.rvm/ruby-1.8.6-p383/bin/gem install rake --no-rdoc --no-ri -q' | |
Added keychain identities. | |
/bin/bash: /Users/dirkjan/.rvm/ruby-1.8.6-p383/bin/gem: No such file or directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<i> Installing rubygems dedicated to ruby-1.8.6-p383... | |
+ rvm_gem_package_name=rubygems-1.3.5 | |
+ rvm_gem_url=http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz | |
+ '[' -d /Users/dirkjan/.rvm/src/rubygems-1.3.5 ']' | |
+ cd /Users/dirkjan/.rvm/src/rubygems-1.3.5 | |
+ gsed -i.orig 's/require_paths\.join/require_paths.to_a.join/' /Users/dirkjan/.rvm/src/rubygems-1.3.5/lib/rubygems/gem_path_searcher.rb | |
gsed: can't read /Users/dirkjan/.rvm/src/rubygems-1.3.5/lib/rubygems/gem_path_searcher.rb: No such file or directory | |
+ rm -f /Users/dirkjan/.rvm/src/rubygems-1.3.5/lib/rubygems/gem_path_searcher.rb.orig | |
+ __rvm_run rubygems.install GEM_HOME=/Users/dirkjan/.rvm/gems/ruby/1.8.6 /Users/dirkjan/.rvm/ruby-1.8.6-p383/bin/ruby /Users/dirkjan/.rvm/src/rubygems-1.3.5/setup.rb | |
+ log_file_name=rubygems.install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ Connecting to database... | |
/opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:13:in `initialize': wrong number of arguments (2 for 0) (ArgumentError) | |
from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:13:in `new' | |
from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters.rb:13:in `new' | |
from /opt/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core.rb:179:in `setup' | |
from /opt/local/lib/ruby/gems/1.8/gems/merb_datamapper-1.1/lib/merb/orms/data_mapper/connection.rb:44:in `setup_connections' | |
from /opt/local/lib/ruby/gems/1.8/gems/merb_datamapper-1.1/lib/merb/orms/data_mapper/connection.rb:27:in `connect' | |
from /opt/local/lib/ruby/gems/1.8/gems/merb_datamapper-1.1/lib/merb_datamapper.rb:41:in `run' | |
from /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.1/lib/merb-core/bootloader.rb:99:in `run' | |
from /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.1/lib/merb-core/server.rb:172:in `bootup' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dirkjan@imac ~/Documents/projects/rubinius master $ gdb --args ./bin/rbx -Xjit.enabled -Xjit.inline.generic | |
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 UTC 2009) | |
Copyright 2004 Free Software Foundation, Inc. | |
GDB is free software, covered by the GNU General Public License, and you are | |
welcome to change it and/or distribute copies of it under certain conditions. | |
Type "show copying" to see the conditions. | |
There is absolutely no warranty for GDB. Type "show warranty" for details. | |
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done | |
(gdb) run |