jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.15.0 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
anthony has joined #crystal-lang
anthony has quit [Ping timeout: 248 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 268 seconds]
zodiak has quit [Ping timeout: 268 seconds]
zodiak has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #crystal-lang
anthony has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
ozra has quit [Ping timeout: 246 seconds]
buggs has quit [Quit: WeeChat 0.4.2]
umurgdk has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
mjblack has quit [Ping timeout: 246 seconds]
anthony has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
mjblack has joined #crystal-lang
pawnbox has joined #crystal-lang
greengriminal has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
anthony__ has joined #crystal-lang
kfpratt has joined #crystal-lang
matp has quit [Ping timeout: 252 seconds]
kfpratt has quit [Ping timeout: 248 seconds]
matp has joined #crystal-lang
anthony__ has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
dsounded has joined #crystal-lang
kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 250 seconds]
kulelu88 has joined #crystal-lang
dsounded has quit [Ping timeout: 250 seconds]
kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 268 seconds]
kulelu88 has quit [Quit: Leaving]
bcardiff has joined #crystal-lang
zodiak has quit [Ping timeout: 244 seconds]
kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 248 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 248 seconds]
trapped has joined #crystal-lang
hangyas has joined #crystal-lang
marcosdsanchez has quit [Ping timeout: 244 seconds]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
marcosdsanchez has joined #crystal-lang
bcardiff has joined #crystal-lang
rok has joined #crystal-lang
umurgdk has joined #crystal-lang
kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 248 seconds]
bcardiff has quit [Quit: bcardiff]
x0f has joined #crystal-lang
kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 248 seconds]
rolha has joined #crystal-lang
<rolha> hi everyone
<rolha> sorry for not being 100% related to Crystal, but I'm doing a hobby web project in Kemal
<rolha> and I'm used to netty or node as a wev server, what's the best way to restart a crystal app (Kemal in this case) if it crashes? I'm using ubuntu.
<rolha> should I just use something like upstart?
edjsu has quit [Quit: leaving]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
<BlaXpirit> rolha, something like upstart but not upstart
<rolha> BlaXpirit: ahah, thanks :) is it that bad?
<BlaXpirit> rolha, it is not used in any major distro anymore
<yxhuvud> I'd use whichever is installed of upstart or systemd.
<BlaXpirit> Ubuntu 14.04 uses it but latest version does not
<rolha> I've used npm's forever, but wanted to do a node detox :-P
<rolha> so I'll see what's in store for ubuntu
<rolha> thank you!
<rolha> BlaXpirit: that's brilliant! Thank you! :)
<BlaXpirit> rolha, but i still don't know what system you're on, maybe there is no systemd
<rolha> it's Ubuntu 15, if I'm not mistaken it has systemd now
<BlaXpirit> ok
<rolha> if not, I'll just install some distro which has it
kfpratt has joined #crystal-lang
edjsu has joined #crystal-lang
kfpratt has quit [Ping timeout: 248 seconds]
rolha has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edjsu has quit [Quit: leaving]
edjsu has joined #crystal-lang
hangyas has quit [Ping timeout: 240 seconds]
Rinkana has joined #crystal-lang
<Rinkana> Is there any way that i can create a class from a string. Something like the constantize function in rails
rolha has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
elia has joined #crystal-lang
kfpratt has joined #crystal-lang
<BlaXpirit> Rinkana, no. gotta change the mindset
<BlaXpirit> maybe you want macros, who knows
kfpratt has quit [Ping timeout: 248 seconds]
umurgdk has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
umurgdk has joined #crystal-lang
rolha has quit [Quit: Textual IRC Client: www.textualapp.com]
umurgdk has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 248 seconds]
x0f has joined #crystal-lang
kfpratt has joined #crystal-lang
kfpratt has quit [Ping timeout: 248 seconds]
umurgdk has joined #crystal-lang
kfpratt has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
kfpratt has quit [Ping timeout: 248 seconds]
umurgdk has joined #crystal-lang
Philpax has quit [Ping timeout: 246 seconds]
edjsu has quit [Remote host closed the connection]
edjsu has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
Ven has joined #crystal-lang
A124 has joined #crystal-lang
vikaton has joined #crystal-lang
ozra has joined #crystal-lang
tony_ has joined #crystal-lang
anthony has joined #crystal-lang
umurgdk has joined #crystal-lang
umurgdk has quit [Ping timeout: 246 seconds]
bcardiff has joined #crystal-lang
<crystal-gh> [crystal] dsounded opened pull request #2406: Provide Unix epoch in Time::Format (master...time_format_epoch) https://git.io/vVB3O
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
bcardiff has quit [Ping timeout: 264 seconds]
bcardiff has joined #crystal-lang
umurgdk has joined #crystal-lang
<Rinkana> BlaXpirit, ah i thought so. But can i at least call a function of a class with a string?
<BlaXpirit> Rinkana, uh sure, that sounds completely normal
<BlaXpirit> Rinkana, why don't you explain what you're actually trying to do
<Rinkana> What i am trying to do is creating something like the Rails route system. I want to create a simple method of defining new routes
<Rinkana> Something like:
<Rinkana> add_route "GET", "/", [Controller], [Method]
<Rinkana> First i wanted to write it like this: add_route "GET", "/", "Index@Index"
umurgdk has quit [Ping timeout: 252 seconds]
<Rinkana> But since i cant create objects based on a string i tought i'd padd the controller class and as a string the method i want to call.
bcardiff has quit [Quit: bcardiff]
edjsu has quit [Quit: edjsu]
edjsu has joined #crystal-lang
matp has quit [Remote host closed the connection]
<Rinkana> BlaXpirit i've tried calling the send and method functions that ruby has however it seems they are not in Crystal. Is there another way to call the method by string?
bcardiff has joined #crystal-lang
<BlaXpirit> Rinkana, no...
<BlaXpirit> Rinkana, why don't you check out existing web frameworks
anthony has quit [Ping timeout: 276 seconds]
anthony has joined #crystal-lang
matp has joined #crystal-lang
anthony has quit [Ping timeout: 240 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
anthony has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
<asterite> Rinkana: you should read this: https://github.com/crystal-lang/crystal/issues/949
<crystal-gh> [crystal] ethe opened pull request #2408: fixed https://github.com/crystal-lang/crystal/issues/2393. (master...add-cc-flag) https://git.io/vVBWa
<asterite> And also, it's better if we all focus on one/two web frameworks instead of creating thousands of them. Right now I'd say kemal is pretty good/popular, and there's also frost which is more Railsy
<crystal-gh> [crystal] ethe closed pull request #2408: fixed #2393. (master...add-cc-flag) https://git.io/vVBWa
ylluminate has joined #crystal-lang
bcardiff has joined #crystal-lang
bcardiff has quit [Read error: Connection reset by peer]
bcardiff has joined #crystal-lang
tony_ has quit [Ping timeout: 250 seconds]
anthony has quit [Ping timeout: 276 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
bcardiff has quit [Ping timeout: 260 seconds]
Rinkana has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
ylluminate has quit [Ping timeout: 264 seconds]
umurgdk has quit [Read error: Connection reset by peer]
umurgdk has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elia has joined #crystal-lang
ozra has quit [Ping timeout: 248 seconds]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
pawnbox has joined #crystal-lang
ozra has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
rok has quit [Quit: rok]
elia has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #crystal-lang
anthony has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
elia has joined #crystal-lang
ozra has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
anthony has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
Philpax has joined #crystal-lang
anthony_1 has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vVB1K
<crystal-gh> crystal/master 0737f76 Ary Borenszweig: Reorganize code....
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
umurgdk has quit [Ping timeout: 244 seconds]