00:25
leafybas_ has quit [Ping timeout: 260 seconds]
00:29
leafybas_ has joined #crystal-lang
00:50
nakilon has joined #crystal-lang
00:54
nakilon has quit [Ping timeout: 240 seconds]
01:17
yxhuvud has joined #crystal-lang
02:07
justinmcp_ has joined #crystal-lang
02:08
justinmcp has quit [Ping timeout: 255 seconds]
02:08
pragmatism has quit [Ping timeout: 255 seconds]
02:10
pragmatism has joined #crystal-lang
02:38
nakilon has joined #crystal-lang
02:43
nakilon has quit [Ping timeout: 260 seconds]
03:00
leafybas_ has quit [Remote host closed the connection]
04:27
nakilon has joined #crystal-lang
04:31
nakilon has quit [Ping timeout: 250 seconds]
04:43
pawnbox has joined #crystal-lang
04:52
blue_deref has quit [Quit: bbn]
05:05
fowlduck_ has joined #crystal-lang
05:12
ponga has joined #crystal-lang
05:12
grindhold_ has joined #crystal-lang
05:14
fowlduck has quit [*.net *.split]
05:14
matp has quit [*.net *.split]
05:14
salvor has quit [*.net *.split]
05:14
grindhold has quit [*.net *.split]
05:14
tliff has quit [*.net *.split]
05:14
epitron has quit [*.net *.split]
05:15
epitron has joined #crystal-lang
05:15
matp has joined #crystal-lang
05:18
salvor has joined #crystal-lang
05:18
tliff has joined #crystal-lang
05:26
pawnbox has quit [Ping timeout: 240 seconds]
05:48
jamie_ca has quit [Ping timeout: 250 seconds]
05:48
Keziolio has quit [Ping timeout: 250 seconds]
05:49
Kilobyte22 has quit [Ping timeout: 250 seconds]
05:52
emmanueloga has quit [Ping timeout: 250 seconds]
05:52
RX14 has quit [Ping timeout: 250 seconds]
05:52
Bofu2U has quit [Ping timeout: 250 seconds]
05:52
Kilo`byte has joined #crystal-lang
05:52
bjmllr has quit [Ping timeout: 250 seconds]
05:52
bougyman has quit [Ping timeout: 250 seconds]
05:52
xAndy has quit [Ping timeout: 250 seconds]
05:52
jeromegn has quit [Ping timeout: 250 seconds]
05:52
hplar has quit [Ping timeout: 250 seconds]
05:52
bjmllr has joined #crystal-lang
05:52
xAndy has joined #crystal-lang
05:52
bougyman has joined #crystal-lang
05:53
Keziolio has joined #crystal-lang
05:54
hplar has joined #crystal-lang
06:03
emmanueloga has joined #crystal-lang
06:19
matp_ has joined #crystal-lang
06:19
matp has quit [Ping timeout: 244 seconds]
06:19
adam12 has quit [Ping timeout: 244 seconds]
06:20
adam_ has joined #crystal-lang
06:27
NeverDie has quit [Ping timeout: 260 seconds]
06:53
<
Davy_CC >
[spoiler]: thanks
07:03
pleiosaur has quit [Ping timeout: 255 seconds]
07:03
leafybasil has quit [Ping timeout: 255 seconds]
07:04
leafybasi has joined #crystal-lang
07:04
pleiosaur has joined #crystal-lang
08:00
BlaXpirit_ has joined #crystal-lang
08:01
CodiS has joined #crystal-lang
08:03
BlaXpirit_ has quit [Client Quit]
08:08
A124 has joined #crystal-lang
08:21
barosl_ has quit [Read error: Connection reset by peer]
08:22
CodiS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:53
leafybasil has joined #crystal-lang
08:58
leafybasil has quit [Ping timeout: 255 seconds]
09:00
CodiS has joined #crystal-lang
09:08
bmcginty has quit [Ping timeout: 260 seconds]
09:08
bmcginty has joined #crystal-lang
09:10
CodiS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:23
CodiS has joined #crystal-lang
10:09
matp_ is now known as matp
10:09
leafybasil has joined #crystal-lang
10:14
leafybasil has quit [Ping timeout: 265 seconds]
10:18
benoist_ has joined #crystal-lang
10:18
benoist has quit [Read error: Connection reset by peer]
10:20
AckZ has quit [Ping timeout: 252 seconds]
10:20
hplar has quit [Ping timeout: 252 seconds]
10:20
aemadrid has quit [Ping timeout: 252 seconds]
10:20
mroth has quit [Ping timeout: 252 seconds]
10:20
toydestroyer has quit [Ping timeout: 252 seconds]
10:20
mroth has joined #crystal-lang
10:20
toydestroyer has joined #crystal-lang
10:20
toydestroyer has quit [Changing host]
10:20
toydestroyer has joined #crystal-lang
10:20
mroth has joined #crystal-lang
10:20
mroth has quit [Changing host]
10:20
mroth has quit [Changing host]
10:20
mroth has joined #crystal-lang
10:21
benoist_ has quit [Remote host closed the connection]
10:21
hplar has joined #crystal-lang
10:27
AckZ has joined #crystal-lang
10:29
aemadrid has joined #crystal-lang
10:53
benoist has joined #crystal-lang
10:53
bmcginty has quit [Ping timeout: 246 seconds]
10:55
bmcginty has joined #crystal-lang
11:50
leafybasil has joined #crystal-lang
11:53
benoist has quit [Ping timeout: 246 seconds]
12:00
trapped has joined #crystal-lang
12:35
<
RX14- >
hmmn, is there a way to compile a crystal program from inside crystal?
12:40
<
jhass >
RX14: You can of course shell out to the compiler, but you can also include it as a library basically, the specs have some examples of that
12:41
<
RX14 >
hmmn, making a plugin architechture in crystal might be a bit of a pain TBH, might just use ruby
12:42
<
RX14 >
doesn't have to be fast anyway
13:05
leafybasil has quit [Remote host closed the connection]
13:16
benoist has joined #crystal-lang
13:23
benoist has quit [Remote host closed the connection]
13:24
benoist has joined #crystal-lang
13:26
Bofu2U has joined #crystal-lang
13:39
<
crystal-gh >
[crystal] jreinert opened pull request #1888: more sophisticated cookie parsing. Correctly handles multiple cookies (master...cookie-parsing)
http://git.io/v4qI2
13:39
benoist has quit [Remote host closed the connection]
13:40
pawnbox has joined #crystal-lang
13:40
barosl has joined #crystal-lang
14:07
A124 has quit [Read error: No route to host]
14:09
A124 has joined #crystal-lang
14:12
petercommand has joined #crystal-lang
14:27
benoist has joined #crystal-lang
14:31
pawnbox has quit [Ping timeout: 240 seconds]
14:34
pawnbox has joined #crystal-lang
14:39
pawnbox has quit [Ping timeout: 255 seconds]
14:41
leafybasil has joined #crystal-lang
14:55
pawnbox has joined #crystal-lang
15:06
nakilon has joined #crystal-lang
15:13
hangyas has joined #crystal-lang
15:16
<
crystal-gh >
[crystal] benoist opened pull request #1889: fix openssl digest block size (master...fix-digest-block-size)
http://git.io/v4qrs
15:22
<
hangyas >
funny thing is that when i remove any line from the hash it will work
15:23
<
jhass >
though what's this for?
15:24
blue_deref has joined #crystal-lang
15:25
<
hangyas >
well i want to add it to a json array
15:25
<
jhass >
so an array you parsed from json?
15:26
<
hangyas >
ok, it works with your secound one
15:26
<
jhass >
do all entries of the array follow this structure?
15:28
<
hangyas >
but anyway is there any obvious reason why it doesn't work with more than 2 element?
15:34
<
crystal-gh >
crystal/master 8d57391 Benoist Claassen: fix openssl digest block size
15:34
<
crystal-gh >
crystal/master 24846eb Jonne Haß: Merge pull request #1889 from benoist/fix-digest-block-size...
15:34
<
benoist >
jhass: tnx :)
15:35
<
jhass >
benoist: btw I agree that we probably should get rid of the specific digest classes and work towards something like Digest.new("foo") as the only interface
15:36
<
benoist >
they are gone already right?
15:36
<
jhass >
are they? might have missed that :D
15:36
<
jhass >
derp, ignore me
15:36
<
benoist >
ok will do :)
15:37
<
jhass >
the convenience stuff should be general too, OpenSSL::Digest.hash(algo, data)
15:38
<
hangyas >
jhass: yeah, i just wrote some json manipulating quickly, thx
15:38
<
benoist >
I guess they are now obsolete yes
15:40
pawnbox has quit [Ping timeout: 255 seconds]
15:42
<
jhass >
(use an enum that is)
15:42
<
benoist >
the HMAC class is still the old one
15:43
<
benoist >
should it not be converted to the openssl.cr lib version first?
15:43
<
jhass >
ah, well, just looking around :)
15:44
<
benoist >
the only problem with the openssl.cr implementation of the HMAC requires a newer version of openssl
15:44
<
jhass >
how much newer?
15:45
<
jhass >
newer than the debian crap with their 30+ patches I guess
15:46
<
benoist >
well I think it's only a problem on OSX
15:46
<
jhass >
oh looks like even wheezy is on 1.0.1 by now
15:46
<
benoist >
yeah only osx is stll < 1.0.x
15:47
<
jhass >
can't you get a newer one via homebrew or something?
15:51
<
benoist >
yeah thats possible
15:51
<
benoist >
but you have to force link it
15:52
<
benoist >
my main concern is getting the CI to pass
15:54
Ven has joined #crystal-lang
15:55
<
benoist >
yeah thats possible now :)
15:55
Ven has quit [Read error: Connection reset by peer]
15:56
Ven has joined #crystal-lang
15:58
<
crystal-gh >
[crystal] jhass opened pull request #1890: Switch to official homebrew formula on Travis (master...osx_formula)
http://git.io/v4q9r
15:58
<
crystal-gh >
[crystal] benoist opened pull request #1891: change pkcs5 to a module (master...make-pkcs-a-module)
http://git.io/v4q9X
16:00
pawnbox has joined #crystal-lang
16:01
<
jhass >
benoist: mh, the installation path changed? ld: warning: directory not found for option '-L/usr/local/opt/crystal-lang/embedded/lib'
16:02
<
jhass >
wth does that flag even come from
16:02
<
benoist >
i've been seeing these warnings in previous CI builds
16:02
<
benoist >
I don't get them on my mac though
16:04
benoist has quit [Remote host closed the connection]
16:04
yxhuvud has quit [Remote host closed the connection]
16:08
pawnbox has quit [Ping timeout: 272 seconds]
16:09
<
crystal-gh >
[crystal] jhass closed pull request #1891: change pkcs5 to a module (master...make-pkcs-a-module)
http://git.io/v4q9X
16:10
Ven has quit [Read error: Connection reset by peer]
16:10
leafybasil has quit [Remote host closed the connection]
16:12
pawnbox has joined #crystal-lang
16:12
Ven has joined #crystal-lang
16:12
NeverDie has joined #crystal-lang
16:18
<
crystal-gh >
crystal/master ab650a4 Jonne Haß: Switch to official homebrew formula on Travis
16:18
<
crystal-gh >
crystal/master 2109bd5 Jonne Haß: Merge pull request #1890 from jhass/osx_formula...
16:29
pawnbox has quit [Ping timeout: 240 seconds]
16:40
yxhuvud has joined #crystal-lang
16:41
Ven has quit [Read error: Connection reset by peer]
16:41
Ven has joined #crystal-lang
16:44
nakilon has quit [Ping timeout: 250 seconds]
16:56
Ven has quit [Read error: Connection reset by peer]
16:57
Ven has joined #crystal-lang
17:10
leafybasil has joined #crystal-lang
17:11
Ven has quit [Read error: Connection reset by peer]
17:12
Ven has joined #crystal-lang
17:25
Ven has quit [Read error: Connection reset by peer]
17:27
Ven has joined #crystal-lang
17:31
leafybasil has quit [Remote host closed the connection]
17:41
Ven has quit [Read error: Connection reset by peer]
17:41
Ven has joined #crystal-lang
17:43
leafybasil has joined #crystal-lang
17:44
ponga has quit [Quit: Connection closed for inactivity]
17:56
nakilon has joined #crystal-lang
18:01
nakilon has quit [Ping timeout: 250 seconds]
18:11
Ven has quit [Read error: Connection reset by peer]
18:12
Ven has joined #crystal-lang
18:12
NeverDie has joined #crystal-lang
18:22
hangyas has quit [Quit: hangyas]
18:34
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:48
Ven has joined #crystal-lang
18:55
Ven has quit [Read error: Connection reset by peer]
18:56
BlaXpirit has quit [Quit: Bye]
18:57
Ven has joined #crystal-lang
18:59
Ven has quit [Read error: Connection reset by peer]
19:00
Ven has joined #crystal-lang
19:05
BlaXpirit has joined #crystal-lang
19:10
BlaXpirit has quit [Quit: Bye]
19:11
BlaXpirit has joined #crystal-lang
19:17
BlaXpirit_ has joined #crystal-lang
19:17
BlaXpirit has quit [Quit: Konversation]
19:26
Ven has quit [Read error: Connection reset by peer]
19:28
Ven has joined #crystal-lang
19:31
BlaXpirit_ has quit [Quit: Bye]
19:32
BlaXpirit_ has joined #crystal-lang
19:32
BlaXpirit_ has quit [Client Quit]
19:44
nakilon has joined #crystal-lang
19:45
BlaXpirit has joined #crystal-lang
19:49
nakilon has quit [Ping timeout: 265 seconds]
19:57
nakilon has joined #crystal-lang
19:59
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:02
BlaXpirit has quit [Quit: Bye]
20:03
BlaXpirit has joined #crystal-lang
20:11
Ven has joined #crystal-lang
20:12
Ven has quit [Read error: Connection reset by peer]
20:13
Ven has joined #crystal-lang
20:17
Ven has quit [Client Quit]
20:24
Ven has joined #crystal-lang
20:40
djellemah has quit [Ping timeout: 250 seconds]
20:42
Ven has quit [Read error: Connection reset by peer]
20:42
Ven has joined #crystal-lang
20:57
Ven has quit [Read error: Connection reset by peer]
20:59
Ven has joined #crystal-lang
21:11
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:12
Ven has joined #crystal-lang
21:32
<
[spoiler] >
What's the deal with `Range(B, E)#includes?` it doesn't behave as the ruby equivalent. Is it intentional, or not?
21:34
<
BlaXpirit >
[spoiler], pls describe difference
21:35
<
[spoiler] >
BlaXpirit: #includes? != #covers? (well, without the ss) in Ruby
21:37
<
BlaXpirit >
[spoiler], i think this is worth bringing to attention
21:38
<
[spoiler] >
Actually the implementation seems to have changed in 2.3, because it looks messier in 2.2 lol, but the idea is still there
21:38
<
BlaXpirit >
at the very least because currently they are aliases in crystal
21:38
<
BlaXpirit >
and they dont want aliases
21:38
<
[spoiler] >
Also, there seems to be no last/first for Range (I was about to implement them when i noticed this)
21:39
<
[spoiler] >
BlaXpirit: should I just open an issue
21:39
<
[spoiler] >
oh shit my coffee is on the stove brb
21:39
<
BlaXpirit >
make sure to explain the difference in ruby, this does it pretty nicely ("a".."z").include?("cc") #=> false ("a".."z").cover?("cc") #=> true
21:40
<
BlaXpirit >
but then again, this doesn't even apply in crystal lol
21:40
<
[spoiler] >
yeah, I am not actually sure I even like that behaviour in Ruby
21:40
<
[spoiler] >
it seems odd, to be fair
21:40
<
BlaXpirit >
for all the things that can go inside a Range, include? and cover? would act the same anyway even according to ruby's behavior
21:40
<
BlaXpirit >
don't you agree?
21:42
<
jhass >
only if > and < are implemented "consistently" with succ and pred
21:43
<
jhass >
includes? should only optimize to > and < if it can be sure of that, else force the computation of the range
21:43
Ven has quit [Read error: Connection reset by peer]
21:43
<
[spoiler] >
I pretty much think those two should be synonymous, not sure why they aren't in Ruby, though
21:43
<
jhass >
covers? should always use > and < and fail if the items are not comparable
21:44
<
[spoiler] >
jhass: wouldn't current implementation of #covers? already do that, though?
21:44
<
jhass >
I didn't look at it yet
21:44
<
jhass >
just stating why I don't think they should be synonym
21:44
<
jhass >
for the general case
21:45
Ven has joined #crystal-lang
21:46
<
[spoiler] >
Well it would be easy to fix. Should there be an issue for it?
21:46
<
[spoiler] >
as in, should it be discussed, or should it match Ruby's implementation?
21:47
<
jhass >
it probably should be discussed, but that discussion can happen in a PR too
21:47
<
[spoiler] >
Okidoki!
21:58
Ven has quit [Read error: Connection reset by peer]
22:01
Ven has joined #crystal-lang
22:12
Ven has quit [Read error: Connection reset by peer]
22:13
Ven has joined #crystal-lang
22:26
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:37
Ven has joined #crystal-lang
22:43
Ven has quit [Read error: Connection reset by peer]
22:44
Ven has joined #crystal-lang
22:58
Ven has quit [Read error: Connection reset by peer]
22:58
Ven has joined #crystal-lang
22:58
Ven has quit [Read error: Connection reset by peer]
22:59
Ven has joined #crystal-lang
23:08
NeverDie has joined #crystal-lang
23:13
Ven has quit [Read error: Connection reset by peer]
23:13
Ven has joined #crystal-lang
23:24
<
jokke >
i don't get why it's 10
23:24
<
jokke >
shouldn't it be overridden by SMALL?
23:25
<
jokke >
or are arrays of aliases merged from the right?
23:26
<
jokke >
seems weird to me. I'd assume that <<: [*foo, *bar] would be the same as <<: *foo, <<: *bar
23:29
<
jhass >
to reference to any further explanations :/
23:29
Ven has quit [Read error: Connection reset by peer]
23:32
Ven has joined #crystal-lang
23:44
Ven has quit [Read error: Connection reset by peer]
23:44
Ven has joined #crystal-lang