jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.9.1 | 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
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 246 seconds]
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 252 seconds]
ozra has quit [Ping timeout: 246 seconds]
Cidan is now known as zz_Cidan
nakilon has quit [Ping timeout: 250 seconds]
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 255 seconds]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
<CompanionCube> grr. I want to update my version of Crystal but I don't have the RAM to compile it ._.
<jhass> you're on arch, no?
<CompanionCube> yes
<jhass> so crystal-git?
<jhass> or local dev repo?
<CompanionCube> yeah, but I always run out of memory when compiling
<jhass> so yes to the latter?
<CompanionCube> actually, I should be going now
fowlduck has joined #crystal-lang
zz_Cidan is now known as Cidan
fowlduck has quit [Ping timeout: 240 seconds]
Cidan is now known as zz_Cidan
blue_deref has quit [Ping timeout: 265 seconds]
CraigBuchek has joined #crystal-lang
cyjimmy264_ is now known as cyjimmy264
blue_deref has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 240 seconds]
McDougal has joined #crystal-lang
leafybas_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
nakilon has joined #crystal-lang
leafybas_ has quit [Ping timeout: 244 seconds]
McDougal has quit [Quit: Textual IRC Client: www.textualapp.com]
nakilon has quit [Ping timeout: 252 seconds]
fowlduck has joined #crystal-lang
Raimondi has quit [Ping timeout: 265 seconds]
fowlduck has quit [Ping timeout: 240 seconds]
Raimondi has joined #crystal-lang
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 260 seconds]
blue_deref has quit [Quit: bbn]
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 272 seconds]
nakilon has joined #crystal-lang
pawnbox has joined #crystal-lang
nakilon has quit [Ping timeout: 246 seconds]
CraigBuchek has joined #crystal-lang
CraigBuchek 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]
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 250 seconds]
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]
BlaXpirit has joined #crystal-lang
trapped has joined #crystal-lang
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
bam has joined #crystal-lang
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
sardaukar has joined #crystal-lang
trajing has joined #crystal-lang
bam is now known as alsm
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
<alsm> So require, it add a file to the current scope and it's file level based? So if I write a library blah which has blah.cr but I want to break up the contents of that library into smaller parts, blah-a.cr and blah-b.cr. blah.cr would require blah-a and blah-b, and something else could just require blah and it'd all work?
leafybas_ has joined #crystal-lang
leafybas_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
nakilon has joined #crystal-lang
<BlaXpirit> alsm, it would work but not exactly how you think
<BlaXpirit> sec
<BlaXpirit> and blah-b can't just be a continuation of blah-a
<BlaXpirit> `require` doesn't simply paste the contents
nakilon has quit [Ping timeout: 240 seconds]
<alsm> thanks, so blah-a and blah-b could be non dependent classes/struct/methods
<alsm> and include adds the exported parts of a module to the namespace of the current scope?
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
noumar has joined #crystal-lang
matp has quit [Quit: Textual IRC Client: www.textualapp.com]
noumar has quit [Ping timeout: 246 seconds]
matp has joined #crystal-lang
pawnbox has joined #crystal-lang
leafybas_ has quit [Read error: Connection reset by peer]
leafybas_ has joined #crystal-lang
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 265 seconds]
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
<jhass> alsm: the common structure is to give each class/struct its own file and require the file files of the classes/structs referenced at the top
<jhass> MyLib::Foo -> src/mylib/foo.cr
<jhass> er, my_lib rather
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
xdougx has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 265 seconds]
<xdougx> jhass: when i send a http request with a file, the file becomes an tempfile?
<jhass> no idea what you're doing exactly, but I don't think so
<xdougx> i have a crystal http server, so when I receive an post request with an file, the file in the params becomes an Tempfile or File?
blue_deref has joined #crystal-lang
<jhass> I'm not sure we have any handling for that yet
<jhass> you probably just the the urlencoded body
<jhass> yep, don't see any code that would turn it into a file handle
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
<xdougx> understood, i'm going to check it now
DeBot has quit [Ping timeout: 246 seconds]
Dreamer3 has quit [Max SendQ exceeded]
shadeslayer has quit [Ping timeout: 255 seconds]
bmcginty has quit [Ping timeout: 250 seconds]
bmcginty has joined #crystal-lang
shadeslayer has joined #crystal-lang
Dreamer3 has joined #crystal-lang
pawnbox has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 265 seconds]
jwaldrip has joined #crystal-lang
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
<alsm> jhass: thanks.
NeverDie has quit [Quit: http://radiux.io/]
<alsm> Something else, I've defined a struct that inherits from another struct, when I build it's complaining that the inheriting struct "is not a struct, it's a generic class", is there some problem with structs inheriting?
<alsm> name collision, doh
test has joined #crystal-lang
<test> hi all
test is now known as Guest60223
Guest60223 has quit [Client Quit]
Seraum has joined #crystal-lang
<Seraum> hi
<xdougx> hi
<Seraum> I like Crystal project, and I want to move a nodeJS/JX project to Crystal
<Seraum> Somebody has a Roadmap for Crystal ?
<jhass> ?roadmap
<jhass> huh
<Seraum> future of language, module ...
DeBot has joined #crystal-lang
<jhass> ?roadmap
<DeBot> You can find the roadmap at https://github.com/manastech/crystal/wiki/Roadmap
<Seraum> thx
fowlduck has joined #crystal-lang
NeverDie has joined #crystal-lang
fowlduck has quit [Ping timeout: 264 seconds]
<xdougx> jhass: there's a way to force a type cast, im using `as` to cast my json but it keeps retuning (Nil | String | Int64 | Float64 | Bool | Hash(String, JSON::Type) | Array(JSON::Type))
<jhass> xdougx: I have to guess without any context
<jhass> xdougx: only local variables reduce, instance variables don't
<xdougx> jhass: http://carc.in/#/r/lyu
NeverDie has quit [Quit: http://radiux.io/]
<xdougx> jhass: in the path has a file with json like: [{"foo": "bar"}, {"boo": "far"}]
<jhass> xdougx: http://carc.in/#/r/lyw
CraigBuchek has joined #crystal-lang
NeverDie has joined #crystal-lang
NeverDie has quit [Client Quit]
CraigBuchek has quit [Ping timeout: 244 seconds]
NeverDie has joined #crystal-lang
<xdougx> jhass: was needed to change method signature to def sheet(path) : Type to has no problemans
<alsm> json parsing accepts extra fields than defined for a struct, is there anyway to set it to ignore missing fields rather than throwing an exception?
<alsm> by which I mean I've defined a field, but that field may not exist in the json I'm parsing
<jhass> alsm: foo: {type: Foo, nilable: true}
<alsm> ahh, I misunderstood what nilable meant, thanks.
NeverDie has quit [Max SendQ exceeded]
badeball_ has joined #crystal-lang
rvchangue_ has joined #crystal-lang
NeverDie has joined #crystal-lang
Keziolio_ has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
elia has quit [Quit: (IRC Client: textualapp.com)]
NeverDie has joined #crystal-lang
danzilio_ has joined #crystal-lang
A124 has quit [*.net *.split]
danzilio has quit [*.net *.split]
_jungh4ns has quit [*.net *.split]
Keziolio has quit [*.net *.split]
badeball has quit [*.net *.split]
rvchangue has quit [*.net *.split]
rvchangue_ is now known as rvchangue
Keziolio_ is now known as Keziolio
danzilio_ is now known as danzilio
_junghans_ has joined #crystal-lang
BlaXpirit has quit [Remote host closed the connection]
BlaXpirit has joined #crystal-lang
<crystal-gh> [crystal] MakeNowJust opened pull request #1871: Improve #1859, add binary searching methods (master...feature/bsearch) http://git.io/v8U5V
_junghans_ is now known as _jungh4ns
alsm has quit [Ping timeout: 240 seconds]
leafyba__ has joined #crystal-lang
A124 has joined #crystal-lang
CraigBuchek has joined #crystal-lang
leafybas_ has quit [Ping timeout: 265 seconds]
fowlduck has joined #crystal-lang
leafyba__ has quit [Ping timeout: 272 seconds]
CraigBuchek has quit [Ping timeout: 244 seconds]
fowlduck has quit [Ping timeout: 260 seconds]
Excureo has joined #crystal-lang
shama has joined #crystal-lang
Seraum has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
CraigBuchek has joined #crystal-lang
Excureo has quit [Remote host closed the connection]
Excureo has joined #crystal-lang
fowlduck has joined #crystal-lang
NeverDie has quit [Ping timeout: 240 seconds]
NeverDie has joined #crystal-lang
jwaldrip has quit [Quit: Be back later ...]
jwaldrip has joined #crystal-lang
jwaldrip_ has joined #crystal-lang
jwaldrip_ has quit [Remote host closed the connection]
jwaldrip has quit [Ping timeout: 240 seconds]
xdougx has quit []
NeverDie has quit [Quit: http://radiux.io/]
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
Raimondi has joined #crystal-lang
irclogger_______ has quit [Ping timeout: 272 seconds]
irclogger_______ has joined #crystal-lang
Raimondi has quit [Read error: No route to host]
cyjimmy264_ has joined #crystal-lang
cyjimmy264 has quit [Ping timeout: 265 seconds]
CraigBuchek has quit [Ping timeout: 244 seconds]
cyjimmy264_ has quit [Ping timeout: 255 seconds]
fowlduck has quit [Read error: Connection reset by peer]
fowlduck has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
NeverDie has joined #crystal-lang
me has joined #crystal-lang
me is now known as Guest24560
BlaXpirit|m has joined #crystal-lang
shama has quit [Ping timeout: 240 seconds]
<crystal-gh> [crystal] davydovanton opened pull request #1872: Fix typo in raise message in OpenSSL::create_evp_mt_ctx (master...doc-openssl-typo) http://git.io/v8kZn
shama has joined #crystal-lang
BlaXpirit|m has quit [Quit: AndChat]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/v8k4s
<crystal-gh> crystal/master 418c07d Ary Borenszweig: Merge pull request #1872 from davydovanton/doc-openssl-typo...
<crystal-gh> crystal/master 4dc2560 Anton Davydov: Fix typo in raise message in OpenSSL::create_evp_mt_ctx [skip ci]
<travis-ci> manastech/crystal#418c07d (master - Merge pull request #1872 from davydovanton/doc-openssl-typo): The build passed. https://travis-ci.org/manastech/crystal/builds/89520003
<DeBot> https://github.com/manastech/crystal/pull/1872 (Fix typo in raise message in OpenSSL::create_evp_mt_ctx)
Guest24560 has quit [Remote host closed the connection]
NeverDie has quit [Quit: http://radiux.io/]
NeverDie has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
Raimondi has joined #crystal-lang
cyjimmy264 has joined #crystal-lang
me has joined #crystal-lang
me is now known as Guest77957
Guest77957 has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
fowlduck_ has joined #crystal-lang
danzilio has quit [Ping timeout: 240 seconds]
shama_ has joined #crystal-lang
shama has quit [Ping timeout: 240 seconds]
elia has joined #crystal-lang
fowlduck has quit [Ping timeout: 240 seconds]
danzilio has joined #crystal-lang
shama_ has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
shama has joined #crystal-lang
Dreamer3 has quit [Quit: Leaving...]
Dreamer3 has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
BlaXpirit|m has joined #crystal-lang
A124 has quit [Ping timeout: 268 seconds]
A124 has joined #crystal-lang
A124 has joined #crystal-lang
A124 has quit [Changing host]
BlaXpirit|m has quit [Quit: AndChat]
trapped has quit [Ping timeout: 250 seconds]
NeverDie has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #crystal-lang
A124 has quit [*.net *.split]