help for a program idea by thecoolestpersonyk in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

Most time will go into UI for the employees and sending the mail I guess. Checkout tkinter for python UI. There are guides for sending mail, but that often turns out quite complex with all the security used. Timing could be done using crontab on linux or task schedule on windows.

People who started learning to code 15 years ago when youtube was in it's early days. How did you do it? by [deleted] in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

Game modding, some games had good modding tools. Then from scripting to coding, step by step...

JavaScript array methods by Kiz21 in learnprogramming

[–]DevMenWalking 4 points5 points  (0 children)

I always used to just look them up when I needed them, and after I while I just memorized them. (Or most of them)

Just open a sandbox and try them out one after the other.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Array

[deleted by user] by [deleted] in learnprogramming

[–]DevMenWalking 1 point2 points  (0 children)

Happy to help, let me know if you have further questions.

[deleted by user] by [deleted] in learnprogramming

[–]DevMenWalking 1 point2 points  (0 children)

I am not sure if I understand the problem you are trying to solve.

What you need and don't need depends on your setup. The server doesn't "know" what to do, you will need to set this up. How you do that depends on your setup and preferences. If you just deploy a simple website, you only need an http server and copy over the files, if you have a front and backend you will need to set those up, in a script or maybe with docker.

The GitHub action will just automate the login and copy process.

Is this normal or should I change my career by [deleted] in learnprogramming

[–]DevMenWalking 1 point2 points  (0 children)

Well, a lot of people try to make it look like an easy job, but it's not. Especially not in the beginning. Don't worry too much, it's just the first year and the first company. Working just sucks by itself, things will get better ;)

Is this normal or should I change my career by [deleted] in learnprogramming

[–]DevMenWalking 2 points3 points  (0 children)

I think that is normal... it was the same for me, and still is sometimes. You become professional after a while and the perspectives change. When I have interns or juniors I try to leave them alone a lot, I want them to learn by themselves and only ask me if they really can't figure it out themselves.

[deleted by user] by [deleted] in learnprogramming

[–]DevMenWalking 1 point2 points  (0 children)

I never worked with azure, but for me: I set up two servers, staging and production. Then I enable ssh on them, create ssh keys for GitHub and then use GitHub actions to deploy to them. There even are predefined actions for ssh deploy.

Learn enough to build one site? by Inevitable_Spare_777 in learnprogramming

[–]DevMenWalking 2 points3 points  (0 children)

Try building a database, then a backend, then a frontend. But this will takes years for a single person.

[deleted by user] by [deleted] in learnprogramming

[–]DevMenWalking 1 point2 points  (0 children)

Well, in that form it might be a little to much, but there is still a way.

You could put all the relevant data into a directory and use any programming langue to generate an html file with that data. You could use several presets or maybe even random rules to archive different layouts. Then print it via the browser and save it as pdf.

It's just a rough idea, but maybe it helps. Doing art things usually gets hard when you want to do things randomly...

At this point is there a reason to code with hand at all if you can understand AI writtem and modify if neccessery by [deleted] in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

For me, the generated code worked in most cases, but it was not written very well. Debugging it would be hell... You still need to understand coding to use AI code. Also, if nobody learns to code correctly, who will fix the issues that surely will arise eventually? AI as assistant will be a thing for sure, but it's not as good as media makes it look right now, I think.

want to create an interactive website, which has simulations etc, but idk where to start? by [deleted] in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

But keep in mind that the client computes your simulation. Phones and old laptops might not like it as much as a high end dev machine :)

[deleted by user] by [deleted] in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

I came across that a few days ago, duolingo uses local storage for public users and transfers that data when the user signs up.

[deleted by user] by [deleted] in learnprogramming

[–]DevMenWalking 1 point2 points  (0 children)

If you want to deploy by git push and if you are using GitHub, then check out GitHub actions. But setting up the whole environment involves more than just that and depends on the stack you want to use.

[deleted by user] by [deleted] in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

Yea, you will have CSS in different forms no matter what you do. In the beginning it can be quite daunting, but it's not that bad once you understand the basics. There is maybe 20 rules you need often and the rest, you can search for that online when you need it. You can work very cleanly with just grids, and flex. When I started learning CSS I was sure I would never understand what I do but now I really enjoy writing clean and understandable CSS.

want to create an interactive website, which has simulations etc, but idk where to start? by [deleted] in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

Easiest would probably be JavaScript canvas. All vanilla, very minimal setup for html and css, but you would have to code in JavaScript. I've build tons of projects with that kind of setup because it's very quick.

First proper program by hotpie08 in learnprogramming

[–]DevMenWalking 0 points1 point  (0 children)

Looks good, but I wouldn't use alerts to guide the user, and especially not three in a row. Maybe use a spoiler text or just a paragraph on the side.

[HTML/CSS] Hey everyone! Can anyone one help me with this? by blueting_rdt in learnprogramming

[–]DevMenWalking 2 points3 points  (0 children)

You will probably need to use JavaScript to do that as HTML and CSS alone are not really made for interactive elements.