walez has quit [Read error: Connection reset by peer]
walez___ has joined #crystal-lang
walez___ has quit [Ping timeout: 252 seconds]
hellstabber has joined #crystal-lang
taupiqueur has joined #crystal-lang
walez___ has joined #crystal-lang
jmdaemon has quit [Ping timeout: 255 seconds]
yxhuvud has quit [Read error: Connection reset by peer]
walez___ has quit [Quit: Leaving]
yxhuvud has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
<FromGitter>
<noaheverett> Fuzai: could you use a Cassandra driver (https://github.com/kaukas/crystal-cassandra) since Scylla is (was?) based on Cassandra or do they require their own driver now?
hellstabber has quit [Quit: Connection closed for inactivity]
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
<yxhuvud>
could also be worth the effort asking the scylladb company if they know of anything
<FromGitter>
<sergiotapia> Hello, new to Crystal just did a crystal init app myapp and ran `crystal spec` and I get this error. What am I supposed to install locally on my dev machine for this to work?
<FromGitter>
<sergiotapia> `/usr/bin/ld: cannot find -lpcre (this usually means you need to install the development package for libpcre): No such file or directory`
<FromGitter>
<Blacksmoke16> how did you install crystal?
<FromGitter>
<sergiotapia> I used asdf
<FromGitter>
<Blacksmoke16> on `1.6.1` yea?
<FromGitter>
<Blacksmoke16> basically you just need to make sure you have `libpcre` installed
<FromGitter>
<sergiotapia> `sudo apt-get install libpcre` that package doesn't seem to exist. What do I need to install?
<FromGitter>
<Blacksmoke16> tho if you need more control, can use https://crystal-lang.org/api/Process.html#run%28command%3AString%2Cargs%3Dnil%2Cenv%3AEnv%3Dnil%2Cclear_env%3ABool%3Dfalse%2Cshell%3ABool%3Dfalse%2Cinput%3AStdio%3DRedirect%3A%3AClose%2Coutput%3AStdio%3DRedirect%3A%3AClose%2Cerror%3AStdio%3DRedirect%3A%3AClose%2Cchdir%3APath%7CString%3F%3Dnil%29%3AProcess%3A%3AStatus-class-method
<FromGitter>
<sergiotapia> hm... how would I capture the output of the system call. I need to capture the pretty json `yt-dlp` returns
<FromGitter>
<sergiotapia> interesting, `Unhandled exception: Error executing process: './downloads/youtube': Permission denied (File::AccessDeniedError)` my code doesn't seem to have permission to write to the folder? yet my code with `system` works fine
<FromGitter>
<Blacksmoke16> oh?
<FromGitter>
<Blacksmoke16> can you share the code so far?
<FromGitter>
<sergiotapia> I'm a dummy lol copy pasted the wrong thing works fine
<FromGitter>
<Blacksmoke16> that would do it :P
ur5us has quit [Remote host closed the connection]
ur5us has joined #crystal-lang
<FromGitter>
<sergiotapia> Done! https://pastebin.com/3pPsjJ1d ⏎ ⏎ Is this idiomatic? any changes you recommend as i'm new to crystal
<FromGitter>
<sergiotapia> dead simple deploy with `crystal build --release --no-debug` care went into the dev ux love it!
<FromGitter>
<Blacksmoke16> I have some ideas, but am currently afk so can look when I get back if no one else jumps in before that
lestopher has joined #crystal-lang
walez has quit [Ping timeout: 246 seconds]
lestopher has quit [Quit: WeeChat 3.6]
fifr_ has quit [Ping timeout: 276 seconds]
<FromGitter>
<vgramkris> Does flock_exclusive with default blocking=true yield to another spawn when it is being blocked (seems it is not yielding but want to confirm)?