<crystal-gh>
[crystal] MakeNowJust opened pull request #1152: Fixed to_s for macros AST (master...fix/macro-block-to-s) http://git.io/v3WJp
kostya has joined #crystal-lang
<asterite>
dzv: I'll add StringLiteral#to_i in macros
<BlaXpirit>
great, makes sense
<dbackeus>
asterite: question out of curiosity - how do you feel about the hype level for Crystal at this stage of development, would you rather start pushing it when it's more complete/stable or prefer as many people as possible to get into it right away?
<jhass>
1
<jhass>
uh, sorry
mcgain has quit [Quit: mcgain]
<nopc0de>
Did anyone reply to my msg?
<nopc0de>
I dc'd
<jhass>
last thing that came through from you is <nopc0de> wrong, rather
<dbackeus>
uhm, is there no before/after or setup/teardown in crystal spec?
<nopc0de>
ooh that last one is pretty cool. Just adding a question mark :P
<jhass>
dbackeus: no per describe/context one, no
<dbackeus>
I found before_each in the crystal source, on what level do I use that? top level?
<jhass>
yeah, Spec.before_each { } iirc
<jhass>
it's meant for mocking libraries and such
<dbackeus>
right, thanks
havenwood has joined #crystal-lang
Guest79453 is now known as orliesaurus
luislavena has joined #crystal-lang
<asterite>
dbackeus: the question about the hype, it's hard to answer. Sometimes I think "maybe it would have been better to keep the project secret until it's really stable", but it being open source made it grow much faster, because of the many contributions that everyone is making
<asterite>
You can see this much more clearly using gource (amazing visualization tool)
<asterite>
Luckily for now we haven't received big negative critics, but I know that it's hard to do many things, mainly because the language is incomplete... so maybe I'd like to wait a bit more
<asterite>
And I think most of the hype is "Look, a compiled Ruby!" and most don't dig much further... but those who do found that it's pretty different than a compiled Ruby
<asterite>
We should really make a t-shirt that says "No, it's not compiled Ruby. But thanks for asking"
<asterite>
:-)
<dbackeus>
yeah, a healthy balance is probably right
<asterite>
BlaXpirit: I thought about stringify vs to_s, but stringify puts a node inside a string literal: http://play.crystal-lang.org/#/r/ax4
<BlaXpirit>
asterite, yeah, i probably just don't understand the semantics
<asterite>
Hmm... maybe it's hard to tell from that example...
<BlaXpirit>
but it's not like anyone explained the semantics to me :(
<asterite>
BlaXpirit: oh, I say because I read what you say and asked myself "Hey, why don't we rename to to_s?", but then I rememebered...
blassin has joined #crystal-lang
<blassin>
hey, is anyone able to reach the Bountysource page?
<blassin>
ah, I see there's a new URL - nvrmind
<luislavena>
asterite: any docs/info on how to produce truly static executables? attempt to use -static with --link-flags just results in errors
<asterite>
luislavena: no :(
<asterite>
I think we have the static on the lib declaration, but that's probably wrong
<luislavena>
I know -Wl,-Bstatic doesn't work on OSX, but I saw a few projects using -static in the --link-flags (which actually doesn't work)
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: http://git.io/v3lsF
<crystal-gh>
crystal/master 1a8d8c1 Ary Borenszweig: Renamed `permutation` (no block) to `permutations`. Renamed `permutation` (with block) to `each_permutation`. Optimized both methods.
<crystal-gh>
[crystal] asterite closed pull request #1142: Improve documentation of struct in regards when to use it (gh-pages...clarify-struct-vs-class) http://git.io/v3sgD
<travis-ci>
manastech/crystal#1a8d8c1 (master - Renamed `permutation` (no block) to `permutations`. Renamed `permutation` (with block) to `each_permutation`. Optimized both methods.): The build was broken. https://travis-ci.org/manastech/crystal/builds/75099776
<crystal-gh>
[crystal] asterite pushed 6 new commits to master: http://git.io/v3lE6
luislavena has quit [Remote host closed the connection]
<crystal-gh>
[crystal] will opened pull request #1153: Base64 (master...base64) http://git.io/v38oF
strcmp1 has joined #crystal-lang
luislavena has joined #crystal-lang
zamith has joined #crystal-lang
<crystal-gh>
[crystal] PragTob opened pull request #1154: Rename Enumerable#drop to skip for consistency with Iterator (master...rename-enumerable-drop-to-skip) http://git.io/v34LX
kulelu88 has joined #crystal-lang
elbow_jason has joined #crystal-lang
blue_deref has joined #crystal-lang
<crystal-gh>
[crystal] asterite closed pull request #1154: Rename Enumerable#drop to skip for consistency with Iterator (master...rename-enumerable-drop-to-skip) http://git.io/v34LX
<[spoiler]>
oh and a friend of mine did codeadacemy and asked me to take a look at them, and yeah they were good
<jhass>
I don't like the codestyle codeacademy uses too much
<jhass>
they have things like "#{foo}" in the examples
<[spoiler]>
Huh? Just "#{foo}" or more like "Hello #{foo}, how are you?"
<[spoiler]>
I mean using #{} is common, so I do think they should introduce it
<jhass>
the latter would be fine, no literally "#{var}"
<[spoiler]>
oh, no, that's sad, I overlooked it probably
<[spoiler]>
or didn't think much of it
<[spoiler]>
if I did see it
<jhass>
it's in the later examples, the first few do it proper
<[spoiler]>
Why would they use that though?
<[spoiler]>
It's more common to use #to_s in that case
<jhass>
I have no idea
<[spoiler]>
We should complain!
<[spoiler]>
We're responsible Rubists, innit.
<jhass>
I see that anti pattern regularly in newcomer code and wondered where it came from, codeacademy was a likely candidate so I went through it until I indeed found it there
<jhass>
iirc they also show for
<strcmp1>
jhass, ur my favorite german
leafybas_ has joined #crystal-lang
TheMysticWyvern_ has joined #crystal-lang
leafybasil has quit [Read error: Connection reset by peer]
<jhass>
not funny bot?
<[spoiler]>
jhass: I prefer the funny bot, sorry
<jhass>
that's fine, I do too
<[spoiler]>
:P
<[spoiler]>
for as in for loop?
nopc0de has quit [Excess Flood]
nopc0de has joined #crystal-lang
TheMysticWyvern has quit [Ping timeout: 260 seconds]
<jhass>
yeah
<[spoiler]>
Meh. I have nothing against it, but I don't think it's very idiomatic
<[spoiler]>
It exists only because
* [spoiler]
forgot to add a period
waj has quit [Ping timeout: 245 seconds]
<jhass>
thank god Crystal slayed it
TheMysticWyvern_ is now known as TheMysticWyvern
zz_Cidan has joined #crystal-lang
NeverDie has joined #crystal-lang
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]