ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.20.5 | 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
greengriminal has quit [Quit: Leaving]
soveran_ has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
soveran_ has quit [Remote host closed the connection]
<crystal-gh> [crystal] MakeNowJust opened pull request #4005: Fix Enum#to_s for flag enums to join with pipe (master...fix/enum/pipe-to-s) https://git.io/vDCrI
<DeBot> https://github.com/crystal-lang/crystal/pull/4005 (Fix Enum#to_s for flag enums to join with pipe)
DeBot has quit [Read error: Connection reset by peer]
DeBot has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Ping timeout: 240 seconds]
dannyAAM has quit [Ping timeout: 259 seconds]
dannyAAM has joined #crystal-lang
thatguy has joined #crystal-lang
thatguy has quit [Client Quit]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
mgarciaisaia has joined #crystal-lang
shelvacu has quit [Quit: Goodbye for now]
shelvacu has joined #crystal-lang
mgarciaisaia has quit [Quit: Leaving.]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 252 seconds]
bjz has joined #crystal-lang
soveran has joined #crystal-lang
mark_66 has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
undy1ng has quit [Quit: Leaving.]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 258 seconds]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 260 seconds]
Raimondii is now known as Raimondi
bjz has joined #crystal-lang
soveran has quit [Remote host closed the connection]
bjz_ has quit [Ping timeout: 248 seconds]
sz0 has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
early has quit [Quit: Leaving]
early has joined #crystal-lang
ssvb has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Papierkorb> There's been a Google Tech Talk on Crystal: https://www.youtube.com/watch?v=8FvrBLWUwxc
<Papierkorb> (Just flew by in my youtube subscription box, dunno if it's been posted before)
<Yxhuvud> I saw some pre-announcements to it before, but not the final talk. thanks!
<crystal-gh> [crystal] ysbaddaden closed pull request #3986: AlpineLinux and musl-libc fixes (master...core-iconv-musl-libc) https://git.io/vDsKr
<DeBot> https://github.com/crystal-lang/crystal/pull/3986 (AlpineLinux and musl-libc fixes)
kostya_ has joined #crystal-lang
soveran has quit [Remote host closed the connection]
voldz1tic3n has joined #crystal-lang
<travis-ci> crystal-lang/crystal#2b57a98 (master - Merge pull request #3986 from ysbaddaden/core-iconv-musl-libc): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/198870588
<DeBot> https://github.com/crystal-lang/crystal/pull/3986 (AlpineLinux and musl-libc fixes)
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 255 seconds]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
mgarciaisaia has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
<RX14> travis please no: https://aww.moe/9z800e.png
kostya_ has quit [Quit: Leaving]
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
[spoiler] has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
[spoiler] has quit [Client Quit]
[spoiler] has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #crystal-lang
voldz1tic3n has quit [Ping timeout: 255 seconds]
<BlaXpirit> Gitter's API is finally up, and so is the bridge bot. @zathers, @Sija, @rebizu, your recent messages were not seen on IRC, sorry for that
<RX14> I wish discord was more acceptable as a developer tool, it's pretty much the best chat app out there
voldz1tic3n has joined #crystal-lang
<BlaXpirit> zatherz, I am interested to hear more about the problem you had with CrSFML. not sure what exactly is going on
<BlaXpirit> zatherz, not sure what this "entity" is supposed to represent. and i don't think it's a good idea to store a class in a struct. also the thing you mentioned "a @texture field obviously to not let the GC destroy it" is not needed anymore (hopefully, anyway)
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
DeBot has quit [Remote host closed the connection]
DeBot has joined #crystal-lang
sz0 has joined #crystal-lang
bjz has joined #crystal-lang
voldz1tic3n has quit [Ping timeout: 240 seconds]
<FromGitter> <kawikaconnell> I have a question, is there a way to get what types the constructor args need on classes/structs? I want to try creating a Dependency Injection Container that tries to resolve typed dependencies automatically.
<Yxhuvud> I don't have an answer for you, but are you talking runtime or compiletime?
<FromGitter> <kawikaconnell> Probably compiletime. I am kinda new to crystal.
<RX14> @kawikaconnell you should probably have a macro which generates a self.new method which calls the constructor with the correct args
<FromGitter> <kawikaconnell> So the macro overrides the classes\structs new method?
<RX14> well it doesn't have to override
<RX14> depends
<Papierkorb> kawikaconnell, imho, it'd make more sense to generate getter-like methods instead of loading the class with @variables in Crystal if you want to do something DI-esque
<RX14> yeah, I think there are better ways of doing it
<FromGitter> <kawikaconnell> I was taking inspiration from the way Laravel (PHP Framework) does it.
<Papierkorb> kawikaconnell, e.g.: `macro instance_getter(name, type); def {{name.id}}; TheDI.instance[{{ name.stringify }}].as({{ type.id }}); end; end` Can be improved to support the same syntax that `getter` supports somewhat easily
<RX14> well
<RX14> actually
<RX14> i think it's best as constructor args
<RX14> because then you don't need to set up the whole DI for testing
DeBot has quit [Quit: Crystal IRC]
<RX14> you just load them in
DeBot has joined #crystal-lang
<RX14> here's how you get constructors: https://carc.in/#/r/1m10
<FromGitter> <kawikaconnell> Thank you for all the help, I have to go so I will try to make sense of all this later. Thanks again.
<Yxhuvud> Though to be honest, I'd suggest you give us a little piece of code and perhaps we can make something nicer out of it
<FromGitter> <kawikaconnell> Like a sample of the syntax I am looking for?
<Yxhuvud> sample of the actual problem you are solving. not of how you think you want to do it
DeBot has quit [Client Quit]
DeBot has joined #crystal-lang
<RX14> quick 10 minute hack and it worked
<RX14> @kawikaconnell https://carc.in/#/r/1m1d
<FromGitter> <kawikaconnell> Well after giving it some thought I have come to the conclusion that I should probably tinker somewhere less complicated and solve an actual problem, because I really had no problem to solve by creating a DI container. However, when I do run into an issue I will try again.
<FromGitter> <kawikaconnell> Also those links are acting weird where the page looks broken.
<RX14> how so?
<FromGitter> <kawikaconnell> I guess they expired?
<RX14> those links don't expire
<Yxhuvud> works for me.
<RX14> this is what I see: https://aww.moe/78y2di.png
<RX14> oh dear
<RX14> this website always seems to have problems
<FromGitter> <kawikaconnell> If I may ask, how often are you on?
<RX14> i'm on when i'm trying to procrastinate
<RX14> so pretty much all the time
<wmoxam> lol
<FromGitter> <kawikaconnell> Lol, okay.
<FromGitter> <kawikaconnell> So I will probably just do what all devs do best, build a todo list app.
<FromGitter> <kawikaconnell> And I will try to hit walls and solve problems, and hopefully learn Crystal.
<RX14> hope you have fun :)
<FromGitter> <kawikaconnell> Thank you.
<FromGitter> <kawikaconnell> Is your name always RX14?
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RX14> yes
<RX14> has been for years
<FromGitter> <kawikaconnell> Okay, I was gonna memorize the name so I can talk to you when I need help, if that is okay with you of course.
<RX14> that's fibne
<RX14> fine*
<FromGitter> <kawikaconnell> Well I have to go, have a nice one.
<RX14> same to you
<Papierkorb> Sometimes I think building stuff is too easy with Crystal. Oh the hours spent on writing the CMakeLists.txt in C++ projects only for it to blow up a week later cause you dared to update a dependency.
vikaton has joined #crystal-lang
<RX14> I prefer the web before all this useless whitespace (or in this case blackspace) appeared: https://aww.moe/iyinh8.png
<RX14> after the fold it's aight but...
<Papierkorb> Looks like the CSS broke
<RX14> nope, new site
<RX14> it's ina branch of crystal-website
<RX14> after the fold: https://aww.moe/mv3f7p.png
<Papierkorb> I don't think the page even needs a jumbotron
<RX14> yeah, same here
<BlaXpirit> well if they're redesigning the website you know stuff got real
<Papierkorb> If the slogan is deemed important, maybe it could be incorporated into the header navbar?
<BlaXpirit> good stuff
<RX14> indeed
<Papierkorb> nice
<RX14> i'd suggest leaving comments in an issue maybe? while making fun of it's well.. fun i'd be nice to leave some feedback
<RX14> not sure if it's in the right stage for feedback though
sz0 has quit [Quit: Connection closed for inactivity]
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
voldz1tic3n has joined #crystal-lang
Dreamer3_ has joined #crystal-lang
badeball_ has joined #crystal-lang
omninonsense has joined #crystal-lang
jhass|off has joined #crystal-lang
FromGitter has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
dannyAAM has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
badeball has quit [*.net *.split]
TheGillies has quit [*.net *.split]
Vallkury[m] has quit [*.net *.split]
jokke has quit [*.net *.split]
dzv has quit [*.net *.split]
jhass has quit [*.net *.split]
jhass|off is now known as jhass
FromGitter has joined #crystal-lang
dannyAAM has joined #crystal-lang
CompanionCube has quit [Ping timeout: 260 seconds]
Vallkury[m] has joined #crystal-lang
jokke has joined #crystal-lang
TheGillies has joined #crystal-lang
dzv has joined #crystal-lang
CompanionCube has joined #crystal-lang
soveran has quit [Remote host closed the connection]
mgarciaisaia has quit [Read error: Connection reset by peer]
mgarciaisaia1 has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia1 has quit [Read error: Connection reset by peer]
mgarciaisaia has quit [Quit: Leaving.]