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
<FromGitter> <Blacksmoke16> confirmed there isnt ^
f1refly has quit [Ping timeout: 260 seconds]
f1refly has joined #crystal-lang
f1refly has quit [Ping timeout: 264 seconds]
f1refly has joined #crystal-lang
Liothen has quit [Ping timeout: 268 seconds]
V[excess] is now known as ^
Liothen has joined #crystal-lang
teardown has joined #crystal-lang
Liothen has quit [Ping timeout: 240 seconds]
f1reflyylmao has joined #crystal-lang
f1refly has quit [Ping timeout: 256 seconds]
<FromGitter> <Blacksmoke16> @naqvis `\r\n\r\n` doesnt work for chunked responses :S
<FromGitter> <Blacksmoke16> now to think of plan b
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5fab611bc10273610afae8a8]
<FromGitter> <Blacksmoke16> seems to be working
avane has quit [Quit: ZNC - https://znc.in]
avane has joined #crystal-lang
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5fab67c5dc70b5159a053457]
<FromGitter> <Blacksmoke16> not needing the server really makes the tests faster
<oprypin> @Blacksmoke16: isn't there like inherited_classes or something. which may include modules
<oprypin> im sure I've seen something! but can't find
<FromGitter> <naqvis> @Blacksmoke16 yeah, not starting/stopping nework server is definitely going to fasten things up
<oprypin> >> module M; end; class C; include M; end; p {{C.ancestors}}
<DeBot> oprypin: Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues - https://carc.in/#/r/9y28
<oprypin> um what
<oprypin> anyway @Blacksmoke16 yes it's `ancestors` https://carc.in/#/r/9y2b
_whitelogger has joined #crystal-lang
<FromGitter> <HertzDevil> that's #9667
<DeBot> https://github.com/crystal-lang/crystal/issues/9667 ({{ @type.name.stringify }} at /usr/lib/crystal/class.cr:149:11 should have been expanded)
postmodern has joined #crystal-lang
yukai has quit [Ping timeout: 240 seconds]
<oprypin> any why the f does it redirect me to log in https://app.circleci.com/jobs/github/crystal-lang/shards/1085
f1refly has joined #crystal-lang
f1reflyylmao has quit [Ping timeout: 244 seconds]
<Andriamanitra> it would be nice to have something like this (similar to apidock) on the righthand side in the api documentation: https://i.imgur.com/VfSUSpG.png
<Andriamanitra> just a short userscript to implement yourself but having it available by default would be great
<Andriamanitra> oprypin: yeah, something like that
<oprypin> note that my link is crystal ;)
<Andriamanitra> i'm trying to understand how to iterators... shouldn't this work? https://carc.in/#/r/9y3n
<Andriamanitra> i don't understand how compiler thinks it can be Iterator::STOP when i thought i just checked that it's not :(
<FromGitter> <HertzDevil> 1) it's `includes?`, not `include?`
<FromGitter> <HertzDevil> 2) equality check isn't enough
<FromGitter> <HertzDevil> you have to do `!(line=iter.next).is_a?(Iterator::Stop)`
<FromGitter> <HertzDevil> 3) just use `iter.each do |line|` directly
<Andriamanitra> yeah i'm just trying to understand how it works, not actually using them for anything, thanks :)
<Andriamanitra> does this mean i need to always use #is_a? if i want the compiler to know things? i think i tried something like typeof(x) != Iterator::Stop too and that didn't work either
<oprypin> Andriamanitra, mostly. see https://crystal-lang.org/reference/syntax_and_semantics/if_var.html onwards
<Andriamanitra> oprypin: thanks.. i must have skipped that section thinking "lol i know what an if statement is" :p
<oprypin> :p
<FromGitter> <Blacksmoke16> oprypin wouldn't that also include parent classes?
<FromGitter> <Blacksmoke16> https://carc.in/#/r/9y45 oo there we go
Human_G33k has quit [Remote host closed the connection]
Human_G33k has joined #crystal-lang
<FromGitter> <Blacksmoke16> but pivoted a bit and dont actually need it :/
<FromGitter> <Blacksmoke16> would have been too brittle
teardown_ has joined #crystal-lang
teardown has quit [Ping timeout: 240 seconds]
duane has quit [Ping timeout: 264 seconds]
duane has joined #crystal-lang
andremedeiros has quit [Quit: ZNC 1.8.2 - https://znc.in]
andremedeiros has joined #crystal-lang
chloekek has joined #crystal-lang
<chloekek> Have sought long for a language with this feature set: AOT compilation, extensive stdlib, fibers, helpful type system. But for some reason never considered Crystal. So Iā€™m very excited!
<FromGitter> <Blacksmoke16> welcome
<oprypin> got a bit tired of no stacktraces
<oprypin> yes it works
<oprypin> now how to integrate a code transformer into crystal by default
<FromGitter> <wyhaines> oprypin: Drop an example in carc.in of how you are using it?
<oprypin> wyhaines, https://carc.in/#/r/9y5b
<FromGitter> <oprypin> output: āŽ āŽ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5fac26dad37a1a13d69dfcc8]
<oprypin> the point is i can get a history of the last-hit line numbers
<oprypin> and possibly a linenumber based "stack trace"
postmodern has quit [Quit: Leaving]
teardown_ has quit [Remote host closed the connection]
teardown has joined #crystal-lang
<oprypin> lol i only forgot that this instrumenter has a tons of bugs in edge cases and now i want to feed the whole code base to it
<oprypin> :(
<FromGitter> <Blacksmoke16> rip
<chloekek> Finally gave Crystal a try. Wrote a little program to fetch weather forecasts and the experience was superb.
<FromGitter> <Blacksmoke16> šŸ’Æ
<FromGitter> <Blacksmoke16> good to hear
<chloekek> :3
woodruffw has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
oz has quit [*.net *.split]
woodruffw has joined #crystal-lang
dostoyevsky has joined #crystal-lang
oz has joined #crystal-lang
dostoyevsky has quit [Max SendQ exceeded]
dostoyevsky has joined #crystal-lang
Elouin has quit [*.net *.split]
early has quit [*.net *.split]
Xeago has quit [*.net *.split]
Andriamanitra has quit [*.net *.split]
lanodan has quit [*.net *.split]
dom96 has quit [Ping timeout: 266 seconds]
issyl0 has quit [*.net *.split]
lanodan has joined #crystal-lang
Andriamanitra has joined #crystal-lang
lanodan has quit [Max SendQ exceeded]
issyl0 has joined #crystal-lang
chloekek has quit [*.net *.split]
tsujp has quit [*.net *.split]
chachasmooth has quit [*.net *.split]
repo has quit [*.net *.split]
Seich has quit [*.net *.split]
badeball has quit [*.net *.split]
Xeago has joined #crystal-lang
Elouin has joined #crystal-lang
early has joined #crystal-lang
dostoyevsky has quit [*.net *.split]
sagax has quit [*.net *.split]
Elouin has quit [Max SendQ exceeded]
asterite has quit [*.net *.split]
Elouin1 has joined #crystal-lang
sagax has joined #crystal-lang
dostoyevsky has joined #crystal-lang
chloekek has joined #crystal-lang
chachasmooth has joined #crystal-lang
repo has joined #crystal-lang
badeball has joined #crystal-lang
Seich has joined #crystal-lang
dom96 has joined #crystal-lang
asterite has joined #crystal-lang
dostoyevsky has quit [Max SendQ exceeded]
teardown has quit [*.net *.split]
dostoyevsky has joined #crystal-lang
lanodan has joined #crystal-lang
tsujp has joined #crystal-lang
return0e[m] has quit [Ping timeout: 244 seconds]
ryanprior has quit [Ping timeout: 244 seconds]
psydroid has quit [Ping timeout: 244 seconds]
teardown has joined #crystal-lang
avane has quit [*.net *.split]
olbat has quit [*.net *.split]
duane has quit [*.net *.split]
zorp has quit [*.net *.split]
avane has joined #crystal-lang
olbat has joined #crystal-lang
zorp has joined #crystal-lang
lanodan has quit [*.net *.split]
Human_G33k has quit [*.net *.split]
r0bby has quit [*.net *.split]
deavmi has quit [*.net *.split]
antoszka has quit [*.net *.split]
maxpowa has quit [*.net *.split]
bazaar has quit [*.net *.split]
maxpowa has joined #crystal-lang
antoszka has joined #crystal-lang
r0bby has joined #crystal-lang
deavmi has joined #crystal-lang
Human_G33k has joined #crystal-lang
lanodan has joined #crystal-lang
bazaar has joined #crystal-lang
duane has joined #crystal-lang
FromGitter has quit [*.net *.split]
davic has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
robacarp has quit [*.net *.split]
andremedeiros has quit [*.net *.split]
f1refly has quit [*.net *.split]
melthelesbian has quit [*.net *.split]
DTZUZU has quit [*.net *.split]
justinmcp has quit [*.net *.split]
bougyman has quit [*.net *.split]
Flipez has quit [*.net *.split]
skrzyp has quit [*.net *.split]
snapcase has quit [*.net *.split]
iwq has quit [*.net *.split]
fifr has quit [*.net *.split]
^ has quit [*.net *.split]
justinmcp has joined #crystal-lang
melthelesbian has joined #crystal-lang
DTZUZU has joined #crystal-lang
f1refly has joined #crystal-lang
andremedeiros has joined #crystal-lang
skrzyp has joined #crystal-lang
fifr has joined #crystal-lang
bougyman has joined #crystal-lang
Flipez has joined #crystal-lang
snapcase has joined #crystal-lang
^ has joined #crystal-lang
iwq has joined #crystal-lang
daemonwrangler has joined #crystal-lang
robacarp has joined #crystal-lang
davic has joined #crystal-lang
FromGitter has joined #crystal-lang
wmoxam has quit [*.net *.split]
Stephie has quit [*.net *.split]
baweaver has quit [*.net *.split]
Nekka has quit [*.net *.split]
coderobe has quit [*.net *.split]
commavir has quit [*.net *.split]
sorcus has quit [*.net *.split]
straight-shoota has quit [*.net *.split]
raz has quit [*.net *.split]
krobin has quit [*.net *.split]
Nekka has joined #crystal-lang
coderobe has joined #crystal-lang
baweaver has joined #crystal-lang
wmoxam has joined #crystal-lang
commavir has joined #crystal-lang
Stephie has joined #crystal-lang
MasterdonX has quit [*.net *.split]
oprypin has quit [*.net *.split]
ua has quit [*.net *.split]
PixeLInc has quit [*.net *.split]
riffraff169 has quit [*.net *.split]
sorcus has joined #crystal-lang
raz has joined #crystal-lang
straight-shoota has joined #crystal-lang
krobin has joined #crystal-lang
riffraff169 has joined #crystal-lang
oprypin has joined #crystal-lang
MasterdonX has joined #crystal-lang
PixeLInc has joined #crystal-lang
ua has joined #crystal-lang
r0bby has quit [Ping timeout: 271 seconds]
<FromGitter> <ImAHopelessDev_gitlab> i love how we can add a property to a class in another file by just overriding the class. whoever thought of this is amazing
r0bby has joined #crystal-lang
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #crystal-lang
psydroid has joined #crystal-lang
alexherbo2 has joined #crystal-lang
<chloekek> Free-form code organization is good.
<FromGitter> <Blacksmoke16> is worth some thought tho
<FromGitter> <Blacksmoke16> just blindly doing that all the time is prob not the best practice
ryanprior has joined #crystal-lang
return0e[m] has joined #crystal-lang
<Stephie> rip my crystal forums header theme, died to css changes
<FromGitter> <ImAHopelessDev_gitlab> @Blacksmoke16 :D
yukai has joined #crystal-lang
chloekek has quit [Remote host closed the connection]