RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.24.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
rohitpaulk has joined #crystal-lang
<RX14> @KINGSABRI an enumerator in ruby is an iterator in crystal
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter> <bew> aaaah
<FromGitter> <KINGSABRI> I see
<crystal-gh> [crystal] RX14 opened pull request #5833: Print exception cause when inspecting with backtrace (master...feature/inspect-cause) https://git.io/vxYgo
<FromGitter> <KINGSABRI> what!, markdown and markdown.to_html is a standard libs? !!
<FromGitter> <KINGSABRI> in Python commandline, there is really a nice feature which is the commandline recognize the file extention, eg ⏎ ⏎ if you have these files `1.rb 1.cr 1.py` ⏎ then you type `python [tap]` it will select `1.py` [https://gitter.im/crystal-lang/crystal?at=5aac5e26e4ff28713a3fcaef]
<FromGitter> <bew> yes, but it's a simple markdown parser
<FromGitter> <bew> for our documentation generator
<FromGitter> <KINGSABRI> also bash completion will be really neat, it seems I'm failing in live with Crystal :(
<FromGitter> <KINGSABRI> yeah `optionparser` not really documented or more examples are missing
return0e has quit [Ping timeout: 260 seconds]
<FromGitter> <straight-shoota> Markdown is really very limited
<FromGitter> <KINGSABRI> it meant to be simple and limited, I believe
<FromGitter> <bew> you mean markdown by itself? or our implementation?
<FromGitter> <straight-shoota> Stdlib impl
<FromGitter> <bew> ah yeah
<FromGitter> <KINGSABRI> yeah
<FromGitter> <KINGSABRI> by itself
<FromGitter> <straight-shoota> I'd like to add a table to properly align the specifiers in API docs for Time::Format
<FromGitter> <KINGSABRI> but it's elegant to find it in the stdlib
<FromGitter> <KINGSABRI> but regardint to optionparser, still need more example in the documentations
<FromGitter> <straight-shoota> Yes, but it's not worth much
<FromGitter> <KINGSABRI> why?
<FromGitter> <KINGSABRI> also I hope there is an easy way to add commands and sub command switches and to be well documented
<FromGitter> <straight-shoota> Because it's limited support of markdown
<FromGitter> <KINGSABRI> ah, I see
<FromGitter> <straight-shoota> Option parser has actually a quite good documentation
<FromGitter> <KINGSABRI> but regarding to optionparser, it's much less than what it should be
<FromGitter> <straight-shoota> You can also look at examples in the samples folder of the repo
<FromGitter> <KINGSABRI> optionparser is really fliexable and it's good to have better example
<FromGitter> <KINGSABRI> ok I'll check that
<FromGitter> <straight-shoota> What are you missing?
<FromGitter> <straight-shoota> Oh and in compiler/crystal
<FromGitter> <KINGSABRI> sub-command and subcommand switches
<FromGitter> <straight-shoota> That's not supported by option parser itself
<FromGitter> <straight-shoota> Take a look at the compiler
<FromGitter> <bew> Note: gitter android app updated, it's working again!
<FromGitter> <straight-shoota> Subcommands are just unshifted from the args array
<FromGitter> <bew> do you know why the case when uses `"bla".starts_with?(..)` instead of just `"bla"` ?
<FromGitter> <straight-shoota> So it matches if you run `crystal bl`
<FromGitter> <bew> oooooh neat
<FromGitter> <bew> ty, didn't that trick!
<FromGitter> <bew> *know
<FromGitter> <KINGSABRI> is amberframewok's website is built using amber? because wappalizer plugin doesn't recognize amber framework website
<FromGitter> <KINGSABRI> it shows only jquery
rohitpaulk has joined #crystal-lang
<FromGitter> <Blacksmoke16> are there any tricks to using the HTTP server with postman?
<FromGitter> <Blacksmoke16> nvm im dumb
<FromGitter> <Blacksmoke16> had postman parsing the string as json :3
<FromGitter> <bew> @KINGSABRI yes it's probably done with amber, but I don't see how your plugin could say as it's a backend framework, not frontend
rohitpaulk has quit [Ping timeout: 256 seconds]
<FromGitter> <KINGSABRI> will there is security issue in amber now
<FromGitter> <KINGSABRI> the given example in (https://amberframework.org/guides/recipes/examples/amber-auth-example.md#amber-auth-example) ⏎ vulnerable to XSS :(
<FromGitter> <KINGSABRI> Rails handles that and you can't have an XSS unless you intentionally enable unsafe_html
<FromGitter> <bew> can you open an issue about it on amber's repo?
<FromGitter> <KINGSABRI> yes
<FromGitter> <Blacksmoke16> does the class name matter when using require "fileName" or is it only based off of fileName
<FromGitter> <aisrael> `require` only "includes" the file (in a sense). The file itself can declare many classes, with different names, or no classes at all.
<FromGitter> <straight-shoota> you can name files and classes as you like
<FromGitter> <KINGSABRI> > can you open an issue about it on amber's repo? ⏎ ⏎ https://github.com/amberframework/amber/issues/697
<FromGitter> <Blacksmoke16> gotcha, thanks @aisrael
<FromGitter> <Blacksmoke16> how would you convert a json string to a namedtuple?
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/3qos
<FromGitter> <Blacksmoke16> must be doing something wrong
<FromGitter> <bew> not sure why you want a namedtuple though, just use a class or a struct
<FromGitter> <bew> it'll be easier to manipulate
<FromGitter> <KINGSABRI> `crystal play` is awesome. it would be create if there's something like `crystal -i|--interact` for command-line 😇
<FromGitter> <Blacksmoke16> hmm i tried that but might be an issue with me getting the json from request body?
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5aac737f6f8b4b9946372bb4]
<FromGitter> <Blacksmoke16> in /usr/share/crystal/src/json/pull_parser.cr:13: no overload matches 'JSON::Lexer.new' with type JSON::Any ⏎ Overloads are: ⏎ ⏎ 1) JSON::Lexer.new(string : String) ⏎ 2) JSON::Lexer.new(io : IO) ... [https://gitter.im/crystal-lang/crystal?at=5aac73a7e4ff28713a40183a]
<FromGitter> <bew> yeah, `data["bla"]` is not a string or an IO
<FromGitter> <Blacksmoke16> because i did JSON.parse
<FromGitter> <bew> but you should directly parse the JSON into `DesiredMinerals`
<FromGitter> <bew> no need for `JSON.parse`
<FromGitter> <bew> you can do `DesiredMinerals.from_json(context.request.body)` or sth like this
<FromGitter> <KINGSABRI> > try https://github.com/crystal-community/icr ⏎ ⏎ Works for me, it's enough for now, missing `--simple-prompt` option but it's okay
<FromGitter> <Blacksmoke16> but what if the body contains more than just what i want to pass to the class?
<FromGitter> <Blacksmoke16> dont i need to parse the body to be able to do ["desired_minerals"] ?
<FromGitter> <bew> you could have another class for the outer object
<FromGitter> <Blacksmoke16> would a struct work? still not super sure what the diff is
<FromGitter> <Blacksmoke16> but i think that would be more performant?
<FromGitter> <Blacksmoke16> bbiaf food
<FromGitter> <bew> struct are more performant than classes, because classes must be allocated, while structs are directly on the stack
<FromGitter> <bew> but you usually don't need the worry about it
<FromGitter> <bew> you should use classes everywhere, and use structs only when you have performances problems IMO
<FromGitter> <aisrael> ☝️ I use `structs` when I want "final" classes :D
<FromGitter> <aisrael> Now if only we could declare `final` ivars (i.e., immutable classes/structs) :D
<FromGitter> <bew> why do you want to have final classes?
<FromGitter> <Blacksmoke16> gotcha, makes sense, thanks
<FromGitter> <aisrael> @bew A habit from Java, open closed principle, all that. If it's meant to be subclassed, its `abstract`. Otherwise, it's "final". Though, mostly I use structs for internal value objects or data transfer objects (parameters), and full classes for domain objects, service objects, the like.
<FromGitter> <bew> ok, yes structs are good for value object like you said, for immutability, just have getters
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter> <aisrael> 💡
<FromGitter> <Blacksmoke16> i think i found a bug
olbat has quit [Ping timeout: 256 seconds]
<FromGitter> <KINGSABRI> 👀
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/3qpk
<FromGitter> <Blacksmoke16> same error if you just try to `p hash.to_json`
<FromGitter> <ezrast> @Blacksmoke16 Not a bug; `Time::Span` does not have a literal form
<FromGitter> <ezrast> `00:00:00.001987000` doesn't mean anything
<FromGitter> <Blacksmoke16> what should i declare the type as then?
<FromGitter> <Blacksmoke16> or save the time as seconds and save that as a float?
<FromGitter> <Blacksmoke16> yea that'd prob be best solution
<FromGitter> <ezrast> Something like `Time::Span.new(0, 0, 0, 0.001987000)` if you want an actual `Span`.
<FromGitter> <Blacksmoke16> use case is it gets created from like Time.now - start_time
<FromGitter> <Blacksmoke16> so looks like i can just do like (Time.now - start_time).seconds or something along those lines
<FromGitter> <ezrast> makes sense
<FromGitter> <Blacksmoke16> how do you guys handle all the other classes you use for data modeling?
<FromGitter> <Blacksmoke16> like put them at the top of the main class/module they used in or?
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 263 seconds]
<FromGitter> <aisrael> @Blacksmoke16 I usually use a `module` to "namespace" them in
<FromGitter> <aisrael> And, when I'm lazy, I don't pay particular attention to where exactly I declare them. Sometimes they get their own file under `src/module/` sometimes they're all just under `src/`, or, sometimes they can be found buried somewhere inside `module.cr` :D
<FromGitter> <Blacksmoke16> :p gotcha
_whitelogger has joined #crystal-lang
<FromGitter> <ezrast> Is there a way to make `arr` be an `Array(Float64) | Array(Int32) ` instead of an `Array(Float64 | Int32)`? https://carc.in/#/r/3qpp
<FromGitter> <bew> Yes, create the array in the ternary
<FromGitter> <ezrast> well, yes
<FromGitter> <ezrast> assume I already have a union type for some reason though
<FromGitter> <bew> Or make a if to check the type of `x`, and make 1 array in if branch and else branch
<FromGitter> <bew> Otherwise.. no, not possible
<FromGitter> <ezrast> aye aye, thanks
<FromGitter> <bew> Because what you're basically creating an Array with type of `x`, and at this point, `x`'s type is `Float64 | Int32`
<FromGitter> <bararchy> Morning :)
alex`` has joined #crystal-lang
DTZUZO has quit [Read error: Connection reset by peer]
DTZUZO_ has joined #crystal-lang
<FromGitter> <faustinoaq> > hmm, @RX14 now that's a con! ⏎ > in Go we can just do go get RepoURI ⏎ ⏎ @KINGSABRI Someone opened an issue about that some time ago https://github.com/crystal-lang/shards/issues/144 [https://gitter.im/crystal-lang/crystal?at=5aacc848e4ff28713a411eff]
dragonkh has quit [Ping timeout: 264 seconds]
<FromGitter> <faustinoaq> > btw, Crystal binaries seems to have lots of bloat ⏎ ⏎ @bararchy Even more if you include those with `--prelude="empty"` 😉 (somethimes you don't need the stdlib but some bindings) ⏎ ⏎ https://gist.github.com/teaearlgraycold/c7b181f7bc543ee9c37cfd45df5f8856#gistcomment-2154719 ... [https://gitter.im/crystal-lang/crystal?at=5aaccbfd6f8b4b9946384739]
<FromGitter> <faustinoaq> Latest scry for linux is just 1.4MB and is static linked: https://github.com/crystal-lang-tools/scry/releases
DTZUZO_ has quit [Ping timeout: 240 seconds]
<FromGitter> <KINGSABRI> @faustinoaq 👍
<FromGitter> <c910335> Is it possible to write the documentation of `property`, `class_property`, etc? ⏎ I tried but only the setter part is documented.
dragonkh has joined #crystal-lang
<dragonkh> hi - how would I turn Random::Secure.random_bytes(96 / 8) into a Array(UInt32) ?
<dragonkh> I basically want a random array of UInt32
Groogy has quit [Disconnected by services]
<dragonkh> oh I think Random::Secure can do it somehow
Groogy2 is now known as Groogy
<Groogy> Morning
Groogy_ has joined #crystal-lang
<FromGitter> <straight-shoota> @c910335 use `getter` and `setter` independently to document them
<FromGitter> <straight-shoota> `property` is not helpful in this regard
<oprypin> dragonkh, how big is the array that you want?
<wuehlmaus> i just found out that with btrfs where it's not possible ot use a swapfile [silly me forgot to include swap on my 4GB Ram netbook] i can use zswap and was able to compile git crystal with that, great, i am happy :)
<FromGitter> <c910335> I found that `property` duplicates the documentation for the two generated methods. ⏎ But `property!` only documents the setter part. ⏎ It's weird.
DTZUZO_ has joined #crystal-lang
<FromGitter> <straight-shoota> yes, that sounds strange
<FromGitter> <straight-shoota> it's probably a `ditto` in the `property!` macro
<FromGitter> <straight-shoota> but still, it usually makes no sense to use the same documentation for getter and setter anyway
<FromGitter> <straight-shoota> no I was wrong
<FromGitter> <straight-shoota> the `property*` macros don't change any documentation
<FromGitter> <straight-shoota> so it should not duplicate the doc comment in any case but only attach it to the first method defined
<oprypin> straight-shoota, you underestimate the power of macros
<FromGitter> <faustinoaq> ^ Hey crystal community! now, Amber is using `status:<status-here>` and `kind:<kind-here>`labels, just like Crystal 😄
p0p0pr37 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<FromGitter> <sdogruyol> @faustinoaq good job 👍
<FromGitter> <faustinoaq> Thank you @sdogruyol !
<FromGitter> <faustinoaq> BTW, @sdogruyol I'm thinking we can make crystal/kemal/amber even faster on TFB, check this: https://github.com/crystal-lang/crystal-db/issues/77
<FromGitter> <straight-shoota> @oprypin how so? =)
<oprypin> well i think it applies docs to child nodes and not from whatever the code turns out to be
<FromGitter> <sdogruyol> @faustinoaq let me check
<FromGitter> <straight-shoota> yes it seems so for `property` but not `property!`
<FromGitter> <straight-shoota> but well, it doesn't really matter
<FromGitter> <straight-shoota> you shouldn't use use those macros for properties that need to be documented
ua_ has joined #crystal-lang
ua__ has quit [Ping timeout: 264 seconds]
<oprypin> so there are properties that don't need to be documented?
ua__ has joined #crystal-lang
ua_ has quit [Ping timeout: 268 seconds]
DTZUZO_ has quit [Ping timeout: 240 seconds]
ua_ has joined #crystal-lang
return0e has joined #crystal-lang
DTZUZO_ has joined #crystal-lang
ua__ has quit [Ping timeout: 264 seconds]
return0e has quit [Ping timeout: 260 seconds]
<FromGitter> <faustinoaq> ^ Our 3 nice crystal organizations 😄
<FromGitter> <t0nyandre> Which editor has the best support for completion etc. ? I'm using vscode atm. but I dunno 😯
demfloroLK6EFQ has joined #crystal-lang
<FromGitter> <t0nyandre> And which plugins do you use that is related to Crystal?
demfloroLK6EFQ has quit [Client Quit]
<RX14> you're probably not going to get completion
<RX14> the tools aren't really there for it
<FromGitter> <t0nyandre> Ah, fair enough :-) So vscode is my best betalte and
<FromGitter> <t0nyandre> best bet*
<RX14> idk
<RX14> vscode's pretty good
<FromGitter> <Blacksmoke16> sublime does pretty good as well
<FromGitter> <Blacksmoke16> highlighting and some completion (prob inherited from ruby)
<RX14> I only have experience with emacs
<RX14> well
<RX14> I used the vim plugin at the start too
<RX14> the vim plugin's really good too
<FromGitter> <t0nyandre> I really want to learn vim or emacs, but I don't know where to start when it comes to the configuration 😟
<FromGitter> <t0nyandre> And should I use spacemacs or emacs? :-P
<FromGitter> <faustinoaq> > Which editor has the best support for completion etc. ? I'm using vscode atm. but I dunno ⏎ ⏎ @t0nyandre All them, check scry https://github.com/crystal-lang-tools/scry/releases ⏎ ⏎ Also see: https://github.com/crystal-lang-tools/scry/issues/56 ... [https://gitter.im/crystal-lang/crystal?at=5aad461227c509a7747341fd]
<FromGitter> <straight-shoota> @oprypin sure, internal APIs are usually not documented - or at least they don't need to be at the same level as API docs
<FromGitter> <faustinoaq> > I'm using vscode atm. but I dunno ⏎ ⏎ @t0nyandre VSCode "completion" is just a hack using NodeJS and json (https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/master/src/crystalCompletionData.ts#L4), I hope to embed scry (replaing NodeJS back-end) on vscode-crystal-lang, so that will not be a problem anymore 😄
<FromGitter> <Blacksmoke16> Can i require a ruby class to use its methods in a crystal file?
<FromGitter> <Blacksmoke16> say for a benchmark of crystal vs ruby
crystal-lang153 has joined #crystal-lang
crystal-lang153 has quit [Ping timeout: 260 seconds]
<RX14> no
<RX14> crystal isn't ruby
<RX14> nothing like it really - outside of syntax
<FromGitter> <Blacksmoke16> i figured
<FromGitter> <Blacksmoke16> plan b!
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 260 seconds]
<FromGitter> <Blacksmoke16> fun fact, rewriting my LP solver into crystal made it 32x faster
return0e has joined #crystal-lang
<FromGitter> <t0nyandre> Wow.. I will connect to the irc channel when I her onto my computer! You guys have given me so many good replies and the app haven't told me 😱
<FromGitter> <t0nyandre> RX14, do you use spacemacs or just emacs? What's the pros and cons there?
<RX14> spacemacs
<RX14> and it's just because vim with more features
<FromGitter> <t0nyandre> Can I ask to look at your . spacemacs file? :-P I just can't seem to get it the way I want it to be :-P
<FromGitter> <t0nyandre> Fair enough :-)
<RX14> the .spacemacs file is pretty good by default
<RX14> what do you want to change
<RX14> it has all the options with comments already
<RX14> don't copy it thoug - it probably won't work very well
<FromGitter> <t0nyandre> So I should just uncheck those added by default and use the Crystal layer?
<RX14> you have to check out the crystal layer by hand
<RX14> it's not in spacemacs yet
<FromGitter> <t0nyandre> Nono.. i like to have control over my configs and that is one of the problems I have with spacemacs
<FromGitter> <t0nyandre> Too much automation
<RX14> ??
<FromGitter> <t0nyandre> :-P
<FromGitter> <t0nyandre> Like when I used emacs for two years ago I wrote elisp to configure my setup
<FromGitter> <t0nyandre> Now I just hit y and I don't know what happened
<FromGitter> <t0nyandre> I dunno :-P Hard to explain
<RX14> yeah
<RX14> it's a bit like that
<RX14> you can always just revert to your old setup and use crystal-mode manually
<RX14> but I prefer to have it largely preconfigured for me
<FromGitter> <Sija> @RX14: is there a way to use nightlies for CI Travis testing?
<RX14> what
<RX14> there's probably all the right words but they seem in the wrong order
<FromGitter> <Sija> :D very likely
<RX14> you want to install a nightly on travis ci?
<FromGitter> <Sija> is there a way to use nightly version of Crystal on Travis CI?
<FromGitter> <Sija> yep
<RX14> you kinda have to do it manually
<RX14> and like
<RX14> pick a nightly
<RX14> there's no way to get the latest nightly build
<FromGitter> <Sija> uhm, that’s sad
<RX14> without actually writing 200 lines of script to query the circleci API
<RX14> yes it's sad
<RX14> so the nightlies are largely pointless
<FromGitter> <Sija> would be nice to be able to use `crystal: nightly` in `.travis.yml`
<RX14> @Sija actually
<RX14> the one place where there is a proper nightly tag is on docker
<RX14> so you'd have to run it all in docker
<RX14> but crystallang/crystal:nightly does exist
<FromGitter> <Sija> sounds like an option, but how about fixing travis? is that sth doable?
<RX14> doable... with manas's help
t0nyandre has joined #crystal-lang
<FromGitter> <Sija> should I open a ticket?
<RX14> meh
<RX14> well yes
<RX14> you should
<t0nyandre> RX14, thank you for all the help previously :) I have mixed and fixed with the spacemacs config and it wasn't that bad when I just read about those layers and got a better feeling about how they worked and what they did :)
<RX14> t0nyandre, cool
<FromGitter> <Sija> @RX14: https://github.com/crystal-lang/crystal/pull/5642 - there’s still a `pr:wip` label, just FYI
<FromGitter> <Sija> btw, what’s the purpose of creating a new tag on docker for every nightly release?
<dragonkh> opypin - 32/64/96/128 bit
<FromGitter> <Sija> @RX14 `crystallang/crystal:nightly` is 11 days old
<RX14> whaat
<dragonkh> if I want to make a random array of UInt32
<dragonkh> how do I call it ?
<FromGitter> <Sija> new naming scheme looks like `nightly-20180317` which IMO is just weird
<RX14> @Sija what why
<FromGitter> <Sija> @RX14 ?
<RX14> how is the naming scheme weird
<FromGitter> <Sija> if I’d like to use nightly crystal I’d like it to be fresh `nightly` every day, or night for that matter
<FromGitter> <Sija> what’s the purpose of having nightly tags for each day?
<RX14> idk
<RX14> they shouldn't exist
<RX14> I didn't think you were talking about docker
<RX14> like
<RX14> the naming of the nightlies is fine
<RX14> the naming of them in docvker tags is not
<FromGitter> <Sija> that’s what I meant, tags
alex`` has quit [Quit: WeeChat 2.0.1]
alex`` has joined #crystal-lang
<crystal-gh> [crystal] Sija opened pull request #5837: Use crystallang/crystal:nightly tag for nightly releases on docker (master...circleci-docker-nightly-tag) https://git.io/vxO8s
<t0nyandre> I see in your config u use a layer and the crystal-mode (additional package). Why is that? Again.. trying to wrap my head around this
<RX14> t0nyandre, oh I was overriding the location of crystal-mode for testing
<RX14> it was just so I could test crystal-mode on people's pull requests
<RX14> since I have merge access to the crystal-mode repo
<t0nyandre> Ah, fair enough :) I didn't add it and now I feel like this configuration of emacs is way better than what I had in vscode actually :) Quicker and I like how it feels
<t0nyandre> One thing we need to add though is crystal-lang icons to the "all-the-icons.el" file
<t0nyandre> my neotree feels empty without it :(
<RX14> neotree still downs't support trees in multiple frames :(
<t0nyandre> for me the SPC-f-f was the better alternative, but those icons were nice as eyecandy though! except not having the crystal icons :P
alex`` has quit [Quit: WeeChat 2.0.1]
<t0nyandre> bbl.. will be on gitter but the electrician are taking my power :(
t0nyandre has quit [Quit: Leaving]
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/3qus
emilsp has quit [Ping timeout: 612 seconds]
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/3qus
<FromGitter> <Blacksmoke16> can someone explain why the InlineIf class errors
<FromGitter> <Blacksmoke16> if the inline if should be the same as the normal if?
<FromGitter> <Blacksmoke16> iirc something to do with normal if not being guaranteed to be not nil unless assigned to var?
<RX14> @Blacksmoke16 but thats not the same code is it
<RX14> if you do if @arr and use @arr in the blockif it will fail too
<FromGitter> <Blacksmoke16> i guess my question is why?
<FromGitter> <Blacksmoke16> since @arr is nil it should evaluate to false?
<FromGitter> <Blacksmoke16> ah there we go, thanks
alex`` has joined #crystal-lang
DTZUZO_ has quit [Ping timeout: 240 seconds]
hightower has joined #crystal-lang
DTZUZO_ has joined #crystal-lang
FromGitter has quit [Remote host closed the connection]
oprypin has quit [Quit: Bye]
t0nyandre has joined #crystal-lang
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Client Quit]
oprypin has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
sevensidedmarble has quit [Quit: WeeChat 2.1-dev]
faustinoaq has joined #crystal-lang
snsei has joined #crystal-lang
FromGitter has joined #crystal-lang
<faustinoaq> Hi community! Using IRC again :)
BlaXpirit has joined #crystal-lang
oprypin has quit [Quit: Bye]
BlaXpirit is now known as oprypin
<t0nyandre> RX14, how can I use the html layer (emmet etc.) on my .ecr files?
<RX14> not sure you can
<t0nyandre> Hmm.. :(
<RX14> I have no clue
<RX14> it might be easy
<RX14> I have no clue
<RX14> i've never tried it
<RX14> so i'd open an issue
<t0nyandre> I will try something out now. It's a long shot, but hey.. if it works others might find it helpful