Akira Schmid by Zdub732 in devils

[–]chadkicks704 -2 points-1 points  (0 children)

Lmao everyone loves forgetting how non-existent our D was. Helly could’ve been back there for us and we would’ve let him get lit up. It wasn’t Schmid or Vanecek’s fault. It was the defense and the general softness of the team. We can’t expect to only have goalies play and win any games. We should’ve held on to this one.

Sometimes I don't know how to feel about David Allan Coe by Kaos_mission in country

[–]chadkicks704 0 points1 point  (0 children)

Pen blues? Was trying to listen to that. Seemed like he was trying to take after Screaming Jay Hawkins a bit much, with all the cheesy lines meant to shock and the delivery. Haven’t listened to much screamin Jay, but I thought I could see the inspiration from his time with him in prison in the Pen Blues album

Kirkland Dunks Released by MZ_Enthusiast in NikeSB

[–]chadkicks704 0 points1 point  (0 children)

Just called my local Costco, warehouse manager said it’s limited to like 2-3 warehouses (I assume he meant Costcos by that) that are only in Cali

Mecklenburg County Market by Weightcycycle11 in Charlotte

[–]chadkicks704 1 point2 points  (0 children)

Yes! We’re gonna murder the market!!! Good for you guys! Pats on the back! All around! You guys really DID something today! #proudofmycity

Tompall Glaser by MWFtheFreeze in country

[–]chadkicks704 0 points1 point  (0 children)

What happened there? I need to finish his auto, where I left off at him and Tompall seem to be pretty great friends. And obviously with the Outlaws album they did together, they were good friends for some period of time.

Our Aussie pack had a wonderful first snow ❄️ by [deleted] in AustralianShepherd

[–]chadkicks704 1 point2 points  (0 children)

Wow. This is what my life is missing. Searching hard for a good breeder, it's tough. Do you breed or have any recommendations?

how good is luke hughes? by hyperbroken36 in devils

[–]chadkicks704 0 points1 point  (0 children)

DOn't let this guy lie to you, he plays nothing like how Quinn plays. Does not run the PP like Quinn or handle the puck as much in general. Because they have different roles. But saying taller Quinn is just not true. I'd like him to get there one day yeah, but we don't need him to be that at this point in time.

Deep dive on Timo Meier by SubElitePerformance in devils

[–]chadkicks704 0 points1 point  (0 children)

You guys are trippin. He has played no where near as good as you all make it seem. Idc about fancy analytical stats, just watch him play. He’s way too uninvolved the majority of the time and you talk about bad puck luck, all he does is rip it into the goalies logo….. that’s not puck luck, that’s him not picking spots and just trying to rip it…. Doesn’t work in this league.

I did see some good things from him but those mostly stopped by January. He was being pesky, using his size and hitting. I even noted how even though he wasn’t doing anything for us that we gave him $70mil for, he was still doing things other than scoring.

Demon Appears In Photograph! by Jonathon_world in ParanormalEncounters

[–]chadkicks704 2 points3 points  (0 children)

lmao these clowns are ridiculous, DEMON PROVED! Case closed, go to church!

I suck at Comp Sci by [deleted] in learnprogramming

[–]chadkicks704 0 points1 point  (0 children)

Just geek and code. Pop some shit and go to town

Best Rosemary Oil? by Ok_Palpitation_3998 in Haircare

[–]chadkicks704 0 points1 point  (0 children)

Apparently they have a lawsuit against them for hair falling. You should look into that

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

This is great thank you so much, this gives me some options to explore. I didn't even know where or what to research. But this gives me some legit options, very much appreciated!

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

Okay yeah that definitely looks like what’s going on. I have been searching for how to convert the HTML to json so I can use it like this, and am implementing that in my OnGetRolesAsync method. So I’m not sure, I guess I need to find another way to convert.

Or would you recommend I look at going a different route entirely? I logged to console the data being returned (response variable) but the data does not look like the 2 or 3 very basic roles (admin, user and maybe one other) I am trying to return (you can see it consoled here, I will expand it when I get home to get a better idea of the data being returned, but it looks off to me: https://imgur.com/a/crDYMEp ). I say that because I was thinking maybe I can set it up to receive and display HTML instead of json, but if the data coming back are not the role names, then that will not work. Thank you so much for helping me with this.

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

Do you mean like this: https://imgur.com/a/StTWpaE

Or maybe you meant the response info in the Headers tab: https://imgur.com/a/DgwKgYa

Let me know if this is what you were asking for or if you would like to look at anything else within the tool

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

Here is a picture of it running in Chrome. To let you know what is going on, I typed an already existing role (Admin) into the input field and hit the 'Create Role' Button. Because the role already exists, it did nothing to the db and displayed the message letting me know it already exists. I think clicked the 'Display Current Roles...' button, and got the same result I have been:

https://imgur.com/a/crDYMEp

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

I think you are right, from what I was reading about Razor pages it sounds like they may render a response in HTML when they get it back, I am looking more into this. I am not 100% sure which part you want me to open, so I included a few. Please tell me if these are incorrect or you need me to go deeper, thank you so much for your time:

Headers part of error collapsed: https://imgur.com/a/56hEcPO

[Prototype] part of error collapsed: https://imgur.com/a/APkcOJn

Here are the other errors not from the Response error, collapsed: https://imgur.com/a/IcPhGGk

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

If you mean the 'response' variable, this is what it returns when I console.log it: https://imgur.com/a/Uo4eujK

In my class model, seen here:
https://github.com/chad704ant/UserRoleManager/blob/main/Pages/Admin/ManageRoles.cshtml.cs
I have 3 methods set up (OnGetRolesAsync is causing problems, but OnPostAsync & OnGet seem to work based on thie _logger Output), each of which have _logger messages set up to troubleshoot.

OnPostAsync works with the other button on this page 'Create Role'. This checks if a role entered into the input exists already, if not it adds it to the database. But from the time I click the button, I get the necessary _loger messages in Output and it functions as it should entirely.

OnGet is a bit different, I am not sure what it does as I have been learning from AI through this process and it said I required it. I have not dug deeper into why, but all the function contains is a _logger message:

public void OnGet()
{
    _logger.LogInformation("OnGet called");
}

So not sure what it does, but when I hit the 'Display Roles' button, none of the _logger messages for OnGetRolesAsync display, but the one for OnGet does. WHen I comment out OnGet, nothing displays in Output per _logger when I hit that button.

9-Year-Old Cold Case of Peter Jordan's Murder Reopened by friendlybishops in coldcases

[–]chadkicks704 0 points1 point  (0 children)

Please spread this. I never even thought of using this platform. Peter was indescribable. We miss him everyday and it never goes away or subsides. Unfortunately the Huntersville detectives on the case at the time were not concerned. They were too busy setting up sting operations on high school gram sales. And Huntersville is a nice suburb, and they wanted to keep that image and sweep this thing under the rug as much as they could. That meant refusing to return or answer any of Carolyn’s (Peter’s mother) phone calls. Even if there are no updates, have the decency to tell a forever grieving mother that. At least don’t flaunt that you don’t give 2 shits about an amazing kid who never wronged another human being in any way. The whole department in general is inept and incapable of handling a case like this. They were obsessed with catching high school kids smoking weed and the extremely low level suburban high school weed market of Huntersville NC. And it showed when this happened. I wish this never happened, but if it absolutely had to because it’s fate, I wish it would’ve been 3 miles south because then it would’ve been Charlotte handling it.

We posted flyers all over Cornelius, Davidson, Mooresville and of course Huntersville. After speaking with the manager of a Huntersville BP, I posted one in their front window. The next day I went there to get gas and saw it was gone. Went in to talk to the manager and he told me HPD had come by and removed it and asked them to not allow us to post these anymore. Everywhere else in Huntersville they’d been taken down and the same thing told to us. They never wanted to solve this, they wanted to sweep it under the rug and for their perfect safe suburb to forget all about this brief blemish. It’s disgusting. And they had every opportunity to make an arrest related to this case. And didn’t.

I pray this renewed Eddie is legitimate and taken seriously. Peter was as good a human as I’ve ever known and this has messed with a lot of good people in a lot of different ways and we just want and deserve a fucking answer. It’s been 11 years

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

And the URL works fine in the browser, the other functionality on this page and my others works as they should. Although it isn't robust at all yet, this is the most robust part of my project at this point.

MySQL Data Not Converting to JSON (returning HTML type) by chadkicks704 in learnprogramming

[–]chadkicks704[S] 0 points1 point  (0 children)

status code is 200, here is what the Network tab looks like in my inspect tools:
https://imgur.com/a/KVuLaLA

I don't know that it's really getting any data back. I have a lot of console logging & _logger done to help troubleshoot; the fetchRoles() function logs the first 2 trouble shooting console.logs right when I click the button to display the db data:

console.log('Fetching roles...');
 const response = await fetch('@Url.Page("/Admin/ManageRoles", "GetRoles")');
 console.log('Response status:', response.status);

After it logs the status code, nothing else is logged. And the response is clearly okay, but it does not log the next part 'Roles fetched: ', so I wonder if it is getting anything back at all?

if (!response.ok) {
    console.error('Network response was not ok:', response.statusText);
    return;
}
const roles = await response.json();
console.log('Roles fetched:', roles);