<crystal-gh>
[crystal] MakeNowJust opened pull request #1021: Fix generating the document of VirtualType (master...fix-gen-doc-bug) http://git.io/vmxGl
bcardiff has joined #crystal-lang
zipR4ND has quit [Ping timeout: 264 seconds]
blue_deref has quit [Quit: bbn]
Locke23rus has quit [Remote host closed the connection]
ponga has quit [Quit: Connection closed for inactivity]
strcmp1 has quit [Quit: Leaving]
nahtnam has quit [Quit: Connection closed for inactivity]
lokulin has quit [Quit: bye!]
lokulin has joined #crystal-lang
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
havenwood has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
Ven_ has joined #crystal-lang
BlaXpirit has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Veejay has joined #crystal-lang
Ven has joined #crystal-lang
havenwood has quit [Ping timeout: 256 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
sergey-kucher has joined #crystal-lang
dbackeus has joined #crystal-lang
<dbackeus>
how would I declare a hash that could contain any depth of nested (String => String) hashes?
<DeBot>
jhass: Error in line 4: no overload matches 'Hash(String, NestedHash)#[]=' with types String, Hash(String, Hash(String, String)) - http://carc.in/#/r/7sn
<jhass>
okay, I give up
Ven has joined #crystal-lang
dbackeus has quit [Ping timeout: 246 seconds]
strcmp1 has joined #crystal-lang
Locke23rus has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
dbackeus has joined #crystal-lang
asterite_ has joined #crystal-lang
asterite_ has quit [Remote host closed the connection]
<dbackeus>
I've been contemplating attempting to port Rack over to Crystal, where an app takes a single "env" argument which is basically a recursive hash
<dbackeus>
anyone attempt anything similar in crystal yet? does it seem like a feasible/good idea?
<jhass>
I do think we need something like Rack, conceptually
<jhass>
I'm not sure its API ports well over
<jhass>
we should also see what they do for Rack 2
<dbackeus>
yeah, maybe something similar but adapted to work well with stronger typing
<jhass>
but I guess we should maybe just with something more traditional template method pattern-ish
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asterite_ has joined #crystal-lang
asterite_ has quit [Ping timeout: 240 seconds]
Ven has joined #crystal-lang
havenwood has joined #crystal-lang
<jhass>
asterite: if you allow me some tip, currently there are over 20 open PRs without any official feedback at all. If you don't want a change that's fine, just say so. If you want something done differently and don't want to do it on your own/don't have time to do it, that's fine, just say so. But if you want to have a big contributor base, a as tight as possible feedback loop, and be it an acknowledgment
<jhass>
that one of you has seen the PR, is essential. No reaction at all is poison in building one up, I can tell this from personal experience
<jhass>
don't be afraid to reject stuff, people can totally accept that. Leaving them in the dark is what drives them away
<BlaXpirit>
so true
<BlaXpirit>
well when i reported issues the feedback was great
asterite_ has joined #crystal-lang
<asterite>
jhass: thanks for the feedback. You are right, I also dislike when I submit issues/pull requests and get no feedback at all
<asterite>
My main issue with pull requests is that most of the time I'd like to double check with waj, but it's hard to find time
<asterite>
Another issue is that contributions have been growing linearly, or so, and if I'd like to handle them all I'd have to use all my free time to that...
<jhass>
if you're pro, just merge it and maybe keep a list for when you have time to check up, git revert is a thing and again rejection isn't bad
<jhass>
if you're contra just voice your concerns
<jhass>
alternatively get waj to do more review :P
<asterite>
we were thinking about using gratipay to partially sustain the project, but none of us has any experience with it
<jhass>
bountysource seems to be a bit more popular and supports project donations too
<jhass>
though I guess the fee is a bit higher
<asterite>
I thought bountysource is "we pay you if you do this specific task"
<jhass>
that's their main thing, yes. But it supports fundraiser and project wide donations too, at least last time I checked
<jhass>
Mercurial_: sure, just peak through the open issues, add you opinion, review PRs, add missing functionality to the standard library or writing a library/binding to something
<vifino>
Is there a function for executing commands without a shell? I have a program I want to invoke and an Array(String) as its arguments. I need to have both stdin and stdout, so I can integrate that nicely into my application.
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbackeus has joined #crystal-lang
<asterite>
vifino: There's Process#run
<vifino>
asterite: I'll look at that, thanks :)
<jhass>
which still doesn't provide stderr...
<BlaXpirit>
D:
NeverDie has quit [Excess Flood]
<BlaXpirit>
is this a matter of a decision or just nobody got around to it?
<sardaukar>
how can one easily know to map the tcflag_t struct members to UInt64 ?
<jhass>
you can't really, you scavenge the header files till you find it out or make a C program that prints the sizeof
<sardaukar>
oh ok
tliff has quit [Ping timeout: 244 seconds]
tliff has joined #crystal-lang
<sardaukar>
argh... I'm still not sure how to use this - without using ncurses, the only way to get the terminal size (other than shelling out) seems to be an ioctl call
<sardaukar>
I guess that's Linux only, right?
<sardaukar>
because I can't see which attr I need to query with tcgetattr ...
Locke23rus has joined #crystal-lang
<sardaukar>
to get the size, it is suggested to use: