jhass changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Crystal 0.35.1 | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
<oprypin> wow i'm so stupid, doing double-destroy on all objects
<FromGitter> <Blacksmoke16> just instantiate two copies of everything and all it a day :trollface:
<FromGitter> <Blacksmoke16> call*
<oprypin> seems like there is some small memory leak regardless 😩
<FromGitter> <aaaScript> @oprypin thanks I'll pull it down.
skrzyp has joined #crystal-lang
<FromGitter> <aaaScript> Yup It's not crashing for me anymore. Thanks again for the help.
skrzyp has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 272 seconds]
skrzyp has joined #crystal-lang
f1refly has joined #crystal-lang
f1reflyylmao has quit [Ping timeout: 256 seconds]
_whitelogger has joined #crystal-lang
psydroid has quit [Quit: killed]
return0e[m] has quit [Quit: killed]
ryanprior has quit [Quit: killed]
ryanprior has joined #crystal-lang
return0e[m] has joined #crystal-lang
psydroid has joined #crystal-lang
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #crystal-lang
_whitelogger has joined #crystal-lang
deavmi has joined #crystal-lang
ryanprior has joined #crystal-lang
Andriamanitra has joined #crystal-lang
yukai has quit [Ping timeout: 240 seconds]
DTZUZU_ is now known as DTZUZU
<FromGitter> <grkek> Is there a pre-defined date on which the 1.0.0 will be released and where can I see the changes between 0.35.1 and 1.0.0
<FromGitter> <grkek> ?
<FromGitter> <grkek> thank you
alexherbo2 has joined #crystal-lang
Elouin has quit [Quit: So long and thanks for all the fish!]
Elouin has joined #crystal-lang
<raz> the last 3% are always the hardest
<FromGitter> <silentworks> Am I correct in thinking that Crystal can't do a difference between two string arrays? I just tried `["G","G","A"] - ["A", "G", "G"]` and got an empty array as the result
<FromGitter> <Blacksmoke16> what would you expect it to return?
<FromGitter> <silentworks> an array with the difference `["G", "G"]`
<FromGitter> <Blacksmoke16> how you figure? Isn't an array difference elements that are in array a but not array b?
<FromGitter> <Blacksmoke16> so since both arrays have the same elements (in a diff order) the difference is empty
Human_G33k has joined #crystal-lang
<FromGitter> <silentworks> oh damn, you are correct
<FromGitter> <Blacksmoke16> 👍
<FromGitter> <silentworks> But note that even of I were to change one of the array to have completely different character it still results in an empty array
<FromGitter> <silentworks> let me setup something in the playground
<FromGitter> <Blacksmoke16> rgr
HumanG33k has quit [Ping timeout: 240 seconds]
<FromGitter> <silentworks> https://play.crystal-lang.org/#/r/9t41
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/9t45
<FromGitter> <Blacksmoke16> https://crystal-lang.org/api/master/Array.html#-(other:Array(U))forallU-instance-method
<FromGitter> <Blacksmoke16> > Returns a new Array that is a copy of self, removing any items that appear in other.
<FromGitter> <Blacksmoke16> `"B"` isn't in `self`, its in `other`
<FromGitter> <silentworks> oh right
<FromGitter> <silentworks> ok thanks for explaining that
<FromGitter> <Blacksmoke16> np
Liothen has quit [Ping timeout: 260 seconds]
Liothen has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #crystal-lang
zorp has joined #crystal-lang
Human_G33k has quit [Ping timeout: 240 seconds]
Human_G33k has joined #crystal-lang
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
yukai has joined #crystal-lang