jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.7 | 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
waj_ has quit [Ping timeout: 244 seconds]
waj has joined #crystal-lang
waj has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 255 seconds]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
NeverDie has quit [Quit: http://radiux.io/]
idontcare has quit [Quit: Leaving]
NeverDie has joined #crystal-lang
waterlin1 has joined #crystal-lang
waterlink has quit [Ping timeout: 246 seconds]
fowlduck has quit [Remote host closed the connection]
trapped has quit [Read error: Connection reset by peer]
fowlduck has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
waj_ has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
waterlin1 has quit [Ping timeout: 260 seconds]
waj_ has quit [Read error: Connection reset by peer]
waj__ has joined #crystal-lang
<crystal-gh> [crystal] waj pushed 7 new commits to master: http://git.io/vZs2s
<crystal-gh> crystal/master 8b2eecc Juan Wajnerman: Build debug info compatible with LLVM 3.6
<crystal-gh> crystal/master f881701 Juan Wajnerman: Support either LLVM 3.5 or 3.6 for debug extensions
<crystal-gh> crystal/master 36021c7 Juan Wajnerman: Removed "puts" for debugging. Clear the current debug location when the node doesn't have one.
waj__ has quit [Remote host closed the connection]
<travis-ci> manastech/crystal#f6ff838 (master - Some more fixes for debug locations in function preludes and function pointers): The build passed. https://travis-ci.org/manastech/crystal/builds/79396658
waj_ has joined #crystal-lang
kulelu88 has left #crystal-lang ["Leaving"]
waj_ has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
ssvb has quit [Ping timeout: 255 seconds]
ponga has quit [Quit: Connection closed for inactivity]
havenwood has joined #crystal-lang
ssvb has joined #crystal-lang
lokulin has quit [Ping timeout: 246 seconds]
lokulin has joined #crystal-lang
lokulin has quit [Ping timeout: 255 seconds]
lokulin has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
qard has joined #crystal-lang
qard has quit [Client Quit]
qard has joined #crystal-lang
grindhold is now known as tinfoilhat
tinfoilhat is now known as grindhold
BlaXpirit has joined #crystal-lang
dorke has joined #crystal-lang
<dorke> hi! I am trying to create an array of Hashes - getting "can't use Hash(K, V) as generic type argument yet, use a more specific type" - suggestions&references are much appreciated
Ven has joined #crystal-lang
<BlaXpirit> dorke, gotta specify what the hash includes as well
<BlaXpirit> >> Array(Hash(String, Int32)).new
<DeBot> BlaXpirit: # => [] - http://carc.in/#/r/eid
<jokke> >> [] of Hash(String, Int32)
<DeBot> jokke: # => [] - http://carc.in/#/r/eie
<crystal-gh> [crystal] ysbaddaden pushed 2 new commits to master: http://git.io/vZGZ9
<crystal-gh> crystal/master cafe499 Will Leinweber: Benchmark::IPS bugfix and better comparison alignment...
<crystal-gh> crystal/master efc5db7 Julien Portalier: Merge pull request #1421 from will/benchmark-ips-formatting-2...
<travis-ci> manastech/crystal#efc5db7 (master - Merge pull request #1421 from will/benchmark-ips-formatting-2): The build passed. https://travis-ci.org/manastech/crystal/builds/79424424
kyrylo has joined #crystal-lang
dorke has quit [Ping timeout: 246 seconds]
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leafybasil has quit [Ping timeout: 250 seconds]
<crystal-gh> [crystal] jhass pushed 1 new commit to master: http://git.io/vZGEG
<crystal-gh> crystal/master 685855c Jonne Haß: Makefile: use command -v instead of which, more portable, no error output
<crystal-gh> [crystal] jhass closed pull request #1418: Add `Array#slice` and `Arrat#slice!` (master...create_slice) http://git.io/vZY8k
<travis-ci> manastech/crystal#685855c (master - Makefile: use command -v instead of which, more portable, no error output): The build passed. https://travis-ci.org/manastech/crystal/builds/79430457
leafybasil has joined #crystal-lang
Ven has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kgadek has quit [Ping timeout: 260 seconds]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
grindhold has quit [Quit: No Ping reply in 180 seconds.]
grindhold has joined #crystal-lang
Ven has joined #crystal-lang
oleh has joined #crystal-lang
<crystal-gh> [crystal] MakeNowJust opened pull request #1423: Gitbook supports Crystal source code highlight now. (gh-pages...crystal-highlight) http://git.io/vZZTo
Ven has quit [Read error: No route to host]
<crystal-gh> [crystal] jhass closed pull request #1423: Gitbook supports Crystal source code highlight now. (gh-pages...crystal-highlight) http://git.io/vZZTo
<crystal-gh> [crystal] kumpelblase2 opened pull request #1424: Added missing code highlighting to a code block (gh-pages...patch-2) http://git.io/vZZLX
<crystal-gh> [crystal] jhass closed pull request #1424: Added missing code highlighting to a code block (gh-pages...patch-2) http://git.io/vZZLX
ponga has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 2 new commits to master: http://git.io/vZZq1
<crystal-gh> crystal/master 811b48c Technorama Ltd: IO specs for partial read behavior
<crystal-gh> crystal/master 17a4faf Jonne Haß: Merge pull request #1372 from technorama/f/io_specs...
<oleh> hi all, I have started to write simple programs on Crystal, and faced with some weird behavior. see it here: https://github.com/OlegTsyba/crystal_weird_behavior
<oleh> can someone tell me what I did wrong?
<travis-ci> manastech/crystal#17a4faf (master - Merge pull request #1372 from technorama/f/io_specs): The build passed. https://travis-ci.org/manastech/crystal/builds/79453087
waj has joined #crystal-lang
trapped has joined #crystal-lang
waj has quit [Read error: Connection reset by peer]
waj_ has joined #crystal-lang
BlaXpirit has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 3 new commits to master: http://git.io/vZZcf
<crystal-gh> crystal/master e7d53b3 Technorama Ltd: Add Enumerable#max? and Enumerable#min?
<crystal-gh> crystal/master 0c561e3 Jonne Haß: Add #max_of?, #min_of?, #minmax?, #minmax_by? and #minmax_of? to...
<crystal-gh> crystal/master 4005ae8 Jonne Haß: Merge pull request #1397 from technorama/f/enumerable_max...
<travis-ci> manastech/crystal#0c561e3 (master - Add #max_of?, #min_of?, #minmax?, #minmax_by? and #minmax_of? to): The build passed. https://travis-ci.org/manastech/crystal/builds/79456954
<jhass> oleh: it's a compiler bug for sure, you're not using unsafe features so segfaults should never happen
<jhass> oleh: I think it's related to the upcast and crystal not correctly realizing that not all subclasses have those accessors
<jhass> er, downcast
havenwood has quit [Ping timeout: 265 seconds]
tatey_ has quit []
<jhass> oleh: okay, type inference is going wrong here. reduced example: http://play.crystal-lang.org/#/r/ej3
<jhass> oleh: maybe trying to resolve with a recursive algorithm can be a workaround for now
waj_ has quit [Remote host closed the connection]
Excureo has quit [Quit: No Ping reply in 180 seconds.]
Excureo has joined #crystal-lang
waj has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
kyrylo_ has joined #crystal-lang
waj has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 265 seconds]
kyrylo_ is now known as kyrylo
NeverDie has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
<crystal-gh> [crystal] tebakane opened pull request #1426: Add `Array#delete_at(index, count)` and `Array#delete_at(range)`. (master...expand_delete_at) http://git.io/vZZbd
NeverDie has joined #crystal-lang
<oleh> jhass: thanks for explanation, I hope it will be fixed in future
<jhass> asterite's usually fast on these ones ;)
waj has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vZnqo
<crystal-gh> crystal/master 87abbda Ary Borenszweig: Fixed #1425: Type inference going wrong in while loop with `&&`
tomchapin has joined #crystal-lang
<jhass> oleh: ^ see ;)
<jhass> oleh: if you want/need assistence in getting a HEAD compiler with that fix just ping back
trapped has quit [Ping timeout: 272 seconds]
<travis-ci> manastech/crystal#87abbda (master - Fixed #1425: Type inference going wrong in while loop with `&&`): The build passed. https://travis-ci.org/manastech/crystal/builds/79480107
<oleh> jhass: it's great. really fast and responsively ;)
havenwood has joined #crystal-lang
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
tomchapin has joined #crystal-lang
dylanmei has quit [Quit: ZZZzzz…]
oleh has quit [Quit: leaving]
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vZnVJ
<crystal-gh> crystal/master 320b3a3 Juan Wajnerman: Dockerfile now uses `make`. Fixes build after addition of LLVM extensions in c++.
<travis-ci> manastech/crystal#320b3a3 (master - Dockerfile now uses `make`. Fixes build after addition of LLVM extensions in c++.): The build passed. https://travis-ci.org/manastech/crystal/builds/79490374
ssvb has quit [Ping timeout: 264 seconds]
<waj> jhass: I don't know why, but `command -v` is not working during a `docker build`
<jhass> :o
<jhass> it's a shell builtin oO
<jhass> which shell does the docker container use?
<jhass> (what's its /bin/sh)
<waj> /bin/sh -> dash
<havenwood> dash!
<jhass> says it has it (search for -v a couple of times)
<jhass> havenwood: you know about anything command -v not working there?
<havenwood> jhass: we don't support dash with chruby/ruby-install because of non-posixy ways.
<jhass> yeah I heard complains about it
<jhass> but even so basic stuff? -.-
<havenwood> jhass: actually `command -v` seems to work for me just poking at it
<willl> wait, is all docker using dash inside the container?
<jhass> willl: it's debians/ubuntu's default /bin/sh afaik
<jhass> so no but probably more than you think
<willl> oh
<willl> thanks
<waj> if I run `command` inside the docker works fine, but when executed by `make` it doesn't
<willl> waj: try setting SHELL=/bin/bash or whatever in the makefile
<willl> "The program used as the shell is taken from the variable SHELL. If this variable is not set in your makefile, the program /bin/sh is used as the shell"
<waj> it works!!
<waj> thanks willl!
<waj> mm... makes sense now
<waj> however... if I start the container with `/bin/sh` the `command` works fine in the shell
<jhass> /bin/sh -c 'command -v llvm-config'
<jhass> /opt/llvm-3.5.0-1/bin/llvm-config
<jhass> I don't get it
waj has quit [Remote host closed the connection]
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vZn9F
<crystal-gh> crystal/master 9c9f916 Juan Wajnerman: Fix SHELL to /bin/bash in Makefile
<crystal-gh> [crystal] jhass pushed 2 new commits to master: http://git.io/vZnQ8
<crystal-gh> crystal/master 26b42a7 Jonne Haß: Merge pull request #1260 from jpellerin/iterator-flatten-2...
<crystal-gh> crystal/master 9347b02 JHP: Rebase and update
<travis-ci> manastech/crystal#9c9f916 (master - Fix SHELL to /bin/bash in Makefile): The build passed. https://travis-ci.org/manastech/crystal/builds/79497527
trapped has joined #crystal-lang
tomchapin has quit [Ping timeout: 265 seconds]
<travis-ci> manastech/crystal#26b42a7 (master - Merge pull request #1260 from jpellerin/iterator-flatten-2): The build passed. https://travis-ci.org/manastech/crystal/builds/79498401
dfockler has joined #crystal-lang
waj has joined #crystal-lang
dylanmei has joined #crystal-lang
havenwood has quit [Ping timeout: 255 seconds]
<Papierkorb> Would be tinkering with trying to build basic Gtk+ bindings (Because Qt would be too much I guess for the start) be a decent project, or has it already been done?
<jhass> Papierkorb: feel free to advance jhass/crystal-gobject ;)
<jhass> libnotify already working
asie1 is now known as asie
ssvb has joined #crystal-lang
<Papierkorb> jhass: more general maybe, is there some guide or docs to get me started on how to interface with C libs?
shama has joined #crystal-lang
shadeslayer has quit [Ping timeout: 260 seconds]
shadeslayer has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
BlaXpirit has joined #crystal-lang
<jhass> and then looking through stdlib for lib declarations should yield plenty of examples
<Papierkorb> ty
<crystal-gh> [crystal] asterite pushed 3 new commits to master: http://git.io/vZczZ
<crystal-gh> crystal/master cbda9e5 Ary Borenszweig: Implement `Enumerable#sum` without invoking `zero` on a union type
<crystal-gh> crystal/master f72b2c9 Ary Borenszweig: Also compile c++ llvm extension before specs
<crystal-gh> crystal/master f9d4283 Ary Borenszweig: Removed the anti-feature that allowed invoking methods on a union class. Fixes #1061
havenwood has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 255 seconds]
kyrylo has quit [Ping timeout: 244 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vZcxc
<crystal-gh> crystal/master ee8db0d Ary Borenszweig: Iterator#flatten: removed generator indirection, and use Iterable instead of Array in type checks. Related to #1260
kulelu88 has joined #crystal-lang
NeverDie has joined #crystal-lang
<trapped> jhass: how are you currently sandboxing carc.in requests? docker?
trapped has quit [Read error: Connection reset by peer]
<jhass> trapped: playpen
<jhass> timing \o/
waterlink has joined #crystal-lang
waterlink has quit [Ping timeout: 260 seconds]
waterlink has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
NeverDie has joined #crystal-lang
havenwood has quit [Ping timeout: 265 seconds]
dfockler has quit [Remote host closed the connection]
benner_ is now known as benner
<dzv> have there been any actor model discussions?
<jhass> haven't seen any
NeverDie has quit [Read error: Connection reset by peer]
<jhass> I guess doing that would need to reimplement IO at this point, like you would need of you want to do classic pthread concurrency
NeverDie has joined #crystal-lang
NeverDie has quit [Read error: Connection reset by peer]
NeverDie_ has joined #crystal-lang
NeverDie_ has quit [Client Quit]
<dzv> why would you need to reimplement IO for actors? actors could currently be implemented using fibers
<jhass> mmh, true I guess
kyrylo has joined #crystal-lang
NeverDie has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vZCnt
<crystal-gh> crystal/master 447ceb0 Ary Borenszweig: Missing `require "tempfile"` for running a single private_def_spec
<crystal-gh> crystal/master a21b513 Ary Borenszweig: Check range bounds when indexing an array or string with a negative number. Related to #1426
dyulax93 has quit [Quit: Saindo]
sdogruyol has joined #crystal-lang
<sdogruyol> lots of commits coming in lately <3
<travis-ci> manastech/crystal#a21b513 (master - Check range bounds when indexing an array or string with a negative number. Related to #1426): The build passed. https://travis-ci.org/manastech/crystal/builds/79537571
leafybasil has joined #crystal-lang
dfockler has joined #crystal-lang
<dzv> is there a way to avoid including the same module twice in another? B & C include A. D includes B & C. odd things happen with methods on A.
<BlaXpirit> that's supposed to just work
<BlaXpirit> dzv, if by "include" you mean "require"
<sdogruyol> BlaXpirit: he probably meant "include" by include :D
<BlaXpirit> well shouldn't include be simply avoided?
<BlaXpirit> of course odd things will happen >_>
<dzv> no, i mean include
<sdogruyol> BlaXpirit: what do you suggest instead of
<BlaXpirit> require :p
<dzv> B & C require common functionality provided by module A. B & C **includes** A. D uses functionality in modules B & C. D **includes** B & C.
<BlaXpirit> i get it, but i don't get why you use include
<dzv> so the methods are available
<BlaXpirit> whate
<BlaXpirit> ver
<dzv> and constants
havenwood has joined #crystal-lang
dylanmei has quit [Ping timeout: 240 seconds]
<crystal-gh> [crystal] technorama opened pull request #1428: Split BufferedIO in to Reader/Writer/Seeker modules. (master...f/split_buffered_io) http://git.io/vZCrU
NeverDie has quit [Quit: http://radiux.io/]
NeverDie has joined #crystal-lang
havenn has joined #crystal-lang
sdogruyol has quit [Quit: Leaving...]
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
qard has joined #crystal-lang
havenwood has quit [Ping timeout: 265 seconds]
BlaXpirit has quit [Quit: Konversation]
qard has quit [Client Quit]
qard has joined #crystal-lang
qard has quit [Client Quit]
qard has joined #crystal-lang
qard has quit [Client Quit]
havenn is now known as havenwood
dylanmei has joined #crystal-lang
qard has joined #crystal-lang
knoopx has joined #crystal-lang
fowlduck has joined #crystal-lang
<crystal-gh> [crystal] will opened pull request #1430: Benchmark::IPS interactive mode (master...benchmark-ips-interactive) http://git.io/vZCH5
knoopx has quit [Remote host closed the connection]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vZCdo
<crystal-gh> crystal/master b53f5a6 Ary Borenszweig: Fixed: if an ensure is NoReturn, the whole exception handler is NoReturn
<travis-ci> manastech/crystal#b53f5a6 (master - Fixed: if an ensure is NoReturn, the whole exception handler is NoReturn): The build passed. https://travis-ci.org/manastech/crystal/builds/79557037
havenwood has quit [Ping timeout: 264 seconds]
knoopx has joined #crystal-lang
knoopx has quit [Remote host closed the connection]
waterlink has quit [Ping timeout: 240 seconds]
havenwood has joined #crystal-lang
waterlink has joined #crystal-lang
sadin has joined #crystal-lang
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 244 seconds]
NeverDie has quit [Quit: http://radiux.io/]
waj has quit [Remote host closed the connection]
waterlink has quit [Ping timeout: 255 seconds]
kyrylo has quit [Quit: Konversation terminated!]
NeverDie has joined #crystal-lang
kyrylo has joined #crystal-lang
waterlink has joined #crystal-lang
waterlink has quit [Ping timeout: 252 seconds]
NeverDie has quit [Quit: http://radiux.io/]
dfockler has quit [Remote host closed the connection]
NeverDie has joined #crystal-lang
havenn has quit [Ping timeout: 246 seconds]
waterlink has joined #crystal-lang