faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
<FromGitter> <robacarp> Hightower4 are you working on an API with amber? There’s a new pull to change the way JSON serialization happens on Granite you may be interested in
vivus has quit [Quit: Leaving]
<FromGitter> <valenciaj> Hi guys!
<FromGitter> <valenciaj> Anyone know how to define a Granite model with customized (and different than the default one) connection. Like RoR does. Thanks.
hightower4 has joined #amber
<hightower4> robacarp, oh in any case that's a nice pointer to the Granite PR for JSON. But my original wish back then was to be able to do seamless store/load from a json/jsonb field in Postgres, while this guy is using a String
<hightower4> I think I even got jsonb working with just 2-3 lines of added code to Granite
<hightower4> But didn't discuss or submit a PR
<hightower4> (Will try to find it at some point)
hightower4 has quit [Quit: Leaving]
<FromGitter> <valenciaj> Hi again!
<FromGitter> <valenciaj> How to set custom TTL or expire on session?
<FromGitter> <valenciaj> Thanks
hightower3 has quit [Ping timeout: 240 seconds]
hightower3 has joined #amber
<FromGitter> <kolyaio> Trying to deploy my little up to lightsail. I’m running ubuntu on it but the issue that amber refuses to compile and I need it.
<FromGitter> <kolyaio> The error I got ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5b4c6d499a612333aa6701a4]
<FromGitter> <kolyaio> what is the issue ?
<FromGitter> <kolyaio> I tried this too: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5b4c6d8d95e03e3d7b535fd8]
<FromGitter> <kolyaio> I would happy to know that is my error ?
<FromGitter> <katafrakt> maybe you're out of memory? I think the output looked similar
<FromGitter> <kolyaio> how memory I should have for this?
feepbot has quit [Ping timeout: 260 seconds]
<FromGitter> <kolyaio> ?
feepbot has joined #amber
<FromGitter> <katafrakt> I don't know that, but 1GB was not enough for me
<FromGitter> <kolyaio> Well ?? I changed the plan to 1GB ram it’s runnnig but it taking a lot of time actually I hope I didn’t wate all for waste [ finger crossed ]
<FromGitter> <kolyaio> Even when I increased the memory still no use ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5b4c805595e03e3d7b53f462]
<FromGitter> <kolyaio> maybe I should build it on my own machine and then load it to the server ? I wonder ?
<FromGitter> <robacarp> @kolyaio I haven’t checked how much ram it takes to compile, but @katafrakt is right, it’s failing due to running out of memory
<FromGitter> <kolyaio> @robacarp the question how much does it need to compile ? 😮
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #amber
FromGitter has quit [Read error: Connection reset by peer]
FromGitter has joined #amber
wontruefree has joined #amber
<FromGitter> <robacarp> @kolyaio when running it on my mac, it seems to only take about half a gig, but I'm not sure if I trust my method of measurement.
<FromGitter> <robacarp> @valenciaj re: multiple connections, Granite doesn't yet support this, though it is a topic of active discussion: https://github.com/amberframework/granite/issues/254 https://github.com/amberframework/granite/pull/242
<FromGitter> <robacarp> Nice work @Blacksmoke16 on json serializable support
<FromGitter> <Blacksmoke16> 👍 im quite happy with it
wontruefree has quit [Quit: bye]
wontruefree has joined #amber
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #amber
wontruefree has quit [Ping timeout: 248 seconds]
<FromGitter> <vsaroha_gitlab> Hi friends. I am unable to get the following query working with #granite Page.all("WHERE url_hash IN (?)", ["03c0b8983f36b038dacdc72d24112c7f", "3dda60e25e0426a63d212d6847a0ea40"]). it works when there is only one element in the array. Can't figure out what am I missing.