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
(10:25:00 AM) jdunphy: te_: you git-stuff-ref has compilation errors for me | |
(10:26:06 AM) jdunphy: in bh_router_util | |
(10:26:08 AM) jdunphy: https://github.com/edwardt/git-stuff-ref/blob/git-stuff/lib/beehive_router/src/bh_router_util.erl#L17 | |
(10:26:22 AM) jdunphy: also, that method is defined wiht the same signiture twice | |
(10:26:27 AM) jdunphy: w same guard | |
(10:26:35 AM) jdunphy: oh.. never mind | |
(10:26:38 AM) jdunphy: I just can't read | |
(10:26:42 AM) jdunphy: one is ensure_started | |
(10:26:46 AM) jdunphy: the other ensure_loaded | |
(10:28:07 AM) jdunphy: te_: separate issue -> your indentation doesn't match the exiting project. You're using tabs, and the project in general is using double-space |
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
--- Your turn --- | |
You get +$1 from your Lighthouse. | |
You play a King's Court. | |
... You play a Laboratory. | |
... ... You draw a King's Court and a Trade Route and get +1 action. | |
... You play the Laboratory again. | |
... ... You draw a Laboratory and a Silver and get +1 action. | |
... You play the Laboratory a third time. | |
... ... You draw a Grand Market and a King's Court and get +1 action. | |
You play a King's Court. |
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/Gemfile b/Gemfile | |
index 09bfbde..e0f56ef 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -33,10 +33,12 @@ group :development do | |
end | |
end | |
-gem "padrino", :path => "padrino" | |
-gem "padrino-admin", :path => "padrino-admin" |
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
handle_info({bee_updated_normally, #bee{revision = Sha} = Bee, #app{name = AppName} = App, Caller}, State) -> | |
% StartedBee#bee{revision = Sha}, App#app{revision = Sha} | |
?LOG(debug, "app_event_handler got bee_updated_normally: ~p, ~p", [Bee, App]), | |
case apps:find_by_name(AppName) of | |
RealApp when is_record(RealApp, app) -> |
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
jdunphy ~/code/beehive/rel/beehive(master)$ ./bin/beehive start | |
jdunphy ~/code/beehive/rel/beehive(master)$ ./bin/beehive console | |
Exec: /Users/jdunphy/code/beehive/rel/beehive/erts-5.8/bin/erlexec -boot /Users/jdunphy/code/beehive/rel/beehive/releases/0.0.1/beehive -embedded -config /Users/jdunphy/code/beehive/rel/beehive/etc/app.config -args_file /Users/jdunphy/code/beehive/rel/beehive/etc/vm.args -- console | |
Root: /Users/jdunphy/code/beehive/rel/beehive | |
{error_logger,{{2010,9,27},{9,38,49}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]} | |
{error_logger,{{2010,9,27},{9,38,49}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<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/erlang/apps/beehive/include/common.hrl b/lib/erlang/apps/beehive/include/common.hrl | |
index 2ed9ede..b5c8d78 100644 | |
--- a/lib/erlang/apps/beehive/include/common.hrl | |
+++ b/lib/erlang/apps/beehive/include/common.hrl | |
@@ -11,10 +11,10 @@ | |
end, | |
case MessageLevel of | |
do_not_print -> ok; | |
- _ -> | |
+ _ -> |
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
% Root of the modules | |
-define (BH_ROOT, fun() -> | |
case code:priv_dir(beehive) of | |
{error, bad_name} -> filename:join([filename:dirname(code:which(?MODULE)), "..", ".."]); | |
Dir -> filename:join([filename:dirname(Dir), "..", "..", "..", ".."]) | |
end | |
end()). | |
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
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.6/emacs" | |
load-path)) | |
(setq erlang-root-dir "/usr/local/lib/erlang") | |
(setq exec-path (cons "/usr/local/bin" exec-path)) | |
(setq erlang-indent-level 2) | |
(require 'erlang-start) |
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
=ERROR REPORT==== 25-Aug-2010::14:19:35 === | |
** Generic server app_manager terminating | |
** Last message in was {'$gen_cast', | |
{request_to_start_new_bee_by_app, | |
{app,"rservices", | |
"/home/jdunphy/_git/rservices/.git",git, | |
dynamic,'Host',10000000000,false,0,1, | |
"master",undefined,undefined,undefined, | |
rails}, |
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
update_attributes(App, []) -> App; | |
update_attributes(App, NewProps) -> | |
[Prop|OtherNewProps] = NewProps, | |
{Key,Val} = Prop, | |
UpdatedApp = App#app{Key = Val}, | |
update_attributes(UpdatedApp, OtherNewProps). | |
NewerOlder