I hereby claim:
- I am jvantuyl on github.
- I am jv (https://keybase.io/jv) on keybase.
- I have a public key whose fingerprint is 96C7 65A1 E309 38FA AD25 4F9B E331 46E1 A3D0 B913
To claim this, I am signing this object:
Use-Case: | |
Rails is built around the stateless web-page model. This is really at odds with Vertebra's Use-Case, long-running operations. If it takes three minutes to execute a /vm/reboot(env=/env/45) operation, it won't do to block the web-request for the whole time. The way that web-applications handle these things is with AJAX requests that monitor whatever long-running operation is happening on the backend. | |
Solution: | |
To accommodate the needs of AJAX requests, we need an agent that acts as a surrogate for the web-application, while providing a friendly polling API. Since Vertebra operations are run from a specific point, we also need to consider that this gateway may require some mechanism to sort out which gateway is being used (at least in the event that multiple gateways are being used in parallel for availability and load-distribution). | |
Design: |
def do_something(): | |
exited_on_a = False | |
exited_on_b = False | |
exited_on_c = False | |
while 1: | |
... | |
if some_condition: | |
exited_on_a = True | |
break |
cat gfs_fops_pre <(samurai oshi -C xc88 -E 6 -s ./gfs_fops ) gfs_fops_post | dc |
-module(perms). | |
-export([perms/1]). | |
% Calculate the Permutations of a list | |
perms([]) -> [[]]; | |
perms(L) -> [[H|T] || H <- L, T <- perms(L--[H])]. |
% Start a tracer | |
dbg:tracer(). | |
% Tell it to trace the current process and its children | |
dbg:p(self(), [c,sos]). | |
% Tell it to trace our test function | |
dbg:tpl(testmod,test,2,[]). % Tells it to trace testmod:test/2 | |
% Call module to see test message |
require 'pp' | |
def pathlist( st, delim ) | |
lst = pl_helper( (st.split delim), []) | |
lst.map! { |l| | |
l.join delim | |
} | |
end | |
def pl_helper( lst, accum ) |
Redcar 0.8.1 ( i686-darwin10.3.0 ) | |
java -XstartOnFirstThread -d32 -client -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp /Users/kagato/.redcar/assets/jruby-complete-1.5.3.jar org.jruby.Main /Users/kagato/.rvm/gems/ruby-1.8.7-p174/gems/redcar-0.8.1/bin/redcar --no-sub-jruby --ignore-stdin | |
Redcar 0.8.1 ( java ) | |
loading plugins took 5.058 | |
took 1.35s to load textmate assets | |
initializing gui took 1.226s | |
project start took 0.008s | |
#<Redcar::ApplicationSWT::Treebook:0x1d866c5>#<Redcar::ApplicationSWT::Treebook:0x1d866c5>#<Redcar::ApplicationSWT::Treebook:0x1d866c5>start time: 8.815 | |
/Users/kagato/.redcar/plugins/redcar-save-all-on-lose-focus/lib/save_all_on_lose_focus.rb:8: undefined method `edit_view' for #<Redcar::HtmlTab "Plugins"> (NoMethodError) |
I hereby claim:
To claim this, I am signing this object:
map = {} | |
x = 0 | |
y = 0 | |
h = 0 | |
function reset() | |
map = {} | |
x = 0 | |
y = 0 | |
end |
advancedgenetics | |
backpack | |
bibliowoods-forestry | |
binnie-mods | |
Blood Magic | |
Calclavia | |
compactsolars | |
CompactWindmills | |
DenPipes | |
DenPipes-Emerald |