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