ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.20.5 | 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
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soveran has joined #crystal-lang
_whitelogger has joined #crystal-lang
sz0 has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 245 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
<FromGitter> <flagello> Hi guys! I just opened an issue on the crystal-website repository (https://github.com/crystal-lang/crystal-website/issues/19) to discuss Crystal's Identity and Design. Here's the matching Google Groups discussion (https://groups.google.com/forum/?fromgroups#!topic/crystal-lang/h0Oc6ctyzKg).
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
olbat has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
snsei has joined #crystal-lang
olbat has joined #crystal-lang
snsei has quit [Remote host closed the connection]
Rinkana has joined #crystal-lang
Qchmqs has joined #crystal-lang
akwiatkowski has joined #crystal-lang
mark_66 has joined #crystal-lang
bjz has joined #crystal-lang
gloscombe has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Ping timeout: 240 seconds]
bjz_ has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
gloscombe has quit [Ping timeout: 256 seconds]
gloscombe has joined #crystal-lang
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<RX14> ah yes
<RX14> I don't even get a t2.micro for free
<RX14> because I signed up for AWS ages ago and never used it
<RX14> great
<FromGitter> <sdogruyol> Just use DO in that case
<FromGitter> <sdogruyol> if that's an option
<RX14> isn't DO similar price per hour?
<FromGitter> <sdogruyol> cheaper
<FromGitter> <sdogruyol> and you get built-in SSD
<FromGitter> <sdogruyol> actually it's far more cheaper if you consider CPU + Storage + Network Bandwith
<RX14> well my t2.micro was using a SSD EBS
<RX14> the EBS is cheap
<FromGitter> <sdogruyol> that's not free
<RX14> it's not free but it's a lot cheaper
<FromGitter> <sdogruyol> AWS creeps on you slowly until you get drown
<RX14> 0.012USD per hour for the instance, 0.036 per GB per *monht* for the SSD EBS
<RX14> noth*
<RX14> month*
<RX14> i really can't type today lol
<FromGitter> <sdogruyol> that's more expensive than DO 512 which is $5
<FromGitter> <sdogruyol> and it has 1TB Bandwith + 20 SSD
<RX14> yes but if we're going to eventually deploy the crystal CI on AWS, then i have to test on AWS
<FromGitter> <sdogruyol> yeah i see
<RX14> otherwise I would just test on my existing dedi
<FromGitter> <sdogruyol> if DO is not an option then there's no need to talk :P
<FromGitter> <sdogruyol> @RX14 thanks for your contribution
<RX14> not a problem
<RX14> I enjoy fiddling with infra
<RX14> probably more than fiddling with code to be honest
<FromGitter> <sdogruyol> :)
<FromGitter> <sdogruyol> i'd prefer to fiddle with infra instead of AWS mambo jambo
<RX14> lots of cheaper alternatives to AWS recently though
Qchmqs has quit [Quit: Konversation terminated!]
<RX14> I have to say online.net has been almost perfect so far
<RX14> not a single outage not caused by me in 2 years
<RX14> might even be 3y now... hmm#
<FromGitter> <sdogruyol> i can say the same for kimsufi
<FromGitter> <sdogruyol> got a dedicated box there
<RX14> I was originally going to go for a kimsufi box but then they "ran out of stock" and I got an online.net dedi
<RX14> and I think that was the right decision personally
<RX14> at least at the time the kimsufi boxes had more ram and more CPU, but were more restrictive on bandwidth and such
<RX14> i think they had less disk too but might be wrong
<RX14> turns out that I needed network and disk space much more than CPU speed
<FromGitter> <Sija> I can recommend https://hetzner.de/en/
Qchmqs has joined #crystal-lang
<FromGitter> <Sija> good specs for 50 eur/month
<RX14> @Sija how does this compare: https://www.online.net/en/dedicated-server/dedibox-lt
<RX14> looks cheaper + better cpu/same ram/unlimited bandwidth
<RX14> although they don't have the HDD storage option
<RX14> which is a shame
<FromGitter> <Sija> mmm, indeed! there r few differences, but looks pretty darn nice
<FromGitter> <Sija> setup fee - online.net - 60eur / hetzner.de - free
<RX14> oh, the EX40? I was lookingat the EX41
<FromGitter> <Sija> yep, i was thinking about EX40
<RX14> but I mostly support online.net now because of all the cool thing they're doing
<FromGitter> <Sija> bandwidth guaranteed - online.net - 500 Mbit/s / hetzner.de - 1 Gbit/s
<RX14> yes but they stick a 30TB cap on you
<RX14> depends on whether you need that 1gbps burst
<RX14> although I do get 1gbps from my cheaper online dedi
<FromGitter> <Sija> yep, although the cap means that "If the traffic limit is exceeded then the bandwidth will be restricted to 10 Mbit/s."
<RX14> which for me essentially means the box is useless
<RX14> even trying to move the data on it would be seentially impossible at 10mbps
<RX14> would take 8 days to move all my stuff at 10 mbps
<FromGitter> <Sija> that’s PITA, first you’d need to exceed 30TB though...
<RX14> wouldn't be too hard for me
<RX14> friend of mine got a 3gbps AVERAGE bandwidth over the whole day once
<FromGitter> <Sija> fair ‘nuff, online.net dedi looks like decent competition :)
<RX14> the peaks go super high
<RX14> luckilly he had cloudflare
<RX14> I do not any more
<FromGitter> <Sija> the cap is not sth you’d like to have with such bandwith expectations :)
<RX14> indeed
<RX14> i'd much rather max out the interface (I have QoS on the interface so I would be able to ssh in) than cap and limit to mbps
soveran has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 5 new commits to master: https://git.io/vDy1J
<crystal-gh> crystal/master 18b3fd6 Sijawusz Pur Rahnama: Remove obsolete error message check
<crystal-gh> crystal/master 47dc2a6 Sijawusz Pur Rahnama: Fix specs related to changed exception messages
<crystal-gh> crystal/master 2548214 Sijawusz Pur Rahnama: Capitalized exception messages throughout the codebase
snsei has joined #crystal-lang
Ven has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Qchmqs has quit [Ping timeout: 240 seconds]
Rinkana has quit [Quit: Page closed]
<travis-ci> crystal-lang/crystal#1cca554 (master - Cleanup a bit expanded macro rescue block): The build was broken. https://travis-ci.org/crystal-lang/crystal/builds/202275288
<FromGitter> <rishavs> hi. installing crystal on windows bash gave me this warning;
<FromGitter> <rishavs> W: GPG error: https://dist.crystal-lang.org crystal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 09617FD37CC06B54
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Ping timeout: 240 seconds]
jokke has quit [Remote host closed the connection]
zaiste has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
<FromGitter> <luislavena> @rishavs did you install the keys before installing? sometimes running the automated process fails, so recommend the manual ones instead.
<crystal-gh> [crystal] spalladino pushed 1 new commit to master: https://git.io/vDSek
<crystal-gh> crystal/master 342fb51 Santiago Palladino: Update README.md...
jokke1 has joined #crystal-lang
jokke1 is now known as jokke
<crystal-gh> [crystal] spalladino closed pull request #4020: Add XML::Node.normalized_text (master...xml-node-normalized_text) https://git.io/vDwLh
<crystal-gh> [crystal] spalladino closed pull request #4037: Digest consolidation (master...md5-to-digest) https://git.io/vDP02
snsei has quit [Remote host closed the connection]
<travis-ci> crystal-lang/crystal#1cca554 (master - Cleanup a bit expanded macro rescue block): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/202275288
<crystal-gh> [crystal] spalladino closed pull request #4038: OAuth2::Client sends Accept headers by default (master...oauth2_accept_header) https://git.io/vDPy2
<FromGitter> <rishavs> i used the bash script
soveran has joined #crystal-lang
A124 has quit [Ping timeout: 240 seconds]
soveran has quit [Ping timeout: 264 seconds]
zaiste has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
A124 has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vDSCk
<crystal-gh> crystal/master 2114dc0 Ary Borenszweig: OAuth2: `expires_in` field of AccessToken is optional. Fixes #4041
pduncan has quit [Ping timeout: 258 seconds]
Rinkana has joined #crystal-lang
Rinkana has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
Raimondi has joined #crystal-lang
zaiste has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vDSgD
<crystal-gh> crystal/master 46fd4ac Ary Borenszweig: Parser: fixed parser issue related to curly blocks and precedence
<crystal-gh> crystal/master 15929e4 Ary Borenszweig: Fixed #3969: Compiler crash when capturing block in dispatch with non-capturing method
zaiste has quit [Ping timeout: 240 seconds]
<travis-ci> crystal-lang/crystal#6ea1129 (master - Add digest.cr which requires everything in digest/): The build has errored. https://travis-ci.org/crystal-lang/crystal/builds/202331641
<Papierkorb> noooo
<RX14> Papierkorb, but why would the PR not fail then
<RX14> it must be intermittent or something
<Papierkorb> Seems to be a race condition in the TestServer there.
<Papierkorb> If I'm right it's an easy fix
gloscombe has quit [Remote host closed the connection]
<Papierkorb> Was Fiber#resume a public API or a hack?
<Papierkorb> considered to be*
<travis-ci> crystal-lang/crystal#dbe0a29 (master - OAuth2::Client sends Accept headers by default): The build has errored. https://travis-ci.org/crystal-lang/crystal/builds/202341852
<RX14> Papierkorb, it's the only way to resume a fiber
<RX14> so it's not a hack
<RX14> but whether it's public API or subject to change is rather moot considering we're not yet at 1.0
bjz has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
<crystal-gh> [crystal] matiasgarciaisaia opened pull request #4043: Avoid redundant builds of OSX with xcode7.3 (master...redundant-osx-builds) https://git.io/vDSPz
NIk-- has joined #crystal-lang
pawnbox has joined #crystal-lang
<NIk--> Hi guys, what's wrong with the following: if input[0] == "v" || input[0] == "c" || input[0] == "t" || input[0] == "i"
<NIk--> input is a simple array
<NIk--> undefined local variable or method ' input' (did you mean 'input'?)
<NIk--> if input[0] == "v" << this works
soveran has quit [Ping timeout: 240 seconds]
<NIk--> but the or statements not
<Papierkorb> NIk--: are you sure you didn't type a nonbreakable space by accident?
<Papierkorb> NIk--: Try retyping the line from scratch
<NIk--> sec
<NIk--> hm ok
<NIk--> it works now
<NIk--> the lines look exactly the same though
<NIk--> weird
<Papierkorb> It's a somewhat common mishap for Mac users at least, where it's just Alt+Space or something to enter a NBSP
<NIk--> maybe from copy pasting within the code
<NIk--> I dont know really, but it works now. THanks! :-)
<Papierkorb> Cheers
<RX14> NIk--, they this: {"v", "c", "t", "i"}.includes? input[0]
<NIk--> sexy, thanks
<RX14> same performance as well :)
_-___-_ has joined #crystal-lang
_-___-_ has left #crystal-lang [#crystal-lang]
<travis-ci> crystal-lang/crystal#2114dc0 (master - OAuth2: `expires_in` field of AccessToken is optional. Fixes #4041): The build has errored. https://travis-ci.org/crystal-lang/crystal/builds/202349992
<DeBot> https://github.com/crystal-lang/crystal/issues/4041 (Expires in argument in OAuth2 responses should be optional)
crack08 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<travis-ci> crystal-lang/crystal#46fd4ac (master - Parser: fixed parser issue related to curly blocks and precedence): The build has errored. https://travis-ci.org/crystal-lang/crystal/builds/202369892
crack08 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
bjz has joined #crystal-lang
<FromGitter> <crisward> crystal spec, how do a check something is greater than `>` ?
soveran has joined #crystal-lang
<Papierkorb> crisward, `foo.should be > 5`
<Papierkorb> ... iirc
<BlaXpirit> or `assert something > 5` with https://github.com/oprypin/spec-assert :p
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<FromGitter> <crisward> < Papierkorb> Thanks... I'll make a note of that... not mentioned in api docs.
NIk-- has quit [Quit: Textual IRC Client: www.textualapp.com]
squeaky_pl has joined #crystal-lang
soveran has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
sz0 has joined #crystal-lang
danielpclark has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]