<FromGitter>
<elorest> Rust still feels like it was designed by a robot though.
<FromGitter>
<elorest> I feel much more comfortable in C++ than rust.
<faustinoaq>
me too XD
<faustinoaq>
But Seems like Rust is bringing new concepts about parallelism and concurrency, Maybe some day we'll see a new friendly language to avoid write Rust, just like Crystal XD
<faustinoaq>
Oxide: Fast as Rust, slick as <put friendly language here>
<FromGitter>
<elorest> Rust: fast as C, slick as `System.out.println`
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
rohitpaulk has quit [Read error: Connection reset by peer]
rohitpaulk has joined #crystal-lang
Ven has joined #crystal-lang
Ven is now known as Guest66176
rohitpaulk has quit [Ping timeout: 260 seconds]
flaviodesousa has joined #crystal-lang
<faustinoaq>
XD
<faustinoaq>
Well, Rust is still cleaner than Java, you just need `println!("Hello World");`
<faustinoaq>
MAybe we can link crystal to h20 and be faster https://github.com/h2o/h2o H20 is the more acurrate framework on TFB tests, H2O is always on top 🙂
<FromGitter>
<unreadable> Japronto indeed, but there's picohttparsers and another c lib
<FromGitter>
<unreadable> And ofc, morning all
<FromGitter>
<abidon> Morning !
Bish has quit [Ping timeout: 248 seconds]
<Papierkorb_>
faustinoaq: What's the point of having the fastest "framework" in existence? It should be really fast so it doesn't become a bottleneck (So no Rails lul), but after that..
<Papierkorb_>
faustinoaq: And that cpu count trick there is unrealiable to say the least
Bish has joined #crystal-lang
<faustinoaq>
Yeah, you're right!, enough fast is ok, most companies don't die because technology but because other things đź‘Ť
<Papierkorb_>
that's not to say that I didn't actually feel a speedup after dropping rails and going full on roda. Those are the 25-50ms framework overhead shaven off. If you can get that, I'm all for it
<FromGitter>
<Qwerp-Derp> I'm getting this error when I run a file using a locally cloned version of the Crystal compiler:
<Alibaba>
A llvm error, someone have an idea why we have this error when we build our project in release mode ?
<Alibaba>
I've solved this error by adding the "--no-debug- flag..
<Papierkorb_>
iirc that's a known issue with old LLVM versions
rohitpaulk has joined #crystal-lang
Guest66176 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Alibaba>
They gave us an old server
Ven has joined #crystal-lang
<Alibaba>
Debian 4.9
Ven is now known as Guest10002
<Papierkorb_>
Debian Etch?!
<Papierkorb_>
> Security updates have been discontinued as of the end of February 2010.
<Papierkorb_>
If someone hijacks your server and runs bitcoin miners, is that Green IT?
<FromGitter>
<Qwerp-Derp> Papierkorb_, do you know what the issue above is when I compile the Crystal compiler?
<Papierkorb_>
No. Follow the instructions as given, and make sure your build environment is correctly set up.
snsei has quit [Remote host closed the connection]
<FromGitter>
<Qwerp-Derp> Hmmm... that's exactly what I have done, yet this error still pops up.
Guest10002 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven is now known as Guest67205
Guest67205 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Alibaba>
Moreover, someone please know how to disable kemal log ?
<Alibaba>
Does the variable KEMAL_ENV set to Production disable log ?
<FromGitter>
<extremety1989> guys to authenticate user with token, should i use better use http router to send token with Authentication Bearer or i can send it through websocket ?
Ven has joined #crystal-lang
Ven is now known as Guest48862
rohitpaulk has quit [Ping timeout: 240 seconds]
<RX14>
@Qwerp-Derp you can't be using the makefile
<FromGitter>
<Qwerp-Derp> I was using the makefile, I did `make libcrystal`
<FromGitter>
<Qwerp-Derp> I got it to work in the end
<RX14>
and then used the bin/crystal to compile something
<FromGitter>
<Qwerp-Derp> But then I realised I needed to do `make clean crystal spec` instead, so I had to set LLVM_CONFIG and stuff
<RX14>
you checked out crystal
<RX14>
you need to do make deps before doing that
<RX14>
yeah that fails
<RX14>
oh you mean
<FromGitter>
<Qwerp-Derp> Ah
<RX14>
make deps depends on make libcrystal
<RX14>
so its pretty much the same thing
<RX14>
glad you figured it out
<crystal-gh>
[crystal] mverzilli pushed 1 new commit to master: https://git.io/vFpa3
<crystal-gh>
crystal/master 1b669c1 Jack Thorne: UUID revamp (#4453)...
<FromGitter>
<Qwerp-Derp> I’ll take a look at CONTRIBUTING.md to see if I glossed over anything (which I probably did)
<FromGitter>
<Qwerp-Derp> Thanks!
<FromGitter>
<Qwerp-Derp> I think the section for editing the Crystal compiler should be updated to tell the user that they should have to set LLVM_CONFIG to wherever llvm_config is installed in order to do `make clean crystal spec`
<FromGitter>
<Qwerp-Derp> in CONTRIBUTING.md
<RX14>
wow
<RX14>
UUID struct got merged
<RX14>
its a miracle
<FromGitter>
<extremety1989> @FromIRC what is UUID ?
<faustinoaq>
Just a proof of concept for a tool to check incompatibilities between ruby and crystal code
<faustinoaq>
This could have some sophisticated algorithm to check invalid things and assign a score to the incompatibility change, something like: `easy to change` , `moderate change`, `hard to change`
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Alibaba has quit [Remote host closed the connection]
<FromGitter>
<HCLarsen> Thanks @bcardiff I wasn't aware of the options parser. I'll look into that, and maybe write a follow up tutorial using that one.
mooe_ has joined #crystal-lang
snsei has joined #crystal-lang
<FromGitter>
<extremety1989> anyone has exemple of Postgres with jsonb ?
snsei has quit [Ping timeout: 240 seconds]
<crystal-gh>
[crystal] straight-shoota opened pull request #5324: [WIP] Add time zones support (master...jm-timezones) https://git.io/vFhU5
aroaminggeek has joined #crystal-lang
danielpclark has quit [Remote host closed the connection]
faustinoaq has quit [Ping timeout: 248 seconds]
faustinoaq has joined #crystal-lang
aroaminggeek has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faustinoaq has quit [Ping timeout: 240 seconds]
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
<FromGitter>
<Rinkana> Ifdef's where replaced by `flag?`
<FromGitter>
<extremety1989> @Rinkana okey thank you
<FromGitter>
<Rinkana> You should be able to run the crystal embedded formatter and it should fix it for you
<ton31337>
Rinkana where can I read about that?
<ton31337>
crystal tool?
<FromGitter>
<Rinkana> Yeah
<FromGitter>
<Rinkana> `crystal tool format`
<ton31337>
Format ./razor.cr
<ton31337>
but still cannot build with --release
<FromGitter>
<Rinkana> If that does not work you can just rewrite the `ifdef` to `{% if flag?(:cname) %}`
<FromGitter>
<Rinkana> It's a macro method now
<ton31337>
Rinkana I just removed ifdef at all for testing
<ton31337>
without --release it compile
<ton31337>
compiles*
<ton31337>
with --release not
<FromGitter>
<Rinkana> Hmm, odd
<FromGitter>
<Rinkana> Mac or Linux?
<ton31337>
centos7.4
<FromGitter>
<Rinkana> Can you try: `crystal build razor.cr --release --no-debug`
<ton31337>
sure
<ton31337>
looks like it works by adding no-debug
<FromGitter>
<Rinkana> It seems to be an issue with that spesific LLVM version. `--no-debug` should cirumvent that issue. However it's preferred to upgrade to LLVM 4. More info about this issue can be found here: https://github.com/crystal-lang/crystal/issues/4719
<ton31337>
no-debug just strips debug symbols?
hightower4 has quit [Remote host closed the connection]
<FromGitter>
<Rinkana> Yeah
<FromGitter>
<Rinkana> At least afaik
<ton31337>
that's fine then
<ton31337>
thank you very much!
<FromGitter>
<Rinkana> np
baweaver is now known as baweaver_away
mooe_ has quit [Quit: Connection closed for inactivity]