<FromGitter>
<Blacksmoke16> prob could be wrapped into a more friendly method like `encrypt(data : String, key : String, iv : String? = nil, padding : Bool = true) : String`
rohitpaulk has joined #crystal-lang
gtramontina has joined #crystal-lang
thews has quit [Ping timeout: 252 seconds]
DTZUZO has joined #crystal-lang
pabs has quit [Ping timeout: 245 seconds]
pabs has joined #crystal-lang
<FromGitter>
<aisrael> Oh, right. The OpenSSL bindings.
<FromGitter>
<ultra2mh> is there any good ide for crystal lang ? intellij crystal plugins not work in version 2018.2.2
<FromGitter>
<ultra2mh> ???
<FromGitter>
<codenoid> i use Sublime and, Sublime-Crystal plugin <3
rohitpaulk has quit [Ping timeout: 244 seconds]
thews has joined #crystal-lang
rohitpaulk has joined #crystal-lang
Groogy1 has joined #crystal-lang
<FromGitter>
<girng> @codenoid on WSL or linux?
<FromGitter>
<drum445> @codenoid I do the same, on linux
<FromGitter>
<girng> Mohammadrez, if on windows i recommend vscode
<FromGitter>
<girng> if linux, sublime
rohitpaulk has quit [Ping timeout: 245 seconds]
<FromGitter>
<drum445> Why not vscode on linux if you like it?
<FromGitter>
<girng> yea ur right, both great. i just find sublime to be more snappier
gtramont_ has joined #crystal-lang
gtramontina has quit [Ping timeout: 244 seconds]
gtramont_ has quit [Remote host closed the connection]
rohitpaulk has joined #crystal-lang
<FromGitter>
<codenoid> @girng linux
rohitpaulk has quit [Ping timeout: 246 seconds]
<FromGitter>
<girng> @codenoid nice
<FromGitter>
<girng> i really miss @sdogruyol hope he comes back!
rohitpaulk has joined #crystal-lang
<FromGitter>
<j8r> @crystal-lang realy needs more members to review, and merge, all this PRs :-|
ashirase has quit [Ping timeout: 252 seconds]
ashirase has joined #crystal-lang
Groogy1 has quit [Ping timeout: 252 seconds]
gtramontina has joined #crystal-lang
gtramont_ has joined #crystal-lang
gtramontina has quit [Ping timeout: 245 seconds]
rohitpaulk has quit [Ping timeout: 246 seconds]
Groogy1 has joined #crystal-lang
<gtramont_>
Hi all… question: how does `CRYSTAL_PATH` currently work? I tried appending my `./src` to it so I don't have to `../` on all my specs… It broke spectacularly! :-)
<gtramont_>
I tried a few different variations of "CRYSTAL_PATH=$CRYSTAL_PATH:$(pwd)/src crystal…" (with/without pwd). But then it looks like I end up overriding stuff from the standard lib…
<FromGitter>
<j8r> Have you `crystal env`? This is the path where the crystal binary and its libraries is
<FromGitter>
<j8r> you want to use another version?
<gtramont_>
Hum… `crystal env` prints out what I'd expect to see… But should I also be able to see something when I do `echo $CRYSTAL_PATH`? It is coming out blank…
<gtramont_>
This is what I'm trying: `CRYSTAL_PATH=$CRYSTAL_PATH:$(pwd)/src crystal spec` and it breaks with `Error in line 1: while requiring "prelude": can't find file 'prelude'`
gtramont_ has quit [Remote host closed the connection]
<FromGitter>
<straight-shoota> the environment variable `CRYSTAL_PATH` is typically not set in you shell
<FromGitter>
<straight-shoota> so `CRYSTAL_PATH=$CRYSTAL_PATH:$(pwd)/src` is essentially `CRYSTAL_PATH=$(pwd)/src`
<FromGitter>
<straight-shoota> you need to add the path to stdlib to that env var if you override it
<FromGitter>
<straight-shoota> but actually, that should usually not be required. `require` automatically looks in `./src`
<FromGitter>
<straight-shoota> okay, wait, I see you want to require from specs
<FromGitter>
<straight-shoota> yeah, that requires some `../src/` but I wouldn't replace that with a custom environment variable
<FromGitter>
<straight-shoota> that's not what it is meant for
<FromGitter>
<straight-shoota> Such relative includes are used throughout specs for stdlib and all shards I know
<FromGitter>
<codenoid> is crystal ppa not available for ubuntu 18.04
gtramontina has joined #crystal-lang
gtramontina has quit [Remote host closed the connection]
gtramontina has joined #crystal-lang
gtramontina has quit [Remote host closed the connection]
gtramontina has joined #crystal-lang
gtramontina has quit [Remote host closed the connection]
gtramontina has joined #crystal-lang
shalmezad has joined #crystal-lang
<FromGitter>
<straight-shoota> should be
zorp_ has joined #crystal-lang
zorp_ has quit [Read error: Connection reset by peer]
<gtramontina>
hum… I get the same result when running from a docker container, using the `crystallang/crystal` image…
<gtramontina>
With a bit more of shell scripting I was able to get it running… Though, I'm finding this behavior kinda weird.
<gtramontina>
for the record, this is what I came up with… `CRYSTAL_PATH=$(crystal env | egrep '^CRYSTAL_PATH=' | awk -F= '{print $2}' | xargs echo):src crystal spec`
<hightower2>
Hey is there some alpha preview of crystal for windows available?
<FromGitter>
<vladfaust> #6426
dannyAAM has quit [Quit: znc.saru.moe : ZNC 1.6.2 - http://znc.in]
dannyAAM has joined #crystal-lang
<FromGitter>
<bew> Ask RX14
<RX14>
no
<RX14>
well
<RX14>
you can compile it for yourself from the wiki instructions
<RX14>
but thats hardly an alpha
gtramontina has quit [Remote host closed the connection]
<FromGitter>
<straight-shoota> gtramontina, you can replace the entire subshell with `crystal env CRYSTAL_PATH` ;)
<FromGitter>
<straight-shoota> But I still don't think this should be encouraged
<FromGitter>
<straight-shoota> if at all, `src` should be added in the compiler as default location like `lib`
<FromGitter>
<straight-shoota> but it would probably be weird with naming conflicts (say, a file in your `src` folder has the same name as a shard). Obviously, the shard should have precedence (because you couldn't specify it anyway else) but then it's easier to just don't have `src` in path and avoid surprises
<FromGitter>
<codenoid> i use @Papierkorb QT5 & @straight-shoota SASS lib
DTZUZO has quit [Ping timeout: 244 seconds]
<FromGitter>
<bew> nice ;)
wontruefree has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
<FromGitter>
<bararchy> wtf is going on with Arch Linux 26.0.1 package?
<FromGitter>
<bararchy> 1) 26.1
<FromGitter>
<bew> (I'm still on 0.26.0) is it broken?
<FromGitter>
<bararchy> no, it's not coming out XD
<FromGitter>
<bew> or is it just not released
<FromGitter>
<bew> ah
<FromGitter>
<bew> x)
<FromGitter>
<bararchy> I even e-mailed the guy that's maintaining it
<FromGitter>
<bararchy> no response
<FromGitter>
<bararchy> Anatol
<FromGitter>
<bew> :/
<FromGitter>
<bew> how did you get his email addr?
<FromGitter>
<bew> where*
<FromGitter>
<bararchy> pgp key ;)
<FromGitter>
<bararchy> anatol.pomozov@gmail.com
<FromGitter>
<bew> ah yes found it too ;) ty
gtramontina has joined #crystal-lang
gtramontina has quit [Ping timeout: 244 seconds]
<FromGitter>
<straight-shoota> @codenoid nice
<FromGitter>
<straight-shoota> I didn't know there is a Ubuntu package for libsass. Couldn't find it before...
shalmezad has quit [Quit: Leaving]
gtramontina has joined #crystal-lang
sz0 has quit [Ping timeout: 252 seconds]
sz0 has joined #crystal-lang
gtramontina has quit [Ping timeout: 272 seconds]
Groogy1 has quit [Ping timeout: 240 seconds]
<FromGitter>
<kaskerd> Just out of curiosity crystal has been around for some time just a year after go and rust. When will version 1 of language be released? To think that go is heading towards version 2.
gtramontina has joined #crystal-lang
hightower2 has quit [Ping timeout: 246 seconds]
gtramontina has quit [Ping timeout: 252 seconds]
johndescs has quit [Ping timeout: 240 seconds]
johndescs has joined #crystal-lang
gtramontina has joined #crystal-lang
gtramontina has quit [Ping timeout: 252 seconds]
hightower2 has joined #crystal-lang
<FromGitter>
<Timbus> So crystal should just release a v3 and be really far ahead of the competition
<wontruefree>
kaskerd there is a path to v1 but I am not sure how on track it is