00:20
trapped has quit [Read error: Connection reset by peer]
00:21
kepler_ has joined #crystal-lang
00:22
bcardiff has joined #crystal-lang
00:59
kepler_ has joined #crystal-lang
01:03
umurgdk has quit [Remote host closed the connection]
01:04
mgarciaisaia has joined #crystal-lang
01:05
mgarciaisaia has left #crystal-lang [#crystal-lang]
01:08
Gasher^ has quit [Quit: Leaving]
01:13
Philpax has quit [Ping timeout: 260 seconds]
01:13
ragmaanir has quit [Quit: Leaving]
01:15
fridgerator has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:39
fridgerator has joined #crystal-lang
01:39
umurgdk has joined #crystal-lang
01:44
umurgdk has quit [Ping timeout: 248 seconds]
01:48
bcardiff has quit [Quit: bcardiff]
01:58
krtv` has quit [Ping timeout: 240 seconds]
02:10
Philpax has joined #crystal-lang
02:12
krtv` has joined #crystal-lang
02:55
fridgerator has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:00
A124 has quit [Read error: Connection reset by peer]
03:05
A124 has joined #crystal-lang
03:12
shadeslayer has quit [Quit: No Ping reply in 180 seconds.]
03:14
shadeslayer has joined #crystal-lang
03:47
fridgerator has joined #crystal-lang
04:13
umurgdk has joined #crystal-lang
04:17
umurgdk has quit [Ping timeout: 244 seconds]
04:22
Dreamer3_ has joined #crystal-lang
04:39
bcardiff has joined #crystal-lang
04:44
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:45
pawnbox has joined #crystal-lang
05:01
bcardiff has quit [Quit: bcardiff]
05:11
Philpax has quit [Ping timeout: 260 seconds]
05:12
greengriminal has joined #crystal-lang
05:17
umurgdk has joined #crystal-lang
05:21
_jungh4ns has joined #crystal-lang
05:22
umurgdk has quit [Ping timeout: 264 seconds]
05:41
A124 has quit [Quit: '']
05:42
A124 has joined #crystal-lang
05:50
greengriminal has quit [Quit: Leaving]
06:12
Philpax has joined #crystal-lang
06:30
bjz has joined #crystal-lang
06:33
stef__ has joined #crystal-lang
06:35
zodiak has quit [Ping timeout: 246 seconds]
07:02
trapped has joined #crystal-lang
07:12
zodiak has joined #crystal-lang
07:14
stef__ has quit [Ping timeout: 276 seconds]
07:35
Philpax has quit [Ping timeout: 244 seconds]
07:36
Philpax has joined #crystal-lang
07:49
rok has joined #crystal-lang
07:51
Philpax has quit [Ping timeout: 252 seconds]
07:58
Philpax has joined #crystal-lang
08:03
Philpax has quit [Ping timeout: 252 seconds]
08:06
trapped has quit [Read error: Connection reset by peer]
09:25
umurgdk has joined #crystal-lang
09:25
umurgdk has quit [Remote host closed the connection]
09:26
umurgdk has joined #crystal-lang
09:59
umurgdk has quit [Remote host closed the connection]
10:00
umurgdk has joined #crystal-lang
10:01
cyjimmy264 has joined #crystal-lang
10:06
Philpax has joined #crystal-lang
10:23
<
BlaXpirit >
jokke, do u still need pygments support?
10:23
<
BlaXpirit >
(and was that even you who asked about it? xD )
10:27
trapped has joined #crystal-lang
10:29
krtv` has quit [Ping timeout: 244 seconds]
10:57
<
crystal-gh >
crystal/master 21ef2c3 Mike Fiedler: Add std lib-only specs target...
10:57
<
crystal-gh >
crystal/master 240ec90 Ary Borenszweig: Merge pull request #2334 from miketheman/miketheman/std_specs...
11:34
umurgdk has quit [Remote host closed the connection]
11:38
<
jokke >
BlaXpirit: yeah
11:38
<
BlaXpirit >
jokke, well i got the initial version of it finished
11:38
<
jokke >
BlaXpirit: awesome dude!
11:39
<
BlaXpirit >
if you need it in the nearest future, best would be for me to tell you to copy+replace some files in pygments
11:40
pawnbox has quit [Remote host closed the connection]
11:40
pawnbox has joined #crystal-lang
11:49
umurgdk has joined #crystal-lang
11:54
umurgdk has quit [Ping timeout: 276 seconds]
11:55
pawnbox has quit [Remote host closed the connection]
11:55
pawnbox has joined #crystal-lang
12:26
umurgdk has joined #crystal-lang
12:30
shevy has joined #crystal-lang
12:30
umurgdk has quit [Ping timeout: 248 seconds]
12:34
bjz has quit [Ping timeout: 260 seconds]
12:37
bjz has joined #crystal-lang
12:37
<
crystal-gh >
[crystal] jhass closed pull request #2323: fix test and method for Number / Complex (master...complex)
https://git.io/vaXtT
12:39
umurgdk has joined #crystal-lang
12:47
<
crystal-gh >
crystal/master deb7b9f Ary Borenszweig: Compiler: allow any type for special vars ($~, $!)...
12:50
trapped has quit [Read error: Connection reset by peer]
12:52
rok has quit [Quit: rok]
12:53
pawnbox has quit [Remote host closed the connection]
12:58
trapped has joined #crystal-lang
13:01
unshadow has joined #crystal-lang
13:03
umurgdk has quit [Remote host closed the connection]
13:04
umurgdk has joined #crystal-lang
13:05
bcardiff has joined #crystal-lang
13:09
bam0 has joined #crystal-lang
13:09
umurgdk has quit [Ping timeout: 240 seconds]
13:10
bcardiff has quit [Quit: bcardiff]
13:11
umurgdk has joined #crystal-lang
13:11
unshadow has quit [Quit: leaving]
13:13
umurgdk has quit [Remote host closed the connection]
13:13
Philpax has quit [Ping timeout: 244 seconds]
13:13
umurgdk has joined #crystal-lang
13:15
rok has joined #crystal-lang
13:16
unshadow has joined #crystal-lang
13:16
unshadow has quit [Client Quit]
13:18
unshadow has joined #crystal-lang
13:19
bam0 is now known as alsm
13:20
unshadow has quit [Client Quit]
13:21
unshadow has joined #crystal-lang
13:22
unshadow has quit [Client Quit]
13:23
unshadow has joined #crystal-lang
13:23
umurgdk_ has joined #crystal-lang
13:26
umurgdk has quit [Ping timeout: 252 seconds]
13:30
umurgdk has joined #crystal-lang
13:31
unshadow has quit [Quit: leaving]
13:32
Gasher has joined #crystal-lang
13:32
umurgdk_ has quit [Ping timeout: 244 seconds]
13:35
unshadow has joined #crystal-lang
13:37
umurgdk has quit [Remote host closed the connection]
13:55
kfpratt has joined #crystal-lang
13:58
umurgdk has joined #crystal-lang
13:59
umurgdk has quit [Remote host closed the connection]
14:01
marcosdsanchez has quit [Read error: Connection reset by peer]
14:01
marcosdsanchez has joined #crystal-lang
14:01
umurgdk has joined #crystal-lang
14:04
bcardiff has joined #crystal-lang
14:21
mechanicles has joined #crystal-lang
14:29
alsm has quit [Remote host closed the connection]
14:47
<
crystal-gh >
[crystal] veelenga opened pull request #2341: [ci skip] Add query parameter to api search (gh-pages...gh-pages)
https://git.io/vaDQE
14:55
umurgdk has quit [Remote host closed the connection]
14:56
umurgdk has joined #crystal-lang
14:56
umurgdk has quit [Remote host closed the connection]
14:56
umurgdk has joined #crystal-lang
14:57
mgarciaisaia has joined #crystal-lang
14:57
mgarciaisaia has left #crystal-lang [#crystal-lang]
14:58
umurgdk has quit [Read error: Connection reset by peer]
14:58
umurgdk has joined #crystal-lang
14:58
<
crystal-gh >
crystal/master 82fc431 Ary Borenszweig: Fixed #2340: wrong `to_s` for StringInterpolation AST node
14:59
Gasher has quit [Ping timeout: 246 seconds]
15:09
<
crystal-gh >
[crystal] veelenga closed pull request #2341: [ci skip] Add query parameter to api search (gh-pages...gh-pages)
https://git.io/vaDQE
15:13
Gasher has joined #crystal-lang
15:15
kfpratt has quit [Remote host closed the connection]
15:21
kfpratt has joined #crystal-lang
15:21
bcardiff_ has joined #crystal-lang
15:23
bcardiff has quit [Ping timeout: 248 seconds]
15:23
bcardiff_ is now known as bcardiff
15:26
ql6wlld has joined #crystal-lang
15:27
<
crystal-gh >
[crystal] asterite closed pull request #2333: Logger: use mutex instead of channels (master...feature/logger_mutex)
https://git.io/va1OA
15:45
mechanicles has quit [Remote host closed the connection]
15:54
luislavena has joined #crystal-lang
16:00
mgarciaisaia has joined #crystal-lang
16:02
umurgdk has quit [Remote host closed the connection]
16:03
umurgdk has joined #crystal-lang
16:03
mgarciaisaia has left #crystal-lang [#crystal-lang]
16:05
umurgdk has quit [Read error: Connection reset by peer]
16:06
umurgdk has joined #crystal-lang
16:11
<
crystal-gh >
[crystal] bcardiff opened pull request #2342: Fix HTTP::Params `%2B` encoded `+` (master...feature/http-params-plus-fix)
https://git.io/vaytB
16:11
edjsu has quit [Quit: WeeChat 1.2]
16:24
umurgdk has quit [Remote host closed the connection]
16:43
umurgdk has joined #crystal-lang
16:45
umurgdk has quit [Remote host closed the connection]
16:51
umurgdk has joined #crystal-lang
16:52
mgarciaisaia1 has joined #crystal-lang
16:53
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
16:56
umurgdk has quit [Ping timeout: 260 seconds]
16:59
tomchapin has joined #crystal-lang
17:11
<
crystal-gh >
crystal/master 192a5e0 Brian J. Cardiff: Wrap URI.escape and URI.unescape_one method for a www_form_component compliant alternative....
17:11
<
crystal-gh >
crystal/master 361dafc Ary Borenszweig: Merge pull request #2342 from bcardiff/feature/http-params-plus-fix...
17:11
<
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
17:17
emmanueloga has quit [Ping timeout: 260 seconds]
17:17
iamstef has quit [Ping timeout: 260 seconds]
17:18
<
crystal-gh >
crystal/master a4895bc Ary Borenszweig: Updated Changelog
17:20
iamstef has joined #crystal-lang
17:20
emmanueloga has joined #crystal-lang
17:25
<
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
17:25
<
BlaXpirit >
have yet to publish these things though, and for ease of use this would have to make it into a Pygments release
17:31
<
RX14 >
i should probably be documenting these compiler bugs not working around them
17:31
<
BlaXpirit >
lol i know that feel
17:40
mgarciaisaia has joined #crystal-lang
17:40
<
crystal-gh >
crystal/master 8272664 Ary Borenszweig: Fixed `crystal env` command not taking current CRYSTAL_PATH environment variable
17:46
unshadow has quit [Ping timeout: 260 seconds]
17:48
unshadow has joined #crystal-lang
17:57
stef__ has joined #crystal-lang
17:57
bcardiff_ has joined #crystal-lang
17:59
bcardiff has quit [Ping timeout: 240 seconds]
17:59
bcardiff_ is now known as bcardiff
17:59
zodiak has quit [Ping timeout: 260 seconds]
18:00
crime has joined #crystal-lang
18:00
<
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?
18:01
<
BlaXpirit >
crime, no way...that must be some mistake
18:01
<
BlaXpirit >
>> ARGV
18:02
<
BlaXpirit >
lol ok. anyway... ARGV is a list of strings and it's really just the passed arguments
18:02
<
BlaXpirit >
please show your code and we may find that something is wrong with it
18:02
<
crime >
if I have a one-line program "puts ARGV" and then 'crystal junk.cr data.txt'
18:02
<
crime >
I get an error
18:03
<
BlaXpirit >
alright, crime. the problem is the argument is passed to crystal
18:03
<
BlaXpirit >
crystal can get multiple filename arguments to compile
18:03
<
BlaXpirit >
crime, try 'crystal junk.cr -- data.txt'
18:04
<
crime >
the -- fixes it
18:04
<
BlaXpirit >
crystal build --release junk.cr; ./junk data.txt
18:04
<
crime >
I am rewriting a program that I originally wrote in ruby, in crystal, and the -- isnt a convention I was familiar with
18:04
<
RX14 >
crime, else crystal will parse it as multiple files to be run
18:05
<
RX14 >
you need the -- to seperate input files with arguments
18:05
<
crime >
right, that's what was happening, parse errors as if it was .cr file
18:05
<
crime >
thanks for the help
18:05
<
crime >
my questions are usually less stupid
18:05
mgarciaisaia has left #crystal-lang [#crystal-lang]
18:06
<
BlaXpirit >
crime, not at all. everyone makes this mistake sooner or later
18:10
umurgdk has joined #crystal-lang
18:19
pawnbox has joined #crystal-lang
18:28
pawnbox has quit [Ping timeout: 276 seconds]
18:35
donpdonp has joined #crystal-lang
18:35
<
donpdonp >
is there a crystal version of BigDecimal?
18:36
g3funk is now known as braidn
18:37
<
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
18:38
<
donpdonp >
asterite: ok thx.
19:15
mgarciaisaia1 has joined #crystal-lang
19:16
<
crystal-gh >
crystal/master c9e5c7d Ary Borenszweig: Use "crystallang" instead of "manastech" in Dockerfile
19:19
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
19:27
<
crystal-gh >
[crystal] jeromegn opened pull request #2343: OpenSSL additions + HTTP::Client support for more ssl options (master...http-ssl)
https://git.io/vayjc
19:29
unshadow has quit [Ping timeout: 248 seconds]
19:34
<
crystal-gh >
crystal/master c5ddea7 Ary Borenszweig: Changelog: small fix
19:36
<
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
19:39
crime has left #crystal-lang [#crystal-lang]
19:44
<
asterite >
BlaXpirit: don't worry, none of us is a lawyer :-)
19:44
tomchapin has joined #crystal-lang
19:44
<
BlaXpirit >
asterite, sure but still
19:45
<
BlaXpirit >
is there some copyright notice to write? is it MIT license or what
19:45
<
asterite >
The docs?
19:45
<
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)
19:45
<
BlaXpirit >
ouch, apache
19:46
<
asterite >
what's the problem? what can't you do?
19:58
umurgdk has quit [Read error: Connection reset by peer]
19:58
umurgdk has joined #crystal-lang
20:28
bcardiff has quit [Quit: bcardiff]
20:39
<
crystal-gh >
crystal/master 0ae5b70 Ary Borenszweig: Merge branch 'release/0.14'
20:45
krtv` has joined #crystal-lang
20:54
marcosdsanchez has quit [Ping timeout: 244 seconds]
20:54
marcosdsanchez has joined #crystal-lang
20:58
krtv` has quit [Ping timeout: 240 seconds]
20:59
krtv` has joined #crystal-lang
21:02
umurgdk has quit [Read error: Connection reset by peer]
21:02
umurgdk has joined #crystal-lang
21:04
krtv` has quit [Read error: Connection reset by peer]
21:04
mgarciaisaia has joined #crystal-lang
21:05
<
donpdonp >
is there any plans to add the raspberryPi to the build list?
21:06
<
BlaXpirit >
donpdonp, well i don't think it runs on raspberrypi in the first place
21:06
<
donpdonp >
orly? why wouldnt it
21:07
<
RX14 >
i cant remember if it does arm yet
21:07
umurgdk_ has joined #crystal-lang
21:07
<
donpdonp >
crystal isnt emitting machine instructions is it? surely there's llvm or something in there to compile to the actual hardware?
21:08
umurgdk has quit [Ping timeout: 268 seconds]
21:09
<
RX14 >
but it doesn't exactly work like that
21:09
<
RX14 >
the compiler needs to support it too
21:09
<
RX14 >
it's not much code, but it's not there in the crystal compiler right now
21:17
<
donpdonp >
githib issue emoji responses are rad.
21:17
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:21
krtv` has joined #crystal-lang
21:25
mgarciaisaia has left #crystal-lang [#crystal-lang]
21:27
rok has quit [Quit: rok]
21:28
Ven has quit [Ping timeout: 268 seconds]
21:30
Ven has joined #crystal-lang
21:32
edjsu has joined #crystal-lang
21:36
<
mambocab >
crime: works for me if i separate the arguments to crystal from the arguments to the program. So, `crystal junk.cr -- data.txt`
21:37
<
mambocab >
whoops, nevermind, all
21:40
ql6wlld has quit [Quit: WeeChat 1.4]
21:42
bjz has joined #crystal-lang
21:49
bjz has quit [Ping timeout: 244 seconds]
21:58
mgarciaisaia has joined #crystal-lang
22:05
mgarciaisaia has left #crystal-lang [#crystal-lang]
22:12
bcardiff has joined #crystal-lang
22:34
bcardiff has quit [Quit: bcardiff]
22:49
bcardiff has joined #crystal-lang
22:57
<
emancu >
Hey everyone! I cloned the crystal-lang repo and I want to run the tests
22:57
<
emancu >
but it fails with: Error in line 1: while requiring "./spec/all_spec.cr"
22:58
<
emancu >
it seems like SHA1 lib is missing
22:58
<
emancu >
where are the deps listed ?
22:58
bcardiff has quit [Quit: bcardiff]
22:59
<
RX14 >
"the sha1 lib" would be openssl right?
23:00
<
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'
23:00
<
emancu >
require "digest/sha1"
23:02
umurgdk_ has quit [Read error: Connection reset by peer]
23:02
<
RX14 >
you want to run crystal spec I think
23:02
umurgdk has joined #crystal-lang
23:02
<
RX14 >
digest/sha1 is from the stdlib
23:09
<
asterite >
emancu: use `bin/crystal` instead of plain `crystal`
23:10
<
emancu >
clang: error: no such file or directory: '/Users/emancu/Code/crystal/crystal/src/ext/libcrystal.a'
23:10
<
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`
23:26
<
RX14 >
emancu, did you try running make?
23:27
<
emancu >
there is no makefile
23:27
<
emancu >
@asterite is there any docs to run the tests and start collaborating ?
23:27
<
RX14 >
... i swear there's a makefile
23:27
<
RX14 >
yeah there is
23:30
Gasher^ has joined #crystal-lang
23:32
Gasher has quit [Ping timeout: 260 seconds]
23:33
bcardiff has joined #crystal-lang
23:39
willl has joined #crystal-lang
23:40
trapped has quit [Read error: Connection reset by peer]
23:58
bcardiff has quit [Quit: bcardiff]