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> <eliasjpr> I would have to say since thing are working it would be nice to clean up a little the dependency that exists, I have read about people disliking the fact that amber projects are huge when compiled and slow to compile this are a couple of things that we should probably work.
<FromGitter> <eliasjpr> Also, has anyone heard from @faustinoaq???
<FromGitter> <drujensen> not lately.
<FromGitter> <drujensen> Regarding size of Amber, I completely agree. I think it has added too many features that could have been moved to shards
<FromGitter> <drujensen> look at reducing the number of shards we depend on
<FromGitter> <eliasjpr> @elorest my dear friend. How are you? 😊
<FromGitter> <AizuddinBadry> Hello, may i know how can i use nested routes in clear way ? ⏎ ⏎ I tried scoped my user auth with "/users" but its not working
<FromGitter> <rishavs> Hi. I ave started a new project using Granite and am getting issues with starting up. I keep getting `Unhandled exception: No registered adapter with the name 'pg' (Exception)` ⏎ I am initializing the ORM as; ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5b823d21f5402f32aa91ca4a]
<FromGitter> <drujensen> try `Granite::Adapters << Granite::Adapter::Pg.new({name: "pg", url: ENV[β€œDATABASE+URL])` instead
<FromGitter> <drujensen> which version of granite?
<FromGitter> <drujensen> can you confirm that the `pg` library is available in your `lib` directory? verify that you ran `shards install`?
<FromGitter> <drujensen> and the library is included in your `shards.yml`?
<FromGitter> <drujensen> @rishavs ^^^
<FromGitter> <drujensen> ``````
<FromGitter> <drujensen> ``` pg: ⏎ github: will/crystal-pg ⏎ version: ~> 0.15.0``` [https://gitter.im/amberframework/amber?at=5b823f3794f8164c179f41c1]
<FromGitter> <rishavs> Crystal 0.26 ⏎ granite: ⏎ ⏎ ```github: will/crystal-pg ⏎ version: 0.15.0``` [https://gitter.im/amberframework/amber?at=5b823f52a491f45917a0c5df]
<FromGitter> <drujensen> `lib/pg` exists?
<FromGitter> <rishavs> yes
<FromGitter> <drujensen> hhm, versions are correct
<FromGitter> <rishavs> This is my current repo state https://github.com/rishavs/silver
<FromGitter> <drujensen> Can you confirm that your ENV DATABASE_URL is set?
<FromGitter> <drujensen> nm, that shouldn’t be the issue
<FromGitter> <rishavs> :(
<FromGitter> <drujensen> ok, this new Adapters change needs some love
<FromGitter> <drujensen> If you move the ` # Granite::Adapters << Granite::Adapter::Pg.new({name: "pg", url: ENV["DATABASE_URL"]})` up to line 6, it will work
<FromGitter> <drujensen> the problem is your actions are being loaded which loads the model before the adapters are registered
<FromGitter> <drujensen> in Amber, we load the initializers first
<FromGitter> <drujensen> which registers the Adapters
<FromGitter> <drujensen> before requiring the models. Another option is to move this in a config file and require that before the actions
<FromGitter> <drujensen> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5b8245f5cff55e561760a93f]
<FromGitter> <drujensen> @rishavs ^^^
<FromGitter> <rishavs> dang. o.0 ⏎ Thanks a lot @drujensen
<FromGitter> <drujensen> np
<FromGitter> <Thellior> @Blacksmoke16 I added documentation regarding the env variables of the granite multiple database test
<FromGitter> <Thellior> Could you rereview so i can help other pull requests with the changes
_whitelogger has joined #amber
<FromGitter> <Thellior> I'm running a benchmark with ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ Someones knows why i get so low result? [https://gitter.im/amberframework/amber?at=5b82993dfd3c641b06102497]
<FromGitter> <eliasjpr> could very be the database settings @Thellior
<FromGitter> <eliasjpr> can you run the test for a little longer than 10 secs
<FromGitter> <eliasjpr> Also whats the machine resources? Are you running other apps in the background that are using resources?
<FromGitter> <Thellior> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5b829d90ff445156163e110b]
<FromGitter> <Thellior> Just running Postgresql and Apache2 on Ubuntu 18.04
<FromGitter> <Sija> @drujensen https://github.com/amberframework/amber/releases/tag/v0.9.0 has been mistagged crediting commiters instead of authors, would be nice to have it fixed
<FromGitter> <Sija> also, authors should be referenced using their github @usernames
<FromGitter> <Sija> like in previous releases
<FromGitter> <Sija> commit shas are redundant too
<FromGitter> <rishavs> In Granite, can I define a field in my model as the primary key?
<FromGitter> <rishavs> Having some major issues with using Granite with DbaaS like elephantsql. My simple get queries are taking seconds instead of milliseconds and after runnig a few, i get too many commenctions issue. If I use the base db library, i get 150 ms to make the same query. But if I use Granite, I am getting 1.5s for the query. ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberf
<FromGitter> ... ramework/amber?at=5b82b34158a3797aa3bbe1fe]
<FromGitter> <Blacksmoke16> @Thellior Done! thanks!
<FromGitter> <Thellior> Thanks for the review
<FromGitter> <Blacksmoke16> np
_whitelogger has joined #amber
hightower5 has left #amber ["Leaving"]
hightower2 has joined #amber
<FromGitter> <eliasjpr> @Thellior where are you hosting it. How many CPUs memory etc
<FromGitter> <eliasjpr> @all Please read about about Amber Development state https://github.com/amberframework/amber/issues/941
hightower5 has joined #amber
hightower2 has quit [Ping timeout: 252 seconds]