ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.23.0 | Fund Crystal's 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
baweaver is now known as baweaver_away
baweaver_away is now known as baweaver
kubaxvx_ has quit [Read error: Connection reset by peer]
kubaxvx_ has joined #crystal-lang
kubaxvx_ has quit [Ping timeout: 240 seconds]
<FromGitter> <renich> I am getting: Expected MAPPING_START but was SCALAR (YAML::ParseException); when trying a YAML.mapping via from_yaml
<FromGitter> <renich> any idea why?
<FromGitter> <renich> The yaml file is valid
_whitelogger has joined #crystal-lang
kubaxvx_ has joined #crystal-lang
<FromGitter> <renich> OK, from_yaml needs a String or an IO... hehe
<FromGitter> <renich> man, I am tired...
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #crystal-lang
<crystal-gh> [crystal] akzhan closed pull request #4686: skip_file macro replaced with skip macro. (master...skip_file-macro-replaced-with-skip-one) https://git.io/vQo0T
bmcginty has quit [Ping timeout: 276 seconds]
bmcginty has joined #crystal-lang
Philpax has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
_whitelogger has joined #crystal-lang
Renich has quit [Quit: Renich]
hightower4 has joined #crystal-lang
hightower3 has quit [Ping timeout: 248 seconds]
<FromGitter> <schoening> Ok why on earth am I getting this error: undefined method 'velocity' for Component (compile-time type is Component+) ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ Am I not checking correctly? [https://gitter.im/crystal-lang/crystal?at=59608434c101bc4e3a63af8c]
rohitpaulk has joined #crystal-lang
hightower2 has joined #crystal-lang
<FromGitter> <schoening> A found it
<FromGitter> <schoening> Just had to set Component to abstract class
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter> <schoening> And swapped it out with hash. Much nicer ^^
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #crystal-lang
Raimondii has joined #crystal-lang
<FromGitter> <konovod> @schoening btw it's better to use `if move_component.is_a?(MoveComponent)` - it will restrict type so you will be able to use specific methods of MoveComponent without downcast.
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
<FromGitter> <schoening> Oh i thought if would do that too. Thank you :)
rohitpaulk has quit [Ping timeout: 240 seconds]
_whitelogger has joined #crystal-lang
rohitpaulk has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
tzekid has joined #crystal-lang
tzekid has quit [Ping timeout: 240 seconds]
<FromGitter> <krypton97> how can I pass callbacks in crystal?
<FromGitter> <krypton97> I think that Proc might be what I'm looking for
greengriminal has joined #crystal-lang
<FromGitter> <schoening> Yes no lambdas ..
<FromGitter> <krypton97> I got it working with this one
<FromGitter> <krypton97> Wondering if there's a better way to do it
<oprypin> do what
<FromGitter> <krypton97> I'm close to figure it out
<oprypin> what
<FromGitter> <krypton97> I don't get the issue
<FromGitter> <krypton97> This
<FromGitter> <krypton97> seems that the data type is mandatory
<oprypin> yes it is for Procs. now, what are you trying to do?
<oprypin> because you could do this but i dont know if it's applicable https://play.crystal-lang.org/#/r/2bnm
<FromGitter> <krypton97> I'm trying to implement a httprouter
<FromGitter> <krypton97> Will need callbacks to use middlewares on request/response
<oprypin> it is difficult. see what Kemal does
rohitpaulk has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #crystal-lang
<wmoxam> /opt/crystal/embedded/bin/crystal: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /opt/crystal/embedded/bin/crystal)
<wmoxam> ^^ getting this in Travis-CI, any ideas?
<oprypin> :(
greengriminal has quit [Quit: This computer has gone to sleep]
xiljin has quit [Ping timeout: 240 seconds]
xiljin has joined #crystal-lang
<FromGitter> <ylluminate> Nanobox is willing to give us some love if we can throw some upvotes to the feature request + give them some links and/or instructions on how to configure crystal:
<oprypin> what is this?
<FromGitter> <johnjansen> https://nanobox.io/
<Papierkorb> *scroll*
<Papierkorb> ...
<Papierkorb> what is that
<oprypin> ikr
<FromGitter> <johnjansen> haha, trying to work it out myself
<FromGitter> <ylluminate> basically a heroku replacement based on docker. makes dev/deployment pretty slick and more affordable
<oprypin> too old for that
<FromGitter> <ylluminate> from what i'm seeing it supports linode and digital ocean out of the box, but they've got other things coming. i've been talking to them about setting up a method for allowing dedicated host or larger server deployment so that it would make it easy to deploy a bunch of nanboxes to a single server through the dev and testing cycle before deploying to linode or google cloud, for ex.
<Papierkorb> Don't see a point either. If you know what you're doing, Docker deployment is really simple. If you don't know what you're doing, Heroku makes sure you're not getting constantly owned.
Groogy2 has joined #crystal-lang
<Groogy2> Hello
<FromGitter> <ylluminate> pretty slick and i think i'm going to move away from heroku after playing with it a bit on my rails apps
Groogy has quit [Disconnected by services]
Groogy2 is now known as Groogy
<FromGitter> <ylluminate> honestly, if you don't have any other reason to want it, do it for marketing for crystal
Groogy_ has joined #crystal-lang
<FromGitter> <ylluminate> if it's supported it will just make more ppl see it , so throw it an upvote if you're not interested anyway
Philpax has quit [Ping timeout: 248 seconds]
rohitpaulk has quit [Ping timeout: 255 seconds]
Groogy has quit [Ping timeout: 260 seconds]
<FromGitter> <sdogruyol> @Groogy2 hey there
rohitpaulk has joined #crystal-lang
sz0 has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter> <codenoid> hi
<FromGitter> <codenoid> can i send HEADER data with crystal HTTP client ?
<FromGitter> <sdogruyol> @codenoid yes
<FromGitter> <codenoid> <3
<jokke> hey
<jokke> is it possible to set HTTP version to 1.0 somehow?
<FromGitter> <codenoid> ` #<HTTP::Request:0x1956e40> `
<FromGitter> <codenoid> i dont have this function `call_request_on_app`
<FromGitter> <sdogruyol> That's not needed...
<FromGitter> <codenoid> request.body return empty
<FromGitter> <codenoid> what `#<HTTP::Request:0x1956e40>` mean ?
mhib has joined #crystal-lang
mhib has quit [Client Quit]
<FromGitter> <konovod> @wmoxam Travis is broken for everybody, perhaps will be fixed in Crystal 0.23.1
tzekid has joined #crystal-lang
greengriminal has joined #crystal-lang
<wmoxam> @konovod ah, good to know. Thanks
greengriminal has quit [Quit: This computer has gone to sleep]
tzekid has quit [Ping timeout: 240 seconds]
<FromGitter> <elorest> I love the idea of nanobox supporting crystal. :+1:
<FromGitter> <jsilverMDX> :+1: :gem:
tzekid has joined #crystal-lang
hightower2 has quit [Ping timeout: 268 seconds]
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #crystal-lang
<FromGitter> <oprypin> now i made it so these emojis will also show up properly in IRC 👍 💎
<Papierkorb> my client doesn't even display them
<Papierkorb> which is fine, otherwise they'd be so small that I can't distinguish anyway
tzekid has quit [Quit: Leaving]
DeBot has quit [Ping timeout: 268 seconds]
jhass has quit [Ping timeout: 268 seconds]
asterite has quit [Ping timeout: 255 seconds]
DeBot has joined #crystal-lang
asterite has joined #crystal-lang
jhass has joined #crystal-lang
<FromGitter> <jsilverMDX> yo guys... gnupg server is slow to add keys on ubuntu when setting up apt-get to install crystal.. anyone else have this problem.. ive had the problem on Debian too
<FromGitter> <jsilverMDX> ok now it did it
<FromGitter> <jsilverMDX> i believe gnupg is slow
<FromGitter> <jsilverMDX> lol
<FromGitter> <fridgerator> i always have issues with the keyserver
greengriminal has joined #crystal-lang
ragmaanir has joined #crystal-lang
<ragmaanir> hi, is there currently a working version of crystal for alpine (docker)?
Groogy has joined #crystal-lang