« first day (3944 days earlier)      last day (989 days later) » 

 
3 hours later…
7:38 AM
who da heck makes urls like these?
https://infoacctaadb2c.b2clogin.com/infoacctaadb2c.onmicrosoft.com/B2C_1_ropc/oauth2/v2.0/token
(not actual link)
 
dat
i mean, for a non-production environment, I understand not everyone cares about nice links, but the production environment is the same setup
 
7:56 AM
uh... you means somebody write a hard link contains an auth token in production environment?
 
I need to connect to a third party's web service
and they use OAuth2.0 as authentication method
and I have to connect to that url to get the token
instead of an url like
https://fancyparty.com/oauth2/v2.0/token
 
oh.... A confusing URL
 
and probably not just the token, but the rest of the service as well
the hostname in the url path tricked me
considering the example also omits the actual frigging hostname
so the example said:
POST /infoacctaadb2c.onmicrosoft.com/B2C_1_ropc/oauth2/v2.0/token HTTP/1.1
i assume this is the default url for hosted azure web services
with default azure oauth2 service
 
http://what_ever.i_dont_care.com/WHAT/my_URL_K2_34/islike?BUT_Its=work
 
http://what_ever.i_dont_care.com/WHAT/my_URL_K2_34/is?token=like#at-all
never forget the #
pro tip to trigger beginner devs
 
8:07 AM
I hate # *kuk*
it looks like a trap *kuk*
 
8:22 AM
[Squirrel in Training] Does anybody know if samuel L jackson likes anime?
 
> yes I do, hentai too
- Samuel Leroy Jackson
 
you said that taboo word!!!
 
??
this is a baby squirrel need L̵̛͔̩̳̰͇̣̣̝͚̫͓̱͒̊̑̎̏̓̅̽̐̌̇̒̽̆̽̆͗̒̌̓̾̀͊́̃͗͊̄̈́̅͂͗͋͂͒̔̿͋̚O̶̧̧̢̮͚̩̰̻͙̪̤͍͚̞̜̤͍̙͔̰̞̞̠͖̠̯͈̖̟̺̻̯̭̝̦͔͊̄̑̏̒̎́̏͌̌̍̃̉̓̒̓͗͋̉͂͗̋̔́͛̃̃̅̉͋̕͘̕̚̚͜V̵̱͈̜̱̙͎̹̝͓̠̝̈̓̾̇̄̽̔̊̍͌̀̒͒̓̈́̀̋̐͒̓͗̂̔̇͌̉̚͘͘̕͠͝͠͝ͅE̵͈̼͉̙̠̱̟̗̥͛͛́̂̅̏͜͠͝
 
8:41 AM
[Squirrel in Training] I can read love in discörd L̵͒̊O̶͊̄V̵͠͝E̵͛͠
[Squirrel Downy] L̵͒̊O̶͊̄V̵͠͝E̵͛͠
[Squirrel Downy] oh well
 
looks discord banned some zalgo text
 
[Captain Obvious] Wait what the fuck is going on in here
 
I don't know
 
Guess you gotta ditch discord
 
@Wietlol People who distribute phishing websites, that's who
 
[Squirrel in Training] Like iwet?
 
put the MS domain in the URL to trick ppl into believing it's MS but actually it's their phishing website
 
[Captain Obvious] @wiet what was wrong with that hostname anyway, it's very descriptive
[Captain Obvious] infoacctaadb2c: info (self explanatory) acct (account) aad (Azure AD) b2c (Business to consumer)
 
9:09 AM
that part is fine
its the part after that that I have problems with
 
 
2 hours later…
11:23 AM
hey peeps! anyone here who knows about lambad method parameters?
 
[Squirrel in Training] Jus task the question as roel used to say
[Squirrel in Training] asking if s/o can help in a very incactive chat is very ineffective
[Squirrel in Training] also discord room > so room
 
thanks, new to this
 
11:39 AM
[Squirrel in Training] No problem? ^^
[Squirrel in Training] So waht is troubling you my son?
 
at this very moment? that you assume I am male :-p
 
A lambda with parameters looks like (param1, param2) => DoStuffWith(param1, param2)
 
[Squirrel in Training] My son, arn't we all males in our heart and soul?
[Squirrel in Training] The only thing that seperates males from femals is the "wo" in woman, and as we all know that just means "where" in germany.
[Hans1984] to male or not to male
[Hans1984] that the question in life
[Squirrel in Training] Ergo Womans are jsut Weremans
[Hans1984] WoMAN
[Hans1984] its written like that for a reason
[Hans1984] we are everywhere !
[Hans1984] lol
[Squirrel in Training] ^roel would approive
[Hans1984] also just read the bible
[Hans1984] eva came from adams ribbs
 
12:04 PM
@jasie im surprised that your biggest problem isnt that a squirrel is pretending to be your father...
 
ah who knows, maybe he'd be a nice sugar daddy grin
 
12:23 PM
We do know how to burry nuts
 
anyways, thanks for your help offer, daddy Botler, but I found help elsewhere.
 
And also I'm slightly offended by not getting an answer whether or not my simple example helped at all
Like a simple "y'all have no idea what you're talking about the other turtles already fixed it bye suckers" would clear everything up
 
nah sorry it didn't :-D
Michelangelo, Donatello, Raphael, and Leonardo also had no idea what I was talkin' about
 
what is your question though
I am probably more than capable of answering
 
what i needed was that:

public static IEnumerable<T> BuildTree<T>(
IEnumerable<T> collection,
Func<T, long> idFunc,
Func<T, long?> parentIdFunc,
Func<T, IEnumerable<T>> childrenFunc
)
 
12:30 PM
ew
duplication of effort
 
(this was the solution, not the question)
duplication of effort? please elaborate!
 
shouldnt the parent id be defined by the entry that listed it's children using the childrenFunc?
rather than each child also defining its parent
 
nah, to convert a list of db entries into a nested tree, I need both
 
looks like you have mixed sources of relational data and hierarchical data
 
in the db, I only have the parent id column
 
12:33 PM
the parentIdFunc and childrenFunc serve the exact same purpose using different approaches
I would recommend to remove either of them
 
the entity framework returns a flat list, with each db entry having a parent id and a collection of child entries
(I need both the flat list and the tree in the frontend)
 
[Squirrel in Training] did u just assume my genr jasie?
 
@Botler My son, aren't we all males in our heart and soul?
 
damn you are sharp mommy Botler. guess that makes us even ;-)
 
@Squirrelkiller Stop using ma words against meh killerino!
 
12:37 PM
Woah, even pulled you outta discord :P
 
[Squirrel in Training] I do drop bye from time to time u weeb
[Squirrel in Training] usually only a message and to check if a new star has risen on the board
 
I see, still no put-the-starboard-in-a-pinned-message on the connector then
 
[Squirrel in Training] The connector has been dorment since the first publish
[Squirrel in Training] no new features
 
12:54 PM
bye suckers ;-)
 
[Squirrel in Training] godbye son
 
cya^^
 
1:06 PM
so I'm realizing lately why my digital art looks more phony than sketching
when sketching, when you can see all the work that goes into the art, it feels more human...which you don't get when cleaning stuff up in a computer
 
1:30 PM
@jasie that sounds weird
if you use entity framework, you can use a collection of child entries, just as well as a parent entry
 

« first day (3944 days earlier)      last day (989 days later) »