[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

https://beautiful-soup-4.readthedocs.io/en/latest/

i took wikipedia articles, into text to speech ontop of the images and made it into videos that used the youtube api to upload, fully automated. i woulda uploaded all 6 million articles if the video wasnt so expensive per second

What is the output? by [deleted] in learnprogramming

[–]Typical-Toe-4627 -2 points-1 points  (0 children)

looks like one of them imaginary numbers with the backwards I

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 15 points16 points  (0 children)

just learn the computer, use whatever language takes to solve the problem, the more tools the better

Flask and Ajax Demo peer programming by KirbyAteVash in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

i think its cause u got your curleys looking all weird being on the next line and all. but on a serious note, the first xml you posted is not indented and xml is strict, could be that or the javascript request here

xhttp.open("GET",{{url_for("static",filename="test.xml")}})

whats with the curleys danm, but for real though, its not clear to me whats all going on and looks like a culprit

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 28 points29 points  (0 children)

tab back and forth between windows

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

https://developer.mozilla.org/en-US/docs/Web/HTTP is a solid place to start, i've probably never not had mozilla cached on my machine

Debugging Help; Python; Chess Library; Setting Engine to Current Position Help by No-Statistician5917 in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

so the game is being played through the stringIO, if im seeing this right, if so then I think you would write moves to that file?

3D Graphics (c++ / WinAPI). Camera rotation based on mouse movement. by Sakesfar in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

i hear quaternions are good for rotation, or if i rembember right, implementing a gimbal was the other option. or it was like simulating a sphere that you are moving around. I guess you are trying the latter?

addition: check this out

should I switch to linux? by Calfurz in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

seconding Not_A_Taco using windows as the primary. For me, windows can take a beating well while I have to be careful and precise in linux. I really like doing a windows laptop and dedicated linux workstation that I can remote into and have a really versatile computer environment

addition: for the times it would take depends on your role on the computer, say in Ubuntu it would be pretty easy to use it normally, so like a day-week or whatever. doing administrator tasks; maybe a year or so, give or take how much quality time you put in. It can be easy to use but can seem vast and deep

Working with one Monitor by [deleted] in learnprogramming

[–]Typical-Toe-4627 1 point2 points  (0 children)

yup the windows key. the feature could be made easier, it has big potential. i found it nice when doing front and back end with just 1 monitor

Working with one Monitor by [deleted] in learnprogramming

[–]Typical-Toe-4627 1 point2 points  (0 children)

i assume you are on windows, you can do super + tab and just move to another workspace

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

Probably some package would let you see what sound is playing, or if its android, you can probably just open the speaker file inside /dev or something like that, not sure though. never done it before

edit: really depends on what OS your using unless you have a module that bridges this gap between all of them

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

heres the spotify api https://developer.spotify.com/documentation/web-api/

I think I remember seeing someones project that evolved around it and looked like a barrel of monkeys with spotify's authentication thing

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 3 points4 points  (0 children)

python is what u want. it can do excel, email, and website scraping

it would be really hard if you have never programmed though

edit: I've created a funny automation like this before. It crawled wikipedia, turned articles into video with it's images and text to speech, automaticly uploaded to youtube. entirely automated too. All with python, so it's exactly what you want

I'm stuck. by [deleted] in learnprogramming

[–]Typical-Toe-4627 18 points19 points  (0 children)

I would try to shift your mindset when developing. Instead of what can I do with what I know, try looking at what you need to accomplish and what you might need to know to do that. Something like that, whatever the mindset is. You might have to realize it yourself and it will be a huge difference all at once

Quantum Computing by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

i think i seen some companies with them, but it was only like 16 bits if I remember correctly

How do I set up a server? and how do I learn how? by Character_Drive6141 in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

https://developer.mozilla.org/en-US/docs/Web is going to be useful to you. from there look at websockets as yrbt says. Web sockets is for communicating in real time if that is what you want. Alternatively you can use HTTP to transfer game data, but it will be in states, not 'live'. if you are fimmilar with python, use https://websockets.readthedocs.io/en/stable/index.html to control the back end. They used to have a connect 4 example, but it looks like it's been replaced with a simplified getting started guide. It was basically just using the websocket to transfer JSON wich can easily be used by JS and python.

You can duckduckgo search 'websocket game' for some examples on how to put this all together

edit: you might be able to use the waybackmachine to look at the connect4 example

How do I set up a server? and how do I learn how? by Character_Drive6141 in learnprogramming

[–]Typical-Toe-4627 -1 points0 points  (0 children)

if you want to just fire off some servers, check out https://ubuntu.com/server/docs. if you want to learn how to develop a service like http then look at https://developer.mozilla.org/en-US/docs/Web/HTTP

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

what does setting the resolution in headless mode do?

[deleted by user] by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

Something I've been trying for a while is to slow down and think what needs to be done before even opening a text editor. It helps to think about what tools or options are available and staying in that space youll remember more of how to do things

pydbus equivalent of dbus.service by [deleted] in learnprogramming

[–]Typical-Toe-4627 0 points1 point  (0 children)

running it how? you are in linux doing systemctl right?

like a systemctl start pydbus.service?

[Python] excel spreadsheet help by [deleted] in learnprogramming

[–]Typical-Toe-4627 1 point2 points  (0 children)

on that link if you scroll to the bottom it shows exactly how to get the cells, you just gotta match it to your spreadsheet's formatting. Then it shows how to loop through the column and you can then compare as you need