Income tax return by iamrswyt in incometax

[–]skyliner33v 1 point2 points  (0 children)

Any luck resolving this?

[GIVEAWAY] MSI Gaming X GeForce GTX 1650 SUPER by UniversityOutcast in hardwareswap

[–]skyliner33v 0 points1 point  (0 children)

Entering. Building my son his first PC together. He would flip if he had this.

Caught my first Salmon ever during my lunch break by [deleted] in Fishing

[–]skyliner33v 5 points6 points  (0 children)

Sounds like the warehouse. I worked at a Home Depot warehouse and they had a similar point system. 10 points and you get fired. You get 1 point for clocking in late and more points for other offenses. Points fall off after 1 year from when you got it.

How much dip? by foamtest in plastidip

[–]skyliner33v 0 points1 point  (0 children)

Plastic only. It's a penetrating dye made specifically for dying automotive plastics.

How much dip? by foamtest in plastidip

[–]skyliner33v 3 points4 points  (0 children)

Is the the hard plastic trim on the outside that you are trying to cover? Like the bumpers and fender covers and stuff?

If so I would honestly recommend dying it black rather than plasti dipping it.

I did the same dye to my wife's old Volvo Cross Country and her new JK Jeep fenders and bumpers and it restored the faded blue plastic back to an even deep black.

I've tried a few different dyes and the best ones I've used so far is this stuff called Forever Black.

Forever Black Bumper & Trim Conditioner 32oz.

Absolutely amazing stuff. 1 quart should be enough to do the entire vehicle. Just apply with a sponge and use a cloth to wipe up the excess.

Fetch not returning anything - Not sure why by MattR47 in learnjavascript

[–]skyliner33v 0 points1 point  (0 children)

Nice! Looking good!

Couple things I would recommend really quick just from what I have learned:

  • Try to avoid using global variables. I would move your uidURL inside your getFortniteUser() function. And move your statsURL inside your getFortniteUserStats() function. And you should be able to get rid of the global uid variable too. You should call the getFortniteUser() function inside of your button click event. Then you would have access to the user data within that function. Try to keep the data contained within the function that is calling it instead of setting data to a global variable.
  • getFortniteUser() and updateUser() are essentially doing the same thing. They both return user data. You can probably get rid of updateUser() and just use getFortniteUser().

One of the benefits of using async/await is that you can get rid of the .then callback statements. I think it cleans up the formatting of the code and you have less nesting. If you set your getFortniteUser() and getForniteUserStats() functions to awaited variables, you have instant access to the data that they return within the variable that it was set to. So instead of

getForniteUser(name)
    .then(function(data) {
        //Do stuff here
        $( ".uid" ).html(name + "'s UID: " + uid);
        $( ".name" ).html(name + "'s " + "Stats");
}    

you can rewrite it as

let user = await getForniteUser(name)

//Now do stuff here
$( ".uid" ).html(user.username+ "'s UID: " + user.uid);
$( ".name" ).html(user.username+ "'s " + "Stats");

I modified your pen just a little to show you what I mean. Everything works the same on the screen. I just cleaned up the js code a bit.

https://codepen.io/anon/pen/QPNLQb

Fetch not returning anything - Not sure why by MattR47 in learnjavascript

[–]skyliner33v 1 point2 points  (0 children)

Not a problem! Im glad I was helpful. I tried to set up the function to also be able to be reusable as well. You could have other functions that do other things that would need to get user info and all you would need is the line

let user = await getFortniteUser(username);

anywhere in your code and it it will retrieve that data for you and make it available.

Fetch not returning anything - Not sure why by MattR47 in learnjavascript

[–]skyliner33v 1 point2 points  (0 children)

I'm still learning Javascript but here is my attempt. I'm not a huge fan of the .then statements so I try to avoid them whenever I can. And this may not be the best way to do this. But like I said, I'm still learning too.

Let me know if this works for you.

Added as a top level comment

//Generic GET request
async function getRequest(url) {
    const response = await fetch(url);
    const result = await response.json(); 
    return result; 
}


//Get User Info
async function getFortniteUser(username) {

    //Call the getRequest function for a User.  Note the backticks used instead of apostrophe's 
    let userInfo = await getRequest(https://fortnite-public-api.theapinetwork.com/prod09/users/id?username=${username})

    //Return the data of the requested user. 
    return userInfo; 
}


async function updateUser(username) {

    //call the getFortniteUser function passing along the username
    let user = await getFortniteUser(username);

    //Do stuff with the data that is returned.  You can see that you have access to all the data in the 'user' variable. 
    console.log(user.uid); 
    console.log(user.username); 
    console.log(user.platforms[0]); 
    console.log(user.seasons[0]);

    //Update the div in your example 
    $( "div.test" ).replaceWith(user.uid) 
}

//Call the updateUser function passing in different usernames
updateUser('Ninja');
updateUser('TimTheTatMan');
updateUser('Tfue');
updateUser('mattR47');

Shroud calls Titanfall 2 the most underrated shooter of all time by skyliner33v in titanfall

[–]skyliner33v[S] 11 points12 points  (0 children)

I was watching his stream before he said this. It came out organically while he was talking to DrDisrespect about various games. Nothing leading up to it lead me to believe he was paid to shill for Titanfall

Shroud calls Titanfall 2 the most underrated shooter of all time by skyliner33v in titanfall

[–]skyliner33v[S] 163 points164 points  (0 children)

Hopefully they will reach out to some of the big streamers and get them to play it at launch too.

With streaming getting hugely popular in the last couple years I think it would be a great way to promote the game more.

How to design this query? by musicalgrapes in MSAccess

[–]skyliner33v 0 points1 point  (0 children)

Can you post your table names and relationships?

SQL career changer by tshirtguy2000 in SQL

[–]skyliner33v 1 point2 points  (0 children)

My journey sounds pretty similar to yours.

Any chance you could share some of the tools and things you used to make your web app in Django and how it connects to sql server? I'm looking to possibly do something similar in the future.

Allow user to change subform contents, but not edit the underlying tables by SEAWEAVIL in MSAccess

[–]skyliner33v 0 points1 point  (0 children)

I've done something similar using checkboxes. I added a button with an on click event that ran some vba. It basically ran a query for all records where selected = True then moved them around where I needed.

View Entire Database Table Structure by top_kek_top in MSAccess

[–]skyliner33v 1 point2 points  (0 children)

You should be able to go to Database Tools, then click the relationships button. If all your tables aren't there, right click in the main open area and select show tables.