<RX14>
too bad it probably won't show up on the shards lists because it's mostly C++
soveran has quit [Ping timeout: 260 seconds]
<RX14>
maybe one day i'll port the C++ code to crystal but honestly i hardly see the point
<RX14>
it's just number-shuffling code anyway
txdv has quit [Ping timeout: 265 seconds]
txdv has joined #crystal-lang
pduncan has joined #crystal-lang
stnly has quit [Ping timeout: 265 seconds]
stnly has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 260 seconds]
stnly has quit [Remote host closed the connection]
dioxylin has quit [Ping timeout: 250 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 248 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
maxpowa has joined #crystal-lang
maxpowa has quit [Quit: Ahh! My head is on fire!]
maxpowa has joined #crystal-lang
Kilo`byte has quit [Ping timeout: 248 seconds]
maxpowa has quit [Quit: Ahh! My head is on fire!]
Kilo`byte has joined #crystal-lang
matp_ is now known as matp
bjz has joined #crystal-lang
matp has quit [Read error: Connection reset by peer]
matp_ has joined #crystal-lang
olbat_ has joined #crystal-lang
matp_ is now known as matp
bjz has quit [Read error: Connection reset by peer]
olbat has quit [Ping timeout: 244 seconds]
Cyrus has quit [Ping timeout: 244 seconds]
bjz has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 245 seconds]
maxpowa has joined #crystal-lang
muelleme has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
muelleme has quit [Ping timeout: 250 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 246 seconds]
pduncan has quit [Ping timeout: 240 seconds]
Raimondi has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pduncan has joined #crystal-lang
Philpax has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
poikon has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
poikon has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
jeromegn has quit [Ping timeout: 246 seconds]
jeromegn has joined #crystal-lang
bjz has quit [Ping timeout: 250 seconds]
bjz has joined #crystal-lang
mark_66 has joined #crystal-lang
gloscombe has joined #crystal-lang
<FromGitter>
<splattael> I am guilty of using puts-debugging a lot. It there a straightforward way to puts a value with a label? In Ruby I'm used to do `p :foo => bar`. What do Crystal folks when puts-debugging? :D
<FromGitter>
<splattael> `p({foo: bar})` works but is noisy
<BlaXpirit>
splattael, it's `pp`
<FromGitter>
<splattael> `pp bar` is nice but sometimes I need `p :foo => bar, :bar => baz`
<BlaXpirit>
exactly what u want
<BlaXpirit>
hm weird
<FromGitter>
<splattael> @BlaXpirit ^ :D
<FromGitter>
<splattael> @BlaXpirit How do you do puts-debugging (if at all)?
<BlaXpirit>
i love puts-debugging
<BlaXpirit>
i do it with pp or whatever
<FromGitter>
<splattael> "whatever"? :D
<BlaXpirit>
p, puts
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<crystal-gh>
[crystal] asterite closed pull request #3637: Handle clearing doc search field via (x) button (master...docs-search-event) https://git.io/v1lXj
gloscomb1 has joined #crystal-lang
gloscombe has quit [Ping timeout: 268 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<FromGitter>
<asterite> Yeah, that's the problem: crenv
<FromGitter>
<asterite> If it doesn't work because of crenv there isn't much I can do. It works without crenv :-)
<FromGitter>
<david50407> oh
<FromGitter>
<david50407> so I have to run the command without crenv, right?
krsh has quit [Quit: krsh]
<FromGitter>
<david50407> (or make a patch on crenv or `bin/crystal)
<FromGitter>
<asterite> Yeah, I don't know why crenv has issues with the compiler, but I experienced this in the past so decided to stop using it (it works well with other projects, but for the compiler it meses up something which I don't understand)
Raimondi has joined #crystal-lang
dioxylin has quit [Ping timeout: 250 seconds]
<FromGitter>
<david50407> I found that if the current crystal is not 'system' version, crenv will override $CRYSTAL_PATH everytime, I may send a PR to crenv
<FromGitter>
<david50407> @maiha_twitter thanks, I will try it
<FromGitter>
<david50407> @maiha_twitter oops, crenv still override CRYSTAL_PATH that cause the compiler cannot be compiled
<FromGitter>
<maiha_twitter> @david50407 Oh, updating crenv fixes a problem about LIBRARY_PATH. I missed the point. The overriding problem still exists. sorry...
<FromGitter>
<david50407> @maiha_twitter it's fine, I send a PR to crenv, please review if it's ok to use
<FromGitter>
<paulcsmith> I'm *so* excited about the new `finished` macro. That will make a few things possible that I couldn't figure out how to do before
<FromGitter>
<asterite> Seems a bit overkill to use `macro run` for a require... it will slow down compilation times a lot
<FromGitter>
<yxhuvud> Hmm. I find it a bit strange that Array#sort on a class doesn't use <=> if it is available.
<FromGitter>
<yxhuvud> /s/class/instance of something/
<FromGitter>
<paulcsmith> @asterite I wasn't aware that using `run` would slow things down so much. I'm not sure how else to do that since interpolation is not allowed and I didn't see a way to get `Dir.current` inside a macro
<FromGitter>
<yxhuvud> never mind, there is Comparable. I looked for Sortable :/
mark_66 has quit [Remote host closed the connection]
Cyrus has joined #crystal-lang
akwiatkowski has joined #crystal-lang
senya has joined #crystal-lang
akwiatkowski has quit [Ping timeout: 264 seconds]
<senya>
hey! did anyone cross compile crystal complier for ARM?
soveran_ has quit [Remote host closed the connection]
gloscombe has joined #crystal-lang
<BlaXpirit>
senya, isn't the support for ARM official now?
<FromGitter>
<sdogruyol> @senya Crystal alraedy has ARM support
matp has quit [Read error: Connection reset by peer]
matp_ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<BlaXpirit>
fridgerator, um this makes 0 sense :(
pawnbox has quit [Remote host closed the connection]
<FromGitter>
<fridgerator> trying to figure out how i'm going to do associations in Crecto, here is a real example: https://play.crystal-lang.org/#/r/1fjw
<FromGitter>
<fridgerator> I would need the `User` class to be able to store a reference to the `Post` class later on
<FromGitter>
<fridgerator> to be used later on*
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
muelleme has joined #crystal-lang
muelleme has quit [Ping timeout: 245 seconds]
bjz has joined #crystal-lang
ltran has quit [Ping timeout: 265 seconds]
bjz has quit [Client Quit]
ltran has joined #crystal-lang
bjz has joined #crystal-lang
bjz has quit [Client Quit]
bjz has joined #crystal-lang
bjz has quit [Client Quit]
bjz has joined #crystal-lang
<FromGitter>
<fridgerator> I think I have something figured out
akwiatkowski has joined #crystal-lang
snapcase has joined #crystal-lang
<FromGitter>
<spalladino> @fridgerator something like this might work? https://play.crystal-lang.org/#/r/1fjx (based on your 1st example, haven't checked the 2nd one)
<FromGitter>
<fridgerator> oh nice, I didn't think about using a Base class, i'll have to try that thanks @spalladino
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Philpax has joined #crystal-lang
bjz has joined #crystal-lang
bjz has quit [Client Quit]
bjz has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
ltran has quit [Ping timeout: 244 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]