jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.9.1 | 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
Cidan is now known as zz_Cidan
NeverDie has joined #crystal-lang
xd1le has joined #crystal-lang
xd1le has quit [Quit: restarting]
xd1le has joined #crystal-lang
xd1le has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
NeverDie has quit [Quit: http://radiux.io/]
NeverDie has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 2 new commits to master: http://git.io/v8yBu
<crystal-gh> crystal/master ebf3ebe Adler: add documentation to Hash [ci skip]
<crystal-gh> crystal/master 34eebfb Jonne Haß: Merge pull request #1879 from adlerhsieh/add-doc...
<travis-ci> manastech/crystal#34eebfb (master - Merge pull request #1879 from adlerhsieh/add-doc): The build passed. https://travis-ci.org/manastech/crystal/builds/90445175
<DeBot> https://github.com/manastech/crystal/pull/1879 (add documentation to several Hash methods)
blue_deref has quit [Quit: bbn]
olek_poz has joined #crystal-lang
pawnbox_ has joined #crystal-lang
CodiS has joined #crystal-lang
<CodiS> Hi, is crystal taking any ideas from erlang such as OTP, pub sub processes for distributed fault tolerant apps?
olek_poz has quit [Ping timeout: 260 seconds]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
fowlduck has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
fowlduck_ has joined #crystal-lang
fowlduck has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Ping timeout: 276 seconds]
pawnbox_ has joined #crystal-lang
ponga has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 255 seconds]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #crystal-lang
CodiS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has quit []
BlaXpirit has joined #crystal-lang
fowlduck_ has quit [Remote host closed the connection]
Sadin has quit [Ping timeout: 265 seconds]
CodiS has joined #crystal-lang
CodiS has quit [Client Quit]
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
alsm has joined #crystal-lang
CodiS has joined #crystal-lang
CodiS has quit [Client Quit]
Raimondi has quit [Read error: Connection reset by peer]
Raimondi has joined #crystal-lang
alsm has quit [Remote host closed the connection]
<doddok> hi, i try to run example https://github.com/werner/todo_crystal
<doddok> and get error http://pastie.org/10550015
<doddok> ok, found error
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
trapped has joined #crystal-lang
CodiS has joined #crystal-lang
CodiS has quit [Ping timeout: 246 seconds]
BlaXpirit has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 250 seconds]
<doddok> require "crypto/bcrypt"
<doddok> Crypto::Bcrypt.digest(raw_password, 9)
<doddok> error is here
<doddok> do u know how to fix?
nakilon has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
pawnbox_ has joined #crystal-lang
leafybas_ has quit [Read error: Connection reset by peer]
leafybas_ has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
nakilon has quit [Ping timeout: 250 seconds]
<Davy_CC> doddok: what version do you have?
<doddok> crystal 9.1
<BlaXpirit> that's a nice version
<doddok> instead Crypto::Bcrypt.digest(raw_password, 9)
<doddok> i use Crypto::Bcrypt::Password.create(raw_password, cost: 9)
<Davy_CC> how about `Crypto::Bcrypt.hash_secret("password", 9)`
<doddok> is better?
<doddok> another method Crypto::Bcrypt.verify(password, user["password"])
<doddok> seems doesn\t exist
<Davy_CC> I read the code, and I found there is only two class method in Bcrypt, .new and .hash_secret
<doddok> yes
<Davy_CC> Crypto::Bcrypt::Password is a higher level interface to Crypto::Bcrypt
<Davy_CC> It's fine to use this
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 272 seconds]
<trapped> is there any way to write multiline string interpolations? http://carc.in/#/r/mau
<BlaXpirit> trapped, wait what
<trapped> yeah
<trapped> like in the snippet
<BlaXpirit> that's crazy, probably no
<BlaXpirit> trapped, http://carc.in/#/r/maz
<trapped> oh cool
<trapped> perfect, thank you
<BlaXpirit> just need ( )
Guest14 has joined #crystal-lang
<Guest14> Hi there, is there any ssh library for crystal?
olek_poz has joined #crystal-lang
<Guest14> nice thanks!
<doddok> wtat does "**" mean int the end ../src/**
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 240 seconds]
<trapped> doddok: recursive glob
<trapped> doddok: picks all files and all folders
<trapped> and files in folders
Guest14 has quit [Quit: Textual IRC Client: www.textualapp.com]
meskyanichi has joined #crystal-lang
meskyanichi has left #crystal-lang [#crystal-lang]
meskyanichi has joined #crystal-lang
wmoxam has quit [*.net *.split]
trajing has quit [*.net *.split]
sardaukar has quit [*.net *.split]
wmoxam has joined #crystal-lang
sardaukar has joined #crystal-lang
trajing has joined #crystal-lang
<crystal-gh> [crystal] trapped opened pull request #1882: Add 'label' tag to HTML::Builder (master...master) http://git.io/v8H6f
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 240 seconds]
leafybas_ has quit [Read error: Connection reset by peer]
leafybas_ has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
blue_deref has joined #crystal-lang
<crystal-gh> [crystal] asterite opened pull request #1883: Make `JSON.parse` return `JSON::Any`, and make it easy to traverse a dynamic JSON structure. Fixes #1832 (master...json_any) http://git.io/v8QTR
Ven_ has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 246 seconds]
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
meskyanichi has quit [Read error: Connection reset by peer]
BlaXpirit has quit [Quit: Konversation]
meskyanichi has joined #crystal-lang
leafybas_ has quit [Read error: Connection reset by peer]
leafybas_ has joined #crystal-lang
meskyanichi has quit []
Ven_ has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 240 seconds]
Ven__ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Davy_CC> Is the syntax spec already done? Because when I am cross-compiling Crystal from Linux to Windows on this fork https://github.com/leiacoder/crystal/tree/win32 , it throws 'trailing `until` is not supported' (using 0.9.1 to compile 0.7.2 source)
Ven_ has joined #crystal-lang
BlaXpirit has joined #crystal-lang
Ven_ has quit [Client Quit]
NeverDie has joined #crystal-lang
NeverDie_ has joined #crystal-lang
pawnbox_ has joined #crystal-lang
NeverDie has quit [Ping timeout: 240 seconds]
Sadin has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
fowlduck has joined #crystal-lang
NeverDie_ is now known as NeveriDie
NeveriDie is now known as NeverDie
<jhass> Davy_CC: no, everything is still allowed to (and I expect a bunch of things will) change before 1.0
olek_poz has quit [Ping timeout: 260 seconds]
xdougx has joined #crystal-lang
xdougx has quit [Remote host closed the connection]
xdougx has joined #crystal-lang
shadeslayer has quit [Ping timeout: 250 seconds]
shadeslayer has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
<doddok> you exctracted part of llvm and include in xrystal compiler?
<doddok> because installation doesnot requre llvm
<jhass> doddok: llvm (only) provides static libraries, so the linking always includes them into the binary
<jhass> that's listing the dynamically linked libraries
<doddok> seems no llvm libs
Ven_ has joined #crystal-lang
<doddok> i tried to compile and used strace
<doddok> no opened llvm files
<jhass> doddok: you would need to use -ff, the linker is forked off
leafyba__ has joined #crystal-lang
leafyba__ has quit [Remote host closed the connection]
leafyba__ has joined #crystal-lang
<jhass> doddok: or do you mean compiling a regular crystal program, not crystal itself?
<doddok> yes
<jhass> in the latter case look up what static linking is
<doddok> regular
<jhass> so, please look up what static linking is
leafybas_ has quit [Ping timeout: 250 seconds]
Ven_ has quit [Read error: Connection reset by peer]
Ven__ has joined #crystal-lang
leafyba__ has quit [Ping timeout: 240 seconds]
A124 has quit [Ping timeout: 260 seconds]
A124 has joined #crystal-lang
trajing has quit [Quit: ZNC - 1.6.0 - http://znc.in]
RX14 has quit [Quit: Fuck this shit, I'm out!]
nakilon has joined #crystal-lang
trajing has joined #crystal-lang
RX14 has joined #crystal-lang
Ven__ has quit [Read error: Connection reset by peer]
nakilon has quit [Ping timeout: 244 seconds]
Ven_ has joined #crystal-lang
A124 has quit [Ping timeout: 276 seconds]
A124 has joined #crystal-lang
leafybas_ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
BlaXpirit has quit [Quit: Konversation]
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Remote host closed the connection]
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Remote host closed the connection]
leafybas_ has quit [Ping timeout: 244 seconds]
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Remote host closed the connection]
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Client Quit]
warmwaffles has joined #crystal-lang
Raimondii has joined #crystal-lang
<warmwaffles> anyone use crystal with opengl yet?
Raimondi has quit [Ping timeout: 240 seconds]
Sadin has quit [Ping timeout: 252 seconds]
Raimondii is now known as Raimondi
BlaXpirit has joined #crystal-lang
Ven_ has joined #crystal-lang
olek_poz has joined #crystal-lang
sdleffler has joined #crystal-lang
Excureo has quit [Remote host closed the connection]
sdleffler has quit [Client Quit]
<doddok> statistic for ametista web framework http://pastie.org/10551280
<doddok> interesting numbers
fowlduck has joined #crystal-lang
Ven_ has quit [Ping timeout: 250 seconds]
Excureo has joined #crystal-lang
<doddok> rust-nickel web fw http://pastie.org/10551299
nakilon has joined #crystal-lang
Sadin has joined #crystal-lang
nakilon has quit [Ping timeout: 260 seconds]
Sadin has quit [Client Quit]
Sadin has joined #crystal-lang
Sadin has quit [Remote host closed the connection]
doddok has quit [Quit: Leaving]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 276 seconds]
feifan_ has joined #crystal-lang
feifan_ has quit [Client Quit]
nakilon has joined #crystal-lang
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]
Ven_ has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
Ven_ has quit [Ping timeout: 276 seconds]