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
_whitelogger has joined #crystal-lang
<FromGitter> <mattrberry> > cant use these to type an ivar, but as a return/param restriction is fine ⏎ ⏎ @Blacksmoke16 Hmm I was getting an error saying I couldn't use Number
<FromGitter> <mattrberry> Maybe it's because I had it in a union with other things too?
HumanG33k has quit [Ping timeout: 260 seconds]
<FromGitter> <Blacksmoke16> oh?
<FromGitter> <Blacksmoke16> got an example?
mikko has joined #crystal-lang
mikko has quit [Changing host]
mikko has joined #crystal-lang
HumanG33k has joined #crystal-lang
renich has joined #crystal-lang
renich has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
<Elouin> Is there like a spreadshirt shop or so, where one could buy official crystal merchandise?
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 244 seconds]
taupiqueur has joined #crystal-lang
Guest8010 has quit [Quit: WeeChat 3.5]
lanodan has joined #crystal-lang
jmdaemon has quit [Ping timeout: 255 seconds]
ssw has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
ssw has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
<FromGitter> <mattrberry> @Blacksmoke16 https://play.crystal-lang.org/#/r/dyld
<FromGitter> <mattrberry> Looks like specifically a union thing `Error: can't use Number in unions yet, use a more specific type`
<FromGitter> <mattrberry> But `Number::Primitive` solves it
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
_ht has joined #crystal-lang
<FromGitter> <Blacksmoke16> im assuming this is a reduced example?
<FromGitter> <Blacksmoke16> because ofc you could use overloads on `a` to handle it, otherwise yea guess you just cant use that type in this context
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Ping timeout: 244 seconds]
_ht has quit [Quit: _ht]
ur5us has joined #crystal-lang
mookie has quit [Ping timeout: 260 seconds]
<repo> hey @Blacksmoke16, you there?
<repo> I'm using ADI in my app and was wondering about the lifetime of any services registered by ADI
<repo> was there something about a service being instanciated per thread?
<FromGitter> <Blacksmoke16> per fiber
<FromGitter> <Blacksmoke16> if your application allows the processing of multiple independent tracks of work, e.g. http requests, then you'd prob want to make it so they're handled in a fiber so the containers can be independent
<FromGitter> <Blacksmoke16> otherwise they'd use the same one and that could be problematic
jmdaemon has joined #crystal-lang
<repo> thanks!
<FromGitter> <Blacksmoke16> np
<FromGitter> <Blacksmoke16> somewhat surprised (but happy) that component is getting use outside of the core framework ha
<repo> :)
<FromGitter> <Blacksmoke16> working out well for ya so far?
taupiqueur has joined #crystal-lang
hellstabber has joined #crystal-lang