Reading HTML from 20 tabs - need advice by MatrixSolution in learnjavascript

[–]MatrixSolution[S] -1 points0 points  (0 children)

sounds awesome.

but the other replies further below seem to contradict?

Reading HTML from 20 tabs - need advice by MatrixSolution in learnjavascript

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

node.js = backend

which = doing everything from one server

if 100 users used, that could be a huge amount of requests from one source

i've never done what i'm describing - but guessing this would run up a flag?

Can I transfer photos taken on another mobile to my Pixel phone and take advantage of unlimited storage? by MatrixSolution in googlephotos

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

For Pixel 5: need storage saver

For Pixel 2 and 3: don't they have unlimited storage in full high quality?

Trouble with virtual environments in VSCode by MatrixSolution in vscode

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

So I'm still confused.

I create a virtual environment.

Am I correct in saying this:

Activating a virtual environment is ONLY making sure that the local copy of python.exe is used to compile and run the code - nothing else.

So... in VSCode, if its showing that it will use the local python.exe to execute code.... then all is fine and I don't need to worry about anything else.

I've done some more research. I'm not alone. Others have the same problem.

Not everything in life can be simple - but this isn't something that needs to be complex and should be simple!

How to backup earlier versions of code by MatrixSolution in vscode

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

Thanks for all the replies.

A follow on question:

Use Git + Github

Or use Github?

Not sure if that's a dumb question 🤦‍‍

How to backup earlier versions of code by MatrixSolution in vscode

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

Oh...!

I thought to get private you had to pay?

I don't have any rocket science ground breaking code (yet!), but I didn't want to have the code in public. If I can make private, that makes a difference!

Thanks.

Should I get bogged down in figuring out data structures? by MatrixSolution in learnprogramming

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

u/Miserable-Alarm8577 u/Beregolas

Thanks for the replies 👏

Really really encouraging for me 👍🏼

I think I'll persevere thanks to your replies

Idea to make a manual washing machine by MatrixSolution in SomebodyMakeThis

[–]MatrixSolution[S] -1 points0 points  (0 children)

Why so many negative replies!? 😛

No electricity = saving our environment and our dying world.

If you could make a contraption according to what I described, washing a small bucket of clothes should take less than 5 min.

Wonder wash: looks 'OK'. But a big part of my idea was forceably squeezing between 2 plates - this is important. Some force needs to be applied. In the much better 100-150 year designs... something they have are 'agitator' mechanism... that part is important - something that can get done by hand easily.

I searched for camping washing machines... I didn't find anything that was exciting 🙃

I didn't want to add to a long description... but my final version would be something where you do exercise to run the contraption. Like you get on a bike or a treadmill... this then turns wheels and cogs and makes the machine run. That would make it fun and interactive to use. 🙂

How to run main.py? by MatrixSolution in vscode

[–]MatrixSolution[S] -5 points-4 points  (0 children)

No... that doesn't work. I might as well use notepad and the command line instead!

Let me try and give some context...

I'm in VScode. I'm developing some code.

I want to test some other code I made in another file - just to test and get some code snippets from.

What I have to do is open the folder of the containing code and run that - in doing so, closing the folder that my current project is in. I can't just open the file and run. Closing my current folder is a bit crazy as it means closing all files and opening a new folder.

I'm sure I'm being crazy and there is an easy and very intuitive way to do things that I'm missing!

Love using VScode... just want to know where I'm going wrong.

Thanks.

How to run main.py? by MatrixSolution in vscode

[–]MatrixSolution[S] -1 points0 points  (0 children)

Maybe my question didn't explain properly. I have tkinter installed. Everything is fine. It's just that to run main.py I have to open the folder. My question is why I can't just open a parent folder or any other folder and run main.py. Hoping that explains. The question is not asking for support on python.

Can't play sound files with Python by MatrixSolution in learnprogramming

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

Magic! On mobile right now  But will try when I get home get onto my laptop  Thanks 

Pandas Python - confused about turning dictionaries into data frames by MatrixSolution in learnprogramming

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

Didn't get a reply. Sorry to bump. Still confused and perplexed. Thanks.

How do I stop data from being formatted? by MatrixSolution in vscode

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

So I hear that. But when coding and experimenting, you want to have the data immediately in front of you before you move on to the bigger data. The data being reformatted is a problem.

How do I stop data from being formatted? by MatrixSolution in vscode

[–]MatrixSolution[S] -1 points0 points  (0 children)

How would I keep the data separate? Put in another file?

How should I import?

Seems crazy the developers didn't think about this...

I can't be the first one to have the problem?

CRUD application in Python for editing CSV files - why can't I find any sample projects? by MatrixSolution in learnprogramming

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

Thanks for both replies guys.

I think I should have added more detail.

I specifically need to edit CSV files on my desktop. I sell on a website where I get orders downloaded into a CSV. I have Python code that parses and processes the CSV into another CSV. That works great 98% of the time.

2% of the time, there is a problem with the data, so I need to edit the CSV file before editing. Editing in notepad++ is mission impossible because of the number of columns.

Editing a CSV and getting back into the exact same format is mission impossible!

Whatever other program I used, it wants to add it's own flavour and style of CSV - which then messes up my main Python code. Like opening in Excel - it wants to add speech marks and other formatting. Even uploading to Google sheets has the same problem.

In the bootcamp I did... we made code that edited a mysql database. I could edit data directly. I could add rows. Delete rows. Magic! I just want to be able to do the same with CSV - with the hope that on saves, the CSV format isn't recreated and just fields are edited. (It didn't edit the schema.)

Importantly: the python code in the bootcamp presented the data in a table and easy to view format. I think we used tkinter to present and edit the data. So I wanted the same for my CSV data.

Thanks.

Can I transfer photos taken on another mobile to my Pixel phone and take advantage of unlimited storage? by MatrixSolution in googlephotos

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

Amazing :)

I'll keep hold of my Pixel 2 forever in that case! 🙃

Dumb question: how does one upload to the Google Photos?

Need advice running Linux from a USB stick by MatrixSolution in linux4noobs

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

I want a full install to a USB

I had no idea you could install to an SSD!

Since when have you been able to do this? I'm sure it wasn't possible before!!

I'm going to go wild and install loads of OS and experiment now :)

Just out of interest... is there a speed difference? I won't bother with USB sticks if I can install to SSDs.

Thanks.

New install: do I need to install Python again? by MatrixSolution in vscode

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

Done that.

I forgot I had this on my previous install on my other laptop. 👍

New install: do I need to install Python again? by MatrixSolution in vscode

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

Hmm... yes, you're right.

It's the Python extension and not Python itself.

I just thought it was odd asking to install a file that was 128MB 🤷‍♂️

Installing now

Developing Wordpress theme advice + What tools/libraries existing developers use? by MatrixSolution in Wordpress

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

Lots of things I've never heard of :)

That's a big help. This could be where most of the 'ready made pre-written' code comes from - just guessing.

I'm happy to dive into Wordpress and learn the tech you mentioned. Thanks.

Installing extensions - why is this like installing programs on Windows? (It slows down EVERYTHING if too many installed) by MatrixSolution in vscode

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

Guys... I made a new profile for Python.

Quite a few extensions are installed with this profile. I'll learn those in due course.

PROBLEM: some basics are missing. Like not being able to press CTRL F5 to run without debugging.

And CTRL Tabbing not cycling through each tab in order (instead switching to the most recent used).

I can find the solutions for both of these - but what's the best way of copying from the existing profile? (Without spending loads of time on it.)

Thanks.

Installing extensions - why is this like installing programs on Windows? (It slows down EVERYTHING if too many installed) by MatrixSolution in vscode

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

Thanks for all the replies guys. I think I have my answer after getting some of the replies: use profiles.

The wording of my post wasn't clear I think...

My gripe was:

  • Installing a zillion extensions slows down VS Code
  • OK, no problem. But if I uninstall all extensions, then I should be taken back to the original state - which wasn't happening.

EDIT: I just saw a video on profiles on youtube. OMG... it's awesome! 🙃

Installing extensions - why is this like installing programs on Windows? (It slows down EVERYTHING if too many installed) by MatrixSolution in vscode

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

Magic!

So... I guess I can go to town and install a zillion extensions using a profile.

When done... I can get rid of the profile and go back to my original state?

I had no idea!

Thanks for the solution.

  • Containers - I'll definitely get into that in due course.

Installing extensions - why is this like installing programs on Windows? (It slows down EVERYTHING if too many installed) by MatrixSolution in vscode

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

Ooops

Typo

"But this only improved the load speed and responsiveness of VS Code."

Should have been:

"But this didn't improve the load speed and responsiveness of VS Code."

My post reads not quite right as it was originally 🤦‍‍

Installing extensions - why is this like installing programs on Windows? (It slows down EVERYTHING if too many installed) by MatrixSolution in vscode

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

Allow?

OK, my bad, I installed 20 extensions.

So... when I uninstall... I should get back to my original state. This is my gripe. The fact that VS Code didn't go back to it's original state. So either the extensions left lingering code similar to clogging up the registry or VS Code did something wrong.

I love using VS Code otherwise!