jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.11.1 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
zodiak has joined #crystal-lang
tomchapi_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Philpax has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
shama has quit [Remote host closed the connection]
kfpratt has joined #crystal-lang
shama has joined #crystal-lang
Philpax has quit [Read error: Connection reset by peer]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
fowlduck 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
trapped has joined #crystal-lang
Philpax has joined #crystal-lang
bougyman has quit [Ping timeout: 240 seconds]
bougyman has joined #crystal-lang
triangles2 has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
aethe has joined #crystal-lang
aethe has quit [Client Quit]
aethe has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 245 seconds]
elia has joined #crystal-lang
aethe has quit [Quit: aethe]
pawnbox_ has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
mlitwiniuk has joined #crystal-lang
elia has joined #crystal-lang
mlitwiniuk has quit [Client Quit]
mlitwiniuk has joined #crystal-lang
trapped has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia_ has joined #crystal-lang
pawnbox_ has joined #crystal-lang
ponga has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
elia_ has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia_ has joined #crystal-lang
elia_ has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia_ has joined #crystal-lang
elia_ has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
Philpax has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
pawnbox has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia_ has joined #crystal-lang
elia_ has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 245 seconds]
Sadin has quit [Remote host closed the connection]
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vgu2H
<crystal-gh> crystal/master 81168d7 Ary Borenszweig: Semantic: add a second pass to process type declarations (this was previously done in the main visitor). Refactor and document the type inference from a bird's eye view.
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vguas
<crystal-gh> crystal/master 7dfee5f Ary Borenszweig: Merge pull request #2122 from manastech/better_proc_mangling...
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vguaw
<crystal-gh> crystal/master 4ce718e Alexander Popov: HTTP::Headers#merge! returns self
<crystal-gh> crystal/master 2c72a99 Ary Borenszweig: Merge pull request #2111 from AlexWayfer/http_headers-merge-return-self...
<travis-ci> manastech/crystal#81168d7 (master - Semantic: add a second pass to process type declarations (this was previously done in the main visitor). Refactor and document the type inference from a bird's eye view.): The build passed. https://travis-ci.org/manastech/crystal/builds/108034601
<travis-ci> manastech/crystal#7dfee5f (master - Merge pull request #2122 from manastech/better_proc_mangling): The build passed. https://travis-ci.org/manastech/crystal/builds/108035169
<DeBot> https://github.com/manastech/crystal/pull/2122 (Enhanced proc mangling)
<travis-ci> manastech/crystal#2c72a99 (master - Merge pull request #2111 from AlexWayfer/http_headers-merge-return-self): The build passed. https://travis-ci.org/manastech/crystal/builds/108035348
<DeBot> https://github.com/manastech/crystal/pull/2111 (HTTP::Headers#merge! returns self)
elia has quit [Read error: Connection reset by peer]
elia_ has joined #crystal-lang
elia_ has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
kostya has joined #crystal-lang
<crystal-gh> [crystal] tmtm opened pull request #2130: add String#scrub, String#valid_encoding? (master...string-scrub) https://git.io/vgu7m
fowlduck_ has joined #crystal-lang
fowlduck has quit [Ping timeout: 250 seconds]
Sadin has joined #crystal-lang
shama has joined #crystal-lang
crime has joined #crystal-lang
<crime> so does Crystal compile to C or does it have it's own VM?
<BlaXpirit> crime, based on LLVM
<crime> dope, hey I recognize ur handle
<crime> i have read something you've written, for sure
<BlaXpirit> :o
<crime> oh, it's crSFML, yeah I was looking at that. I really want to write a simple game in ruby, but ruby sucks for that. is crSFML as dope as it sounds?
<BlaXpirit> crime, no, slightly less dope than it sounds
<crime> oh
<crime> well still, hail crystal
<BlaXpirit> there are some problems, with crystal mainly, that don't let it show all its greatness
<crime> it'll come to with some time, mate
<BlaXpirit> crime, multithreading is nerfed. C structs can't be customized so there is some ugliness in crsfml API. there are rare bugs in interaction with C ABI. and of course... no Windows support
<BlaXpirit> but the threading part is more on SFML, they're too hardcoded in it
<BlaXpirit> crime, but please don't be disouraged. at the very least, it's a lot of fun and there were no showstoppers as far as I can see. wrote a few games myself (mostly clones), maybe you've seen crsfml-examples
<crime> yes, I havent tried them yet but I will do that now
<BlaXpirit> crime, you still can see the animations https://github.com/blaxpirit/crsfml-examples#readme
elia has quit [Read error: Connection reset by peer]
<crime> wow slither looks so crazy
elia has joined #crystal-lang
tomchapi_ has joined #crystal-lang
tomcha___ has quit [Ping timeout: 250 seconds]
crime has quit [Quit: Page closed]
elia has quit [Read error: Connection reset by peer]
<jeromegn> ah, using datanoise/openssl is pretty much impossible now since both core implementation and datanoise's have similar defined vars. I get `already initialized constant LibCrypto::PKCS5_SALT_LEN`
Sadin has quit [Remote host closed the connection]
kostya has quit [Quit: Leaving]
<jokke> do you guys have experience with systemd socket activation?
<jokke> i'm trying to write a test program that utilizes it
<jokke> sorry
<jokke> but i get the following error when starting with socket activation: Error reading file: Transport endpoint is not connected (Errno)
Sadin has joined #crystal-lang
Sadin has quit [Remote host closed the connection]
Sadin has joined #crystal-lang
Sadin has quit [Remote host closed the connection]
<BlaXpirit> jokke, i used systemd socket but without getting into much details
<jokke> so nothing you wrote yourself?
<BlaXpirit> yes. i took a product made in python, then googled some stuff how to adapt it to systemd socket
<jokke> mh ok
<BlaXpirit> jokke, interesting code you have there, i see nothing wrong with it
Sadin has joined #crystal-lang
<BlaXpirit> jokke, so the weird thing is you're supposed to "accept" on that socket
<jokke> ah ok
<jokke> where did you find that info?
<BlaXpirit> my google query was ... "systemd socket" :LD
<BlaXpirit> :D *
<jokke> :P
<BlaXpirit> jokke, i did it!
<BlaXpirit> cuz it's not normally supported by crystal, i dont think
<BlaXpirit> jokke, https://bpaste.net/show/26d2d3a0e837 i ripped out many parts though. needs polishing
Sadin has quit [Remote host closed the connection]
<jokke> hm yeah i tried monkeypatching TCPServer but that doesn't seem to work
<jokke> hm weir
<jokke> d
<jokke> says unexpected token ::
<jokke> ah
<jokke> my bad
<jokke> hm no
<jokke> super weirt
<jokke> *weird
<jokke> BlaXpirit: you sure that it compiles?
<BlaXpirit> jokke, just try my code
<jokke> nop
<jokke> e
<jokke> not compiling here...
<jokke> wtf
<jokke> unexpected token: ::
<jokke> client_addr :: LibC::SockAddrIn6
<jokke> BlaXpirit: alright
<BlaXpirit> jokke, what
<jokke> i checked the manpage for accept
<jokke> should be fine
<jokke> cool stuff!
<BlaXpirit> jokke, and you have some choices here. serve 1 request and quit. loop until it's shut down. or keep the process alive for some time (this needs to be manually implemented in crystal)
<BlaXpirit> currently your code seems to serve 1 and quit
<jokke> yeah
<jokke> that's what i was after
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
tomchapi_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has joined #crystal-lang
elia has joined #crystal-lang
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has joined #crystal-lang
djellemah_ has joined #crystal-lang
djellemah has quit [Ping timeout: 256 seconds]
pawnbox has joined #crystal-lang
robacarp has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
aethe has joined #crystal-lang
Philpax has joined #crystal-lang
tomchapin has quit [Ping timeout: 248 seconds]
Philpax has quit [Ping timeout: 240 seconds]
Philpax has joined #crystal-lang
aethe has quit [Quit: aethe]
BlaXpirit has quit [Quit: Bye]
BlaXpirit has joined #crystal-lang
trapped has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
tomchapin has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
tomchapi_ has joined #crystal-lang
tomchapin has quit [Ping timeout: 250 seconds]
Sadin has joined #crystal-lang
greyblake has joined #crystal-lang
<greyblake> Hi! Am trying to port some functions from glib2 and make them play with GC.
<greyblake> Any ideas are welcome! =)
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]