« first day (3616 days earlier)      last day (1333 days later) » 

12:17 AM
@mshwf all at once? Commandline I would think in the same folder.
 
 
5 hours later…
5:36 AM
Goood moorniiiiiing CeeeeShaaaaaarp! How've you been doing these last few days? Anything happened I should know about?
 
6:09 AM
I need a haircut
thought you should know
 
While working from home, haircuts may be delayed for weeks without anyone noticing.
 
this is true, and it is also the reason why I need a haircut so badly
I look like a time traveler from the 80's
 
Haha nice
I just started needing a haircut, so I have a few more weeks
 
also my cat was recently diagnosed with cancer in the mouth
she's got this huge swelling under her jaw
 
Ah shit I'm sorry. I didn't know you could get cancer in the mouth. Mouth getting amputated now right?
 
6:20 AM
I looked online, and some people have removed the lower jaw to "cure" it, but I can't possibly do that to my cat, even if the alternative means it'd eventually kill her
I don't really want to prolong her suffering, so just trying to enjoy the time left
I gave her hamburger meat this morning and she still has a healthy appetite at least
 
Like, minced pork or beef? Nice treat.
 
Hi i don't even know if i can ask this, but i am really running out of breath atm.
 
||justask
 
Aug 28 '17 at 15:53, by mikeTheLiar
Don't ask if you can ask, it creates an infinite recursive loop. Just ask your question. If someone is around who can help, they will.
 
Do you know if it is possible to use 2 Azure AD on 2 different domains for 1 application.
so users can authenticate with @testcompany1.com and @testcompany2.com at the same time
I even made a stack question about it and documentation is really lacking on this subject because it so niche
 
6:32 AM
I think yes (your application has to keep its own user table anyway), but I haven't actually worked with it yet.
Might have to wait for Lee to come in, but that would be only tomorrow I think.
 
yh thank you for the answer allready i will wait for him tomorrow
 
Wait no
He'll come in today
I just thought it's monday
 
Just got back from a short holiday first day of work today - must be monday! :D
 
i am glad
 
6:35 AM
Me too, just got half a week to go
 
Yeah i cannot wait untill tomorrow
so i can get my new company car at the garage
 
Noice
 
@Clumpsypenguin Sure, you can do that no problem.
 
@Hozuki Could you elaborate a bit and how to set it up. At the moment i have the authentication working for 1 domain
 
Depends on how you set it up. If you're using Microsoft's pre-made middleware for Azure you can't.
You need to extract the relevant bits and do the JWT validation yourself.
Then you can validate for any number of issuers
 
6:40 AM
wait i am gonna send you the documentation i used to set it up so you can get a clear picture of my scenario
 
Sure.
 
Yeah, you need to get rid of everything from "Server app configuration" onwards
Then implement the validation yourself.
Their middleware is designed around a single domain.
 
ow ok and the validation can be done with for example identityserver or something similar
 
hi
 
6:47 AM
@Clumpsypenguin Use OpenIdConnectConfigurationRetriever to retrieve Azure's configuration. Then use a JwtSecurityTokenHandler to validate a received token manually. The TokenValidationParameters will be self-explanatory, and you can create multiple of these validators for the different domains/issuers/whathaveyou. All of this is built-in to .NET Core.
For Azure their config is found at https://login.microsoftonline.com/common/.well-known/openid-configuration and their issuers seem to be https://login.microsoftonline.com/{0}/v2.0 and https://sts.windows.net/{0}/ for MSAL and web-auth respectively (replace {0} with clientID)
 
@Hozuki is there any documentation on it for that part?
 
None that I could find. I had to look at how their middleware worked and build my own to accommodate the exact same scenario you have right now :-)
 
ow is you example open source for a chance ?
Thank you allready for the help, this stuff is a little much for a junior dev
 
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
 
Unfortunately this is something I wrote for my company, and my supervisor isn't around for me to ask if it's okay to share that snippet. So, no, sorry.
 
6:52 AM
Sounds like something the middleware should offer config options for
 
aah damn, but thank you anyway. I think i can sort of figure it out on my own then, if you happen to be able to share a snippet, you can always end me
 
It's really not that big a deal, you can figure it out! Just get a raw JWT as a string and work your way through it using the classes I just mentioned. You'll probably understand within the day.
If I remember, I'll ask. My supervisor is back next week. Remind me then again :3
 
Should we at least wait for your project to finish until ending you though?
 
@Hozuki i will try XD
 
@Squirrelkiller Hah
 
That movie was awesome, just starting with the music
 
Havn't watched it yet.
It supposed to be thrash
3€ on youtube to watch it.
Thats expensive.
 
7:37 AM
 
so apparently Daisy Ridley admitted that they really didn't have any sort of clear idea what they were doing in the new star wars trilogy
she was told different things and didn't even know what they decided when she started acting in the last film
I guess it shouldn't surprise me, afterall. They just literally threw in plot twists that couldn't have been anticipated because they weren't hinted at whatsoever
Just bad writing really
Kathleen Kennedy is being blamed for it, and rumor has it, they want George Lucas to reprise his role
 
Eh. Fuck Disney and their SJW bullshit. Terrible writers selected to push a BS agenda doesn't work.
Once their stock plummets enough, they might reconsider their current way of making movies.
 
it surprises me honestly how Disney could screw up such an easy money maker
Fine, George Lucas doesn't want to continue making the trilogy.. at least hire him as a consultant.. don't just close the door on him
 
You'd think a company like that would focus on making money, and thus give what fans want.
But no, they don't. Not in Star Wars, not in live action remakes, not in Marvel.
I'm guessing the friends-know-friends have taken over entirely by now and just hire people with the same agenda.
That is until the stock plummets enough for the board of directors to get involved :P
 
I know, right? All they literally had to do was take their time and come up with a great script
 
7:49 AM
Yeah. Exactly. But how was it hard not to screw up Mulan for example?
 
but it's like they didn't know what comes next, so they just did each film on its own
 
Make a 1:1 adaption of your own material. Easy, right?
@Neil Yeah, and there are GREAT books they could've adapted.
The extended universe books are amazing
The story is just up for grabs
 
@Hozuki 😏
@Neil Who is that?
 
@Squirrelintraining the actress who played Rey
 
8:00 AM
John Boyega (Finn) also spoke out how he was basically just used as a token black guy :3
 
Welp I thougt the new trilogy (especially the fist one) was just a rerun of the other 6 movies with elements of each movei packed into it.
 
Kelly Marie Tran (Rose) voiced similar concerns being the token Asian with terrible writing and no character
@Squirrelintraining Sure, but packing elements of previous stories does not make a new good story.
"Look it has lightsabers and a death star its good right?! RIGHT?!"
 
IIRC correct this is the video where he also talks about the fight with Aniken vs, Obi Wan
In the 3rd movie.
Argh no time to listen and to find the spot sorry.
^this
I didn't really enjoy it to much IMO
 
@Hozuki this is how I feel about the legend of Korra
 
@Squirrelintraining Oh yeah, The Closer Look is a great channel.
He did a break down of Last of Us II and it was amazing :-D
 
8:06 AM
I might need to suggest that vid to my waifu
 
This was amaze if you've played the game.
 
I heard it was quite bad... I am not sure why though
 
@Hozuki She watched people play it ^^'
 
ahoy mateys
 
@Wietlol Well... it's not a good sequel. It betrays everything the first one stands for, and does so in an awful way. It also introduces an unlikeable new protagonist that you're forced to play when you really really really really hate her guts. So... yeah. It's not too good.
 
8:11 AM
hmm... sounds... fun..
 
8:22 AM
It's not.
 
from my perspective, everything is fun... since yesterday
and I am prolly stuck in that state until tomorrow evening
 
@Hozuki they showed a potential love interest in the second film, and then in the third.. nothing..
like wtf is that about?
since when do you add romance and pathos in a film which literally adds nothing to a plot?
Don't get me wrong, I don't want to be one of those people bashing star wars because it's fun. I know movies are hard to make, but it just seems there were some very novice writing mistakes made
It's just frustrating more than anything else. It'd be like making the sequel to the Matrix, and in it, Neo opens a dating service on the side and makes a little cash, like something completely off and unlike the original movie.
people gave the matrix 2 & 3 a lot of shit, but it was true to the first at least
 
the matrix 2 is still the best imho
 
imho, matrix 2 & 3 is an example of people hating a movie because it couldn't live up to the hype
but they were honestly not bad films
The new star wars trilogy of course was super hyped up too, but it wasn't even a cohesive storyline
My idea is that Disney, in their frantic panic to fix things with the star wars franchise, they'll have to bring back George Lucas and give him full creative control
That is of course, assuming they still wanted to make money off the franchise
 
8:44 AM
The standalone movies were not bad, I did like "Rogue One"
 
yoyoyo
 
Hi Captn
 
I have never seen any of the star wars movies after the first 6
and I dont really feel like I am missing out
 
@Neil There was so much wrong with 7-8-9 it's not even funny :3
All in all, if your writers are bad, the product is going to be bad. I know writing is hard, but c'mon, the SW writers were just terrible.
I see better stories in small games..
 
8:57 AM
nobody thought to, I don't know.. run it by other writers for editing?
 
That's what I'd think, but doesn't seem that way.
 
they just 100% trusted the writers, even after the first one
 
Normally a whole team of writers works on a script, at least in games. And it often works.
 
Did you notice that the 7th was so much like A New Hope?
there's a threat, only this time it's worse than the death star! They threaten to blow up all life on multiple planets (not just one, gasp!).. the pressure's on to blow it up
 
It was a complete rehash, sure.
All in all, I'm glad it failed... I feel like most of Hollywood needs a big kick to the balls.
 
9:00 AM
I thought that was a bit of a sellout, but ok, I get it.. it was a good film A New Hope
 
Most big-budget movies are just fucking terrible nowadays.
 
What was the deal with Snoke anyway?
 
Dunno. Pointless character that died even more silly.
Plot armor for protagonists, none for the antagonist. Just make him act dumb cuz plot demands he dies so..
 
You used to get these great movies that really told a story, and did something different from the rest.
 
Eh, most of Star Wars isn't "great". It's at least passable. These weren't :P
 
9:01 AM
Now you get action hero films like the avengers which is all about shock and action, and the problem with those types of films is that it's not really shocking unless you up the stakes continually
So you end up with films where the world is at stake.. again.. and only the heros can stop them.. again..
 
It's called the power creep yeh.
Well know phenomenon.
There are very good ways to get around it.
 
yeah, it all kind of breaks the fourth wall for me.. reminds me that none of what I'm watching is realistic and that I'm watching a movie
 
Like introducing an atagonist that is so utterly incompatible with the hero's way of fighting.
 
In the Green Mile, you really got into it. You sympathized/hated the characters.. you were sort of in the film yourself in a way
 
Like, have you seen Netflix Marvel's Jessica Jones?
 
9:03 AM
nope, though I have heard good things about it
 
Jessica Jones is this alcoholic super-power chick, but her antagonist in S1 is the mind-control type. It's utterly incompatible with her type of fighting. It prevents a power creep perfectly.
The Green Mile is an amazing, amazing story. Perfectly executed. Solid 10/10. That's the way to write good stories.
 
indeed
to be fair, it was based on the book with the same name
 
This is a great watch:
Books are great as source material... cuz they fall apart without the story telling lol
 
yeah, of course you get movies that didn't translate the book well at all
but more often than not, it's faithful to the book at least in part
 
Oh yeah, Hollywood is shit at it. They take source material and botch it so completely...
I know, I know, loads of people don't like anime, but they do adaptions perfectly. They respect the source material.
That's why light novel adaptations are often so good
(not always)
 
9:11 AM
@Hozuki alcoholic-super-power-chick
lerl :D
Great quote
Jack, learn roel ~>Jessica Jones is this alcoholic super-power chick
Does this work?
 
I've learned the command roel
 
Jack, roel
 
~>Jessica Jones is this alcoholic super-power chick
 
I suppose it will do
 
@Hozuki Interesting video
I think that sums up action type films well
 
9:26 AM
Yeah and everything you've described with the constant escalating scale of danger etc.
And how some beloved series get around it.
 
Jack, forget roel
 
I think of all the techniques mentioned, the imcomparables is the most interesting one
 
Jack, learn roel >Jessica Jones is this alcoholic super-power chick
 
it's a bit more difficult to predict what will happen
 
@Neil Yeah I think so too. Have something that is UTTERLY incomparable and you'll see something interesting.
 
9:28 AM
> trest
Jack, forget roel
Jack, learn roel > Jessica Jones is this alcoholic super-power chick
 
I don't know how I would classify the Harry Potter series honestly
it's not like he gets more powerful, though maybe towards the end he is
 
@Neil I'm currently obsessed with Ascendance of the Bookworm book series (probably not your thing). It was written in such a way that the protagonist is constantly evolving her perception of the world bit by bit, and must adapt to the new circumstances and situations she finds herself in. There's no real power creep at all, just the intelligence to take action with new information. I love that.
 
Command roel has been forgotten
 
Harry Potter uses a soft magic system for the most part, so there's no real power creep I think, other than knowledge, experience and creativity. That's where the 'power' derives from, but most of the conflicts are also not solved by bigger and stronger magic. Just different applications of the magic
 
I've learned the command roel
 
9:32 AM
yeah, I agree. It's not really power, it's just stopping the evil before they can obtain X
or stopping the evil by doing Y
 
Command roel has been forgotten
 
Yeah. And right from the start you know that the most powerful magic is basically death magic.
 
@Hozuki does it involve magic? Is it a fantasy series?
ah ok, guess it does then :)
 
I've learned the command roel
 
Jack, roel
 
9:33 AM
@Neil death magic in harry potter i mean
 
I recommend the Laundry series.. it involves magic and, if you can believe it or not, programming :P
 
@Hozuki Have you read the story about the fifth house though? It kinda adds creativity and experience improving the magic.
 
in the laundry series, there is a way around the halting problem, and if you find out what it is, you sort of tap into a loophole in the universe that lets you perform magic of a sort
and because of recent technology, it's happening faster and faster.. and the protagonist has to keep it under wraps and basically stopping the world from ending
 
Wait it turns out there are several stories about a fifth house
 
There was a powerpoint presentation that turned everyone in the meeting room into vampires :D
 
9:35 AM
@Neil Ascendance of the Bookworm is a fantasy series and there is magic. But, it's not really made clear at the start. It follows the story of a young commoner Myne, with knowledge of Earth, as she discovers her new world after reincarnation. Being a poor sickly commoner girl she's as far away from magic and fantasy-esque situations as you could possibly imagine.
It takes 2 whole books for magic to even be introduced basically.
 
> Jessica Jones is this alcoholic super-power chick
 
I like that
 
@Neil That is an interesting premise for sure.
 
magic shouldn't be a plot device, it should establish rules
the kingkiller chronicles that they mention in that video I've read about, and the way they deal with magic is interesting.
 
@Neil I mean I'm at book 6 and I still no jack shit about how magic works in her world because she's a commoner and doesn't have any access to magic, or magic education. I know very little, and all of that is consistent, but alas I'll have to read more to get to a point where she might ever learn how magic works :P
 
9:38 AM
Magic works a bit like physics. Most people are terrified of it and don't deal with it at all, but you have the equivalent of wizards which study it and use it to do basic magic or craft very basic things
Like you can bind two pennies together, and by lifting one, you lift the other, but in ideal circumstances, you need to lift the equivalent of two pennies
when the bond isn't strong, you end up having to lift way more
 
That is a good magic system with some creative options but none of the "UNLIMITED POWAAHH" shit.
 
but, well here's the thing.. there are myths of people who know the names of things..
like if you knew the true name of fire, you could be the classic sorceror that could summon fire or put out fire, etc.
the protagonist actually learns the name of the wind (over the span of a couple books)
 
Like knowing the name of a demon gives you power over it?
 
yeah, somewhat
 
@Hozuki The one I meant was 'House Ambaret' by Luna Lovewell. About a fifth house, Ambaret, which focuses on learning magic not by learning the fixed words and stuff as all the others but by developing an understanding for magic, how different spells are developed and how you would make a spell by combining elements for different outcomes.
 
9:41 AM
Shit I'm getting so many book series to read :D
@Squirrelkiller She's a sorcerer while the others are Wizards hm?
 
Basically lol, except all others make fun of her of course.
 
@Squirrelkiller i cant find this book series
 
It's a story that originated on r/WritingPrompts and continued on Patreon, not sure if it was actually published.
 
Oh. Hm. I'm okay with that as long as there are volumes published as epubs at least.
 
No idea lol I read it years ago over reddit and patreon
 
9:45 AM
Oh, it's harry potter universe? dafuq im so confused
 
hi everybody i'm trying to convert a list of strings from a query string to a list of Guid but i'm miserably failing
this is what i've tried:
List<Guid> IdArticolo = new List<Guid>();
                                foreach (var item in queryString)
                                {
                                    IdArticolo.Add(Guid.Parse(item));
                                }
where the variable queryString is the list of strings I'm trying to convert
and that IdArticolo is the list of Guid to which i'm trying to add a new element of type Guid
anybody any idea?
 
whats the foreach for
/s
 
because the list may contain n elements
that's why i'm iterating cause if it's one or many
 
@Hozuki The author's name might have given it away too^^
 
sset a breakpoint inside the loop ..check 1) the string before conversion
2) create a temporary guid and mke sure guid.parse worse
 
9:51 AM
@ABuckau i've tried to do it and it returns an error of type Error Guid should contain 32 digits with 4 dashes
 
3) make sure it gets added to the list
 
@Riccardo looks like #2 is your problem then
 
so your strings are malformatted..
 
it needs to be of the format expected by guid.parse
 
how would you like us to fix that?
 
9:52 AM
your strongs? Are you having a stroke @ABuckau? XD
 
@Neil i've got a list of strings that need to be added to a list of guid
 
@Nene fat thumbs
 
@Riccardo one or more of your strings is not a proper guid. Fix that
there's nothing wrong with the code you posted
 
@Neil <input id="queryString" name="queryString" value="@Request.QueryString["IdArticolo"].Split(',').ToList()" type="hidden" />
this is what I do to take the string from query string
 
can you add a log just before adding the guid?
or more specifically, before parsing the item
 
9:55 AM
so logically you expect GUIDs using comma separator
just double check what you're receiving
 
@Riccardo Change the parsing line a bit. Use Guid.TryParse instead and throw an exception with a nice error message if it fails.
 
note that if there's a space after the comma, you'll end up with a "guid" string with a space in front
 
@Neil that article id I sent it as a guid
 
Like throw new ArgumentException("{item} is not a valid Guid")
 
I would still use Guid.Parse though
 
9:57 AM
somehow I expect some guids but what i got is a bunch of strings
maybe because request querystring convert such guids to strings
 
just surround it with a try->catch->rethrow and pass the original as inner exception
 
@Squirrelkiller i'm trying it
 
Querystrings are, per definition, strings
 
@Riccardo This is an example of a GUID: 81a130d2-502f-4cf1-a376-63edeb000e9f
note the positioning of the dashes
 
@Squirrelkiller how am I dealing with guids in querystring?
 
9:58 AM
make sure the one you're using is like this
 
@Wietbot evalcsharp Guid.Parse("nope")
 
@Neil it's exactly like that
 
System.FormatException(Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).)
 
@Riccardo can you post it in chat?
 
yeah sure
 
9:58 AM
maybe the dash is not what you think it is
 
@Riccardo Either exactly like you are currently, or you receive them in the controller method as Guid, then the framework will do the parsing for you.
 
need to start the application
it may take a while
 
it could be a character that looks like a dash
 
@Squirrelkiller controller expects a list of strings
 
@Riccardo you are now going to log all the items?
 
9:59 AM
FromQuery or FromBody?
 
if not, also add that (considering it takes a while to start)
 
from query
 

« first day (3616 days earlier)      last day (1333 days later) »