RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.26.1 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
DTZUZO_ has joined #crystal-lang
wontruefree has quit [Quit: bye]
wontruefree has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 245 seconds]
rohitpaulk has joined #crystal-lang
wontruefree has quit [Quit: bye]
<FromGitter> <bararchy> @cfsamson excel shard? Can you link the github?
mooe has joined #crystal-lang
mooe has left #crystal-lang [#crystal-lang]
<FromGitter> <cfsamson> @bararchy https://github.com/cfsamson/xlsx
srm` has left #crystal-lang ["WeeChat 2.1"]
Groogy1 has joined #crystal-lang
<FromGitter> <sdogruyol> Morning everyone 👋
<lvmbdv> morning
<FromGitter> <drum445> Morning
<FromGitter> <drum445> Legacy systems make me cry
<FromGitter> <sdogruyol> you meant "everyone"
baweaver is now known as baweaver_away
<FromGitter> <drum445> good point
<FromGitter> <drum445> they have some special treats though
ua has joined #crystal-lang
<FromGitter> <sdogruyol> yup, most of them
rohitpaulk has quit [Ping timeout: 272 seconds]
ashirase has quit [Ping timeout: 252 seconds]
ashirase has joined #crystal-lang
Groogy1 has quit [Ping timeout: 250 seconds]
Groogy1 has joined #crystal-lang
Groogy1 has quit [Ping timeout: 250 seconds]
Groogy1 has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 245 seconds]
rohitpaulk has joined #crystal-lang
<FromGitter> <Qwerp-Derp> I have to write Hedron from scratch again... the code's become too unmaintainable lol
shalmezad has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 250 seconds]
Groogy1 has quit [Ping timeout: 245 seconds]
Flipez has quit [Quit: The Lounge - https://thelounge.github.io]
Flipez has joined #crystal-lang
<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?
<oprypin> wontruefree, the real reason is that its a struct https://crystal-lang.org/api/0.26.1/Slice.html
<oprypin> the recommended way is to use composition rather than inheritance
<FromGitter> <vladfaust> `docker run -it -v ${PWD}:/app crystallang/crystal:nightly bash -c "cd app && /usr/bin/crystal spec"` nice
<FromGitter> <j8r> @vladfaust you can append `-w /app` to avoid having to `cd` inside 😏
<FromGitter> <j8r> Too bad the official image isn't based on Alpine :(
<FromGitter> <vladfaust> @j8r thanks!
<FromGitter> <vladfaust> `bash: -w: invalid option`
DTZUZO_ has joined #crystal-lang
<FromGitter> <vladfaust> Ah, append as `docker run -w`. Yeah, it works
<wontruefree> @oprypin thanks
<wontruefree> I will do that
<wontruefree> but just to confirm it is not possible that you know of?
wontruefree has quit [Quit: this is not the client you are looking for]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 272 seconds]
return0e has quit [Ping timeout: 244 seconds]
baweaver_away is now known as baweaver