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
snsei has quit [Remote host closed the connection]
<FromGitter> <georgeu2000> Is it possible to update the call stack? For example, if you have a recursive function, remove all calls to that function from the stack?
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
rohitpaulk has joined #crystal-lang
<FromGitter> <samueleaton> Does anyone have experience working with parser? There aren't any comments and or guides and I would like to make an addition. ⏎ ⏎ Basically, I was thinking it would be cool to be able to splat a tuple just like you can in a method definition, but during multiple assignment. Like this: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=59b9d56ac101bc4e3ac415ed]
kubaxvx has quit [Ping timeout: 255 seconds]
bmcginty has quit [Ping timeout: 240 seconds]
bmcginty has joined #crystal-lang
<FromGitter> <samueleaton> @slava-dzyba What were you using for benchmarking. I'd like to replicate it.
<FromGitter> <faustinoaq> @samueleaton someting like https://carc.in/#/r/2pym
<FromGitter> <faustinoaq> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=59b9db8cb59d55b823f32bf9]
<FromGitter> <faustinoaq> > Does anyone have experience working with the parser? ⏎ https://github.com/crystal-jp/techbookfest2/tree/master/makenowjust by @MakeNowJust but in Japanesse 😅
<FromGitter> <samueleaton> @faustinoaq yup, just like you showed in the method ⏎ ⏎ ```def splat(head, *tail) ⏎ ~~~~~~~~~~~~~~~~^~~~~``` [https://gitter.im/crystal-lang/crystal?at=59b9dc1f177fb9fe7eba64bb]
kubaxvx has joined #crystal-lang
<FromGitter> <faustinoaq> 👍
<FromGitter> <faustinoaq> ```code paste, see link``` ⏎ ⏎ I'm learning about Crystal compiler itself, I just started with the lexer 😅 [https://gitter.im/crystal-lang/crystal?at=59b9dc8ccfeed2eb6507d506]
snsei has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
<FromGitter> <codenoid> plz, help me to vote this issue https://bitbucket.org/site/master/issues/14799/request-to-add-crystal-programming
rohitpaulk has joined #crystal-lang
_p0p0pr37_ has joined #crystal-lang
_p0p0pr37 has quit [Ping timeout: 248 seconds]
_p0p0pr37_ is now known as _p0p0pr37
_p0p0pr37 has quit [Ping timeout: 240 seconds]
_p0p0pr37 has joined #crystal-lang
snsei has quit [Remote host closed the connection]
rohitpaulk has quit [Ping timeout: 240 seconds]
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
<FromGitter> <jwaldrip> How can I extract block arguments from a crystal macro when using yield?
<FromGitter> <jwaldrip> inside a macro
wes[phi] has joined #crystal-lang
wes[phi] has quit [Ping timeout: 240 seconds]
dtcristo has quit [Ping timeout: 276 seconds]
cptaffe has quit [Ping timeout: 276 seconds]
dtcristo has joined #crystal-lang
cptaffe has joined #crystal-lang
rohitpaulk has joined #crystal-lang
elbuki has joined #crystal-lang
raz has quit [Ping timeout: 240 seconds]
raz has joined #crystal-lang
raz has quit [Changing host]
raz has joined #crystal-lang
<FromGitter> <bararchy> Does Crystal HTTP Client supports NTLM authentication ?
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
gokmen has joined #crystal-lang
gokmen has left #crystal-lang [#crystal-lang]
wes[phi] has joined #crystal-lang
wes[phi] has quit [Ping timeout: 240 seconds]
elbuki has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
alex`` has joined #crystal-lang
rumenzu has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
snsei has joined #crystal-lang
ShalokShalom has quit [Remote host closed the connection]
rohitpaulk has joined #crystal-lang
snsei has quit [Remote host closed the connection]
Papierkorb_ has joined #crystal-lang
<FromGitter> <bew> @jwaldrip don't use yield if you want to inspect the block, add the argument &block, and use block.args or something like that (look at the docs)
<FromGitter> <bew> @bararchy never heard / read about it, so I think the response is no (not sure at all)
<Papierkorb_> Mornin'
<FromGitter> <bew> @bararchy just seen you opened an issue, maybe I should read them before the gitter in my wakeup process ˆˆ
<FromGitter> <bararchy> @bew lol all good , it was like "do we have ntlm?" ... Searching ... Basic auth.
<FromGitter> <bararchy> Nope ... I'll ask in hitter
<FromGitter> <bararchy> Hitter
<FromGitter> <bararchy> Lol
<FromGitter> <bararchy> Hitter
<FromGitter> <bararchy> OMG autocorrect
<FromGitter> <bararchy> Then was like , I'll just open a feature request
<Papierkorb_> bararchy, there's a "windows authentication" ticket in the wanted shards repo
<Papierkorb_> they probably were thinking about ntlm too
<FromGitter> <Rinkana> Papierkorb, i've made an issue for that `self.class` proc thing. Just to make shure that is is atleast working as intended.
ShalokShalom has joined #crystal-lang
<FromGitter> <bararchy> Papierkorb_ you mean this: https://github.com/crystal-community/crystal-libraries-needed/issues/64 ? look who opened it ;)
<FromGitter> <bararchy> But I really think it's something that should live in STD at least NTLM, as for Kerberos and GSSAPI I can argue that it might better live off in a shard
<Papierkorb_> If I had the time I'd be inclined to actually look into Kerberos
<Groogy> Morning!
<FromGitter> <bew> 'ning!
claudiuinberlin has joined #crystal-lang
<FromGitter> <bararchy> Papierkorb_ Kerberos is the root of all evil, you need krb5 , tickets, delegation, keytabs, etc... It's awful
<FromGitter> <bararchy> Hi Groogy ! how goes your game engine ?
<Papierkorb_> bararchy, oh it's a nightmare. Once it works it's a miracle though.
<Groogy> Working on font rendering right now, trying to get TTF to work
<Papierkorb_> Kinda hell an heaven - In a single (huge) protocol! Not often you have that :P
<FromGitter> <bararchy> LOL
mark_66 has joined #crystal-lang
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rohitpaulk has quit [Ping timeout: 240 seconds]
rohitpaulk has joined #crystal-lang
wes[phi] has joined #crystal-lang
wes[phi] has quit [Ping timeout: 248 seconds]
claudiuinberlin has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
rohitpaulk has joined #crystal-lang
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <sdogruyol> Morning everyone
<FromGitter> <bararchy> morning @sdogruyol
claudiuinberlin has joined #crystal-lang
<FromGitter> <ziprandom> morning people (this side of the atlantic)
<FromGitter> <sdogruyol> :)
rohitpaulk has quit [Ping timeout: 246 seconds]
rohitpaulk has joined #crystal-lang
<FromGitter> <krypton97> morning all, sort of :)
<FromGitter> <krypton97> how is syscall implemented in crystal, assebly or c bindings?
<FromGitter> <krypton97> nvm, just read through the docs
<FromGitter> <krypton97> api*
rohitpaulk has quit [Ping timeout: 260 seconds]
alex`` has quit [Quit: WeeChat 1.9]
rohitpaulk has joined #crystal-lang
rumenzu has quit []
<FromGitter> <ziprandom> hey is `as` still meant to be a reserved word? https://play.crystal-lang.org/#/r/2pzj it's now used as a method on Object so I should be able to use it as a variable name, no?
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <sdogruyol> you probably cant use it
alex`` has joined #crystal-lang
<FromGitter> <ziprandom> yeah obviously but the error is pretty oscure
<FromGitter> <ziprandom> obscure
<FromGitter> <ziprandom> and standalone as like `a as String` is not allowed anymore, right? So `as` should be removed from the reserved words list ..
claudiuinberlin has joined #crystal-lang
wes[phi] has joined #crystal-lang
wes[phi] has quit [Ping timeout: 246 seconds]
hightower4 has joined #crystal-lang
bmcginty has quit [Ping timeout: 240 seconds]
hightower3 has quit [Ping timeout: 248 seconds]
bmcginty has joined #crystal-lang
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShalokShalom_ has joined #crystal-lang
alex`` has quit [Ping timeout: 246 seconds]
ShalokShalom has quit [Ping timeout: 252 seconds]
<hightower4> Do we have a lib for generating uuids?
<Papierkorb_> Yes, `SecureRandom.uuid`
<Papierkorb_> part of stdlib
undy1ng has joined #crystal-lang
<hightower4> Thanks++
rohitpaulk has quit [Ping timeout: 252 seconds]
<FromGitter> <sdogruyol> @hightower4 where's hightower3 :D
rohitpaulk has joined #crystal-lang
wes[phi] has joined #crystal-lang
A124 has quit [Ping timeout: 240 seconds]
<Papierkorb_> What does the nick "hightower" and 30 day password resets in businesses in common?
<Papierkorb_> Both use an ever increasing integer as suffix
<Papierkorb_> ;P
alex`` has joined #crystal-lang
alex`` has quit [Client Quit]
<FromGitter> <sdogruyol> lol
A124 has joined #crystal-lang
<FromGitter> <sdogruyol> BTW one my friends has started a Crystal Training video series on Youtube https://www.youtube.com/playlist?list=PLqgPe8mz0dh5p73VdFwAuh1MF_yQ6f9RJ
<hightower4> Haha
<FromGitter> <sdogruyol> It's in Turkish but I'd like to see something like tat for English and other languages
wes[phi] has quit [Ping timeout: 246 seconds]
<FromGitter> <faustinoaq> 👍
undy1ng has quit [Ping timeout: 246 seconds]
<FromGitter> <bararchy> That's really cool
<FromGitter> <bararchy> I wish he did an Eng one too
<FromGitter> <sdogruyol> we need that :P
undy1ng has joined #crystal-lang
<FromGitter> <faustinoaq> Well, I will try do some videos in spanish/english, I never did a video for youtube before, but hey, it's Crystal 😉 ⏎ ⏎ I'm learning some video editing skills. ⏎ ⏎ ((https://i.imgur.com/pTwpYJo.gifv)) [https://gitter.im/crystal-lang/crystal?at=59ba66417b7d98d30df3f321]
rohitpaulk has quit [Ping timeout: 248 seconds]
claudiuinberlin has joined #crystal-lang
claudiuinberlin has quit [Client Quit]
undy1ng has quit [Ping timeout: 264 seconds]
<Groogy> I kinda have been thinking of doing some kind of screencasts
claudiuinberlin has joined #crystal-lang
<FromGitter> <faustinoaq> Yeah, also @elorest did an amber video for https://amberframework.org
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShalokShalom_ has quit [Ping timeout: 252 seconds]
ShalokShalom has joined #crystal-lang
<Groogy> I am used to stream and talk infront of a camera to sell our games but haven't really done stuff that are bit more intellectual
<Groogy> just have a hard time coming up with even a good topic to cover
<FromGitter> <faustinoaq> ((https://i.imgur.com/aQXkITs.png)) ⏎ ⏎ I understand nothing but I like it 😄
<FromGitter> <bew> ahah 😆
claudiuinberlin has joined #crystal-lang
sz0 has joined #crystal-lang
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #crystal-lang
<FromGitter> <sdogruyol> lol
<FromGitter> <ansarizafar> Javascript has Map object. Is there any similar object in crystal?
<FromGitter> <bew> @ansarizafar Hash I guess
<FromGitter> <opensas> I guess Hash
<FromGitter> <opensas> I guess we had the same though ;-)
<FromGitter> <bew> I guess so yes 😄
ShalokShalom has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
alex`` has joined #crystal-lang
ShalokShalom has joined #crystal-lang
ShalokShalom has quit [Remote host closed the connection]
wes[phi] has joined #crystal-lang
rohitpaulk has joined #crystal-lang
ShalokShalom has joined #crystal-lang
<FromGitter> <ansarizafar> I am new to Crystal and I am trying to convert my Graphql inspired data layer with batching, arguments validation and ACL support, from Nodejs to Crystal. I was using map and simple objects in javascript. Is there any data validation shard available?
wes[phi] has quit [Ping timeout: 248 seconds]
<FromGitter> <opensas> have a look here: https://github.com/veelenga/awesome-crystal
<FromGitter> <opensas> and here: https://crystalshards.xyz/?filter=validation
rohitpaulk has quit [Ping timeout: 248 seconds]
<FromGitter> <ansarizafar> I think NamedTuples stored in Hash will do the job as unlike javascript Array don't have any find method
<FromGitter> <asterite> I'd avoid using NamedTuples as much as possible. Always use Hash. NamedTuples just represent named arguments.
<FromGitter> <ansarizafar> Hash can't store more than one value for each key right?
<RX14> yes, but you can just use an array for the value
<FromGitter> <ansarizafar> I need to store multiple values for each key. Two arrays and one proc. That's why I am thinking about Namedtuples stored in a hash
<FromGitter> <asterite> You can use a struct too, or a class. But if NamedTuple works for you, go ahead
<FromGitter> <ansarizafar> ok. Thanks
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <bararchy> @ansarizafar ⏎ ⏎ ```my_hash = {:key => [value1, 150, :id, "etc..."], :key2 => {:mini_key => "single value"}}``` [https://gitter.im/crystal-lang/crystal?at=59ba80121081499f1f2ed9c8]
<FromGitter> <bararchy> So Hash can do alot for you
<FromGitter> <bararchy> it's the best way to store data that needs a key->value structure
claudiuinberlin has joined #crystal-lang
<FromGitter> <zyriuse75> hi all
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <zyriuse75> i would want to help the community. First i would want to translate the doc in French but unfortunately i cant found where is the doc on git-hub.
<FromGitter> <zyriuse75> Someone can tell me where i can find it in english ??
<FromGitter> <bararchy> @zyriuse75 https://github.com/crystal-lang/crystal-book
<FromGitter> <bararchy> Do you really need it @bew ?
claudiuinberlin has joined #crystal-lang
rohitpaulk has joined #crystal-lang
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crystal-gh> [crystal] asterite opened pull request #4972: debug: don't set end_location at function exit (master...bug/debug-end-location) https://git.io/v5HUm
<FromGitter> <zyriuse75> thank man i going to help you as i can ;)
claudiuinberlin has joined #crystal-lang
<crystal-gh> [crystal] asterite closed pull request #4659: Parser: correctly lex the prefix of keyword in macro (master...fix/crystal/lex-part-of-keyword-in-macro) https://git.io/vQ05i
<FromGitter> <mverzilli> Hi @zyriuse75, do you mean the book or the API docs?
<FromGitter> <bararchy> yeha API docs are inside the actual doe , not sure if it supports multi lang
<FromGitter> <bararchy> *code
elbuki has joined #crystal-lang
<FromGitter> <mverzilli> yes, not sure about the API docs. probably we could generate them in a gettext friendly way and use Pootle to manage the translation efforts
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #crystal-lang
<FromGitter> <bew> About translations, I would suggest to wait 1.0 before making them, because if there are modifications, it'll be hard (I think) to keep track of modifications of all translations available..
<FromGitter> <bew> @bararchy I dont't NEED it, but it's one of the reason I like crystal, it's so cool to be able to do that!..
<crystal-gh> [crystal] asterite pushed 6 new commits to master: https://git.io/v5HIt
<crystal-gh> crystal/master b6d9ca5 Ary Borenszweig: Fix malloc and realloc for 64 bits platforms
<crystal-gh> crystal/master b4e23ff Ary Borenszweig: Automatically define `bits32` and `bits64` flags
<crystal-gh> crystal/master 7b31d10 Ary Borenszweig: Remove debug puts
ShalokShalom has quit [Remote host closed the connection]
sz0 has quit [Quit: Connection closed for inactivity]
<travis-ci> crystal-lang/crystal#d92d3e3 (master - Parser: introduce 'lookahead' to fix lex keyword inside macro): The build was broken. https://travis-ci.org/crystal-lang/crystal/builds/275479822
<FromGitter> <mverzilli> that's what systems like Pootle help you manage, but yes, it's not easy to keep everything in sync with just 1 person per language
<FromGitter> <bew> I don't know about Pootle, if it can help reducing issues regarding this then it's awesome! but in the heart I don't think its a good idea to duplicate efforts before its stable..
rohitpaulk has quit [Ping timeout: 246 seconds]
<travis-ci> crystal-lang/crystal#464268b (master - Fixed error messages when size if bigger than UInt32::MAX): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/275486679
<travis-ci> crystal-lang/crystal#d92d3e3 (master - Parser: introduce 'lookahead' to fix lex keyword inside macro): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/275479822
rohitpaulk has joined #crystal-lang
wes[phi] has joined #crystal-lang
Papierkorb_ has quit [Quit: Konversation terminated!]
sz0 has joined #crystal-lang
snsei has joined #crystal-lang
wes[phi] has quit [Ping timeout: 264 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has quit [Quit: WeeChat 1.9]
alex`` has joined #crystal-lang
claudiuinberlin has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
rohitpaulk has joined #crystal-lang
<FromGitter> <faustinoaq> Some people aren't friendly at all on Internet [0] ⏎ ⏎ [0] - https://www.reddit.com/r/programming/comments/6zw3h9/journey_from_node_to_crystal/ ⏎ ⏎ :( [https://gitter.im/crystal-lang/crystal?at=59ba9b497b7d98d30df53197]
<FromGitter> <mverzilli> yeah, just don't feed the trolls
<FromGitter> <mverzilli> before replying take some time to evaluate whether that person is looking for a sane exchange of opinions or just throwing shit at the fan
<FromGitter> <faustinoaq> Yeah, Thanks you for your advice, I'm newbie on Reddit 😅
rohitpaulk has quit [Ping timeout: 248 seconds]
<elbuki> My god, how toxic...
<elbuki> I don't understand why they're so butthurt...
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <sdogruyol> typical reddit trolls
<FromGitter> <georgeu2000> Yes, the internet is mostly trolling and clickbait...sad really.
<FromGitter> <sdogruyol> any media...
<FromGitter> <georgeu2000> Reminds me of this blog: https://schneems.com/. The author wrote about concurrency or locking, but did not address the most difficult issue. Got so many negative comments...so sad.
<FromGitter> <georgeu2000> It has some interesting posts so I subscribed...
claudiuinberlin has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
rohitpaulk has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 246 seconds]
<FromGitter> <krypton97> Well, I've seen worst on go reddit. Anyway, any good website where I can look for templates web design?
<elbuki> I guess is that kind of developers that are stuck to use a group a languages because that's what pay their bills
<elbuki> And they don't investigate about better alternatives
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #crystal-lang
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crystal-gh> [crystal] maiha closed pull request #4957: HTTP: respect gzip in serialization (master...http-gzip-serialization) https://git.io/v515t
<crystal-gh> [crystal] miketheman closed pull request #4919: Remove unused filename parameter from Formatter (master...miketheman/remove-filename-from-formatter) https://git.io/v505B
alex`` has quit [Quit: WeeChat 1.9]
wes[phi] has joined #crystal-lang
<FromGitter> <jwaldrip> Been awhile since we have seen a Crystal version bump. Some good things coming?
sz0 has quit [Quit: Connection closed for inactivity]
<FromGitter> <bew> good things yes (a lot of good pr merged!), when? no idea ^^
<FromGitter> <jwaldrip> Good. Hopefully I can get my YAML PR in before the release.
wes[phi] has quit [Ping timeout: 248 seconds]
<RX14> if only there was some tool to scour reddit and HN and notify me when there was any thread related to crystal
<RX14> i thought i saw something like this a few years ago, but like any random project you vaguely remember from a few youars ago - you can never find it on google again
<RX14> I think the top comment in that thread has a few good points though, however badly presented
<RX14> we don't recommend using crystal in production ourselves after all
<FromGitter> <faustinoaq> Hey RX14, would core team publish a beta before 1.0 ?
<RX14> we don't have a beta and an alpha
<RX14> we have pre-1.0
<RX14> and post-1.0
<FromGitter> <sdogruyol> @RX14 you can't force anyone though
<RX14> we don't want to define a "beta" cut-off point
<FromGitter> <sdogruyol> use at your own risk (TM) :)
<RX14> there's just a slow gradient from alpha quality to release at 1.0
<FromGitter> <faustinoaq> Oh I see, Thanks for clarify
<RX14> we will do pre-releases before 1.0
<RX14> but thats slightly different
<RX14> as they're more of a "if nobody finds any bugs in this this is what we'll release verbaitm"
<RX14> or design bugs
<RX14> i don't think alpha/beta is binary either
<elbuki> why Crystal is not suitable for production?
<RX14> whether a tool is apha or beta quality depends very much on your usecase
<RX14> so it's pretty pointless to describe your won work as alpha or beta in my opinion
<RX14> elbuki, there's a lot of bugs and a lot of changes still going through
<RX14> the ecosystem is not mature either
<RX14> it's not so much that crystal isnt suited for production
<RX14> its that we wouldn't recommend it for production
<RX14> because we don't know in what ways crystal is not suited for production yet
<RX14> because we simply dont have a large enough sample size or test period
<RX14> it may work perfectly for you, it may not, who knows
<FromGitter> <sdogruyol> well explained @RX14 👍
<RX14> with a more mature language you can evaluate it a lot more easilly because theres a lot more information out there
<RX14> and thats in addition to the bugs that havent been hammered out
<FromGitter> <bararchy> we use it in prod, and a bunch other companies, all depends on how brave you are
<FromGitter> <bararchy> LOL
<FromGitter> <sdogruyol> haha same
<RX14> personally i'd be confortable using crystal in production but then, i know how crystal works at a deep level and i'm involved in fixing the bugs
ShalokShalom has joined #crystal-lang
<FromGitter> <sdogruyol> yeah, we're probably biased here @bararchy 👍
<RX14> yeah there's a bench of companies doing it in prod
<RX14> but that's their decision against our recommendation
<RX14> so it's much easier for us to say "i told you so" and point to our advice
<RX14> rather than have people questioning whether the language should ever be used
<FromGitter> <bararchy> @sdogruyol That's true hahaha
<RX14> if something goes wrong that is
<FromGitter> <sdogruyol> there're inventors and there're early adopters.. and the rest :)
<FromGitter> <bararchy> RX14 I get this atidute, but then again, you do have "companies using crystal in prod" page in the wiki
<RX14> another way to think about it is that the "don't use it in production" ias the advice to the 99%
<FromGitter> <bararchy> I think it's a matter of usecase
<RX14> there's always 1% of companies which will ignore the advice, and may even do well from it. And we love them because they are the ones driving the language forward
<FromGitter> <bararchy> :)
<RX14> @bararchy it might be a good idea to add a note to that page lol
<FromGitter> <bararchy> LOL
<FromGitter> <bararchy> we love you guys, but please stop what you're doing
<FromGitter> <bararchy> hahah
<FromGitter> <bararchy> something like that ?
<RX14> well not a "don't stop"
<RX14> more like
<FromGitter> <sdogruyol> P.S: Don't do this
<FromGitter> <sdogruyol> haha
<RX14> "we don't recommend you follow their path without very careful consideration"
<RX14> "please stop" instead of "don't stop"
<FromGitter> <sdogruyol> :D
<elbuki> Is there a page that mention the companies that use Crystal on production?
<elbuki> Nice!
<FromGitter> <georgeu2000> @RX14 ⏎ ⏎ > f only there was some tool to scour reddit and HN and notify me when there was any thread related to crystal ⏎ Sounds like a great service to build... [https://gitter.im/crystal-lang/crystal?at=59babc4cb59d55b823f7c168]
Groogy2 has joined #crystal-lang
Groogy has quit [Disconnected by services]
Groogy2 is now known as Groogy
Groogy_ has joined #crystal-lang
<crystal-gh> [crystal] RX14 closed pull request #4969: Execute dsymutil on build on macOS (master...feature/dsymutil) https://git.io/v5Sy9
<18VAB703S> [crystal] RX14 pushed 1 new commit to master: https://git.io/v5HX0
<18VAB703S> crystal/master 429bda3 Ary Borenszweig: Execute dsymutil on build on macOS (#4969)...
<DeBot_> https://github.com/crystal-lang/crystal/pull/4969 (Execute dsymutil on build on macOS)
snsei has joined #crystal-lang
<FromGitter> <faustinoaq> Yeah 👍
snsei has quit [Ping timeout: 246 seconds]
<travis-ci> crystal-lang/crystal#429bda3 (master - Execute dsymutil on build on macOS (#4969)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/275564811
<DeBot_> https://github.com/crystal-lang/crystal/pull/4969 (Execute dsymutil on build on macOS)
<FromGitter> <crisward> @faustinoaq 😟 Wow that was harsh, especially from someone who really doesn't have the first clue about the projects we're using this on.
<FromGitter> <crisward> (this reddit link)
<elbuki> I wonder how the vendoring discussion in this chat ended... I'm sorry, it was very interesting to watch...
<FromGitter> <fridgerator> what reddit link?
<FromGitter> <crisward> I don't have a reddit account, don't think I want to get involved.
<elbuki> Thanks, oprypin.
<FromGitter> <fridgerator> its not worth it, just kids throwing poop
<oprypin> and what is Crystal's blogosphere? just kids throwing rainbows? "helloworld" everywhere?
<FromGitter> <sdogruyol> lol
<FromGitter> <sdogruyol> please no
<oprypin> literally half of the articles are "wow i just downloaded crystal and it's amazing"
<oprypin> that reminds me of an article i started over a month ago -_-
<FromGitter> <fridgerator> you are negative a lot
<Groogy> that thread is so reddit it can come as
<FromGitter> <georgeu2000> > its not worth it, just kids throwing poop ⏎ ⏎ I have found the best way to deal with trolls is do not read their posts.
<elbuki> I like how actual devs are getting involved in the discussion
<elbuki> actual crystal devs*
<FromGitter> <faustinoaq> > yeah, just don't feed the trolls ⏎ ⏎ I will apply always. ⏎ ⏎ I'm newbie on Internet communities. In fact Crystal is the first community I joined, so I'm unfamiliar with trolls. ... [https://gitter.im/crystal-lang/crystal?at=59bacb297b7d98d30df63d50]
<FromGitter> <crisward> @georgeu2000 I'm sure it's good advice.
<FromGitter> <georgeu2000> They more I think about it and read it and respond, the more it bothers me.
<FromGitter> <georgeu2000> But if I don't read or respond, then I just forget about it.
<FromGitter> <georgeu2000> Problem solved.
<FromGitter> <faustinoaq> I agree
<FromGitter> <faustinoaq> 👍
<Groogy> I find it weird how people seem to be personally hurt by the fact that something different exists?
<FromGitter> <crisward> I can't work out what he's angry about... he seems to be frustrated by his devs messing with new stuff and not getting stuff done. I can understand that, but not sure it has anything to do with the article.
<elbuki> Being used to something in software development is a deal breaker.
<elbuki> People should be able be open to learn something new.
<Papierkorb> To be honest, I've seen such toxic mindsets on such a large scale only in webdev.
<Papierkorb> Stopped counting the blog posts that came of as "I know what you should use because it's the only good solution, and yours sucks". Many are completely incapable of realising that their use-case ain't the same as everyone elses
snsei has joined #crystal-lang
<FromGitter> <crisward> I can be a high pressure environment, think some are closer to popping than others.
<FromGitter> <faustinoaq> > personally i'd be confortable using crystal in production but then, i know how crystal works at a deep level and i'm involved in fixing the bugs ⏎ ⏎ RX14, What are the main issues that are blocking Crystal 1.0 ? ⏎ ⏎ Removing parallelism, Windows support and incremental compilation from the list. [https://gitter.im/crystal-lang/crystal?at=59bacd0f210ac269203039e9]
<FromGitter> <crisward> @faustinoaq that's a big question...
<FromGitter> <faustinoaq> @crisward Do you have some updated graphs about traffic in your website ? I like to see Crystal performance :)
<Papierkorb> Also CPU load and memory graphs if you recorded those
snsei has quit [Ping timeout: 246 seconds]
wes[phi] has joined #crystal-lang
<oprypin> i want to make a not entirely boring looking diagram with a lot of rectangles and arrows. any recommendations for tools? :|
<FromGitter> <crisward> It's on a shared server with gitlab, so I have server graphs but crystal makes up a tiny percentage. Gitlab is ruby and its quite hungry even though it's only used by 5 of us. The sites traffic hasn't been hit that much. About 2,000 page views in the last 24 hrs.
<elbuki> Is Google Drawings boring for you?
<FromGitter> <sdogruyol> @papierkorb draw.io
<FromGitter> <krypton97> That could be build with a dom scraper and a listener to notify on changes
<Papierkorb> *looks at keyboard* I can see how you can mis-tab that
<oprypin> more likely just looking at the author one message off
<FromGitter> <krypton97> Referring to the reddit/hn notifier though..
<oprypin> thanks, sdogruyol
wes[phi] has quit [Ping timeout: 246 seconds]
<FromGitter> <faustinoaq> > i want to make a not entirely boring looking diagram with a lot of rectangles and arrows. any recommendations for tools? :⁠| ⏎ ⏎ Inkscape 😉
elbuki has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<FromGitter> <faustinoaq> Oh, draw.io is better 😅 Thanks for sharing @sdogruyol
<FromGitter> <georgeu2000> @oprypin - I used gliffy (https://www.gliffy.com) and it is pretty good. But no free plan...
rohitpaulk has quit [Ping timeout: 246 seconds]
<FromGitter> <fridgerator> draw.io also recently released desktop application, using technology whos name I dare not mention here
<Papierkorb> I'm just waiting for a electron browser for electron "desktop" applications
<Papierkorb> Built in electron, so we can stack browser in browsers as hierarchical tab management to make it perfect
elbuki has joined #crystal-lang
<Yxhuvud> oprypin: graphwiz if you and to generate the diagram
<Yxhuvud> and->want
claudiuinberlin has joined #crystal-lang
<FromGitter> <Rinkana> Hmm, i'm getting 503 errors for crystal-lang.org/api . It looks like it's trying to tell me something :P
<FromGitter> <bew> me too
<FromGitter> <georgeu2000> I heard S3 is down.
<Papierkorb> "But the cloud is never down! How can it be! That's not what I signed up for" bawls the manager before deciding the switch to Azure for no technical reason
<FromGitter> <Rinkana> I wish
<FromGitter> <Rinkana> But i hope that at least i won't get the nightly calls then
<Yxhuvud> Papierkorb: heh. That argument may have worked before the large dns outage last year
<Papierkorb> (Referencing the infamous azure fails of the last years)
<FromGitter> <Rinkana> Yeah that
<FromGitter> <crisward> This made me chuckle... google thinks the page is written in welsh
<FromGitter> <Rinkana> Hah, mine tought it was german
<oprypin> the Welsh thing is quite common for the gibberish base64 codes
<Papierkorb> kinda hilarious
<wmoxam> ugh S3 🔪
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #crystal-lang
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #crystal-lang
<FromGitter> <faustinoaq> Papierkorb, when Crystal supports Windows, will be possible to compile qt5.cr programs for windows too ?
<Papierkorb> By then I'll have the build system fixed, yes
<FromGitter> <exts> are there any open sourced websites on github made with crystal?
<FromGitter> <exts> wonder what a um, modern crystal web app looks like
<FromGitter> <sdogruyol> crystalshards.xyz itself https://github.com/f/crystalshards @exts
<FromGitter> <sdogruyol> it's a simple web app
<FromGitter> <sdogruyol> not sure what do you mean by modern. hopefully not an app with full of weird js config
<Papierkorb> faustinoaq, in fact, it's why I'm thinking about adding CMake as dependency. It's quite popular, and would help tremendously with "where the heck are my headers?" issues like Mac OS is facing right now
<FromGitter> <exts> any more complex/large scale projects out there?
<FromGitter> <exts> and i probably shouldn't have used 'modern', lack of a better word
<FromGitter> <faustinoaq> Papierkorb, \ (•◡•) / +1
<crystal-gh> [crystal] asterite closed pull request #4968: Nicer output when an exception bubbles through main (master...feature/better-callstack) https://git.io/v5S6Q
<FromGitter> <exts> but yeah I only know the php way of web dev which is inching closer to java lately w/ php7, so I need something to learn from to understand the crystal way of web dev
<FromGitter> <faustinoaq> check this 👉 https://www.dailydrip.com/topics/crystal
<FromGitter> <exts> I mean I know crystal, that link doesn't really show me anything outside of the basics. Nothing regarding project architecture, etc...
wes[phi] has joined #crystal-lang
LastWhisper____ has joined #crystal-lang
snsei has joined #crystal-lang
wes[phi] has quit [Ping timeout: 260 seconds]
<Groogy> exts project structure for like a web app or?
<Groogy> Doesn't Kemal provide that?
<Groogy> or amber?
snsei has quit [Ping timeout: 246 seconds]
<elbuki> Thoughts on Raze?
<travis-ci> crystal-lang/crystal#c23ad1f (master - Exception: use two spaces before "from" in callstack): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/275630901
<FromGitter> <fridgerator> no kemal doesn't provide a structure
<FromGitter> <fridgerator> you can look at amber to see a web structure similar to phoenix or rails
<FromGitter> <fridgerator> kemal is more akin to sinatra, keep it simple
<FromGitter> <exts> I just kind of want to see if there are any open source projects out there blog, cms, etc... to see how people are approaching things. I'm more of a visual learner when it comes to certain things.
<FromGitter> <exts> @elbuki raze looks pretty cool though, will keep an eye on it
<FromGitter> <exts> was working on something myself called Crim, which was inspired by php's slim, but I took like an 8 month break from crystal - so I'm debating on how I jump back into the fold
<FromGitter> <exts> https://github.com/exts/Crim was something that I used to help me learn crystal, but I want to completely scrap this and work on something else
<FromGitter> <crisward> I don't mind sharing how I structure my web app. But it's nothing ground breaking. Just the usual separation of concerns. Keeping stuff simple. I think the challenging bits are those which involve web sockets. That path isn't as quite as well trodden as rest api's and database abstraction layers.
solarlune has joined #crystal-lang
<FromGitter> <exts> yeah
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<FromGitter> <exts> anyone using nginx w/ crystal ?
<FromGitter> <crisward> yep
<FromGitter> <kazzkiq> Yes.
<FromGitter> <exts> im assuming you're using the proxy pass? or is there a better way to get nginx to run your crystal web apps?
<FromGitter> <faustinoaq> @exts check Amber then 👉 https://amberframework.org/ ⏎ ⏎ @elorest did a video deploying to DigitalOcean (https://www.youtube.com/watch?v=FB38q-IMK48)
<FromGitter> <faustinoaq> > was working on something myself called Crim, which was inspired by php's slim ⏎ ⏎ Slim is also a template engine for Ruby, so in Crystal we have Slang (https://github.com/jeromegn/slang)
<elbuki> Is there a JSON REST API based framework?
<FromGitter> <exts> @faustinoaq I mean slim-framework when I said slim slimframework.com
<FromGitter> <exts> as for template engine, i'd prefer something like liquid which I helped port a few filters when I was actively writing crystal https://github.com/TechMagister/liquid.cr
<FromGitter> <faustinoaq> Yeah, Liquid is good too :)
<wmoxam> I also ported liquid :D
hightower3 has joined #crystal-lang
hightower4 has quit [Ping timeout: 248 seconds]
<FromGitter> <exts> oh wow @wmoxam did you get more done than that port? because i might use your library if it's more complete
<wmoxam> It's pretty complete, the only filters missing are `map` and `sort`
<wmoxam> the data handling is a bit strange IMO
<FromGitter> <exts> @wmoxam this was my attempt at map maybe it's useful to you https://github.com/TechMagister/liquid.cr/blob/master/src/liquid/filters/map.cr
<FromGitter> <exts> actually that might not be useful since that code was tailored to how TechMagister wrote his port
wes[phi] has joined #crystal-lang
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
greengriminal has joined #crystal-lang
wes[phi] has quit [Ping timeout: 240 seconds]
<crystal-gh> [crystal] asterite opened pull request #4974: Don't find T in generic type that's not the current type. Fixes #4460 (master...bug/4460-fix-generic-type-bug) https://git.io/v5Qcl
DTZUZO has joined #crystal-lang
crystal-lang313 has joined #crystal-lang
crystal-lang313 has quit [Ping timeout: 260 seconds]