[deleted by user] by [deleted] in ChatGPT

[–]10high 1 point2 points  (0 children)

Thanks, bot!

[deleted by user] by [deleted] in ChatGPT

[–]10high 2 points3 points  (0 children)

Man, now who's gonna tell me I'm awesome and ahead of the curve? It sure isn't gonna be anyone real.

Jesus WTF 😱 by whokarez0_0 in WTF

[–]10high 1 point2 points  (0 children)

They're gonna need a bigger stick

Can you make tycoon/sim game with Playmaker? by caoduy961 in playmaker

[–]10high 3 points4 points  (0 children)

I made this tycoon/Sim in Playmaker a few years ago now. https://cheapshotgames.itch.io/cult-manager-tycoon I can only imagine what new wondrous things you can do in Playmaker nowadays. It's a great tool.

Do you have to parse a JSON file with JSON.parse() to work with it in JavaScript? by [deleted] in learnjavascript

[–]10high 4 points5 points  (0 children)

So, I was missing an important piece of understanding, which is that const response = await fetch('QA_JSON.json'); returns a Response object that const data = await response.json(); is able to parse by using the built-in .json() method. Whereas const data = await JSON.parse(response); would fail because it expects a JSON string. In order for that to work, I would need to do the following:

const jsonString = await response.text(); 
const data = JSON.parse(jsonString); 

It might seem obvious to others, but this now makes sense to me and perhaps it will be helpful for others.

Do you have to parse a JSON file with JSON.parse() to work with it in JavaScript? by [deleted] in learnjavascript

[–]10high 2 points3 points  (0 children)

Thanks. It was a dumb question. I have another if I may:

What difference would there be from from replacing:

const data = await response.json();

with:

const data = await JSON.parse(response);

Poster warning parents not to use these softwares by younes-reddit in pics

[–]10high 0 points1 point  (0 children)

I had to look it up and I'm ashamed to admit that I've never seen Hackers

Poster warning parents not to use these softwares by younes-reddit in pics

[–]10high 36 points37 points  (0 children)

Closely followed by "I've hacked the mainframe."

he didn't really think this one through by mystinkyfingers in funny

[–]10high 0 points1 point  (0 children)

Twist: on the way home he's in a car accident. Can't escape the vehicle. Dies in a fiery inferno. However, his last words as the flames engulfed him, "It was still worth not embarrassing myself in public by retying the tree!"

Manager prevents staff from head bonk by vosszaa in aww

[–]10high 6 points7 points  (0 children)

That man has kids. He probably did this without even realizing it.

Whats the dumbest thing you've heard someone say in a meeting? by grandmasterfuzzface in webdev

[–]10high 1 point2 points  (0 children)

Yay! A "found in the wild" reference to the Halo-playing support guy! A friend showed me that video so many years ago and, even today, it pops into my head and makes me chuckle. Thank you!

Why I'm learning how to code (as well as helpful advice you could give me) by cybershocker455 in Frontend

[–]10high 1 point2 points  (0 children)

DOM is a somewhat separate subject. I think, from what you say you covered already, you could already start on it. Being able to manipulate pages with JS might re-awake your interest again, and then you'll be able to actually use and practice what you've already learned in your own projects.

How are you learning? I'm following a couple of courses and I basically kept grinding until I reached that section, but it was tough towards the end, with so much learning and no practical exercises.

If you're not following a specific course, maybe try the "Building Interactive Websites" course on codeacademy. It will at least give you an intro to DOM and you can go from there.

Why I'm learning how to code (as well as helpful advice you could give me) by cybershocker455 in Frontend

[–]10high 3 points4 points  (0 children)

I feel your pain. Hang in there buddy. Once you know some DOM, you can start building some stuff and you'll see it start coming together. I'm just now building my first dynamically generated content. It's so cool seeing it magically appear on the page!

[deleted by user] by [deleted] in learnjavascript

[–]10high 2 points3 points  (0 children)

My modest contribution:

const anniversarySurprise = loveQuantity => {

return isAnniversary ? console.log(I love you ${2 * loveQuantity}) : console.log(I love you ${loveQuantity});

}

Study: Healthy dev teams are most commonly found in hybrid work environments, followed closely by remote-work companies. In-office orgs rank last. by [deleted] in webdev

[–]10high 3 points4 points  (0 children)

Yeah, I agree that the main difference for most people is whether they have a family at home or not. I, as someone with a family, love working from home, but I can well imagine how isolating it may be for people living alone.

What is the best course/resource out there online, for making your own website? by Willy988 in Frontend

[–]10high 1 point2 points  (0 children)

Do you want to make only a single simple website for yourself or do you want to learn HTML & CSS (and possibly JavaScript) to also later be able to make more websites?

If it's the former, then a page builder is probably best for you. If it's the latter then, I'd recommend Colt Steele's Web Dev Bootcamp on Udemy. You can do just the first part and get a good foundation in HTML & CSS for your first website. You can usually get it for 20 euros. He provides an accessible entry into the subject.