<FromGitter>
<ilanusse> Someone know if Crecto has `before_` and `after_` validations?
<FromGitter>
<Blacksmoke16> not sure, did you check out their docs?
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
<FromGitter>
<waghanza> @drujensen `go` is more performing than `rust`, that 's strange 😛
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
<FromGitter>
<codematix> Hi, I am new to Amber and Granite ORM, can somebody please let me know if Granite ORM supports Transactions and if so, where I could find any documentation or examples ?
snsei has joined #amber
snsei has quit [Ping timeout: 250 seconds]
feepbot has quit [Ping timeout: 246 seconds]
feepbot has joined #amber
snsei has joined #amber
snsei has quit [Ping timeout: 268 seconds]
<FromGitter>
<GeorgesLeYeti> Hello. I want to create an application (I don't know witch language to choose yet). Where the user send audio blob through a websocket to the application A1. When the blob is received by the application A1, the application A1 will send this blob to another application A2 though websocket. And when the application A2 respond, the application A1 will send the message to the user.
<FromGitter>
<GeorgesLeYeti> Do you think it possible with amber ? Or do you know any other language to do this ?
<FromGitter>
<ilanusse> @Blacksmoke16 I couldn't find it, it was a pretty quick scan tho
<FromGitter>
<ilanusse> I'm supporting Amber w/ Granite first, it'll be what I launch v0.1.0 with.
<FromGitter>
<ilanusse> Once I get confirmation e-mails and recovery e-mails set up 👌
<FromGitter>
<ilanusse> After that maybe I'll take a look at Crecto or Jennifer but I'll probably go for more functionality
<FromGitter>
<ilanusse> No point in using an auth suite if it doesn't solve common problems 😬
<FromGitter>
<drujensen> It depends on what you are benchmarking. ;-)
<FromGitter>
<drujensen> @GeorgesLeYeti when you say application, do you want these to be web applications?
<FromGitter>
<drujensen> regarding language, Crystal supports web sockets
<FromGitter>
<drujensen> so you can choose any framework that fits your requirements
<FromGitter>
<drujensen> Amber is great for getting up and running quickly and has Websocket support
<FromGitter>
<drujensen> Lucky is another good option and focuses on finding issues at compile time to avoid foobar mistakes in production
<FromGitter>
<drujensen> Kemal is another good option if you don’t need a full framework
<FromGitter>
<drujensen> I don’t know if I would send an audio blob via a websocket though. It may be better to use the socket as a messenger that their is an audio blog available and then grab it via http request
<FromGitter>
<drujensen> it all depends on what you are trying to do though. Are you trying to stream it or just send the whole file/blob?
<FromGitter>
<GeorgesLeYeti> @drujensen Yes I meant a web application. Currently I'm using Ruby on Rails with action cable. But rails is really sloooooow and my really issue is that action cable seems to doesn't support blob
<FromGitter>
<GeorgesLeYeti> Actually what I'm making is an audio recorder sending audio blob through a websocket and then send this blob to IBM Watson with websocket too to transcrib it and the return the result to client
<FromGitter>
<GeorgesLeYeti> But i need to store the blob on my application
<FromGitter>
<drujensen> i see
<FromGitter>
<drujensen> IBM Watson wants a websocket connection?
<FromGitter>
<GeorgesLeYeti> yes
<FromGitter>
<drujensen> so you are streaming through the socket
<FromGitter>
<GeorgesLeYeti> Ty a lot. I ll check for all that.
<FromGitter>
<drujensen> it you haven’t created your app yet, start with `amber new myapp —deps`
<FromGitter>
<drujensen> you will find the amber cli is very similar to rails so getting up to speed should be straight forward
<FromGitter>
<drujensen> the directory structure is pretty close as well
<FromGitter>
<GeorgesLeYeti> Yes that why I first came here to ask about that.
<FromGitter>
<drujensen> 👍
<FromGitter>
<drujensen> For me, the hardest thing for me to grasp in crystal is the types, especially union types and handling Nil. Once you figure that out, you will feel like you are writing ruby.
<FromGitter>
<drujensen> I’m kinda curious how you would stream from the web to a socket and then continue streaming that to IBM
<FromGitter>
<drujensen> if you figure that out, a blog post or tutorial would be awesome
<FromGitter>
<drujensen> are you capturing the audio via `getUserMedia`?
<FromGitter>
<drujensen> WebRTC stuff?
<FromGitter>
<drujensen> or they just upload a file
<FromGitter>
<GeorgesLeYeti> WebRTC
<FromGitter>
<drujensen> that sounds awesome!
<FromGitter>
<drujensen> I hope Amber works out for you
<FromGitter>
<drujensen> keep me posted
<FromGitter>
<GeorgesLeYeti> I hope too.
<FromGitter>
<GeorgesLeYeti> Yes of course I ll tell you if it succeed