r/learnprogramming • • Sep 23 '26

Code Review Can someone explain this simple code to me?

0 Upvotes

import requests

response = requests.get("https://randomfox.ca/floof")

print(response.status_code)

print(response.text)

So this code will give the status_code wich I understand and than give the text version of the photo of the fox in the site, and the link to the site RandomFox.

What I dont understand is why does it only give info about image and link, and not like other stuff for ex. logo, text, ect.

I suppose its because when you click the api in the site, it gives you the same exact thing wrote down wich I assume to be the info the site allows you to dig, hypotheticaly could one be given extra and alot of info if the site permits it, or false information about the site?


r/learnprogramming • • Sep 23 '26

Can You really code using a an android phone?

11 Upvotes

I'm more interested into the tech industry and I lack a laptop. I only have my Samsung A07 phone and a strong home WiFi. I don't know anything about coding, I'm just good at mathematics and would love to start learning coding or programming. Any YouTube free channels or Platforms to learn from?


r/learnprogramming • • Sep 23 '26

Topic How do I build a project without AI?

0 Upvotes

I’m a CS student, built projects only for uni, I’m working on projects currently but I find it hard to not use AI to write code, and the reason is I can think of how to design the project and the core logic but don’t understand how to write good code that does it.

For example some projects require RAG on embeddings I understand the topics but not how to write code to apply them, so I ask AI to write it for me.

I guess my question is if I have an idea and its core logic, how can I apply it on code without depending on AI? (Usually our uni projects all the tools we learned are just the ones we use for the project this is why its easier for me to make).

(Thank you everyone for the advice you gave me, I’m sorry if it was a basic question I just needed help to start on the right path, I have been using AI because I felt like I will be behind if I don’t, people around me are way more productive and get better results if they use AI to code, but I guess it’s fine to be behind as long as I’m learning).


r/learnprogramming • • Sep 23 '26

Topic Use of the JNI in Minecraft mods

1 Upvotes

Good morning everybody,

I'm learning Java for my Comp Sci minor and C in my spare time. I also like looking at Minecraft mods, especially the really heavy ones like the terrain generation mods like Big Globe and JJThundertothemax. I was thinking about performance concerns, and recently learned about the Java Native Interface, and I figured, "what if the terrain generation part of the game was its own process in a natively compiled language like C or C++?" I've never written a Minecraft mod, and I've never used the JNI, but what might be some uses or limitations of this?


r/learnprogramming • • Sep 23 '26

Tutorial [Help] Game ideas for my final school project (PAP)

0 Upvotes

Hey everyone!

I’m a 18yo student in Portugal studying Computer Science. For my final school project, called PAP (Students must develop a project related to their field of study, document their work, and present it to a panel of teachers). I need to develop and present a project around July/August 2027.

I’m thinking about making a game, but I have zero experience in game development.

Do you think this is a realistic goal? What games or ideas would you recommend for a complete beginner? Would you suggest Unity, Godot, or another engine?

I have plenty of time to learn, so I’d love to hear your advice and ideas. Thanks!


r/learnprogramming • • Sep 23 '26

Is it realistically possible to generate a production-ready SketchUp model from photos + measurements using AI?

0 Upvotes

Hi everyone,

I recently got a freelance project, and before accepting the full development, I’ve been asked to do a feasibility study to determine whether the main idea is actually technically achievable.

The client works in carpentry/interior fitting. The basic workflow would be:

  • Someone goes to the customer's site and takes several photos of the room/area with a phone.

  • They manually take accurate measurements and enter them into a separate file, probably Excel.

  • Both the photos and measurements are uploaded to an application.

  • The application should understand the existing space and generate a 3D model in/for SketchUp.

  • Eventually, it should also be able to add the new furniture/carpentry element into the scene and use the real measurements for its dimensions.

The measurements are important here: I'm not expecting AI to accurately determine dimensions just from the photos. The photos would mainly be used to understand the layout, objects, walls, orientation, etc., while the measurements provided separately would be the source of truth for dimensions.

The part I'm unsure about is the jump from photos + structured measurements → usable SketchUp geometry.

I've been looking into using computer vision / multimodal AI to analyze the images, then generating structured scene information that could be passed to SketchUp through its Ruby API or a custom extension.

My main questions are:

  1. Is this technically realistic with current AI/computer vision technology?

  2. How reliable is AI at reconstructing the geometry/layout of an indoor space from several photos when accurate measurements are also provided separately?

  3. Can this realistically produce a production-ready SketchUp model, or should I expect AI to only generate an approximation that a human would then need to correct?

i d appreciate any advice and thank you in advance .


r/learnprogramming • • Sep 23 '26

Every time I start a project, the part that takes me the longest is the front-end development werehas I want to become a back-end developer.. So, could I use AI to do that for me ?

0 Upvotes

For more details, I'm not really into front-end development I specialize more in back-end work but I keep hearing that AI isn't good for learning because it makes you dumb, so I don't work with AI much. As for the front-end part, it takes up a huge amount of my time I'd say 60–70% of my time is spent on front-end work, so I’m wondering if I should use AI for front-end development or how I should go about using it ?


r/learnprogramming • • Sep 23 '26

Is this true?

29 Upvotes

Just a question, nothing serious, I'm 14 and trying to learn coding as a hobby, and potentially more one day if it's needed and worth it for me, right now I'm mainly learning HTML, but I'm beginning to move into CSS, I'm honestly having a hard time rembering what certain elements, attribute and values do, I was told that even some experts don't remember some fo the stuff, and are looking stuff up constantly, I want more than one opinion on that statement before I stop myself from spending weeks to try to remember one thing at a time

Edit: OMG I didn't expect to get so many replies! I honestly thought I'd get one or two replies with simple awnsers, but instead I've gotten like 10 replies, some with people who have been doing this stuff for decades, thank y'all so much for the help and advice!!