Unity can easily render 20000 sprites at 60fps. Those blows on Unity were pure nonsense.
@faob678711 күн бұрын
bashing truffle ruby 🤔
@Jerry_from_analytics25 күн бұрын
Uhh.. That's just lazy OOP, with unnecessary fluff when all the good terms are already the without creating classes like "SomethingCreator", "SomethingDoer", etc.. Presumably in this case User class "has_many :orders". Extend the relationship with a module: "has_many :orders, extend: UserOders". In that UserOrders create your variant of "create" method. Since given example does auth, charge and emails, let's call method "place". So "user places an order". In that method you can access the owning side of relationship (in our case instace of User) through "proxy_association.owner". That's it.. And then your controller code will looks something like: "order = user.orders.place(verified_params); if order.persisted? redirect_to(...) else render :new" (this is bit of a pseudocode since youtube comment section won't allow good code formatting). There's little bit of trickery in error handling, but everything is there. Note that relationship can have multiple extending modules. If one module starts becoming unwieldy - you can always split in multiple modules by some sort of "theme".
@letiesperon26 күн бұрын
Amazing job Alan, thank you! ❤
@LastIberianLynx_GameDev28 күн бұрын
Great conference we are lucky to have Amir and dragonruby toolkit. Im considering making a game in because it seems very pleasant to code in. Keep going dragonruby.
@purelydef907328 күн бұрын
No idea why rails has to be so absurdly complicated. In react, you never once have to think about the details of what’s going on in the AJAX requests because all that detail is abstracted away from developers and it just.. works. Having to understand all the nuances of low level details just to write a front end in exchange for not having to write JavaScript is NOT a good trade off at ALL. That’s like saying we can write all our clientside code in assembly but at least there’s no JS!
@Scudmaster1128 күн бұрын
20k sprites at 60 FPS???? How???... was it written in ASM????
@SnakeEngine10 күн бұрын
That's actually slow. You can get about 10 times more by batching. Transform all your sprites on cpu and put them into a triangle array that you hand over to SDL_RenderGeometry() that you just call once per frame (or as many times as you have batches).
@Scudmaster1110 күн бұрын
@SnakeEngine thats low level stuff or static stuff i dont do... try doing that in high level.. it wont happen
@RahulDhole7Ай бұрын
I think it’s a mindset difference people who like monolith can only like this. React is micro service mindset people who like to breakdown mammoth into rats.
@KapilDevPal-vf8mhАй бұрын
Please orginize rubyconf in India as well
@L1m3rАй бұрын
Here's the "same" presentation from N. Means but with better video (no stupid rubycon burned in ad): kzbin.info/www/bejne/aZ7LfYdpl9SibKM
@mellowfish316Ай бұрын
Such a great talk.
@vosechuАй бұрын
I think the author is doing a fabulous job taking the watcher along for the ride and letting them have the same epiphanies. But I also think there’s more places where mocking is necessary and beneficial and would encourage the reader of this comment to look up some of the talks by Sandi Metz about the magic rules for testing.
@abdullahsaleh7196Ай бұрын
Woow!😂
@ashishrao3069Ай бұрын
I like such talks where the takeaways are simple and can be implemented in our day to day projects or job.
@mikopikoАй бұрын
glimmer feels interesting
@kxijix2 ай бұрын
Good time, thanks
@someguyO2W2 ай бұрын
Just as my company is moving to trunk based development. I'm going to enjoy this.
@VladGerasimov2 ай бұрын
This video definitely needs more likes. Thanks for sharing it.
@dwolfe39062 ай бұрын
👇 'Promosm'
@someguyO2W2 ай бұрын
Reminds me of when I started. Now it makes sense but then, omg, I did as you did. Copy and pasted.
@dgmstuart2 ай бұрын
This pattern shown at the beginning (pass config and collaborators to the initialiser, pass data to the call method) is exactly how I personally like to create service objects: it’s great and makes for straightforward testing and dependency injection. But it’s not the command pattern, as I understand it? My understanding of the command pattern is that it’s for a very specialised use case where you build an object with everything, including the data, and then execute it (with no arguments) later. The canonical example I’ve seen is of a text editor, where individual commands are created into an undo stack. But maybe there are competing definitions? Does anyone have a link describing the version of the command pattern described in this talk?
@augustsbautra2 ай бұрын
1:39 Cross-dependency hell 4:58 What is Big Rails 5:40 Ownership with code_ownership 8:13 Boundaries and dep management with packwerk 17:31 Modularizing techniques compared (Engine VS Pack)
@someguyO2W2 ай бұрын
This was quite useful. Thanks for sharing the previous experiences as well.
@lydiastepanek2 ай бұрын
loved this talk!
@abtar42942 ай бұрын
I love simple things that are powerful as well. I felt that my life guided me to Ruby.
@GregRippetoe3 ай бұрын
His pronouns are "They/Them" LMAO
@dswsis3 ай бұрын
wrongly think that the tattoo is part of the shirt
@ArnaudMEURET3 ай бұрын
“I wish…” 🤣🤣🤣
@kalvgv2-kalvgvsscepulach-hb6rv3 ай бұрын
best engine yet.
@neonz27123 ай бұрын
I'm here because I saw JRuby at the very bottom of an energy efficiency list and got curious as to why.
@paul4ashraf4 ай бұрын
It's fun seeing you after hearing your voice for months on the bikeshed :D Loved the talk!
@DanielSacramento784 ай бұрын
Thank you bro for the explanation. Can i see the git hub repo?
@omajul4 ай бұрын
Neat!
@DevranUenal4 ай бұрын
Great speech and congratulations on shipping prism!
@madamimadamtimallen4 ай бұрын
Wonderfully pragmatic. Elle offers strategies that are clear and firm, but never rude
@anonymousweeble22244 ай бұрын
Great talk! Very nuanced, clear, and relevant for programmers. Thanks!
@MrBowmanXD4 ай бұрын
Good video
@mikopiko4 ай бұрын
Isn’t Ruby using semantic versioning? Does this mean Ruby won’t have any major releses until 2030?
@developerfoe4 ай бұрын
nicely and accurately explained. well done
@SergeyCoder4 ай бұрын
Thanks to Matz for Ruby 💎🎉
@ppercipio4 ай бұрын
I find the approach taken in by Makandra in the Growing Rails book more preferable.They create use-case specific subclasses of the primary model like `User::AsSignup` and put this once-off logic within those classes. When used with `active_type` then view rendering and url helpers continue to work as normal with these subclasses and your validations still work fine with forms. Oh yeah and you can add single-purpose fields to these models too.
@edwingarcia50434 ай бұрын
Good talk, I learned a lot, and also it makes me want to research more about time and dates.
@SergeyCoder4 ай бұрын
Those implicit includes of deps looks strange. Also dependency injection containers making feeling that you’re not controlling object construction that declared as dependency. I understand that object in deps just created & included as a part of class but why not just simply pass needed objects & params using new(email_service: service, another_param: some_val). You will strictly control what passed into initializer. Also what if need to pass different params to component initializer defined as dep, how to do it?
@chris_zou4 ай бұрын
So exciting and inspiring! Thank you, Kevin!
@askegg4 ай бұрын
Conflating the name of a file with the file type was a tragic misstep.
@GrahamAtDesk4 ай бұрын
Nicely done Murray. And I like the "why?" discussion most of all…