asterite changed the topic of #crystal-lang to: #crystal-lang The Crystal programming language | http://crystal-lang.org | Crystal 0.6.1 | 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
lewix has quit [Remote host closed the connection]
<crystal-gh> [crystal] asterite closed pull request #514: add scan by string (master...scan_string) http://git.io/ve833
weskinner_work has joined #crystal-lang
<a5i> endou?
<travis-ci> manastech/crystal#2206 (master - 118a20f : Ary Borenszweig): The build passed.
weskinner_work has quit [Ping timeout: 250 seconds]
djellemah_ has joined #crystal-lang
djellemah has quit [Ping timeout: 256 seconds]
havenwood has joined #crystal-lang
havenwood has quit [Ping timeout: 246 seconds]
riceandbeans has left #crystal-lang [#crystal-lang]
gr33n7007h has joined #crystal-lang
a5i has quit [Quit: Connection closed for inactivity]
ponga has joined #crystal-lang
gr33n7007h has left #crystal-lang ["WeeChat 1.1.1"]
sandelius has joined #crystal-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JuryBatenko has joined #crystal-lang
JuryBatenko has quit [Client Quit]
JuryBatenko has joined #crystal-lang
sandelius has joined #crystal-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandelius has joined #crystal-lang
Ven has joined #crystal-lang
sandelius has quit [Read error: Connection reset by peer]
sandelius has joined #crystal-lang
djellemah_ has quit [Quit: Leaving]
djellemah has joined #crystal-lang
ponga has quit [Quit: Leaving...]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sadin has quit [Remote host closed the connection]
Ven has joined #crystal-lang
JuryBatenko has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #crystal-lang
sandelius has joined #crystal-lang
ponga has joined #crystal-lang
ponga has quit [Remote host closed the connection]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandelius has joined #crystal-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ponga has joined #crystal-lang
a5i has joined #crystal-lang
Ven has joined #crystal-lang
JuryBatenko has joined #crystal-lang
ponga has quit [Remote host closed the connection]
ponga has joined #crystal-lang
Cassyblanca has quit [Read error: Connection reset by peer]
panga has joined #crystal-lang
panga has quit [Remote host closed the connection]
panga has joined #crystal-lang
panga has quit [Remote host closed the connection]
a5i has quit [Quit: Connection closed for inactivity]
sandelius has quit [Read error: Connection reset by peer]
a5i has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
panga has joined #crystal-lang
panga has quit [Ping timeout: 245 seconds]
bcardiff has joined #crystal-lang
asterite has joined #crystal-lang
<a5i> is Crystal going to be supporting Async?
<djellemah> asterite: Thanks for your answers yesterday. How does crystal do concurrency - libpcl coroutines scheduled on top of libpthread threads?
<asterite> In 0.6.1 concurrency is just Threads + Fiber if you want to use them, but they are not very useful like that
<asterite> In HEAD concurrency is about non-blocking IO, lightweight processes similar to Go's goroutines and channels for communications between them
<asterite> So, it'll be very, very similar to Go in that sense
<asterite> So Crystal is not going to support async/await like in C#
<djellemah> I don't know c# - is await same as block/wakeup using ConditionVariable?
<djellemah> ok, nevermind. Just read the docs. Looks like futures.
<asterite> I don't know much about them either... I think Nim has them too, but implemented via macros
<a5i> Is Crystal a scripting language?
ponga has quit [Quit: Connection closed for inactivity]
<asterite> Define scripting language :-)
<a5i> err
<a5i> I don't know exactly how, so that's why I'm asking
<asterite> The definition of wikipedia made me more confused :-)
<a5i> Idk if compilation has to do anything with it
<a5i> Ruby is a scripting language
<a5i> question is if Crystal chnaged anything about that
<a5i> ofc compilation, static types
<asterite> Well, if you do `crystal program.cr` then `program.cr` will be compiled and run
<asterite> but you don't have to know that, you can think that `crystal` just interprets the program
<asterite> so crystal can be used as if it were a scripting language
<asterite> Mmm... you can write small scripts in it :-)
<jhass> yeah, I don't think scripting language is a useful distinction
<jhass> interpreted, just-intime-, compiled are more useful perhaps
<djellemah> a5i: These days the scripting language vs compiled language distinction is a lot less useful. Many newer languages' compile step is so fast that it doesn't get in the way. And languages that used to be 'interpreted' are now running on VMs with JITs, so effectively they're compiled anyway.
<a5i> Crystal is AOT
<a5i> right
<jhass> !g AOT
<DeBot> []: No results found!
<jhass> heh!
<jhass> looks like it's broken again
<a5i> Google?
<jhass> yeah
<a5i> o
<a5i> We need to port nokogiri to Crystal
<jhass> time
<jhass> asterite started with that actually, it's in stdlib under xml/
<asterite> Yes, although I found nokogiri does some real magic
<asterite> Like... it has a CSS parser in it
<asterite> And porting it I realized that when you do node.search("foo") nokogiri might actually borrow your entire computer for that task
<asterite> Like when you open an innocent Ruby method source code that's written in C and you find yourself looking at 100 lines :-P
<a5i> lol
<djellemah> I'm looking at channel.cr - looks to me that it would work with Fibers, but wouldn't be threadsafe. Am I missing the obvious?
<jhass> wait, the css parser is not libxml2 API?
<a5i> asterite, is the HEAD version basically the next version of crystal?
<asterite> Yes
<jhass> asterite: might be easier to port oga then :P
<jhass> (not really)
<a5i> asterite, link to the HEAD version?
<a5i> or was that yes not for me lol
<asterite> HEAD is what you see when you go to the project in github
<a5i> ooo
weskinner_work has joined #crystal-lang
havenwood has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sadin has joined #crystal-lang
asterite has quit [Ping timeout: 246 seconds]
Cassyblanca has joined #crystal-lang
Ven has joined #crystal-lang
leafybas_ has joined #crystal-lang
Cassyblanca has quit [Quit: Textual IRC Client: www.textualapp.com]
leafybasil has quit [Ping timeout: 248 seconds]
asterite_ has joined #crystal-lang
ponga has joined #crystal-lang
saml has joined #crystal-lang
jua_ has joined #crystal-lang
<a5i> Hey
leafybas_ has quit [Remote host closed the connection]
shama has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sandelius has joined #crystal-lang
JuryBatenko has quit [Ping timeout: 252 seconds]
<saml> a5i, hi. asl?
<a5i> nah its a5i
<a5i> its a hash of my original name Apophis
<jhass> * Numeronym
<jhass> :P
asterite_ has quit [Ping timeout: 246 seconds]
<a5i> o
<jhass> s.first + s.size-2 + s.last is nothing I'd call a hash function :P
<a5i> it isnt
ponga has quit [Quit: Leaving...]
<weskinner_work> jhass: you can't infer "pophi" from 5??
c355E3B has joined #crystal-lang
JuryBatenko has joined #crystal-lang
<jhass> ?
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bcardiff has quit [Quit: Leaving.]
asterite has joined #crystal-lang
<asterite> I have an announcement: Crystal is now open source! Yay! http://www.reddit.com/r/programming/comments/31rua0/crystal_is_now_open_source/
<c355E3B> well talk about lack of good namespace
asterite has quit [Ping timeout: 246 seconds]
asterite_ has joined #crystal-lang
<asterite_> c355E3B: lucky you, you won't have conflicts with that nickname :-)
JuryBatenko has quit [Ping timeout: 250 seconds]
asterite_ has quit [Ping timeout: 246 seconds]
<a5i> lol
havenwood has quit [Remote host closed the connection]
havenwood has joined #crystal-lang
JuryBatenko has joined #crystal-lang
sadin has quit [Remote host closed the connection]
c355E3B has quit [Quit: Leaving]
<saml> it wasn't opens suace?
<saml> reddit doesn't display my comment
bcardiff1 has joined #crystal-lang
bcardiff has joined #crystal-lang
bcardiff1 has quit [Ping timeout: 256 seconds]
Ven has joined #crystal-lang
JuryBatenko has quit [Quit: Computer has gone to sleep.]
bcardiff has quit [Ping timeout: 250 seconds]
bcardiff has joined #crystal-lang
leafybasil has joined #crystal-lang
c355E3B has joined #crystal-lang
waterlink has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
bcardiff has joined #crystal-lang
bcardiff has quit [Ping timeout: 256 seconds]
a5i has quit [Quit: Connection closed for inactivity]
asterite has joined #crystal-lang
<asterite> saml: it seems it was hidden, I don't know the reason (I'm not the only moderator). There, I put it :-)
<asterite> saml: but that logo is like a %99 copy of Ruby's one, I don't think we'll use that :-P
<saml> hehehehheheheheh
<asterite> It was intended as a joke? :)
<asterite> Initially we joked about using Ruby's logo but green... like, more ecological
<saml> yah i'm no artist
<saml> so i downloaded ruby logo
<saml> i thought crystal was meant to be pure ruby
weskinner_work has quit [Ping timeout: 256 seconds]
jua_ has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crystal-gh> [crystal] asterite pushed 3 new commits to master: http://git.io/veopr
<crystal-gh> crystal/master 9b61fd4 Ary Borenszweig: Contributing: say to close a question opened as an issue
<crystal-gh> crystal/master 14418cc Ary Borenszweig: Allowing parsing a CSV row by row
<crystal-gh> crystal/master 5fa570c Ary Borenszweig: Fixed: time month name formatting was wrong
asterite has quit [Quit: Page closed]
bcardiff has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
havenwood has joined #crystal-lang
c355E3B has quit [Quit: Leaving]
waterlink has left #crystal-lang [#crystal-lang]