jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.6 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
BlaXpirit has quit [Quit: Konversation]
<crystal-gh> [crystal] lbguilherme opened pull request #1304: Fix #1253 and disallow illegal bodies on HTTP Response (master...master) http://git.io/vGIo0
waj has quit [Read error: Connection reset by peer]
waj_ has joined #crystal-lang
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fowlduck has joined #crystal-lang
elbow_jason has quit [Remote host closed the connection]
fowlduck has quit [Ping timeout: 245 seconds]
waj_ has quit [Remote host closed the connection]
NeverDie has joined #crystal-lang
blue_deref has quit [Quit: Taking myself out of hear.]
trapped has quit [Ping timeout: 244 seconds]
havenwood has joined #crystal-lang
kyrylo has quit [Ping timeout: 244 seconds]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
ssvb has quit [Ping timeout: 245 seconds]
waj_ has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 252 seconds]
waj_ has quit [Remote host closed the connection]
waj_ has joined #crystal-lang
waj_ has quit [Remote host closed the connection]
<crystal-gh> [crystal] rosylilly opened pull request #1305: Redesign documents (master...new-doc-design) http://git.io/vGLlT
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<vegai> hmm, the nim language comes with in interpreter
<vegai> I wonder how they manage it
<vegai> well ok, it's not very flexible in the python sense either
<vegai> so now I've been toying around with the idea of porting crystal to another architecture (ARM)
<vegai> which makes me wonder... how would I port to a different OS?
<vegai> I cannot just crosscompile from Linux to FreeBSD, can I?
sdogruyol has quit [Remote host closed the connection]
sdogruyol has joined #crystal-lang
<benner> vegai: I think you can
BlaXpirit has joined #crystal-lang
<vegai> oh :) well ok
<BlaXpirit> how to stream a file through http?
<vegai> benner: actually, perhaps it's not even needed, since freebsd should be able to run linux binaries
<vegai> unless crystal does something exotic enough that that's not possible
sdogruyol has quit [Remote host closed the connection]
sdogruyol has joined #crystal-lang
tatey_ has quit []
sdogruyol has quit [Remote host closed the connection]
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sdogruyol has joined #crystal-lang
sdogruyol has quit [Remote host closed the connection]
sdogruyol has joined #crystal-lang
wanderer_ has joined #crystal-lang
<Netfeed> BlaXpirit: @body is an io stream so it should be pretty easy i think
<BlaXpirit> Netfeed, yeah, that's what i thought
<Netfeed> @body_io even
<BlaXpirit> but it's too early for me to stream from http. i still need to learn to stream from a file. my stuff is broken :(
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
<BlaXpirit> hm actually it's probably crystal's File that's broken. costed me 2 hours of debugging
<BlaXpirit> must be the buffering asterite mentioned
<BlaXpirit> reading bytes at the beginning of the file and seeking to 0 then reading bytes gives different results
Ven has joined #crystal-lang
leafybasil has quit [Ping timeout: 240 seconds]
<BlaXpirit> I don't know what can even be done here
leafybasil has joined #crystal-lang
<BlaXpirit> appears that sync= has no effect?
<BlaXpirit> it only affects output buffering
kyrylo has joined #crystal-lang
<crystal-gh> [crystal] BlaXpirit opened pull request #1307: Make BufferedIO#read respect the sync attribute (master...sync-unbuffered-read) http://git.io/vGtGy
<BlaXpirit> welp, Netfeed, that is not streaming
ssvb has joined #crystal-lang
<Netfeed> no?
<BlaXpirit> Netfeed, HTTP::Client.get by itself downloads the whole thing
<Netfeed> oh, i thought you meant the server
<BlaXpirit> right... sorry
trapped has joined #crystal-lang
<RX14> Kilo`byte, still working on the ircd?
ytti has quit [*.net *.split]
zz_Cidan has quit [*.net *.split]
tliff has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
maxdeviant has quit [*.net *.split]
maxdeviant has joined #crystal-lang
ytti has joined #crystal-lang
zz_Cidan has joined #crystal-lang
Kilo`byte has joined #crystal-lang
tliff has joined #crystal-lang
zz_Cidan has quit [*.net *.split]
tliff has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
<dzv> blaxpirit: are you giving strings, slices and structs a .bytesize?
<BlaXpirit> dzv, i'm not doing anything for now
<BlaXpirit> and no, that is not what i meant
tliff has joined #crystal-lang
Kilo`byte has joined #crystal-lang
zz_Cidan has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zamith has joined #crystal-lang
zamith_ has joined #crystal-lang
zamith has quit [Read error: Connection reset by peer]
blue_deref has joined #crystal-lang
dyulax has joined #crystal-lang
<dyulax> Hello guys
<dyulax> Where can I find documentation for "crystal spec" methods?
<BlaXpirit> and Spec itself, and Spec/DSL
ssvb has quit [Ping timeout: 246 seconds]
<dyulax> thank you BlaXpirit
wanderer_ has quit [Ping timeout: 246 seconds]
kyrylo has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
<dyulax> When I am extending a Module, how can I call class methods?
<dyulax> SomeLength.length is returning 3 in the example because if any method from Items class is called, it will fail
<BlaXpirit> I don't understand, dyulax
<jhass> dyulax: if the class/module you're extending defines class methods, you can just call them as you were calling instance methods after being included
<BlaXpirit> ooh call class methods
<jhass> >> module Bar; def bar; foo.size; end; end; class Foo; extend Bar; def self.foo; {1, 2}; end; end; Foo.bar
<DeBot> jhass: # => 2 - http://carc.in/#/r/d1f
<BlaXpirit> now i gotta remind myself what `extend` is. never even occured to me to use it
<jhass> it does?
<BlaXpirit> dyulax, http://carc.in/#/r/d1g
<jhass> >> module SomeLength; def length; items_method; end; end; class Items; extend SomeLength; def self.items_method; 3; end; end; Items.length
<DeBot> jhass: # => 3 - http://carc.in/#/r/d1h
<BlaXpirit> dyulax, oh, is that you? ^^
<jhass> aw, too slow
<jhass> dyulax: anyway, works, no failure
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Kilo`byte> RX14: yes although the project is paused due to me being pretty busy irl
<BlaXpirit> hah jhass, sometimes compacting it into one line isn't a good option :p
<Kilo`byte> will pick up on it again sunday evening probably
<dyulax> you are right, it only fails with this method: "responds_to?"
<dyulax> let me update the git
<dyulax> *gist
<dyulax> I need to check if the class extending the module responds to a given class method
<BlaXpirit> dyulax, just use carc.in, it immediately gives output too
<jhass> dyulax: arguably a bug, feel free to open an issue, works with explicit self http://carc.in/#/r/d1j
<dyulax> thank you jhass :) i will open the issue
<crystal-gh> [crystal] BlaXpirit closed pull request #1307: Make BufferedIO#read respect the sync attribute (master...sync-unbuffered-read) http://git.io/vGtGy
<dyulax> it seems I found out another one: http://carc.in/#/r/d1l :-)
<jhass> dyulax: well no, a symbol literal
<jhass> dyulax: think about it for a while, the compiler needs to do the responds_to? check here, how should it know the value?
<BlaXpirit> responds_to is very strictly compiletime. it needs the concrete literal passed to it. doing it through methods doesn't work
<dyulax> i don't know, i still think in Ruby therms
<dyulax> I see
<BlaXpirit> it's not even a real method, it's implemented inside the compiler
<dyulax> i am doing all of this to ask: "hey class, do you have an attribute called X? no??? then fail!"
<jhass> fail how?
<dyulax> didn't find any alternative to responds_to?(:attribute_name)
<dyulax> raise an ArgumentError("Invalid attribute x")
<jhass> just reference it, it'll fail to compile if it's not there
<jhass> better than a runtime ArgumentError, no? ;)
<dyulax> you are fucking right :)
<dyulax> thank you again
<jhass> you can also do things like abstract def attribute_name in the module
Ven has joined #crystal-lang
Ven has quit [Client Quit]
Ven has joined #crystal-lang
NeverDie has joined #crystal-lang
waj has joined #crystal-lang
waj has quit [Remote host closed the connection]
ssvb has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vGqyM
<crystal-gh> crystal/master a8b53b8 Technorama Ltd: New method: Exception#inspect_with_backtrace...
<crystal-gh> crystal/master 911e9c1 Ary Borenszweig: Merge pull request #1300 from technorama/f/exception_print...
<crystal-gh> [crystal] asterite pushed 3 new commits to master: http://git.io/vGqyp
<crystal-gh> crystal/master 10c7da5 Luis Lavena: Travis: define inclusion rules instead of exclusion...
<crystal-gh> crystal/master dc884d8 Luis Lavena: Travis: move OS list within test matrix...
<crystal-gh> crystal/master da47a0a Ary Borenszweig: Merge pull request #1301 from luislavena/explicit-travis-ci...
<dyulax> is there any way I can both EXTEND and INCLUDE the same Module? http://carc.in/#/r/d1u
<BlaXpirit> maybe this is what "extend self" is for
<BlaXpirit> i have no idea
<jhass> dyulax: if you include a module, its class methods will get added as class methods iirc
<jhass> >> module Foo; def self.foo; :class; end; def foo; :instance; end; class Bar; include Foo; end; {Bar.foo, Bar.new.foo}
<DeBot> jhass: Syntax error in eval:13: expecting identifier 'end', not 'EOF' - http://carc.in/#/r/d1v
<jhass> meh
<jhass> >> module Foo; def self.foo; :class; end; def foo; :instance; end; class Bar; include Foo; end; end; {Bar.foo, Bar.new.foo}
<DeBot> jhass: Error in line 4: undefined constant Bar - http://carc.in/#/r/d1w
<jhass> sorry
<jhass> >> module Foo; def self.foo; :class; end; def foo; :instance; end; end; class Bar; include Foo; end; end; {Bar.foo, Bar.new.foo}
<DeBot> jhass: Syntax error in eval:9: expecting token 'EOF', not 'rescue' - http://carc.in/#/r/d1x
<jhass> okay, I give up
<jhass> >> module Foo; def self.foo; :class; end; def foo; :instance; end; end; class Bar; include Foo; end; {Bar.foo, Bar.new.foo}
<DeBot> jhass: Error in line 4: undefined method 'foo' for Bar:Class - http://carc.in/#/r/d1y
<jhass> okay, I'm wrong
<BlaXpirit> jhass, hey, a long time ago you suggested the included hook
<jhass> yeah, was about to do it again :D
<dyulax> undefined method 'foo' for Bar:Class
<jhass> dyulax: however what you can do is do the Ruby (some say anti-) pattern of extending another module via the included hook
<dyulax> yeah, they use it a lot in Rails source code
<dyulax> thank you guys
<travis-ci> manastech/crystal#911e9c1 (master - Merge pull request #1300 from technorama/f/exception_print): The build passed. https://travis-ci.org/manastech/crystal/builds/77675883
<BlaXpirit> i still have no idea how modules work
<BlaXpirit> and why they don't work the same as this macro included trick
<jhass> BlaXpirit: there's probably some semantics left to be clearly defined I guess, I can explain you the ruby semantics if you want
waj has joined #crystal-lang
<BlaXpirit> eh, there is probably plenty of info about ruby
<crystal-gh> [crystal] asterite pushed 4 new commits to master: http://git.io/vGqdZ
<crystal-gh> crystal/master f809641 Guilherme Bernal: Fix #1302: File#tell: SEEK_CUR is a local constant
<crystal-gh> crystal/master b2a93ae Guilherme Bernal: File#tell should take into account the buffer
<crystal-gh> crystal/master 84a9a95 Guilherme Bernal: File#seek should drop the read buffer. Fix #1306
<travis-ci> manastech/crystal#da47a0a (master - Merge pull request #1301 from luislavena/explicit-travis-ci): The build passed. https://travis-ci.org/manastech/crystal/builds/77675971
kyrylo has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<travis-ci> manastech/crystal#061005e (master - Merge pull request #1303 from lbguilherme/patch-1): The build passed. https://travis-ci.org/manastech/crystal/builds/77677742
waj has quit [Remote host closed the connection]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vGmkL
<crystal-gh> crystal/master 6cf0ebc Ary Borenszweig: OffT is SSizeT, not SizeT. Added error checks to FileDescriptorIO's seek and tell, and change seek argument to be an enum
Ven has joined #crystal-lang
havenwood has joined #crystal-lang
<travis-ci> manastech/crystal#6cf0ebc (master - OffT is SSizeT, not SizeT. Added error checks to FileDescriptorIO's seek and tell, and change seek argument to be an enum): The build passed. https://travis-ci.org/manastech/crystal/builds/77682133
zamith_ has quit [Ping timeout: 265 seconds]
<crystal-gh> [crystal] asterite pushed 4 new commits to master: http://git.io/vGm3Z
<crystal-gh> crystal/master a2cbe8c Sho Kusano: Improve doc design
<crystal-gh> crystal/master 8d6f4a4 Sho Kusano: Implement search box
<crystal-gh> crystal/master ed731b9 Sho Kusano: Add README into sidebar
zamith_ has joined #crystal-lang
<crystal-gh> [crystal] solisoft opened pull request #1310: Bcrypt spec (master...master) http://git.io/vGmZv
<travis-ci> manastech/crystal#528cdb5 (master - Merge pull request #1305 from rosylilly/new-doc-design): The build passed. https://travis-ci.org/manastech/crystal/builds/77684671
waj has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crystal-gh> [crystal] asterite pushed 3 new commits to master: http://git.io/vGm7t
<crystal-gh> crystal/master 8f6ff7b Ary Borenszweig: Docs: remove type permalink. Related to #1305
<crystal-gh> crystal/master c98c971 Ary Borenszweig: Fixed: responds_to? didn't work well with modules
<crystal-gh> crystal/master 7c72b83 Ary Borenszweig: Fixed #1308: correctly parse `is_a?` and `responds_to?` without a receiver.
Ven has joined #crystal-lang
dylanmei has joined #crystal-lang
<travis-ci> manastech/crystal#7c72b83 (master - Fixed #1308: correctly parse `is_a?` and `responds_to?` without a receiver.): The build passed. https://travis-ci.org/manastech/crystal/builds/77697688
<crystal-gh> [crystal] sferik opened pull request #1313: Fix Bcrypt Int32 overflow (master...fix-bcrypt-int32-overflow) http://git.io/vGmjk
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<travis-ci> kidaa/crystal-2#638cff8 (master - Merge remote-tracking branch 'manastech/master'): The build has errored. https://travis-ci.org/kidaa/crystal-2/builds/77700520
dylanmei has quit [Quit: ZZZzzz…]
<jhass> god, I hate C #define MAP_FAILED ((void *) -1)
shadeslayer has quit [Ping timeout: 252 seconds]
<jhass> void* == uint, right?
shadeslayer has joined #crystal-lang
<BlaXpirit> jhass, well not really
<BlaXpirit> since it's a pointer it's SizeT
<jhass> ah, that works too I guess
<jhass> >> (LibC::SizeT.cast(0)-1).to_s(16)
<DeBot> jhass: # => "ffffffff" - http://carc.in/#/r/d2b
<jhass> looks about right
<BlaXpirit> o.o
<BlaXpirit> LibC::SizeT.cast(-1)
<BlaXpirit> >> LibC::SizeT.cast(-1)
<DeBot> BlaXpirit: # => 4294967295 - http://carc.in/#/r/d2c
<BlaXpirit> same thing
<jhass> mmh
<jhass> any idea why the C devs did void * -1 though?
<jhass> to make extra sure to hit the right type?
<BlaXpirit> jhass, maybe to pass it to something that accepts a pointer
<BlaXpirit> but this is a magic constant
<BlaXpirit> presumably/theoretically nothing can be at that address
dylanmei has joined #crystal-lang
<BlaXpirit> no idea otherwise. unless maybe i see source code
<jhass> MAP_FAILED = Pointer(Void).new(SizeT.cast(-1)) good enough I guess
<jhass> BlaXpirit: locate sys/mman.h
Ven has joined #crystal-lang
<BlaXpirit> yeah, i guessed it right
Ven has quit [Client Quit]
<BlaXpirit> function returns pointers but also needs to return an error value
sferik has joined #crystal-lang
<sferik> hi all
<jhass> hey, how's it going?
<sferik> jhass: fine, thanks for asking. how are you?
<jhass> fine, fine
<sferik> I've opened https://github.com/manastech/crystal/pull/1313 to address a security issue in the Bcrypt standard library
<sferik> this also made me wonder if there's a better way to responsibly disclose critical security issues in Crystal
<sferik> for example, Rails has this procedure for disclosing security issues: http://rubyonrails.org/security/
<jhass> asterite and waj have mail addresses on the GH profiles, I'd hit those for now
<jhass> I don't think it's something we need to ultimately address before 1.0 :)
dylanmei has quit [Quit: ZZZzzz…]
<sferik> jhass: thanks…I hope no one running Crystal in production is affected by this issue
dylanmei has joined #crystal-lang
<sferik> jhass: but just to be safe, I think this patch should be merged and released as soon as possible
<jhass> well, not on me ;)
<sferik> jhass: because it is now public, so people may be vulnerable
<sferik> asterite, waj: ^^
<jhass> you heard of anybody using Crystal in a place where it would matter though?
<sferik> jhass: no…but the point is we have no idea
<sferik> jhass: people using Crystal in high-security settings are more likely to be silent about their use
dylanmei has quit [Quit: ZZZzzz…]
<crystal-gh> [crystal] jhass opened pull request #1314: Raise Errno when failing to allocate a new fiber stack (master...fiber_allocate_error) http://git.io/vGYu0
wanderer_ has joined #crystal-lang
shama has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vGYgI
<crystal-gh> crystal/master 166eddd Ary Borenszweig: Fixed #1289: URI.parse failures with URL encoded characters in pathname
<travis-ci> manastech/crystal#166eddd (master - Fixed #1289: URI.parse failures with URL encoded characters in pathname): The build passed. https://travis-ci.org/manastech/crystal/builds/77710043
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #crystal-lang
<waj> sferik: you changed your PR too quickly :(
<waj> doesn't the result of bcrypt changes with the cost?
<sferik> waj: I don’t believe so
<sferik> waj: I mean, of course the result changes
<sferik> waj: but Bcrypt.verify should work, regardless of the cost
<sferik> waj: I need to go offline for a few hours
<waj> yes, but I was wondering if we can add spec to test bcrypt with max cost
<sferik> waj: but I’ve updated the pull request to use UInt32 to minimize the diff and expedite the merge
<sferik> waj: that would be very slow
<sferik> waj: the spec would take weeks to finish running
<waj> mm... true
<waj> hehe... got it
<waj> so, that makes very unlikely that someone is using max cost in production :)
<waj> or at least we have some weeks to make a new release :D
<sferik> waj: yes, that’s probably true
<sferik> waj: but no way to know for sure
<sferik> waj: and I prefer to be paranoid with stuff like this
dylanmei has joined #crystal-lang
<sferik> waj: but the release schedule is up to you
<sferik> waj: I just want you to understand the risk
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<waj> yes, I totally understand
<jhass> (he quit)
<waj> and once we reach a stable level I want to be the first to take these things very seriously
<jhass> waj: shout out if you want a keybase invite for some more ways to prove your PGP key then ;)
leafybasil has quit [Remote host closed the connection]
qard has joined #crystal-lang
orliesaurus has left #crystal-lang [":'<"]
<waj> This keybase? https://keybase.io/
<jhass> yeah
<waj> I didn't know about it. Looks nice.
<waj> jhass: Yeah, I'll appreciate an invite :)
<jhass> to the GH email?
<waj> yes
<jhass> on its way ;)
<waj> it looks like someone finally did the right thing to make GPG usable
blue_deref has quit [Quit: Taking myself out of hear.]
<waj> Got it, thanks!
<jhass> more interestingly they got like 10$ USD venture capital
<jhass> er, million
<jhass> I'm not sure I like entirely replacing the WoT, but there's no reason it shouldn't corporate, adding more validation vectors
<jhass> Also DNSSEC with validated PKA lookups
<jhass> er, with DNSSEC validated
<miah> i'd rather avoid keybase and just put my stuff on keyservers
<miah> especially wont store my private key with them
<jhass> I just do all of the above ;)
<jhass> well, sure not, there's no requirement to that
<miah> ya
<miah> good set of gpg tips. mine is totally expired right now =)
<jhass> I do like associating keys with better/easier to validate identities though
<jhass> people have shown that it's fairly easy to setup a keyserver that replicates the current state with fake keys
<jhass> DNS poison the victim with such and you have a MITM
DeBot has quit [Ping timeout: 250 seconds]
<crystal-gh> [crystal] lbguilherme opened pull request #1315: HTTP::Response should handle a body without content-length (master...httpresp) http://git.io/vGYSF
<miah> indeed
<dyulax> is there any way to generate test coverage reports?
<BlaXpirit> dyulax, probably not made yet
Dreamer3 has quit [Quit: Leaving...]
<dyulax> subscribed to it... will keep an eye on it
Dreamer3 has joined #crystal-lang
zamith_ has quit [Ping timeout: 240 seconds]
<dyulax> ok guys, that's what I have been doing today: https://github.com/alanwillms/active_model.cr
<dyulax> i will be glad if someone can take a look and share one's thoughts
<jhass> interesting
<dyulax> I am new to crystal and compiled languages, so i am doing my best and trying to learn while I do
<dyulax> ;-)
<jhass> mmh, not sure about the last roadmap point, the rails community is phasing the usage of those out
<dyulax> didn't know... i will consider that
leafybasil has joined #crystal-lang
<jhass> validate could probably be written with two nested all?'s
<asterite> BlaXpirit: I'm curious why you think the IO hierarchy is weird
<BlaXpirit> asterite, eh with duck typing i don't really care
<BlaXpirit> i just wish StringIO (and possibly others) could behave like a file
<BlaXpirit> i.. have `size`, `tell`, `seek` and whatnot
<BlaXpirit> ^i.e.
<asterite> Oh, that. Yes, we can probably do that, it's just missing those methods. In fact it would be good to have those because StringIO could be a perfect mock for tests
* [spoiler] sends out kisses for ditching Nil#to_i
<BlaXpirit> asterite, should i do a pull request?
<asterite> spoiler: lol. I didn't think someone would like that change
<BlaXpirit> i think it is not much work at all
<asterite> BlaXpirit: of course! Sounds like fun (I was about to start doing it), and it's also very testeable
<BlaXpirit> asterite, if u were about to start doing it then go ahead
<BlaXpirit> i'm not in the mood for writing tests
<BlaXpirit> :/
<asterite> lol
<BlaXpirit> i never am :/
<asterite> then how will you know it works?
<asterite> dyulax: note that `@@validators ||= {} of Symbol => Array` doesn't compile anymore, you can't have a Hash of all Arrays in the world
<asterite> you can probably do Array(Validator) and make Validator a module, for example, or a base abstract class
<dyulax> thank you asterite
<dyulax> didn't notice that
<dyulax> is there a way to create an alias to "ActiveModel::Validators::PresenceValidator" so I don't have to put this entire path everytime I use it in the same module?
<dyulax> *ActiveModel::Validators::AbstractValidator
<dyulax> i will refactor it a lot before releasing the first version :P
<jhass> constant lookup should start from the module/class you're in, just like in Ruby
<jhass> (well, almost, there's no Module.nesting but nobody knows about it anyway)
luislavena has joined #crystal-lang
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
luislavena has quit [Remote host closed the connection]
Ven has joined #crystal-lang
wanderer_ has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] jhass opened pull request #1316: Make a BufferedChannel spec more resistant (master...stalled_builds) http://git.io/vGOg2
<crystal-gh> [crystal] asterite pushed 5 new commits to master: http://git.io/vGOwE
<crystal-gh> crystal/master 294d1e6 Ary Borenszweig: Fix Exception#inspect_with_backtrace: missing newlines. Related to #1300
<crystal-gh> crystal/master ff1b9bb Ary Borenszweig: Parser: missing call location
<crystal-gh> crystal/master 69eba87 Ary Borenszweig: Unify IO specs in a single file
<asterite> BlaXpirit: there you go :-)
<BlaXpirit> :)
<asterite> Finally StringIO feels like a proper citizen in the language, types without docs feel... out of place
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vGOyW
<crystal-gh> crystal/master ef5f878 Ary Borenszweig: Fixed: wrong doc attached to enum type
<travis-ci> manastech/crystal#5207425 (master - Move `tell` and `seek` from FileDescriptorIO to File. Added `File#pos` and `File#pos=`.): The build has errored. https://travis-ci.org/manastech/crystal/builds/77733112
luislavena has joined #crystal-lang
luislavena has quit [Ping timeout: 244 seconds]
wanderer_ has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zamith_ has joined #crystal-lang
luislavena has joined #crystal-lang
dylanmei has quit [Quit: ZZZzzz…]
DeBot has joined #crystal-lang
Excureo has joined #crystal-lang
kumpelblase2 has joined #crystal-lang
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vG3u9
<crystal-gh> crystal/master 1ae8430 Juan Wajnerman: Reimplemented Channel.select to support `send` and `receive`. Related with #688.
BlaXpirit has quit [Quit: Konversation]
<travis-ci> manastech/crystal#1ae8430 (master - Reimplemented Channel.select to support `send` and `receive`. Related with #688.): The build passed. https://travis-ci.org/manastech/crystal/builds/77753304
<crystal-gh> [crystal] jhass closed pull request #999: Channel.select accepts an array of channels too (master...channel_select) http://git.io/vmXXZ
NeverDie has joined #crystal-lang
wanderer_ has quit [Ping timeout: 246 seconds]
trapped has quit [Read error: Connection reset by peer]
trapped has joined #crystal-lang
orliesaurus has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
trapped has joined #crystal-lang
luislavena has quit []
shevy has joined #crystal-lang
waj has quit [Remote host closed the connection]
<shevy> tada \o/
<shevy> this time I am not going to ask why there is the -lang part of the channel :)
<jhass> only next time again, gotcha
<shevy> may well happen but I guess I may eventually adapt
<shevy> just wait until you are +15 years old jhass!
<jhass> I wish I could
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
<jhass> so, how's your crystal going?
<shevy> dunno yet, I have this weekend... I first have to do some other things, one is to read some boring biochemistry stuff ... then I'll resume past the hello world stage
zamith_ has quit [Quit: Be back later ...]
zamith_ has joined #crystal-lang
dylanmei has joined #crystal-lang
dyulax has quit [Quit: Saindo]
tatey_ has joined #crystal-lang
tatey_ has quit [Client Quit]
tatey_ has joined #crystal-lang
dyulax has joined #crystal-lang
dyulax93 has joined #crystal-lang
zamith_ has quit [Quit: Be back later ...]
dyulax93 has quit [Client Quit]
dyulax has quit [Client Quit]
dyulax has joined #crystal-lang
zamith_ has joined #crystal-lang
havenwood has joined #crystal-lang
dylanmei has quit [Quit: ZZZzzz…]
dylanmei has joined #crystal-lang