Since the proxying ObjectController stuff is going belly-up, does it make sense to still put validations onto the controller layer?
locks
nuck: how's proxying related to validations?
nuck
The ember-validations stuff doesn't officially support nested object syntax for validations
It exists, but it's labelled with scary warnings
locks
mupkoo: the beginning of the end
nuck
It also seems like controllers as decorators is going the way of the dodo
locks
you mean flubarbs?
nuck
And the ViewModel stuff is slowly collapsing
vire joined the channel
haha right locks
rioch
locks: At the moment I have no controller. Is there a default in that case? (ps. the controllers page in the guide makes a lot more sense now, thanks)
krz joined the channel
amundj joined the channel
locks
rioch: ember generates one for you, yeah
nuck
I guess to be more specific, I have simple length and presence validations on a few fields on the App model, which should exist for both apps/new and apps/edit
locks
I think it used to generate either ObjectController or ArrayController depending on the model
probably still does, or it'd break compat
nuck
Was about to say that yeah, it'd break compat to stop
locks
nuck: components? O:D
rioch
locks: you've really helped me out, thanks for taking the time. I know my question was a bit basic :) I have enough information to continue with the guide now I think.
awpeter is now known as awpeter-away
locks
I'm watching CSI Cyber
I think my brain is withering away
nuck
At least it's not as bad as Scorpion
locks
rioch: go forth and conquer the world
bugant joined the channel
nuck
Did Glimmer just steal the logo from Redis
And color it blue
locks
health kit
or what's the other one
nuck
That layered logo thing is becoming a trope
Taftse|Mac joined the channel
ForSpareParts joined the channel
rioch
locks: :)
locks
I'd make a multi-layered pun but the logos have me beat
nuck
Ugh
krz has quit
I'm currently building an OAuth2 provider for hummingbird.me and having to make so many tweaks to our app registration and I just realized what a pain that page for acceptance will be
I can either (a) boot a whole Ember app for all 5 seconds that page is up or (b) figure out how to cram a third role into our app somewhere between "API" and "Ember"
edwinvdgraaf joined the channel
brb throwing computer in blender and retiring from programming. I'm gonna go herd sheep or something nice and serene
locks
"most people don't know but TSA keeps all xrays for a week"
don't you love freedom
nuck
locks: Most people don't know but the NSA keeps all those xrays for a decade after that week
:>
locks
nuck: OAuth2 by itself isn't a complete nightmare, but doing it on javascript apps <3
boztek is now known as boztek|afk
nuck
locks: Yeeeaah
Like it's not too bad from a client perspective honestly
locks
weeelll
it encourages weird behaviours
nuck
It redirects back to you with the hashurl and you rip it out and stuff
SoundCloud uses a popup, but I'm sure you could do just as well having it redirect back inside an iframe and then postMessage it to the outer environment
Hell you could probably do neither of those
But from a provider perspective, OAuth2 is even worse
locks
how so
nuck
Most clients only deal with one or two of the flows
OAuth2 has a total of 5 main flows
locks
how else besides popup or iframe
for a SPA app I mean
nuck
locks: Just check the hashurl on app boot
Your app redirects to them they redirect back
locks
sounds very hacky
nuck
It causes a reboot
Which is shitty
locks
yes
nuck
But it's still technically possible
locks
and not always "possible"
nuck
Yeah
The iframe or popup approach is much better
But from a provider perspective you deal with all four flows and their slight oddities
locks
the popup one is still weird
and like I said, encourages weird behaviours
like using popups xD
nuck
They tried to make a distinction between resource server and authentication server
By having the auth server issue codes which the resource server trades for tokens
But some of the flows completely destroy this distinction
The auth server has to give a token in the implicit (SPA) flow
It shouldn't have to deal with tokens but it does there
Still, the thing I'm most worried about is the app boot times for the OAuth2 "Do you accept this app to be your lawfully wedded wife?" page
I mean, Ember isn't exactly speed gonzales at booting
locks
it will be nuck
it will be
mupkoo
:)
nuck
FastBoot, yeah
mszrnyi joined the channel
awpeter-away is now known as awpeter
peterwagenet joined the channel
But I'll believe it when I see it
Ember is notoriously ADHD
locks
what?
nuck
They'll do 80-90% of the work on something, then realize something else which tied into that, and go do that
And it just takes forever to do the original work because all the spinoffs suck time
locks
it's called developing software :P
nuck
It's called being ADHD
I'm guilty of it too
locks
if you say so
nuck
It's the good ol' rabbithole
Or... whatever-our-mascot-is-hole
sandstrom joined the channel
WTF is the mascot even?
alexspeller
tomster
nuck
What is a tomster
H1D_ has quit
hamster?
ForSpareParts has quit
locks
no
it's a tomster
alexspeller
hamsters can't program silly :p
nuck
a hamster mascot would probably be dangerous too
I mean, hamsters have a tendency to do a lot of work to get nowhere ;(
That's not something you wanna be associated with!
locks
that's just a metaphor for IT
nuck
We need an animated tomster-wheel which spins as the core team devs type code
locks
CSI is such a microcosmos of USA culture
dawson creek kills one person per episode
nothing of it.
nuck
I hope you mean microcosm, because microcosmos sounds like the galaxy on orion's belt
locks
it's 9am
michael-k joined the channel
nuck
I hope you just woke up and didn't stay up all night
nuck turns into your mother suddenly
locks drinks from the milk carton
locks
0 forks given
nuck forks locks
basz joined the channel
nuck
Y-you are MIT licensed right?
locks
better run an AV
alex88 joined the channel
amk_221 joined the channel
nuck
But I didn't even compile you yet D:
bogdanbalc has quit
wehlutyk joined the channel
annlewis joined the channel
locks
I don't think I've seen a black/white hat over 22yo yet
in this show
jakemauer has quit
basz joined the channel
nuck
locks: The only person over 22 is the girl who makes the visual basic gui to backtrace the culprit's ip address
locks
the writing in this show doesn't make a single thread of sense