<|jemc|>
brixen: if we end up with rbx-ready docker containers, it makes sense to host the sources on github
<|jemc|>
would it be preferred to put them under the rubinius account once they're working?
<brixen>
in the rubinius org, sure
<brixen>
I can make a repo for them
<brixen>
where do people put there dockers?
<brixen>
docker drawer? :)
<brixen>
er their
<|jemc|>
usually one repo for each
<brixen>
that's kinda weird
<brixen>
it's just a file, no?
<goyox86>
Man I'm so ignorant about this new everything-is -a-container world
<|jemc|>
then dockerhub can be set up to pull from the github repo and build for you automatically and host the resulting images so users don't have to build
<|jemc|>
brixen: it'll probably have a handful of accompanying config files like those goyox86 linked to in his post
<|jemc|>
sometimes the Dockerfile is a part of a source repo - like if we end up with an official rbx docker image, the Dockerfile would sit at the toplevel of the rubinius/rubinius repo and build from 'local' source
<goyox86>
When I was working on setting up grafana I was thinking in adding to it the ability to inject new data sources from the UI
<|jemc|>
goyox86: I'm really ignorant about how to set up grafana and graphite and influxdb, even when I have all the services running on the right ports
<|jemc|>
so hopefully between us we can make a decent docker container for it :)
<goyox86>
Indeed
<goyox86>
I think that if you follow the blog post you will end with something for building the docker container
<goyox86>
But sure
<goyox86>
Ask me anything you need
<|jemc|>
goyox86: can you gist me your config.toml for influxdb?
<blacky>
I can stay more. Thanks a lot brixen. Don't worry I will win.
blacky has quit [Quit: Quitte]
slaught has joined #rubinius
pietr0 has joined #rubinius
meh` has quit [Ping timeout: 256 seconds]
tenderlove has quit [Ping timeout: 250 seconds]
tenderlove has joined #rubinius
craigp has joined #rubinius
meh` has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
Gibheer has joined #rubinius
tenderlove has quit [Client Quit]
tenderlove has joined #rubinius
[spoiler] has joined #rubinius
DanielVartanov_ has joined #rubinius
craigp has quit [Read error: Connection reset by peer]
craigp has joined #rubinius
Gibheer has quit [Quit: leaving]
DanielVartanov__ has joined #rubinius
DanielVartanov_ has quit [Read error: Connection reset by peer]
josh-k_ has quit [Remote host closed the connection]
DanielVartanov__ has quit [Ping timeout: 272 seconds]
slaught has quit [*.net *.split]
goyox86 has quit [*.net *.split]
jeregrine has quit [*.net *.split]
mjc_ has quit [*.net *.split]
heftig has quit [*.net *.split]
pzol has quit [*.net *.split]
enebo has quit [*.net *.split]
arrubin has quit [*.net *.split]
carlosgaldino has quit [*.net *.split]
RealMarc has quit [*.net *.split]
justinmcp has quit [*.net *.split]
havenwood has quit [*.net *.split]
pietr0 has quit [*.net *.split]
|jemc| has quit [*.net *.split]
meh` has quit [*.net *.split]
jeremyevans has quit [*.net *.split]
jfredett-w has quit [*.net *.split]
pwh has quit [*.net *.split]
stass has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
tenderlove has quit [*.net *.split]
lbianc has quit [*.net *.split]
craigp has quit [*.net *.split]
diegoviola has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
sbryant has quit [*.net *.split]
brasten has quit [*.net *.split]
johnmuhl has quit [*.net *.split]
lopex has quit [*.net *.split]
_whitelogger has joined #rubinius
parndt has joined #rubinius
Ori_P has joined #rubinius
<yorickpeterse>
argh ffs, Racc is still 1,3 times faster than my C/linked-list based LL parser
<yorickpeterse>
probably because it doesn't use Array#[] and instead also does that in C/java
meh` has joined #rubinius
<yorickpeterse>
also my stuff randomly segfaults, heh
<[spoiler]>
lol segfaults are fun
<brixen>
I used to think segfaults were about the most fun you could have with a computer
<brixen>
turns out, fork bombing your computer is loads more fun
<brixen>
nearly 2015 and your OS will let you allocate every possible PID
<brixen>
then fall over in a puddle
<brixen>
and blame you for doing so
diegoviola has quit [Ping timeout: 258 seconds]
diegovio1 has joined #rubinius
craigp has quit [Remote host closed the connection]
diegovio1 is now known as diegoviola
<yorickpeterse>
argh, this whole parsing stuff brings me to the question of life: do I continue trying to hack something together myself, or do I make Racc less slow
<slaught>
yorickpeterse: why don’t you take the racc grammar and make it work with bison and see what the results are?
<yorickpeterse>
That means having to deal with the cesspool that is Bison
<yorickpeterse>
and having to tie that into Ruby
<[spoiler]>
^
<[spoiler]>
I tried playing with Bison and it was such mess
<slaught>
you have to tie the final results into Ruby
<[spoiler]>
MESS!
<yorickpeterse>
slaught: the difference is that I'd also have to convert input to whatever Bison expects
<[spoiler]>
well, the mess was my fault
<yorickpeterse>
meaning I'd have to convert Ruby symbols/strings + ints to whatever Bison wants
<[spoiler]>
bison expects nothing; why not use Ragel?
<[spoiler]>
oh that
<slaught>
bison wants an char buffer for the input to parse.
<[spoiler]>
yorickpeterse: but ruby has macros and functions for that though
<[spoiler]>
so it shouldn't be a biggie?
<goyox86>
yorickpeterse: Go take a walk and think, get away of that computer ;)
<yorickpeterse>
eh, no?
<yorickpeterse>
[spoiler]: how do macros and functions make my life easier of having to serialize Ruby input to Bison crap, and then back?
<yorickpeterse>
Anything not geared towards Ruby out of the box is going to be a PITA in this caase
<yorickpeterse>
* case
<yorickpeterse>
and Ragel is not a parser
<[spoiler]>
Well, idk... I guess it depends on how much speed matters to you? Sorry never really Ragel, so not sure what it does. I thought it was like Bison lol
<[spoiler]>
really used*
<yorickpeterse>
Ragel is a lexer, not a parser
<yorickpeterse>
You can't really build ASTs with it
<brixen>
ragel is a state machine compiler
craigp has joined #rubinius
<yorickpeterse>
^ basically a lexer :P
<yorickpeterse>
At least that's what it usually is used for
<yorickpeterse>
what the hell, even if I move my production _and_ goto tables to C my parser is still slower
<enebo>
yorickpeterse: You use Array#at instead of []. From what I remember if can be faster...
<yorickpeterse>
isn't that just an alias?
<yorickpeterse>
Ah no
<yorickpeterse>
Array#at is rb_ary_entry()
<yorickpeterse>
but that's basically what I'm already using in my C code
<yorickpeterse>
but I'll see what happens to the Ruby code if I use that
<yorickpeterse>
hm, it almost looks like my callback code is the bottleneck somehow
<slaught>
i think ragal only handles regular languages and not context-free languages.
<yorickpeterse>
(my goal is to get my stuff 10x faster than Racc)
<yorickpeterse>
that is, actually 10x, that's not a made up factor
diegoviola has quit [Ping timeout: 244 seconds]
carlosgaldino has quit [Read error: Connection reset by peer]
carlosgaldino has joined #rubinius
<yorickpeterse>
meh fukit, video games, I'll bust my brain on this this weekend
<|jemc|>
slaught: you can do things outside the scope of context-free if you use multiple machines and call between them
diegoviola has joined #rubinius
amsi has joined #rubinius
<slaught>
yes, a fsm with a stack or two is quite powerful.
brasten has quit [Quit: brasten]
<|jemc|>
brixen: I don't know what you decided about the organization of the statsd-related docker repo(s), but when you get a chance could you create a repo in the rubinius org I can push the influxdb/grafana container work to (or, alternatively, give me the credentials to set it up myself)?
<|jemc|>
I should have a working container source to push there tonight or tomorrow - and I can do a short writeup after that
chouhoulis has joined #rubinius
craigp has quit [Remote host closed the connection]
<goyox86>
Woot woot I can help with the testing/writing guys
DanielVartanov has joined #rubinius
enebo has quit [Quit: enebo]
max96at is now known as max96at|off
slaught has quit [Quit: slaught]
goyox86_ has joined #rubinius
goyox86 has quit [Read error: No route to host]
parndt has quit [Remote host closed the connection]
brasten has joined #rubinius
chouhoulis has quit [Ping timeout: 250 seconds]
dzhulk has quit [Quit: Leaving.]
Ori_P has quit [Ping timeout: 240 seconds]
Ori_P has joined #rubinius
diegoviola has quit [Ping timeout: 250 seconds]
diegovio1 has joined #rubinius
pietr0 has quit [Quit: pietr0]
DanielVartanov has quit [Ping timeout: 256 seconds]