00:02
Excureo has quit [Remote host closed the connection]
00:09
Excureo has joined #crystal-lang
00:17
Cidan has quit [Read error: Connection reset by peer]
00:18
Virviil has quit [Ping timeout: 256 seconds]
00:27
Sadin has joined #crystal-lang
00:31
Sadin has quit [Ping timeout: 240 seconds]
00:49
HakanD_ has quit [Quit: Be back later ...]
00:50
HakanD_ has joined #crystal-lang
00:54
HakanD_ has quit [Ping timeout: 250 seconds]
01:21
Sadin has joined #crystal-lang
01:24
daveshah has joined #crystal-lang
01:25
Sadin has quit [Ping timeout: 240 seconds]
01:38
sailorswift has joined #crystal-lang
01:40
sailorswift has quit [Client Quit]
02:30
daveshah has quit [Remote host closed the connection]
02:42
waterlin1 has joined #crystal-lang
02:42
ozra has quit [Ping timeout: 240 seconds]
02:45
waterlink has quit [Ping timeout: 256 seconds]
02:51
HakanD_ has joined #crystal-lang
02:55
HakanD_ has quit [Ping timeout: 256 seconds]
02:57
Philpax__ has joined #crystal-lang
03:00
Philpax_ has quit [Ping timeout: 256 seconds]
03:09
Sadin has joined #crystal-lang
03:14
Sadin has quit [Ping timeout: 256 seconds]
03:38
waterlin1 has quit [Ping timeout: 256 seconds]
04:52
HakanD_ has joined #crystal-lang
04:57
HakanD_ has quit [Ping timeout: 272 seconds]
05:53
HakanD_ has joined #crystal-lang
05:57
HakanD_ has quit [Ping timeout: 240 seconds]
07:39
HakanD_ has joined #crystal-lang
07:43
HakanD_ has quit [Ping timeout: 250 seconds]
07:49
Philpax_ has joined #crystal-lang
07:52
Philpax__ has quit [Ping timeout: 256 seconds]
08:27
wminor___ is now known as wminor
08:59
Philpax_ has quit [Read error: Connection reset by peer]
09:01
Philpax has joined #crystal-lang
09:05
Philpax_ has joined #crystal-lang
09:09
Philpax has quit [Ping timeout: 256 seconds]
09:10
Philpax_ has quit [Read error: Connection reset by peer]
09:12
Philpax has joined #crystal-lang
09:14
HakanD_ has joined #crystal-lang
09:23
ozra has joined #crystal-lang
09:43
Virviil has joined #crystal-lang
09:49
trapped has joined #crystal-lang
10:05
HakanD__ has joined #crystal-lang
10:07
avdi_ has joined #crystal-lang
10:09
A124 has quit [Disconnected by services]
10:09
A124 has joined #crystal-lang
10:10
adam^ has joined #crystal-lang
10:10
CompanionCube has quit [Ping timeout: 240 seconds]
10:10
hohenfall has quit [Ping timeout: 240 seconds]
10:10
avdi has quit [Ping timeout: 240 seconds]
10:10
matp has quit [Ping timeout: 240 seconds]
10:10
adam_ has quit [Ping timeout: 240 seconds]
10:10
HakanD_ has quit [Ping timeout: 240 seconds]
10:12
CompanionCube has joined #crystal-lang
10:13
CompanionCube has quit [Changing host]
10:13
CompanionCube has joined #crystal-lang
10:14
avdi_ is now known as avdi
10:15
vegai has quit [Ping timeout: 260 seconds]
10:18
matp has joined #crystal-lang
10:18
vegai_ has joined #crystal-lang
10:18
vegai_ has quit [Changing host]
10:18
vegai_ has joined #crystal-lang
10:20
hohenfall has joined #crystal-lang
10:24
Ven has joined #crystal-lang
10:26
globalkeith has joined #crystal-lang
10:27
CompanionCube has quit [Ping timeout: 264 seconds]
10:31
globalkeith has quit [Ping timeout: 256 seconds]
10:37
CompanionCube has joined #crystal-lang
10:37
CompanionCube has joined #crystal-lang
10:41
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:00
Philpax_ has joined #crystal-lang
11:03
Philpax has quit [Ping timeout: 256 seconds]
11:11
Philpax_ has quit [Ping timeout: 256 seconds]
11:14
Philpax_ has joined #crystal-lang
11:34
daveshah has joined #crystal-lang
11:39
<
ytti >
what does it mean when 'accept' has been defined twice, without different argument list
11:43
<
jhass >
ytti: one of the accept's takes a block, the other doesn't
12:16
<
ytti >
[ytti@lintukoto ~/git/crystal]% make
12:16
<
ytti >
Syntax error in ./src/io.cr:10: octal constants should be prefixed with 0o
12:16
<
ytti >
O_RDONLY = 00000000
12:16
<
ytti >
i guess i'm not running new enough crystal
12:18
<
jhass >
ytti: uh, yeah
12:19
<
jhass >
ytti: make clean and update from the repo or something
12:19
<
ytti >
is there brew or apt for dailies
12:20
<
ytti >
esssentiallt what i'm trying to:
12:20
<
ytti >
[ytti@lintukoto ~/git/crystal]% git diff|pastebinit
12:20
<
ytti >
[ytti@lintukoto ~/git/crystal]%
12:21
<
ytti >
to have something like this
12:21
<
ytti >
tcp.addr = Socket::Addr(@family="AF_INET", @ip_port=1122, @ip_address="127.0.0.1")
12:21
<
ytti >
tcp.peeraddr = Socket::Addr(@family="AF_INET", @ip_port=40944, @ip_address="127.0.0.1")
12:21
<
ytti >
available in http request
12:22
<
jhass >
I don't see why you would need args in the convenience wrappers for that
12:22
<
ytti >
you're probably right
12:23
<
ytti >
maybe client.rb shouldnn't be touched at all
12:25
daveshah has quit [Remote host closed the connection]
12:27
HakanD__ has quit [Quit: Be back later ...]
12:29
<
ytti >
hmps, same complain with daily
12:29
<
ytti >
[2 ytti@ytti.fi ~/usr/git/crystal]% crystal --version
12:29
<
ytti >
Crystal 0.9.1 [bbd24e1] (Fri Dec 11 23:01:30 UTC 2015)
12:29
<
ytti >
Syntax error in ./src/io.cr:10: octal constants should be prefixed with 0o
12:29
<
ytti >
O_RDONLY = 00000000
12:29
<
ytti >
Makefile:26: recipe for target '.build/crystal' failed
12:31
HakanD___ has joined #crystal-lang
12:35
<
jhass >
ytti: did you make clean?
12:35
<
jhass >
ytti: oh, also use bin/crystal
12:49
<
ytti >
[ytti@ytti.fi ~/usr/git/crystal]% export PATH="/home/ytti/usr/git/crystal/bin:$PATH"
12:49
<
ytti >
[ytti@ytti.fi ~/usr/git/crystal]% make
12:49
<
ytti >
started to work
12:51
daveshah has joined #crystal-lang
12:51
daveshah has quit [Remote host closed the connection]
12:53
daveshah has joined #crystal-lang
13:10
ytti_ has joined #crystal-lang
13:10
<
ytti_ >
ooops, i think i broke my server by trying to compile crystal :)
13:10
<
ytti_ >
SSH won't even receive ^C to break the compile process
13:11
<
ytti_ >
completely unresponsive, pings just fine, and apparently haven't ping timeout yet
13:11
<
ytti_ >
should have maybe compiled on my laptop instead
13:13
<
ytti_ >
oh there is fork bomb
13:13
<
ytti_ >
if i change 'bin/crystal' to
13:13
<
ytti_ >
echo "HERE"
13:13
<
ytti_ >
crystal "$@"
13:13
<
ytti_ >
i get "HERE" printed in loop
13:14
<
ytti_ >
yeha, because crystal is calling itself :)
13:17
<
ytti_ >
so shouldn't use bin/crystal, makefile uses it, itself
13:17
daveshah has quit [Remote host closed the connection]
13:19
<
ytti_ >
lessee if i can remotely recover it from host, haven't booted it in >1k days, so might not be bootable
13:21
<
ytti_ >
yay, it booted
13:21
Philpax_ has quit [Ping timeout: 240 seconds]
13:24
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:34
ytti has joined #crystal-lang
13:34
<
ytti >
so, don't use bin/crystal as your crystal, but that still leaves me unable to compile crystal :/
13:34
ytti_ has quit [Quit: leaving]
13:40
<
ytti >
i don't have latest
13:41
<
ytti >
i had already forked it, and didn't remember, reforked, and assumed i now have latest
13:41
<
ytti >
while refork is no-op in github if you already have it
13:41
<
ytti >
no complains nothing
13:42
<
jhass >
ytti: don't add crystal/bin to your $PATH, invoke it as bin/crystal
13:42
<
ytti >
make already calls it like that, so that's fine
13:43
<
jhass >
the script tries to drop it from the PATH again, but seems like that fails most of the time still
13:57
<
jhass >
ytti: your libpcl went missing/too old
13:58
<
ytti >
Package: libpcl1-dev
13:58
<
ytti >
Version: 1.6-1
13:58
<
ytti >
is what i have
13:58
<
ytti >
(but i didn't have at compile time)
13:59
<
jhass >
probably too old, 1.12 here
13:59
<
jhass >
the crystal package comes with a newer one, though as .a
13:59
<
ytti >
nwest debian unstable has :/
14:00
<
ytti >
i guess i need some make optins to use bundled
14:00
<
jhass >
kinda, the thing is an .so later in the path shadows an .a earlier
14:00
<
jhass >
so can you remove the libpcl package or dependency hell?
14:03
<
ytti >
[ytti@ytti.fi ~/usr/git/sykemittari]% ~/usr/git/crystal/.build/crystal build --release moi.cr
14:03
<
ytti >
/usr/bin/ld: cannot find -lpcl
14:03
<
jhass >
ytti: now export LIBRARY_PATH="/opt/crystal/embedded/lib"
14:03
<
ytti >
seems like it didn't bundle it, or
14:04
<
ytti >
[ytti@ytti.fi ~/usr/git/sykemittari]% ./moi
14:04
<
ytti >
request.src = Socket::Addr(@family="AF_INET", @ip_port=40668, @ip_address="127.0.0.1")
14:04
<
ytti >
request.dst = Socket::Addr(@family="AF_INET", @ip_port=1122, @ip_address="127.0.0.1")
14:05
<
ytti >
thanks a bunch
14:15
<
ytti >
i wonder if IO should expose ipaddr and peeraddr
14:15
<
ytti >
or if openssl/socket should inherit ipsocket
14:19
<
jhass >
probably more the latter
14:19
<
jhass >
TCPSocket even I guess
14:19
<
ytti >
but wouldn't IO always have two connection points?
14:19
<
ytti >
not necessarily IP
14:21
trapped has joined #crystal-lang
14:21
HakanD___ has quit [Quit: Be back later ...]
14:25
<
ytti >
probably no point to do PR, as it's likely not the correct way to do it
14:26
<
ytti >
particlarly the openssl part seems dubious
14:28
<
ytti >
the spec mockups don't support src/dst,
14:32
<
ytti >
created PR anyhow, for discussion
14:32
<
crystal-gh >
[crystal] ytti opened pull request #1947: expose socket ADDR in http (master...expose-socket-addr-in-http)
http://git.io/v0sqh
14:32
<
ytti >
i wonder if it would be expensive to just expose whole IO instead
14:32
<
ytti >
request.io.peeraddr.address
14:38
waterlink has joined #crystal-lang
14:43
dylanmei has joined #crystal-lang
14:47
Ven has joined #crystal-lang
14:49
Ven has quit [Client Quit]
15:10
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
15:33
Virviil_ has joined #crystal-lang
15:34
Virviil has quit [Ping timeout: 256 seconds]
15:41
Raimondi has joined #crystal-lang
15:54
<
vikaton >
can someone ping me when sdogruyol comes on?
16:14
<
jhass >
vikaton: /msg MemoServ help
16:26
ozra has quit [Ping timeout: 256 seconds]
16:41
waterlink has quit [Ping timeout: 264 seconds]
16:57
vegai_ is now known as vegai
17:07
dylanmei has quit [Quit: ZZZzzz…]
17:35
_whitelogger has joined #crystal-lang
17:35
victor_lowther__ has joined #crystal-lang
17:37
emmanueloga_ has joined #crystal-lang
17:39
bougyman_ has joined #crystal-lang
17:40
hohenfall has quit [*.net *.split]
17:40
avdi has quit [*.net *.split]
17:40
victor_lowther_ has quit [*.net *.split]
17:40
emmanueloga has quit [*.net *.split]
17:40
aemadrid has quit [*.net *.split]
17:40
mroth has quit [*.net *.split]
17:40
jokke has quit [*.net *.split]
17:40
bougyman has quit [*.net *.split]
17:40
jhass has quit [*.net *.split]
17:40
_whitelogger_ has quit [*.net *.split]
17:41
aemadrid_ is now known as aemadrid
17:41
victor_lowther__ is now known as victor_lowther_
17:42
emmanueloga_ is now known as emmanueloga
17:43
bougyman_ is now known as bougyman
17:43
avdi_ is now known as avdi
17:46
jhass has joined #crystal-lang
17:47
jokke has joined #crystal-lang
17:48
hohenfall has joined #crystal-lang
17:53
mroth has joined #crystal-lang
18:20
sdogruyol has joined #crystal-lang
18:32
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:34
sdogruyol has quit []
18:54
trapped has joined #crystal-lang
19:04
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:17
trapped has joined #crystal-lang
19:26
sdogruyol has joined #crystal-lang
19:27
<
sdogruyol >
hey all
19:27
<
vikaton >
hey sdogruyol
19:27
<
sdogruyol >
/msg MemoServ READ NEW
19:38
HakanD___ has joined #crystal-lang
19:50
bdscvr has joined #crystal-lang
19:55
<
trapped >
what are the crystal packages available in the dist.crystal-lang.org PPA?
20:00
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:04
bdscvr has left #crystal-lang ["Leaving"]
20:05
matp has joined #crystal-lang
20:30
<
trapped >
i thought there used to be a crystal-nightly one too
20:30
<
trapped >
or was it on homebrew
20:30
<
trapped >
thanks anyway jhass
20:30
Philpax has joined #crystal-lang
20:30
<
DeBot >
jhass: Nothing known about nightly.
20:31
<
DeBot >
jhass: Set nightly.
20:36
sdogruyol has quit []
20:55
<
trapped >
oh thanks jhass
21:03
Philpax has quit [Read error: Connection reset by peer]
21:03
Philpax has joined #crystal-lang
21:23
Philpax_ has joined #crystal-lang
21:23
Philpax has quit [Ping timeout: 240 seconds]
21:37
Philpax_ has quit [Ping timeout: 240 seconds]
21:40
Philpax_ has joined #crystal-lang
21:46
HakanD___ has quit [Quit: Be back later ...]
21:55
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:01
trapped has joined #crystal-lang
22:19
kulelu88 has joined #crystal-lang
22:19
kulelu88 has joined #crystal-lang
22:22
waterlink has joined #crystal-lang
23:11
dylanmei has joined #crystal-lang
23:16
dylanmei has quit [Quit: ZZZzzz…]
23:24
dylanmei has joined #crystal-lang
23:40
kulelu88 has quit [Quit: Leaving]