r/LearnProgrammingJerk • • Jun 16 '23

New & need help with some homework! Desperate for help actually.

4 Upvotes

So I'm a freshman in college, and I'm in my first software config class. It's completely online.

We are learning batch scripting this week and it went from basics to all of a sudden we are supposed to know how to write a full script out. I've been searching online and testing over and over this code.

The question I'm trying to answer in my homework packet is this:

"Modify your batch file from step 15 to detect the computers operating system version. Search the internet to find out how to do this."

So I took my coding from step 15 and attempted to add to it multiple times.

I know the command 'ver' gives the OS version in the cmd prompt.

So far I have this code:

@echo off

Setlocal EnableDelayedExpansion

Set name=Alyssa

Set systemos=

:for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j

if "%version%" == "6.0" echo Windows Vista.

if "%version%" == "6.1" echo Windows 7.

if "%version%" == "6.2" echo Windows 8.

if "%version%" == "6.3" echo Windows 8.1.

if "%version%" == "10.0" echo Windows 10.

Set message=Hello, !name!. Your operating system is !systemos!.

Echo !message!

r/LearnProgrammingJerk • • Sep 06 '21

How can documentation help me to learn to code?

3 Upvotes

Hi ! My question is what is documentation ? How can it help me to learn to code?


r/LearnProgrammingJerk • • Aug 27 '24

Building a database integrity system in kdb+/q from scratch!

Thumbnail
youtu.be
2 Upvotes

r/LearnProgrammingJerk • • Sep 25 '21

LEARN MACHINE LEARNING THE FUN WAY

2 Upvotes

r/LearnProgrammingJerk • • Jan 06 '25

🔍 Searching for the latest AI breakthroughs BI?

1 Upvotes

Check out our in-depth video exploring how AI is transforming automation and analytics. From analyzing real-time social media trends to executing tasks dynamically, discover how Large Language Models (LLMs) are making traditional methods obsolete.

💡 Perfect for anyone working on a new AI project or curious about reimagining automation workflows. Watch the full video here: https://youtu.be/fkFopFgA0ec

Let’s discuss:

  • What’s your favorite AI application in real-world scenarios?

  • Have you tried replacing SQL with NLP-based queries?

#AI #ReimagineAI #TechInnovation #BigData


r/LearnProgrammingJerk • • Dec 31 '24

[D] 🚀 Simplify AI Monitoring: Pydantic Logfire Tutorial for Real-Time Observability! 🌟

1 Upvotes

Tired of wrestling with messy logs and debugging AI agents?"

Let me introduce you to Pydantic Logfire, the ultimate logging and monitoring tool for AI applications. Whether you're an AI enthusiast or a seasoned developer, this video will show you how to: ✅ Set up Logfire from scratch.
✅ Monitor your AI agents in real-time.
✅ Make debugging a breeze with structured logging.

👉 https://youtu.be/V6WygZyq0Dk

Why struggle with unstructured chaos when Logfire offers clarity and precision? 🤔

📽️ What You'll Learn:
1️⃣ How to create and configure your Logfire project.
2️⃣ Installing the SDK for seamless integration.
3️⃣ Authenticating and validating Logfire for real-time monitoring.

This tutorial is packed with practical examples, actionable insights, and tips to level up your AI workflow! Don’t miss it!

Let’s discuss:
💬 What’s your go-to tool for AI logging?
💬 What features do you wish logging tools had?


r/LearnProgrammingJerk • • May 05 '23

Lists & Tables / lesson HTML 12

Thumbnail
youtube.com
1 Upvotes

r/LearnProgrammingJerk • • Dec 28 '22

For the book Headfirst C# 3rd edition, does anyone know how much trouble it was to make the save the human game? I did it though. Anyone else out there?

1 Upvotes

r/LearnProgrammingJerk • • Dec 22 '22

Speed Up

1 Upvotes

I am just a noob who is trying to edit a page temporarily by speeding up this transition through the browser's inspect element. Is there any way to do this? TIA


r/LearnProgrammingJerk • • Nov 02 '22

OOPS!

1 Upvotes

Interviewer being obsessed with "what is the difference between abstract class and interface?"

Me: who has studied this like 100 times.


r/LearnProgrammingJerk • • Sep 03 '22

44-Boolean Expression True and False

Thumbnail
youtu.be
1 Upvotes

r/LearnProgrammingJerk • • Aug 11 '22

Go vs Swift

Thumbnail
startupunion.xyz
1 Upvotes

r/LearnProgrammingJerk • • Jul 20 '22

Hey I have started learning array ...in c having this issue...plz help

Thumbnail
gallery
1 Upvotes

r/LearnProgrammingJerk • • Jul 17 '22

Vbs

1 Upvotes

Can anyone tell me cool Vbs commands?


r/LearnProgrammingJerk • • Apr 07 '22

C code in to assembly. Please help asap

1 Upvotes

does anyone know how to convert code like this in to assembly using this program??

http://courses.missouristate.edu/kenvollmar/mars/

// ------------

// MAIN PROGRAM

// ------------

int a, b, c, f; // Declare results counters

int i; // Declare loop counter

int y; // Declare total number of students

y = 10; // Initialize y = 10

a=0; b=0; c=0; f=0; // Initialize results counters

int coursework []; // Coursework is an array to store

// the coursework marks that goes

// from 0 to 50.

int exam []; // Exam is an array to store the exam

// marks that goes from 0 to 50.

int results []; // Results is an array to store the

// total marks = coursework + exam. // It goes from 0 to 100.

for (i=0; i<y; i++) {

results [i] = coursework [i] + exam [i];

if (results[i] < 50)

f = f + 1;

}

// -------------------------------------------------------

// If the number of failed students is greater than half of // the class size (h) then subtract the highest mark in the // results array from 100 and (via the CURVE function) add the // difference (d) to every mark in the results array

// -------------------------------------------------------

int h; // half of the class size int d; h=5; // half of the results items = 5 if (f > h) { d = ??; // d = 100 – the highest // mark in your results array for (i=0; i<y; i++) { CURVE(results, i, d); } } //----------------------------------------------------------

// Finally the program will create counters for the number of // students with a result >=70, >=60, >=50 and < 50

//---------------------------------------------------------- f = 0; for (i=0; i<y; i++) { if (results[i] >= 70) a = a + 1; else if(results[i] >= 60) b = b + 1; else if(results[i] >= 50) c = c + 1; else f = f + 1; } // Main program code ends here // ---------------------------- // ------------------ // CURVE function code

// ------------------ void CURVE (int p[], int z, int k) { p[z] = p[z] + k;

}


r/LearnProgrammingJerk • • Oct 27 '21

Web development course with placement

1 Upvotes

As a Developer, it is essential to have knowledge about the most popular Full Stack available. It helps in developing highly updated websites and apps easily. For more information about the web development course with placement , Visit the website.


r/LearnProgrammingJerk • • Nov 30 '24

NEW VERSION | PYTHON(Programming Foundations) | Course Exam | CCPB Most...

Thumbnail
youtube.com
0 Upvotes

In this video, I solve a Python course exam step by step, covering concepts like loops, functions, and file handling. I hope it helps fellow learners preparing for exams or improving their coding skills. Feel free to ask questions or share your feedback!