jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.6 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Oliphaunte has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
Oliphaunte has quit [Remote host closed the connection]
zodiak has quit [Read error: Connection reset by peer]
zodiak_ has joined #crystal-lang
Oliphaunte has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 258 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
snsei_ has quit []
snsei has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaun_ has joined #crystal-lang
Oliphaunte has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
ome has joined #crystal-lang
Oliphaun_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 258 seconds]
mbarbar has joined #crystal-lang
<travis-ci> crystal-lang/crystal#68783f1 (release/0.18 - Update .travis.yml and bin/ci to match definitions in master. Related to #2944): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/142009941
andrewdotnich has joined #crystal-lang
<andrewdotnich> hi everyone :)
<andrewdotnich> Is it currently possible to access an object's eigenclass, a la Ruby's `class << self` ?
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
mbarbar has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei has quit [Client Quit]
snsei has joined #crystal-lang
mark_66 has joined #crystal-lang
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
andrewdotnich has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
snsei has quit [Read error: Connection reset by peer]
snsei has joined #crystal-lang
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
mbarbar has joined #crystal-lang
unshadow has joined #crystal-lang
mbarbar has quit [Ping timeout: 260 seconds]
snsei_ has quit [Read error: Connection reset by peer]
snsei has joined #crystal-lang
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
mark_66 has quit [Remote host closed the connection]
snsei_ has quit [Remote host closed the connection]
mark_66 has joined #crystal-lang
qard has joined #crystal-lang
jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.7 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
snsei has joined #crystal-lang
ome has quit [Quit: Connection closed for inactivity]
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
snsei has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
A124 has quit [Read error: No route to host]
A124 has joined #crystal-lang
trapped has joined #crystal-lang
mbarbar has joined #crystal-lang
<unshadow> Nice move with the bountysource :) I'll dontae too
<unshadow> *donate
<FromGitter> <hkochev> @andrewdotnich Have not tried this but all else Ruby goodness like self.class_method and Module; extend self; end is working
soveran has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 244 seconds]
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
ponga has joined #crystal-lang
ponga has quit [Client Quit]
ponga has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 272 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
<shadowshell> Might be a repost, but this is pretty sweet to see: https://github.com/costajob/app-servers#results
unshadow has quit [Quit: leaving]
trapped has quit [Read error: Connection reset by peer]
Philpax has quit [Ping timeout: 252 seconds]
<RX14> are there any rules about requiring other parts of the stdlib from the stdlib, say I needed securerandom for http/multipart?
<RX14> also why doesnt random_bytes exist on the real random
<RX14> only on securerandom
<RX14> random seels a bit neglected
<RX14> feels*
snsei has joined #crystal-lang
<jhass> it probably is
<jhass> we probably should drop it and rename SecureRandom to Random anyway
<RX14> jhass, yeah using /dev/urandom is the correct random number generator for everywhere is what most people agree
<RX14> urandom is secure as /dev/random
<RX14> having a random algorithm is still useful for performance reasons, when you want to generate loads of kinda shit random really fast without switching to the kernel, but urandom should be the default
<jhass> I'd go as far and say that case is shard material and not standard library material
<RX14> hmmn, maybe
<jhass> pick the shard implementing the PRNG you need
<RX14> hmmn
<RX14> i would make an issue for it honestly
<jhass> feel free to
pawnbox has joined #crystal-lang
waj- has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
waj has quit [Ping timeout: 276 seconds]
<RX14> jhass, so should I just require securerandom from http? it feels wrong...
<jhass> mmh
<jhass> if we implement https://github.com/crystal-lang/crystal/issues/2792 it should be okay to add it to the prelude
<RX14> jhass, can you make an issue about replacing random with securerandom?
<jhass> focused on other stuff currently, I think you can argue at just as well as I ;)
<RX14> yeah, i'm just lazy :P
ponga has quit [Quit: Connection closed for inactivity]
mbarbar has quit [Ping timeout: 272 seconds]
waj- has quit [Quit: ZNC 1.6.1 - http://znc.in]
pawnbox has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
snsei has quit [Ping timeout: 252 seconds]
snsei has joined #crystal-lang
Raimondii has joined #crystal-lang
snsei has quit [Read error: Connection reset by peer]
mark_66 has quit [Remote host closed the connection]
Raimondi has quit [Ping timeout: 240 seconds]
Raimondii is now known as Raimondi
snsei has joined #crystal-lang
Oliphaunte has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
soveran has quit [Remote host closed the connection]
Raimondii is now known as Raimondi
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 252 seconds]
trapped has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
<RX14> jhass, the crystal module is gone from the latest crystal docs
<jhass> mh, still?
<jhass> I thought Ary fixed it with the last release
<RX14> well
<RX14> 0.18.6 is where /api go to me
<jhass> old redirect cached I guess
<RX14> yeah i guess
<RX14> also
pawnbox has quit [Remote host closed the connection]
<RX14> https://aww.moe/n6b8ps.png this quite the song and dance
Oliphaunte has quit [Remote host closed the connection]
<RX14> jhass, also where is spec documented?
<jhass> not sure we have much for it yet
trapped has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vKUIe
<crystal-gh> crystal/master d7447ba Ary Borenszweig: Fixed #2952: Wrong parsing for `foo a: b(1) do ... end`
<crystal-gh> crystal/master 45e42a4 Ary Borenszweig: Removed block form of `String#match`, and fixed Regex docs. Fixes #2879
trapped has joined #crystal-lang
Oliphaunte has joined #crystal-lang
<RX14> jhass, somehow the IO::Delimited has managed to break in the strangest possible way
<RX14> it's meant to give me body, but it returns dody
<RX14> and there isn't a single d in the whole multipart message
<RX14> and i'm not doing any bit ops
<jhass> perhaps memory corruption?
<RX14> must be
<jhass> [98, 100].map {|b| b.to_s(2) }
<jhass> => ["1100010", "1100100"]
<RX14> >> 'd'.ord
<DeBot> RX14: # => 100 - https://carc.in/#/r/131p
<jhass> dunno I guess a write to the wrong offset is more likely
<RX14> >> [13, 10, 13, 10, 98, 111, 100, 121].map &.chr
<DeBot> RX14: # => ['\r', '\n', '\r', '\n', 'b', 'o', 'd', 'y'] - https://carc.in/#/r/131q
<RX14> wait
<RX14> i'm blind
<jhass> good
<RX14> no, i found where the d is coming from
<RX14> and its the same word :/
<jhass> oh you still didn't see the d in body? :D
<RX14> yep
mgarciaisaia has joined #crystal-lang
soveran has joined #crystal-lang
<RX14> jhass, funny thing was I was writing a "silly test" on glue code that would obviously pass then this happened
soveran has quit [Ping timeout: 240 seconds]
<RX14> jhass, i think it's a bug caused by using a memory copy within the same buffer
<travis-ci> crystal-lang/crystal#45e42a4 (master - Removed block form of `String#match`, and fixed Regex docs. Fixes #2879): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/142270463
<RX14> jhass, yup
<RX14> the memcpy implementation that libc uses can't deal with it's dest and src ranges closely intercepting
<jhass> yay
<RX14> so, good thing
<RX14> it's not a logic bug
<RX14> i can literally write a slower emcpy
<RX14> with a loop
mgarciaisaia has left #crystal-lang [#crystal-lang]
<jhass> interesting
<RX14> looks we have move_from and move_to anyway
<RX14> which I can just add to slice
<RX14> with pretty much copy and paste
<RX14> then call it a day
snsei has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
snsei_ has quit [Ping timeout: 252 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 252 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
snsei_ has quit [Ping timeout: 252 seconds]
trapped has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
rolha has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 246 seconds]
Oliphaunte has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
bjz has joined #crystal-lang
Raimondii is now known as Raimondi
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 252 seconds]
<RX14> what on earth? https://aww.moe/jgkqu7.png
bjz_ has quit [Ping timeout: 252 seconds]
<RX14> what on earth is happening there
rolha has quit [Ping timeout: 246 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
rolha has joined #crystal-lang
<RX14> jhass, is it just me or is this a major compiler bug? https://carc.in/#/r/132m
zodiak has joined #crystal-lang
zodiak_ has quit [Ping timeout: 272 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang