00:36
<
[spoiler] >
¬_¬ sigh @ #1614
00:36
<
[spoiler] >
the "fix" in that commit isn't really a fix because mesa requires llvm package, not sure if it would work with llvm35
00:40
<
[spoiler] >
oh there's a vagrant file in the repo
00:40
<
[spoiler] >
I could use vagrant
01:16
fowlduck_ has quit [Remote host closed the connection]
01:44
adler has joined #crystal-lang
02:13
adam| is now known as adam12
02:19
leafybasil has quit [Remote host closed the connection]
02:27
leafybasil has joined #crystal-lang
02:28
leafybasil has quit [Remote host closed the connection]
03:19
pawnbox has joined #crystal-lang
03:28
McDougal has joined #crystal-lang
03:28
leafybasil has joined #crystal-lang
03:29
<
McDougal >
Hi, is Crystal ready for web apps?
03:32
<
adler >
There are several frameworks you can choose
03:33
<
McDougal >
adler: Are there any libs to handle secure sessions?
03:33
leafybasil has quit [Ping timeout: 256 seconds]
04:08
pawnbox has quit [Ping timeout: 256 seconds]
04:15
pawnbox has joined #crystal-lang
04:48
adler has quit [Remote host closed the connection]
05:00
leafybasil has joined #crystal-lang
05:02
Tetsumi has quit [Remote host closed the connection]
05:05
leafybasil has quit [Ping timeout: 264 seconds]
05:09
pawnbox has quit [Remote host closed the connection]
05:10
pawnbox has joined #crystal-lang
05:17
pawnbox has quit [Remote host closed the connection]
05:17
pawnbox has joined #crystal-lang
05:18
Sadin has quit [Ping timeout: 240 seconds]
05:22
slash_nick has quit [Ping timeout: 244 seconds]
05:22
slash_nick has joined #crystal-lang
05:45
ssvb has quit [Ping timeout: 240 seconds]
05:49
adler has joined #crystal-lang
05:52
adler has quit [Remote host closed the connection]
05:52
adler has joined #crystal-lang
05:59
bmcginty_ has quit [Ping timeout: 272 seconds]
06:01
leafybasil has joined #crystal-lang
06:05
leafybasil has quit [Ping timeout: 255 seconds]
06:15
pawnbox has quit [Ping timeout: 260 seconds]
06:17
pawnbox has joined #crystal-lang
06:30
pawnbox has quit [Remote host closed the connection]
06:31
pawnbox has joined #crystal-lang
06:32
pawnbox has quit [Remote host closed the connection]
06:32
pawnbox has joined #crystal-lang
06:46
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:01
pawnbox has quit [Ping timeout: 268 seconds]
07:04
Raimondi has quit [Read error: Connection reset by peer]
07:05
barosl has quit [Read error: Connection reset by peer]
07:05
Raimondi has joined #crystal-lang
07:06
pawnbox has joined #crystal-lang
07:31
pawnbox has quit [Remote host closed the connection]
07:31
pawnbox has joined #crystal-lang
07:38
rosylilly has joined #crystal-lang
07:39
pawnbox has quit [Remote host closed the connection]
07:40
pawnbox has joined #crystal-lang
07:49
pawnbox has quit [Remote host closed the connection]
07:49
pawnbox has joined #crystal-lang
08:02
matp_ has joined #crystal-lang
08:02
matp has quit [Ping timeout: 264 seconds]
08:03
alsm has joined #crystal-lang
08:05
Guest1413421 has joined #crystal-lang
08:08
tatey_ has joined #crystal-lang
08:13
<
Guest1413421 >
can i call a function with a function defined through an macro-argument?
08:13
<
Guest1413421 >
*call a class
08:14
<
Guest1413421 >
example: macro a f; Test.{{ f }};end;
08:14
<
Guest1413421 >
and which should f have in this example?
08:14
<
Guest1413421 >
*which type
08:17
leafybasil has joined #crystal-lang
08:18
<
adler >
>> macro a f; Test.{{ f }};end;
08:18
<
adler >
yes it goes this way
08:20
BlaXpirit has joined #crystal-lang
08:21
pawnbox has quit [Remote host closed the connection]
08:21
pawnbox has joined #crystal-lang
08:21
leafybasil has quit [Ping timeout: 240 seconds]
08:22
<
Guest1413421 >
then it seems like i'm doing it wrong
08:35
<
adler >
There are several things to fix: 1. Test("a") should be Test.new("a") since you're initializing an instance.
08:36
<
adler >
2. Test should initialize with only one argument since you set initialize(@a, @b) but init it with Test.new("a")
08:36
<
BlaXpirit >
what exactly is the point of a macro here?
08:36
<
BlaXpirit >
oh nvm i see
08:36
matp_ is now known as matp
08:37
<
adler >
3. arguments in the macro should be expanded like {{arg}}
08:37
<
adler >
so your code should be
08:40
McDougal has joined #crystal-lang
08:42
<
Guest1413421 >
adler: uh, thank you :) i'm a bit confused about this macro stuff, never saw that in another language before
08:44
tatey_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:44
McDougal has quit [Ping timeout: 260 seconds]
08:57
Guest1413421 has quit [Quit: Page closed]
09:10
Keziolio has joined #crystal-lang
09:15
jamie_ca has quit [Ping timeout: 240 seconds]
09:16
jamie_ca has joined #crystal-lang
09:32
leafybasil has joined #crystal-lang
09:35
rosylilly has quit [Remote host closed the connection]
09:37
leafybasil has quit [Ping timeout: 265 seconds]
09:41
trapped has joined #crystal-lang
09:45
pawnbox has quit [Read error: Connection reset by peer]
09:45
pawnbox has joined #crystal-lang
09:51
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:53
pawnbox has quit [Remote host closed the connection]
09:54
barosl has joined #crystal-lang
09:57
McDougal has joined #crystal-lang
10:01
trapped has joined #crystal-lang
10:06
blue_deref has quit [Quit: bbn]
10:09
leafybasil has joined #crystal-lang
10:09
leafybasil has quit [Remote host closed the connection]
10:10
leafybasil has joined #crystal-lang
10:11
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
10:17
doddok has quit [Read error: Connection reset by peer]
10:18
pawnbox has joined #crystal-lang
10:30
<
[spoiler] >
Ugh. #1614 is giving me so much grief right now
10:38
matp has quit [Ping timeout: 256 seconds]
10:40
<
BlaXpirit >
[spoiler], why?
10:40
<
[spoiler] >
cause I can't downgrade to llvm35 package on arch
10:40
trapped has joined #crystal-lang
10:40
<
[spoiler] >
and the vagrant box is being a shit
10:40
<
BlaXpirit >
maybe u have a reason for that, i was able to downgrade
10:40
<
[spoiler] >
dependencies
10:40
<
[spoiler] >
Some crap depends on llvm3.6+
10:47
<
[spoiler] >
I don't think there's even a single time where I used VirtualBox and thought to myself "Oh jolly pumpkins! What a wonderous, pleasant and euphoric experience this is!"
10:47
<
BlaXpirit >
aint nothing wrong with virtualbox
10:49
matp has joined #crystal-lang
10:49
<
[spoiler] >
seems the network adapter type was being a pompous little bitch. Another one works
10:54
noumar has joined #crystal-lang
10:57
<
noumar >
Hi. I'm new to Crystal and have been trying to use OpenSSL. But I need to read X509 certifcates and the Stdlib doesn't support this. So I tried installing openssl.cr with shards. But I can't require it as always fails with "Error in ./libs/openssl/lib/lib_crypto.cr:12: can't alias EVP_MD because it's already defined as a type def". What am I doing wrong?
11:15
pawnbox has quit [Ping timeout: 268 seconds]
11:18
adler has quit [Remote host closed the connection]
11:22
pawnbox has joined #crystal-lang
11:34
gamemanj has joined #crystal-lang
11:49
<
[spoiler] >
it takes like over 2GB to compile?
11:49
<
[spoiler] >
but i gave mt VM only 2 GB
12:00
xdougx has joined #crystal-lang
12:05
<
gamemanj >
>2GB of memory to compile? That's a bit much, surely?
12:08
<
xdougx >
crystal slowdown his process? started processing 60 lines per second, then now its just 3
12:11
<
jhass >
you probably start to get lock contention on the DB
12:14
<
xdougx >
im just thinking on it
12:15
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:15
<
xdougx >
yeah, my CPU and RAM on server is stable and keep processing, algo im using RDS on AWS with postgresql
12:15
<
[spoiler] >
gamemanj: according to #635 it's normal :/
12:16
<
[spoiler] >
This PC only has 4GB so VBox won't even let me allocate more than 3GB
12:16
<
jhass >
try zram in the VM
12:16
<
[spoiler] >
the build succeesed now
12:16
<
[spoiler] >
succeeded*
12:17
<
jhass >
btw setting up a chroot and building crystal-git there would've been easy too :P
12:20
<
[spoiler] >
jhass: I don't follow O: would pacman work inside chroot?
12:20
<
[spoiler] >
If you meant that I need to instal llvm35 inside the chroot or w/e?
12:21
adler has joined #crystal-lang
12:26
<
jhass >
pacstrap -cd crystal_chroot base; systemd-nspawn -D crystal_chroot; fetch & build crystal-git; Ctrl+D; pacman -U crystal_chroot/root/crystal-git/crystal-git*.tar.xz
12:27
* [spoiler]
saves that to try and use later
12:27
<
[spoiler] >
I'm getting ready for work; might try it there
12:36
noumar has quit [Ping timeout: 246 seconds]
12:37
Renich has joined #crystal-lang
12:37
tatey_ has joined #crystal-lang
12:42
adler_ has joined #crystal-lang
12:45
adler has quit [Ping timeout: 255 seconds]
12:45
Bofu2U has quit [Read error: Connection reset by peer]
12:49
tatey_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:55
pawnbox has quit [Ping timeout: 268 seconds]
12:56
pawnbox has joined #crystal-lang
13:01
Bofu2U has joined #crystal-lang
13:08
trapped has joined #crystal-lang
13:15
pawnbox has quit [Read error: Connection reset by peer]
13:15
noumar has joined #crystal-lang
13:17
<
xdougx >
RDS 100% cpu usage thats why is slow
13:47
<
crystal-gh >
[crystal] adlerhsieh opened pull request #1835: Add documentation to Tempfile (master...add-doc)
http://git.io/vWxBf
13:48
adler_ has quit [Remote host closed the connection]
14:08
<
crystal-gh >
[crystal] MakeNowJust opened pull request #1836: Improvement `Range#sum` performance (master...feature/range-sum)
http://git.io/vWxV1
14:21
Bofu2U has quit [Ping timeout: 250 seconds]
14:44
Bofu2U has joined #crystal-lang
14:44
<
[spoiler] >
I am convinced I need a new laptop at home, because everything just worked fine with VBox @ work
14:47
pawnbox has joined #crystal-lang
14:50
Bofu2U has quit [Read error: Connection reset by peer]
14:51
Bofu2U has joined #crystal-lang
14:53
BlaXpirit has quit [Quit: Konversation]
14:57
gamemanj has quit [Ping timeout: 260 seconds]
15:03
adler_ has joined #crystal-lang
15:04
<
crystal-gh >
crystal/master 72c4a48 Adler: add doc to Tempfile
15:04
<
crystal-gh >
crystal/master 87f3087 Ary Borenszweig: Merge pull request #1835 from adlerhsieh/add-doc...
15:10
adler has joined #crystal-lang
15:10
adler_ has quit [Read error: Connection reset by peer]
15:18
adler has quit [Remote host closed the connection]
15:30
adler has joined #crystal-lang
15:31
blassin has joined #crystal-lang
15:31
<
blassin >
does anyone know why we need commas again for multiline hashes?
15:31
<
blassin >
not needing to type them was SO handy
15:34
pawnbox has quit [Ping timeout: 250 seconds]
15:36
pawnbox has joined #crystal-lang
15:36
Bofu2U has quit [Read error: Connection reset by peer]
15:38
<
[spoiler] >
blassin: it makes more sense to type them, imho
15:38
<
blassin >
ok, it could be optional
15:39
Bofu2U has joined #crystal-lang
15:44
greengriminal has joined #crystal-lang
15:48
BlaXpirit has joined #crystal-lang
15:49
bmcginty has joined #crystal-lang
15:51
pawnbox has quit [Read error: Connection reset by peer]
15:53
pawnbox has joined #crystal-lang
16:00
NeverDie has joined #crystal-lang
16:08
zz_Cidan is now known as Cidan
16:11
shama has joined #crystal-lang
16:26
pawnbox has quit [Ping timeout: 265 seconds]
16:28
pawnbox has joined #crystal-lang
16:42
pawnbox has quit [Ping timeout: 240 seconds]
16:43
pawnbox has joined #crystal-lang
16:44
pawnbox has quit [Remote host closed the connection]
16:44
pawnbox has joined #crystal-lang
16:49
adler has quit [Remote host closed the connection]
16:49
pawnbox has quit [Remote host closed the connection]
16:49
pawnbox has joined #crystal-lang
16:51
blassin has quit [Quit: Page closed]
17:03
Renich has quit [Ping timeout: 252 seconds]
17:04
Renich has joined #crystal-lang
17:07
<
crystal-gh >
[crystal] omninonsense opened pull request #1837: minor improvements to `IO::ByteFormat` and `Slice` (master...io_and_slice_patches)
http://git.io/vWhe6
17:18
NeverDie has quit [Ping timeout: 268 seconds]
17:18
NeverDie has joined #crystal-lang
17:24
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:29
alsm has quit [Ping timeout: 272 seconds]
17:35
pawnbox has quit [Read error: Connection reset by peer]
17:37
pawnbox has joined #crystal-lang
17:41
leafybas_ has joined #crystal-lang
17:45
leafybasil has quit [Ping timeout: 272 seconds]
17:45
leafybas_ has quit [Ping timeout: 244 seconds]
17:55
fowlduck has joined #crystal-lang
17:58
pawnbox has quit [Ping timeout: 260 seconds]
18:01
pawnbox has joined #crystal-lang
18:12
<
[spoiler] >
Erm. Should it be Slice(T)::ReverseItemIterator(T), or Slice(T)::ItemReverseIterator(T) for a ReverseIterator
18:13
<
[spoiler] >
Array calles it ReverseIterator
18:20
pawnbox has quit [Ping timeout: 246 seconds]
18:20
pawnbox has joined #crystal-lang
18:21
NeverDie has joined #crystal-lang
18:22
alsm has joined #crystal-lang
18:23
NeverDie has quit [Max SendQ exceeded]
18:27
NeverDie has joined #crystal-lang
18:30
pawnbox has quit [Read error: Connection reset by peer]
18:35
pawnbox has joined #crystal-lang
18:38
alsm has quit [Ping timeout: 264 seconds]
18:45
alsm has joined #crystal-lang
18:54
pawnbox has quit [Read error: Connection reset by peer]
18:56
Renich has quit [Ping timeout: 246 seconds]
18:56
Renich has joined #crystal-lang
19:12
<
[spoiler] >
I hate rebasing stuff, I always fuck it up
19:33
Renich has quit [Quit: leaving]
19:45
alsm has quit [Ping timeout: 268 seconds]
20:00
NeverDie_ has joined #crystal-lang
20:01
NeverDie has quit [Ping timeout: 246 seconds]
20:05
NeverDie_ has quit [Max SendQ exceeded]
20:06
NeverDie has joined #crystal-lang
20:12
<
crystal-gh >
crystal/master f6f5e90 Nino Miletich: minor improvements to `IO::ByteFormat` and `Slice`...
20:12
<
crystal-gh >
crystal/master 9ae1b5c Ary Borenszweig: Merge pull request #1837 from omninonsense/io_and_slice_patches...
20:49
blue_deref has joined #crystal-lang
21:09
unshadow has joined #crystal-lang
21:09
unshadow has quit [Client Quit]
21:09
unshadow has joined #crystal-lang
21:29
tatey_ has joined #crystal-lang
21:30
tatey_ has quit [Client Quit]
21:32
kulelu88 has joined #crystal-lang
21:32
kulelu88 has quit [Changing host]
21:32
kulelu88 has joined #crystal-lang
21:47
NeverDie has joined #crystal-lang
21:54
blue_deref has quit [Ping timeout: 244 seconds]
21:58
alsm has joined #crystal-lang
22:00
leafybasil has joined #crystal-lang
22:12
tatey_ has joined #crystal-lang
22:32
blue_deref has joined #crystal-lang
22:44
leafybasil has quit [Remote host closed the connection]
22:46
fowlduck has quit [Remote host closed the connection]
22:49
unshadow has quit [Quit: leaving]
22:51
alsm has quit [Ping timeout: 268 seconds]
22:55
greengriminal has quit [Quit: Leaving]
22:59
McDougal has joined #crystal-lang
23:02
leafybasil has joined #crystal-lang
23:09
NeverDie has joined #crystal-lang
23:13
blue_deref has quit [Quit: bbn]
23:30
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:32
McDougal has joined #crystal-lang
23:34
BlaXpirit has quit [Remote host closed the connection]
23:34
McDougal has quit [Client Quit]
23:49
McDougal has joined #crystal-lang
23:54
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]