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
<[spoiler]> ¬_¬ sigh @ #1614
<DeBot> https://github.com/manastech/crystal/issues/1614 (Version 0.8.0 fails to compile with LLVM 3.7)
<[spoiler]> the "fix" in that commit isn't really a fix because mesa requires llvm package, not sure if it would work with llvm35
<[spoiler]> oh there's a vagrant file in the repo
<[spoiler]> I could use vagrant
fowlduck_ has quit [Remote host closed the connection]
adler has joined #crystal-lang
adam| is now known as adam12
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
McDougal has joined #crystal-lang
leafybasil has joined #crystal-lang
<McDougal> Hi, is Crystal ready for web apps?
<adler> There are several frameworks you can choose
<McDougal> adler: Are there any libs to handle secure sessions?
leafybasil has quit [Ping timeout: 256 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
pawnbox has joined #crystal-lang
adler has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
Tetsumi has quit [Remote host closed the connection]
leafybasil has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Sadin has quit [Ping timeout: 240 seconds]
slash_nick has quit [Ping timeout: 244 seconds]
slash_nick has joined #crystal-lang
ssvb has quit [Ping timeout: 240 seconds]
adler has joined #crystal-lang
adler has quit [Remote host closed the connection]
adler has joined #crystal-lang
bmcginty_ has quit [Ping timeout: 272 seconds]
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 255 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 268 seconds]
Raimondi has quit [Read error: Connection reset by peer]
barosl has quit [Read error: Connection reset by peer]
Raimondi has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
rosylilly has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
matp_ has joined #crystal-lang
matp has quit [Ping timeout: 264 seconds]
alsm has joined #crystal-lang
Guest1413421 has joined #crystal-lang
tatey_ has joined #crystal-lang
<Guest1413421> can i call a function with a function defined through an macro-argument?
<Guest1413421> *call a class
<Guest1413421> example: macro a f; Test.{{ f }};end;
<Guest1413421> and which should f have in this example?
<Guest1413421> *which type
leafybasil has joined #crystal-lang
<adler> >> macro a f; Test.{{ f }};end;
<DeBot> adler: #=> nil - http://carc.in/#/r/l37
<adler> yes it goes this way
BlaXpirit has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
leafybasil has quit [Ping timeout: 240 seconds]
<Guest1413421> then it seems like i'm doing it wrong
<adler> There are several things to fix: 1. Test("a") should be Test.new("a") since you're initializing an instance.
<adler> 2. Test should initialize with only one argument since you set initialize(@a, @b) but init it with Test.new("a")
<BlaXpirit> what exactly is the point of a macro here?
<BlaXpirit> oh nvm i see
matp_ is now known as matp
<adler> 3. arguments in the macro should be expanded like {{arg}}
<adler> so your code should be
McDougal has joined #crystal-lang
<Guest1413421> adler: uh, thank you :) i'm a bit confused about this macro stuff, never saw that in another language before
<adler> Nope
<adler> :)
tatey_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
McDougal has quit [Ping timeout: 260 seconds]
Guest1413421 has quit [Quit: Page closed]
Keziolio has joined #crystal-lang
jamie_ca has quit [Ping timeout: 240 seconds]
jamie_ca has joined #crystal-lang
leafybasil has joined #crystal-lang
rosylilly has quit [Remote host closed the connection]
leafybasil has quit [Ping timeout: 265 seconds]
trapped has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
barosl has joined #crystal-lang
McDougal has joined #crystal-lang
trapped has joined #crystal-lang
blue_deref has quit [Quit: bbn]
leafybasil has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doddok has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
<[spoiler]> Ugh. #1614 is giving me so much grief right now
<DeBot> https://github.com/manastech/crystal/issues/1614 (Version 0.8.0 fails to compile with LLVM 3.7)
matp has quit [Ping timeout: 256 seconds]
<BlaXpirit> [spoiler], why?
<[spoiler]> cause I can't downgrade to llvm35 package on arch
trapped has joined #crystal-lang
<[spoiler]> and the vagrant box is being a shit
<BlaXpirit> maybe u have a reason for that, i was able to downgrade
<[spoiler]> dependencies
<[spoiler]> :/
<[spoiler]> Some crap depends on llvm3.6+
<[spoiler]> I don't think there's even a single time where I used VirtualBox and thought to myself "Oh jolly pumpkins! What a wonderous, pleasant and euphoric experience this is!"
<BlaXpirit> aint nothing wrong with virtualbox
matp has joined #crystal-lang
<[spoiler]> seems the network adapter type was being a pompous little bitch. Another one works
<[spoiler]> \o/
noumar has joined #crystal-lang
<noumar> Hi. I'm new to Crystal and have been trying to use OpenSSL. But I need to read X509 certifcates and the Stdlib doesn't support this. So I tried installing openssl.cr with shards. But I can't require it as always fails with "Error in ./libs/openssl/lib/lib_crypto.cr:12: can't alias EVP_MD because it's already defined as a type def". What am I doing wrong?
pawnbox has quit [Ping timeout: 268 seconds]
adler has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
gamemanj has joined #crystal-lang
<[spoiler]> wotfok
<[spoiler]> it takes like over 2GB to compile?
<[spoiler]> but i gave mt VM only 2 GB
<[spoiler]> ¬_¬
xdougx has joined #crystal-lang
<gamemanj> >2GB of memory to compile? That's a bit much, surely?
<xdougx> crystal slowdown his process? started processing 60 lines per second, then now its just 3
<jhass> you probably start to get lock contention on the DB
<xdougx> im just thinking on it
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<xdougx> yeah, my CPU and RAM on server is stable and keep processing, algo im using RDS on AWS with postgresql
<[spoiler]> gamemanj: according to #635 it's normal :/
<DeBot> https://github.com/manastech/crystal/issues/635 (build err: Cannot allocate memory)
<[spoiler]> This PC only has 4GB so VBox won't even let me allocate more than 3GB
<[spoiler]> oh
<jhass> try zram in the VM
<[spoiler]> the build succeesed now
<[spoiler]> succeeded*
<[spoiler]> woo!
<jhass> btw setting up a chroot and building crystal-git there would've been easy too :P
<[spoiler]> jhass: I don't follow O: would pacman work inside chroot?
<[spoiler]> If you meant that I need to instal llvm35 inside the chroot or w/e?
adler has joined #crystal-lang
<jhass> pacstrap -cd crystal_chroot base; systemd-nspawn -D crystal_chroot; fetch & build crystal-git; Ctrl+D; pacman -U crystal_chroot/root/crystal-git/crystal-git*.tar.xz
* [spoiler] saves that to try and use later
<[spoiler]> I'm getting ready for work; might try it there
noumar has quit [Ping timeout: 246 seconds]
Renich has joined #crystal-lang
tatey_ has joined #crystal-lang
adler_ has joined #crystal-lang
adler has quit [Ping timeout: 255 seconds]
Bofu2U has quit [Read error: Connection reset by peer]
tatey_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 268 seconds]
pawnbox has joined #crystal-lang
Bofu2U has joined #crystal-lang
trapped has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
noumar has joined #crystal-lang
McDougal has quit [Quit: Textual IRC Client: www.textualapp.com]
<xdougx> RDS 100% cpu usage thats why is slow
<crystal-gh> [crystal] adlerhsieh opened pull request #1835: Add documentation to Tempfile (master...add-doc) http://git.io/vWxBf
adler_ has quit [Remote host closed the connection]
<crystal-gh> [crystal] MakeNowJust opened pull request #1836: Improvement `Range#sum` performance (master...feature/range-sum) http://git.io/vWxV1
Bofu2U has quit [Ping timeout: 250 seconds]
Bofu2U has joined #crystal-lang
<[spoiler]> I am convinced I need a new laptop at home, because everything just worked fine with VBox @ work
pawnbox has joined #crystal-lang
Bofu2U has quit [Read error: Connection reset by peer]
Bofu2U has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
gamemanj has quit [Ping timeout: 260 seconds]
adler_ has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vWpI5
<crystal-gh> crystal/master 72c4a48 Adler: add doc to Tempfile
<crystal-gh> crystal/master 87f3087 Ary Borenszweig: Merge pull request #1835 from adlerhsieh/add-doc...
adler has joined #crystal-lang
adler_ has quit [Read error: Connection reset by peer]
adler has quit [Remote host closed the connection]
adler has joined #crystal-lang
blassin has joined #crystal-lang
<blassin> hey!
<blassin> does anyone know why we need commas again for multiline hashes?
<blassin> not needing to type them was SO handy
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
<travis-ci> manastech/crystal#87f3087 (master - Merge pull request #1835 from adlerhsieh/add-doc): The build passed. https://travis-ci.org/manastech/crystal/builds/88131322
<DeBot> https://github.com/manastech/crystal/pull/1835 (Add documentation to Tempfile)
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
Bofu2U has quit [Read error: Connection reset by peer]
<[spoiler]> blassin: it makes more sense to type them, imho
<blassin> ok, it could be optional
Bofu2U has joined #crystal-lang
greengriminal has joined #crystal-lang
BlaXpirit has joined #crystal-lang
bmcginty has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
Bofu2U has quit [Quit: Textual IRC Client: www.textualapp.com]
NeverDie has joined #crystal-lang
zz_Cidan is now known as Cidan
shama has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
adler has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
blassin has quit [Quit: Page closed]
Renich has quit [Ping timeout: 252 seconds]
Renich has joined #crystal-lang
<crystal-gh> [crystal] omninonsense opened pull request #1837: minor improvements to `IO::ByteFormat` and `Slice` (master...io_and_slice_patches) http://git.io/vWhe6
NeverDie has quit [Ping timeout: 268 seconds]
NeverDie has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alsm has quit [Ping timeout: 272 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
leafybas_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 272 seconds]
leafybas_ has quit [Ping timeout: 244 seconds]
fowlduck has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
<[spoiler]> Erm. Should it be Slice(T)::ReverseItemIterator(T), or Slice(T)::ItemReverseIterator(T) for a ReverseIterator
<[spoiler]> nvm
<[spoiler]> Array calles it ReverseIterator
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
pawnbox has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
NeverDie has joined #crystal-lang
alsm has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
alsm has quit [Ping timeout: 264 seconds]
alsm has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
Renich has quit [Ping timeout: 246 seconds]
Renich has joined #crystal-lang
<[spoiler]> I hate rebasing stuff, I always fuck it up
xdougx has quit []
Renich has quit [Quit: leaving]
alsm has quit [Ping timeout: 268 seconds]
NeverDie_ has joined #crystal-lang
NeverDie has quit [Ping timeout: 246 seconds]
NeverDie_ has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vWjOY
<crystal-gh> crystal/master f6f5e90 Nino Miletich: minor improvements to `IO::ByteFormat` and `Slice`...
<crystal-gh> crystal/master 9ae1b5c Ary Borenszweig: Merge pull request #1837 from omninonsense/io_and_slice_patches...
<travis-ci> manastech/crystal#9ae1b5c (master - Merge pull request #1837 from omninonsense/io_and_slice_patches): The build passed. https://travis-ci.org/manastech/crystal/builds/88201400
<DeBot> https://github.com/manastech/crystal/pull/1837 (minor improvements to `IO::ByteFormat` and `Slice`)
blue_deref has joined #crystal-lang
unshadow has joined #crystal-lang
unshadow has quit [Client Quit]
unshadow has joined #crystal-lang
tatey_ has joined #crystal-lang
tatey_ has quit [Client Quit]
kulelu88 has joined #crystal-lang
kulelu88 has quit [Changing host]
kulelu88 has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
NeverDie has joined #crystal-lang
blue_deref has quit [Ping timeout: 244 seconds]
alsm has joined #crystal-lang
leafybasil has joined #crystal-lang
tatey_ has joined #crystal-lang
blue_deref has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
fowlduck has quit [Remote host closed the connection]
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
unshadow has quit [Quit: leaving]
alsm has quit [Ping timeout: 268 seconds]
greengriminal has quit [Quit: Leaving]
McDougal has joined #crystal-lang
leafybasil has joined #crystal-lang
NeverDie has joined #crystal-lang
blue_deref has quit [Quit: bbn]
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
McDougal has joined #crystal-lang
BlaXpirit has quit [Remote host closed the connection]
McDougal has quit [Client Quit]
McDougal has joined #crystal-lang
tatey_ has quit [Quit: Textual IRC Client: www.textualapp.com]
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]