Skip to content

Instantly share code, notes, and snippets.

View arodland's full-sized avatar

Andrew Rodland arodland

View GitHub Profile
stats
STAT pid 21578
STAT uptime 10490
STAT time 1485989603
STAT version 1.4.25
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 182.035864
STAT rusage_system 258.486248
STAT curr_connections 84
stats
STAT pid 21578
STAT uptime 2645
STAT time 1485981758
STAT version 1.4.25
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 41.837614
STAT rusage_system 70.864344
STAT curr_connections 90
stats
STAT pid 1410
STAT uptime 14080485
STAT time 1485973248
STAT version 1.4.25
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 175789.350332
STAT rusage_system 230498.833687
STAT curr_connections 107
ERROR [2016-05-24 18:50:14,756] epollEventLoopGroup-3-1 - io.cyanite.api could not process request
java.lang.NullPointerException: null
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) ~[na:1.8.0_91]
at java.util.regex.Matcher.reset(Matcher.java:309) ~[na:1.8.0_91]
at java.util.regex.Matcher.<init>(Matcher.java:229) ~[na:1.8.0_91]
at java.util.regex.Pattern.matcher(Pattern.java:1093) ~[na:1.8.0_91]
at clojure.core$re_matcher.invokeStatic(core.clj:4674) ~[cyanite.jar:na]
at clojure.core$re_find.invokeStatic(core.clj:4716) ~[cyanite.jar:na]
at io.cyanite.engine.rule.MetricRule.metric_matches_QMARK_(rule.clj:61) ~[cyanite.jar:na]
at io.cyanite.engine.rule$__GT_exec_plan$fn__736.invoke(rule.clj:66) ~[cyanite.jar:na]
#!/usr/bin/perl
use strict;
use warnings;
use IO::Async;
use IO::Async::Loop;
use IO::Async::Process;
my $cmd1 = [qw(ls -1)];
my $cmd2 = [qw(rev)];
my $transform = sub {
[14:28:51] <hobbs> I'm reading through some of the improvements in Marpa in 2014, and updating my talk, and I have to wonder, could the machinery for LATM also support "AATM" (the brute-force lexing technique from my 2013 talk)?
[14:35:10] <jeffreykegler> hobbs: I'm not sure what you mean. What slide did you talk about AATM on?
[14:36:41] <hobbs> I didn't call it anything then, but slides 10-12
[14:37:29] <hobbs> it's just trying all tokens that are acceptable to the grammar, and passing all that match back up as alternatives, without any kind of longest-first rule at all
[14:37:35] <hobbs> which is crazy, but... :)
[14:38:04] <jeffreykegler> Actually I've thought about that
[14:38:50] <jeffreykegler> It's quite possible, but results in an Earley set per character, which for long inputs gets expensive.
[14:39:46] <hobbs> right
[14:39:49] <jeffreykegler> You can implement it in either LATM or LTM by making sure that all lexemes are exactly one character long ...
[14:39:58] <jeffreykegler> and that there are n
2016/03/05 04:45:50 Downloading To: /home/vimeo/tc/hudsucker/6657687b45f13003755c95cec1f9bee8.part
2016/03/05 04:45:50 Concurrency: 20
2016/03/05 04:45:50 Content-Length: 3270440883
2016/03/05 04:45:50 NumChunks: 63
2016/03/05 04:45:50 MD5: 5dc4ff25f7bd100538e3e7337cb7b114
2016/03/05 04:45:51 Status: 2% : 0 b/s
2016/03/05 04:45:51 Status: 15% : 6.014 Gb/s
2016/03/05 04:45:52 Status: 28% : 6.938 Gb/s
2016/03/05 04:45:52 Status: 33% : 5.585 Gb/s
2016/03/05 04:45:53 Status: 44% : 5.591 Gb/s
diff --git a/lib/DBIx/Class/Helper/Row/ProxyResultSetMethod.pm b/lib/DBIx/Class/Helper/Row/ProxyResultSetMethod.pm
index 2ab0931..dcad6fc 100644
--- a/lib/DBIx/Class/Helper/Row/ProxyResultSetMethod.pm
+++ b/lib/DBIx/Class/Helper/Row/ProxyResultSetMethod.pm
@@ -5,7 +5,7 @@ package DBIx::Class::Helper::Row::ProxyResultSetMethod;
use strict;
use warnings;
-use parent 'DBIx::Class::Helper::Row::SelfResultSet', 'DBIx::Class::Row';
+use parent 'DBIx::Class::Helper::Row::SelfResultSet', 'DBIx::Class';
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'scrooloose/syntastic'
Plug 'kien/ctrlp.vim'
Plug 'vim-scripts/vcscommand.vim'
Plug 'vim-perl/vim-perl', { 'for': 'perl', 'do': 'make clean carp dancer highlight-all-pragmas moose test-more try-tiny' }
Plug 'c9s/perlomni.vim'
diff --git a/ListUtil.xs b/ListUtil.xs
index a7cd20c..46f8d4d 100644
--- a/ListUtil.xs
+++ b/ListUtil.xs
@@ -383,6 +383,7 @@ CODE:
PUSH_MULTICALL(cv);
for(index = 1 ; index < items ; index++) {
+ SvTEMP_off(args[index]);
GvSV(PL_defgv) = args[index];