Oliphaunte has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Oliphaunte has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
Oliphaunte has quit [Ping timeout: 252 seconds]
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 250 seconds]
ome has joined #crystal-lang
pawnbox has joined #crystal-lang
SShrike has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
SShrike has quit [Quit: SShrike]
nakilon has quit [Quit: WHY NOT?]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
snsei_ has quit [Remote host closed the connection]
bjz_ has quit [Ping timeout: 244 seconds]
bjz has joined #crystal-lang
ome has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Remote host closed the connection]
A124 has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
A124 has joined #crystal-lang
sdogruyol has joined #crystal-lang
<sdogruyol>
hey all
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
zodiak_ has joined #crystal-lang
zodiak has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
unshadow has joined #crystal-lang
Tuxified has joined #crystal-lang
matp has quit [Remote host closed the connection]
PragTob has joined #crystal-lang
matp has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 250 seconds]
Tuxified has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
alanwillms has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
<icezimm>
sdogruyol: hey!
<sdogruyol>
yo
trapped has joined #crystal-lang
Oliphaunte has joined #crystal-lang
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 240 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
alanwillms has quit [Read error: Connection reset by peer]
alanwillms has joined #crystal-lang
bcardiff has joined #crystal-lang
unshadow has quit [Quit: leaving]
Oliphaunte has quit []
fedruantine has quit [Max SendQ exceeded]
paulcsmith_ has joined #crystal-lang
Raimondi has quit [Quit: All hail WeeChat 1.5-dev!]
Raimondi has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
emancu_ has quit [Remote host closed the connection]
emancu has joined #crystal-lang
Bish has quit [Ping timeout: 250 seconds]
Bish has joined #crystal-lang
Bish has quit [Read error: Connection reset by peer]
matp has quit [Excess Flood]
fedruantine has joined #crystal-lang
matp has joined #crystal-lang
Bish has joined #crystal-lang
snsei has joined #crystal-lang
dome22xl has joined #crystal-lang
Oliphaunte has joined #crystal-lang
PragTob has quit [Remote host closed the connection]
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulcsmith_ has joined #crystal-lang
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/voCco
<crystal-gh>
crystal/master ce2f6e2 Ary Borenszweig: Pointer: raise on negative count in copy/move methods
<crystal-gh>
[crystal] asterite opened pull request #2823: String: add `sub` with index and range (master...feature/string_sub_index_range) https://git.io/voCCf
dome22xl has quit [Ping timeout: 250 seconds]
<BlaXpirit>
asterite, should I add a bot to relay messages between IRC and Gitter channels of Crystal? It's written in Crystal and I'd be hosting it and addressing feedback.
fedruantine has quit [Max SendQ exceeded]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
emancu has quit [Remote host closed the connection]
Oliphaunte has quit [Remote host closed the connection]
<Davy_CC>
Cool
<crystal-gh>
[crystal] jhass opened pull request #2825: Build standard library specs with the currently released compiler first (master...stdlib_specs_prev) https://git.io/voCP4
sdogruyol has quit [Quit: Connection closed for inactivity]
Oliphaunte has joined #crystal-lang
<asterite>
Nice!
Oliphaunte has quit [Ping timeout: 250 seconds]
Oliphaunte has joined #crystal-lang
fedruantine has quit [Max SendQ exceeded]
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/voCDX
<BlaXpirit>
yeah that's a bit of a problem with the lib
<BlaXpirit>
the problem is explained quite clearly here. i meant to add the references. but i'm also slowly rewriting the lib :/
<jhass>
do you think there's anything we should/can do from the compiler side about it, and be it clarifying some doc somewhere?
<crystal-gh>
[crystal] jhass pushed 3 new commits to master: https://git.io/voCxE
<crystal-gh>
crystal/master 07ec028 Jonne Haß: Build standard library specs with the currently released compiler first
<crystal-gh>
crystal/master d9166fa Jonne Haß: Fix standard library specs for Crystal 0.17.4
<crystal-gh>
crystal/master 5a6ca7c Jonne Haß: Merge pull request #2825 from jhass/stdlib_specs_prev...
<BlaXpirit>
jhass, well like it was said there, I don't think that a variable that stays in scope should be collected
<jhass>
I don't know, I can easily argue the other side, just because I have some broad scope, if I don't reference a variable anymore later it shouldn't bloat my memory
Raimondi has quit [Quit: All hail WeeChat 1.5-dev!]
Raimondi has joined #crystal-lang
emancu has quit [Ping timeout: 264 seconds]
fedruantine has quit [Max SendQ exceeded]
emancu has joined #crystal-lang
<foca>
how should we test programs that use ARGF? I am using Markdown::Parser, and passing `ARGF.gets_to_end` as its input. This works great, except that `crystal spec` hangs until I send an EOF
<jhass>
1) make the input more configurable 2) monkey patch ARGF.read
<foca>
so this is expected behavior?
<jhass>
sure?
<foca>
▸ make test
<foca>
echo -n | crystal spec
<foca>
problem solved :p
<jhass>
I disagree but oh well
<asterite>
foca: make your program receive an IO. Then pass ARGF in the program, and a MemoryIO or another IO in your specs
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<jhass>
foca: what's in spec_helper.cr
<jhass>
?
<jhass>
foca: actually the require "./*" loads cli.cr, no?
<foca>
yeah
<jhass>
there's your issue then
<foca>
cases like this is where it's actually nice to have a main function that doesn't get executed automatically when the file is required, I guess :)
<jhass>
dunno, I solve that with proper project structures :P
<jhass>
asterite: ^ btw probably a case against stripping src/foo/
<foca>
can you please enlighten a n00b like me on what is a proper project structure?
<jhass>
crystal init app crystoff
<foca>
exactly what I did
<jhass>
oh we do require "./*" there? :/
<foca>
yup
<foca>
:)
<foca>
ah, no, sorry, it's "./crystoff/*" that gets generated
<jhass>
yeah
<jhass>
just wanted to say can't find it
<foca>
yeah, I generated another one to make sure, sorry
<jhass>
and then personally I do would put cli.cr into src/
<foca>
fair enough, thanks :)
bcardiff has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
soveran has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
zodiak_ has quit [Ping timeout: 250 seconds]
Oliphaunte has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Read error: Connection timed out]