<FromGitter>
<Blacksmoke16> `Group.new(id: 1, name: "Ore", category_id: 1)`, or do i have to provide it a `Category` type im assume?
<FromGitter>
<Blacksmoke16> currently im just defining the raw column, and using a method to return the actual category
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
<FromGitter>
<watzon> Would a sigmoid function be classified as calculus or linear algebra?
<FromGitter>
<watzon> I'm leaning more towards the latter
jcs has left #crystal-lang [#crystal-lang]
laaron has quit [Remote host closed the connection]
laaron has joined #crystal-lang
laaron has quit [Remote host closed the connection]
laaron has joined #crystal-lang
alex`` has quit [Ping timeout: 245 seconds]
<FromGitter>
<Nbotz> How would i send Time.local to all clients in a websocket?
<FromGitter>
<Nbotz> through ECR and JS?
laaron has quit [Remote host closed the connection]
laaron has joined #crystal-lang
Groogy has quit [Quit: WeeChat 2.4]
laaron has quit [Remote host closed the connection]
laaron has joined #crystal-lang
laaron has quit [Remote host closed the connection]
laaron has joined #crystal-lang
<FromGitter>
<girng> what is ecr?
<FromGitter>
<girng> should be able to just send a server timestamp to all the clients
<FromGitter>
<bew> ECR is for Embedded CRystal, it's a compile time templating system.. @Nbotz I don't see how that would help though, if you a have a websocket on the backend, you could simply send a message from Crystal with the data you want
<FromGitter>
<alex-lairan> I see a lot of Crystal matrix shards, but no one is realy more used than other. ⏎ ⏎ Maybe we could have one shard on `crystal-community` that handle Matrix, and all matrix repo owners join they forces ? ⏎ ⏎ :) [https://gitter.im/crystal-lang/crystal?at=5d020172c12fd52664fc10b3]
<FromGitter>
<yxhuvud> there is a bunch of matrix shards based on integrating with external math libraries. Perhaps it is time someone built a native matrix shard, focusing on nice api, while keeping the integration against external libraries separate (but still reasonably feasible to implement)
_whitelogger has joined #crystal-lang
ashirase has quit [Ping timeout: 258 seconds]
<FromGitter>
<akrejczinger_gitlab> How can I create a spec for testing the print output of a program? I tried to find a way to reroute output to a file but I don't see a way to do it.
laaron has quit [Remote host closed the connection]
laaron has joined #crystal-lang
laaron has quit [Remote host closed the connection]
laaron has joined #crystal-lang
<FromGitter>
<straight-shoota> @MrSorcus It *can* be done, but supporting LLVM 7 is not a high priority right now. You can simply use an older version.
<FromGitter>
<MrSorcus> @straight-shoota oh, ok. Thanks for answer.
laaron has quit [Remote host closed the connection]
<FromGitter>
<girng> why would yuou need ECR to send a message to a client from a server
<FromGitter>
<watzon> @alex-lairan I'm trying to write an all-encompassing linear algebra library at watzon/apatite (https://github.com/watzon/apatite). I would love to see a Vector and Matrix implementation in the standard library though.
<FromGitter>
<wontruefree> is there a reason you are monkey patching parts of the stdlib?
<FromGitter>
<wontruefree> I just found cadmium. It looks really cool
<FromGitter>
<watzon> Adding methods that should be there and aren't. I'll probably refactor that stuff out though. Monkey patching always feels dirty.
DTZUZO has quit [Ping timeout: 248 seconds]
DTZUZO has joined #crystal-lang
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #crystal-lang
duane has joined #crystal-lang
laaron has quit [Remote host closed the connection]
<FromGitter>
<watzon> There is no unpack in Crystal unfortunately
<FromGitter>
<watzon> There is a shard I believe that replicates some of the functionality that `String#unpack` has though
<FromGitter>
<straight-shoota> In Crystal most use cases for String#unpack can be implemented using IO#read_* methods which is more flexible and doesn't require to load all data into a string
dostoyevsky has quit [Ping timeout: 252 seconds]
dostoyevsky has joined #crystal-lang
<pracabor>
good to know. Perhaps I'm overthinking this... Given that I'm trying to take a string and operate on it in a bitwise way, do I even need thi
dostoyevsky has quit [Ping timeout: 246 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duane has quit [Ping timeout: 245 seconds]
moei has quit [Quit: Leaving...]
dostoyevsky has joined #crystal-lang
laaron- has quit [Remote host closed the connection]