<FromGitter>
<bew> 👍 next time it'll be better I hope ;)
DTZUZO_ has quit [Ping timeout: 252 seconds]
DTZUZO_ has joined #crystal-lang
Groogy1 has joined #crystal-lang
shalmezad has quit [Quit: This computer has gone to sleep]
shalmezad has joined #crystal-lang
shalmezad has quit [Client Quit]
Groogy1 has quit [Ping timeout: 240 seconds]
DTZUZO_ has quit [Ping timeout: 252 seconds]
DTZUZO_ has joined #crystal-lang
wontruefree has joined #crystal-lang
<FromGitter>
<girng> wow @sdogruyol nice to see u back
<FromGitter>
<girng> i missed you
<FromGitter>
<girng> i have a question about mysql-db. for example, my game server is going to connect to master server's mysql server. now, when i run db.query on the gameserver, the code below that will not run until the db.query has been executed (from the master server), correct? so if the master server is far away from the game server, there will be a delay i'm assuming, but is is synchronous even if it's a remote connection,
<FromGitter>
... correct?
<FromGitter>
<fridgerator> correct
<FromGitter>
<fridgerator> if you dont want to wait and you dont need the results of the query, do it in a `spawn` block
<FromGitter>
<girng> that was simple. ty for fast response. feeling better :D
<FromGitter>
<girng> wow, good idea. that means don't need to wait for roundtrip time
<FromGitter>
<girng> <for that specific piece of code>
DTZUZO_ has quit [Ping timeout: 245 seconds]
wontruefree has quit [Quit: bye]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
wontruefree has joined #crystal-lang
moei has quit [Quit: Leaving...]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
<wontruefree>
is there anyway to inherit from Bytes?
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
moei has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter>
<j8r> `alias Bytes = Slice(UInt8)`, so no
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter>
<straight-shoota> wontruefree why?
<wontruefree>
I want to add some methods to a byte buffer
<wontruefree>
something like ConnectionBufer.version or something
<wontruefree>
right now I am setting an instance var of buffer that is a Bytes
<wontruefree>
but it would be nice to be able to inherit from it
<FromGitter>
<vladfaust> @straight-shoota regarding to docker. I try to run `docker run -it crystallang/crystal:nightly /usr/bin/crystal spec` in the shard's directory, but it returns empty response. Can I run spec without need to copy the shard source files into the docker container?