jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.3 | 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
waj has joined #crystal-lang
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
datanoise has quit [Ping timeout: 276 seconds]
_whitelogger has joined #crystal-lang
jonahR has quit [Quit: Nos vemos corillo!]
waj has joined #crystal-lang
NeverDie has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 276 seconds]
mdz_ has joined #crystal-lang
mdz_ has quit [Remote host closed the connection]
mdz_ has joined #crystal-lang
waj has quit [Quit: waj]
mdz_ has quit [Remote host closed the connection]
waj has joined #crystal-lang
datanoise has joined #crystal-lang
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vLRCt
<crystal-gh> crystal/master dde0821 Juan Wajnerman: Use mmap to allocate fiber stacks. Release unused fiber stacks with a background fiber. (Should fix #788)
datanoise has quit [Ping timeout: 245 seconds]
fowlduck_ has joined #crystal-lang
fowlduck_ has quit [Read error: Connection reset by peer]
fowlduck has quit [Ping timeout: 244 seconds]
fowlduck has joined #crystal-lang
vikaton has quit [Quit: Connection closed for inactivity]
<travis-ci> manastech/crystal#2506 (master - dde0821 : Juan Wajnerman): The build passed.
fowlduck has quit [Remote host closed the connection]
vonKingsley has joined #crystal-lang
vonKingsley has quit [Client Quit]
waj has quit [Quit: waj]
genericpenguin has joined #crystal-lang
<genericpenguin> Hi everyone. Just wondering if anyone has used the glob method of the Dir module in Crystal. It seems to behave differently from Ruby. I was just wondering what the rules were regarding recursive globs (** in Ruby). Tried it but no cigar.
bcardiff has joined #crystal-lang
vikaton has joined #crystal-lang
<genericpenguin> Also tried the libc glob pattern (...) but again no joy
unshadow has joined #crystal-lang
datanoise has joined #crystal-lang
unshadow has quit [Client Quit]
lokulin has quit [Max SendQ exceeded]
lokulin has joined #crystal-lang
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
datanoise has quit [Ping timeout: 245 seconds]
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Client Quit]
BlaXpirit has joined #crystal-lang
havenwood has quit [Ping timeout: 276 seconds]
datanoise has joined #crystal-lang
lokulin has joined #crystal-lang
lokulin has quit [Changing host]
datanoise has quit [Ping timeout: 264 seconds]
daneb has joined #crystal-lang
<jhass> genericpenguin: yeah, recursive globs don't work, though that's not intentional just broken
<jhass> atm it just uses the libc glob which apparently doesn't support it
<daneb> good day, in adding to the documentation for the stdlib, is it a copy from the Ruby stdlib. Thereafter a review of the code itself to remove that which doesn't apply?
<jhass> daneb: talking about glob?
<daneb> no sorry, I meant in general. I see there is quite a bit of the stdlib undocumented, and thought it would be a good place to get started for me
<jhass> daneb: oh, yeah, matz allowed to copy from ruby's docs
<jhass> !memo asterite http://carc.in/#/r/3o4 another weird one
<DeBot> jhass: Added memo for asterite.
<jhass> !memo asterite http://carc.in/#/r/3of could be interesting to allow too
<DeBot> jhass: Added memo for asterite.
vikaton has quit [Quit: Connection closed for inactivity]
pleiosaur has quit [Remote host closed the connection]
pleiosaur has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
Ven has joined #crystal-lang
daneb has quit [Remote host closed the connection]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
unshadow has joined #crystal-lang
<unshadow> jhass: what do you think about opening a gitter page for crystal ?
<unshadow> or maybe just Ary can do it
<jhass> !memo asterite http://carc.in/#/r/3qg probably fixed already but anyway...
<DeBot> jhass: Added memo for asterite.
<jhass> unshadow: what does gitter give me to justify running a second client all the time that I can configure less?
<jhass> !memo asterite http://carc.in/#/r/3qv parser bug?
<DeBot> jhass: Added memo for asterite.
<unshadow> jhass: markdown support, repo updates, @git_users tags, @issue_tags
<unshadow> I just tried it yesterday, it was pretty awesome :)
<jhass> none of that sells it enough to run a second client
<jhass> to me
<unshadow> fair enough
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> I can see such specialized tools for team communication, but for communication in the OS world IRC hits the sweet spot much better
<BlaXpirit> jhass, it does mirror to IRC
<jhass> I'm in over 30 channels atm without any overhead drawing from my attention
<jhass> BlaXpirit: is it as "good" as slacks?
<BlaXpirit> i dont know what that is
<jhass> because that one sucks as hell from everything I heard
<BlaXpirit> as far as i remember, it's not good
<jhass> https://slack.com/ another one of those tools
<jhass> which is the next issue, this is just recreating the IM hell of the 2000s
<jhass> if I want to move I want to move to open standards
<jhass> XMPP apparently failed the group chat, so by all means create a new protocol fitting the usecases of this decade
<jhass> but if you want me to consider it for my volunteer work it has to be open
<unshadow> isn't gitter open ?
<jhass> well, and actually also federated ;)
<jhass> but given they sell it, I doubt it
<unshadow> it seems the license is Proprietary
<jhass> https://developer.gitter.im/docs/welcome doesn't mention anything about a client to server protocol or a server to server protocol
<unshadow> apperently you can use IRC client to connect to gitter
<jhass> see above
datanoise has joined #crystal-lang
<unshadow> jhass: https://irc.gitter.im/
<jhass> see above
<unshadow> .... you mean the developer link ? or if it's not OS you don't care ?
<jhass> no, their main target is not IRC clients, thus it's totally understandable that the features don't port over
<jhass> if I want to use IRC I use IRC
<unshadow> ok, as I said before , fair enough ;)
<jhass> #1234
<jhass> it's not like we haven't developed solutions to this optimized to IRC
<jhass> but anyway
<jhass> !disable GithubIssues
<DeBot> jhass: Disabled GithubIssues.
datanoise has quit [Ping timeout: 276 seconds]
<unshadow> Thats cool, is there a doc about what github integrations we have in this room ?
<thor77> jhass: would you accept a pr to your bot, to check the issue-id via the github-api before posting?
<jhass> sure
<jhass> unshadow: no
<thor77> \o/
<thor77> already implemented it in my own bot, let's see if i can get it in crystal, too...
<jhass> thor77: the regexp also has some low hanging fruits for optimization
<jhass> thor77: note that you need crystal 0.6.1 to run the bot
<thor77> crystal --version => "Crystal 0.7.3 (Di 9. Jun 19:31:58 UTC 2015)" :)
<thor77> latest version from aur
<jhass> that's what I've done for now
<thor77> ah thought you meant i need >= 0.6.1
<thor77> uhm, did you ever test your settings-example?
<jhass> yes, it worked on creation, might have failed to keep it up to date :P
<jhass> how does it fail?
<jhass> ah
<jhass> you opened a PR to your own repo btw...
<thor77> uh...
<thor77> yeah, i got a cookie \o/
<thor77> uhm, the complete config seems like invalid json
<thor77> inline-comments are not supported
NeverDie has joined #crystal-lang
<jhass> I used to strip them
<jhass> is that broken?
<thor77> "unexpected token: } at 21:5"
<thor77> smth is missing
<thor77> but its hard to find lines, if my editor counts all comments as a line, too
<jhass> :P
<jhass> ah I guess it's the ,
<thor77> uhm, "unknown json attribute: Memo"
<thor77> seems like keys have to be lowercase
<jhass> wut
<thor77> uhm, no. still the same error just with a lowercase m
<jhass> I rather guess I broke not having any config for a plugin
<thor77> i guess i broke my pers. config
<jhass> although I do have Memo in the example even
<jhass> maybe moved it out of plugins ?
<thor77> yeah moved all plugins after "Admin" out of plugins by accident...
daneb has joined #crystal-lang
<thor77> uhm, are there some raw-irc-logs somewhere?
<thor77> my bot doesn't join my channel
<jhass> uh, I think I added a log level somewhere
<jhass> "log_level": "debug"
Ven has joined #crystal-lang
<thor77> heh, atom doesn't like your json-comments^^ http://upload.crapwa.re/pCgKleFc
<jhass> nobody does!
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 264 seconds]
<thor77> let's see if i can figure out, how your bot works
<jhass> :P
<jhass> just ask if you want something explained
NeverDie has quit [Remote host closed the connection]
unshadow has quit [Quit: leaving]
Ven has quit [Read error: Connection reset by peer]
<thor77> http://carc.in/#/r/3s8 why do i get forbidden o.O
<jhass> content-type in the request I bet
<jhass> or Accept header
<thor77> python: requests.get(sameurl) ->200
<thor77> uh
<thor77> k
<thor77> why is that shit neccessary :/
<wuehlmaus> hi, all. where does prelude.cr belong to? my ubuntu crystal deb does not work and demands some prelude to be found somewhere.
<jhass> the load path
<jhass> it's the official package?
<wuehlmaus> yep
<jhass> open a bug with the output and exactly how you produce it
mdz_ has joined #crystal-lang
<wuehlmaus> it's simple. i put ``puts "hello"`` in there and then used ``crystal build name.cr''
<wuehlmaus> Error while requiring "prelude": can't find file 'prelude'
NeverDie has joined #crystal-lang
<jhass> which crystal says what?
<wuehlmaus> Crystal 0.7.3 [bf72b07] (Sun Jun 7 16:37:14 UTC 2015)
<jhass> no
<jhass> which crystal
<wuehlmaus> ah, that was the key to the answer
<wuehlmaus> i had a crystal in my personal home :)
<wuehlmaus> to build crystal by compiling :)
<wuehlmaus> jhass: thank you once again!
<jhass> wuehlmaus: to use the crystal compiled from the repo use the bin/crystal wrapper of the repo
<jhass> that can nicely coexist
<jhass> for example I have alias dcrystal=~/projects/crystal/bin/crystal
<thor77> yeah, just finished my first piece of crystal-code \o/
<thor77> (hope it doesn't look too terrible...)
mdz_ has quit [Remote host closed the connection]
<wuehlmaus> jhass: ah, great
havenwood has joined #crystal-lang
<jhass> thor77: don't be mad, I'm just rather nitpicky :P
<thor77> jhass: np, i'm happy to get some feedback :)
Codcore has joined #crystal-lang
<Codcore> Hi! I have a question - is there a way to set default hash value when declaring Hash?
<jhass> not in the hash literal syntax
<jhass> >> Hash.new(0)[:a]
<DeBot> jhass: in /usr/lib/crystal/hash.cr:39: undefined constant K - http://carc.in/#/r/3si
<jhass> >> Hash(Symbol, Int32).new(0)[:a]
<DeBot> jhass: # => 0 - http://carc.in/#/r/3sj
mdz_ has joined #crystal-lang
<jhass> >> Hash(Symbol, Int32).new {|h, k| h[k] = 0 }
<DeBot> jhass: # => {} - http://carc.in/#/r/3sk
<jhass> >> Hash(Symbol, Int32).new {|h, k| h[k] = 0 }[:a]
<DeBot> jhass: # => 0 - http://carc.in/#/r/3sl
<Codcore> jhass, thanks!
<jhass> note the first version always returns the _same_ object, the second version is lazily called on missing keys
<thor77> jhass: https://github.com/jhass/DeBot/pull/6#discussion_r32728315 => "undefined method 'new' for JSON::Type:Class"
<jhass> uh
<thor77> (i think you meant JSON::Type instead of JSON:Type)
<jhass> JSON::Any ?
<jhass> eh, that anyway
<thor77> no overload matches....
<thor77> "no overload matches 'Hash(String, JSON::Any)#[]=' with types String, (Nil | Bool | Int64 | Float64 | String | Array(JSON::Type) | Hash(String, JSON::Type))"
<jhass> ah, darn so that doesn't work...
<jhass> mind including a small json_mapping?
<jhass> class Issue; json_mapping({html_url: String, title: String}); end;
<jhass> Issue.from_json(response.body)
<jhass> issue.html_url / issue.title
<jhass> or even define a to_s on it :D
<thor77> uh, great
<jhass> def to_s(io); io << html_url; io << "(#{title})"; end;
<thor77> should i define the class after the get_issue-method or before?
<jhass> nested classes are like constants and go at the top before all methods :P
mdz_ has quit []
<thor77> yeah, now everything should be okey
<thor77> should i rebase everything to one commit?
jtarchie has joined #crystal-lang
<jhass> I fear I found some more notes :P
<thor77> :D
<thor77> will fix them later
<jhass> I'm just too opinionated about my codestyle ^.^
<jhass> but then one commit would be nice, yeah
<jhass> you can edit a commit with git commit --amend btw
daneb has quit [Remote host closed the connection]
datanoise has joined #crystal-lang
<Codcore> what is wrong here? http://play.crystal-lang.org/#/r/3tx
<BlaXpirit> Codcore, strings and symbols are different
<BlaXpirit> "id" :id
<Codcore> I now, but I'm callin to_s on Symbol first
<Codcore> def [](key) ; @params[key.to_s] ;end
<jhass> Codcore: check line 31
<jhass> param is a Hash
<jhass> you never use your class
<Codcore> jhass, my class encapsulates Hash : def =(hash : Hash);@params = hash;end or I'm doing wrong?
<daneb> Hello, I am trying to get my docs working, but running into the following of the gh-pages branch;
<daneb> furian:crystal danebalia$ make doc
<daneb> PATH=`brew --prefix llvm36`/bin:$PATH LIBRARY_PATH=`brew --prefix crystal-lang`/embedded/lib ./bin/crystal doc docs/main.cr
<daneb> Error: File docs/main.cr does not exist
<daneb> make: *** [doc] Error 1
<jhass> Codcore: line 31 creates a normal hash, crystal doesn't magically wrap your hash into the previous object on assignment
<jhass> Codcore: you do foo = 1; foo = "bar"; just with different types
<BlaXpirit> jhass, do you see def =
<jhass> oh
<daneb> However I can see a main.cr in .crystal/{My Entire CWD}/docs/
<jhass> lol, that doesn't syntax error?
<BlaXpirit> is it supposed to work or
<daneb> This is on Yosemite
<BlaXpirit> yeah, i was like wtf
<daneb> any clues or pointers would be appreciated....
<daneb> ;)
daneb has joined #crystal-lang
<jhass> Codcore: okay, you can overwrite = ;)
<jhass> eh, fu, can not!
<Codcore> jhass, ???
<jhass> Codcore: sorry, I meant to say you can not overwrite =
<Codcore> got it!
<daneb> Hello, I am trying to get the docs working, but running into the following of the gh-pages branch;
<daneb> furian:crystal danebalia$ make doc
<daneb> PATH=`brew --prefix llvm36`/bin:$PATH LIBRARY_PATH=`brew --prefix crystal-lang`/embedded/lib ./bin/crystal doc docs/main.cr
<daneb> Error: File docs/main.cr does not exist
<daneb> make: *** [doc] Error 1
<daneb> However I can see a main.cr in .crystal/{My Entire CWD}/docs/
<jhass> daneb: I'm not sure, docs of your project or manastech/crystal ?
<Codcore> thanks you all
<daneb> Jhass: manastech/crystal ;)
<jhass> daneb: mmh, make doc works fine here, did you build a development compiler first with make crystal ?
<jhass> daneb: note the API docs are also available at http://crystal-lang.org/api
<daneb> jhass: no I didn't :( yip, well aware - trying to contribute to the API docs
<jhass> cool
<jhass> I don't even know if it's a requirement to have a head compiler first, but I guess we'll find out in a minute :P
<daneb> jhass: make crystal failed error3 (LLVM gobbledee goop). I did ensure all the libraries are installed according to "All required libraries Wiki"
<daneb> ld: symbol(s) not found for architecture x86_64
<jhass> oO
<jhass> uhm, my experience on fixing that stuff on OS X is limited
<jhass> (that means basically not existent)
<daneb> jhass: I assume you running Ubuntu
<BlaXpirit> D:
<jhass> Archlinux actually
<daneb> :D
<jhass> ah
* jhass summons asterite
<jhass> havenwood: seen https://github.com/ysbaddaden/artanis ?
kostya has joined #crystal-lang
benjreinhart has joined #crystal-lang
jonahR has joined #crystal-lang
<thor77> uh, let's see if you can find some more misstakes :P
<jhass> well, none of these were mistakes ;)
<thor77> just inform me, if you don't find anything more to improve and i will squash it to one commit
<jhass> thor77: actually two more things, please rename the method to fetch_issue actually and change the User agent to CeBot :)
strcmp1 has quit [Ping timeout: 246 seconds]
<thor77> done :)
<jhass> looking good! squash time :)
bcardiff has joined #crystal-lang
<thor77> \o/
Ven has joined #crystal-lang
<thor77> github says i only modified the file o.O
daneb has quit [Ping timeout: 250 seconds]
<thor77> thanks for merging :)
asterite has joined #crystal-lang
<havenwood> jhass: nope, i hadn't - thanks for the link!
strcmp1 has joined #crystal-lang
<jhass> thought that might make an interesting item on your list :P
<strcmp1> interesting that it basically defines methods instead of "stacking blocks"
<asterite> jhass: thanks for the references to carc.in, though I think it's better if you put those as github issues
<strcmp1> i wonder if sinatra did that would it be slower or faster
<jhass> asterite: mmh, I'm not always sure if you consider these bugs :P
<jhass> actually I think in none of these :)
<asterite> jhass: some are, some aren't :-)
<asterite> the last I had it in a TODO list, just lazy to fix it
jua_ has joined #crystal-lang
<asterite> I wouldn't abuse macros too much :-)
<jhass> asterite: if you just copy back the URL of the ones you consider bugs I can open issues
<asterite> Or, for that purpose, use a `run` macro to use real crystal to program, not the macros' subset
<asterite> jhass: no problem, these ones I'm taking care of
<jhass> but this way is a lot easier for me for the ones I'm unsure about while skipping through the submissions ;)
<asterite> this one isn't a bug for me: http://carc.in/#/r/3o4
<crystal-gh> [crystal] asterite pushed 5 new commits to master: http://git.io/vLzUu
<crystal-gh> crystal/master 4798c72 Ary Borenszweig: Use Crystal.tempfile in spec_helper
<crystal-gh> crystal/master 50924d7 Ary Borenszweig: Fixed #826: Macro defined macro generates temp var
<crystal-gh> crystal/master 29770f1 Ary Borenszweig: Fixed #824: special vars ($) were not preserved after macro expansion
<asterite> print must receive at least one argument
<asterite> this one, maybe an enhancement, but isn't really necessary http://carc.in/#/r/3of
<asterite> bug: http://carc.in/#/r/3qg
<jhass> oh, now I realize at what it parses
<asterite> (already fixed)
<asterite> bug: http://carc.in/#/r/3qv (the one I'm lazy, I don't know why it doesn't work, it should)
<jhass> uh you fixed #826 <3
<asterite> jhass: when I saw it and tried it I was like "wtf?"
<asterite> Then I remember how I impelemented the {{yield}} thingy
<jhass> wait till you see why I want it :D
<asterite> Mmm... maybe I shouldn't have fixed it? :-P
<jhass> well, I was thinking...
<jhass> "wouldn't it be nice to be able to swap out or even disable all toplevel methods?"
<jhass> "... or decide as a caller which libraries toplevel methods are added?"
<asterite> Maybe
<asterite> I'm sure something will crash there
<jhass> well, yes the "completely swap out" case would need careful replacement, but still I think a nice to have
<asterite> But for example "puts" or "spawn" is already used by kernel (I think), so you won't be able to completely remove those
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> well, we could make the standard library calls explicitly use Kernel.
<jhass> mmh
<jhass> but then you can't replace them.. mh
<jhass> okay, looks like my approach won't work but it lead to a bug at least :D
<travis-ci> manastech/crystal#2507 (master - c83f0f1 : Ary Borenszweig): The build passed.
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vLzcq
<crystal-gh> crystal/master 7e88f62 Ary Borenszweig: Fixed: passing &-> proc to method that yields didn't work
<jhass> <3
<jhass> uh, that shouldn't segfault, should it? http://carc.in/#/r/3uh
bcardiff1 has joined #crystal-lang
<asterite> I think that shouldn't parse, actually
<asterite> Oh, it parses well in Ruby
<asterite> Note that there's a comma where you'd want a semicolon
<jhass> yeah sure
<asterite> I don't understand why it works in Ruby, though
<jhass> it's an array in Ruby
<jhass> (note, not my try, just found it ;) )
<BlaXpirit> lol i was wondering how you are so amazing at finding bugs
bcardiff has quit [Ping timeout: 264 seconds]
<BlaXpirit> you're just snooping on submitted code :p
<jhass> obviously
<jhass> asterite: right hand side of an assignment, so array
<jhass> k = [k.to_s, (v = v.to_s)]
jonahR has quit [Quit: brb]
<asterite> Right
<asterite> Reduced it to this: http://carc.in/#/r/3vq
<asterite> but I'd like to reduce it more, maybe without using the std
<jhass> funny, if you call .to_h afterwards in Ruby it'll actually do what the author intended albeit not for the reason they think it does :D
<asterite> Got it!
<asterite> The problem is that typeof is doing the assignments... hm, this is complex :-P
<asterite> Well, [a] is the same as tmp = Array(typeof(a)).new; tmp.push a
<asterite> (sort of)
<asterite> but if you have [a = a.to_s] that's typeof(a = a.to_s), so "a" gets the type "String", but...
<asterite> Well, it's hard to explain here :-P
<jhass> it's okay :D
<jhass> so, how many bugs did we find through random user input? about 10? 10 in 5k submissions, pretty good ratio actually I guess
<asterite> Yes, carc.in is really good to get a sample of what users are doing
<jhass> http://cloud.aeshna.de/u/mrzyx/screenshots/screenshot_20150618_184356.png it's funny how the /r/programming post of amethyst had a bigger impact than the HN post
<asterite> Interesting
<asterite> It's also going up, little by little
<jhass> yeah
<travis-ci> manastech/crystal#2508 (master - 7e88f62 : Ary Borenszweig): The build passed.
<jhass> btw have you seen godebug?
<jhass> interesting approach to writing a debugger
<asterite> what's it killer feature?
<jhass> it works xD
<jhass> cloudflare blogged a nice summary today http://blog.cloudflare.com/go-has-a-debugger-and-its-awesome/
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vLz2j
<crystal-gh> crystal/master dc6b66c Ary Borenszweig: Fixed #828: typeof assignment makes a program crash
<asterite> Interesting. I actually tried to do something similar a long time ago but for profiling code
<asterite> but I never really did it
asterite has quit [Quit: Page closed]
<travis-ci> manastech/crystal#2509 (master - dc6b66c : Ary Borenszweig): The build passed.
vonKingsley has joined #crystal-lang
kostya has quit [Quit: Leaving]
fowlduck has joined #crystal-lang
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
jonahR has joined #crystal-lang
waj has joined #crystal-lang
jonahR has quit [Quit: brb]
jonahR has joined #crystal-lang
havenwood has joined #crystal-lang
shama has joined #crystal-lang
vikaton has joined #crystal-lang
daneb has joined #crystal-lang
vonKingsley has quit [Quit: Page closed]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
bcardiff1 has quit [Quit: Leaving.]
sandelius has joined #crystal-lang
<daneb> how are the API docs created? Is the non-source code text separate to "source to doc" process?
<daneb> *where are my manners, aloha* ;)
<jhass> I'm not sure I get your question :)
<flaviu> daneb: `make doc` in the source tree will do it.
<daneb> I cannot "make doc", and jhass suggested I "make crystal", but both processes are failing cause a Mac runs Apple's LLVM (not sure what the problem is yet)
<daneb> so I was wondering if I can add to the API docs without needing these steps...
<jhass> uh, I guess you can, most of it just free form text I think
<jhass> API docs are generated by parsing the comments directly above methods, classes, modules etc
<jhass> like you're used to from javadocs, rdoc/yard etc etc
<wmoxam> daneb: oh, I had that llvm problem
<wmoxam> let me try to remember what I did to fix it
<daneb> aoooooh plz ;)
<wmoxam> daneb: brew tap homebrew/versions
<wmoxam> daneb: brew install llvm36
<daneb> thanks jhass, I thought the source code metadata was independent from the generation process....
<wmoxam> then try building
<daneb> wmoxam: thank you, going to give it a shot ;)
<wmoxam>
Codcore has quit [Quit: Page closed]
<vikaton> Guys
<vikaton> Go vote
<jhass> who wants to use visualstudio...
<daneb> it's not visual studio ;)
<daneb> I voted!
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<strcmp1> jhass, visualstudio is awesome but not worth the pain of using windows everyday
<daneb> in steps visual studio code, cross-platform and snazzy. But given Atom, Sublime, Brackets - it's kind of late to the game
<flaviu> Yep, and Visual Studio Code is based on the same tech as Atom.
<daneb> wmoxam, wonderful, it's alive!!!!! thank you
<flaviu> Non-FOSS too -- I'm not to sure what it brings to the table.
<daneb> flaviu: hmm...perhaps if you dev C#/F# and OSS you have one ring to rule then all
<wmoxam> daneb: awesome!
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vL2IK
<crystal-gh> crystal/master b48fbf9 Ary Borenszweig: GC: use register_finalizer_ignore_self
<crystal-gh> crystal/master 7447200 Ary Borenszweig: Made `FileDescriptorIO` buffered. It has `sync` too now. Still missing some optimizations and fixes. Related to #757
<travis-ci> manastech/crystal#2510 (master - 7447200 : Ary Borenszweig): The build passed.
jua_ has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vL2ul
<crystal-gh> crystal/master 4a9de2b Ary Borenszweig: Lazily initialize FileDescriptorIO's buffers
asterite has joined #crystal-lang
<asterite> daneb: do you have LLVM in your path?
<asterite> daneb: or, can you paste a gist of the exact error you are getting? It'll be easier :-)
<vikaton> asterite: you know how Ruby might get a borrow checker?
<asterite> vikaton: does visual studio work on linux/mac?
<asterite> vikaton: Ruby???
<daneb> asterite: issue resolved thanks, brew install llvm36 fixed it ;)
<asterite> daneb: excellent :-)
<vikaton> asterite: Visual Studio code is cross platform
<asterite> daneb: I updated this page https://github.com/manastech/crystal/wiki/All-required-libraries, thanks!
<vikaton> And I think I'm not sure for ruby
<vikaton> I saw a tweet
<asterite> vikaton: where?
<asterite> I can't imagine a borrow checker without a compiler
<vikaton> I can't find it anymore, so disregard it :P
<vikaton> What if Crystal had a borrow checker o.0
<asterite> Then it would be Rust
<daneb> asterite: thanks ;)
<asterite> And why do you want to have two Rusts? :-)
<BlaXpirit> pls no
<asterite> vikaton: we are a GC language. What we can do is make the compiler smarter: do escape analysis, maybe write a custom GC, etc. This requires zero effort from the programmer and makes him happier ;-)
<asterite> "A lot of IO operations don't have to be optimally performant"
<asterite> Like, every line in your program can't be the bottleneck...
<asterite> But that's just my opinion, of course
BlaXpirit has quit [Quit: Quit Konversation]
<vikaton> Yeah, I don't want that in Crystal either haha
daneb has quit [Remote host closed the connection]
<travis-ci> manastech/crystal#2511 (master - 4a9de2b : Ary Borenszweig): The build passed.
asterite has quit [Ping timeout: 246 seconds]
jonahR has quit [Quit: brb]
ryanf has quit [Ping timeout: 264 seconds]
fowlduck has quit [*.net *.split]
strcmp1 has quit [*.net *.split]
datanoise has quit [*.net *.split]
orliesaurus has quit [*.net *.split]
ryanf has joined #crystal-lang
fowlduck has joined #crystal-lang
strcmp1 has joined #crystal-lang
datanoise has joined #crystal-lang
orliesaurus has joined #crystal-lang
datanoise has quit [Ping timeout: 265 seconds]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
benjreinhart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
datanoise has joined #crystal-lang
NeverDie has joined #crystal-lang