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
Philpax has joined #crystal-lang
w-p has joined #crystal-lang
<w-p> anyone else out there find the subclass vs include situation a little confusing on occasion?
ryanf_ is now known as ryanf
https_GK1wmSU has joined #crystal-lang
https_GK1wmSU has left #crystal-lang [#crystal-lang]
<FromGitter> <fridgerator> No, but my background is in Ruby, so it makes sense to me
_tsound has joined #crystal-lang
<_tsound> how would you go about adding things into an array with a loop?
<_tsound> i want to perform a loop that gets the files in a folder and reads the filename back to me
<adam12> _tsound: what have you tried?
<adam12> _tsound: If you want to get files in a folder, you likely want one of the mehods in Dir, like `entries`
<adam12> here's the docs for Dir of course. https://crystal-lang.org/api/0.23.1/Dir.html
<adam12> I have to sign off. Late here. Night.
<_tsound> thanks for the help adam12
<_tsound> i think this will work
snsei has joined #crystal-lang
<_tsound> i might need a virtual filesystem
snsei has quit [Remote host closed the connection]
<FromGitter> <jsilverMDX> is there an imagemagick library for crystal
snsei has joined #crystal-lang
<FromGitter> <jsilverMDX> found this https://github.com/blocknotes/magickwand-crystal
snsei has quit [Remote host closed the connection]
<_tsound> can you return an executable path without the executable name?
<_tsound> what i get is "/home/user/work/pname/pname"
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
<_tsound> nvm i got it
<_tsound> Process.executable_path.to_s.chomp("/pname")
<_tsound> It's dirty, but it'll work for now
snsei has quit [Remote host closed the connection]
pabs has quit [Ping timeout: 260 seconds]
renich has joined #crystal-lang
renich has quit [Quit: renich]
pabs has joined #crystal-lang
DTZUZO has quit [Ping timeout: 246 seconds]
xiljin has quit [Ping timeout: 240 seconds]
_tsound has quit [Ping timeout: 260 seconds]
xiljin has joined #crystal-lang
mounibec has joined #crystal-lang
mark_66 has joined #crystal-lang
hightower2 has joined #crystal-lang
flaviodesousa has joined #crystal-lang
<FromGitter> <crisward> Does anyone know why crystal doesn't have an Int128 ?
<FromGitter> <sdogruyol> Yeah, it doesnt for now
<FromGitter> <crisward> @sdogruyol thanks. I was going to work with IP addresses as ints, ipv6 is 128bit. It isn't a necessity for now. Good to know, thanks.
leex has quit [Remote host closed the connection]
tzekid has joined #crystal-lang
leandrobighetti has joined #crystal-lang
https_GK1wmSU has joined #crystal-lang
https_GK1wmSU has left #crystal-lang [#crystal-lang]
hightower2 has quit [Ping timeout: 248 seconds]
<FromGitter> <crisward> @akzhan thanks for the info.
hightower2 has joined #crystal-lang
saadq has quit [Ping timeout: 276 seconds]
saadq has joined #crystal-lang
cyberarm has quit [Ping timeout: 240 seconds]
gloscombe has joined #crystal-lang
hightower2 has quit [Ping timeout: 240 seconds]
cyberarm has joined #crystal-lang
<crystal-gh> [crystal] MakeNowJust opened pull request #4779: Add 'unreachable!' method to express unreachable code explicitly (master...feature/unreachable) https://git.io/v7uOP
cyberarm has quit [Ping timeout: 240 seconds]
DTZUZO has joined #crystal-lang
bmcginty has quit [Ping timeout: 240 seconds]
bmcginty has joined #crystal-lang
cyberarm has joined #crystal-lang
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yxhuvud has quit [Remote host closed the connection]
Yxhuvud has joined #crystal-lang
w-p has quit [Ping timeout: 258 seconds]
<FromGitter> <faustinoaq> Somebody is using SublimeText https://github.com/crystal-lang/sublime-crystal/pull/24
<FromGitter> <bararchy> Me :)
mounibec has joined #crystal-lang
mounibec has quit [Client Quit]
mounibec has joined #crystal-lang
<FromGitter> <faustinoaq> @bararchy Do you have crystal syntax issues?
<FromGitter> <bararchy> Yeha, only when using `)` in def arguments
<FromGitter> <bararchy> So ⏎ def (bar: String) looks good ⏎ but ⏎ def (bar: Array(Int32)) looks bad [https://gitter.im/crystal-lang/crystal?at=5981d1ca2723db8d5e6a985c]
<FromGitter> <bararchy> the issue is always the first ')' in the def
<FromGitter> <bararchy> I think it just thinks that it's the end of the parentesis
<FromGitter> <sdogruyol> yeah
<FromGitter> <sdogruyol> a parser issue
<FromGitter> <bararchy> @faustinoaq Is this a fix for it ?
<FromGitter> <bararchy> I'll update my sublime package
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounibec has joined #crystal-lang
mounibec has quit [Client Quit]
flaviodesousa has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<adam12> RX14: never knew you joined core team. congrats!
<RX14> thanks!
<FromGitter> <faustinoaq> @bararchy https://github.com/crystal-lang/sublime-crystal/pull/24 is not a complete fix but it helps coloring all parens
mounibec has joined #crystal-lang
<adam12> I'm not super familiar with LLVM but I wonder what makes these triples differ. x86_64-unknown-freebsd11.0 vs x86_64-portbld-freebsd
w-p has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
sz0 has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
<FromGitter> <faustinoaq> The Three most loved PR for Crystal ❤️
<FromGitter> <faustinoaq> Windows, Android and Web Assembly 😄
<FromGitter> <sdogruyol> Cool @faustinoaq
snsei has quit []
snsei has joined #crystal-lang
<FromGitter> <straight-shoota> ===4757 is the most hearted issue, just after Windows===
<FromGitter> <straight-shoota> and most 👍 has #2394 ;)
leandrobighetti has left #crystal-lang [#crystal-lang]
<FromGitter> <faustinoaq> Crystal community have a good humor sense 😄
<FromGitter> <sdogruyol> Yeah, we have MINASWAN in our hearts <3
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounibec has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
A124 has quit [Quit: '']
vegai has left #crystal-lang ["User left"]
<FromGitter> <bararchy> 🔵 we do )
A124 has joined #crystal-lang
<FromGitter> <bararchy> 🐒
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
gloscombe has quit [Quit: WeeChat 1.9]
snsei has quit [Ping timeout: 240 seconds]
<FromGitter> <kazzkiq> What is the difference between `crystal deps` and `shards install`?
olbat has joined #crystal-lang
<FromGitter> <straight-shoota> `crystal deps` calls `shards install`, `shards install` does not 😏
<oprypin> kazzkiq, shards install is a newer development. crystal deps used to be something else, became a redirect to shards install
<FromGitter> <straight-shoota> now it's literally the same https://github.com/crystal-lang/crystal/blob/master/src/compiler/crystal/command/deps.cr
renich has joined #crystal-lang
kali_ has quit [Ping timeout: 255 seconds]
kali_ has joined #crystal-lang
renich has quit [Quit: Renich]
renich has joined #crystal-lang
cyberarm has quit [Ping timeout: 268 seconds]
cyberarm has joined #crystal-lang
cyberarm has quit [Ping timeout: 260 seconds]
cyberarm has joined #crystal-lang
mounibec has joined #crystal-lang
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounibec has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounibec has joined #crystal-lang
renich has quit [Quit: Renich]
renich has joined #crystal-lang
renich has quit [Remote host closed the connection]
renich has joined #crystal-lang
Split has joined #crystal-lang
Split_ has joined #crystal-lang
alex`` has joined #crystal-lang
alex`` has quit [Quit: WeeChat 1.9]
Split has quit [Ping timeout: 240 seconds]
https_GK1wmSU has joined #crystal-lang
https_GK1wmSU has left #crystal-lang [#crystal-lang]
hightower2 has joined #crystal-lang
Split__ has joined #crystal-lang
Split_ has quit [Ping timeout: 240 seconds]
w-p has quit [Ping timeout: 260 seconds]
renich has quit [Remote host closed the connection]
Split__ has quit [Ping timeout: 240 seconds]
renich has joined #crystal-lang
renich has quit [Remote host closed the connection]
hightower2 has quit [Ping timeout: 255 seconds]
renich has joined #crystal-lang
renich has quit [Remote host closed the connection]
hightower2 has joined #crystal-lang
renich has joined #crystal-lang
renich has quit [Client Quit]
renich has joined #crystal-lang
Philpax has joined #crystal-lang
renich has quit [Client Quit]
<FromGitter> <kazzkiq> I have a NamedTuple that may or *may not* have some of its keys, how do I create such "dynamic" NamedTuple?
<FromGitter> <kazzkiq> I'm trying something like that, without success: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=598259c7f5b3458e30a62fc2]
<Papierkorb> In best case, not at all
<Papierkorb> NamedTuple are *immutable* data structures, with keys known at compile-time.
<Papierkorb> If you need something mutable, use a Hash
w-p has joined #crystal-lang
<FromGitter> <kazzkiq> Hmmmm, will try that.
<FromGitter> <codenoid> `PCRE does not support \L, \l, \N{name}, \U, or \u at 2`
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounibec has joined #crystal-lang
mounibec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower2 has quit [Ping timeout: 255 seconds]