<strcmp1>
she seems to be rude and dismissive but i dont get it cos i dont speak german :(
<jhass>
well heute show is a bit notorious of cutting stuff in a way that doesn't properly retain context
<strcmp1>
could be but the way she says 'oh ja' seems really rude
<jhass>
note it's shut really short, to the point that some intonation could've been cut away
<jhass>
*cut
<strcmp1>
alright but what is she replying to? i mean what was his question/statement?
<jhass>
well, first of all it was at least two answers to different people
<jhass>
none of them included the questions
<jhass>
first part something about "and did you already submit a lawsuit?"
<strcmp1>
but the blonde guy says something, and she replies 'oh ja'
<jhass>
and to him "did you already seek for an apprenticeship? / What would you be interested in?"
<jhass>
he answers with (landscape) gardening
<strcmp1>
ok thanks :) her response is kinda weird then
<jhass>
and yes the answer could be interpreted as a non gallant "that's what you look like"
<jhass>
but again it's cut in a way that you can't be sure it was even as reaction to his answer if you're honest
<strcmp1>
yeah that's possible but then again merkel could just be an ass :P
<jhass>
her main skill is to not show any personality ... ;)
<strcmp1>
yeah she's a tough cookie
<crystal-gh>
[crystal] davydovanton opened pull request #1007: Add documentation about JSON serialization and deserialization (master...doc-json) http://git.io/vm9fI
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/vm9fE
<crystal-gh>
crystal/master 80fabdd Ary Borenszweig: Fixed #1006: mangle strings/symbols in LLVM IR in way that they don't conflict with external funs.
<crystal-gh>
[crystal] asterite pushed 3 new commits to master: http://git.io/vm9TB
<crystal-gh>
crystal/master 8bc8403 TSUYUSATO Kitsune: Add spec for ordered list
<crystal-gh>
crystal/master 995f0db TSUYUSATO Kitsune: Add ordered list parser and renderer
<travis-ci>
manastech/crystal#80fabdd (master - Fixed #1006: mangle strings/symbols in LLVM IR in way that they don't conflict with external funs.): The build passed. https://travis-ci.org/manastech/crystal/builds/71646164
asterite has joined #crystal-lang
<asterite>
vifino: I originally started the few rosseta code samples. The main problem is that it takes time and manpower to do it, so that's basically the explanation of why there aren't many :-)
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/vm9u2
<crystal-gh>
crystal/master f4fbafa Ary Borenszweig: On "undefined method ...", show compile-time type if the receiver's type is different than the type that's missing the method. Related to #1008. Related to #982.
<travis-ci>
manastech/crystal#f4fbafa (master - On "undefined method ...", show compile-time type if the receiver's type is different than the type that's missing the method. Related to #1008. Related to #982.): The build passed. https://travis-ci.org/manastech/crystal/builds/71654397
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kulelu88 has joined #crystal-lang
<vegai>
that's interesting
<vegai>
in an amethyst controller, I have this:
<vegai>
puts "foo".class
<vegai>
puts request.body.class
<vegai>
both output "String"
<vegai>
but somehow if I try to do json "foo" that works, but json request.body gives me a type error
<kulelu88>
vegai: what is the type error?
<vegai>
in ./src/api.cr:22: no overload matches 'ItemsController#json' with types String?
<vegai>
Overloads are: - ItemsController#json(body : String, status = 200)
<vegai>
I see that I can force it to work by doing "json request.body.to_s"
<vegai>
just wondering why I need to convert a String into a String before it's ok :)
<vegai>
I suppose request.body isn't a string, but what then
<vegai>
and why does its class method say it is
<kulelu88>
could be an error in the docs/compiler.
<vegai>
ok
<vegai>
another interesting point is where I parse my input as json, which gives me a Hash(String, JSON::Type)
<vegai>
but trying to use that hash via j["foo"] gives me a type error "undefined method '[]' for Int64"
<vegai>
this is all on crystal-0.7.4 btw -- perhaps I oughta try the latest master too?
<vegai>
but no more of this today, possibly tomorrow
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<zipR4ND>
hey is there a way to save variables during macro evaluation? i create a bunch of getters via a class macro and would like to define a method later to give me an array of all the defined getters values
<jhass>
no, but you could for example just do something like DEFINED_GETTERS << :{{name.id}}
<zipR4ND>
oh, already thought of using constants .. thanks, i try
havenwood has joined #crystal-lang
NeverDie has quit [Read error: Connection reset by peer]
NeverDie has joined #crystal-lang
<vegai>
jhass: yeah, I did notice the ? there, but didn't quite know what it meant
<vegai>
thanks
<Kilo`byte>
what good web templating languages for crystal are there?