jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.8.0 | Fund Crystals development: http://is.gd/X7PRtI | 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
ashleyis has joined #crystal-lang
juancate has joined #crystal-lang
slash_nick has joined #crystal-lang
pragmatism has joined #crystal-lang
bmcginty_ has joined #crystal-lang
benner_ has joined #crystal-lang
justinmcp has joined #crystal-lang
andrew-l has joined #crystal-lang
toydestroyer has joined #crystal-lang
sardaukar has joined #crystal-lang
jsaak has joined #crystal-lang
yopp has joined #crystal-lang
Excureo has joined #crystal-lang
Raimondi has joined #crystal-lang
barosl has joined #crystal-lang
leafybas_ has joined #crystal-lang
jbye has joined #crystal-lang
ozra has joined #crystal-lang
ytti has joined #crystal-lang
tomchap__ has joined #crystal-lang
tliff has joined #crystal-lang
epitron has joined #crystal-lang
irclogger_______ has joined #crystal-lang
havenwood has joined #crystal-lang
aemadrid has joined #crystal-lang
waj has joined #crystal-lang
dzv has joined #crystal-lang
jamie_ca has joined #crystal-lang
CompanionCube has joined #crystal-lang
wmoxam has joined #crystal-lang
jokke has joined #crystal-lang
bougyman has joined #crystal-lang
danzilio has joined #crystal-lang
yie has joined #crystal-lang
grindhold has joined #crystal-lang
asbradbury has joined #crystal-lang
shadeslayer has joined #crystal-lang
Renich has joined #crystal-lang
A124 has joined #crystal-lang
buggs has joined #crystal-lang
NeverDie has joined #crystal-lang
rvchangue has joined #crystal-lang
badeball has joined #crystal-lang
yopp has quit [Ping timeout: 260 seconds]
[spoiler] has joined #crystal-lang
Cidan has joined #crystal-lang
vifino has joined #crystal-lang
bjmllr has joined #crystal-lang
6JTABS5S2 has joined #crystal-lang
RX14 has joined #crystal-lang
salvor has joined #crystal-lang
Papierkorb has joined #crystal-lang
fowlduck has joined #crystal-lang
sstarr has joined #crystal-lang
_jungh4ns has joined #crystal-lang
guilleiguaran__ has joined #crystal-lang
lokulin has joined #crystal-lang
manveru has joined #crystal-lang
Liothen has joined #crystal-lang
n1ftyn8_ has joined #crystal-lang
endou has joined #crystal-lang
jeromegn has joined #crystal-lang
jhass has joined #crystal-lang
dom96 has joined #crystal-lang
yopp has joined #crystal-lang
A124 has quit [Quit: '']
A124 has joined #crystal-lang
A124 has joined #crystal-lang
A124 has quit [Changing host]
DeBot has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
guilleiguaran__ has quit [Ping timeout: 252 seconds]
tomchap__ has quit [Quit: Textual IRC Client: www.textualapp.com]
tomchapin has joined #crystal-lang
tomchapin has quit [Client Quit]
tomchapin has joined #crystal-lang
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ozra has quit [Ping timeout: 246 seconds]
guilleiguaran__ has joined #crystal-lang
Philpax_ has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
emancu has joined #crystal-lang
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vCyC7
<crystal-gh> crystal/master 0e428d7 Juan Wajnerman: Fix usage of libevent's evdns_getaddrinfo and cancelling of these requests (fixes #1750)
tomchapin has joined #crystal-lang
A124 has quit [Read error: No route to host]
<travis-ci> manastech/crystal#0e428d7 (master - Fix usage of libevent's evdns_getaddrinfo and cancelling of these requests (fixes #1750)): The build passed. https://travis-ci.org/manastech/crystal/builds/85659702
emancu has quit [Remote host closed the connection]
Renich has quit [Quit: Lost terminal]
pawnbox has joined #crystal-lang
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
pawnbox has joined #crystal-lang
havenn has joined #crystal-lang
Cidan has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
zz_Cidan has joined #crystal-lang
zz_Cidan is now known as Cidan
Cidan has quit [Changing host]
Cidan has joined #crystal-lang
globalkeith has joined #crystal-lang
Renich has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olek_poz has joined #crystal-lang
bcardiff has joined #crystal-lang
Renich has quit [Quit: leaving]
BlaXpirit has joined #crystal-lang
Ven has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has quit [Ping timeout: 250 seconds]
nakilon has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
nakilon has quit [Ping timeout: 255 seconds]
nakilon has joined #crystal-lang
Ven has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has quit [Client Quit]
PragTob has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has joined #crystal-lang
globalkeith has joined #crystal-lang
cyjimmy264 has joined #crystal-lang
havenn has quit [Ping timeout: 250 seconds]
Ven has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has joined #crystal-lang
Kendos-Kenlen has joined #crystal-lang
cyjimmy264 has quit [Ping timeout: 260 seconds]
Ven has quit [Ping timeout: 256 seconds]
nakilon has quit [Ping timeout: 260 seconds]
Ven has joined #crystal-lang
Ven_ has joined #crystal-lang
Ven has quit [Ping timeout: 250 seconds]
leafybas_ has quit [Remote host closed the connection]
Kendos-Kenlen has quit [Quit: Konversation terminated!]
Kendos-Kenlen has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybas_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 265 seconds]
c0rt042 has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
olek_poz has quit [Quit: Konversation terminated!]
cyjimmy264 has joined #crystal-lang
ozra has joined #crystal-lang
Ven has joined #crystal-lang
nakilon has joined #crystal-lang
blassin has joined #crystal-lang
<blassin> hey all!
<blassin> anyone using Crystal 0.8 on a mac? :/
<blassin> I'm getting "ld: library not found for -lyaml" if I use the YAML lib
nakilon has quit [Ping timeout: 255 seconds]
sooli has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blassin has quit [Quit: Page closed]
cyjimmy264 has quit [Remote host closed the connection]
cyjimmy264 has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cyjimmy264 has quit [Ping timeout: 264 seconds]
Ven has joined #crystal-lang
trapped has joined #crystal-lang
cyjimmy264 has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
<trapped> can you raise a compile-time warning rather than error (macro raise) inside a macro?
Ven has quit [Ping timeout: 264 seconds]
<waj> trapped: you can use `puts` inside the macro
<trapped> ah right
<trapped> is a compile-time case statement possible too?
<trapped> emitting only the matched code
Ven has joined #crystal-lang
<trapped> i tried the other day but it complained that you couldn't do {% case ... \n when x %} something() {% end %}
Kendos-Kenlen has quit [Quit: Konversation terminated!]
emancu has joined #crystal-lang
<waj> use {% if ... %}
<waj> but the code inside macros is not really crystal
<waj> you can find many examples in the crystal source code
Kendos-Kenlen has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<trapped> that's an ok way to do it i guess
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 244 seconds]
Ven has joined #crystal-lang
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vC93j
<crystal-gh> crystal/master 0c252a3 Juan Wajnerman: Added `sleep` without args to suspend the current fiber forever
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vC9sn
<crystal-gh> crystal/master f0af2c8 Ary Borenszweig: Fixed #1711: fixed some parser issues
Kendos-Kenlen has quit [Quit: Konversation terminated!]
Ven has quit [Ping timeout: 250 seconds]
Kendos-Kenlen has joined #crystal-lang
Kendos-Kenlen has quit [Remote host closed the connection]
Kendos-Kenlen has joined #crystal-lang
Ven has joined #crystal-lang
<travis-ci> manastech/crystal#0c252a3 (master - Added `sleep` without args to suspend the current fiber forever): The build passed. https://travis-ci.org/manastech/crystal/builds/85723751
Ven has quit [Client Quit]
Kendos-Kenlen has quit [Remote host closed the connection]
<travis-ci> manastech/crystal#f0af2c8 (master - Fixed #1711: fixed some parser issues): The build passed. https://travis-ci.org/manastech/crystal/builds/85724005
<DeBot> https://github.com/manastech/crystal/issues/1711 (Incorrect parsing in macro invocation)
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vC9W5
<crystal-gh> crystal/master b407fb6 Guilherme Bernal: Support "run" macro from a directory with spaces in it
<crystal-gh> crystal/master 461fc78 Ary Borenszweig: Merge pull request #1749 from lbguilherme/patch-2...
Ven has joined #crystal-lang
Kendos-Kenlen has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<travis-ci> manastech/crystal#461fc78 (master - Merge pull request #1749 from lbguilherme/patch-2): The build passed. https://travis-ci.org/manastech/crystal/builds/85727333
<DeBot> https://github.com/manastech/crystal/pull/1749 (Support "run" macro from a directory with spaces in it)
Ven has quit [Ping timeout: 250 seconds]
Philpax_ has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
sooli has quit [Ping timeout: 252 seconds]
blassin has joined #crystal-lang
BlaXpirit has quit [Read error: Connection reset by peer]
<blassin> does anyone know how HTTP::Server is supposed to work?
<blassin> I keep getting 'HTTP::Server#initialize' is not expected to be invoked with a block, but a block was given
<blassin> but a lot of code I see uses a block with it... ?
<blassin> or is my class supposed to be a Handler?
emancu has quit [Remote host closed the connection]
emancu has joined #crystal-lang
emancu has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] kostya opened pull request #1751: add params method []? (master...params_fetch) http://git.io/vC92g
Philpax_ has quit [Ping timeout: 240 seconds]
<crystal-gh> [crystal] jhass closed pull request #1751: add params method []? (master...params_fetch) http://git.io/vC92g
<jhass> blassin: can you show your code?
Ven has joined #crystal-lang
<travis-ci> manastech/crystal#5464138 (master - Merge pull request #1751 from kostya/params_fetch): The build passed. https://travis-ci.org/manastech/crystal/builds/85735099
<DeBot> https://github.com/manastech/crystal/pull/1751 (add params method []?)
Ven has quit [Ping timeout: 246 seconds]
c0rt042 has quit [Remote host closed the connection]
emancu has joined #crystal-lang
Ven has joined #crystal-lang
xdougx has joined #crystal-lang
<xdougx> hello
blassin has quit [Quit: Page closed]
<PragTob> hello xdougx
<xdougx> may i ask a question about Logger class?
barosl has quit [Read error: Connection reset by peer]
<jhass> don't ask to ask, just ask ;)
gamemanj has joined #crystal-lang
<xdougx> to start the Logger class is needed to pass a File.new? im trying Logger.new(File.open("./log/development.log", "a+")) but when i call log.info("some log") is not writing on the file
<jhass> I don't remember but it probably doesn't flush right away
<jhass> try you can try setting .sync = true on the IO (File, not Logger)
<xdougx> let me check it
<xdougx> keet not writing on the file
<xdougx> keep*
<xdougx> also im on the last version of crystal
<xdougx> is need to logger.close?
<jhass> as in lastest release or compiled from latest development version
<xdougx> needed*
<jhass> well, it should happen automatically on exit I think
<jhass> let me try
Dreamer3 has joined #crystal-lang
BlaXpirit has joined #crystal-lang
<xdougx> that level
<jhass> xdougx: you set the log level to warn and then log info
<xdougx> level is feltering
<jhass> yes, of course it is
<xdougx> filtering*
<jhass> that's its purpose
<jhass> fatal, error, warn, info, debug
<jhass> 1 2 3 4 5
<jhass> only levels lower or equal will be logged
<xdougx> i think I thought putting WARN would warn, info and debug be available
<jhass> and how would you hide info and debug then?
<xdougx> but now i know is the opposite
<xdougx> now it is just fine :) thank you
<jhass> yw
bcardiff has joined #crystal-lang
<crystal-gh> [crystal] waj closed pull request #1589: Make spawn usage consistent with a single way of calling. (master...f/remove_redundant_spawn) http://git.io/vn7Y5
tilpner has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PragTob has quit [Quit: Leaving]
thor77 has joined #crystal-lang
<thor77> did anyone successfully build the crystal-git aur-pkg in the past few days?
<BlaXpirit> thor77, needs llvm35 and it's not in
<BlaXpirit> last i heard
<jhass> I pushed locking it to llvm35 yesterday
<thor77> ah, llvm35 isn't installed
<jhass> yes, that's the llvm 3.7 issue
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kostya has joined #crystal-lang
<xdougx> crystal can work with rake? ou are something to make the rake job?
<xdougx> or*
blue_deref has joined #crystal-lang
<jhass> I'm not sure what you're asking exactly
<jhass> there's no build tool written in Crystal yet as far as I'm aware. Most seem to use make
<jhass> well, most that use one at all
<xdougx> like ruby, im thinking to build some tasks to help when i build a project, run some services or generate files templates.
shama has joined #crystal-lang
<jhass> nothing prevents you from using rake or any other existing tool
<xdougx> i see, is a possibility
<BlaXpirit> i never got the point of "make"
<thor77> ah, installation works with llvm35 installed, ty @jhass :)
<BlaXpirit> :(
pawnbox has joined #crystal-lang
emancu has quit []
Kendos-Kenlen has quit [Quit: Konversation terminated!]
Ven has joined #crystal-lang
leafybas_ has quit [Ping timeout: 260 seconds]
bmcginty_ has quit [Ping timeout: 260 seconds]
bmcginty has joined #crystal-lang
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vCH98
<crystal-gh> crystal/master 0ece5cb Juan Wajnerman: IO#write always writes the entire slice or raises
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<crystal-gh> [crystal] waj closed pull request #1641: fix bug IO.copy returning wrong count if dst didn't write everything (master...copy-bug-fixing) http://git.io/vc3rk
bcardiff_ has joined #crystal-lang
qard has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vCHQ1
<crystal-gh> crystal/master e718e93 Ary Borenszweig: Merge pull request #1743 from manastech/protected_in_namespace...
bcardiff has quit [Ping timeout: 255 seconds]
bcardiff_ is now known as bcardiff
cyjimmy264 has quit [Ping timeout: 244 seconds]
cyjimmy264 has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyjimmy264 has quit [Ping timeout: 252 seconds]
<travis-ci> manastech/crystal#e718e93 (master - Merge pull request #1743 from manastech/protected_in_namespace): The build passed. https://travis-ci.org/manastech/crystal/builds/85772603
<DeBot> https://github.com/manastech/crystal/pull/1743 (Allow `protected` methods to be called between types in the same namespace)
trapped has joined #crystal-lang
A124 has joined #crystal-lang
greengriminal has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 4 new commits to master: http://git.io/vCHhg
<crystal-gh> crystal/master 874fda1 Joakim Reinert: add byte_format decoding support and specs
<crystal-gh> crystal/master cb15b0f Joakim Reinert: rename write_bytes to write_object in IO
<crystal-gh> crystal/master 9409279 Joakim Reinert: updated byte_format specs to use renamed write method
<travis-ci> manastech/crystal#b9800d7 (master - Merge pull request #1603 from jreinert/byte-format-decoding): The build was broken. https://travis-ci.org/manastech/crystal/builds/85777896
<DeBot> https://github.com/manastech/crystal/pull/1603 (add byte_format decoding support and specs)
greengriminal has quit [Ping timeout: 250 seconds]
greengriminal has joined #crystal-lang
<xdougx> is that possible to Array has a method to_a and having this structure [["a", "b"], ["c", "d"]] when call to_a become {a: "b", c: "d"}
<xdougx> correctio n`to_h`
leafybasil has joined #crystal-lang
<xdougx> forget exists, i have not founded before
kostya has quit [Remote host closed the connection]
leafybasil has quit [Ping timeout: 260 seconds]
mhib has joined #crystal-lang
Excureo has quit [Remote host closed the connection]
Excureo has joined #crystal-lang
globalkeith has joined #crystal-lang
Excureo has quit [Remote host closed the connection]
xdougx has quit []
fowlduck has joined #crystal-lang
blue_deref has quit [Quit: Taking myself out of hear.]
fowlduck has quit [Remote host closed the connection]
thor77 has left #crystal-lang ["Leaving"]
A124 has quit [Quit: '']
<crystal-gh> [crystal] waj pushed 1 new commit to master: http://git.io/vCQRc
<crystal-gh> crystal/master ad47e98 Juan Wajnerman: Logger uses separate fiber to serialize writing the messages (fixes #1748)
<crystal-gh> [crystal] asterite pushed 4 new commits to master: http://git.io/vCQRV
<crystal-gh> crystal/master c83f56b Ary Borenszweig: Remove error output from a couple of specs
<crystal-gh> crystal/master 1356734 Ary Borenszweig: Renamed write_object/read_object to write_bytes/read_bytes. Related to #1603
<crystal-gh> crystal/master 849af44 Ary Borenszweig: Updated Changelog
<travis-ci> manastech/crystal#ad47e98 (master - Logger uses separate fiber to serialize writing the messages (fixes #1748)): The build is still failing. https://travis-ci.org/manastech/crystal/builds/85791440
<DeBot> https://github.com/manastech/crystal/issues/1748 (Logger requires mutex?)
<travis-ci> manastech/crystal#9b8e6c7 (master - Renamed StringIO to MemoryIO): The build was fixed. https://travis-ci.org/manastech/crystal/builds/85791540
A124 has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
sdogruyol has joined #crystal-lang
<sdogruyol> hey
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vCQyT
<crystal-gh> crystal/master 74d5876 Ary Borenszweig: Top level `print` now flushes. Removed `print!`. Fixes #1436
<crystal-gh> crystal/master 25d608d Ary Borenszweig: Crystal 0.9.0
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vCQST
<crystal-gh> crystal/master be93828 Ary Borenszweig: `json_mapping` and `yaml_mapping` are now `JSON.mapping` and `YAML.mapping`
<sdogruyol> wow great job @asterite
<crystal-gh> [crystal] asterite closed pull request #1629: move byte_format to std/ for getting bytes of numbers without io (master...byte-format) http://git.io/vcI6d
<travis-ci> manastech/crystal#25d608d (master - Crystal 0.9.0): The build passed. https://travis-ci.org/manastech/crystal/builds/85800668
mhib has quit [Read error: Connection reset by peer]
greengriminal has joined #crystal-lang
<travis-ci> manastech/crystal#be93828 (master - `json_mapping` and `yaml_mapping` are now `JSON.mapping` and `YAML.mapping`): The build passed. https://travis-ci.org/manastech/crystal/builds/85801122
xdougx has joined #crystal-lang
<xdougx> hello :)
<agargiulo> 0.9.0? :)
<sdogruyol> heheh
<sdogruyol> yeah
<sdogruyol> asterite: congrats
<xdougx> gzz
<xdougx> is there a function that has the same behavior then > ``
<agargiulo> > `` or just ``?
<xdougx> like exec("ls -la")
<agargiulo> ah I haven't come across it yet, sorry
<xdougx> yeah ``
<jhass> >> `ls -la`
<DeBot> jhass: # => "" - http://carc.in/#/r/j4h
<jhass> well
<jhass> >> `ls /`
<DeBot> jhass: # => "bin\nboot\ndev\netc\nhome\nlib\nmnt\nopt\nproc\nroot\nrun\nsbin\nsrv\nsys\ntmp\nusr\nvar\n" - http://carc.in/#/r/j4i
<agargiulo> that's cool
sdogruyol has quit [Remote host closed the connection]
blue_deref has joined #crystal-lang
<xdougx> no, `` exists and im applying, the question, there are any alternative?
<trapped> at this rate we might see crystal 1.0 by christmas
<xdougx> Process can check if an PID is running?
grindhold has quit [Quit: No Ping reply in 180 seconds.]
Renich has joined #crystal-lang
<jhass> xdougx: the generic interface is Process.run
<jhass> and Process.waitpid should be able to
grindhold has joined #crystal-lang
<jhass> in theory, not sure if we expose the right flags
<xdougx> let me test it :)
<jhass> trapped: you can expect 0.10 etc ;)
<trapped> oh right
<xdougx> ohh getpgid is the correct method to check if a pid is running
<jhass> mmh, that just raises Errno if not, right?
bcardiff has quit [Quit: bcardiff]
<xdougx> yes :)
<jhass> iirc waitpid provides some flags that will make it return immediately and you can tell from the return code whether it's still active or not
<xdougx> didnt found this method on the doc and when i call it with Process.waitpid(pid) got undefined method
<jhass> mmh
<jhass> guess it's something like Process.new(pid).wait or something by now
<jhass> as said I'm not even sure we have abstraction over the correct flags, probably not
<jhass> yeah, doesn't look like it
<xdougx> thats fine, with getpgid could've done a good implementantion
<xdougx> i've done...
<xdougx> have a good weekend :D going
xdougx has quit []
fowlduck has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vC745
<crystal-gh> crystal/master bc04330 Ary Borenszweig: Added missing entry about StringIO renamed to MemoryIO in Changelog for 0.9.0
fowlduck has quit [Read error: Connection reset by peer]
fowlduck_ has joined #crystal-lang
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
<travis-ci> manastech/crystal#bc04330 (master - Added missing entry about StringIO renamed to MemoryIO in Changelog for 0.9.0): The build passed. https://travis-ci.org/manastech/crystal/builds/85821423
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<BlaXpirit> :o
ozra has quit [Ping timeout: 246 seconds]
gamemanj has quit [Ping timeout: 240 seconds]
jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.9.0 | Fund Crystals development: http://is.gd/X7PRtI | 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
trapped has joined #crystal-lang
tomchapin has joined #crystal-lang
leafybasil has joined #crystal-lang
bcardiff has joined #crystal-lang
<jhass> asterite: that copy paste went wrong :P
<asterite> Yeah, noticed like 0.1s after I hit send :(
pawnbox has quit [Remote host closed the connection]
<jhass> as usual^^
<asterite> but google groups doesn't have an undo like gmail
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #crystal-lang
greengriminal has quit [Client Quit]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]
tomchapin has joined #crystal-lang
pawnbox has joined #crystal-lang
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nakilon has joined #crystal-lang
<jhass> asterite: mmh, constant lookup in macros changed?
<jhass> ah, off already :/
<asterite> jhass: didn't change as far as I know
<jhass> well, artanis no longer works
<jhass> maybe the context in which the macro is executed changed?
<jhass> mmh, didn't something about when inherited runs change?
<jhass> I think that's it
<jhass> any idea for a workaround?
bcardiff has quit [Quit: bcardiff]
<BlaXpirit> "space required before colon in type restriction" srsly
<BlaXpirit> asterite, pls
blue_deref has quit [Quit: Taking myself out of hear.]
<BlaXpirit> gj, you broke all my libs
nakilon has quit [Ping timeout: 252 seconds]
<asterite> :foo is a symbol
<BlaXpirit> foo: is not a symbol
<asterite> and `foo: bar` is a named argument
<asterite> `foo : Int` is a restriction
<asterite> That's the reason, sorry
<BlaXpirit> it doesn't even matter that it's a symbol, all these things can still be parsed
<asterite> Yes, but for a human it's better if things are visually consistent, and when you see `foo : T` and `foo: T` you can quickly see the meaning
<asterite> BlaXpirit: or you can see it this way, we never intended `def foo(x: Int32)` to be valid syntax, then we realized the mistake and fixed it... maybe a bit too late, but a regex could fix this very easily
<BlaXpirit> asterite, applying a regex to all files is not as easy
<BlaXpirit> well actually it is but first i wanna ensure it's correct
<jhass> git diff and git checkout to the rescue
<agargiulo> and git stash
A124 has quit [Quit: '']
A124 has joined #crystal-lang
tomchapin has joined #crystal-lang
<asterite> Well, actually, we should have made the formatter apply that change and later introduce the breaking change... but the formatter appeared after that change, so that wasn't a good choice, you are right. But now it's a bit too late
<asterite> One think you can do, or I can do it if you want, is to change that rule in the compiler, create a compiler and then run the formatter so it does that for you
<asterite> I'll do it and give you the patch (can you compile the compiler on your machine?)
<BlaXpirit> asterite, oh thanks, but don't bother
<BlaXpirit> im just sitting here with (def [^ ]+\(.+\b): ([A-Z])
<asterite> Ah, ok :)
<BlaXpirit> hm i sure skipped a lot of commas in multiline arrays
<BlaXpirit> was removal of this intentional?
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<BlaXpirit> also i'm pretty sure a: B is still allowed in: lib-fun, struct
<asterite> The skipping of commas is a bug I found, I was surprised to find that too
<BlaXpirit> i thought it was a nice feature :|
<BlaXpirit> some languages have that
<jhass> mmh
<jhass> >> "foo" "bar"
<DeBot> jhass: Syntax error in eval:20: unexpected token: DELIMITER_START - http://carc.in/#/r/j4q
fowlduck_ has quit [Remote host closed the connection]
BlaXpirit has quit [Quit: Konversation]
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]