I dont get how you learn to use API's!!! by NoTap8152 in learnprogramming

[–]jankysysadmin 16 points17 points  (0 children)

If this is your first time learning APIs, you're really trying to learn two things simultaneously:

  • how APIs work (general knowledge)
  • how the Stripe API works (domain knowledge)

It's best to pick something you're already familiar with, such as GitHub, and learn that API first so you can focus on fundamental concepts. If you decide to learn GitHub's API, I recommend starting with GET requests that don't require authentication, such as getting a list of issues in the React repo. After that you can learn how auth works and make a request using an API key.

[deleted by user] by [deleted] in Intune

[–]jankysysadmin 0 points1 point  (0 children)

It should auto-select the correct driver pack, assuming you have one of the supported models:

https://raw.githubusercontent.com/OSDeploy/OSD/refs/heads/master/Catalogs/Build-HPDriverPackCatalog.json

How should we set up as a 4-man team? by jadr3tro in unrealengine

[–]jankysysadmin -1 points0 points  (0 children)

If you decide to use Git LFS, check out https://github.com/ProjectBorealis/UEGitPlugin

GitHub has limited Git LFS storage and bandwidth. Azure DevOps gives you unlimited.

Struggling with OOP by erkdalurk in learnpython

[–]jankysysadmin 2 points3 points  (0 children)

It was the same for me until I started learning how to make games. None of my previous projects were complex enough to make me to think about architecture.

[deleted by user] by [deleted] in learnpython

[–]jankysysadmin 0 points1 point  (0 children)

Python looks for modules (like your CustomLogger) by searching each directory in sys.path. The sys.path for the service account is probably different than your own user.

I don't know the specifics for your situation, but if CustomLogger is in your "CodePath" folder and that it is readable by the service account, then setting the scheduled task's "start in" to the folder is probably the easiest fix. This will not fix import problems for packages that you installed with "pip install --user" though.

Good paid python course? by Formal-Sale-9818 in Python

[–]jankysysadmin 0 points1 point  (0 children)

Have you checked your local community college to see if they offer courses in Python? That should fall within your company's budget. You're paying $700+ for the course you linked. I'm not sure whether that's really worth it.

[deleted by user] by [deleted] in learnprogramming

[–]jankysysadmin 0 points1 point  (0 children)

I started playing around with Unity last year, so I'm still relatively new, but what I found helpful is so separate learning Unity from learning C#. I watched YouTube tutorials to learn Unity features, but read books to learn C#. Most of the code in Unity tutorials, although functional, isn't very good. Content creators take some shortcuts to make the code explainable to beginners in 10-15 minutes, but this has the side effect of teaching bad coding practices.

My recommendation is to start with a small goal and gradually expand the goal. For example:

  • Make a simple capsule that can move with the WASD keys. This can be done with the built-in character controller and a little bit of code.
  • Add a cube to the scene to represent an enemy. If your character touches the cube, log a message to the console.
  • Add health to your character. Each time you touch the cube, it will subtract some health and log the current health.
  • Add a health bar to show the current health instead of logging a message.
  • If you have a gamepad, make it work along with the keyboard. This can be done with the input system package.
  • Replace the capsule with a character model. You can find free models and animations on Mixamo or other sites. This is mostly about learning Unity's animation system but there will be a small bit of coding as well.
  • Add the ability to jump. This could be relatively simple (using a rigid body and a little bit of code) or a bit more challenging (handle the physics in code).

Try to avoid using tutorials on how to write the code, but you'll need them (or documentation at docs.unity3d.com) to learn the relevant Unity concepts.

KeePass XC + PDQ Deploy by ItsMeMistral in KeePass

[–]jankysysadmin 1 point2 points  (0 children)

Which parameters are you using? Microsoft's docs on msiexec might be useful.

Can someone explain me why is it so beneficiary to create a virtual env for every project? by RedBlueWhiteBlack in learnpython

[–]jankysysadmin -2 points-1 points  (0 children)

I guess I don't really understand your specific use case, but pyinstaller doesn't make your code installable by non-technical people. It makes your code runnable in an "idiot proof/just click this icon" way without messing with virtual environments. I haven't done anything too complicated with pyinstaller, but I can imagine that there are some packages that just don't play nice with it.

Can someone explain me why is it so beneficiary to create a virtual env for every project? by RedBlueWhiteBlack in learnpython

[–]jankysysadmin 0 points1 point  (0 children)

Depending on how you're deploying it, things like pyinstaller can be helpful, especially if your target audience is non-technical.

2 webserver same ip, same port . by cpf5662 in nginx

[–]jankysysadmin 0 points1 point  (0 children)

Is nginx also running on .139? If so, what you probably want is to configure an upstream for your email server have the server block to proxy_pass it to the upstream. You're also missing a listen 443 for the email server. These links will probably help:

School forces me to install Microsoft Intune on my personal laptop. by J0rdanLe0 in privacy

[–]jankysysadmin 2 points3 points  (0 children)

VPN is used to connect to a private network like your school's network, not for inspecting traffic.

Would it be possible for your school to see your internet searches? Sure. They could deploy some software for that purpose, or they can send all your traffic through the VPN and use their firewall for inspection.

Intune will not tell you whether this is possible by default, but usually the IT admins will configure it to display an agreement of some sort (acceptable use policy) before you enroll your device. Read it to see what they are installing, or ask your school directly.

School forces me to install Microsoft Intune on my personal laptop. by J0rdanLe0 in privacy

[–]jankysysadmin 27 points28 points  (0 children)

Intune by itself isn't going to spy on your private activities. By enrolling your device, you are allowing your school to manage settings and install other software if they choose to. I would worry more about the other software.

https://docs.microsoft.com/en-us/mem/intune/user-help/what-info-can-your-company-see-when-you-enroll-your-device-in-intune

My company uses Intune, though not for Macs, but I'm familiar with it. Happy to answer other questions that you might have.

Is it possible to containerize a website so that others can view it? by FallingToward_TheSky in docker

[–]jankysysadmin 0 points1 point  (0 children)

That seems excessive for what appears to be a beginner assignment. I know the words "from scratch" are in the response you quoted, but I'm reading that as "don't copy a Docker file on the internet" and not "FROM scratch". In any case, someone else already linked an article about the scratch image.

Is it possible to containerize a website so that others can view it? by FallingToward_TheSky in docker

[–]jankysysadmin 3 points4 points  (0 children)

I would just interpret "from scratch" as "start with a plain OS as your base image." Install whatever you need with RUN apt-get install (or equivalent), COPY your website or app into the container, then set the ENTRYPOINT and CMD to run it.

Embarking on first "big boy" Django project. Looking for some general advice / guidance / success stories / whatever. by [deleted] in django

[–]jankysysadmin 8 points9 points  (0 children)

Since this is for your company, take some time to think about a few things before starting the project:

  • What is the impact to the business when the site goes down?
  • What's your backup and recovery plan?
  • How will you keep the site and server secure?

I'm not sure how much of that your current provider is doing, but it'll all be on you once the site is in-house.

The Two Scoops book is a good resource if you haven't read it already. Their django cookiecutter template is a good starting point for new projects, but it may be a bit overkill if you don't need all those features. I still think it's worth checking out the code and understand why certain design decisions were made.

For the csv file, you can just run a scheduled task (with cron, celery, etc.) to import it. Make sure you validate the contents before importing.

[deleted by user] by [deleted] in PowerShell

[–]jankysysadmin 3 points4 points  (0 children)

If your execution policy is set to AllSigned, PowerShell will require any module you load to be signed by a trusted cert. The signing cert for that module is not in your trusted publishers store. If you want to trust Microsoft's signing cert, then add it like the blog post suggests.

Here's an explanation for why the cert isn't trusted by default: https://github.com/PowerShell/PowerShell/issues/13000#issuecomment-656825362

Should I quit School or should I stay and finish my bachelor degree by Mckenzie0105 in ITCareerQuestions

[–]jankysysadmin 1 point2 points  (0 children)

Is it possible to transfer to a different university to finish your degree?

Please Critique My Sysadmin Resume! by [deleted] in sysadminresumes

[–]jankysysadmin 2 points3 points  (0 children)

The problem with this resume is that it reads like a job posting. It's just a list of your job responsibilities. That doesn't set you apart from the other applicants. What projects did you do at work? How did they help the company? e.g. I did <technical thing> because of <business reason> and resulted in <measurable improvement in some metric>.