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
DTZUZU_ has quit [Ping timeout: 260 seconds]
DTZUZU_ has joined #crystal-lang
DTZUZU_ has quit [Ping timeout: 240 seconds]
deavmi_ has quit [Ping timeout: 250 seconds]
DTZUZU_ has joined #crystal-lang
deavmi has joined #crystal-lang
DTZUZU has joined #crystal-lang
DTZUZU_ has quit [Ping timeout: 265 seconds]
chachasmooth has quit [Ping timeout: 250 seconds]
chachasmooth has joined #crystal-lang
_whitelogger has joined #crystal-lang
chachasmooth has quit [Ping timeout: 240 seconds]
chachasmooth has joined #crystal-lang
DTZUZU_ has joined #crystal-lang
DTZUZU has quit [Ping timeout: 260 seconds]
aquijoule_ has joined #crystal-lang
richbridger has quit [Ping timeout: 240 seconds]
yxhuvud has quit [Ping timeout: 250 seconds]
yxhuvud has joined #crystal-lang
early has quit [Quit: Leaving]
early has joined #crystal-lang
DTZUZU_ has quit [Read error: Connection reset by peer]
DTZUZU_ has joined #crystal-lang
Stephie has quit [Quit: Fuck this shit, I'm out!]
Vexatos has quit [Quit: Client Quit]
<FromGitter> <rishavs> Is there a way to selectively apply handlers? Ie. if x = y then apply handler Something? ⏎ I know I can probably have an if/else within the handler itself, but wanted to do this check outside
Stephie has joined #crystal-lang
<jhass> talking about HTTP::Handler?
<jhass> just make a wrapper that checks the condition
hendursa1 has joined #crystal-lang
hendursaga has quit [Ping timeout: 240 seconds]
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #crystal-lang
^ is now known as V[llf]
Vexatos has joined #crystal-lang
DTZUZU_ has quit [Ping timeout: 265 seconds]
DTZUZU_ has joined #crystal-lang
maxpowa has quit [Ping timeout: 245 seconds]
maxpowa has joined #crystal-lang
DTZUZU_ has quit [Ping timeout: 268 seconds]
DTZUZU_ has joined #crystal-lang
sagax has quit [Ping timeout: 265 seconds]
sorcus has quit [Quit: WeeChat 3.1]
DTZUZU_ has quit [Ping timeout: 268 seconds]
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #crystal-lang
DTZUZU_ has joined #crystal-lang
<FromGitter> <deadshot465_gitlab> Is there a way to build a ARM64 Docker image for Crystal? Because afaik currently there's no easy way to use Crystal on Apple M1 natively, and for now running amd64 Docker containers on Apple M1 is achieved with emulation and is best-effort only. https://github.com/docker/for-mac/issues/5701#issuecomment-843275464https://github.com/docker/for-mac/issues/5204#issuecomment-834155987
<FromGitter> ... Unfortunately, crystallize LSP doesn't seem to work when using Crystal via amd64 container under Apple M1...
DTZUZU has joined #crystal-lang
DTZUZU_ has quit [Read error: Connection reset by peer]
<oz> I haven't played much with Docker, but you can grab a tar.gz from the release to run crystal 1.0 on your M1 laptop.
<oz> (it needs rosetta)
<FromGitter> <deadshot465_gitlab> Yes but it doesn't come with shards
<FromGitter> <deadshot465_gitlab> So I was wondering if building a Crystal container is more convenient or building shards myself
DTZUZU_ has joined #crystal-lang
DTZUZU has quit [Ping timeout: 240 seconds]
<yxhuvud> @straight-shoota: windows seems to be getting a new io model.. https://windows-internals.com/i-o-rings-when-one-i-o-operation-is-not-enough/ I kinda recognize the underlying model..
<jhass> I mean even the name the levensthein distance isn't very big :D
<yxhuvud> yeah, it is big enough to allow minor changes without confusing users too much
<yxhuvud> But it is good, having similar models on several OS'es will help portability.
sagax has joined #crystal-lang
<FromGitter> <kingsleyh> Does anyone know in Kemal if it's possible to write a test that first logs in and gets a session and then calls an another endpoint that requires a logged in user to return content? I've sent a login request and it seems to work but the next request says not logged in
<FromGitter> <kingsleyh> oh I probably have to pass a cookie
<straight-shoota> yxhuvud, nice.
<straight-shoota> we'll still continue with the ICOP port, but this is something for the future
<yxhuvud> yes of course.. just thought it funny :)
sorcus has joined #crystal-lang
jhass has quit [Quit: Bye]
jhass has joined #crystal-lang
astronavt has quit [Quit: ...]
astronavt has joined #crystal-lang
hightower2 has quit [Ping timeout: 260 seconds]