<crystal-gh>
[crystal] ysbaddaden opened pull request #6184: Fix: use Crystal::System::Random in Crystal::Hasher (master...fix-dont-use-random-secure-in-prelude) https://git.io/vhrmk
<crystal-gh>
[crystal] ysbaddaden closed pull request #6128: Fix: detect error when trying to use unbound generic type in instance var (master...bug/5383-unbound-generic-type) https://git.io/vhI3p
<FromGitter>
<bararchy> Yeha I actually had to become the maintainer for the gitter AUR package to make it update to v4.0.0
<FromGitter>
<bararchy> else it wouldn't work
<RX14>
I maintain a surprising amount of AUR packages...
<RX14>
luckily nothing important
<FromGitter>
<bararchy> lol
<FromGitter>
<bararchy> I don't know if I can hold up to the responsability
<FromGitter>
<bararchy> as long as it's changing sha versions and download links all good
<FromGitter>
<paulcsmith> @bcardiff @RX14 and rest of core team. Just listening to the Q&A now and I think the logic behind waiting on 1.0 is sound. I totally agree that it would be bad to lock in the language semantics now and then have to break a bunch of stuff later to meet other language goals 👍
<FromGitter>
<faustinoaq> @rishavs Also try `Dir.glob("folder/**/*.yml")`
<FromGitter>
<paulcsmith> Oh interesting! I didn't know about Dir.glob :D
<RX14>
@paulcsmith the thing is that if we release 1.0 now, we will *never* have paralellism, windows support will be buggy and slow like ruby, and the compiler will never be faster
<RX14>
thats why not to release 1.0
<RX14>
it's just not sane
<FromGitter>
<faustinoaq> or `Dir.glob(File.join("folder", "**", "*.yml"))` (to be windows backlash `\` compatible in the future 😉 )
<RX14>
windows supports / and \
<RX14>
it's fine as-is
<FromGitter>
<faustinoaq> Oh nice 👍
<FromGitter>
<paulcsmith> @RX14 yeah I was agreeing with you :)
<FromGitter>
<rishavs> @faustinoaq `puts Dir.glob("./schemas/*.yml")` gives me an empty list even though i have 2 yml files in that folder
<RX14>
I know :)
<FromGitter>
<paulcsmith> Oh ok haha 👍
<FromGitter>
<paulcsmith> But I also wanted to say that you've all done an awesome job with where it's at now. I'm still so happy everytime I get to work on my Cyrstal apps (even with slow compilation :P)
<FromGitter>
<faustinoaq> @rishavs Oh, what about `Dir.glob("**/*.yml")` ?
<FromGitter>
<paulcsmith> @RX14 I haven't used windows in awhile, but I've read that it will support Linux soon (or already does?). So is Windows still a priority or can people use Linux on Windows with Crystal?
<FromGitter>
<rishavs> that gives me every yml file on my project workspace
<FromGitter>
<r00ster91> windows 10 already supports a little linux subsystem
<FromGitter>
<rishavs> my bad. Got it work with the correct path. `puts Dir.glob("**/src/schemas/*.yml")` works. For some reason I can never understand the correct path in Crystal. my requires start from the target file's folder. WHile this is from the workspace itself
wontruefree has quit [Quit: bye]
wontruefree has joined #crystal-lang
wontruefree has quit [Client Quit]
wontruefree has joined #crystal-lang
Ven`` has joined #crystal-lang
Ven`` has quit [Read error: Connection reset by peer]
Ven`` has joined #crystal-lang
Ven`` has quit [Read error: Connection reset by peer]
Ven`` has joined #crystal-lang
Ven`` has quit [Read error: Connection reset by peer]
Ven`` has joined #crystal-lang
Ven`` has quit [Read error: Connection reset by peer]
Ven`` has joined #crystal-lang
Ven`` has quit [Read error: Connection reset by peer]
Ven`` has joined #crystal-lang
Ven`` has quit [Read error: Connection reset by peer]
Ven`` has joined #crystal-lang
<FromGitter>
<axvm> Hello there
<FromGitter>
<axvm> Im trying to spawn few fibers and transmit data from fibers via channel to another fiber. But for unknown for me reason the program stops working even when I call Fiber.yield in the main "thread"
Ven`` has quit [Client Quit]
Ven`` has joined #crystal-lang
<FromGitter>
<axvm> Also I fount unexpected behavior HTTP Client. If server returns 429 status code, crystal returns "Index out of bounds" exception
<FromGitter>
<kingsleyh> @axvm this is not an answer to your question exactly - but we had lots of various issues with Fibres so we switched to using Processes on our SushiChain blockchain app (https://sushichain.io) - we have a library for Processes - not sure if it will help you at all though: https://github.com/tbrand/tokoroten
Ven` has joined #crystal-lang
<z64>
i think its something else raising that error. i have several libraries that need to handle status code 429 without issue
<FromGitter>
<axvm> @z64 yea, im using some kind of modified http client, but here is stackstrace: ⏎ Index out of bounds (IndexError) ⏎ from /usr/share/crystal/src/indexable.cr:0:17 in 'at' ⏎ from /usr/share/crystal/src/indexable.cr:73:5 in '[]' ⏎ from /usr/share/crystal/src/http/client/response.cr:124:19 in 'from_io?' ... [https://gitter.im/crystal-lang/crystal?at=5b20207f8864a936cc82c3c8]
<FromGitter>
<axvm> @kingsleyh thanks for suggestion. is it crossplatform lib?
Ven`` has quit [Ping timeout: 245 seconds]
<FromGitter>
<kingsleyh> In theory yes - but only tested on OSX and Linux so far
Ven` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven`` has joined #crystal-lang
Ven`` has quit [Client Quit]
<FromGitter>
<axvm> @z64 you are right, looks like this is side effect from my modified http client. made test script and it successfuly handles 429 error code
<FromGitter>
<axvm> @kingsleyh any idea would if work on arms?