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
renich has joined #amber
renich_ has joined #amber
renich has quit [Ping timeout: 260 seconds]
renich_ is now known as renich
<FromGitter> <drujensen> For me, fixing granite N+1 queries on relationships would be #1. Support Nested Params would be #2.
<FromGitter> <drujensen> Both of those are extremely difficult to do.
<FromGitter> <drujensen> If u are looking for something more simple, documentation can always be improved.
renich_ has joined #amber
renich has quit [Ping timeout: 260 seconds]
renich_ is now known as renich
renich has quit [Quit: renich]
<FromGitter> <drujensen> This is also a much requested feature https://github.com/amberframework/amber/issues/778
<FromGitter> <Blacksmoke16> https://github.com/amberframework/granite/pull/370 could also use some feedback πŸ˜‰
<FromGitter> <drujensen> aah, yes. And the property setters not being called from initializer bug.
<FromGitter> <OpakAlex> @drujensen i will check granite, i think N+1 (includes) will be interesting todo
<FromGitter> <drujensen> Yes, but very challenging. You will need to combine the select of two tables into a single query and then load both the parent and children objects from the results.
<FromGitter> <OpakAlex> But why single query, in normal if we do: ⏎ categories = Category.includes(:posts).where(active: true) ⏎ categories.each {|category| category.posts.map(&:id)} ⏎ This will create 2 sql queries, one for categories table, and one for posts with IN (?). Same for nested will be. no? [https://gitter.im/amberframework/amber?at=5edf108989941d051a50c42a]
<FromGitter> <damianham> > @damianham Did you ever try cross compiling it? https://gist.github.com/drujensen/d756e7b6dfaefcbec12eaaed6ce909ba ⏎ ⏎ @drujensen yes I have been trying to cross compile but it is not working at present. This issue in Crystal https://github.com/crystal-lang/crystal/issues/9297 highlights the problems myself and at least one other guy are experiencing trying to build on ARM architecture. We can't even
<FromGitter> ... compile `puts "hello"`. I looked at Rust and Dart because they are both directly supported on ARM by a binary tooling distribution but the two web application frameworks I looked at are nowhere near the ease of development that Rails and Amber provide out of the box. I suspect support for ARM will come to Crystal long before ... [https://gitter.im/amberframework/amber?at=5edf57e37a7f8d2d6323a544]
<FromGitter> <drujensen> @OpakAlex that should work as well
<FromGitter> <OpakAlex> cool! I will look more into granite. You can assign me https://github.com/amberframework/granite/issues/65 for includes.
<FromGitter> <drujensen> @damianham sorry to hear that. I enjoyed using crystal on RPi and agree that its way simpler than Rust and Go. Haven’t looked at Dart much yet.
<FromGitter> <damianham> @drujensen I use Dart to develop a mobile app with Flutter and for that it is really excellent and it's all functional programming. My mobile app does a load of stream processing and there is great support for streams in Dart.
<FromGitter> <drujensen> πŸ‘
renich has joined #amber
renich has quit [Client Quit]
renich has joined #amber
renich has quit [Ping timeout: 256 seconds]
renich has joined #amber
renich has quit [Quit: renich]
renich has joined #amber
<FromGitter> <waghanza> πŸŽ‰ `crystal` *0.35* is out πŸŽ‰
<FromGitter> <waghanza> and `dart` supports aot compilation
<FromGitter> <drujensen> Excellent. I will work on a release of Amber. Lots of breaking changes coming.
<FromGitter> <waghanza> Yeah, seems to. I was alerted by https://travis-ci.com/github/the-benchmarker/web-frameworks/jobs/346798274
<FromGitter> <OpakAlex> wow
<FromGitter> <drujensen> @waghanza looks like you maintain those benchmarks. You learn tons about other languages doing that. :-)
<FromGitter> <eliasjpr> Yeah lots of breaking changes. We are going to need some help from the community
<FromGitter> <eliasjpr> @damianham in regards to Nested params. I completed this shards the other night https://github.com/eliasjpr/schema that should help on that front.