ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.22.0 | Fund Crystal's 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
ishahnaz has quit []
ishahnaz has joined #crystal-lang
p0p0pr37_ has joined #crystal-lang
p0p0pr37 has quit [Ping timeout: 240 seconds]
p0p0pr37_ is now known as p0p0pr37
ishahnaz has quit [Ping timeout: 260 seconds]
ishahnaz has joined #crystal-lang
ishahnaz has quit [Client Quit]
ishahnaz has joined #crystal-lang
ishahnaz has quit [Client Quit]
xaxisx has quit [Read error: Connection reset by peer]
snsei has joined #crystal-lang
jonst has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
<jonst> hey, I'm struggling to get the compiler to allow me to initialize a Hash with value type Hash - I can do {"blah" => {"blah2" => "blah3"}} but not Hash<String, Hash<String, String>> - or - {} of String => ({} of String => String). any advice?
snsei has quit [Ping timeout: 246 seconds]
<FromGitter> <sdogruyol> of Hash(String,String)
<jonst> thanks!
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #crystal-lang
Cyrus has quit [Ping timeout: 240 seconds]
jonst has quit [Quit: Page closed]
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #crystal-lang
splitty_ has quit [Ping timeout: 240 seconds]
mark_66 has joined #crystal-lang
<FromGitter> <bew> @elorest about indentation in macros, you mean when using `{% debug() %}` ? If so, I'm not sure it's that easy, because that debug macro statement could be anywhere, and the output code is not always valid (and the formatter can only format valid code)
<FromGitter> <bew> s/of/when
<FromGitter> <bew> maybe the debug should be indented when its valid code, and left as is, when invalid?
Frites has joined #crystal-lang
kellabyte has quit []
kellabyte has joined #crystal-lang
manveru has quit []
manveru has joined #crystal-lang
gewo has joined #crystal-lang
splitty_ has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 264 seconds]
Raimondii is now known as Raimondi
mentero has joined #crystal-lang
yogg-saron has joined #crystal-lang
splitty_ has quit [Ping timeout: 240 seconds]
<crystal-gh> [crystal] ysbaddaden closed pull request #4392: Remove IO.select (master...remove-io-select) https://git.io/v9K5R
zipR4ND has joined #crystal-lang
snsei has joined #crystal-lang
blufor_ has joined #crystal-lang
blufor_ has quit [Client Quit]
splitty_ has joined #crystal-lang
snsei has quit []
snsei has joined #crystal-lang
snsei has quit [Client Quit]
blufor has quit [Ping timeout: 240 seconds]
blufor has joined #crystal-lang
blufor has left #crystal-lang [#crystal-lang]
<crystal-gh> [crystal] bcardiff closed pull request #4389: Fix HTTP::Params.parse query string with two '=' (master...master) https://git.io/v9rzZ
yogg-saron has quit [Remote host closed the connection]
wontruefree has joined #crystal-lang
Frites has quit [Quit: Konversation terminated!]
greengriminal has joined #crystal-lang
wontruefree has quit [Quit: Is gone... Just plain old gone]
mark_66 has quit [Remote host closed the connection]
wontruefree has joined #crystal-lang
wontruefree has quit [Client Quit]
wontruefree has joined #crystal-lang
wontruefree has quit [Quit: Is gone... Just plain old gone]
<RX14-> currently working on a PR to that fast-crystal repository
<RX14-> which fixes spelling/typos and benchmarks on a non-broken machine
gewo has quit [Ping timeout: 268 seconds]
<FromGitter> <sdogruyol> @RX14 thanks a lot for your contributions to benchmarks :)
<RX14-> only bad benchmarks :D
<Yxhuvud> paste the link to the pr when it is done
<RX14-> so many things change to just 1.00
<RX14-> like assignment
<RX14-> that benchmark is entirely pointless in a compiled language
<RX14-> there is really no cost to assignment
<Yxhuvud> heh
<RX14-> it's pretty clear it's been copy/pasted from ruby lol
<RX14-> like this for example
<RX14-> and so many things are being totally elided
<RX14-> I need to port JMH's blackhole class
RX14- is now known as RX14
<FromGitter> <mverzilli> maybe it's not worth your time :). we can't be on top of just any person who decides to go ahead and write a microbenchmark (of course TechEmpower is different)
<RX14> yeah but it doesn't take long
<RX14> plus i'm halfway through now
<RX14> ok, more than half lol
<FromGitter> <mverzilli> lol (a whole one)
<FromGitter> <sdogruyol> :D
<RX14> i'd like to do some automation around contribution and PRs as well
<RX14> first study what swift/go/rust do in their contribution workflow
<RX14> and what ideas we could apply to crystal
<FromGitter> <sdogruyol> ah
<FromGitter> <sdogruyol> i really like rustbot
<RX14> i'd like something that automatically merged fixup! commits
<RX14> because with github UI you either leave them or squash the whole PR
<RX14> if you want to fixup you need to manually merge using git rebase -i --autosquash master
<RX14> it's a shame that fixup! commits aren't the standard when they're so useful (and standard in git)
<Yxhuvud> I tend to just forcepush to the pr branch.
<TheGillies> whats a fixup commit?
<RX14> that has quite a few downsides though
<TheGillies> like just an interactive rebase?
<Papierkorb> What Yxhuvud said. I use them freely in PRs
<RX14> firstly, reviewers can't see how the PR evolved
<RX14> and what's new since they last reviewed
<RX14> second, no force pushes 9but that's minor)
Yxhuvud has quit [Remote host closed the connection]
Yxhuvud has joined #crystal-lang
<RX14> TheGillies, it's a commit which "fixes up" an existing commit
<RX14> you can use git commit --fixup=<sha> to create one
<RX14> and then git rebase -i --autosquash to automatically squash them
<RX14> i love them because otherwise you essentially have to review the whole PR again from the start because you're never entirely sure what changed since you last reviewed all the changes
<Yxhuvud> for bigger tasks I keep the fixup until joining them before the merge. And I tend to not squash commits unless they are fixups- I do rebase followed by no-ff commits to get a history that is both readable and have merges.
wontruefree has joined #crystal-lang
<FromGitter> <mgarciaisaia> Does anyone know if LLVM 3.8(.1) has any flag to make it *not* depend on libtinfo?
<RX14> can you list cmake flags?
<RX14> i did see a list of cmake options fort llvm somewhere
<FromGitter> <mgarciaisaia> I'm trying to reproduce LLVM 3.8.1 build we (Waj) already did & uploaded to S3, but it fails due to a health check: https://gist.github.com/matiasgarciaisaia/55b9031f93bbf55903603b2428834338
<FromGitter> <mgarciaisaia> Just found a `cmake -LAH` command - but doesn't seem to list anything tinfo or curses related. I don't really know `cmake`, either.
sz0 has joined #crystal-lang
swarleh has joined #crystal-lang
wontruefree has quit [Quit: Is gone... Just plain old gone]
<RX14> that 1 gist changed my mind about omnibus from "useless shellscript replacement" to "actually pretty useful"
<swarleh> is it intended that when using Char::Reader, calling #size moves the position to the end of the string?
zipR4ND has quit [Ping timeout: 246 seconds]
wontruefree has joined #crystal-lang
<swarleh> is it intended that when using Char::Reader, calling #size moves the position to the end of the string?
<swarleh> mt
<swarleh> mt
swarleh has quit [Quit: Leaving]
<RX14> swarleh, ?
wontruefree has quit [Quit: Is gone... Just plain old gone]
Aytan72 has joined #crystal-lang
<FromGitter> <mgarciaisaia> @RX14 yeah - it seems it actually does *something else* than just calling `make`
<RX14> oh yeah lol
<RX14> cmake generates makefiles
<RX14> or did I misunderstand you
wontruefree has joined #crystal-lang
greengriminal has quit [Quit: Leaving]
wontruefree has quit [Client Quit]
wontruefree has joined #crystal-lang
<FromGitter> <mgarciaisaia> No, I mean - it seams `omnibus` does *more than* just calling `make`
<FromGitter> <mgarciaisaia> Re "useless shellscript replacement"
wontruefree has quit [Ping timeout: 240 seconds]
<RX14> wow I never realised div was so slow
Ven has joined #crystal-lang
Ven is now known as Guest43623
Guest43623 has quit [Ping timeout: 268 seconds]
Ven_ has joined #crystal-lang
Ven_ has quit [Ping timeout: 245 seconds]
Ven_ has joined #crystal-lang
<FromGitter> <bew> Very interesting post @sdogruyol thanks!
zipR4ND has joined #crystal-lang
Ven_ has quit [Ping timeout: 240 seconds]
Ven_ has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven is now known as Guest97635
Guest97635 has quit [Ping timeout: 246 seconds]
Ven_ has joined #crystal-lang
mrus has quit [Remote host closed the connection]
<FromGitter> <drosehn> [hash tables] indeed, interesting.
Ven_ has quit [Ping timeout: 255 seconds]
wontruefree has joined #crystal-lang
Anaxagorian has joined #crystal-lang
Ven has joined #crystal-lang
Ven is now known as Guest85403
mrus has joined #crystal-lang
Guest85403 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrus has quit [Remote host closed the connection]
zipR4ND has quit [Ping timeout: 240 seconds]
mrus has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
zaiste has joined #crystal-lang
zaiste has quit [Ping timeout: 240 seconds]
zaiste has joined #crystal-lang
wontruefree has quit [Quit: Is gone... Just plain old gone]
Aytan72 has quit []
zaiste has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<FromGitter> <jwoertink> Has anyone used any image uploader for S3? I the AwsSigner shard, but I'm looking for something a bit more complete
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi