00:18
<
crystal-gh >
[crystal] ysbaddaden opened pull request #3439: Support LLVM 3.9 (master...fix-llvm-3.9)
https://git.io/vPy2X
01:00
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
01:03
soveran has joined #crystal-lang
01:06
vikaton has quit [Quit: Connection closed for inactivity]
01:08
ruby_ has quit [Remote host closed the connection]
01:08
soveran has quit [Ping timeout: 256 seconds]
01:08
ruby_ has joined #crystal-lang
01:10
ruby_ has quit [Read error: Connection reset by peer]
01:16
Liothen has quit [Changing host]
01:16
Liothen has joined #crystal-lang
01:25
ruby_ has joined #crystal-lang
01:33
vikaton has joined #crystal-lang
01:41
snsei has joined #crystal-lang
01:52
jfontan has joined #crystal-lang
02:48
kulelu88 has quit [Quit: Leaving]
03:05
soveran has joined #crystal-lang
03:10
soveran has quit [Ping timeout: 256 seconds]
03:13
snsei has quit [Remote host closed the connection]
03:25
Philpax_ has quit [Ping timeout: 256 seconds]
03:29
sp4rrow has joined #crystal-lang
03:30
snsei has joined #crystal-lang
04:05
pawnbox has joined #crystal-lang
04:06
soveran has joined #crystal-lang
04:10
soveran has quit [Ping timeout: 256 seconds]
04:17
sp4rrow has quit [Quit: Textual]
04:25
ruby_ has quit [Remote host closed the connection]
04:37
ruby_ has joined #crystal-lang
04:46
ltran has joined #crystal-lang
04:47
HakanD__ has joined #crystal-lang
04:52
pawnbox has quit [Remote host closed the connection]
04:53
ruby_ has quit [Remote host closed the connection]
04:54
ruby_ has joined #crystal-lang
04:56
vikaton has quit [Quit: Connection closed for inactivity]
04:57
ltran has quit [Quit: Lost terminal]
04:59
ruby_ has quit [Ping timeout: 256 seconds]
05:23
HakanD__ has quit [Quit: Be back later ...]
05:23
HakanD__ has joined #crystal-lang
05:28
HakanD__ has quit [Ping timeout: 265 seconds]
05:35
eizua has joined #crystal-lang
05:53
soveran has joined #crystal-lang
06:05
pawnbox has joined #crystal-lang
06:49
<
FromGitter >
<johnjansen> ok peeps any way to subclass string
06:51
johnjansen has joined #crystal-lang
06:56
johnjansen has quit [Client Quit]
06:57
pawnbox has quit [Ping timeout: 256 seconds]
07:03
pawnbox has joined #crystal-lang
07:12
snsei has quit [Remote host closed the connection]
07:20
HakanD__ has joined #crystal-lang
07:41
pabs has quit [Ping timeout: 260 seconds]
07:43
pabs has joined #crystal-lang
08:00
pawnbox has quit [Ping timeout: 260 seconds]
08:05
HakanD__ has quit [Ping timeout: 250 seconds]
08:05
pawnbox has joined #crystal-lang
08:07
HakanD___ has joined #crystal-lang
08:09
eizua has quit [Quit: Leaving]
08:12
onethirtyfive has joined #crystal-lang
08:13
snsei has joined #crystal-lang
08:17
snsei has quit [Ping timeout: 260 seconds]
08:25
elia has joined #crystal-lang
08:25
mark_66 has joined #crystal-lang
08:40
pawnbox has quit [Ping timeout: 256 seconds]
08:44
pawnbox has joined #crystal-lang
08:53
Philpax has joined #crystal-lang
09:04
HakanD___ has quit [Quit: Be back later ...]
09:24
bjz has joined #crystal-lang
09:32
snsei has joined #crystal-lang
09:33
pawnbox has quit [Ping timeout: 256 seconds]
09:38
snsei has quit [Ping timeout: 265 seconds]
09:41
pawnbox has joined #crystal-lang
09:45
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:57
onethirtyfive has quit [Remote host closed the connection]
10:03
bjz has joined #crystal-lang
10:03
soveran has quit [Remote host closed the connection]
10:11
HakanD___ has joined #crystal-lang
10:20
pawnbox has quit [Ping timeout: 260 seconds]
10:30
pawnbox has joined #crystal-lang
10:33
bjz_ has joined #crystal-lang
10:34
bjz has quit [Ping timeout: 265 seconds]
10:39
gewo has quit [Quit: WeeChat 1.0.1]
10:58
soveran has joined #crystal-lang
11:26
elia has quit [Quit: Computer has gone to sleep.]
11:57
pduncan has quit [Ping timeout: 245 seconds]
12:08
kochev has joined #crystal-lang
12:12
pawnbox has quit [Ping timeout: 260 seconds]
12:15
elia has joined #crystal-lang
12:19
pawnbox has joined #crystal-lang
12:24
gewo has joined #crystal-lang
12:47
bew78 has joined #crystal-lang
12:53
pawnbox has quit [Remote host closed the connection]
12:54
pawnbox has joined #crystal-lang
12:57
snsei has joined #crystal-lang
12:58
pawnbox has quit [Ping timeout: 250 seconds]
13:02
snsei has quit [Ping timeout: 260 seconds]
13:21
gewo has quit [Quit: WeeChat 1.0.1]
13:24
pawnbox has joined #crystal-lang
13:28
Raimondii has joined #crystal-lang
13:31
Raimondi has quit [Ping timeout: 244 seconds]
13:31
Raimondii is now known as Raimondi
13:32
ruby_ has joined #crystal-lang
13:33
tliff has quit [Remote host closed the connection]
13:33
<
bew78 >
Hi, is there a way to destructure and Array(Int) like in Ruby : x, *y = [1, 2, 3, 4]
13:34
<
bew78 >
This way in ruby:
13:34
<
bew78 >
y = [2, 3, 4]
13:34
<
bew78 >
(this is the result)
13:35
tliff has joined #crystal-lang
13:36
ruby_ has quit [Ping timeout: 256 seconds]
13:42
pduncan has joined #crystal-lang
13:44
<
crystal-gh >
crystal/master 203da3a Ary Borenszweig: Fixed #3438: missing handling of restriction of virtual metaclass type against metaclass
13:45
matp has quit [Quit: ZZzzzZz...]
13:47
go|dfish has quit [Ping timeout: 244 seconds]
13:52
bew78 has quit [Ping timeout: 256 seconds]
13:54
bew78 has joined #crystal-lang
13:56
ruby_ has joined #crystal-lang
13:58
<
FromGitter >
<sdogruyol> Kemal + Tren is a really great combo for building complex web apps
13:58
<
FromGitter >
<sdogruyol> Also Micrate for Db migrations <3
14:00
ysbaddaden has joined #crystal-lang
14:01
go|dfish has joined #crystal-lang
14:03
pawnbox has quit [Ping timeout: 260 seconds]
14:04
johnjansen has joined #crystal-lang
14:04
kochev has quit [Ping timeout: 260 seconds]
14:28
matp has joined #crystal-lang
14:29
HakanD___ has quit [Quit: Be back later ...]
14:30
HakanD___ has joined #crystal-lang
14:32
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:32
bjz has joined #crystal-lang
14:34
HakanD___ has quit [Ping timeout: 256 seconds]
14:37
ysbaddaden has quit [Ping timeout: 260 seconds]
14:49
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:56
pawnbox has joined #crystal-lang
14:58
snsei has joined #crystal-lang
14:59
Philpax has quit [Ping timeout: 256 seconds]
15:02
snsei has quit [Ping timeout: 252 seconds]
15:06
mark_66 has quit [Quit: Leaving.]
15:07
johnjansen has quit [Quit: johnjansen]
15:08
jeromegn_ has joined #crystal-lang
15:08
jeromegn has quit [Ping timeout: 256 seconds]
15:08
jeromegn_ is now known as jeromegn
15:08
snsei has joined #crystal-lang
15:14
bew78 has quit [Ping timeout: 260 seconds]
15:18
elia has quit [Quit: Computer has gone to sleep.]
15:23
pawnbox has quit [Quit: gotta go guys.]
15:25
pawnbox has joined #crystal-lang
15:28
HakanD___ has joined #crystal-lang
15:29
bew78 has joined #crystal-lang
16:05
elia has joined #crystal-lang
16:13
ruby_ has quit [Remote host closed the connection]
16:19
<
FromGitter >
<johnjansen> @asterite any idea whats going on here
16:24
ysbaddaden has joined #crystal-lang
16:27
ruby_ has joined #crystal-lang
16:28
ruby_ has quit [Remote host closed the connection]
16:28
ruby_ has joined #crystal-lang
16:30
ruby_ has quit [Read error: Connection reset by peer]
16:33
<
FromGitter >
<asterite> @johnjansen It's a bug, please report it
16:35
<
FromGitter >
<asterite> It happens with captures that might not always succeed
16:36
<
FromGitter >
<johnjansen> thanks Ary … its my turn to trip over bugs today
16:38
<
FromGitter >
<johnjansen> oh @asterite any more thoughts on String#partition / rpartition ???
16:41
<
FromGitter >
<asterite> @johnjansen Until we find a strong use case for it I don't know if and how to include it in the standard library
16:42
<
crystal-gh >
crystal/master 2754433 Ary Borenszweig: String#split: skip nil groups. Fixes #3440
16:43
<
FromGitter >
<johnjansen> damn you are fast at closing those bugs ;-)
16:43
matp has quit [Quit: ZZzzzZz...]
16:44
ruby_ has joined #crystal-lang
16:45
matp has joined #crystal-lang
16:45
elia has quit [Quit: Computer has gone to sleep.]
16:51
ysbaddaden has quit [Quit: Page closed]
16:57
go|dfish has quit [Ping timeout: 260 seconds]
16:58
<
FromGitter >
<asterite> @johnjansen Whether it's correct or not is subjective. The current implementation only applies downcase to the ASCII range. Ideally we should do that for all characters, but it's pretty hard
16:58
go|dfish has joined #crystal-lang
16:58
<
FromGitter >
<asterite> There's an open issue about it
17:00
<
FromGitter >
<johnjansen> cool … i know absolutely nothing about that part of the char set i.e. what the up / downcase of each char is … so its a mystery to me … ⏎ all i know is that this seems to deviate from ruby and it could become a problem if we want to detect equivalent words regardless of their capitalization …
17:03
soveran has quit [Remote host closed the connection]
17:05
<
FromGitter >
<asterite> @johnjansen It basically involves huge tables that map from lowercase chars to uppercase chars. We have to put those tables somewhere and use them, though I think the problem doesn't end there. For example I think that depending on the language this process varies
17:07
<
FromGitter >
<johnjansen> yeah, i can imagine … i dont want to think about it :-)
17:07
<
FromGitter >
<johnjansen> just patching those PR’s now
17:09
<
FromGitter >
<asterite> Great! After that I'll merge them :)
17:15
<
FromGitter >
<asterite> Yeah, the second one looks better
17:18
kochev has joined #crystal-lang
17:56
soveran has joined #crystal-lang
17:56
soveran has quit [Changing host]
17:56
soveran has joined #crystal-lang
18:02
<
pawnbox >
Looks like more people prefer gitter. Hmm.
18:02
soveran has quit [Remote host closed the connection]
18:07
<
havenwood >
IRC forever!
18:10
<
Papierkorb >
simple IRC trumps webservices which may change tomorrow or just stop existing
18:11
<
RX14 >
I like IRC more because the clients are better
18:12
<
RX14 >
i find it more readable
18:16
<
BlaXpirit >
readable until there's this bot xD
18:23
soveran has joined #crystal-lang
18:23
soveran has joined #crystal-lang
18:23
soveran has quit [Changing host]
18:27
<
RX14 >
would be nice if you colourised usernames
18:27
<
RX14 >
my discord bridgebots do that
18:27
<
RX14 >
you hash username -> colour
18:27
<
RX14 >
then highlight their username with that irc colour
18:27
<
RX14 >
it makes it a whole lot more readable
18:28
soveran has quit [Remote host closed the connection]
18:36
<
BlaXpirit >
we've been through this..
18:40
<
FromGitter >
<sdogruyol> :D
18:42
Raimondi has quit [Ping timeout: 244 seconds]
18:46
bew78 has quit [Quit: WeeChat 1.5]
18:46
pawnbox has quit [Read error: Connection reset by peer]
18:47
pawnbox has joined #crystal-lang
19:04
soveran has joined #crystal-lang
19:08
soveran has quit [Ping timeout: 252 seconds]
19:08
soveran has joined #crystal-lang
19:08
soveran has joined #crystal-lang
19:08
soveran has quit [Changing host]
19:17
soveran has quit [Remote host closed the connection]
19:22
soveran has joined #crystal-lang
19:48
vikaton has joined #crystal-lang
20:14
kochev has quit [Remote host closed the connection]
20:19
pawnbox has quit [Remote host closed the connection]
20:36
pawnbox has joined #crystal-lang
20:40
pawnbox has quit [Remote host closed the connection]
20:48
<
BlaXpirit >
how to do array.each_with_index but in reverse order?
20:49
snsei has quit [Remote host closed the connection]
20:50
<
FromGitter >
<jwoertink> `array.reverse.each_with_index` ?
20:50
<
FromGitter >
<sdogruyol> yeah that's also what i thought
20:50
<
BlaXpirit >
but indices do not correspond to array items!
20:52
bjz has joined #crystal-lang
21:00
Raimondi has joined #crystal-lang
21:11
<
BlaXpirit >
anyway, i did `(0...stack.size).reverse_each do |ci|; c = stack[ci]`
21:20
HakanD___ has quit [Quit: Be back later ...]
21:20
HakanD___ has joined #crystal-lang
21:21
soveran has quit [Remote host closed the connection]
21:25
HakanD___ has quit [Ping timeout: 244 seconds]
21:43
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:45
<
FromGitter >
<johnjansen> what i dont know is if reverse_each is an Iterator and lazy, or an enum, im presuming the former
21:45
<
FromGitter >
<johnjansen> i mean enumerable
21:46
bjz has joined #crystal-lang
21:46
<
FromGitter >
<johnjansen> you can figure that bit out ;-)
21:48
soveran has joined #crystal-lang
21:48
soveran has quit [Changing host]
21:48
soveran has joined #crystal-lang
21:49
bjz has quit [Client Quit]
21:52
<
BlaXpirit >
ok thanks
21:54
<
FromGitter >
<johnjansen> the difference between `reverse` and `reverse_each` i think being one is an iterator
21:54
<
FromGitter >
<johnjansen> i think !!
22:07
<
crystal-gh >
[crystal] luislavena opened pull request #3441: Allows running spec within Docker container (master...support-spec-docker)
https://git.io/vPHqT
22:13
soveran has quit [Remote host closed the connection]
22:30
<
pabs >
johnjansen: ahoy!
22:30
<
FromGitter >
<johnjansen> @pabs hi
22:31
<
pabs >
johnjansen: did you get a chance to try out v0.1.2, and did it fix your problems?
22:31
<
FromGitter >
<iDev0urer> Just wanted to say hi. I just discovered crystal yesterday and I think I'm already in love. As soon as we get some Windows support up in here it'll be perfect
22:31
<
FromGitter >
<johnjansen> not quite, im stuck in my own little tricky area
22:31
<
FromGitter >
<johnjansen> but thanks for closing that bug
22:31
<
pabs >
johnjansen: sure, thanks for finding it
22:32
<
pabs >
johnjansen: it's a wonder i didn't get bitten by that earlier
22:32
<
FromGitter >
<johnjansen> totally, kinda odd really
22:32
<
FromGitter >
<johnjansen> ive found a bunch of little things like that in the last couple of weeks
22:33
<
pabs >
johnjansen: it's either a curse or a gift!
22:33
<
FromGitter >
<johnjansen> totally a gift of a language, but probably a touch early to be doing what i am ;-)
22:34
elia has joined #crystal-lang
22:35
<
pabs >
johnjansen: you mean crystal? yeah, i feel the same way "oh this doesn't exist? guess i'll write it then"
22:35
<
FromGitter >
<johnjansen> and ive realized just how frequently ruby developers are let off the hook by dynamic typing
22:36
<
FromGitter >
<raydf> @johnjansen, are you working the tokenizer for natural language?
22:36
<
FromGitter >
<raydf> Hi
22:36
<
FromGitter >
<johnjansen> yep
22:36
<
FromGitter >
<raydf> Nice
22:36
<
FromGitter >
<johnjansen> but stdlib is catching me a fair bit
22:36
<
FromGitter >
<raydf> :)
22:37
<
FromGitter >
<raydf> you're contributing a lot with you PRs.
22:37
<
FromGitter >
<johnjansen> a little ;-)
22:39
<
FromGitter >
<johnjansen> also, the original tokenizer code is a little spaghetti like, which is making the whole process way harder than it needs to be
22:40
<
FromGitter >
<johnjansen> between that, and the differences in regex and other bits and bobs, its an interesting learning curve ;-)
22:43
<
FromGitter >
<raydf> yeah, but i love to have both options, ruby gems code to translate to crystal or the wrapping of c libs.
23:14
soveran has joined #crystal-lang
23:20
soveran has quit [Ping timeout: 245 seconds]
23:22
HakanD___ has joined #crystal-lang
23:26
HakanD___ has quit [Ping timeout: 260 seconds]
23:30
<
BlaXpirit >
how to run a process and supply its STDIN from a string?
23:31
<
BlaXpirit >
`Process.run("xdotool", ["-"], input: MemoryIO.new(commands.join("\n")))`
23:35
bjz has joined #crystal-lang
23:38
bjz has quit [Client Quit]
23:54
elia has quit [Quit: Computer has gone to sleep.]