« first day (2852 days earlier)      last day (2321 days later) » 

23:00
probably
lemon you remember it seems everything on these chat rooms
he is assisted by a very advanced AI
@William I have a selective memory
well at least JS added prepend, append instead of the stupid names they gave it
someone on there isn't high
insertBefore?
yes. insertBefore and appendChild seem like they are from different APIs
23:07
no they don't
not to mention it isn't particularly useful
they're just not complementary
well I like complemantry then
someone must have thought it is a good idea because it is in the standard now
appendChild is the less flexible. it's nice they have a prepend now (I guess, I didn't know this), but insertBefore is flexible enough to handle every case but appending to the end.
so the API makes sense
insertAdjacentHTML and inserAdjacentElement ftw
23:11
insertBefore I guess is okay
I am glad they dropped the Child word though
the camelCaseFactornessOfJavaGetsOnMyNerves
why forEach vs each
will never know and it isn't a big deal but they aren't going to change it now
verboseness isn't a bad thing always
it would have made more sense back in the day to shorten things
meaning before there was a standard
today it isn't so much an issue. space isn't as big a deal as it used to be
or because people were lazy back then
or space
that makes sense
it isn't lazy to be verbose
it's describing what you're doing perfectly.
document.getElementById() is overly verbose, but tells you exactly what it is doing
23:14
verbose certainly isn't easier to type though
and that's less an issue today than ever
all editors auto complete.
it's easier to read, and we leave the heavy lifting to the editor.
sounds like a great system
20 years ago not so much :D
autocompletion in vi?
maybe I like old school technology?
;)
haha corrects to vi
vi is useless
@William I also like leaded gas, but the world changes old man
get used to it :P
what editor do you use?
because my frustration is the rate we are adding features commands etc...
the editors/ides aren't staying caught up
sublime is okay
sublime is fine
it's what I use
23:20
that's actually the reason why I don't fully understand why there isn't really a competitive browser-only editor
packages usually stay pretty up to date with language features
you just have to find the right package.
@jAndy atom I think
packagecontrol.io is good
I'm on Atom for a while and quite satisfied with it, but again, why all the fat clients
sublime isn't fat
it's like <10mb
23:21
sublime is missing key new javascript features
as fat as ur mom
smaller than vim
@david i would strongly recommend against using that, but yeah, you can't change that for SPAs, which is why that grant is heavily discouraged and disabled by default.
I didn't mean byte size, I'm just wondering why there isn't a competitive online editor
@jAndy so Chrome app? or Electron app?
what do you mean?
23:22
because online editing is not as good as local editing with an online repository
@William just a web app, which runs on js like Atom already does
add atom is just to fat?
okay well hmm
cloud9 and the rest take that space. but a lot of people (myself included) don't like the idea of online only editing
browsers are a lot more volatile than a dedicated app
eventually, that's what's going to happen anyways
23:23
I doubt it
cloud everything
and THEN (funny story), we're back in the 1960's lol
cloud doubt it
Like where it all began, Unix Terminals
cloud yeah right
you mean Chrome OS?
that thing well is terrible
cloud options will exists, but desktop options will as well.
some companies might go full online, but there will always be the offline option
23:25
it will fade
torrents if nothing else will keep local storage alive
I'm pretty sure
just like there will always be desktops, and there will always be javascript (for our foreseeable future)
remember when the tablet came to kill the desktop?
I member
yeah tablets are basically dead(compared to ipad sales)
I mean except samsung
and a couple others
I never heard of any true concept that a tablet could possibly kill desktop/laptop
23:26
nahh, they're very much alive in a few markets
but even now as you can game on a laptop, desktop computing is still strong and alive.
if it's a perfectly functioning option, and people want it, it doesn't go away
I miss flash games :(
one company might remove it, but someone will step in.
!!s/game/lose the game/
flash games still exist. hop on a flash game portal.
@jAndy I miss flash lose the games :( (source)
23:27
lol at 5302592 years delay response time Caprica
I don't get your edit jAndy
are you saying I sucked at lfash games because that is true and fair
@rlemon actually .. I wonder why this is happening too. Desktop Computers should be on the fade aswell.. they probably are really, aren't they?
there will always be a market for customization and power
desktops offer both at a lesser cost
I mean, why would you pick a stationary, clunky, fat, heavy desktop thing when you could replace it with a mobile thing, as powerful
23:30
meeh desktop computers will always be popular for businesses and schools
just because business folk like portability doesn't mean it is the new defacto
price.. yea maybe, but that should be a matter of time then
a mobile thing as powerful is more money and more finicky.
computing vs heat vs size isn't there yet
and even when we get to a point where it doesn't matter, we're humans. we push the envelope. we'll always be trying to make a stationary but better product.
it's easier to start there, and people buy it
@ShrekOverflow but this isn't even the "Resource Owner Password Credentials Grant" flow is it? It looks like it's just logging in with the supplied username/password
without any of the browser based redirection stuff
@david Posting credentials to oauth/token endpoint is Resource Owners Password Grant
23:32
@William I'd argue they are less important for both. schools are already giving kids cheap laptops (or recommending them or giving deals) and business is all about portability. being able to work at home and the office is a key.
I just could never go pack to stationary machines. I have my heavily and ridiculously overpriced macbook powerhouse here, connected to 2 32 inc screens via thunderbolt hub, where everything is connected. Mouse, keyboard, sound, network, power supply
I pull one cable and can take the thing out to a lake
but gaming, and number crunching, and anyone looking to push the limits or have a cheaper stationary option is still a large part of the market
that makes up a lot of home computers once people settle down
maybe middle & high school. my university and colleges no way they are going away from desktops
lemon put this in sublime
t = `testing
${
	1+3
}
testing`;
I'd have to go get my laptop
makes me angry because no expanding and unexpanding the text
23:34
this pc is game/media only
@ShrekOverflow OOooh, i missed this part: "Required when the Token Endpoint Authentication Method field at your Application Settings is Post or Basic."
well the arrow on the left doesn't work for template literals
but because ours is set to 'none' (as all SPAs are) you can just pass it the credentials and get a token EZ
arrow?
that seems broken
23:35
expand & collapse block
I would argue it should work for template literals and it doesn't :(
@david that grant is ideally disabled for the client of type SPA
or for that matter any public client
it is even toggleable because of legacy support
is that the Legacy: RO grant?
Yep
Even the OAuth 2.0 spec doesn't recommend using it ever if any other grant type exists.
doesn't work for template literals
23:37
which one should I use then?
client credentials is the best solution in your use-case
You can't enable it on SPAs
1. Make a new client for Client Credentials
2. Write a hook that accquires permissions from the Authz Extension (for the most part you can just copy paste the code from the rule).
3. Use Client Credentials,
Alternatively, instead of 2. populate the scopes in the APIs section (which is where they will be in future).
adding Emoji support to Chrome using an extension much happier
is there going to be automatic sync between the authz extension and the scopes?
23:40
@William does it work for multi line strings?
template literals are not blocks, they're strings.
can i make a rule that says if (context.clientID === my_new_id) { context.clientID === the_client_in_authz_extension; } to spoof it?
not yet, but we are working on removing the extension and moving to a better platform. Which is why I suggested just calling the extension directly from the hook.
no no no...
rlemon no but I would argue it should for blocks of codes ${} in template literlas
by hook you mean rule/
because they can be nested
23:41
oh wait there's a hooks section
yes, those are expressions
expressions shouldn't be collapsible.
I disagree considering they can be nestede
don't nest them then? that's convolution added by the developer
local variables are basically free vs using them without assignment
nevermind it does nest them
just need 2+
just like Notepad++
I was more frustrated that it didn't copy notepad++
which it did
@david hooks are more endpoints, you can select when to execute them.
so essentially what I am suggesting is write a hook for client credentials grant
23:43
const foo = `abc${123}`;
const bar = `def${foo}`;
there is no measurable difference here in the scope of a function
That calls the authorization extension to query the roles for the admin user (your service )
from doing it with vars vs nesting the expression
I agree lemon but I am only managing code nested not writing it
at that point all you can do is well edit it
take that back it doesn't like 3 nested template literals
in sublime
yea I'm not arguing with you, I'm just defending a feature if it wasn't supported. I don't even know
haven't taken out the laptop
yeah if it is valid JS I should argue the editor should support it
23:46
but if it doesn't turn them into blocks, I could understand why
1+2
+3+4
wouldn't add an arrow would it?
php multiline strings have arrows
JS doesn't no idea why
@ShrekOverflow okay... I can see how that would work... Does the client credentials grant flow not run the rules?
I agree an expression doesn't make complete sense but whatveer
okay, now I need to check this
i'm not sure why this should go in the hooks and not just another rule
23:47
but I switch back and forth between editors
are you on a mac
no
linux
@david nope, that wouldn't make sense.
Because client credentials is assumed to not have a user
ahh no its php <? ?> that are collapse nevermind
right...
so most of rule logic would fail
23:49
ignore me rlemon
the hooks page says: "The client-credentials-exchange hook allows custom code to modify the scopes and add custom claims to the tokens issued from the POST /oauth/token Auth0 API."
but i thought the oath/token api was the resource owner password endpoint?
@david the oauth/token endpoint is a common endpoint
its used by many grants code, ropg and even client credentials.
(I think even the device grant uses it)
23:50
it differentiates what to do depending on the grant type*.
damn
@rlemon not work.
yea, my script uses the stack api
need to go to imgur itself.
looks like the same image to me
why isn't stackoverfow responding to this epidemic
23:52
okay. imgur is having issues with their private accounts
some people don't see the image.
@ShrekOverflow it's imgur
not stack.
yeah imgur is going insane right now
they pay for a corp account
I'm sure they've notified imgur
hosting images sucks IMO becuase well it just binary streams of images no ads no real revenue. There is a reason they shutdown so often
I remember at least half a dozen services like imgur all gone
imgur worked because they created their own community after it proved to work
and they really banked from reddit
luck=100
so imgur is purely privately funded by members to this day?
23:56
@rlemon just like paypal banked off ebay 😀, or msft off IBM, thats pretty common in tech.
t = `${
  `${
    `${
		  ``
	  }`
	}`
}`;
no blocks no arrows oh well
don't write your code like that
you are not an assembler
its unreadable
yeah formatting got screwed up not sure why
:P
its not the formatting
its the code itself
yeah I was joking
23:58
Like that is several layers of Eww
Ok then
@ShrekOverflow well not exactly the same, imgur was made for reddit. x was a thing before the paypal/ebay buyout
well its valid JS
@William oh that one.
but banking off another tech is like winning the lottery for sure
@ShrekOverflow I would argue if you shouldn't do it it shouldn't be valid JS
but hey oh well
23:59
@rlemon The founders of PayPal used Ebay (even wrote bots that did Charity) for Ebay users to faciliate transactions. But I agree Imgur is kinda special as it was written specifically for Reddit and nothing else.
I'm about to block images on chat because I can't stand these avatars
founders? Elon musk created x
which was later renamed to paypal

« first day (2852 days earlier)      last day (2321 days later) »