<FromGitter>
<jwoertink> @johnjansen you ok? Or having a baby? Congrats or sorry and feel better. Which ever applies
<FromGitter>
<raydf> Didn't catch the part of the emergency room, get better :)
HakanD has joined #crystal-lang
HakanD has quit [Ping timeout: 258 seconds]
eizua has joined #crystal-lang
<FromGitter>
<cjgajard> @johnjansen , an alternative to creating a tmp slice: `'あ'.bytes.join(&.to_s 16, upcase: true)`
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 268 seconds]
HakanD has joined #crystal-lang
HakanD has quit [Ping timeout: 250 seconds]
djellemah has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
foca has quit [Quit: :wq]
<FromGitter>
<raydf> thanks @asterite, nice to know that is possible to get linux to compile faster.
foca has joined #crystal-lang
Philpax has joined #crystal-lang
HakanD has joined #crystal-lang
HakanD has quit [Quit: Be back later ...]
HakanD has joined #crystal-lang
HakanD has quit [Ping timeout: 260 seconds]
HakanD has joined #crystal-lang
djellemah has quit [Ping timeout: 248 seconds]
djellemah has joined #crystal-lang
snsei has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 252 seconds]
Philpax has joined #crystal-lang
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
HakanD_ has joined #crystal-lang
HakanD has quit [Ping timeout: 252 seconds]
HakanD_ has quit [Read error: Connection reset by peer]
sooli has joined #crystal-lang
HakanD_ has joined #crystal-lang
mark_66 has joined #crystal-lang
bjz has joined #crystal-lang
djellemah has quit [Ping timeout: 260 seconds]
djellemah has joined #crystal-lang
HakanD_ has quit [Quit: Be back later ...]
HakanD_ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
HakanD_ has quit [Ping timeout: 268 seconds]
miketheman has quit [*.net *.split]
jeromegn has quit [*.net *.split]
soveran has quit [*.net *.split]
A124 has quit [*.net *.split]
havenwood has quit [*.net *.split]
Yxhuvud has quit [*.net *.split]
mose has quit [*.net *.split]
jamie_ca has quit [*.net *.split]
elomatreb has quit [*.net *.split]
oddmunds has quit [*.net *.split]
grindhold has quit [*.net *.split]
endou has quit [*.net *.split]
avdi has quit [*.net *.split]
bazaar has quit [*.net *.split]
Philpax has quit [*.net *.split]
eizua has quit [*.net *.split]
mjblack has quit [*.net *.split]
RX14 has quit [*.net *.split]
trajing- has quit [*.net *.split]
dom96 has quit [*.net *.split]
ryanf has quit [*.net *.split]
onionhammer1 has quit [*.net *.split]
Tophe_ has quit [*.net *.split]
rkeene has quit [*.net *.split]
swav has quit [*.net *.split]
leex has quit [*.net *.split]
badeball has quit [*.net *.split]
leafybasil has quit [*.net *.split]
m94asr has quit [*.net *.split]
coderobe has quit [*.net *.split]
CompanionCube has quit [*.net *.split]
jokke has quit [*.net *.split]
BlaXpirit has quit [*.net *.split]
fedruantine has quit [*.net *.split]
justinmcp has quit [*.net *.split]
pleiosaur has quit [*.net *.split]
dzv_ has quit [*.net *.split]
bjmllr has quit [*.net *.split]
ssvb has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
Raimondi has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
Cyrus has quit [*.net *.split]
matp has quit [*.net *.split]
g3funk has quit [*.net *.split]
jadams has quit [*.net *.split]
rtl has quit [*.net *.split]
adam12 has quit [*.net *.split]
gewo has quit [*.net *.split]
pawnbox has quit [*.net *.split]
djellemah has quit [*.net *.split]
bjz has quit [*.net *.split]
asterite has quit [*.net *.split]
tliff has quit [*.net *.split]
wmoxam has quit [*.net *.split]
_jungh4ns has quit [*.net *.split]
pabs has quit [*.net *.split]
bmcginty has quit [*.net *.split]
yossarian has quit [*.net *.split]
x0f has quit [*.net *.split]
DeBot has quit [*.net *.split]
guilleiguaran__ has quit [*.net *.split]
vifino has quit [*.net *.split]
danzilio_ has quit [*.net *.split]
nickc2 has quit [*.net *.split]
jhass has quit [*.net *.split]
Liothen has quit [*.net *.split]
michael_campbell has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
pataphysics has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
jfontan has quit [*.net *.split]
maxpowa has quit [*.net *.split]
aarongodin has quit [*.net *.split]
go|dfish has quit [*.net *.split]
txdv has quit [*.net *.split]
Majost has quit [Ping timeout: 256 seconds]
mroth has quit [Ping timeout: 256 seconds]
avdi has joined #crystal-lang
_whitelogger has joined #crystal-lang
bjz has joined #crystal-lang
_whitelogger has joined #crystal-lang
Philpax has quit [Ping timeout: 268 seconds]
emmanueloga has joined #crystal-lang
danzilio_ has joined #crystal-lang
pataphysics has joined #crystal-lang
aarongodin has joined #crystal-lang
txdv has joined #crystal-lang
jfontan has joined #crystal-lang
maxpowa has joined #crystal-lang
dostoyevsky has joined #crystal-lang
go|dfish has joined #crystal-lang
mroth has joined #crystal-lang
[spoiler] has joined #crystal-lang
Liothen has joined #crystal-lang
Majost has joined #crystal-lang
miketheman has joined #crystal-lang
jeromegn has joined #crystal-lang
miketheman has quit [*.net *.split]
jeromegn has quit [*.net *.split]
Majost has quit [*.net *.split]
Liothen has quit [*.net *.split]
danzilio_ has quit [*.net *.split]
mroth has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
pataphysics has quit [*.net *.split]
jfontan has quit [*.net *.split]
emmanueloga has quit [*.net *.split]
maxpowa has quit [*.net *.split]
aarongodin has quit [*.net *.split]
go|dfish has quit [*.net *.split]
txdv has quit [*.net *.split]
danzilio_ has joined #crystal-lang
pataphysics has joined #crystal-lang
emmanueloga has joined #crystal-lang
[spoiler] has joined #crystal-lang
jfontan has joined #crystal-lang
maxpowa has joined #crystal-lang
mroth has joined #crystal-lang
dostoyevsky has joined #crystal-lang
aarongodin has joined #crystal-lang
go|dfish has joined #crystal-lang
txdv has joined #crystal-lang
miketheman has joined #crystal-lang
jeromegn has joined #crystal-lang
x0f has joined #crystal-lang
yossarian has joined #crystal-lang
DeBot has joined #crystal-lang
michael_campbell has joined #crystal-lang
guilleiguaran__ has joined #crystal-lang
vifino has joined #crystal-lang
nickc2 has joined #crystal-lang
bmcginty has joined #crystal-lang
Liothen has joined #crystal-lang
jhass has joined #crystal-lang
Majost has joined #crystal-lang
wmoxam has joined #crystal-lang
pabs has joined #crystal-lang
_jungh4ns has joined #crystal-lang
tliff has joined #crystal-lang
asterite has joined #crystal-lang
djellemah has joined #crystal-lang
elomatreb has joined #crystal-lang
avdi has joined #crystal-lang
mark_66 has joined #crystal-lang
kiliankoe has joined #crystal-lang
aemadrid has joined #crystal-lang
HakanD_ has joined #crystal-lang
FromGitter has joined #crystal-lang
early has joined #crystal-lang
danzilio_ has quit [Ping timeout: 258 seconds]
Majost has quit [Ping timeout: 254 seconds]
mroth has joined #crystal-lang
mroth has quit [Changing host]
pawnbox has joined #crystal-lang
Majost has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
danzilio_ has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
pawnbox has quit [Ping timeout: 258 seconds]
soveran has quit [Ping timeout: 268 seconds]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
HakanD__ has joined #crystal-lang
pawnbox has joined #crystal-lang
HakanD_ has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
<Papierkorb>
How do I read on multiple things in a Fiber, so that the fiber is woken up when something of interest happened? I have a TCPSocket and want to control the connection though a Channel while listening on the TCPSocket for data the other end sends.
pawnbox has quit [Ping timeout: 258 seconds]
<Papierkorb>
ah, found `samples/channel_select.cr`
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 258 seconds]
<crystal-gh>
[crystal] asterite pushed 3 new commits to master: https://git.io/vPVEH
<crystal-gh>
crystal/master 89da3a7 Ary Borenszweig: OAuth and OAuth2: allow specifying absolute URLs for protocol endpoints
<crystal-gh>
crystal/master 9ebc468 Ary Borenszweig: OAuth and OAuth2: added block form to `get_authorize_uri` to add extra form params
<crystal-gh>
crystal/master 6c52bef Ary Borenszweig: Expose HTTP::Params::Builder for better docs
DeBot has quit [Ping timeout: 260 seconds]
jhass has quit [Ping timeout: 260 seconds]
asterite has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/vPV2O
soveran has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
HakanD__ has quit [Quit: Be back later ...]
mark_66 has quit [Quit: Leaving.]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Read error: No route to host]
snsei has quit [Remote host closed the connection]
HakanD__ has joined #crystal-lang
<RX14>
@sdogruyol, for multipart? actually not
<RX14>
IO::Delimited doesn't do any reads larger than 4096
<RX14>
it goes by bytewise, or at most 1 delimitersworth
<RX14>
which for multipart will never be larger than 4096
kulelu88 has joined #crystal-lang
HakanD__ has quit [Ping timeout: 260 seconds]
kulelu88 has quit [Quit: Leaving]
kulelu88 has joined #crystal-lang
soveran has quit [Remote host closed the connection]
HakanD has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
daemonwrangler has quit [Ping timeout: 248 seconds]
Cyrus has quit [Ping timeout: 248 seconds]
daemonwrangler has joined #crystal-lang
Cyrus has joined #crystal-lang
Cyrus is now known as Guest18830
<FromGitter>
<alex-lairan> Hi guy's, can I use one `def initialize(XX)` from another?
<FromGitter>
<alex-lairan> I've try with `new(XX)` but this don't realy work ^^'
<RX14>
the common way is to call new from another new
<RX14>
@alex-lairan
soveran has quit [Remote host closed the connection]
eizua has quit [Quit: Leaving]
soveran has joined #crystal-lang
<FromGitter>
<johnjansen> thanks @jwoertink i was hit by a car, fortunately just a sprained or badly bruised foot … but i cant stand, so im going to be doing alot of programming
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<FromGitter>
<jwoertink> Oh snap! Glad to hear it's not worse. If you get bored, and need a crystal project to work on, I need a few crystal deps to replace Ruby dependency on fez 😁
<FromGitter>
<sdogruyol> @johnjansen hope you get well soon
<FromGitter>
<jwoertink> @alex-lairan I think you just call `initialize` with the arity you need from the other
<BlaXpirit>
jwoertink, no, it usually does not work out
<BlaXpirit>
because nested calls don't count as initialization :(
<FromGitter>
<jwoertink> Oh, damn. I could have swore I seen that used somewhere. Then again, I have no idea if the code I saw actually worked :smile:
<FromGitter>
<sdogruyol> @alex-lairan that's a lot of code :D
<FromGitter>
<jwoertink> sweet!
<FromGitter>
<alex-lairan> Crystal > C Crystal > Ruby ! :clap:
<FromGitter>
<jwoertink> @sdogruyol I'm going to have something in production soon though. I made some new updates the fez to help with development
<FromGitter>
<alex-lairan> #Kemal on prod is viable?
<FromGitter>
<jwoertink> Yeah. There's a few things you have to keep in mind when deploying it, but for the most part, I think it's decent
<FromGitter>
<jwoertink> When I finally get my project up, I'll probably add some notes in to fez about deployment and such
soveran has joined #crystal-lang
<FromGitter>
<sdogruyol> @alex-lairan ywah it is
<FromGitter>
<alex-lairan> okay ! :)
<FromGitter>
<sdogruyol> @alex-lairan there are bunch of companies using it
DeBot has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
bjz has joined #crystal-lang
<FromGitter>
<drosehn> @alex-lairan -- interesting. That looks like Crolor declares `@b` two times (both times as UInt8), which means `@g` is not declared?
<FromGitter>
<johnjansen> @drosehn how do you figure? am i missing something?
<FromGitter>
<alex-lairan> @drosehn no just a fail past ^^
soveran has quit [Remote host closed the connection]
<FromGitter>
<drosehn> @alex-lairan Hmm. I think that declares the `g` parameter for that `initialize`, and then sets the global `@g` variable based on it. But I don't know enough crystal to think through what that means. But it was interesting to see that the more explicit declaration was not needed.
<FromGitter>
<johnjansen> @drosehn the background to this is that he wants to be able to `Color::Rgb.new(100,150,200)` without having to `Color::Rgb.new(100.to_i8,150.to_i8,200.to_i8)`and with some range checking
<FromGitter>
<drosehn> And the whole set of initialize methods was also interesting. :smile:
<FromGitter>
<johnjansen> yeah, i probably wouldn’t bother with the first one
soveran has joined #crystal-lang
<FromGitter>
<johnjansen> but thats ok ;-)
<FromGitter>
<drosehn> yeah, I'm just paying attention for any interesting code which comes up here, and thinking about what that might mean in other contexts. So, I sometimes head off on tangents to the original code.
<FromGitter>
<johnjansen> nice work ;-) … looks like you have the experience behind you ;-)
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
<FromGitter>
<johnjansen> @drosehn @alex-lairan i might be inclined to be a bit more explicit with the ⏎ ```code paste, see link``` ⏎ but i would love an opinion on that … arguments for and against a style of code are of great interest [https://gitter.im/crystal-lang/crystal?at=57fffb9c78bd0d0363bf1dde]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<FromGitter>
<johnjansen> also kinda confused as to why `Crolor::Rgb.new(0xffffff)` raises an error
<FromGitter>
<johnjansen> huh … running through the first initializer, not the second @alex-lairan do you have specs for this code … make sure you are testing properly
<FromGitter>
<drosehn> To see where my roaming thoughts led me, see the response I just added to #3334