AI Programming
12.2K subscribers
714 photos
65 videos
245 files
659 links
An artificial intelligence free resource channel for students, professionals, and anyone who wants to learn how to solve problems.

ENGINEERING ๐ŸŽ– PROGRAMMING ๐ŸŽ– TIPS & HACKS

https://youtube.com/c/AIProgramming
CONTACT US ON: @alphadmin12
Download Telegram
Wondering how the new crop of easy-to-make, highly realistic, real-time digital humans will impact the landscape of games, films, social media, and more? To find out, join Epic Games for the next episode of The Pulse, and stick around for the live Q&A.

Next-gen game platforms are capable of handling realistic characters, but until recently, creating them has been extremely challenging. Now, new tools that make believable, animatable digital humans more accessible to creators bring greater opportunities for realism and player immersion.

Canโ€™t make the live session? Sign up anyway and theyโ€™ll send you a link to the recording.

Wednesday, March 17
12 PM PDT | 3 PM EDT | 7 PM GMT

Register Here

https://ue.unrealengine.com/thepulsedigitalhumansep5.html?utm_source=BeforesandAfters&utm_campaign=an*Internal_pr*UnrealEngine_ct*Performance_pl*Eblast_co*&utm_id=&utm_subcampaign=&utm_subid=&utm_site=&utm_term=&utm_medium=&utm_creative=PulseDH&
โ€”โ€”โ€”โ€”โ€”โ€”
AI Programming @freecodecs
C Sharp Text File Manipulator
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Get the full source code below
https://github.com/addispupi/C-Sharp
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Have a Lit Coding ๐Ÿ”ฅ
AI Programming @freecodecs
C++ Graphics 4 Exercises

Get the full source code below :

https://github.com/addispupi/Graphics-Cplusplus.git
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Have a Lit Coding ๐Ÿ”ฅ
AI Programming @freecodecs
C++ Graphics - Filler Exercise

Get the full source code below :

https://github.com/addispupi/Graphics-Cplusplus.git
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Have a Lit Coding ๐Ÿ”ฅ
AI Programming @freecodecs
C# Employee Registration System - MS-SQL Integrated
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Get the full source code below
https://github.com/addispupi/EmployeeRegistration.git
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Have a Lit Coding ๐Ÿ”ฅ
AI Programming @freecodecs
GET 60 Days Skillshare Premium for FREE! April 2021 Method
โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€” โ€”
Step 1: Go to This Website : https://10minutesemail.net

and if you see a Temporary Edu Mail then follow the next steps, if you donโ€™t see an email with .edu then simply click on the Delete๐Ÿงบ icon until you get a temp .edu extension.

Email should be something like this @edu.pl

Step
2: Go to https://www.skillshare.com/schoolverification and sign up with that temp email, verify the email account.

๐Ÿ”ฅ After verification Enjoy ๐Ÿ”ฅ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
AI Programming @freecodecs
5 DAYS LEFT

We are thrilled to announce the launch of CyberTalents Security Scholarship 2021๐ŸŽ‰ An outstanding initiative brought by Trend Micro for students and fresh graduates in Arab and African countries๐ŸŽ“

Know more details and register now: https://buff.ly/3dCqrJG
Google today announced the launch of 40,000 new startups developer scholarships in Africa.

Google will offer the scholarships โ€” created in partnership with tech talent companies Pluralsight and Andela โ€” to developers spread across mobile and cloud development tracks.

Google will give full scholarships (with certifications in Android and cloud development) to the top 1,000 students (beginner and intermediate developers) at the end of the training.

#Ethiopia: Applications are now open for Class 6! Apply ๐Ÿ‘‡

https://startup.google.com/accelerator/africa/#accelerator-programs
Object Oriented Programming(Ex-1)
1๏ธโƒฃ Create a program by using java or any other OOP platform which calculates age.
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
The program should include the following:
โญ•๏ธ โ€œMainโ€ & โ€œDateโ€ classes
โญ•๏ธ accepts Name & dob(date, month, year)
โญ•๏ธ accepts CurrentDate(date, month, year)
โญ•๏ธ and โ€œCalcAgeโ€ function

๐Ÿ“ŒFinally to give a teaser of what the user interaction and display will looks:

Enter Name: Student
Enter Date of Birth:
Date - 20
Month - 8
Year - 1992
โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Enter Current Date:
Date - 28
Month - 10
Year - 2019
โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Studentโ€™s Age is: 27 Y, 2 M, 8 D.
โ€”โ€”โ€”โ€”โ€”โ€”โ€”
N.B. In the above abbreviation Y, M, D is Years, Months & Dates respectively.

As Always:

Have a Lit๐Ÿ”ฅFiguring-Out Folks ๐Ÿ™Œ๐Ÿฝ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming
@freecodecs
Answer / Part 1 Explaining - OOP(Ex-1)
Understanding the scenario
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
So before we start the coding process we must understand the problem, how Gregorianโ€™s and Ethiopianโ€™s Calendar ๐Ÿ“† work, & how age calculating could be done.

โ€ขOkey .... yโ€™all just subtract date of birth from current date๐Ÿ˜‰ easy right !

โ“But, how it could be done, mean do we subtract all or each of values such as dates, months & years separately
โ“What if month of (date of birth) greater than current month / it becomes negative/
โ“Is each of years months or each of months days differs

YES, YES ....... Yes

๐Ÿ“Œ This is why we need logic and cases to solve low level problems upward to higher

>>start:

๐Ÿ“ฃ </ Gregorian Calendar >
โ€ขEach year has 12 months
โ€ขEach months has different dates the highest is 31 and the lowest is 28
โ€ขLeap year is February which is 2nd month 29 days and on non-leap year 28 days

๐Ÿ“ฃ </ Ethiopian Calendar >
โ€ขEach year has 13 months
โ€ขEach 12 months has 30 days and the last one has 5 or 6 days
โ€ขLeap year is Pagume/แŒทแŒแˆœแŠ• which is 13th month 6 days & on non-leap year 5 days
โ€”โ€”โ€”โ€”โ€”โ€”
๐Ÿ“† How to calculate Leap Years ๐Ÿ“†
Pseudo Code (Gregorian)
If (year%4 = 0)
February = 29
else
February = 28
โ€ขWhich means if the year is divided by 4 without the remainder then February month has 29 days and the reverse/else which is false means it has 28 days.

Pseudo Code (Ethiopian)
If (year%4 = 3)
Pagume = 6
else
Pagume = 5
โ€ขIn the Ethiopian calendar leap is different only the reminder which the year divided by 4 is becomes only 3 then itโ€™s leap year otherwise itโ€™s not-leap year.
โ€”โ€”โ€”โ€”โ€”โ€”
Note: declare months[] array with the following variables for months days in Gregorian calendar.

months[] ={31,February,31,30,31,30,31,31,30,31,30,31}

NB. February is a variable declared previously on leap year or not-leap year
โ€”โ€”โ€”โ€”โ€”โ€”
There are two cases to deal with to calculate the age from date of birth (DOB)
โญ•๏ธ Case 1: subtracting without carry forwarded
Ex: Current: 2019.10.28
DOP: 1992.08.20
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Age : 27 years, 2 months, 8 days

โญ•๏ธ Case 1:
When we subtract from current date with carry forwarded from month or year
Ex: Current: 2019.10.28
DOP: 1992.12.30
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Age : 26, 8, 29

๐Ÿ“ŒSo to point the problem in this ๐Ÿ‘†๐Ÿฝ example we cannot subtract 30 from 28 it will be come -2 this means there is no date called -2 but we can lend from the month, if we lend from month we must know how many days the month contains so we must check from the array we declared previously. But for the month we can borrow 12 or 13 months from year.

Pseudo Code (Case 1)
If (birthDate > curDate)
curMonth = curMonth - 1
curDate = curDate + months[curMonth]
If (birthMonth > curMonth)
curYear = curYear - 1
curMonth = curMonth +12

Pseudo Code (Case 2)
calcDate = curDate - birthDate
calcMonth = curMonth - birthMonth
calcYear = curYear - birthYear

Age Calculator Exercise Source Codes
Gregorian : https://t.me/freecodecs/531
Ethiopian : https://t.me/freecodecs/532

As Always:
Have a Lit ๐Ÿ”ฅStudy Folks ๐Ÿ™Œ๐Ÿฝ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming @freecodecs
๐Ÿ‘2
แŠญแˆญแˆตแ‰ถแˆต แ‰ฐแŠ•แˆตแŠ  แŠฅแˆ™แ‰ณแŠ• แ‰ แ‹แ‰ขแ‹ญ แŠƒแ‹ญแˆ แ‹ˆแˆฅแˆแŒฃแŠ•แค
แŠ แˆ แˆฎ แˆˆแˆฐแ‹ญแŒฃแŠ• แŠ แŒแŠ แ‹ž แˆˆแŠ แ‹ณแˆแค
แˆฐแˆ‹แˆ แŠฅแˆแ‹ญแŠฅแ‹œแˆฐแค
แŠฎแА แแˆตแˆ แ‹ˆแˆฐแˆ‹แˆแกแก

แˆˆแˆ˜แˆ‹แ‹ แ‹จแŠญแˆญแˆตแ‰ตแŠ“ แŠฅแˆแАแ‰ต แ‰ฐแŠจแ‰ณแ‹ฎแ‰ฝ แŠฅแŠ•แŠณแŠ• แˆˆแ‰ฅแˆญแˆ€แА แ‰ตแŠ•แˆณแŠค แ‰ แˆฐแˆ‹แˆ แŠ แ‹ฐแˆจแˆณแ‰ฝแˆ!
____________________

Photo ยฉ Roots Ethiopia
AI Programming @freecodecs