ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | 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
notzmv has joined #crystal-lang
ur5us has quit [Ping timeout: 255 seconds]
ur5us has joined #crystal-lang
<FromGitter> <HertzDevil> speaking of large arrays of constant data: https://github.com/crystal-lang/crystal/issues/4516#issuecomment-878762317
ur5us has quit [Ping timeout: 272 seconds]
<FromGitter> <lebogan> @Blacksmoke16 and all who responded to my raspberry pi madness: I finally got 1.0 to compile on a model 4b with 4gb ram. Why? Why not. After setting al the environment stuff, it works like a charm. I did have to compile llvm-10 for the rpi which was 'painfull' - almost 10 hours! I kept notes if anyone is interested - I consolidated a lot of stuff from online plus community help. A big thanks to everyone ⏎
<FromGitter> ... ⏎ ```Crystal 1.0.0 () ⏎ ⏎ LLVM: 10.0.0 ⏎ Default target: arm-unknown-linux-gnueabihf``` ⏎ ⏎ Still missing the compile date, but it works along with shards 0.15.0. [https://gitter.im/crystal-lang/crystal?at=60ed258f38da567d829940ee]
<FromGitter> <lebogan> Well, that didn't turn out:-(
szutt has joined #crystal-lang
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 256 seconds]
szutt has quit [Quit: Client closed]
mps has quit [Ping timeout: 258 seconds]
wolfshappen has joined #crystal-lang
wolfshappen has quit [Quit: later]
wolfshappen has joined #crystal-lang
<FromGitter> <RespiteSage> @lebogan Very cool! I'm glad you got it working.
jhass[m] has quit [*.net *.split]
wmoxam has quit [*.net *.split]
sorcus has quit [*.net *.split]
Vexatos_ has quit [*.net *.split]
dostoyevsky2 has quit [*.net *.split]
wmoxam_ has joined #crystal-lang
dostoyevsky2 has joined #crystal-lang
sorcus has joined #crystal-lang
sorcus has joined #crystal-lang
sorcus has quit [Signing in (sorcus)]
Vexatos has joined #crystal-lang
sorcus has quit [Quit: WeeChat 3.2]
sorcus has joined #crystal-lang
<FromGitter> <alexherbo2> I think I found a bug in `File.match?`
<FromGitter> <alexherbo2> https://github.com/crystal-lang/crystal/blob/master/src/file.cr#:~:text=self.match?
<FromGitter> <alexherbo2> `File.match?` accepts a `String` or `Path` as `path`, but `match_single_pattern` only accepts `String`
<FromGitter> <Blacksmoke16> im assuming you get compile time error if you try and use a `Path`
<FromGitter> <alexherbo2> yep
<FromGitter> <alexherbo2> it's how I discovered the bug
<FromGitter> <Blacksmoke16> prob just need to do `path.to_s`
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #crystal-lang
<FromGitter> <didactic-drunk> `Def#args.splat` is broken for `def a(*, b = false)`? https://carc.in/#/r/bjhj
lucf117 has joined #crystal-lang
<FromGitter> <wyhaines> Is it broken, or is it just the way it is that an "*" arg is nameless? ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ You can detect that empty state. Are there any other cases where the name is blank? [https://gitter.im/crystal-lang/crystal?at=60ede8c138da567d829b1f7f]
fifr[m] has quit [Remote host closed the connection]
<FromGitter> <Blacksmoke16> i think the string representation for `*` is just missing/not correct
<FromGitter> <Blacksmoke16> even if you have `*args` it just comes up as `args`, so not sure if you'd be able to tell that arg is a splat. so think this could deff be improved a bit
<FromGitter> <oprypin:matrix.org> > even if you have `*args` it just comes up as `args`, so not sure if you'd be able to tell that arg is a splat. so think this could deff be improved a bit ⏎ ⏎ that just points to it not being meant for this use case
<FromGitter> <Blacksmoke16> shouldnt you be able to construct the same def with the ASTNode representation of it? Which atm that's not possible
<FromGitter> <Blacksmoke16> https://crystal-lang.org/api/master/Crystal/Macros/Def.html#splat_index:NumberLiteral%7CNilLiteral-instance-method
<FromGitter> <Blacksmoke16> as it turns out you can use this to know that something is a splat arg
pusewic|away is now known as pusewicz
pusewicz is now known as pusewic|away
pusewic|away is now known as pusewicz
pusewicz is now known as pusewic|away
jhass[m] has joined #crystal-lang
ur5us has joined #crystal-lang
fifr[m] has joined #crystal-lang
ur5us has quit [Ping timeout: 246 seconds]
ur5us has joined #crystal-lang
ua__ has joined #crystal-lang
ua_ has quit [Ping timeout: 276 seconds]
<raz> grkek: yo, how do i enable request logging in grip?
<FromGitter> <Blacksmoke16> traitor :P
<raz> heh
<raz> i just want to scribble something up quick, athena too heavy
<FromGitter> <Blacksmoke16> *lies*
<FromGitter> <Blacksmoke16> working a new validation constraint tho
<FromGitter> <Blacksmoke16> `AVD::Constraints::File.new max_size: "5M", mime_types: ["application/pdf", "text/plain"]` :0
<FromGitter> <Blacksmoke16> and a similar one for images
<raz> yeh, just wrote my own logger middleware. still quicker than remembering all::the::AVDs :P
<FromGitter> <Blacksmoke16> request logging is enabled by default, so wouldnt have had to do anything ;)
<raz> yeh, next time i need aircraft carrier framework i'll use athena again :D