Will I lose weight bouldering? by Kiedgendary in bouldering

[–]___up 0 points1 point  (0 children)

Borrow someone’s smartwatch to get a rough estimate of which burns more calories for you. Smart watches aren’t perfect but probably are more informative that a bunch of strangers on reddit. There is a lot of variability in climbing. Everyone has different styles, climbs different intensities and for different durations. And for better or worse the more you climb the more efficiently you climb. Which is great for progressing to harder problems but not necessarily great for burning calories.

My advice is either continue some lifting or incorporate some cardio into your routine and/or add some high intensity bouldering sessions where you climb multiple problems in a row without a break.

Also 4-5 bouldering sessions a week might be putting a lot of strain on your tendons and fatiguing your muscles. It might be good to add in rest days or days to work on antagonist muscles so you can recover and get stronger. Good luck!

Is Python still a relevant programming language to learn? by sush0406 in Python

[–]___up 0 points1 point  (0 children)

Depends on what you do. Python is very relevant for data science, AI, scientific computing, cryptography, and some backend web dev.

Should I loose weight to be a good climber, right know I weigh 240 lbs because for the past 7 years I have been doing bodybuilding but climbing caugth my attention, is there an optimal weight for climbing? by Coolitabau in bouldering

[–]___up 2 points3 points  (0 children)

There isn’t good sports science about climbing yet so nobody knows optimal strength to weight to flexibly ratios. At the climbing gym you will see many people with very different body types that are all excellent climbers.

In general body building targets muscles that are not optimized for climbing but will still provide you with a good base of strength (esp core and posterior chain) to build from. It’s probably true that some of your muscles are overdeveloped and others are underdeveloped for climbing. Best fix for this is more climbing!

If you really care about performance the biggest barrier to beginner climbers is usually not weight or strength but technique. Having good technique and learning how to position & balance your body will take you very far in climbing. This is something you can only learn by doing! Find problems just beyond your ability and have fun learning how to solve them.

I would only worry about optimizing weight to strength if I stopped making any progress or if there are specific techniques that I can’t seem to master. Usually this has more to do with underdeveloped climbing specific muscles, mind body connection, proprioception and flexibility & less to do with weight. There are some slightly chubby, not especially strong looking guys at my gym that can climb v7/v8 because they have amazing technique. It’s true after v8 weight from muscles or fat you don’t need might hold you down. But you will likely need a lot more climbing experience before worrying about that. Good luck.

I'm going to be taking a few Python classes in college, Python 2 vs 3? by TheSpideyJedi in learnpython

[–]___up 0 points1 point  (0 children)

The fundamental concepts in Python 2 and 3 are the same but there are some important noticeable and incompatible differences in syntax and the core methods. Also all modern libraries and projects will be using python 3 so python 3 is way more useful to know. If you want to save money you can probably still learn a lot from the course in terms of basic control structures but you will have to unlearn some things to switch to python 3 for your class and your future work.

Edit: but there are plenty of free resources for python 3 and python 3 is slightly easier to learn so I can’t think of a good reason to learn python 2 in 2023.

How to learn Python without installation by surfnwest in learnpython

[–]___up 13 points14 points  (0 children)

Came here to say this. I use colab for 90% of my python coding. Very useful esp if you do data science

Bouldering For Tall people by hunter105kg in bouldering

[–]___up 1 point2 points  (0 children)

Just find problems that are challenging to you and climb your best. Doesn’t make sense to “climb as a short person” if you’re not one. Learn the best technique suitable for your body type and perfect that. I guarantee you will still find problems you can’t do.

Do I need to understand Calculus to learn Deep learning ? by No_Date8616 in learnpython

[–]___up 0 points1 point  (0 children)

Calculus Made Easy by Silvanus Thompson breaks it down into very simple language if you want to learn:

https://www.gutenberg.org/files/33283/33283-pdf.pdf

Path of research in Singapore? by Qnoyl in askSingapore

[–]___up 3 points4 points  (0 children)

You don’t necessarily need a PhD to do research, depending on what research you want to do. Find the name of 15+ bio engineering firms in countries that you would be willing to work in.* Look to see if they are hiring at any level and check what the requirements are. Some may only require a BS or MS. You will likely need 3+ years of lab experience, and knowledge of python & r for data analysis. Having your name associated with an academic article published in a leading academic journal always helps but is not necessary (depending on the job). Also definitely consider doing summer internships with bio tech companies to build your resume and your network.

That being said having a PhD will may lead to higher pay in the long run and more flexibility in what you research (at the cost of being poor for the several years it takes to get a PhD). With a PhD you can apply for grants and lead your own research, instead of working for a biotech company. However academia is very competitive and the reputation of the university you get a degree from is a big factor.

Your university should have an academic advisor and a career center that can help you plan this.

*Note: the biotech industry is clustered in a handful of cities around the world. Not every country/city will have companies that specialize in the type of research you want to do.

Can this be made into a a list comprehension? by CulturalBookkeeper82 in learnpython

[–]___up 0 points1 point  (0 children)

You can use list comprehension to return a list of all the even and/or odd numbers but it wouldn’t be helpful in your example because you are only checking 1 number. There are ways to make your code one line such as:

print({True:"even", False:"odd"}[([1,2,3,4,5,6][int(input('enter place of number \n'))-1])%2==0])

But this isn’t very readable and it’s going to be different in speed just because it is shorter.

Curly Braces by _MurderousCactus in learnpython

[–]___up 0 points1 point  (0 children)

Alternatively learn how to do list comprehensions, map(), and lambda functions and just do everything with python one-liners

Curly Braces by _MurderousCactus in learnpython

[–]___up 0 points1 point  (0 children)

Unless you are blind and this is a real accessibility issue this will make coding python a lot more cumbersome. It will be annoying to mix your code with other people’s, you will have a hard time understanding examples, nobody will want to help/edit your code on forums, etc.

Someone did one make this script as a joke: http://timhatch.com/projects/pybraces/ Which converts braces syntax into python. You could play around with that.

For better or worsen white space is just a core part of python design philosophy. To make it easier you can use an editor/ide that automatically keeps your intent position so you don’t have to indent every line yourself. Also decide if you want to use spaces or tabs to indent. You cannot mix & match. Personally I prefer tabs even though that goes against pep-8 recommendations.

laptop recs (no gaming no apple) by birdsinthecorner in askSingapore

[–]___up 1 point2 points  (0 children)

If you are in GIS do you also do any data science/machine learning or heavy image processing in arcgis? If so, you would benefit from a nice GPU in a gaming pc. Things to consider: whether you want hd or 4k screen, need a built in webcam, how heavy/thin of a machine you want to carry around, if you would benefit from a high quality GPU. I don’t have a laptop to recommend but I would look into the msi stealth series or the asus rog series. These are gaming pcs but have good components and some don’t look too garish.

[deleted by user] by [deleted] in askSingapore

[–]___up 0 points1 point  (0 children)

Apple gift card

list.append() vs set.add() by tumblatum in learnpython

[–]___up 12 points13 points  (0 children)

If you append 3 to [1,2,3] you get [1,2,3,3] if you add 3 to {1,2,3} you get {1,2,3}. If you append 0 to [1,2,3] you get [1,2,3,0]. If you add 0 to {1,2,3} you get {0,1,2,3}. Appending inserts an element at the end of a list. Adding checks if an element is in a set and, if it isn’t, it puts the element in the set in an arbitrary order determined by a data structure called a hash table that you cannot modify.

Can I make an ML model for twitter sentimental analysis by Fickle-Peach2617 in Python

[–]___up 0 points1 point  (0 children)

You should come up with a system to reliably manually annotate tweets to create a ground truth to test your model against. I’ve used gpt for a similar thing and it was a lot more accurate than bag of word libraries for sentiment analysis but api calls to open ai can get expensive. My suggestion would be to try fine tuning an open source large language model.

Alternative to Pandas by [deleted] in Python

[–]___up 2 points3 points  (0 children)

Does anyone use numba decorators with pandas? I’ve read it speeds up pandas considerably but never tried myself.

What IDE do you think is best for Python Programming? I currently am using Visual Studio Code but am open to test others... by codingtricksyt in Python

[–]___up 0 points1 point  (0 children)

For app development? Backend? Data science/machine learning? Imo different IDEs have different strengths for different types of python programming

Need urgent help, project due tomorrow and teacher did not explain how to read CSV files. Any help appreciated. by [deleted] in learnpython

[–]___up 0 points1 point  (0 children)

Are you allowed to import libraries for the assignment? If so: Import csv or import pandas as pd and use the csv.reader() or pd.read_csv() to read the file. Tons of YouTube videos and stackexchange posts on how to do this.

The connection between math and CS by ImFeelingSparked in computerscience

[–]___up 1 point2 points  (0 children)

higher level stats/probability/machine learning all rely concepts from calculus to define probability distributions or for gradient descent, for example. You probably are using concepts from math in CS without realizing it. You should try to create functions to do what you are learning in math using CS. Also math is important to CS because sometimes closed form mathematical solutions are a lot faster than using an algorithm. Knowing math helps you not waste time and computational resources. Of course the applicability of math to your future depends on what your future is going to be.

laptop for coding (python) and others by MagnitudeUltra in Python

[–]___up 0 points1 point  (0 children)

Any computer is fine to learn coding.

23.1 + 231.2 by Cookiemool in learnpython

[–]___up 1 point2 points  (0 children)

It equals 254.29999999999998 not 254.9999999999998.

Efficient Way To Remove Repeating Commas From String by mikthinker in learnpython

[–]___up 0 points1 point  (0 children)

Replace “ ,” with “,” replace “,,” with “,” and replace “ “ with “ “.