00:22
Oliphaunte has quit [Remote host closed the connection]
00:31
Oliphaunte has joined #crystal-lang
00:41
Oliphaunte has quit [Remote host closed the connection]
00:47
pawnbox has joined #crystal-lang
00:48
Oliphaunte has joined #crystal-lang
00:52
pawnbox has quit [Ping timeout: 264 seconds]
00:58
Oliphaunte has quit [Remote host closed the connection]
01:11
zodiak has quit [Read error: Connection reset by peer]
01:11
zodiak_ has joined #crystal-lang
01:20
Oliphaunte has joined #crystal-lang
01:38
pawnbox has joined #crystal-lang
01:43
pawnbox has quit [Ping timeout: 258 seconds]
01:46
Oliphaunte has quit [Remote host closed the connection]
01:54
Oliphaunte has joined #crystal-lang
02:14
pawnbox has joined #crystal-lang
02:19
pawnbox has quit [Ping timeout: 250 seconds]
02:27
snsei has joined #crystal-lang
03:01
Oliphaunte has quit [Remote host closed the connection]
03:34
Oliphaunte has joined #crystal-lang
03:36
Oliphaun_ has joined #crystal-lang
03:36
Oliphaunte has quit [Read error: Connection reset by peer]
03:47
pawnbox has joined #crystal-lang
03:47
pawnbox has quit [Read error: Connection reset by peer]
03:53
ome has joined #crystal-lang
04:00
Oliphaun_ has quit [Remote host closed the connection]
04:03
pawnbox has joined #crystal-lang
04:07
pawnbox has quit [Ping timeout: 258 seconds]
04:23
mbarbar has joined #crystal-lang
04:57
andrewdotnich has joined #crystal-lang
04:58
<
andrewdotnich >
hi everyone :)
04:58
<
andrewdotnich >
Is it currently possible to access an object's eigenclass, a la Ruby's `class << self` ?
05:00
pawnbox has joined #crystal-lang
05:05
pawnbox has quit [Ping timeout: 276 seconds]
05:14
mbarbar has quit [Remote host closed the connection]
05:16
soveran has joined #crystal-lang
05:16
soveran has quit [Changing host]
05:16
soveran has joined #crystal-lang
05:35
pawnbox has joined #crystal-lang
05:40
pawnbox has quit [Ping timeout: 260 seconds]
05:52
soveran has quit [Remote host closed the connection]
05:57
soveran has joined #crystal-lang
06:18
snsei has quit [Remote host closed the connection]
06:21
snsei has joined #crystal-lang
06:22
snsei has quit [Client Quit]
06:23
snsei has joined #crystal-lang
07:04
mark_66 has joined #crystal-lang
07:08
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:21
pawnbox has joined #crystal-lang
07:25
pawnbox has quit [Ping timeout: 250 seconds]
07:25
andrewdotnich has quit [Ping timeout: 250 seconds]
07:27
pawnbox has joined #crystal-lang
07:36
snsei has quit [Read error: Connection reset by peer]
07:53
snsei has joined #crystal-lang
07:54
snsei_ has joined #crystal-lang
07:57
snsei has quit [Ping timeout: 240 seconds]
08:25
mbarbar has joined #crystal-lang
08:31
unshadow has joined #crystal-lang
08:33
mbarbar has quit [Ping timeout: 260 seconds]
08:36
snsei_ has quit [Read error: Connection reset by peer]
08:37
snsei has joined #crystal-lang
08:39
snsei_ has joined #crystal-lang
08:42
snsei has quit [Ping timeout: 240 seconds]
08:53
mark_66 has quit [Remote host closed the connection]
08:55
snsei_ has quit [Remote host closed the connection]
08:56
mark_66 has joined #crystal-lang
09:09
qard has joined #crystal-lang
09:17
pawnbox has quit [Remote host closed the connection]
09:17
pawnbox has joined #crystal-lang
09:19
snsei has joined #crystal-lang
09:19
ome has quit [Quit: Connection closed for inactivity]
09:33
snsei has quit [Remote host closed the connection]
09:33
snsei has joined #crystal-lang
09:37
pawnbox has quit [Remote host closed the connection]
09:37
snsei has quit [Ping timeout: 246 seconds]
09:37
pawnbox has joined #crystal-lang
10:02
soveran has quit [Remote host closed the connection]
10:12
A124 has quit [Read error: No route to host]
10:16
A124 has joined #crystal-lang
10:22
trapped has joined #crystal-lang
10:22
mbarbar has joined #crystal-lang
10:26
<
unshadow >
Nice move with the bountysource :) I'll dontae too
10:45
<
FromGitter >
<hkochev> @andrewdotnich Have not tried this but all else Ruby goodness like self.class_method and Module; extend self; end is working
11:02
soveran has joined #crystal-lang
11:34
snsei has joined #crystal-lang
11:39
snsei has quit [Ping timeout: 244 seconds]
12:19
pawnbox has quit [Remote host closed the connection]
12:21
pawnbox has joined #crystal-lang
12:24
pawnbox has quit [Remote host closed the connection]
12:36
pawnbox has joined #crystal-lang
12:42
ponga has joined #crystal-lang
12:45
ponga has quit [Client Quit]
13:00
ponga has joined #crystal-lang
13:01
pawnbox has quit [Remote host closed the connection]
13:09
pawnbox has joined #crystal-lang
13:14
pawnbox has quit [Ping timeout: 272 seconds]
13:30
pawnbox has joined #crystal-lang
13:34
pawnbox has quit [Ping timeout: 264 seconds]
13:41
unshadow has quit [Quit: leaving]
13:53
trapped has quit [Read error: Connection reset by peer]
14:23
Philpax has quit [Ping timeout: 252 seconds]
14:48
<
RX14 >
are there any rules about requiring other parts of the stdlib from the stdlib, say I needed securerandom for http/multipart?
14:48
<
RX14 >
also why doesnt random_bytes exist on the real random
14:48
<
RX14 >
only on securerandom
14:49
<
RX14 >
random seels a bit neglected
14:51
snsei has joined #crystal-lang
14:54
<
jhass >
it probably is
14:55
<
jhass >
we probably should drop it and rename SecureRandom to Random anyway
14:55
<
RX14 >
jhass, yeah using /dev/urandom is the correct random number generator for everywhere is what most people agree
14:56
<
RX14 >
urandom is secure as /dev/random
14:57
<
RX14 >
having a random algorithm is still useful for performance reasons, when you want to generate loads of kinda shit random really fast without switching to the kernel, but urandom should be the default
14:58
<
jhass >
I'd go as far and say that case is shard material and not standard library material
14:59
<
jhass >
pick the shard implementing the PRNG you need
14:59
<
RX14 >
i would make an issue for it honestly
15:00
<
jhass >
feel free to
15:04
pawnbox has joined #crystal-lang
15:07
waj- has joined #crystal-lang
15:09
pawnbox has quit [Ping timeout: 276 seconds]
15:09
waj has quit [Ping timeout: 276 seconds]
15:10
<
RX14 >
jhass, so should I just require securerandom from http? it feels wrong...
15:27
<
RX14 >
jhass, can you make an issue about replacing random with securerandom?
15:28
<
jhass >
focused on other stuff currently, I think you can argue at just as well as I ;)
15:29
<
RX14 >
yeah, i'm just lazy :P
15:29
ponga has quit [Quit: Connection closed for inactivity]
15:36
mbarbar has quit [Ping timeout: 272 seconds]
15:53
pawnbox has joined #crystal-lang
16:06
Oliphaunte has joined #crystal-lang
16:16
Oliphaunte has quit [Remote host closed the connection]
16:17
snsei has quit [Ping timeout: 252 seconds]
16:19
snsei has joined #crystal-lang
16:24
Raimondii has joined #crystal-lang
16:24
snsei has quit [Read error: Connection reset by peer]
16:25
mark_66 has quit [Remote host closed the connection]
16:27
Raimondi has quit [Ping timeout: 240 seconds]
16:33
Raimondii is now known as Raimondi
16:34
snsei has joined #crystal-lang
16:37
Oliphaunte has joined #crystal-lang
16:49
pawnbox has quit [Remote host closed the connection]
16:52
pawnbox has joined #crystal-lang
16:57
Raimondii has joined #crystal-lang
17:00
Raimondi has quit [Ping timeout: 240 seconds]
17:01
soveran has quit [Remote host closed the connection]
17:03
Raimondii is now known as Raimondi
17:03
snsei_ has joined #crystal-lang
17:06
snsei has quit [Ping timeout: 252 seconds]
17:07
trapped has joined #crystal-lang
17:22
Oliphaunte has quit [Remote host closed the connection]
17:26
Oliphaunte has joined #crystal-lang
17:39
<
RX14 >
jhass, the crystal module is gone from the latest crystal docs
17:39
<
jhass >
I thought Ary fixed it with the last release
17:40
<
RX14 >
0.18.6 is where /api go to me
17:40
<
jhass >
old redirect cached I guess
17:41
<
RX14 >
yeah i guess
17:41
pawnbox has quit [Remote host closed the connection]
17:43
Oliphaunte has quit [Remote host closed the connection]
17:43
<
RX14 >
jhass, also where is spec documented?
17:44
<
jhass >
not sure we have much for it yet
17:45
trapped has quit [Ping timeout: 244 seconds]
17:47
pawnbox has joined #crystal-lang
17:49
<
crystal-gh >
crystal/master d7447ba Ary Borenszweig: Fixed #2952: Wrong parsing for `foo a: b(1) do ... end`
17:49
<
crystal-gh >
crystal/master 45e42a4 Ary Borenszweig: Removed block form of `String#match`, and fixed Regex docs. Fixes #2879
17:49
trapped has joined #crystal-lang
17:50
Oliphaunte has joined #crystal-lang
17:51
<
RX14 >
jhass, somehow the IO::Delimited has managed to break in the strangest possible way
17:51
<
RX14 >
it's meant to give me body, but it returns dody
17:52
<
RX14 >
and there isn't a single d in the whole multipart message
17:52
<
RX14 >
and i'm not doing any bit ops
17:54
<
jhass >
perhaps memory corruption?
17:55
<
jhass >
[98, 100].map {|b| b.to_s(2) }
17:55
<
jhass >
=> ["1100010", "1100100"]
17:56
<
jhass >
dunno I guess a write to the wrong offset is more likely
17:56
<
RX14 >
>> [13, 10, 13, 10, 98, 111, 100, 121].map &.chr
17:57
<
RX14 >
no, i found where the d is coming from
17:57
<
RX14 >
and its the same word :/
17:57
<
jhass >
oh you still didn't see the d in body? :D
18:00
mgarciaisaia has joined #crystal-lang
18:02
soveran has joined #crystal-lang
18:03
<
RX14 >
jhass, funny thing was I was writing a "silly test" on glue code that would obviously pass then this happened
18:07
soveran has quit [Ping timeout: 240 seconds]
18:07
<
RX14 >
jhass, i think it's a bug caused by using a memory copy within the same buffer
18:10
<
RX14 >
the memcpy implementation that libc uses can't deal with it's dest and src ranges closely intercepting
18:11
<
RX14 >
so, good thing
18:11
<
RX14 >
it's not a logic bug
18:11
<
RX14 >
i can literally write a slower emcpy
18:12
mgarciaisaia has left #crystal-lang [#crystal-lang]
18:16
<
jhass >
interesting
18:16
<
RX14 >
looks we have move_from and move_to anyway
18:16
<
RX14 >
which I can just add to slice
18:16
<
RX14 >
with pretty much copy and paste
18:16
<
RX14 >
then call it a day
18:28
snsei has joined #crystal-lang
18:28
soveran has joined #crystal-lang
18:28
soveran has quit [Changing host]
18:28
soveran has joined #crystal-lang
18:31
snsei_ has quit [Ping timeout: 252 seconds]
18:32
Oliphaunte has quit [Remote host closed the connection]
18:38
Oliphaunte has joined #crystal-lang
18:40
snsei_ has joined #crystal-lang
18:43
snsei has quit [Ping timeout: 252 seconds]
18:49
Oliphaunte has quit [Remote host closed the connection]
18:49
Oliphaunte has joined #crystal-lang
19:06
snsei_ has quit [Ping timeout: 252 seconds]
19:09
trapped has quit [Read error: Connection reset by peer]
19:20
pawnbox has quit [Remote host closed the connection]
19:20
pawnbox has joined #crystal-lang
19:39
soveran has quit [Remote host closed the connection]
19:44
Oliphaunte has quit [Remote host closed the connection]
20:07
Oliphaunte has joined #crystal-lang
20:07
soveran has joined #crystal-lang
20:07
soveran has quit [Changing host]
20:07
soveran has joined #crystal-lang
20:19
Oliphaunte has quit [Remote host closed the connection]
20:23
Oliphaunte has joined #crystal-lang
20:35
Oliphaunte has quit [Remote host closed the connection]
20:41
pawnbox has quit [Ping timeout: 240 seconds]
20:41
pawnbox has joined #crystal-lang
20:42
Oliphaunte has joined #crystal-lang
20:42
Oliphaunte has quit [Remote host closed the connection]
20:48
rolha has joined #crystal-lang
21:14
soveran has quit [Remote host closed the connection]
21:22
soveran has joined #crystal-lang
21:27
soveran has quit [Remote host closed the connection]
21:33
soveran has joined #crystal-lang
21:34
soveran has quit [Remote host closed the connection]
21:36
Oliphaunte has joined #crystal-lang
21:40
Oliphaunte has quit [Ping timeout: 246 seconds]
22:04
Oliphaunte has joined #crystal-lang
22:40
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:57
Raimondii has joined #crystal-lang
23:00
Raimondi has quit [Ping timeout: 240 seconds]
23:03
bjz has joined #crystal-lang
23:03
Raimondii is now known as Raimondi
23:08
bjz_ has joined #crystal-lang
23:11
bjz has quit [Ping timeout: 252 seconds]
23:13
bjz_ has quit [Ping timeout: 252 seconds]
23:13
<
RX14 >
what on earth is happening there
23:20
rolha has quit [Ping timeout: 246 seconds]
23:20
Oliphaunte has quit [Remote host closed the connection]
23:23
Oliphaunte has joined #crystal-lang
23:31
rolha has joined #crystal-lang
23:34
zodiak has joined #crystal-lang
23:36
zodiak_ has quit [Ping timeout: 272 seconds]
23:52
Oliphaunte has quit [Remote host closed the connection]
23:52
Oliphaunte has joined #crystal-lang