asterite changed the topic of #crystal-lang to: #crystal-lang The Crystal programming language | http://crystal-lang.org | Crystal 0.6.0 | 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
eli-se has quit [Quit: Leaving...]
weskinner_work has joined #crystal-lang
weskinner_work has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
ponga has joined #crystal-lang
weskinner_work has joined #crystal-lang
weskinner_work has quit [Ping timeout: 264 seconds]
weskinner_mac has joined #crystal-lang
weskinner_mac has quit [Client Quit]
weskinner_work has joined #crystal-lang
weskinner_work has quit [Ping timeout: 256 seconds]
havenwood has joined #crystal-lang
weskinner_work has joined #crystal-lang
weskinner_work has quit [Ping timeout: 252 seconds]
Ven has joined #crystal-lang
weskinner_work has joined #crystal-lang
weskinner_work has quit [Ping timeout: 255 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
weskinner_work has joined #crystal-lang
Ven has joined #crystal-lang
weskinner_work has quit [Ping timeout: 255 seconds]
Ven has quit [Ping timeout: 244 seconds]
Ven has joined #crystal-lang
weskinner_work has joined #crystal-lang
weskinner_work has quit [Ping timeout: 244 seconds]
asterite has joined #crystal-lang
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
ismaelga has joined #crystal-lang
bcardiff has joined #crystal-lang
waj has joined #crystal-lang
weskinner_work has joined #crystal-lang
havenwood has joined #crystal-lang
asterite1 has joined #crystal-lang
asterite has quit [Ping timeout: 246 seconds]
bcardiff1 has joined #crystal-lang
bcardiff has quit [Ping timeout: 240 seconds]
wanderer has joined #crystal-lang
<wanderer> hi, why are some constants for linux octal like O_CREAT etc.?
<jhass> wanderer: copy pasta from the header files
<wanderer> jhass: the linux headers contains octal literals? never seen those being used
waj has quit [Quit: Leaving.]
<wanderer> jhass: i wondered because the runtime contains code like "ifdef darwin xyz = 0x0001 elsif linux xyz = 0000001 end" which looks kind of weird
asterite1 has quit [Quit: Leaving.]
<jhass> /usr/include/bits/fcntl-linux.h:# define O_CREAT 0100
<jhass> is that even octal?
<jhass> >> 0100
<DeBot> jhass: 64
<jhass> oh, it is
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
asterite has joined #crystal-lang
havenwood has quit [Remote host closed the connection]
<asterite> Yes, I'm not sure I like that octal notation. I'd prefer 0o100. But for writing code against C like that it's ok, waj likes it too. But… I'm not sure :)
havenwood has joined #crystal-lang
waj has joined #crystal-lang
wanderer has quit [Ping timeout: 246 seconds]
<Ven> asterite: I'd also vote for 0o :)
<Ven> or 8o :P
<Ven> (just to be sure to confuse people!)
waj has quit [Quit: Leaving.]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asterite1 has joined #crystal-lang
asterite1 has quit [Client Quit]
asterite has quit [Ping timeout: 246 seconds]
eli-se has joined #crystal-lang
<eli-se> hi
<jhass> hi
<havenwood> hi
shadeslayer has quit [Ping timeout: 264 seconds]
shadeslayer has joined #crystal-lang
shama has joined #crystal-lang
asterite has joined #crystal-lang
weskinner_mac has joined #crystal-lang
weskinner_mac has quit [Quit: weskinner_mac]
eli-se has quit [Quit: Leaving...]
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
eli-se has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
waj has joined #crystal-lang
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
waj1 has joined #crystal-lang
waj has quit [Ping timeout: 252 seconds]
ismaelga has joined #crystal-lang
asterite has quit [Quit: Leaving.]
asterite has joined #crystal-lang
eli-se has quit [Quit: Leaving...]
asterite1 has joined #crystal-lang
asterite has quit [Ping timeout: 250 seconds]
asterite1 has quit [Ping timeout: 244 seconds]
waj1 has quit [Quit: Leaving.]
waj has joined #crystal-lang
bcardiff1 has quit [Quit: Leaving.]
eli-se has joined #crystal-lang
weskinner_work has quit [Ping timeout: 252 seconds]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
waj has quit [Quit: Leaving.]
waj has joined #crystal-lang
wanderer has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 8 new commits to master: http://git.io/htZI
<crystal-gh> crystal/master fd6bb06 Ary Borenszweig: Hierarchy tool: justify instance vars names, types and bytesizes
<crystal-gh> crystal/master 4fff077 Ary Borenszweig: Docs: block arguments were not being shown on argless methods
<crystal-gh> crystal/master 63382fd Ary Borenszweig: Document String#gsub, and changed how `String#gsub(&block)` works, and some performance improvements
eli-se has quit [Quit: Leaving...]
waj has quit [Quit: Leaving.]
waj has joined #crystal-lang
waj has quit [Client Quit]
<travis-ci> manastech/crystal#2151 (master - cc7ddba : Ary Borenszweig): The build passed.
<wanderer> if you have the code `lib bla fun x end struct xyz end end`, why is it bla.x but bla::xyz?
<wanderer> "Bug: shouldn't be adding a Def in a LibType" is there some way to make this work?
<jhass> wanderer: second no, first: because the former is calling a function and the later is accessing a constant