ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.23.1 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
qard has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <ethagnawl> > yes, for sure. some ppl are assholes
<FromGitter> <ethagnawl> Indeed.
mbarbar has joined #crystal-lang
ome has joined #crystal-lang
DTZUZU has quit [Quit: WeeChat 1.9]
balduin has joined #crystal-lang
alex`` has joined #crystal-lang
<FromGitter> <HCLarsen> If you need to pass command line arguments to your program, can you still run it from the command line, or do you have to compile and run separately?
<FromGitter> <HCLarsen> I mean, can you still run it from the compiler?
<oprypin> @HCLarsen, `crystal run program.cr -- arg1 arg2`
<FromGitter> <HCLarsen> Thank you.
rohitpaulk has joined #crystal-lang
alex`` has quit [Ping timeout: 250 seconds]
rohitpaulk has quit [Ping timeout: 248 seconds]
mbarbar has quit [Ping timeout: 248 seconds]
qard has joined #crystal-lang
rohitpaulk has joined #crystal-lang
balduin has quit [Ping timeout: 268 seconds]
<watzon> Anyone else had trouble getting the compiler to build on Arch?
<watzon> Keeps telling me that `libLLVM-4.0.so` couldn't be found. I just spent 3 hours waiting for LLVM to finish compiling
alex`` has joined #crystal-lang
rohitpaulk has quit [Read error: Connection reset by peer]
rohitpaulk has joined #crystal-lang
<FromGitter> <sdogruyol> nope @watzon
mbarbar has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
rohitpaulk has joined #crystal-lang
alex`` has quit [Ping timeout: 246 seconds]
<watzon> I figured it out. All of the LLVM .so files were in a subdirectory in `/lib`. I just symlinked `libLLVM-4.0.so` to `/lib` and it worked
claudiuinberlin has joined #crystal-lang
Papierkorb_ has joined #crystal-lang
mark_66 has joined #crystal-lang
flaviodesousa has joined #crystal-lang
<FromGitter> <splattael> Does anybody know if (or when) Crystal 0.24.0's docker images will pushed to https://hub.docker.com/r/crystallang/crystal? 0.24.0 is missing there (https://hub.docker.com/r/crystallang/crystal/tags/)?
<FromGitter> <bew> Because 0.24.0 is not even officially released, I've no idea what's going on though
rohitpaulk has quit [Read error: Connection reset by peer]
rohitpaulk has joined #crystal-lang
c-c-zZ is now known as c-c
<FromGitter> <montychen> Before everything was normal, but after upgrading to macOS High Sierra 10.13.1, always prompt this error:
<FromGitter> <montychen> crystal -v ⏎ Crystal 0.23.1 (2017-10-12) LLVM 4.0.1
<FromGitter> <montychen> montytekiMacBook-Pro:~ monty$ crystal play ⏎ Listening on http://localhost:8080 ⏎ Package libssl was not found in the pkg-config search path. ⏎ Perhaps you should add the directory containing `libssl.pc' ⏎ to the PKG_CONFIG_PATH environment variable ... [https://gitter.im/crystal-lang/crystal?at=5a0ab213f257ad9109916892]
<FromGitter> <sdogruyol> 1) 24.0 is a pre-release @bew
ShalokShalom_ has joined #crystal-lang
ShalokShalom has quit [Ping timeout: 240 seconds]
rohitpaulk has quit [Ping timeout: 260 seconds]
sz0 has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
rohitpaulk has joined #crystal-lang
<FromGitter> <bew> Yes but when is the (next) release going to trigger?
<RX14> @bew you seem to think we have some kind of plan :)
RX14 has left #crystal-lang ["Leaving"]
RX14 has joined #crystal-lang
renovo has quit []
renovo has joined #crystal-lang
<FromGitter> <fridgerator> @montychen I get that too
rohitpaulk has quit [Ping timeout: 248 seconds]
<FromGitter> <Shalmezad> Haven't upgraded to high sierra yet, but by any chance do either of you have homebrew? If so, mind checking `brew doctor`?
Hates_ has joined #crystal-lang
<FromGitter> <Shalmezad> Found something that should help: https://github.com/crystal-lang/crystal/issues/4745
sevensidedmarble has joined #crystal-lang
<FromGitter> <cyclecraze_twitter> @montychen I've added `export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig` to ~/.bash_profile and it worked for me.
renovo has quit [Remote host closed the connection]
<FromGitter> <splattael> @bew @sdogruyol Even if 0.24.0 is not officially released it's tagged and somehow available. Some shards start using 0.24.0 feature (minitest.cr with `Time.monotonic` (https://github.com/ysbaddaden/minitest.cr/commit/e877860cecf069fc79c47d0441ad150aba676454). This is confusing.
<FromGitter> <splattael> So next (docker) release will be 0.24.1?
<FromGitter> <fridgerator> yep, adding that export to `~/.zshrc` worked for me
<FromGitter> <bew> @RX14 yeah I was hoping there was a plan somewhere in the universe regarding releases... But if there's no plan, why not release it? :D
<FromGitter> <bew> @fridgerator iirc it's better to configure env vars in `~/.zshenv`, so that it's loaded when the shell is interactive or not (`.zshrc` is loaded only when it's interactive)
<FromGitter> <fridgerator> @bew good to know
<FromGitter> <metronom72> Hi everyone!
<FromGitter> <metronom72> Does anyone know, crystal lang is using in any e-commerce project? ⏎ I didn't find any.
<FromGitter> <metronom72> Could someone help me to find something
<FromGitter> <fridgerator> @metronom72 I haven't seen anything like that yet
renovo has joined #crystal-lang
<FromGitter> <metronom72> I want to learn some interesting, but also want to use it in my activity. Looking some interesting)
sevensidedmarble has quit [Quit: WeeChat 1.0.1]
sevensidedmarble has joined #crystal-lang
renovo has quit [Remote host closed the connection]
sevensidedmarble has quit [Client Quit]
rohitpaulk has joined #crystal-lang
<RX14> @bew I guess mainly because of time at manas, and the omnibus issues
<RX14> I'm busy today writing slides for my crystal presentation at my uni so I won't have time to finalise the omnibus
sz0 has quit [Quit: Connection closed for inactivity]
sevensidedmarble has joined #crystal-lang
sevensidedmarble has quit [Quit: WeeChat 1.0.1]
sevensidedmarble has joined #crystal-lang
sz0 has joined #crystal-lang
renovo has joined #crystal-lang
<vegai> RX14: what is omnibus?
renovo has quit [Remote host closed the connection]
<RX14> essentially the built crystal packages
<RX14> with the --no-debug issue
mbarbar has quit [Ping timeout: 260 seconds]
<vegai> so a CI like?
<RX14> no
<RX14> they're manually built
<vegai> okay
Hates_ has quit [Quit: Connection closed for inactivity]
Papierkorb_ has quit [Quit: Konversation terminated!]
Poeticode is now known as Aeres__
DTZUZU has joined #crystal-lang
Aeres__ is now known as Poeticode
Poeticode is now known as Aeres___
Aeres___ is now known as Poeticode
renovo has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
rohitpaulk has quit [Ping timeout: 248 seconds]
<faustinoaq> Hi RX14, can you share us your slides after your presentation :)
<RX14> well, once they're done...
<faustinoaq> Yes, thank you! :)
rohitpaulk has joined #crystal-lang
<FromGitter> <marksiemers> Hey everyone, I'm going to give a talk at a ruby monthly meeting at the start of december - about Crystal. ⏎ I have ideas about the presentation that I'm going to give, but wanted to see if anyone has experience with this kind of audience. ⏎ What features of the language were hits? ⏎ Anything too complex or confusing to present to a 75+ person audience? [https://
<FromGitter> ... gitter.im/crystal-lang/crystal?at=5a0b1f4671ad3f8736e3325c]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<faustinoaq> wow [Treehouse knows about crystal](https://www.youtube.com/watch?v=71oXjLtXcv4) :tada:
<faustinoaq> @marksiemens please check all latest [presentations about crystal on youtube](https://www.youtube.com/results?search_query=crystal+programming+language&sp=CAISAhgCUBQ%253D)
<faustinoaq> You can find just a few, but they are very good presentations +1
<faustinoaq> be aware because you sometimes can find a lot esoteric stuff :sweat_smile:
<faustinoaq> like this ![crystal](https://i.imgur.com/kMb0PDg.png)
<faustinoaq> XD
<robacarp> and now I'm getting flashbacks from some scifi show where they programmed crystals
<faustinoaq> XD
renovo has quit [Remote host closed the connection]
sz0 has quit [Quit: Connection closed for inactivity]
<FromGitter> <unreadable> and that's one of the reasons I don't actually like the language name,
<FromGitter> <unreadable> It sounds good, but not for seo
<FromGitter> <bew> @faustinoaq the link about treehouse is not the crystal lang, it's probably a framed called the same (the video is about python ><)
<faustinoaq> @bew Nop, check again at [1:06:28](https://youtu.be/71oXjLtXcv4?t=3988) :)
renovo has joined #crystal-lang
<FromGitter> <fridgerator> @marksiemers I know @sdogruyol and @elorest both have
hightower3 has joined #crystal-lang
hightower4 has quit [Ping timeout: 248 seconds]
<FromGitter> <Fryguy> go has a similar problem though with seo and they seemed to have overcome that
ShalokShalom_ has quit [Ping timeout: 240 seconds]
renovo_ has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
renovo has quit [Ping timeout: 258 seconds]
p0p0pr37_ has joined #crystal-lang
p0p0pr37_ has joined #crystal-lang
p0p0pr37 has quit [Ping timeout: 240 seconds]
p0p0pr37_ is now known as p0p0pr37
renovo_ has quit [Remote host closed the connection]
claudiuinberlin has joined #crystal-lang
alex`` has joined #crystal-lang
<FromGitter> <Sevensidedmarble> Hey @Papierkorb, does the display middleware of fancyline allow you to color the prompt too or only input?
<Papierkorb> the prompt is the prompt, it's not part of that middleware.
<Papierkorb> just color the prompt.
<FromGitter> <Sevensidedmarble> When I pass a colorized string to it it doesn't like that
<FromGitter> <Sevensidedmarble> Says no overload matching colorized.object or something like that
<Papierkorb> pass it a string.
<Papierkorb> I mean there are even samples
<faustinoaq> We should add openssl as dependency and shards documentation on crystal-lang.org/docs, [This Treehouse teacher](https://youtu.be/71oXjLtXcv4?t=3988) had many issues trying to experiment with crystal ;)
<FromGitter> <Sevensidedmarble> I didn't see that in the samples last time I checked
<FromGitter> <Sevensidedmarble> I did read them
<FromGitter> <Sevensidedmarble> Oh I see, in the actual files on github
<FromGitter> <Sevensidedmarble> I just read the readme.md sorry
<FromGitter> <Sevensidedmarble> Did it recently get added or sometbing
<FromGitter> <Sevensidedmarble> I'm at my phone away from my computer but I thought I tried exactly that in the sample
<FromGitter> <Sevensidedmarble> Just calling colorize followed by to_s
<Papierkorb> colorize.to_s has worked since forever
<Papierkorb> couldn't work otherwise
<FromGitter> <fridgerator> faustinoaq, agreed, that was painful to watch
<faustinoaq> @fridgerator Yeah, But I think it was a good experiment, now we know what things we need to improve :)
<Papierkorb> Yeah, he literally skips the explicit linker errors
<FromGitter> <fridgerator> yeah they are printed several times
<Papierkorb> isn't that guy supposed to teach?
<FromGitter> <fridgerator> the initial error message is still not clear to a new user
<faustinoaq> ‎Papierkorb‎, he can't found help about crystal on duckduckgo. He found an issue about static-linking :(
<faustinoaq> ‎Papierkorb‎, that video is like a experimenting live or something similar, not a prepared class
<Papierkorb> Yeah I don't have the time to watch it in full.
<FromGitter> <fridgerator> he asked the chat what they wanted to see and someone said crystal, so he did it
<FromGitter> <fridgerator> with no context or much experience
flaviodesousa has quit [Ping timeout: 246 seconds]
<FromGitter> <Sevensidedmarble> Also @Papierkorb it worked and colored correctly but the cursor is being drawn way to the right
<Papierkorb> your copy is recent?
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<faustinoaq> @fridgerator ...the initial error message is still not clear to a new user..., yeah I think if a dependency is not found on `lib` directory but in `shard.yml` we should show a warning like `Please execute shards install before use `foo.cr`` and we should recommend libraries depending on linking errors by example `Please install openssl dependency` or something like that
<faustinoaq> s/but in `shard.yml`/but exists inside `shard.yml`/
claudiuinberlin has joined #crystal-lang
<FromGitter> <Sevensidedmarble> Yup @Papierkorb I've updated it just 2 days ago
<Papierkorb> the samples all work (for me)
<FromGitter> <Sevensidedmarble> I'll try and copy paste exactly your code and see if I can reproduce it when I get home
<Papierkorb> not copy paste. just run the sample.
<Papierkorb> Make sure you're checked out at origin/master, and nowhere else where shards felt you should be at.
<Papierkorb> Oh and the currently released Crystal has a bug which might affect this.
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Papierkorb> Once that is merged, it'll work
claudiuinberlin has joined #crystal-lang
<FromGitter> <bew> good catch @faustinoaq ;)
<faustinoaq> +1 Also I discovered a lot of people studying crystals and other minerals, even for curing illness lol
<FromGitter> <bew> ahah New project brand: crystal-lang can cure dev illness :D
<FromGitter> <fridgerator> yes you just rub it on your skin, and violà
<FromGitter> <Sevensidedmarble> Thanks I will investigate when I get home
<FromGitter> <unreadable> I've come to the conclusion that distributing GUI apps in Java is the easiest way
<FromGitter> <unreadable> mac os x even has it be default
<Papierkorb> distributing the JVM?
<FromGitter> <unreadable> lol wut
<Papierkorb> how else you gonna distribute java applications?
<Papierkorb> I don't even have it installed. Because why would I. Windows doesn't have it either by default.
<FromGitter> <unreadable> jvm is easier to install than qt and more used than it
<Papierkorb> And the days apple loved java is over
<Papierkorb> Mh? Wasn't there even a tool on windows to distribute Qt based applications?
<FromGitter> <unreadable> I don't know about it if there's one
<Papierkorb> And the user doesn't have to install qt on windows. they have it on linux, but one can self-distribute there too. Whatever on mac.
<FromGitter> <unreadable> the gui looks pretty standard, but at least is easy to use and straight forward without any linked files and so on
<Papierkorb> except for the whole fucking JVM
<FromGitter> <unreadable> windows wouldn't be a problem because it has the windows.h api which is native and easy to use
<Papierkorb> And non-native look n feel is simply a no go
<FromGitter> <unreadable> yup, I hate those JVM, but I remember when I was noobie and minecraft require java and it was so dead simple to install it..
<FromGitter> <unreadable> I hate VMs in general
<FromGitter> <unreadable> no only JVMs
<Papierkorb> I don't get your point at all.
<faustinoaq> @unreadable I think you can't static link dependencies without a license, but at least you can include them beside binary, right?
<Papierkorb> There are myriads of setup creaton tools on windows
<Papierkorb> qt ships with a tool to help you grab the right DLLs. This is a one-time thing anyway.
<Papierkorb> Then zip it up and send away. Or go fancy with an MSI or EXE based installer.
<FromGitter> <unreadable> well, these days I've really looked into some good cross platform gui libs with some mit license that compiles to stand alone binaries on every machine, but I guess that's too much
<Papierkorb> not terribly different in principle on other platforms
<faustinoaq> ‎Papierkorb‎, Yeah, that what i mean
<Papierkorb> Yeah it's too much to ask for a whole GUI toolkit licensed under a de-facto public domain license
<Papierkorb> I wouldn't either
<Papierkorb> What? That it's easy to do?
<Papierkorb> You'd be right
<Papierkorb> less shitty for the end user to click though a Java installer first, which loads the computer with crapware (Ask toolbar?!)
<FromGitter> <unreadable> you can uncheck those craps
<Papierkorb> Just no.
<Papierkorb> This shit shouldn't be part of it in the first place
<Papierkorb> There's absolutely no excuse for this
<faustinoaq> @unreadable, I think you can ship the JVM with your app, However I don't know what are the pro and cons of shipping the JVM+APP vs QT+APP, size, performance?
<FromGitter> <unreadable> there's olso the good old opengl, but takes ages for a fully featured gui
<Papierkorb> unreadable, why don't you build a "fully featured MIT gui library" then?
<FromGitter> <unreadable> or ship it with a bash/batch file that download the jvm and install it and gets the app ready
<Papierkorb> are you distributing to your friends or do you think batch scripts look professional?
<FromGitter> <unreadable> It's hard, it would take me some time and I don't master c++ as good as I want
<Papierkorb> Yes it's hard
<Papierkorb> which is why no sane person would do it on MIT or similar license
<FromGitter> <unreadable> something like sfml/sdl2 but for gui would be good
<faustinoaq> @unreadable Yeah, I saw similar behaviors on Net based applications, you gonna execute an app and it download some net dependency automatically :)
<FromGitter> <unreadable> there's also a jvm gui designer..
<FromGitter> <unreadable> idk, I'll still look around
<Papierkorb> does it still look like tosh?
<FromGitter> <unreadable> don't know, didn't look in depth
<FromGitter> <unreadable> there's still a hope with https://github.com/golang-ui/nuklear
<Papierkorb> lul
<FromGitter> <unreadable> seems to have opengl wrapped already
<FromGitter> <unreadable> oo tosh, I got it now
<FromGitter> <unreadable> it doens't actually. haven't really seen any garbage stuffs with java so far
<Papierkorb> ... wat
<FromGitter> <unreadable> I'm not into java, thus I might be wrong
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #crystal-lang
<FromGitter> <Sevensidedmarble> Since web assembly uses llvm, has anyone experimented with trying to compile crystal to web assembly?
<FromGitter> <codem4ster> finally I succeeded to compile my crystal program which is using https://github.com/datanoise/mongo.cr
<FromGitter> <codem4ster> if somebody gets compiler error in ubuntu 16.04.1 that is because libgc-dev is not working well with crystal's gc
alex``` has joined #crystal-lang
alex`` has quit [Read error: No route to host]
<FromGitter> <codem4ster> and for some reason `@[Link("mongoc-1.0")]` is not linking the library when running ld command
<FromGitter> <codem4ster> so I used --link-flags="-lmongoc-1 -lbson-1"
<Papierkorb> Crystal uses libgc itself.
<FromGitter> <codem4ster> if you install libgc-dev package
<FromGitter> <codem4ster> it fails to compile
<faustinoaq> @codem4ster Thank for sharing! :)
<FromGitter> <codem4ster> I used here to install boehm GC https://github.com/crystal-lang/crystal/wiki/All-required-libraries
<FromGitter> <codem4ster> then everything works smoothly
<FromGitter> <codem4ster> there is some other issues like this includes mongo.cr;
<FromGitter> <codem4ster> and this was my problem; https://github.com/datanoise/mongo.cr/issues/22 but the solution didn't work for me
renovo has joined #crystal-lang
renovo_ has joined #crystal-lang
renovo has quit [Ping timeout: 255 seconds]
<FromGitter> <Sevensidedmarble> Does anyone know who wrote or maintains the colorize mod?
<oprypin> mod?
<oprypin> oh module
<FromGitter> <Sevensidedmarble> Yeah
<FromGitter> <Sevensidedmarble> I was curious why there wasn't 256 color support
<faustinoaq> Hi @mgarciaisaia, Can crystal have something like https://github.com/Microsoft/vscode/wiki/Iteration-Plans ? :)
<faustinoaq> @mgarciaisaia BTW https://mgarciaisaia.github.io/2048dbz/ is awesome :)
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #crystal-lang
renovo_ has quit [Ping timeout: 248 seconds]
saadq_ has joined #crystal-lang
badeball_ has joined #crystal-lang
saadq has quit [Ping timeout: 250 seconds]
badeball has quit [Ping timeout: 250 seconds]
handicraftsman has quit [Ping timeout: 260 seconds]
handicraftsman has joined #crystal-lang
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
renovo has joined #crystal-lang
renovo_ has joined #crystal-lang
renovo has quit [Ping timeout: 250 seconds]
mbarbar has joined #crystal-lang
alex``` has quit [Quit: WeeChat 1.9.1]
Excureo has joined #crystal-lang