jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.14.1 | 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
Cidan is now known as zz_Cidan
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
<leafybasi> I don;t suppose anyone can tell me why https://gist.github.com/barisbalic/7e1e99220d2c9e4811b487b85403e31f breaks with "unexpected end of http response"? Judging by docs, the code i've written is valid.
anthony_ has joined #crystal-lang
ponga has quit []
mgarciaisaia has joined #crystal-lang
pawnbox has joined #crystal-lang
mgarciaisaia has quit [Read error: No route to host]
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
mgarciaisaia has joined #crystal-lang
tomchapin has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
mgarciaisaia has left #crystal-lang [#crystal-lang]
bcardiff has joined #crystal-lang
pawnbox has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
ozra has quit [Ping timeout: 264 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
<adam12> leafybasi: Is it possible that it's the remote host you're connecting to? I changed it to Google and it works as expected.
<leafybasi> adam12: yeah I noticed that after some more tom foolery, I suspect its something to do with one of the several layers of "transparent" proxying and caching
<leafybasi> I have in the past had trouble with windows clients trying to talk to resources behind cloudflare
sorbo_ has joined #crystal-lang
sorbo_ has left #crystal-lang [#crystal-lang]
A124 has quit [Read error: Connection reset by peer]
A124 has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
anthony_ has quit [Ping timeout: 244 seconds]
bcardiff has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
willl has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Ping timeout: 244 seconds]
bcardiff has quit [Quit: bcardiff]
Svenskunganka has joined #crystal-lang
<Svenskunganka> Hello, Crystals! I'm just getting into Crystal and coming from a Javascript background, and I'm looking for a way to create a WebSocket-only HTTP-server (basically, no HTTP endpoints except for upgrading the connection) and I can't seem to find much information on how I would create a WebSocket server apart from the API documentation - but since I'm still very new to the language there are some parts of the API that does
Svenskunganka has quit [Quit: Page closed]
anthony has joined #crystal-lang
triangles has joined #crystal-lang
pawnbox has joined #crystal-lang
bcardiff has joined #crystal-lang
anthony has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
freebrirdherman has joined #crystal-lang
<freebrirdherman> Hello, I was wondering what the proper procedure was for installing bindings for use in crystal, for example https://github.com/manastech/crystal-sqlite3
<freebrirdherman> Would I just clone the repo and require sqlite3.cr in the src directory, or is there a package manager avaliable to pull dependencies/packages in?
<freebrirdherman> I took a look at shards, although I didn't quiet figure out how to use it to install shards onto the system or list shards avaliable
<freebrirdherman> More importantly I would like to know the best procedure to store and install packages for use in projects. I have a handfull from https://github.com/veelenga/awesome-crystal I would like to have on hand
<freebrirdherman> To where i can simply require "package/library_name" without having to transverse directories
bcardiff has quit [Quit: bcardiff]
pawnbox has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
Renich has joined #crystal-lang
zodiak has quit [Quit: This computer has gone to sleep]
zodiak has joined #crystal-lang
triangles2 has joined #crystal-lang
triangles has quit [Ping timeout: 252 seconds]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
stef__ has joined #crystal-lang
ozra has joined #crystal-lang
zodiak has quit [Ping timeout: 240 seconds]
anthony_ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
Renich has quit [Quit: leaving]
anthony_ has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
Philpax has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
vikaton has quit [Quit: Connection closed for inactivity]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
mgarciaisaia1 has joined #crystal-lang
anthony_ has joined #crystal-lang
anthony_ has quit [Ping timeout: 244 seconds]
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
mark2 has joined #crystal-lang
triangles2 is now known as triangles
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Client Quit]
Dreamer3 has quit [Read error: Connection reset by peer]
Dreamer3 has joined #crystal-lang
trapped has joined #crystal-lang
elia has joined #crystal-lang
hangyas has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
endou_ has quit [Read error: Connection reset by peer]
endou has joined #crystal-lang
Veejay has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
triangles2 has joined #crystal-lang
triangles2 has quit [Max SendQ exceeded]
<leafybasi> freebrirdherman: you can update your shard.yml and then run "crystal deps"
triangles2 has joined #crystal-lang
<leafybasi> freebrirdherman: packages will be pulled from GH, some of teh packages you listed should in fact have deps of their own so you can check their shard files
triangles2 has quit [Max SendQ exceeded]
pawnbox has quit [Remote host closed the connection]
triangles2 has joined #crystal-lang
pawnbox has joined #crystal-lang
triangles2 has quit [Max SendQ exceeded]
triangles2 has joined #crystal-lang
triangles has quit [Ping timeout: 276 seconds]
triangles2 has quit [Max SendQ exceeded]
triangles2 has joined #crystal-lang
triangles2 has quit [Max SendQ exceeded]
ozra has quit [Ping timeout: 276 seconds]
ozra has joined #crystal-lang
ozra has quit [Ping timeout: 244 seconds]
ozra has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
ozra has quit [Ping timeout: 268 seconds]
ozra has joined #crystal-lang
Veejay has joined #crystal-lang
anthony has joined #crystal-lang
anthony has quit [Ping timeout: 276 seconds]
elia_ has joined #crystal-lang
elia has quit [Ping timeout: 276 seconds]
zeno_ has joined #crystal-lang
zeno_ has quit [Client Quit]
Philpax 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
soveran has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<freebrirdherman> leafybasi: So by adding my required dependencies to shards.yml and running `crystal deps` it will download and pull in the required shards for that specific project? Is there a way to search for shards by name via crystal with possible wildcard matching?
edjsu has quit [Quit: WeeChat 1.2]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Read error: No route to host]
mgarciaisaia has joined #crystal-lang
ozra has quit [Ping timeout: 244 seconds]
umurgdk has joined #crystal-lang
<umurgdk> > [1,2,3].map { |i| i + 3 }
<umurgdk> >> [1,2,3].map { |i| i + 3 }
<DeBot> umurgdk: # => [4, 5, 6] - https://carc.in/#/r/vrg
<umurgdk> >> [1,2,3].map { |i| i + 3 }
<DeBot> umurgdk: # => [4, 5, 6] - https://carc.in/#/r/vrh
<RX14> >> [1,2,3].map &.+ 3
<DeBot> RX14: # => [4, 5, 6] - https://carc.in/#/r/vri
<RX14> magic
<pawnbox> :)
triangles has joined #crystal-lang
<RX14> I prefer the block syntax though
<RX14> for operators at least
<RX14> &.+ isn't exactly clear
<RX14> &.add(4) makes sense
tony_ has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
<leafybasi> freebrirdherman: no obvious way, there is actually a registry, and code for the registry in github, but I found no mention of it on crystal site, assume details are in mailing lists/groups
<RX14> leafybasi, the registry is a WIP and not used
<RX14> i think there is debate on whether is registry is wanted at all, instead of using git repos as registries themselves
anthony has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
anthony has quit [Ping timeout: 260 seconds]
mgarciaisaia has left #crystal-lang [#crystal-lang]
<Davy_CC> RX14: you can alias `+` to `add` lol
Philpax has quit [Ping timeout: 244 seconds]
<crystal-gh> [crystal] asterite pushed 4 new commits to master: https://git.io/vVCaI
<crystal-gh> crystal/master c335d33 Ary Borenszweig: Formatter: fixed a couple of issues regarding `nil?` and heredocs.
<crystal-gh> crystal/master e890f49 Ary Borenszweig: Fixed formatting of src/tempfile.cr
<crystal-gh> crystal/master d7703f2 Ary Borenszweig: Compiler: render `nil?` as such on ASTNode#to_s
pawnbox has quit [Remote host closed the connection]
<travis-ci> crystal-lang/crystal#18749c3 (master - Travis: make sure all code is properly formatted): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/120088784
<crystal-gh> [crystal] asterite closed pull request #2392: Expand macro expressions arguments before macro calls. Fixes #2388 (master...feature/macro_args_expansion) https://git.io/vVZ26
<leafybasi> RX14: I helped with the parser for libraries.io
<leafybasi> RX14: I think it's weird not to have one, seems a bit cryptic to have to search manually for stuff
<RX14> well, I meant a registry used by the package manager
<RX14> a registry for showing? definitely, but not for hosting metadata or source.
pawnbox has joined #crystal-lang
<leafybasi> Not holding the source is probably smart, seeing as everyone fluffs that up some how
<leafybasi> I guess I just want something readily queryable from the command-line
pawnbox has quit [Ping timeout: 276 seconds]
<travis-ci> crystal-lang/crystal#cc9488d (master - Merge pull request #2392 from crystal-lang/feature/macro_args_expansion): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/120092554
pawnbox has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 268 seconds]
mark2 has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
elia_ has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Ping timeout: 244 seconds]
stef__ is now known as zodiak
pawnbox has joined #crystal-lang
umurgdk has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
umurgdk has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
<rkeene> Ugh, I hate it when languages include "package managers" since they always get it wrong.
luislavena has joined #crystal-lang
pawnbox has joined #crystal-lang
Renich has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
pawnbox has joined #crystal-lang
mgarciaisaia1 has joined #crystal-lang
Renich has quit [Ping timeout: 244 seconds]
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
Renich has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<Davy_CC> it just a dependency manager lol
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
marcosdsanchez has joined #crystal-lang
<crystal-gh> [crystal] asterite merged release/0.15 into master: https://git.io/vVWTi
Rinkana has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
kulelu88 has joined #crystal-lang
kulelu88 has quit [Changing host]
kulelu88 has joined #crystal-lang
zz_Cidan is now known as Cidan
<travis-ci> crystal-lang/crystal#0f62400 (master - Updated Changelog): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/120126722
mgarciaisaia has left #crystal-lang [#crystal-lang]
anthony__ has joined #crystal-lang
marcosdsanchez has left #crystal-lang [#crystal-lang]
marcosdsanchez has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
anthony__ has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
tony_ has quit [Ping timeout: 268 seconds]
marcosdsanchez has left #crystal-lang [#crystal-lang]
marcosdsanchez has joined #crystal-lang
Cidan is now known as zz_Cidan
kulelu88 has quit [Quit: Leaving]
marcosdsanchez has left #crystal-lang [#crystal-lang]
marcosdsanchez has joined #crystal-lang
zz_Cidan is now known as Cidan
hangyas has quit [Quit: hangyas]
bcardiff has joined #crystal-lang
mambocab has left #crystal-lang [#crystal-lang]
soveran has quit [Remote host closed the connection]
ozra has joined #crystal-lang
mgarciaisaia1 has joined #crystal-lang
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
bcardiff has quit [Quit: bcardiff]
bcardiff has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
bcardiff has quit [Ping timeout: 244 seconds]
bantacuda has joined #crystal-lang
<bantacuda> hey
<bantacuda> anyone here using the Fedora RPMs ?
<bantacuda> can't get them to work :/
elia has joined #crystal-lang
tony__ has joined #crystal-lang
soveran has joined #crystal-lang
ozra has quit [Ping timeout: 244 seconds]
anthony__ has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #crystal-lang
Cidan is now known as zz_Cidan
bantacuda has quit [Quit: Page closed]
zz_Cidan is now known as Cidan
anthony__ has quit [Ping timeout: 268 seconds]
Cidan is now known as zz_Cidan
zz_Cidan is now known as Cidan
Rinkana has quit [Ping timeout: 250 seconds]
marcosdsanchez has left #crystal-lang [#crystal-lang]
Cidan is now known as zz_Cidan
soveran has quit []
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
triangles2 has joined #crystal-lang
pawnbox has joined #crystal-lang
triangles has quit [Ping timeout: 264 seconds]
Renich has quit [Ping timeout: 252 seconds]
Renich has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
luislavena has quit [Quit: Leaving]
Renich has quit [Quit: leaving]
kfpratt has quit [Ping timeout: 268 seconds]
kfpratt has joined #crystal-lang
Renich has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #crystal-lang
elia has quit [Client Quit]
Philpax has joined #crystal-lang
Renich has quit [Quit: leaving]