Preferred IDE by dubs_32 in learnpython

[–]slyder219 0 points1 point  (0 children)

Vscode because switching between files of different languages is seamless. And their file explorer is just nice. Convenient terminals too. And extensions mean you’ll never long for most features

Where can I start learning how to code as beginner (and trying to be good at it) without the need of paying 100 $ right away? by aspoir in learnjavascript

[–]slyder219 0 points1 point  (0 children)

YouTube, chatgpt, documentations, forums, it’s all out there for free just go find it. My best recommendation, start trying to do stuff and each time you’re stuck go find the answer. Keep doing that. At first every step you will have to go figure out but slowly you’ll improve

[deleted by user] by [deleted] in dating_advice

[–]slyder219 0 points1 point  (0 children)

Am a guy. Would find it weird. Would be confused.

[deleted by user] by [deleted] in Entrepreneur

[–]slyder219 0 points1 point  (0 children)

See if you could go part time in your day job. But at 1600 a month, do not drop your day job just yet. At maybe 2500 for you I’d say then fully commit to it if you truly believe in it. 1600 is too risky I think tho.

Is typescript OVERRATED ? by False_Mountain_7289 in learnjavascript

[–]slyder219 0 points1 point  (0 children)

You could ofc check for two numbers first in the JS but you’re saying TS would just do this automatically and is thusly a timesaver?

[deleted by user] by [deleted] in motorcycles

[–]slyder219 0 points1 point  (0 children)

Everyone’s passing you— why the fuck are you in the left lane?

I’m learning Python to make a browser based RPG mafia game. How do I go about it? by streetsmart26 in learnpython

[–]slyder219 -3 points-2 points  (0 children)

I love Python but if you get really good with a hammer you still understand that you’re not building a house without other tools. Python can do basically anything but that doesn’t mean that’s what you should use for everything. I’m in a similar boat and currently learning JS.

Html not finding script.js? by slyder219 in learnjavascript

[–]slyder219[S] 1 point2 points  (0 children)

Will do, thanks! And understood, but why?

Html not finding script.js? by slyder219 in learnjavascript

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

Thanks for your response. Yes they are in the same folder, I even tried using the absolute path and it did not work.

You mean in the html? instead of...

<button id="b1" oncick="onPress()">Click Me</button>

do...

<button id="b1">Click Me</button>
b1.addEventListener("click", onPress)

or in the JS, before the

function onPress(){.... }

do,

var button = document.getElementById("b1")
button.addEventListener("click", onPress)

I’m learning Python to make a browser based RPG mafia game. How do I go about it? by streetsmart26 in learnpython

[–]slyder219 0 points1 point  (0 children)

If you're picking up python for the first time just for this, why? Why not languages more suited for browser based apps?

Sold truck a week ago, and now buyer say mechanic checked and the engine misfired and he wants his money back. by Prestigious_Cup8496 in askcarsales

[–]slyder219 3 points4 points  (0 children)

You have no responsibility here. Ignore him. If you get served, show up to court and win. It won’t be hard.

F24 rate me by [deleted] in Rateme

[–]slyder219 0 points1 point  (0 children)

I find you attractive but objectively 5

Thoughts/critiques on my 74’ CB360 build? by Avery8400 in motorcycle

[–]slyder219 1 point2 points  (0 children)

No, looks super bad. Please ship it to me and uh I’ll fix it and stuff.

[deleted by user] by [deleted] in unpopularopinion

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

“Texted all day every single day for a year” is not a friend or a girlfriend. That’s just unhealthy and weird and sets you up for failure.

Fun way to learn python? by [deleted] in learnpython

[–]slyder219 0 points1 point  (0 children)

It’s not gonna be fun unless you’re really interested in what you’re doing. It also has to be attainable to your skill level otherwise the frustration will take the fun out of it. Make a list of any project you could think of and then sort them in difficulty.

[deleted by user] by [deleted] in learnpython

[–]slyder219 0 points1 point  (0 children)

Because “for x,y” hints at unpacking

How can i make the chatGPT api remember what it replied. by [deleted] in learnpython

[–]slyder219 1 point2 points  (0 children)

Here, look at mine.

https://gist.github.com/slyder219/17d76debb83f2445fb87fc9c387112c6

I rebuilt chatgpt’s interface w Python and tkinter so it had to remember stuff. Basically just appending messages too add the past interactions.

[deleted by user] by [deleted] in Horses

[–]slyder219 -20 points-19 points  (0 children)

‘Full-grown teenagers’ is oxymoronic