- GitHub Staff
- @matthewd@mastodon.social
This file contains 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/ants/visualizer/visualize_locally.py b/ants/visualizer/visualize_locally.py | |
index 7dc6ec1..7a3d6b4 100755 | |
--- a/ants/visualizer/visualize_locally.py | |
+++ b/ants/visualizer/visualize_locally.py | |
@@ -35,10 +35,12 @@ def generate(data, generated_path): | |
data = data.replace('\n', '\\\\n') | |
content = path_re.sub(mod_path, content) | |
- content = insert_re.sub(data, content) | |
+ contents = insert_re.split(content, 2) |
This file contains 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
#!/bin/bash | |
# These were copied from /usr/local/bin/kvmCreate_squeeze.sh. Some or | |
# all probably shouldn't be listed here. | |
extra_packages="locales netbase net-tools ifupdown iptables linux-image-2.6-amd64" | |
# This is what debootstrap installs for 'minbase' | |
base_packages="apt $(aptitude -F %p search '?priority(required)')" |
This file contains 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
2011/09/09 19:05:38 [DEBUG] processing critical: devshm_dev_shm -> : 98 | |
2011/09/09 19:05:38 [DEBUG] processing warning: devshm_dev_shm -> : 92 | |
2011/09/09 19:05:38 [DEBUG] processing unknown_limit: devshm_dev_shm -> 4 | |
2011/09/09 19:05:38 [DEBUG] processing field: e2.com.au::portia.e2.com.au::df::devshm_dev_shm | |
2011/09/09 19:05:38 [DEBUG] rrd filename is: /var/lib/munin/e2.com.au/portia.e2.com.au-df-devshm_dev_shm-g.rrd | |
2011/09/09 19:05:38 [DEBUG] value: e2.com.au::portia.e2.com.au::df::devshm_dev_shm: unknown (crit: :98) (warn: :92) | |
2011/09/09 19:05:38 [DEBUG] processing critical: _dev_md2 -> : 98 | |
2011/09/09 19:05:38 [DEBUG] processing warning: _dev_md2 -> : 92 | |
2011/09/09 19:05:38 [DEBUG] processing unknown_limit: _dev_md2 -> 4 | |
2011/09/09 19:05:38 [DEBUG] processing field: e2.com.au::portia.e2.com.au::df::_dev_md2 |
This file contains 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
#!/usr/bin/env ruby | |
lib_path = File.expand_path("../../lib", __FILE__) | |
$:.unshift lib_path | |
require 'uri' | |
require 'net/http' | |
require 'optparse' |
This file contains 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
tango:src/rbx[hydra]% rbx -Xgc.large_object=5000 reverse.rb 4900 | |
user system total real | |
Reversing string 4900 long 3.644228 0.004000 3.648228 ( 3.751245) | |
tango:src/rbx[hydra]% rbx -Xgc.large_object=2700 reverse.rb 2665 | |
user system total real | |
Reversing string 2665 long 13.372836 0.028001 13.400837 ( 13.470050) |
This file contains 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/compiler/ast/sends.rb b/lib/compiler/ast/sends.rb | |
index 6707b05..0f5851e 100644 | |
--- a/lib/compiler/ast/sends.rb | |
+++ b/lib/compiler/ast/sends.rb | |
@@ -2,6 +2,7 @@ module Rubinius | |
module AST | |
class Send < Node | |
attr_accessor :receiver, :name, :privately, :block, :variable | |
+ attr_accessor :vcall_style | |
attr_accessor :check_for_local |
This file contains 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
tango:src/rbx[hydra⚡]% bin/mspec spec/compiler ^spec/compiler/transforms --parser-adelaide | |
rubinius 2.0.0dev (1.8.7 7a9c86f9 yyyy-mm-dd JI) [x86_64-unknown-linux-gnu] | |
.....................F..F.............F........................ | |
1) | |
A Dstr node is compiled from '"#{22}aa" "cd#{44}" "55" "#{66}"' FAILED | |
Expected: | |
[:test_generator, | |
[[:push, 22], | |
[:meta_to_s], |
This file contains 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
Rubinius Crash Report #rbxcrashreport | |
Error: signal SIGSEGV | |
[[Backtrace]] | |
rbx[0x55f13d] | |
/lib/libpthread.so.0(+0xef60)[0x7fce311faf60] | |
rbx(_ZN8rubinius7ImmixGC10saw_objectEPNS_6ObjectE+0x1c)[0x6a60ac] | |
rbx(_ZN8rubinius16GarbageCollector11scan_objectEPNS_6ObjectE+0x30)[0x6a50a0] | |
rbx(_ZN8rubinius7ImmixGC7collectERNS_6GCDataE+0x2f8)[0x6a69e8] |
This file contains 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
Rubinius Crash Report #rbxcrashreport | |
Error: signal SIGSEGV | |
[[Backtrace]] | |
rbx[0x55f13d] | |
/lib/libpthread.so.0(+0xef60)[0x7ffd86ab9f60] | |
rbx(_ZN8rubinius7ImmixGC10saw_objectEPNS_6ObjectE+0x2b)[0x6a60bb] | |
rbx(_ZN8rubinius10Executable4Info13mark_inlinersEPNS_6ObjectERNS_10ObjectMarkE+0x3c)[0x635e9c] | |
rbx(_ZN8rubinius14CompiledMethod4Info4markEPNS_6ObjectERNS_10ObjectMarkE+0x2a)[0x631e4a] |
This file contains 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
puts( | |
# Variations: | |
# - use single quotes on 'AA...' | |
# - use single quotes on '222..' | |
"000" + <<"AA\n#{x}\" + "111" + <<BB + "222\ | |
333 | |
444#{<<CC + "555" + <<-DD}666 | |
777 | |
CC | |
CC |