<raz>
unfortunately it's a major undertaking and doesn't have much manpower behind it
<raz>
(woops google gave me a deeplink - i just meant to link to that thread as a whole, not that specific comment)
<yxhuvud>
I'm not certain I see the point. people seems to do well without it.. especially Lucky seems to go around the issue by not being magic.
<raz>
yup, hyperstack is essentially lucky, just with react on the client side
<raz>
so you for example have as a page template: `class MyPage; def render; div { "Data is: ${model.data }; end; end". and whenever you update the model using the ORM it automatically updates on the screen of all users who are looking at it
<raz>
without having to write any JS code
<raz>
(simplified example of course, but that's how it works in a nutshell)
<raz>
i've dabbled with the ruby verison, it still has rough edges, but works and could be a wonderful way out of JS hell if someone (ideally with deep pockets) was to create a fully polished impl :)
<raz>
i think flutter by google comes with a similar promise (apart from being hybrid). but well, it's dart and it's google. will probably remain a niche monstrosity like GWT.
alexherbo26 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo26 is now known as alexherbo2
<repo>
Blacksmoke16: hey again o/ I'm trying to understand how exactly to use dependency injection for athena controllers. So i need a service that holds an mqtt client connection and allows me to publish messages from controller actions
<repo>
i guess i'm asking how exactly can i inject a service into a controller that i've annotated with `@[ADI::Register..]`
<repo>
hm i guess i'll try just adding an initializer with that service as type restriction
Seich has quit [*.net *.split]
dom96 has quit [*.net *.split]
badeball has quit [*.net *.split]
Seich has joined #crystal-lang
dom96 has joined #crystal-lang
<repo>
hm nope, that didn't work
<repo>
ah i had to register the controller as well
Human_G33k has quit [Remote host closed the connection]
badeball has joined #crystal-lang
Human_G33k has joined #crystal-lang
lunarkitty7 has quit [Remote host closed the connection]
lunarkitty7 has joined #crystal-lang
alexherbo27 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo27 is now known as alexherbo2
alexherbo22 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo22 is now known as alexherbo2
<FromGitter>
<Blacksmoke16> and be sure to make the controller public, via `public: true`
<FromGitter>
<Blacksmoke16> ideally i think it would register controllers behind the scenes for you, but that depends on that custom macro method PR
alexherbo20 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #crystal-lang
alexherbo20 has quit [Ping timeout: 246 seconds]
Human_G33k has quit [Ping timeout: 240 seconds]
duane has joined #crystal-lang
<repo>
yup i got a compile time error telling me i should be using public: true :)
<FromGitter>
<Blacksmoke16> ah nice
alexherbo2 has quit [Ping timeout: 256 seconds]
<FromGitter>
<Blacksmoke16> really want that bug to get fixed so it actually points to the correct thing
<FromGitter>
<Blacksmoke16> error message is good but the location is not super helpful atm :/
HumanG33k has joined #crystal-lang
HumanG33k has quit [Remote host closed the connection]
HumanG33k has joined #crystal-lang
ua_ is now known as ua
HumanG33k has quit [Remote host closed the connection]
lunarkitty7 has quit [Ping timeout: 240 seconds]
zorp has joined #crystal-lang
hamoko[m] has quit [Quit: Idle for 30+ days]
tsujp has quit [Ping timeout: 260 seconds]
<oprypin>
I'm binding a C function that has `...` in its args. and the function ends up receiving just zeros from me
<FromGitter>
<franciscoadasme> hey everyone, can anyone point me to some guide about profiling a crystal program?, I found this old article (https://www.mikeperham.com/2016/06/24/profiling-crystal-on-osx/) but it doesn't seem to work any longer as Instruments only showed GC calls for the example
<oprypin>
yea i think Crystal fails to do the promotion of va_args