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
<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> 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>
<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…]
<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