ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.19.4 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
x0f has quit [Ping timeout: 256 seconds]
shawn42 has quit [Quit: Connection closed for inactivity]
x0f has joined #crystal-lang
soveran has quit [Remote host closed the connection]
fedruantine has joined #crystal-lang
soveran has joined #crystal-lang
<crystal-gh> [crystal] lbguilherme opened pull request #3520: Raises on failure to run a process (Fixes #3517) (master...raise_on_process_exec_error) https://git.io/vX09j
soveran has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] philnash opened pull request #3521: Allow HTTP::Client block initializer to be used when passing an URI (master...http-client-blocks) https://git.io/vX0dm
<FromGitter> <johnjansen> @all Metaphone and Double Metaphone now available https://github.com/johnjansen/metaphone
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 258 seconds]
soveran has joined #crystal-lang
pawnbox has joined #crystal-lang
soveran has quit [Ping timeout: 256 seconds]
p0p0pr37_ has joined #crystal-lang
p0p0pr37 has quit [Ping timeout: 260 seconds]
p0p0pr37_ is now known as p0p0pr37
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 268 seconds]
pawnbox has joined #crystal-lang
<FromGitter> <sdogruyol> @johnjansen just learned something new :) Thanks
<FromGitter> <johnjansen> oh and Soundex https://github.com/johnjansen/soundex ⏎ and WhiteSimilarity https://github.com/johnjansen/white_similarity ⏎ ⏎ one day ill organize the code properly ;-) [https://gitter.im/crystal-lang/crystal?at=58216ce86cb72076304cb352]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
bjz has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
Philpax_ has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
lacour has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 244 seconds]
mark_66 has joined #crystal-lang
pawnbox has joined #crystal-lang
bjz has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox_ has joined #crystal-lang
bjz has joined #crystal-lang
bjz has quit [Client Quit]
pawnbox has quit [Ping timeout: 256 seconds]
pawnbox_ has quit [Ping timeout: 256 seconds]
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
bjz has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<FromGitter> <ysbaddaden> @johnjansen cool! what about grouping them as a single "phonetic" shard?
jeromegn_ has quit [Read error: Connection reset by peer]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vXEWh
<crystal-gh> crystal/master 2ce8c24 Ary Borenszweig: Compiler: incorrect codegen code for casting a nilable type to a virtual type. Fixes #3512
jeromegn_ has joined #crystal-lang
<travis-ci> crystal-lang/crystal#2ce8c24 (master - Compiler: incorrect codegen code for casting a nilable type to a virtual type. Fixes #3512): The build has errored. https://travis-ci.org/crystal-lang/crystal/builds/174151979
<DeBot> https://github.com/crystal-lang/crystal/issues/3512 (Module validation failed: Stored value type does not match pointer operand type!)
<travis-ci> crystal-lang/crystal#2ce8c24 (master - Compiler: incorrect codegen code for casting a nilable type to a virtual type. Fixes #3512): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/174151979
<DeBot> https://github.com/crystal-lang/crystal/issues/3512 (Module validation failed: Stored value type does not match pointer operand type!)
pawnbox has quit [Ping timeout: 244 seconds]
bjz has quit [Ping timeout: 246 seconds]
bjz has joined #crystal-lang
soveran has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<FromGitter> <acterhd> Can I use desktop OpenGL (GLEW, GLFW) with Crystal?
<txdv> da
pawnbox has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
mark_66 has joined #crystal-lang
soveran has joined #crystal-lang
<FromGitter> <acterhd> In my country (Russia) "da" interpret as "yes".
[spoiler] has quit [Quit: Cheers!]
<txdv> i know
meals has joined #crystal-lang
shawn42 has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
<FromGitter> <ysbaddaden> @acterhd yes, there are some SDL examples in `samples/sdl` (with libsdl bindings) and if you write bindings for the OpenGL C functions, you should be able to do 3D.
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Philpax_ has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
<FromGitter> <johnjansen> @ysbaddaden yeah ive been thinking about that, ill probably do that tonight (today if the election sidetracks me) . ⏎ Its almost an exact copy of the Ruby Text gem, which is exactly as you described. The code is also a bit of a mess IMO, so i want to do a big refactor when time allows :-)
<FromGitter> <ysbaddaden> great !
w400z has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<FromGitter> <johnjansen> @ysbaddaden thanks for the encouragement ;-) … im starting to wonder how alot of ruby code actually does its job, one example in this original code … a method which would return (Nil | Int32 | String | Array(String)), what it was meant to return (Nil | String) … sloppy IMO
pawnbox has quit [Remote host closed the connection]
hako_ has quit [Ping timeout: 260 seconds]
mark_66 has quit [Quit: Leaving.]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Ping timeout: 252 seconds]
hako_ has joined #crystal-lang
crystal-lang040 has joined #crystal-lang
<FromGitter> <johnjansen> @ysbaddaden all merged together into a Text shard https://github.com/johnjansen/text including Stemmer, Soundex, Metaphone, Double Metaphone and White Similarity
crystal-lang040 has quit [Ping timeout: 260 seconds]
<FromGitter> <johnjansen> anyone know what this is about when doing a `crystal deps` ⏎ `git ls-tree -r --full-tree --name-only v0.1.0 -- shard.yml (). Maybe you didn't install git?`
<FromGitter> <johnjansen> scratch that, note to self, versioning tags need a `v` prefix i.e. `v0.1.0` not `0.1.0`
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
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
hako_ has quit [Ping timeout: 260 seconds]
hako_ has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 258 seconds]
soveran has joined #crystal-lang
<FromGitter> <johnjansen> sanity check please … ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=58221969df5ae9664530253a]
<BlaXpirit> johnjansen, hm i think the default is just returned, not inserted into the hash
soveran has quit [Ping timeout: 256 seconds]
<BlaXpirit> `k = Hash(String, Array(String)).new; (k["1"] ||= [] of String) << "Hi"`
<FromGitter> <johnjansen> Oleh it with something other than an array
<FromGitter> <johnjansen> i know you can do this, i just cant remember how
<BlaXpirit> what
<FromGitter> <johnjansen> found it
<FromGitter> <johnjansen> its meant to be like this ⏎ ⏎ ``` h1 = Hash(String, Array(String)).new { |h, k| h[k] = [] of String }``` [https://gitter.im/crystal-lang/crystal?at=58221bebe462097a302465eb]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
Jomakasi has joined #crystal-lang
meals has quit [Quit: Page closed]
vasilakisfil has joined #crystal-lang
<vasilakisfil> hello
<vasilakisfil> I get this error when I try to install crystal: https://gist.github.com/vasilakisfil/7dc4896f40a1231cfb87f3327ac7ebf0
<Yxhuvud> a missing dependency perhaps? What OS do you use? Some have precompiled binaries available
shawn42 has quit [Quit: Connection closed for inactivity]
soveran has quit [Remote host closed the connection]
<vasilakisfil> anyway I installed it using ubuntu apt-get
<vasilakisfil> another thing: how can I disable logger for kemal ?
<FromGitter> <jwoertink> `Kemal.config.logging = false`
bjz has joined #crystal-lang
<vasilakisfil> right thanks
<vasilakisfil> and last question: do you know how can I make kemal (or the server that it uses) to pre-fork multiple processes of the same kemal app ?
triangles has joined #crystal-lang
soveran has joined #crystal-lang
vasilakisfil has quit [Quit: Konversation terminated!]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Client Quit]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
<FromGitter> <jwoertink> Is there any difference between `crystal deps` and `shards install`?
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
bjz has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
<FromGitter> <johnjansen> @jwoertink i saw something the other day that `crystal deps` just wraps `shards …`
<FromGitter> <jwoertink> That's what I was thinking. I saw somewhere there used to be a `Projectfile` or something like that
<FromGitter> <jwoertink> Looking at the code, it looks like you can use either way https://github.com/crystal-lang/shards/blob/master/src/resolvers/path.cr#L15
<FromGitter> <johnjansen> the key is the wording on this line `https://github.com/crystal-lang/shards/blob/master/src/resolvers/path.cr#L19`
<FromGitter> <jwoertink> ah yup. I like the yml way better anyway
<FromGitter> <johnjansen> im not even going to bother looking at the legacy one ;-)
soveran has quit [Remote host closed the connection]
shawn42 has joined #crystal-lang
soveran has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lacour has joined #crystal-lang
Renich has joined #crystal-lang
Yxhuvud has quit [Remote host closed the connection]
Yxhuvud has joined #crystal-lang
pawnbox has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has quit [Ping timeout: 256 seconds]
soveran has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 258 seconds]
Renich has quit [Quit: leaving]