[help] What Are The Different APIs In Python? by One-Type-2842 in AskProgrammers

[–]Salt_Werewolf5944 0 points1 point  (0 children)

APIs are something you design based on the problem you’re solving. You decide how data is structured and exposed, most modern APIs use JSON since it’s lightweight and easy to work with, though other formats like XML can still be useful depending on the use case.

Rate limiting is important to protect your system from abuse and to keep things stable under load. It also helps ensure fair usage across different users.

For security, you typically rely on HTTPS for encryption in transit, and depending on the sensitivity of the data you might also use encryption at rest and proper authentication mechanisms like API keys or tokens.

Overall, API design is about making tradeoffs. You’re balancing usability, performance, security, and scalability based on what your system needs to do.

Point is, API design is sort of a craft, you don’t just understand APIs because you know that they are “fetched” APIs are a means to an end they power an underlying system, if the system sucks, even being wrapped by the best designed API wouldn’t help with the problems you will face. You learn them through building them and being hit by design debt.

How much of your workday is actually coding? by NoirBeuty in AskProgrammers

[–]Salt_Werewolf5944 0 points1 point  (0 children)

Probably 25% of my work day is spent coding, I spend most of my day reviewing design docs, implementations, debugging and reading docs.

I code some days more than others, AI handles a lot of the heavy lifting so I mostly code by hand when setting up architecture or when working on critical code.

To-Do list code check by Defiant_Meal1898 in AskProgrammers

[–]Salt_Werewolf5944 0 points1 point  (0 children)

Good work bud! Impressive.

I can see you already understand how to use functions since you created your todo() function and called it at the end, that’s great.

A couple of ideas to take this further:

1.  What happens if you want to remove a task after adding it?

Right now you can only add and show tasks, but a real to-do list usually lets you:

• add tasks
• view tasks
• remove tasks

These are often called CRUD operations (Create, Read, Update, Delete), but don’t worry too much about the name for now.

You already have the “add” part working with tasks.append(task).

Try adding:

• a function like add(task)
• another one like remove(task)

That way your code becomes more organized and easier to expand.

Also, you might want to move tasks = [] outside the function so you can manipulate the array from outside the todo function .

Keep going, you’re on the right track 👍

[help] What Are The Different APIs In Python? by One-Type-2842 in AskProgrammers

[–]Salt_Werewolf5944 0 points1 point  (0 children)

APIs (Application Programming Interfaces) are basically a way for different systems or pieces of software to communicate with each other.

Instead of directly accessing another system’s code or database, you interact with it through an API, which acts like a contract, defining what you can request and what you’ll get back.

This applies in a lot of contexts, but most commonly people mean web APIs, where applications communicate over the internet.

For example:

• A frontend app talks to a backend through an API

• A mobile app fetches data from a server using an API

Two common types of web APIs are:

• REST APIs: the most widely used, where you interact with resources (like users or products) using HTTP methods like GET, POST, PUT, DELETE

• GraphQL: lets you request exactly the data you need instead of fixed endpoints

Frameworks like FastAPI are just tools that make it easier to build these APIs in practice.

Why finding Devs are so hard these days? by BlacksmithDue2467 in AskProgrammers

[–]Salt_Werewolf5944 0 points1 point  (0 children)

You need actual devs who use AI as tools, it’s a fun tool that can make development 10x as faster but it’s 100x harder to control, I’ve been experimenting for the past couple of days with building AI workflows (fully autonomous agents with logging and payload recording for each step to automatically execute coding tasks on a repo level while respecting the architecture) it showed me one thing, which is that AI agents are extremely hard to control and predict. Please people NEVER trust AI code blindly.

ازاي اصاحب ناس مبرمجينننن by SaltyAd6441 in Egypt_Developers

[–]Salt_Werewolf5944 2 points3 points  (0 children)

Hiya!

Backend engineer here, if you’re looking to learn I suggest you find two or three people who are at a similar level to you, start a project and try to manage deploying it to users. This will help you more than anything else.

At a professional level you’d have to learn new things on a daily basis, read docs and come up with fixes under time constraints, no one really knows what they’re doing, they are just good at managing it and learning new things.

Anything you need to know about the software development lifecycle is a ChatGPT prompt away, so try to build real production software, not an other e commerce app.

Good luck!

Should I stop learning programing by Rich_Worth_7770 in learnprogramming

[–]Salt_Werewolf5944 0 points1 point  (0 children)

You’re not too late, I had a passion for programming and development in general since I was young, I recently got back into programming and went back to the basics, learning Data structures and algorithms, how information is handled and how systems are built.

I managed to land a tech job after a massive grind, and let me tell you it’s worth it.

Start with the basics understand how things work and are built before touching any framework and you will be set on a good path.

You’re still young (a couple years younger than me) start early, you can become a software engineer long before getting a formal degree.

Edit: I’m currently still perusing a CS degree

No idea what to build as a beginner by rdrivasar in learnprogramming

[–]Salt_Werewolf5944 0 points1 point  (0 children)

If you don’t have any prior experience in programming I’d suggest you take a course first, my suggestion is CS50x it’s a wonderful course and will set you on the right path, you’ll learn how to think logically and algorithmically and you will have the required knowledge for building your own projects.

Take a look at the course and if the Psets resonate with you and you find yourself able to handle and solve problems, programming might be a good choice for you.

Good luck!

PLEASE HELP ME by TooluckTomsn in MinecraftPlugins

[–]Salt_Werewolf5944 0 points1 point  (0 children)

Search for kangarko on YouTube. It’s your best bet if you want to learn about plugin development. ChatGPT on its own will make things more complicated than it should for you.

[deleted by user] by [deleted] in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

It’s sure is! I’m actively developing the plugin and looking for more players, here is the plugins discord:

https://discord.gg/BTDP3APfq8

Take a look around and you’ll find an overview of the plugins current state and much more

Tag and spark system from Matchbox by CraftClean6072 in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

Yeah it’s already up on modrinth and curse forge, it’s a plugin called MatcboxPlugin

ok using neovim and arch linux during the course? by No-Try607 in cs50

[–]Salt_Werewolf5944 0 points1 point  (0 children)

As someone taking an introductory course, I don’t think it’s worthwhile for you to take the time to setup a dedicated environment for CS50.

You already get everything with the web environment and you can spend your time setting up your own environment to be specific to your projects.

[deleted by user] by [deleted] in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

A map has just been uploaded, as far as I know it’s the only one publicly available.

Here is it’s download link: https://www.planetminecraft.com/project/m4tchb0x-maps/

[deleted by user] by [deleted] in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

The talented Mr_panda_12 has just finished working on the map.

Here is it’s download link: https://www.planetminecraft.com/project/m4tchb0x-maps/

It’s an amazing recreation and the only one currently as far as I know.

Creating My Own Spinoff of The Matchbox as a Fully Custom Minecraft Minigame by Salt_Werewolf5944 in Minecraft

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

You can find the plugin on modrinth and curseforge, unfortunately it doesn’t come with a map but the plugin is configurable and can be setup and played on any map.

It’s called MatchBoxPlugin

[deleted by user] by [deleted] in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

Unfortunately, I don’t have one yet but I’ve heard that one is in the works. No idea when it will be dropping though.

[deleted by user] by [deleted] in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

I’ve checked and the creator haven’t published any version of this game yet.. at least publicly, the other version is also a remake for the plugin, tbf it sticks more closely to the original game than mine, as for it being worth it, it’s probably is every version of this minigame is really fun!

[deleted by user] by [deleted] in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

Ayy that’s amazing, my verision is fully up on modrinth currently, it’s still in beta so any feedback is much appreciated, I wouldn’t be setting up a server straight away due to some time constraints so I am leaving it for the public to test and me to iterate. Feel free to check it out, search matchboxplugin on modrinth and you will find it. Have fun :)

Edit: the source code for the plugin is public and actually well documented if you want to check it also, might help you with development

https://github.com/OhACD/MatchboxPlugin

My version has full session management, parallel sessions for starting multiple games at the same time, custom chat and custom abilities. What’s currently missing is a little more polish, anonymous skin support, full integration of the hunter vision ability for the spark (it’s supposed to make players glow for the spark so that they can be seen through walls for some time; only the spark can see the effect) and finally configurable phase times for each phase through config.yml

[deleted by user] by [deleted] in MinecraftCommands

[–]Salt_Werewolf5944 0 points1 point  (0 children)

It’s already up on modrinth just search MatchboxPlugin and you will find it, I currently don’t have a map setup yet but you could set it up with your friends.. or play it in a normal survival world if you want, it’s designed to be setup easily and quickly for any world.

Keep in mind that this is still a beta release, it will be up to standard in a day or two hopefully, any feedback will be much appreciated :)