jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.8.0 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
havenn has quit [Ping timeout: 256 seconds]
<crystal-gh> [crystal] jessedoyle opened pull request #1705: Implement ruby-style method visibility (master...visibility-syntax) http://git.io/vcAui
Philpax has joined #crystal-lang
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
greengriminal has quit [Quit: Leaving]
slash_nick is now known as slash_quit
elia has quit [Quit: Computer has gone to sleep.]
<crystal-gh> [crystal] jessedoyle opened pull request #1706: Fix typo in sponsors.haml (gh-pages...patch-1) http://git.io/vcAiq
slash_quit is now known as slash_nick
Philpax has quit [Ping timeout: 240 seconds]
qard has joined #crystal-lang
nakilon has joined #crystal-lang
kulelu88 has quit [Quit: Leaving]
Philpax has joined #crystal-lang
nakilon has quit [Ping timeout: 264 seconds]
datanoise has joined #crystal-lang
rmosolgo has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 255 seconds]
Philpax has joined #crystal-lang
circ-user-a211B has joined #crystal-lang
circ-user-a211B has quit [Remote host closed the connection]
kgadek has quit [Quit: gone sleep]
fowlduck has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 265 seconds]
havenwood has joined #crystal-lang
ryanf has joined #crystal-lang
rmosolgo has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
Philpax has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 250 seconds]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 265 seconds]
datanoise has left #crystal-lang ["WeeChat 1.3"]
rmosolgo has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 264 seconds]
rmosolgo has joined #crystal-lang
Philpax has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
bcardiff has quit [Quit: bcardiff]
bcardiff has joined #crystal-lang
bcardiff has quit [Quit: bcardiff]
Sadin has joined #crystal-lang
Philpax has quit [Read error: Connection reset by peer]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 250 seconds]
<crystal-gh> [crystal] tristil opened pull request #1707: [ci skip] small grammar fix in json/mapping.cr (master...patch-1) http://git.io/vcxcA
trapped has joined #crystal-lang
Sadin has quit [Remote host closed the connection]
trapped has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ryanf has quit [Quit: leaving]
ryanf has joined #crystal-lang
Raimondi has quit [Read error: Connection reset by peer]
Raimondi has joined #crystal-lang
Ven has joined #crystal-lang
elia has joined #crystal-lang
<dzv> How do i change a Char to a UInt8? I tried "a".to_i as UInt8 but that gives "can't cast Int32 to UInt8".
<dzv> 'x' is a constant. Is there a way to specify a single UInt8 that's not a Char?
BlaXpirit has joined #crystal-lang
<crystal-gh> [crystal] uhoh-itsmaciek opened pull request #1708: Add specs for splitting an empty string (master...add-split-of-empty-string-specs) http://git.io/vcx2i
Nik- has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 265 seconds]
rmosolgo has joined #crystal-lang
rmosolgo has quit [Remote host closed the connection]
nkts has joined #crystal-lang
elia has joined #crystal-lang
globalkeith has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
<crystal-gh> [crystal] jhass closed pull request #1706: Fix typo in sponsors.haml (gh-pages...patch-1) http://git.io/vcAiq
PragTob has joined #crystal-lang
nkts has left #crystal-lang ["x"]
<crystal-gh> [crystal] jhass pushed 2 new commits to master: http://git.io/vcpkD
<crystal-gh> crystal/master 0510597 Maciek Sakrejda: Add specs for splitting an empty string
<crystal-gh> crystal/master e1f6543 Jonne Haß: Merge pull request #1708 from uhoh-itsmaciek/add-split-of-empty-string-specs...
<jhass> dzv: .ord or just 120u8
pawnbox has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 2 new commits to master: http://git.io/vcpIK
<crystal-gh> crystal/master ea9edd6 Jonne Haß: Merge pull request #1707 from tristil/patch-1...
<crystal-gh> crystal/master 951e3f7 Joseph Method: [ci skip] small grammar fix in json/mapping.cr...
Philpax has quit [Quit: Leaving]
<travis-ci> manastech/crystal#e1f6543 (master - Merge pull request #1708 from uhoh-itsmaciek/add-split-of-empty-string-specs): The build passed. https://travis-ci.org/manastech/crystal/builds/84053449
<DeBot> https://github.com/manastech/crystal/pull/1708 (Add specs for splitting an empty string)
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
<crystal-gh> [crystal] davydovanton opened pull request #1709: Fix typos in some files (master...doc-fix-typos) http://git.io/vcpm9
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] jhass closed pull request #1709: Fix typos in some files (master...doc-fix-typos) http://git.io/vcpm9
kgadek has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
kgadek has quit [Ping timeout: 240 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BlaXpirit has quit [Quit: Konversation]
Ven has joined #crystal-lang
Ven has quit [Disconnected by services]
Ven_ has joined #crystal-lang
unshadow has joined #crystal-lang
nakilon has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nakilon has quit [Ping timeout: 272 seconds]
ssvb has quit [Ping timeout: 240 seconds]
kgadek has joined #crystal-lang
apt-get has joined #crystal-lang
sardaukar has quit [Ping timeout: 256 seconds]
unshadow has quit [Ping timeout: 240 seconds]
unshadow has joined #crystal-lang
kgadek has quit [Quit: bye]
unshadow has quit [Ping timeout: 256 seconds]
unshadow has joined #crystal-lang
Ven_ has joined #crystal-lang
apt-get has quit [Remote host closed the connection]
kgadek has joined #crystal-lang
kgadek has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
greenarrow has joined #crystal-lang
kgadek has joined #crystal-lang
ssvb has joined #crystal-lang
sdogruyol has joined #crystal-lang
ozra has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 240 seconds]
sardaukar has joined #crystal-lang
<sdogruyol> hey
ponga has joined #crystal-lang
alanwillms has joined #crystal-lang
<ozra> hey
bcardiff has joined #crystal-lang
sdogruyol has quit [Remote host closed the connection]
sdogruyol has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven_ has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybas_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 265 seconds]
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bcardiff_ has joined #crystal-lang
rmosolgo has joined #crystal-lang
bcardiff has quit [Ping timeout: 260 seconds]
bcardiff_ is now known as bcardiff
apt-get has joined #crystal-lang
Nik- has quit [Quit: Textual IRC Client: www.textualapp.com]
Sadin has joined #crystal-lang
nakilon has joined #crystal-lang
havenwood has joined #crystal-lang
tomchapin has joined #crystal-lang
tomchapin has quit [Read error: Connection reset by peer]
tomchapin has joined #crystal-lang
nakilon has quit [Ping timeout: 260 seconds]
bcardiff_ has joined #crystal-lang
alanwillms has quit [Quit: Saindo]
bcardiff has quit [Ping timeout: 246 seconds]
bcardiff_ is now known as bcardiff
alanwillms has joined #crystal-lang
alanwillms93 has joined #crystal-lang
alanwillms has quit [Ping timeout: 240 seconds]
<dzv> jhass: .ord returns Int32 and gives me the same conversion error
<jhass> >> 'a'.ord
<DeBot> jhass: # => 97 - http://carc.in/#/r/iaw
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
elia has quit [Quit: Computer has gone to sleep.]
sdogruyol has quit [Quit: Leaving...]
greenarrow has quit [Quit: Textual IRC Client: www.textualapp.com]
<dzv> >> 'a'.ord.class
<DeBot> dzv: # => Int32 - http://carc.in/#/r/iax
<dzv> >> 'a'.ord as UInt8).class
<DeBot> dzv: Syntax error in eval:20: unexpected token: ) - http://carc.in/#/r/iay
<dzv> >> ('a'.ord as UInt8).class
<DeBot> dzv: can't cast Int32 to UInt8 - http://carc.in/#/r/iaz
<jhass> >> 'a'.ord.to_u8
<DeBot> jhass: # => 97 - http://carc.in/#/r/ib0
gamemanj has joined #crystal-lang
qard has joined #crystal-lang
pawnbox has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/]
PragTob has quit [Remote host closed the connection]
BlaXpirit has joined #crystal-lang
tomchapin has quit [Remote host closed the connection]
greengriminal has joined #crystal-lang
<asterite> "The as expression restricts the types of an expression"
<jhass> asterite: http://carc.in/#/r/i3d parser bug?
nakilon has joined #crystal-lang
<asterite> jhass: probably
<jhass> don't know how to reduce it
<jhass> the line number is off anyway
nakilon has quit [Ping timeout: 244 seconds]
<asterite> No worries, open an issue so I don't forget, I guess it should be easy to fix
<jhass> waj: had any time to think about the key and domain for the nightly repo?
havenwood has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
kgadek has quit [Quit: gone sleep]
ljfa has joined #crystal-lang
bcardiff_ has joined #crystal-lang
bcardiff has quit [Ping timeout: 260 seconds]
bcardiff_ is now known as bcardiff
tomchapin has joined #crystal-lang
tomchapin has quit [Read error: Connection reset by peer]
tomchapin has joined #crystal-lang
trapped has joined #crystal-lang
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
buggs has quit [Ping timeout: 240 seconds]
buggs has joined #crystal-lang
tomchapin has joined #crystal-lang
leafybas_ has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
ponga has quit [Quit: Connection closed for inactivity]
<dzv> jhass: do you have any inside in to this: /home/travis/build.sh: line 41: crystal: command not found. only in travis postgres 9.2. 9.1, 9.3, 9.4 all work
<jhass> link?
<jhass> dzv: temporary fluke, nothing you can do about
<dzv> i seem to hit temporary flukes all the time
<dzv> and not the same ones
<jhass> the shutdowns are because it's running on preempting GCE instances, it should automatically retry but that logic is not perfect yet
<dzv> asterite, waj: Fibers don't play well with all c libraries. libpq blocks when getting results. you can use nonblocking sockets but when you call PQresult it uses select or poll internally to receive data and there's no reliable way around it that i can find.
<dzv> are there any plans or solutions?
<dzv> erlang style ports where a thread pool is used for blocking external calls and data is passed between the fiber and thread?
<dzv> other solutions?
globalkeith has joined #crystal-lang
globalkeith has quit [Client Quit]
fowlduck has joined #crystal-lang
Sadin_ has joined #crystal-lang
Sadin has quit [Ping timeout: 240 seconds]
nakilon has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
nakilon has quit [Ping timeout: 264 seconds]
globalkeith has joined #crystal-lang
<asterite> dzv: implement PG protocol, like this: https://github.com/lib/pq
<dzv> so reimplement every protocol
<asterite> Yes. Every language does it
<asterite> Well, every language that cares about concurrency
<dzv> that's not necessary with threads, only coroutines
<dzv> i was hoping for something like a blocking call structure that uses threads behind the scenes: blocking { LibPQ.get_result }
<dzv> this issue will come up more frequently as more libraries are ported to crystal
l has joined #crystal-lang
l is now known as Guest64533
ljfa has quit [Disconnected by services]
Guest64533 is now known as ljfa
shama has joined #crystal-lang
agargiulo has joined #crystal-lang
<agargiulo> Hey, I was wondering if anyone knows how the crystal rpms are made?
<jhass> agargiulo: with omnibus
<agargiulo> Ah, thanks
dylanmei has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sadin_ has quit [Remote host closed the connection]
elia has joined #crystal-lang
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 240 seconds]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NeverDie has joined #crystal-lang
globalkeith has joined #crystal-lang
Regexident has joined #crystal-lang
alanwillms93 has quit [Quit: This computer has gone to sleep]
havenn is now known as havenwood
kgadek has joined #crystal-lang
kgadek has quit [Client Quit]
kgadek has joined #crystal-lang
kgadek has quit [Client Quit]
gamemanj has quit [Ping timeout: 256 seconds]
ljfa has quit [Quit: Leaving]
Regexident has quit [Remote host closed the connection]
apt-get has quit [Ping timeout: 252 seconds]
Regexident has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 240 seconds]
elia has quit [Quit: Computer has gone to sleep.]
greengriminal has quit [Quit: Leaving]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has joined #crystal-lang
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
havenwood has quit [Ping timeout: 240 seconds]
havenwood has joined #crystal-lang
fowlduck has quit [Read error: Connection reset by peer]
fowlduck has joined #crystal-lang
unshadow has quit [Ping timeout: 244 seconds]
unshadow has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bcardiff has quit [Quit: bcardiff]
fowlduck has quit [Remote host closed the connection]
<ozra> is ther a way of calling an overridden method, like calling super for ancestors? (I mean a re-opened re-defined method here)
<jhass> previous_def
<jhass> ozra: ^
Regexident has quit [Quit: Textual IRC Client: www.textualapp.com]
<ozra> jhass: ah, thanks a lot!
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 252 seconds]
havenwood has quit [Ping timeout: 260 seconds]