jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.13.0 | 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
trapped has quit [Read error: Connection reset by peer]
kepler_ has joined #crystal-lang
bcardiff has joined #crystal-lang
<bcardiff> @BlaXpirit, this is probable too late, but you can extend unstable to stable by adding original indices in the sort criteria check https://gist.github.com/bcardiff/5395bfaef35ac1d14a1a
kepler_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<BlaXpirit> thanks
kepler_ has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
Gasher^ has quit [Quit: Leaving]
Philpax has quit [Ping timeout: 260 seconds]
ragmaanir has quit [Quit: Leaving]
kepler_ has quit [Quit: Textual IRC Client: www.textualapp.com]
fridgerator has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fridgerator has joined #crystal-lang
umurgdk has joined #crystal-lang
umurgdk has quit [Ping timeout: 248 seconds]
bcardiff has quit [Quit: bcardiff]
krtv` has quit [Ping timeout: 240 seconds]
Philpax has joined #crystal-lang
krtv` has joined #crystal-lang
fridgerator has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
A124 has quit [Read error: Connection reset by peer]
A124 has joined #crystal-lang
shadeslayer has quit [Quit: No Ping reply in 180 seconds.]
shadeslayer has joined #crystal-lang
fridgerator has joined #crystal-lang
umurgdk has joined #crystal-lang
umurgdk has quit [Ping timeout: 244 seconds]
Dreamer3_ has joined #crystal-lang
bcardiff has joined #crystal-lang
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
Philpax has quit [Ping timeout: 260 seconds]
greengriminal has joined #crystal-lang
umurgdk has joined #crystal-lang
_jungh4ns has joined #crystal-lang
umurgdk has quit [Ping timeout: 264 seconds]
fridgerator has quit [Quit: Textual IRC Client: www.textualapp.com]
A124 has quit [Quit: '']
A124 has joined #crystal-lang
greengriminal has quit [Quit: Leaving]
Philpax has joined #crystal-lang
bjz has joined #crystal-lang
stef__ has joined #crystal-lang
zodiak has quit [Ping timeout: 246 seconds]
trapped has joined #crystal-lang
zodiak has joined #crystal-lang
stef__ has quit [Ping timeout: 276 seconds]
Philpax has quit [Ping timeout: 244 seconds]
Philpax has joined #crystal-lang
rok has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
Philpax has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
trapped has quit [Read error: Connection reset by peer]
umurgdk has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
cyjimmy264 has joined #crystal-lang
Philpax has joined #crystal-lang
<BlaXpirit> jokke, do u still need pygments support?
<BlaXpirit> (and was that even you who asked about it? xD )
trapped has joined #crystal-lang
krtv` has quit [Ping timeout: 244 seconds]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vaDvm
<crystal-gh> crystal/master 21ef2c3 Mike Fiedler: Add std lib-only specs target...
<crystal-gh> crystal/master 240ec90 Ary Borenszweig: Merge pull request #2334 from miketheman/miketheman/std_specs...
<travis-ci> crystal-lang/crystal#240ec90 (master - Merge pull request #2334 from miketheman/miketheman/std_specs): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117421207
umurgdk has quit [Remote host closed the connection]
<jokke> BlaXpirit: yeah
<BlaXpirit> jokke, well i got the initial version of it finished
<jokke> BlaXpirit: awesome dude!
<BlaXpirit> if you need it in the nearest future, best would be for me to tell you to copy+replace some files in pygments
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
umurgdk has joined #crystal-lang
umurgdk has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<Davy_CC> cool
umurgdk has joined #crystal-lang
shevy has joined #crystal-lang
umurgdk has quit [Ping timeout: 248 seconds]
bjz has quit [Ping timeout: 260 seconds]
bjz has joined #crystal-lang
<crystal-gh> [crystal] jhass closed pull request #2323: fix test and method for Number / Complex (master...complex) https://git.io/vaXtT
umurgdk has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vaD8t
<crystal-gh> crystal/master deb7b9f Ary Borenszweig: Compiler: allow any type for special vars ($~, $!)...
<travis-ci> crystal-lang/crystal#a2c493c (master - Merge pull request #2323 from Zavydiel/complex): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117438323
trapped has quit [Read error: Connection reset by peer]
rok has quit [Quit: rok]
pawnbox has quit [Remote host closed the connection]
<travis-ci> crystal-lang/crystal#deb7b9f (master - Compiler: allow any type for special vars ($~, $!)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117440410
trapped has joined #crystal-lang
unshadow has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
bcardiff has joined #crystal-lang
bam0 has joined #crystal-lang
umurgdk has quit [Ping timeout: 240 seconds]
bcardiff has quit [Quit: bcardiff]
umurgdk has joined #crystal-lang
unshadow has quit [Quit: leaving]
umurgdk has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 244 seconds]
umurgdk has joined #crystal-lang
rok has joined #crystal-lang
unshadow has joined #crystal-lang
unshadow has quit [Client Quit]
unshadow has joined #crystal-lang
bam0 is now known as alsm
unshadow has quit [Client Quit]
unshadow has joined #crystal-lang
unshadow has quit [Client Quit]
unshadow has joined #crystal-lang
umurgdk_ has joined #crystal-lang
umurgdk has quit [Ping timeout: 252 seconds]
umurgdk has joined #crystal-lang
unshadow has quit [Quit: leaving]
Gasher has joined #crystal-lang
umurgdk_ has quit [Ping timeout: 244 seconds]
unshadow has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
kfpratt has joined #crystal-lang
umurgdk has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
marcosdsanchez has quit [Read error: Connection reset by peer]
marcosdsanchez has joined #crystal-lang
umurgdk has joined #crystal-lang
bcardiff has joined #crystal-lang
mechanicles has joined #crystal-lang
alsm has quit [Remote host closed the connection]
<crystal-gh> [crystal] veelenga opened pull request #2341: [ci skip] Add query parameter to api search (gh-pages...gh-pages) https://git.io/vaDQE
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
umurgdk has quit [Read error: Connection reset by peer]
umurgdk has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vaDd2
<crystal-gh> crystal/master 82fc431 Ary Borenszweig: Fixed #2340: wrong `to_s` for StringInterpolation AST node
Gasher has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] veelenga closed pull request #2341: [ci skip] Add query parameter to api search (gh-pages...gh-pages) https://git.io/vaDQE
<travis-ci> crystal-lang/crystal#82fc431 (master - Fixed #2340: wrong `to_s` for StringInterpolation AST node): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117470468
Gasher has joined #crystal-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #crystal-lang
bcardiff_ has joined #crystal-lang
bcardiff has quit [Ping timeout: 248 seconds]
bcardiff_ is now known as bcardiff
ql6wlld has joined #crystal-lang
<crystal-gh> [crystal] asterite closed pull request #2333: Logger: use mutex instead of channels (master...feature/logger_mutex) https://git.io/va1OA
<travis-ci> bcardiff/crystal#82fc431 (master - Fixed #2340: wrong `to_s` for StringInterpolation AST node): The build passed. https://travis-ci.org/bcardiff/crystal/builds/117475825
mechanicles has quit [Remote host closed the connection]
luislavena has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
umurgdk has quit [Read error: Connection reset by peer]
umurgdk has joined #crystal-lang
<crystal-gh> [crystal] bcardiff opened pull request #2342: Fix HTTP::Params `%2B` encoded `+` (master...feature/http-params-plus-fix) https://git.io/vaytB
edjsu has quit [Quit: WeeChat 1.2]
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
umurgdk has quit [Remote host closed the connection]
umurgdk has joined #crystal-lang
mgarciaisaia1 has joined #crystal-lang
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
umurgdk has quit [Ping timeout: 260 seconds]
tomchapin has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vay0x
<crystal-gh> crystal/master 192a5e0 Brian J. Cardiff: Wrap URI.escape and URI.unescape_one method for a www_form_component compliant alternative....
<crystal-gh> crystal/master 361dafc Ary Borenszweig: Merge pull request #2342 from bcardiff/feature/http-params-plus-fix...
<crystal-gh> [crystal] asterite closed pull request #2285: HTTP::Params is unable to distinguish between `+` encoded space and `%2B` encoded `+` (master...escape-plus-fix) https://git.io/vaeKF
emmanueloga has quit [Ping timeout: 260 seconds]
iamstef has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vayEZ
<crystal-gh> crystal/master a4895bc Ary Borenszweig: Updated Changelog
iamstef has joined #crystal-lang
emmanueloga has joined #crystal-lang
<BlaXpirit> So I implemented Crystal highlighting in Pygments and made a Pygments plugin for Gitbook, so it's now possible to properly syntaxhighlight the documentation
<travis-ci> crystal-lang/crystal#361dafc (master - Merge pull request #2342 from bcardiff/feature/http-params-plus-fix): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117504947
<BlaXpirit> have yet to publish these things though, and for ease of use this would have to make it into a Pygments release
<RX14> i should probably be documenting these compiler bugs not working around them
<BlaXpirit> lol i know that feel
<travis-ci> crystal-lang/crystal#a4895bc (master - Updated Changelog): The build has errored. https://travis-ci.org/crystal-lang/crystal/builds/117505095
mgarciaisaia has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vayVd
<crystal-gh> crystal/master 8272664 Ary Borenszweig: Fixed `crystal env` command not taking current CRYSTAL_PATH environment variable
unshadow has quit [Ping timeout: 260 seconds]
unshadow has joined #crystal-lang
<travis-ci> crystal-lang/crystal#8272664 (master - Fixed `crystal env` command not taking current CRYSTAL_PATH environment variable): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117511286
stef__ has joined #crystal-lang
bcardiff_ has joined #crystal-lang
bcardiff has quit [Ping timeout: 240 seconds]
bcardiff_ is now known as bcardiff
zodiak has quit [Ping timeout: 260 seconds]
crime has joined #crystal-lang
<crime> how can I deal with command line arguments in Crystal? I want to pass in the name of a file, but it's getting the contents of the file... is there documentation on how ARGV is supposed to work in crystal?
<BlaXpirit> crime, no way...that must be some mistake
<BlaXpirit> >> ARGV
<DeBot> BlaXpirit: # => [] - https://carc.in/#/r/uoi
<BlaXpirit> lol ok. anyway... ARGV is a list of strings and it's really just the passed arguments
<BlaXpirit> please show your code and we may find that something is wrong with it
<crime> if I have a one-line program "puts ARGV" and then 'crystal junk.cr data.txt'
<crime> I get an error
<BlaXpirit> alright, crime. the problem is the argument is passed to crystal
<BlaXpirit> crystal can get multiple filename arguments to compile
<BlaXpirit> crime, try 'crystal junk.cr -- data.txt'
<RX14> crime, works for me: https://aww.moe/d6iaid.png
<crime> ah
<crime> the -- fixes it
<BlaXpirit> crystal build --release junk.cr; ./junk data.txt
<crime> I am rewriting a program that I originally wrote in ruby, in crystal, and the -- isnt a convention I was familiar with
<RX14> crime, else crystal will parse it as multiple files to be run
<RX14> you need the -- to seperate input files with arguments
<crime> right, that's what was happening, parse errors as if it was .cr file
<crime> i gotcha
<crime> thanks for the help
<crime> my questions are usually less stupid
mgarciaisaia has left #crystal-lang [#crystal-lang]
<BlaXpirit> crime, not at all. everyone makes this mistake sooner or later
<travis-ci> bcardiff/crystal#8272664 (master - Fixed `crystal env` command not taking current CRYSTAL_PATH environment variable): The build passed. https://travis-ci.org/bcardiff/crystal/builds/117515209
umurgdk has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
donpdonp has joined #crystal-lang
<donpdonp> is there a crystal version of BigDecimal?
g3funk is now known as braidn
<asterite> donpdonp: not yet. There's BitInt, which is built on top of libgmp. BigDecimal (BigFloat) is missing, but could be built on top of libgmp too
<donpdonp> asterite: ok thx.
mgarciaisaia1 has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vayx9
<crystal-gh> crystal/master c9e5c7d Ary Borenszweig: Use "crystallang" instead of "manastech" in Dockerfile
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
<crystal-gh> [crystal] jeromegn opened pull request #2343: OpenSSL additions + HTTP::Client support for more ssl options (master...http-ssl) https://git.io/vayjc
unshadow has quit [Ping timeout: 248 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vaSei
<crystal-gh> crystal/master c5ddea7 Ary Borenszweig: Changelog: small fix
<BlaXpirit> asterite, I want to copy all the examples from the documentation as a test suite for a syntax highlighter. I'm concerned about licenses
crime has left #crystal-lang [#crystal-lang]
<travis-ci> crystal-lang/crystal#c9e5c7d (master - Use "crystallang" instead of "manastech" in Dockerfile): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117534315
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
<asterite> BlaXpirit: don't worry, none of us is a lawyer :-)
tomchapin has joined #crystal-lang
<BlaXpirit> asterite, sure but still
<BlaXpirit> is there some copyright notice to write? is it MIT license or what
<asterite> The docs?
<asterite> I would say that applies to the whole project, so you can basically do whatever you want (as far as I understand, I'm really bad with licenses)
<BlaXpirit> ouch, apache
<asterite> what's the problem? what can't you do?
umurgdk has quit [Read error: Connection reset by peer]
umurgdk has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vaSZE
<crystal-gh> crystal/master 0ae5b70 Ary Borenszweig: Merge branch 'release/0.14'
krtv` has joined #crystal-lang
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
marcosdsanchez has quit [Ping timeout: 244 seconds]
marcosdsanchez has joined #crystal-lang
krtv` has quit [Ping timeout: 240 seconds]
krtv` has joined #crystal-lang
umurgdk has quit [Read error: Connection reset by peer]
umurgdk has joined #crystal-lang
krtv` has quit [Read error: Connection reset by peer]
mgarciaisaia has joined #crystal-lang
<donpdonp> is there any plans to add the raspberryPi to the build list?
<BlaXpirit> donpdonp, well i don't think it runs on raspberrypi in the first place
<donpdonp> orly? why wouldnt it
<RX14> ARM
<RX14> i cant remember if it does arm yet
umurgdk_ has joined #crystal-lang
<donpdonp> crystal isnt emitting machine instructions is it? surely there's llvm or something in there to compile to the actual hardware?
umurgdk has quit [Ping timeout: 268 seconds]
<travis-ci> crystal-lang/crystal#0ae5b70 (master - Merge branch 'release/0.14'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/117555688
<RX14> but it doesn't exactly work like that
<RX14> the compiler needs to support it too
<RX14> it's not much code, but it's not there in the crystal compiler right now
<donpdonp> RX14++
<donpdonp> githib issue emoji responses are rad.
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krtv` has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
rok has quit [Quit: rok]
Ven has quit [Ping timeout: 268 seconds]
Ven has joined #crystal-lang
edjsu has joined #crystal-lang
<mambocab> crime: works for me if i separate the arguments to crystal from the arguments to the program. So, `crystal junk.cr -- data.txt`
<mambocab> whoops, nevermind, all
ql6wlld has quit [Quit: WeeChat 1.4]
bjz has joined #crystal-lang
bjz has quit [Ping timeout: 244 seconds]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
bcardiff has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
bcardiff has joined #crystal-lang
<emancu> Hey everyone! I cloned the crystal-lang repo and I want to run the tests
<emancu> but it fails with: Error in line 1: while requiring "./spec/all_spec.cr"
<emancu> it seems like SHA1 lib is missing
<emancu> where are the deps listed ?
bcardiff has quit [Quit: bcardiff]
<RX14> "the sha1 lib" would be openssl right?
<emancu> in ./spec/std/digest/sha1_spec.cr:2: while requiring "digest/sha1": can't find file 'digest/sha1' relative to '/Users/emancu/Code/crystal/crystal/spec/std/digest'
<emancu> require "digest/sha1"
umurgdk_ has quit [Read error: Connection reset by peer]
<RX14> you want to run crystal spec I think
umurgdk has joined #crystal-lang
<emancu> yep
<RX14> because
<RX14> digest/sha1 is from the stdlib
<asterite> emancu: use `bin/crystal` instead of plain `crystal`
<emancu> clang: error: no such file or directory: '/Users/emancu/Code/crystal/crystal/src/ext/libcrystal.a'
<emancu> Error: execution of command failed with code: 1: `cc -o "/Users/emancu/Code/crystal/crystal/.crystal/crystal-run-macro-run-_Users_emancu_Code_crystal_crystal_src_ecr_process.cr.tmp" "${@}" -rdynamic /Users/emancu/Code/crystal/crystal/src/ext/libcrystal.a -levent -lpcre -liconv -lgc -lpthread -ldl`
<RX14> emancu, did you try running make?
<emancu> there is no makefile
<emancu> @asterite is there any docs to run the tests and start collaborating ?
<RX14> ... i swear there's a makefile
<RX14> yeah there is
Gasher^ has joined #crystal-lang
Gasher has quit [Ping timeout: 260 seconds]
bcardiff has joined #crystal-lang
willl has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
bcardiff has quit [Quit: bcardiff]