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
<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
<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?
<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]
<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