1,214 karma · joined November 6, 2008
If I know, for instance, an admin is identified by an `is_admin` flag, I could add this to the allowed params and send my flag. Bam. I’m now an admin.
I know the example is a bit simplistic, but it wouldn’t take long to comb your app for a real world example where this would be problematic.
Citation required? If you hang out with a child you quickly discover that their world is quite three dimensional. Heck, climbing is a fast growing sport. Again, three dimensional. We're made to run, jump, and climb. Three dimensional.
Can you elaborate on this assertion?
We've been using LiveView to build a new app at Precision Nutrition and are largely quite happy with it so far.
One concern we keep coming back to is that of the need for constant connectivity in order for the app to work. I'll throw up the disclaimer here that I've not spike on how to handle network disconnects. That said, we've had a few of our internal users lose their connection to the web socket, and the app just beach balls. You can't do anything. Another example we keep coming back to is a user going onto a subway.
How do you envision spotty connections being handled long term?
I firmly believe that Elixir's ExUnit mostly got it right: `refute` and `assert` — that's it. I do miss nested context's and describes though.
Can you elaborate on this? What is their agenda?
NeoVim is using Lua for this very reason. It fits the bill nicely, and is quite fast.