ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.22.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
Kug3lis has quit [Ping timeout: 252 seconds]
splitty_ has joined #crystal-lang
splitty__ has quit [Ping timeout: 240 seconds]
Kug3lis has joined #crystal-lang
Kug3lis has quit [Ping timeout: 240 seconds]
Kug3lis has joined #crystal-lang
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sz0 has joined #crystal-lang
_whitelogger has joined #crystal-lang
chatter29 has joined #crystal-lang
chatter29 has quit [Client Quit]
chatter29 has joined #crystal-lang
chatter29 has left #crystal-lang [#crystal-lang]
<crystal-gh> [crystal] MrSorcus opened pull request #4329: Unlink a node. (master...master) https://git.io/v9TyI
Qchmqs has joined #crystal-lang
bjz has quit [Ping timeout: 240 seconds]
bjz has joined #crystal-lang
McSoFake has joined #crystal-lang
<FromGitter> <codenoid> blob:https://web.telegram.org/6376a8a8-0255-4005-a23e-1a23fad2f913
<FromGitter> <codenoid> my mongodb wont work :( https://s3.postimg.org/yht9vdu1v/mongo1.png
kodo[m] has quit [Ping timeout: 240 seconds]
kodo[m] has joined #crystal-lang
unshadow has joined #crystal-lang
<crystal-gh> [crystal] MrSorcus closed pull request #4329: Unlink a node. (master...master) https://git.io/v9TyI
<unshadow> I started working on a MUD (multiplayer text based game) in Crystal, the git is here (license MIT) https://github.com/bararchy/legacy_of_man if it's someones cup of tea you are more then invited to join :)
<FromGitter> <codenoid> @FromIRC thanks unshadow, i can learn from your code ;)
<unshadow> XD you welcome, though I would not take my code as somekind of a learning meterial haha I'm not so sure how great it is in this point of the project
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
_whitelogger has joined #crystal-lang
<crystal-gh> [crystal] MrSorcus closed pull request #4329: Unlink a node. (master...master) https://git.io/v9TyI
<crystal-gh> [crystal] MrSorcus opened pull request #4331: Unlink XML node. (master...master) https://git.io/v9T75
<kodo[m]> unshadow: I've always been tempted to make a mud where each object in the game is running its own fiber heh
<FromGitter> <mjago> <unshadow>: your first bug report? “intelegence” => “intelligence” :wink:
<FromGitter> <codenoid> please #4330
<DeBot> https://github.com/crystal-lang/crystal/issues/4330 (Invalid memory access (signal 11) at address 0x20 crystal mongodb)
<unshadow> mjago: Thanks XD, yeha, I got more then a few text lines
<unshadow> to fix
<wuehlmaus> thanks so very much for the great easy to understand documentation. It's a joy to read!
<FromGitter> <eliasjpr> Does anyone knows where I can read about *record*?
<FromGitter> <Sija> https://crystal-lang.org/api/0.22.0/toplevel.html#record%28name%2C%2Aproperties%29-macro
<FromGitter> <eliasjpr> Thank you @Sija
<FromGitter> <Sija> yw
McSoFake has quit [Quit: leaving]
Kug3lis has joined #crystal-lang
Kug3lis has quit [Ping timeout: 260 seconds]
Kug3lis has joined #crystal-lang
Ven has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
Ven is now known as Guest63917
Guest63917 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 260 seconds]
unshadow has quit [Quit: leaving]
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j2k has joined #crystal-lang
Qchmqs has quit [Ping timeout: 268 seconds]
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <bew> yahooo archlinux crystal official package update to 0.21.1 yesterday, and finally to 0.22.0 today :smiley:
<BlaXpirit> yay
<FromGitter> <eliasjpr> :tada:
A124 has quit [Ping timeout: 240 seconds]
unshadow has joined #crystal-lang
<unshadow> I saw in an issue that IO.select is non-blocking, how would I block until socket is readable ?
<RX14> unshadow, read from it
<RX14> what are you trying to do
<unshadow> Yeha, what if it returns nothing, but it's only because the underlaying read is buffering ? as in , I usually IO.select(socket, nil ,nil , timeout) and I know that if timeout is reached, there is not data in the socket, else, It returns and I read from it
<RX14> so you want a read timeout?
<RX14> you need an example of what you want to do
<unshadow> Yeha, also, what's the point of the Timeout in select if it just returns imidiatlly because all IO is non-blocking in Crystal ? XD
<unshadow> RX14: I'll pastebin it
A124 has joined #crystal-lang
<RX14> IO.select shouldn't return immediately...
<RX14> IO.select is broken
<RX14> don't use it ever
<FromGitter> <sdogruyol> lol
<RX14> IO.select shouldn't ever be used, you can always do it with fibers and channels
<RX14> I don't understand the point of the code
<unshadow> The point is buffer from a socket, if I dont know how much to read, so buffer until no data is avilable
<unshadow> as in, socket not readable
<RX14> when you say socket not readable
<RX14> EOF?
<RX14> you want to read data until no data is sent for 5 seconds? Why on earth would you want that?
<unshadow> Well, let's say you don't know how much data is supposed to be sent , and you buffer large data (gigas) , it might have network stutters because of long destination , etc..
<RX14> what problem are you trying to solve here
<RX14> more generally
<unshadow> RX14: TBH while talking about it I might got a better idea on how to handle that XD testing and will share, it might explain better what I'm trying to achive
A124 has quit [Ping timeout: 240 seconds]
Yxhuvud has quit [Remote host closed the connection]
Yxhuvud has joined #crystal-lang
<FromGitter> <schoening> I love the trackpad on the mbp omfg! Does 2 finger right click work on linux diatros
<FromGitter> <schoening> Distros * coz I might install Linux for dev stuff
<FromGitter> <bew> all is configurable
<Papierkorb> isn't "2 finger rightclick" been a feature of almost any notebook in the last decade?
<Papierkorb> hasn't*
<RX14> natural scrolling, two finger scrolling, and two finger rightclick work on my trashy linux laptop from 2009
<RX14> all it needs is a synaptics touchpad and it'll work
<FromGitter> <schoening> Ive used the ThinkPad nipple for the last year so idk. And that ThinkPad was from 2010. This 2012 mbp is blowing my mind LOL
Ven has joined #crystal-lang
Ven is now known as Guest13374
<FromGitter> <schoening> Ok ty. Sorry for the off topic question. But this is my favorite dev chat lol . Learning tons here ^^
<FromGitter> <sdogruyol> it's ok .9
<FromGitter> <sdogruyol> :)
<RX14> as I said before, off-topic is fine as long as the chat is quiet
Guest13374 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
balduin has joined #crystal-lang
A124 has joined #crystal-lang
Kug3lis has joined #crystal-lang
bjz has joined #crystal-lang
ssvb has quit [Ping timeout: 246 seconds]
ssvb has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
mayhew has joined #crystal-lang
<FromGitter> <Sija> mhhh, I loved tickling thinkpad clit… :saxophone:
<FromGitter> <Sija> for any1 interested: Crystal docs for Dash (https://kapeli.com/dash) just got updated to the newest API version (v0.22.0)
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
mayhew has quit [Remote host closed the connection]
unshadow has quit [Ping timeout: 260 seconds]
unshadow has joined #crystal-lang
<FromGitter> <schoening> Where can I read about 0.22 changes?
<FromGitter> <schoening> thx!
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kug3lis has quit [Read error: Connection reset by peer]
Kug3lis_ has joined #crystal-lang
balduin has quit [Quit: Leaving.]
<crystal-gh> [crystal] mverzilli pushed 1 new commit to master: https://git.io/v9kgX
<crystal-gh> crystal/master 65a3f5a TSUYUSATO Kitsune: Formatter: reduce spec's requires (#4188)...
<FromGitter> <romeroadrian> can't get this working https://gist.github.com/romeroadrian/1ca41e2a9fc0ca8212fd40b8c5405989
<FromGitter> <romeroadrian> non-secure websocket works fine