jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.9.0 | 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
rmosolgo has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
NeverDie has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
blue_deref has quit [Quit: Taking myself out of hear.]
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
rmosolgo has joined #crystal-lang
konflikt has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
konflikt has quit [Client Quit]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Ping timeout: 240 seconds]
leafybasil has joined #crystal-lang
<ukd1> I'm trying to convert an array to a hash - ["a", "b", "c", "d"] ---> {"a"=>"b", "c"=>"d"}, I'm failing with Hash.new(*some_array). Any help would be great!
leafybasil has quit [Ping timeout: 255 seconds]
NeverDie has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
rmosolgo has joined #crystal-lang
Philpax has joined #crystal-lang
leafybasil has joined #crystal-lang
Philpax has quit [Quit: Leaving]
bcardiff has joined #crystal-lang
leafybasil has quit [Ping timeout: 268 seconds]
bcardiff has quit [Quit: bcardiff]
pawnbox has joined #crystal-lang
xd1le has joined #crystal-lang
canhtak has joined #crystal-lang
unshadow has joined #crystal-lang
BlaXpirit has joined #crystal-lang
canhtak has quit [Quit: canhtak]
unshadow has quit [Quit: leaving]
Ven has joined #crystal-lang
trapped has joined #crystal-lang
Netfeed has left #crystal-lang ["WeeChat 1.0.1"]
reed_ has joined #crystal-lang
leafybasil has joined #crystal-lang
reed_ has quit [Ping timeout: 256 seconds]
leafybasil has quit [Ping timeout: 260 seconds]
nakilon has joined #crystal-lang
gamemanj has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
elia has joined #crystal-lang
trapped has quit [Client Quit]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
ssvb has quit [Ping timeout: 268 seconds]
<crystal-gh> [crystal] adlerhsieh opened pull request #1803: Remove extra curly brackets in documentation (master...add-doc-2) http://git.io/vWZmX
nakilon has quit [Ping timeout: 272 seconds]
globalkeith has joined #crystal-lang
<crystal-gh> [crystal] ysbaddaden closed pull request #1803: Remove extra curly brackets in documentation (master...add-doc-2) http://git.io/vWZmX
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
<travis-ci> manastech/crystal#8276b85 (master - Merge pull request #1803 from adlerhsieh/add-doc-2): The build passed. https://travis-ci.org/manastech/crystal/builds/86786178
<DeBot> https://github.com/manastech/crystal/pull/1803 (Remove extra curly brackets in documentation)
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
gamemanj has quit [Remote host closed the connection]
elia has quit [Quit: (IRC Client: textualapp.com)]
gamemanj has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gamemanj has quit [Ping timeout: 252 seconds]
gamemanj has joined #crystal-lang
Ven has joined #crystal-lang
ssvb has joined #crystal-lang
bam has joined #crystal-lang
<jhass> >> ["a", "b", "c", "d"].each_slice(2).to_h # ukd1
<DeBot> jhass: # => {"a" => "b", "c" => "d"} - http://carc.in/#/r/jtt
benoist has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reed_ has joined #crystal-lang
leafybasil has joined #crystal-lang
unshadow has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
reed_ has quit [Ping timeout: 246 seconds]
unshadow has quit [Quit: leaving]
benoist_ has joined #crystal-lang
<benoist_> jhass: I've figured out what code causes it, but I don't know if separate the code
<jhass> well, as long as you can give us at least something to run
benoist has quit [Ping timeout: 240 seconds]
<benoist_> yeah that's definitely possible, preparing it now :)
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
Ven has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<benoist_> updated
benoist_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
benoist has joined #crystal-lang
pawnbox has quit [Ping timeout: 255 seconds]
elia has joined #crystal-lang
pawnbox has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
ssvb has quit [Ping timeout: 240 seconds]
<xdougx> hello
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xd1le has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
pawnbox has quit [Ping timeout: 246 seconds]
rmosolgo has quit [Ping timeout: 244 seconds]
rmosolgo has joined #crystal-lang
pawnbox has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
rmosolgo has joined #crystal-lang
<xdougx> jhass: is a viable to iterate some object with 1kk rows and in the end of the each set nil to all used vars?
<jhass> 1kk?
<xdougx> a million
<jhass> ah
<xdougx> or its os not needed? to clean up the vars to the next iteration
<jhass> if I get you it shouldn't make a difference
bam has quit [Remote host closed the connection]
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
<xdougx> okay, nice, in ruby i need to do this, or the memory goes to the sky and slow all system
<BlaXpirit> strange that you need to do this in ruby
<BlaXpirit> that might just mean that you need to do this in crystal
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
trapped has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
<xdougx> hahahaha thats why im doing it in crystal, ruby is to slow to do it
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
alanwillms has joined #crystal-lang
<jhass> well that does sound like you have some vars keeping references to the old objects
<jhass> but in a normal loop, you wouldn't
pawnbox has joined #crystal-lang
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
<xdougx> jhass: http://carc.in/#/r/ju1 is something done wrong?
rmosolgo has quit [Read error: Connection reset by peer]
<xdougx> jhass: http://carc.in/#/r/ju2
<jhass> that's expected
<jhass> you got a Hash(String, Int32|String) there
pawnbox has quit [Remote host closed the connection]
<xdougx> no wait
<jhass> so #[] can return Int32|String
<xdougx> i have the same code
pawnbox has joined #crystal-lang
<xdougx> gonna try do the same erro
<xdougx> ohhh
<xdougx> string doesnt have slice(start, end)
<jhass> >> "foo"[1, 2]
<DeBot> jhass: # => "oo" - http://carc.in/#/r/ju4
rmosolgo has joined #crystal-lang
<xdougx> better then slice(range)
bcardiff has joined #crystal-lang
ssvb has joined #crystal-lang
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
<xdougx> jhass: im getting an error in the compile time, but when I test the same code in carc the code works
<jhass> well, it's not the exactly same one I guess
<xdougx> not the exactly code, but is what is being called
rmosolgo has quit [Read error: Connection reset by peer]
<xdougx> this code above run on carc, but not running when i try to compile it
rmosolgo has joined #crystal-lang
<xdougx> thats the error that im getting
<xdougx> in carc in the line 10
vifino has quit [Ping timeout: 246 seconds]
CompanionCube has quit [Ping timeout: 240 seconds]
bcardiff has quit [Quit: bcardiff]
CompanionCube has joined #crystal-lang
CompanionCube has joined #crystal-lang
vifino has joined #crystal-lang
pawnbox has quit [Ping timeout: 255 seconds]
pawnbox has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rmosolgo> in Ruby, I use Guard to watch my project and run tests when files change
<rmosolgo> is there a Crystal equivalent?
<rmosolgo> (so far, I just use Guard :P)
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
pawnbox has quit [Ping timeout: 255 seconds]
bcardiff has joined #crystal-lang
rmosolgo has quit [Read error: Connection reset by peer]
<jhass> xdougx: http://carc.in/#/r/jup
rmosolgo has joined #crystal-lang
<jhass> rmosolgo: you need to get a better connection :P
<rmosolgo> :'(
rmosolgo has quit [Read error: Connection reset by peer]
rmosolgo has joined #crystal-lang
<jhass> rmosolgo: I mean seriously
<jhass> but to answer your question, not that I'm aware of, and I don't see a real need to reimplement guard. In fact I'd consider just writing a guard plugin instead
pawnbox_ has quit [Remote host closed the connection]
<xdougx> jhass: changed everything, going not to use block to work in this case, simplified using methods, its just a script to validation and import, its not an abstraction, its just an case that i have to work
rmosolgo has quit [Read error: Connection reset by peer]
<jhass> xdougx: you do see what I changed though?
<jhass> xdougx: in your real code your hash type is Hash(String, String|Nil)
<xdougx> jhass: yeah, "c": nil, but to not get an nil exception hash.fetch(key).to_s
<jhass> xdougx: meh, I'd prefer not .not_nil!
<jhass> hash[key].not_nil!
<crystal-gh> [crystal] ysbaddaden closed pull request #1787: OpenSSL::Cipher (master...feature/openssl-cipher) http://git.io/vWf48
rmosolgo has joined #crystal-lang
ponga has joined #crystal-lang
<jhass> rmosolgo: please do something about it, other channels would have you temporarily banned by now ;)
<rmosolgo> sure thing,
rmosolgo has quit [Client Quit]
<xdougx> jhass: ¬¬
<xdougx> heheheeh
sm0ke has joined #crystal-lang
<sm0ke> hello, i was going through this http://crystal-lang.org/2013/12/05/garbage-collector.html
pawnbox has joined #crystal-lang
<sm0ke> so if you just plug a bdw-gc what is the cpu and memory footprint it requires
<sm0ke> did crystal see and performance drop after plugging bdw-gc?
<sm0ke> any*
<jhass> it did so from the start
<jhass> like there was no GC before (it's early days there)
<jhass> what do you mean by footprint exactly?
<sm0ke> so whenever you run a crystal compiled program, the gc would spawn a thread counting references coloring objects etc
<sm0ke> that would require some extra mem/cpu?
<jhass> well, iirc bdw-gc is a stop world GC, that is it pauses the entire program during its runs
<jhass> of course there's some memory required for the datastructures tracking malloc calls etc
<jhass> specifics, google, bdw-gc is used in quite a few areas, somebody figured it out I'm sure but I don't have any reference at hand
trapped has joined #crystal-lang
<jhass> https://lists.opendylan.org/pipermail/bdwgc/ there you got 13 years of mailing list archives, happy hunting ;)
Ven has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alanwillms has quit [Quit: Saindo]
bcardiff has quit [Quit: bcardiff]
blassin has joined #crystal-lang
bcardiff has joined #crystal-lang
<blassin> anyone using BlaxPirit's SFML bindings?
<blassin> my drawing surfaces always flicker on Mac OS X :/
<jhass> he's fairly regularly here, stick around
alanwillms has joined #crystal-lang
<crystal-gh> [crystal] benoist closed pull request #1794: Feature/openssl digest (master...feature/openssl-digest) http://git.io/vWtI0
<crystal-gh> [crystal] benoist opened pull request #1806: added OpenSSL::Digest (master...feature/openssl-digest) http://git.io/vWnhF
<jhass> so much for the rebase skills? :P
<benoist> hahaha
<benoist> I said they were ok, not good ;)
benoist has quit [Remote host closed the connection]
alanwillms93 has joined #crystal-lang
Dreamer3_ has joined #crystal-lang
barosl has quit [Read error: Connection reset by peer]
sm0ke has quit [Ping timeout: 252 seconds]
BlaXpirit has joined #crystal-lang
alanwillms has quit [Ping timeout: 250 seconds]
shadeslayer_ has joined #crystal-lang
<blassin> BlaXpirit: hey, kudos on the SFML bindings
<blassin> the docs are great!
<blassin> I do get a lot of flickering on Mac OS if I don't clear the window, though - is that normal?
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tilpner_ has joined #crystal-lang
<BlaXpirit> blassin, hi
jhass|off has joined #crystal-lang
<BlaXpirit> well it's probably not normal
omninonsense has joined #crystal-lang
<BlaXpirit> blassin, make sure you call display() once per iteration and try enabling vertical sync
<blassin> I tried enabling vsync and limiting FPS (not at the same time) and same result
<BlaXpirit> strange
<blassin> it just shows a mix of other windows' contents
<blassin> want me to make a screencast?
<BlaXpirit> really strange
pawnbox has quit [Remote host closed the connection]
<BlaXpirit> blassin, i mean, it is not unexpected that if you never draw in some location that you get garbage
<blassin> just thought you'd like to change the minimal SFML example to include a .clear on the window
<blassin> or else the users might get put off
<BlaXpirit> everywhere i tried the window is just black
jhass has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
buggs has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
tilpner has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
jhass|off is now known as jhass
lokulin has quit [Quit: bye!]
<BlaXpirit> yeah... undefined method 'clear' for SF::Window
<BlaXpirit> gotta use graphics module and i tried to avoid it there (for whatever reason)
barosl has joined #crystal-lang
pawnbox has joined #crystal-lang
<blassin> btw, is using () on methods canonical Crystal?
<blassin> like window.display() instead of window.display ?
<xdougx> benoist: could it be usefull to carbon-crystal? https://github.com/xdougx/selenite/blob/master/src/selenite/controller.cr
mroth has joined #crystal-lang
A124 has quit [Ping timeout: 268 seconds]
<jokke> hi
<jokke> i'm trying out UNIXServer
<jokke> and i'm getting a bad filedescriptor erro
<jokke> r
A124 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<jokke> minimal example: https://p.jreinert.com/1dIxAe/
<jokke> any ideas?
pawnbox has joined #crystal-lang
<jhass> jokke: it's open, not .new
<jokke> oh.. with TCPServer it's new
<jhass> TCPServer should have an open too
A124 has quit [Quit: '']
<jhass> mmh, actually nvm, that doesn't work either
<jhass> maybe it needs an absolute path?
<jokke> already tried
A124 has joined #crystal-lang
<jokke> hmm
<jokke> maybe some arch issue
<jhass> nah, I ran that spec dozens of times by now
<jhass> maybe it fails on .accept when there's no client waiting yet
<jokke> you think so? :/
<jokke> that'd be weird
<jokke> isn't the point of a server that it idles until it get's connections from clients?
<jhass> I'm not saying it shouldn't work
<jhass> jokke: ah, .accept doesn't block the caller
<jhass> so the main fiber exits
<jhass> and blows things up
<jokke> hm :(
<jokke> anything i can do?
<jhass> or not
<jhass> weird, I can't get it to fail in the specs
<jokke> well the specs all accept after a client has opened the socket
<jhass> jokke: actually it works with the HEAD compiler
<jokke> oh!
<jokke> lemme try
<jhass> guess what, the commit I linked actually fixes it and is not in a release :P
<jokke> :D
<mroth> I'm finding the behavior of integer size inference to be a bit confusing, can someone comment on whether this is as intended? https://gist.github.com/mroth/cb845493c92464bed248
bcardiff_ has joined #crystal-lang
bcardiff has quit [Ping timeout: 260 seconds]
bcardiff_ is now known as bcardiff
NeverDie has joined #crystal-lang
<jhass> mroth: that's basically https://github.com/manastech/crystal/issues/567
Ven has joined #crystal-lang
<jhass> that should be fixable in the standard library by providing overloads on the smaller type for the bigger type as parameter, if you want to take a look
<mroth> jhass: gotcha... I somehow didn't find that issue when searching GitHub, thanks
<mroth> as per https://github.com/manastech/crystal/pull/1611#issuecomment-143506095, "spawn will be parallel soon" -- I'm also having trouble locating information related to that happening on the GitHub repo (GitHub search unfortunately leaves a lot to be desired), anyone know where I can look?
<mroth> Apologies for all the newbie questions
<jokke> jhass: i'm trying to ship a crystal bin to a centos box
<jokke> but i'm missing libpcl.so.1
<jokke> any idea where i might get it from?
<jokke> it's not in the centos repo
<jhass> you're asking me something about CentOS? Are you really sure you want to do that?
<jokke> :D
<jhass> I hate CentOS, clear?
<xdougx> ^^^^ LOL
<jokke> jhass: yeah, i understand that :D
<jokke> i just need it for one project
<jokke> i'm doing fpga programming this semester and need a centos nspawn container for this piece of shit software for programming the fpga
edaaa_ has quit [Quit: leaving]
reed_ has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
edaaa_ has joined #crystal-lang
<edaaa_> is there something like ruby's array#pack in crystal?
<jokke> jhass: oh oh...
<jokke> vimctl-client: symbol lookup error: vimctl-client: undefined symbol: GC_get_push_other_roots
<jhass> jokke: ah well, that old friend
<jhass> get a patched libgc?
<jokke> oh god
<jokke> where from? :D
<jhass> probably getting the rpm spec, modifying it to apply the patch and rebuilding it
<jokke> m(
<jhass> alternatively get a static version of libgc and compile against it
<jhass> edaaa_: nope, what do you need exactly?
<jokke> ok that kinda sucks...
<jokke> i guess i need to write this in ruby then :(
<edaaa_> i have an array of bytes and basically i want to transform it into a binary sequence but according to a specification
<edaaa_> jhass, like interpret each byte as an int32
<edaaa_> jhass, i'm totally new to crystal so i guess there is a way to do that with crystal's stdlib
<xdougx> jhass: why i cant cast (Nil | String | Int64 | Float64 | Bool | Hash(String, JSON::Type) | Array(JSON::Type)) into Int64? getting cast to Int64 failed (TypeCastError)
<jhass> xdougx: that's a runtime error, no?
<xdougx> jhass: yes
fowlduck has joined #crystal-lang
<jhass> edaaa_: that's a little vague. Convert each byte to a int32 (so pad with 3 0-bytes?) or interpret create a byte sequence of int32's?
<jhass> (so transform each int32 you have to four bytes and concatenate everything)
<jhass> xdougx: so you don't have an Int64 where you think you have one
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> edaaa_: best you detail a bit of what you exactly have and what you want to do with it
A124 has quit [Quit: '']
<xdougx> jhass: is "1" the value
<jhass> xdougx: that's a string
<xdougx> is that possible to cast into int64?
<jhass> you can't _cast_ a string to a number (in a meaningful way), however you can _convert_
<edaaa_> jhass, yeah, i guess that could work
<jhass> >> "1".to_i64
<DeBot> jhass: # => 1 - http://carc.in/#/r/jvo
fowlduck has quit [Read error: Connection reset by peer]
fowlduck_ has joined #crystal-lang
<xdougx> jhass: has an behavior diferente?
<xdougx> jhass: zero
<jhass> sorry?
<xdougx> jhass: when the value is zero, i don't have this error and i can use as Int64
<jhass> >> "0" as Int64
<DeBot> jhass: can't cast String to Int64 - http://carc.in/#/r/jvp
<jhass> then you don't have the string "0" in that case
trapped has joined #crystal-lang
A124 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<xdougx> jhass: @attrs[attribute] = "0" @attrs[attribute] = "1" when is "0" i can @attrs[attribute] as Int64 otherwise no
<jhass> xdougx: no you can't, you simply misinterpret some observation, sorry
bcardiff_ has joined #crystal-lang
bcardiff has quit [Ping timeout: 246 seconds]
bcardiff_ is now known as bcardiff
benoist has joined #crystal-lang
<jokke> jhass: so cool. wasn't much i had to change to make it runnable with ruby!
blassin has quit [Quit: Page closed]
gamemanj has quit [Read error: Connection reset by peer]
benoist has quit [Remote host closed the connection]
gamemanj has joined #crystal-lang
benoist has joined #crystal-lang
fowlduck_ has quit [Remote host closed the connection]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
buggs has joined #crystal-lang
<xdougx> jhass: which method in Regex to text if is exactly like a = "1122334455".match(/[0-9]{12, 13}/) return false
<xdougx> test*
edin__ has joined #crystal-lang
<jhass> xdougx: anchor your regex, /\A\d{12, 13}\z/
konflikt has joined #crystal-lang
<konflikt> @channel anyone planning/started to port zookeeper and kafka ruby gems into crystal client libs?
<jhass> github search with language:crystal is usually a good indicator
bcardiff has quit [Ping timeout: 244 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vWCG8
<crystal-gh> crystal/master e732fe3 Ary Borenszweig: Fixed a couple of formatter specs
trapped has joined #crystal-lang
canhtak has joined #crystal-lang
leafybas_ has joined #crystal-lang
konflikt has left #crystal-lang [#crystal-lang]
Sadin has joined #crystal-lang
<travis-ci> manastech/crystal#e732fe3 (master - Fixed a couple of formatter specs): The build passed. https://travis-ci.org/manastech/crystal/builds/86878022
leafybasil has quit [Ping timeout: 240 seconds]
leafybas_ has quit [Ping timeout: 268 seconds]
fowlduck has joined #crystal-lang
<xdougx> jhass: abstract classes is fully implemented?
<jhass> well, depends on what you consider a full implementation
<jhass> I prefer to use modules myself where possible
<xdougx> works like java/C# ?
<jhass> I don't know C# and I'm not sure I'd be able to come up with a full & detailed list of features and behavior for Java
<xdougx> i think for what im going to do will work fine
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
<jokke> xdougx: you can't enforce implementation of abstract methods
<jokke> they don't enforce you to return the defined type
<jokke> or the param types
<jhass> well, overloads can still happen and they only get typed when actually called
ponga has quit [Quit: Connection closed for inactivity]
<jhass> though I agree, http://carc.in/#/r/jwd that's a bug
<xdougx> thats a bug +1
<jhass> yeah, that's a bug too
<jhass> >> i_i64.class # btw
<DeBot> jhass: undefined local variable or method 'i_i64' - http://carc.in/#/r/jwi
<jhass> eh
<jhass> >> 1_i64.class # btw
<DeBot> jhass: # => Int64 - http://carc.in/#/r/jwj
<xdougx> >> 1_i64.class
<DeBot> xdougx: # => Int64 - http://carc.in/#/r/jwl
<xdougx> i can workaround those bugs for now
reed_ has quit [Ping timeout: 272 seconds]
<xdougx> exists any implementation of inflection in crystal
<xdougx> ?
<jhass> you mean for i18n or...?
<xdougx> pluralization, but i dont think its necessary
<jhass> doesn't gettext handle inflection too these days? it does pluralization for sure. So I'd look into doing a gettext binding
edin__ has quit [Ping timeout: 240 seconds]
<xdougx> gettext binding, going to search
<jhass> I don't think there's one yet
<jhass> but it might actually be something I'd argue for (eventual) inclusion into stdlib
<xdougx> thats nice
<xdougx> is that possible to add into property macro to add the params into a variable like `attributes` or `properties` to call Foo.new.properties => [a, b, c, d]
<jhass> yes, but I don't think that'll be accepted into stdlib
shama has joined #crystal-lang
benoist has quit [Remote host closed the connection]
<xdougx> going to wrap it in a macro
<xdougx> jhass: http://carc.in/#/r/jx6 something like this
globalkeith has joined #crystal-lang
benoist has joined #crystal-lang
<xdougx> benoist: could it be useful to carbon-crystal? https://github.com/xdougx/selenite/blob/master/src/selenite/controller.cr
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alanwillms93 has quit [Quit: Saindo]
edin__ has joined #crystal-lang
leafybasil has joined #crystal-lang
<crystal-gh> [crystal] hangyas opened pull request #1807: Add Char#+(str : String) (master...char-string-concatenation) http://git.io/vWCNu
edin__ has quit [Remote host closed the connection]
benoist has quit [Remote host closed the connection]
<xdougx> jhass exists %Q(some text #{interpolation}) ?
<xdougx> jhass: exists %Q(some text #{interpolation}) ?
<jhass> >> %(it does it #{"by default"})
<DeBot> jhass: # => "it does it by default" - http://carc.in/#/r/jyv
<xdougx> Program exited because of a segmentation fault (11) wow
<jhass> time to run it through gdb/lldb/valgrind
<jhass> probably a stack overflow
elia has joined #crystal-lang
xdougx has quit [Remote host closed the connection]
xdougx has joined #crystal-lang
xdougx has quit [Ping timeout: 256 seconds]
bcardiff has joined #crystal-lang
nakilon has joined #crystal-lang
Sadin has quit [Ping timeout: 264 seconds]
leafybasil has quit [Read error: Connection reset by peer]
leafybasil has joined #crystal-lang
gamemanj has quit [Ping timeout: 260 seconds]
slash_quit is now known as slash_nick
globalkeith has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #crystal-lang
elia has quit [Client Quit]
me has joined #crystal-lang
me is now known as Guest9476
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
elia has joined #crystal-lang
nakilon has quit [Ping timeout: 256 seconds]
elia has quit [Client Quit]
elia has joined #crystal-lang
Guest9476 is now known as CyphrCorn
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
canhtak has quit [Quit: canhtak]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #crystal-lang
elia has quit [Client Quit]
elia has joined #crystal-lang
elia has quit [Client Quit]
elia has joined #crystal-lang
elia has quit [Client Quit]
elia has joined #crystal-lang
bcardiff has quit [Ping timeout: 252 seconds]
elia has quit [Client Quit]
fowlduck has quit [Remote host closed the connection]
blue_deref has joined #crystal-lang
<RX14> how far away are we from multi-core coroutines now?
<RX14> is threaded IO still borked?
trapped has joined #crystal-lang
edaaa__ has joined #crystal-lang
_whitelogger has joined #crystal-lang
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
xd1le has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]