RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.27.1 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
_whitelogger has joined #crystal-lang
<FromGitter> <HarrisonB> Ugh there’s a really negative commenter in the /r/programming 0.27.1 announcement thread that’s bumming me out
<FromGitter> <girng> let me see
<FromGitter> <girng> yeah, but which post?
<FromGitter> <girng> the for loop one ?
<FromGitter> <HarrisonB> Yea
<FromGitter> <HarrisonB> I dunno, it’s just like, each lang has its own conventions and stuff
<FromGitter> <girng> oh lord. i had that same feeling back when i started lol. i hope that isn't a game breaker.. they are going to be missing out (plus, can be done w/ a macro)
<FromGitter> <HarrisonB> Haha yep
<FromGitter> <anamba> my travis-ci build is still busted :( not sure there's anything i can do about that on my own
<FromGitter> <anamba> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5c55001fceb5a2264f7cd98d]
<FromGitter> <anamba> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5c5500437b68f9410258b7fb]
moei has joined #crystal-lang
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #crystal-lang
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5c550fefc2dba5382ec83509]
<FromGitter> <Blacksmoke16> think there is an issue with auto casting in `0.27.1` pretty sure this was working before
<FromGitter> <Blacksmoke16> oh nvm, apparently it doesnt work before either :p
_whitelogger has joined #crystal-lang
cyberarm has quit [Ping timeout: 272 seconds]
cyberarm has joined #crystal-lang
moei has quit [Ping timeout: 268 seconds]
_whitelogger has joined #crystal-lang
<FromGitter> <vladfaust> How to get bytes of a number, i.e. `42`? `42.to_slice` doesn't work...
<FromGitter> <HarrisonB> @vladfaust maybe using `IO::ByteFormat`? https://crystal-lang.org/api/0.27.1/IO/ByteFormat.html
<FromGitter> <HarrisonB> oops beat me to it haha
<FromGitter> <vladfaust> Thanks, @HarrisonB :)
moei has joined #crystal-lang
ashirase has quit [Ping timeout: 246 seconds]
ashirase has joined #crystal-lang
ua_ has joined #crystal-lang
ua has quit [Read error: Connection reset by peer]
ua_ is now known as ua
Jenz has joined #crystal-lang
<Jenz> Moin to you all
<Jenz> Happy .27.1 is out
<Jenz> Sad it took two whole days for the archlinux package to be updated D:
Jenz has quit [Remote host closed the connection]
<FromGitter> <mamantoha> I create the question in Travis CI forum https://travis-ci.community/t/apt-get-install-crystal-0-27-1-failed/2093
return0e has quit [Ping timeout: 245 seconds]
return0e has joined #crystal-lang
<FromGitter> <Sija> @mamantoha @bcardiff should take a look at it
Jenz has joined #crystal-lang
<Jenz> We're having the same issues with Crystal on Travis over at myst-lang
Jenz has quit [Quit: leaving]
<FromGitter> <Blacksmoke16> i really wish you could access `@type.instance_vars` in a `finished` macro
<FromGitter> <Blacksmoke16> otherwise i dont think there is a way to handle relations without a macro...
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/65e9 like that
<mps> RX14: can confirm result in your image posted last night. Same error codes and messages invoking 'make spec' on Alpine 3.9 with llvm5
<oprypin> i just ran `git pull` in local crystal repo and i see 'Feb 1' in the commit log and my only thought is "wtf is this old commit, why didn't `git pull` work"
<oprypin> i'm still living in 2018 apparently
<FromGitter> <mpcjanssen> @HarrisonB there are languages nobody complains about and there are languages being used.
<FromGitter> <HarrisonB> @mpcjanssen haha, true
<FromGitter> <HarrisonB> @Sija , is there an up to date version of the Crystal docs for Dash? IIRC you had pepared that originally (though i could be mistaken)
jemc has joined #crystal-lang
jemc has quit [Ping timeout: 240 seconds]
<FromGitter> <Prutheus> Can someone help me here: https://github.com/ysbaddaden/selenium-webdriver-crystal/issues/35 please
<FromGitter> <girng> @oprypin i had something similiar happen when buying something on amazon. the `debit card expired dropdown list` only went to 2019, but my card expired on september 9th, 2018. so i contacted them and said the dropdown list is bugged. but then i realized two things. i was using an old debit card that expired, and... it's not 2018 anymore it's 2019. so i grabbed my other card that expires in 2021. cut up the other
<FromGitter> ... card and threw it away. i felt like an idiot in the live chat.. 😆
<FromGitter> <Sija> @HarrisonB I did indeed, and yes, current docs are outdated (I didn’t get to updating it yet since my ssd went south :/)… the whole process is not that complicated though, you could try it yrself :)
<oprypin> :>
<FromGitter> <HarrisonB> @Sija I just might! sorry to hear about your SSD :(
<FromGitter> <maiha> @Prutheus Did you start Selenium Server? The library is not "server" but "client". First, ready the server as usage said. Then could you try `Selenium::Webdriver.new(host, port)`?
<FromGitter> <kevinelliott> Anyone aware of a `whois` shard for doing domain lookups?
<FromGitter> <vladfaust> @Blacksmoke16, @RX14 is it possible to get symbol in compilation time like ⏎ ⏎ ```def foo(bar : T) forall T ⏎ {% pp! T == :id %}``` [https://gitter.im/crystal-lang/crystal?at=5c56003093fe7d5ac0322302]
<FromGitter> <bew> T is supposed to be a type here..
<FromGitter> <Blacksmoke16> annotation would be a way
<FromGitter> <vladfaust> Sec
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/65ib
<FromGitter> <vladfaust> What I'm trying to achieve: https://play.crystal-lang.org/#/r/65if
<FromGitter> <vladfaust> Symbols are special thing known in compilation time, but we don't have access to them in this case
<FromGitter> <vladfaust> I want to raise if `returning` argument is an invalid (non-existing) key
<FromGitter> <vladfaust> Moreover, I'm unable to define Enums as well for autocasting feature, because ivars aren't known at this moment
<FromGitter> <Blacksmoke16> could make an array at compile time and pass the returning value as a string and raise if that string isnt in the array
<FromGitter> <Blacksmoke16> but that would be at runtime
<FromGitter> <vladfaust> Runtime is a problem, indeed. I'd like to make it work in compilation time
<FromGitter> <Blacksmoke16> how
<FromGitter> <vladfaust> I don't know =)
<FromGitter> <vladfaust> Symbols should be known at this moment. Some kind of `TypeNode#symbol_value` thing, I guess?
<FromGitter> <vladfaust> Yes, yes, that's mad
<FromGitter> <Blacksmoke16> yea thats not something you can do afaik
<FromGitter> <Blacksmoke16> dont have access to the method's param at compile time
<FromGitter> <Blacksmoke16> only the type really
<FromGitter> <Blacksmoke16> just make it return the PK?
<FromGitter> <vladfaust> I'll make it runtime for now, will discuss the Symbols stuff with the team
<FromGitter> <Blacksmoke16> rgr
Dreamer3 has joined #crystal-lang
Dreamer3 has quit [Quit: Computer has gone to sleep.]
jemc has joined #crystal-lang
jemc has quit [Ping timeout: 240 seconds]