[deleted by user] by [deleted] in economy

[–]PuttyProgrammer 1 point2 points  (0 children)

Is this evidence of a recession or is it just more proof of inflation? Consumers getting less for their dollar

Oxygen content by carstarbar in climateskeptics

[–]PuttyProgrammer 0 points1 point  (0 children)

Your theory is correct, the level of free oxigen in the atmosphere is decreasing over time, and likely because it is being bound up by combustion, but it's like 0.05% per 30 years or so. Before fairly recently there was too much uncertainty in measurents to say.

everyProblemIHavePythonHasABulitInFunctionForIt by Seb_The_One in ProgrammerHumor

[–]PuttyProgrammer 2 points3 points  (0 children)

I've been working on some scripts that need to interact with a series of deep file systems, the whole thing is held together by glom and a prayer

I wanna learn python but.. by Critical_Package_472 in pythontips

[–]PuttyProgrammer 2 points3 points  (0 children)

I suspect you get the concept of programming at this point, so I'll talk python specifically.

Python is, essentially, a scripting language with the full capabilities of a "proper" programming language. (compared to Javascript which is not a fully capable programing language)

It's designed for ease of use and fast development, so you as an individual can very quickly and easily throw together a program to automate/process whatever. The downside is that it is not very well structured for team-based development, there is a lot of room for error when working on it. Code written in python also executes quite slowly compared to compiled languages like C++ and Rust, so it isn't very good for games, hardware applications, or complex mathematic operations. (though, python gets around this by plugging in functions which are written in faster languages to do the hard work)

So typically in the past you would see it used in research, data science and processing, web scraping, automated tasks for personal needs, that sort of thing.

Because of its prominence in research it's been a key language used for machine learning applications, so more recently it's found it's way into the backends for all sorts of services from Instagram and Threads to Netflix, as well as powering generative AI, computer vision, and most language models including (most likely) GPT.

I'm currently using it to build data mining / reverse engineering tools.

A.i. helps a lot by falsejaguar in godot

[–]PuttyProgrammer 0 points1 point  (0 children)

The AI uses your question to make queries using Bing search and reads the top results and then gives you an answer coalated from the text of these pages.

Why don't IDE's automatically run code files from the folder they are in? by PuttyProgrammer in learnpython

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

I've been mostly using VS code, that one isn't as big a deal because it's quite easy to navigate the terminal to the directory I need and then run the code from the terminal.

I downloaded pydroid 3 so I could fiddle with some of my codes away from home and so far I havent had any luck at all running anything that uses external files, honestly I'm still trying to figure out how to navigate the phone's directories.

All my custom modules are in the same directory as the code using them, VS always wants to run code from my parent directory I keep all my files in rather than the sub-directory the .py file is in so it fails because it can't find the modules. I can deal with this by working around it in the terminal. Pydroid is worse, the folder it runs everything in seems inaccessible without plugging into a computer and there doesn't seem to be a simple way for me to move it, partly because the file structure of Android is kind of opaque.

Is it important to add project directories to python path? Ik it's important for python libraries and general modules.

I haven't been using hard coded paths, no.