jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.7 | 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
ruby_ has joined #crystal-lang
ruby_ has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 258 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/viGU4
<crystal-gh> crystal/master e9ab595 Ary Borenszweig: Compiler: fixed restriction of alias against generic. Fixes #3261
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 244 seconds]
vikaton has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
bjz has joined #crystal-lang
bungoman has quit [Read error: Connection reset by peer]
bungoman has joined #crystal-lang
<travis-ci> crystal-lang/crystal#e9ab595 (master - Compiler: fixed restriction of alias against generic. Fixes #3261): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/157762375
pawnbox has joined #crystal-lang
Philpax has quit [Ping timeout: 244 seconds]
kulelu88 has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 244 seconds]
Philpax has joined #crystal-lang
onionhammer has quit [Quit: WeeChat 1.0.1]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 244 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 255 seconds]
Philpax has quit [Read error: Connection reset by peer]
ruby_ has joined #crystal-lang
ruby_ has quit [Ping timeout: 255 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
bjz has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
ruby_ has joined #crystal-lang
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #crystal-lang
ruby_ has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
Philpax has quit [Ping timeout: 244 seconds]
DeBot has joined #crystal-lang
dhk has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
dhk has quit [Quit: Leaving]
mark_66 has joined #crystal-lang
Philpax has joined #crystal-lang
globalkeith has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
bjz has joined #crystal-lang
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 255 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
Nik736 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<BlaXpirit> seriously though, no cycle detection seems like a big problem. https://carc.in/#/r/18mf vs https://carc.in/#/r/18mg
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
gewo has joined #crystal-lang
bazaar has quit [Quit: leaving]
bazaar has joined #crystal-lang
<FromGitter> <sdogruyol> ah so you can trigger Gc like that
<FromGitter> <sdogruyol> is it reliable?
<BlaXpirit> nobody knows
<FromGitter> <sdogruyol> isn't Boehm conversative?
<FromGitter> <sdogruyol> i assume that it should be reliable
<BlaXpirit> i don't know but all I see is it can't collect items that aren't referenced by anything but reference each other
<FromGitter> <sdogruyol> how can be a cyclic reference live that much?
<FromGitter> <sdogruyol> i mean can it live
<FromGitter> <sdogruyol> lol
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
pawnbox has joined #crystal-lang
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
tomchapi_ has joined #crystal-lang
tomchapin has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
pawnbox has joined #crystal-lang
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 250 seconds]
<Papierkorb> I added Int#zero? and #bit? in my project: https://gist.github.com/Papierkorb/74a932031b3c0a71518ad3cc2518884b Would a PR be appreciated?
<Papierkorb> Sure with docs and tests, but you get the idea
<BlaXpirit> Papierkorb, the PR would probably be disputed
bungoman has quit [Read error: Connection reset by peer]
bungoman has joined #crystal-lang
ruby_ has joined #crystal-lang
onionhammer has joined #crystal-lang
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #crystal-lang
ruby_ has quit [Ping timeout: 252 seconds]
ruby_ has joined #crystal-lang
xmgx has joined #crystal-lang
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #crystal-lang
ruby_ has quit [Ping timeout: 265 seconds]
mark_66 has quit [Quit: Leaving.]
tilpner has quit [Quit: :wq]
tilpner has joined #crystal-lang
<RX14> BlaXpirit, there's already a bit method on int
<RX14> i don't see the point of bit?5 instead of bit(5) == 1 though
<RX14> or .zero? instead of == 0
onethirtyfive has joined #crystal-lang
xmgx has quit [Remote host closed the connection]
onethirtyfive has quit [Ping timeout: 252 seconds]
<Papierkorb> RX14: It's shorter and more readable in my case
<RX14> == 0 is actually shorter...
<RX14> foo == 0
<RX14> foo.zero?
<Yxhuvud> I suppose it make rubyists feel like home
<RX14> i think it's ugly
<Papierkorb> yet less readable when used in conjunction, which I have a lot of in my current project
<RX14> in conjunction with what?
<Papierkorb> bit?
ruby_ has joined #crystal-lang
ruby_ has quit [Remote host closed the connection]
ruby_ has joined #crystal-lang
ruby_ has quit [Client Quit]
dhk has joined #crystal-lang
<FromGitter> <drosehn> FWIW, I do like .zero?, because it's clear and it's safer (from programmer mistakes) than == 0. The programmer mistake being '= 0' when you meant '== 0'.
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
globalkeith has quit [Client Quit]
<BlaXpirit> let's add the methods for each number because it's safer
globalkeith has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<FromGitter> <drosehn> Ho Ho Ho.
globalkeith has quit [Client Quit]
globalkeith has joined #crystal-lang
<FromGitter> <sdogruyol> i'like to have `forty_two?`
<BlaXpirit> could be done thru method_missing
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kulelu88 has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
<Yxhuvud> sdogruyol: like http://apidock.com/rails/Array/forty_two ?
Ven_ has joined #crystal-lang
<FromGitter> <crisward> anyone know a nice way of creating an int24
<FromGitter> <crisward> like to_i8, to_i16, to_i32 etc but for 24
onethirtyfive has joined #crystal-lang
dhk has quit [Quit: Leaving]
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
onethirtyfive has quit [Ping timeout: 260 seconds]
<RX14> int24 doesn't exist...
<RX14> what do you need it for?
<Yxhuvud> RGB?
<RX14> use a tuple of 3 int8's
soveran has joined #crystal-lang
willl has joined #crystal-lang
soveran has quit [Ping timeout: 244 seconds]
<FromGitter> <crisward> mysql driver
<FromGitter> <crisward> this worked - write(UInt8.slice(v.to_i8, v >> (8).to_i8, v >> (16).to_i8))
<BlaXpirit> >> UInt8.slice(123456 >> 8)
<DeBot> BlaXpirit: # => Slice[226] - https://carc.in/#/r/18rd
<rkeene> Is there any existing Crystal packages to do something like Wt ( https://www.webtoolkit.eu/wt ) or WubTk ( http://fios.com/wubtk/tcl2010-wubtk.pdf ) ?
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<RX14> rkeene, not that i'm aware of
Philpax has quit [Ping timeout: 250 seconds]
bungoman has quit [Ping timeout: 250 seconds]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
mgarciaisaia1 has joined #crystal-lang
qard has joined #crystal-lang
soveran has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia1 has quit [Ping timeout: 240 seconds]
<rkeene> :-(
soveran has quit [Ping timeout: 264 seconds]
<FromGitter> <txdv> o nice
mgarciaisaia has left #crystal-lang [#crystal-lang]
<rkeene> It doesn't have to be quite as fancy, something really basic about creating widgets and attaching stateful code to them would be good enough
soveran has joined #crystal-lang
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 264 seconds]
Dreamer3 has joined #crystal-lang
soveran has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
Dreamer3 has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
<rkeene> I like this reply a lot better than the #go-nuts reply where I spent an hour explaining that I really do want to do it and they argue over misunderstandings for an hour.
Nik736 has quit [Quit: Textual IRC Client: www.textualapp.com]
<FromGitter> <sdogruyol> Which reply
globalkeith has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RX14 has left #crystal-lang ["Leaving"]
RX14 has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
akwiatkowski has joined #crystal-lang
jewing has joined #crystal-lang
jewing has quit [Client Quit]
Philpax has joined #crystal-lang
jewing has joined #crystal-lang
globalkeith has joined #crystal-lang
pawnbox has joined #crystal-lang
globalkeith has quit [Client Quit]
pawnbox has quit [Ping timeout: 276 seconds]
jewing has quit [Quit: Leaving]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 265 seconds]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Philpax has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]