Oliphaunte has quit [Remote host closed the connection]
<leafybasil>
As soon as I run "crystal doc" I get "Invalid memory access (signal 11) at address 0x7fff579ecfec"
<leafybasil>
Happy to create an issue for this, just wondered if this message makes it obvious that I've done something dumb.
<leafybasil>
Although I suspect not
Oliphaunte has joined #crystal-lang
<willl>
leafybasil: please open an issue. It also may be usful if you can try running `lldb crystal doc` then when the prompt comes up type `run`, and after it segfaults: `bt` and `l`
<leafybasil>
I willl do that
<leafybasil>
willl: judging by the very limited output, when running with lldb attached, I suspect it just broke differently
Philpax has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
<leafybasil>
`bt` dumps a hell of a lot of backtrace, then `l` seemingly does nothing
paulcsmith_ has quit [Client Quit]
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/vKyIy
<crystal-gh>
crystal/master 9b31f54 Ary Borenszweig: Docs: missing handling of named tuples. Fixes #3034
Oliphaunte has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Philpax has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
<FromGitter>
<sdogruyol> hey all
<crystal-gh>
[crystal] jhass opened pull request #3035: Add IO#noecho and IO#noecho! (master...noecho) https://git.io/vKyEk
* FromGitter
* kofno waves
pawnbox_ has joined #crystal-lang
<FromGitter>
<sdogruyol> kofno how you doin'
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 276 seconds]
triangles has joined #crystal-lang
trapped has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
matp has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 244 seconds]
<jhass>
asterite: we gotta do something about read_nonblock. It's broken and there's no way to ask an IO(::FileDescriptor) to "give me up n bytes but don't block in any way to fulfill that". Also do you understand the blocking argument of IO::FileDescriptor.new?
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
<RX14>
jhass, to me it just sets O_NONBLOCK when calling open()
<jhass>
I want read_partially to return with 0 if there's nothing to read at all
<RX14>
wait so doesn't a file descriptor with blocking: true block the whole process?
<RX14>
jhass, i tested with STDLIN.raw and calling read() on it gives me characters as soon as they are typed it just blocks the fiber when there's nothing waiting
<RX14>
you mightr be able to do it with fibers
<RX14>
the fiber would block but send stuff down a nonblocking channel
<jhass>
that seems even more cumbersome
<RX14>
yeah but it works
<RX14>
oh i've made a huge mistake
<RX14>
i can't ^C my crystal program now
<jhass>
^\ should still work
triangles has quit [Quit: Leaving]
<RX14>
doesnt work
<jhass>
then you have to kill it externally
<jhass>
ugh, PointerIO looks dangerous
<RX14>
well
<RX14>
it does have Pointer in the name
pawnbox has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
<jhass>
RX14: private methods should be implementation details, their behavior is part of the contract the public methods that call them provide
<RX14>
sure I can craft inputs to hit these private routines
<RX14>
it would be quite easy really
<RX14>
but i would rather test them in isolation
<RX14>
i would have to create a complete multipart payload which is different only in the Content-Disposition header
<RX14>
guess i could create a helper method to do that
<RX14>
there should be a way to declare helper methods per test case because currently they have to have unique names and be declared at the top level
zodiak_ has joined #crystal-lang
zodiak has quit [Ping timeout: 244 seconds]
Oliphaunte has joined #crystal-lang
aeosynth has joined #crystal-lang
<aeosynth>
any idea when the next crystal release will happen? what is the release process/schedule?
<RX14>
aeosynth, whenever it's ready at the moment
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
aeosynth has quit []
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
adam12 is now known as adam
adam is now known as Guest55646
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
jeromegn has quit [Ping timeout: 250 seconds]
jeromegn has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
devinacosta has joined #crystal-lang
<devinacosta>
Question, i'm building an application with Crystal using shards, and i have my shard.yml correct, it downloads, but it puts everything into the libs directory, am i suppose to do something specific with the code under "src" directory to be able to use the library?
<RX14>
just require it
<RX14>
it should work
<devinacosta>
Error in ./container.cr:1: while requiring "ssh2": can't find file 'ssh2' relative to '/root/code/crystal/vzcheck/src'
<devinacosta>
it keeps wanting to check for it under "src"