AI Programming
11.2K subscribers
594 photos
42 videos
245 files
568 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
We congratulate Prime Minister Abiy Ahmed(PhD)๐Ÿ‡ช๐Ÿ‡น for wining The 2019 Nobel Peace Prize. He was awarded the prize for his efforts to "achieve peace and international cooperation".
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
AI Programming @freecodecs
Game Development แˆแŠ• แŠฅแŠ•แ‹ฐแˆšแˆ˜แˆตแˆ แ‰ฃแˆˆแˆแ‹ แŠ แ‹ญแ‰ฐแŠ“แˆ

แ‰ แ‰€แŒฃแ‹ญ แ‹ฐแˆž Web DevelopmentแŠ• แŠฅแŠ“แ‹ซแˆˆแŠ•
(๐Ÿ‘‰Part 1๐Ÿ‘ˆ)
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
แดกแด‡ส™ แด…แด‡แด แด‡สŸแดแด˜แดแด‡ษดแด› ษชs แด›สœแด‡ แดกแดส€แด‹ ษชษดแด แดสŸแด แด‡แด… ษชษด แด…แด‡แด แด‡สŸแดแด˜ษชษดษข แด€ แดกแด‡ส™ sษชแด›แด‡ Fแดส€ แด›สœแด‡ ษชษดแด›แด‡ส€ษดแด‡แด› แดส€ แด€ษด ษชษดแด›ส€แด€ษดแด‡แด›. แดกแด‡ส™ แด…แด‡แด แด‡สŸแดแด˜แดแด‡ษดแด› แด„แด€ษด ส€แด€ษดษขแด‡ Fส€แดแด แด…แด‡แด แด‡สŸแดแด˜ษชษดษข แด€ sษชแดแด˜สŸแด‡ sษชษดษขสŸแด‡ sแด›แด€แด›ษชแด„ แด˜แด€ษขแด‡ แดF แด˜สŸแด€ษชษด แด›แด‡xแด› แด›แด แด„แดแดแด˜สŸแด‡x แดกแด‡ส™-ส™แด€sแด‡แด… ษชษดแด›แด‡ส€ษดแด‡แด› แด€แด˜แด˜สŸษชแด„แด€แด›ษชแดษดs.
_____________________

โญ•๏ธWeb Development แŠจแˆ˜แŒ€แˆ˜แˆซแ‰ฝแŠ• แ‰ แŠแ‰ต แˆŸแˆŸแˆ‹แ‰ต แ‹ซแˆˆแ‰ฅแŠ• แАแŒˆแˆฎแ‰ฝโ€ผ๏ธ

โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
๐Ÿ—œTools & Software ๐Ÿ’ฝ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
โœ” Text Editor:
- VScode,Atom,Sublime Text
โœ”Good Browser:
- Chrome Or Firefox
โœ”Image Editing:
- Adobe Photoshop
โœ”Deployment Tools:
- FTP Client, SSH tool
โœ”Cloud Storage:
- Drobox, Google Drive
โœ” Compiling Server (Apache):
- LAMPs (for Linux)
- WAMPs/XAMPPs (for Windows)
- MAMPs (for macOS)
- DAMPs (for Drawin)
- SAMPs (for Solaris)
- FAMPs (for FreeBSD)
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
๐Ÿ’ป HTML & CSS โŒจ๏ธ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
โœ” Learn before ANYTHING else
โœ” Building blocks of the Web
โœ” Every website uses both
โœ” Easy & quick to learn
โœ” Learn the core Fundamentals & Basics of Flex or Grid
โœ” Responsive layouts are very important

N.B: Apache is used to compile as a server for the following standards: PHP, MySQL, Perl, Python.

โ€ผ๏ธแˆ›แˆณแˆฐแ‰ขแ‹ซ แˆแˆ‰แˆ Tools & Software แŠฅแ‹šแˆ… แ‹ญแŒˆแŠ›แˆ‰ โ€ผ๏ธ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming
@freecodecs
๐Ÿ‘1
Design Thinking Workshop (1 Day)
โ€”โ€”โ€”โ€”โ€”โ€”
Come join this for FREE. If you are a developer, entrepreneur or somebody with lots of ideas... this is for YOU.
Tomorrow from 9:00AM to 3:00PM!
Frank will also be available to provide support between 4:00PM and 5:30PM for Android developers! Followed by a formal introduction session for those interested in getting started with Kotlin. Enjoy๐Ÿ˜
โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming @freecodecs
Web development (part 2)
-----------------------------------------

Basic Vanilla JavaScript ๐Ÿ–ฅ
------------------------------------------
โœ”๏ธ Basic JS[NO FRAMEWORKS!]
โœ”๏ธ Data types
- Function
- Conditional
- Loops
- Operators, etc..
โœ”๏ธDOM manipulation & events[NO JQUERY!]
โœ”๏ธ Ajax/Fetch API / JSON

-----------------------------------------
Deploying A Basic Website๐ŸŒ
-----------------------------------------
โœ”๏ธ Shared
- hosting[InMotion,Hostgator, etc]
โœ”๏ธLearn the basic of
- cPanel[Creating email account, FTP, etc]
โœ”๏ธUplode a site with FTP[FileZiila]
โœ”๏ธRegister a domain name and learn about DNS/NAme Servers

-----------------------------------------
Web Designer/ Basic Front End Dev
-----------------------------------------

โœ”๏ธ Build simple website & UIs
โœ”๏ธ Some dynamic UI with JavaScript
โœ”๏ธ Choose to be freelancer or a very entry level postion

โš”Where To Next? [Depends]๐Ÿ’ฃ
-----------------------------------------
โœ”๏ธ HTML/ CSS Frameworks
- Bootstrap,Materialize. etc
โœ”๏ธ Frontend JavaScript
- Framework React, Angular, etc
โœ”๏ธ Server Side Language Technology
- NOde.js ,Python, PHP etc
โœ”๏ธ Database
- MongoDB,MySQL, etc

โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming @freecodecs
โค1
Employee.java
1.9 KB
OOP Overview (Constructors)
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
In the following attached simple project java file called Employee we try to cover as much deep as possible about class, objects, functions, methods, assigning & initializing parameters, instantiate objects, accepting input from user and displaying (u can call it OOP overview buffae/แ‰กแŒ) but our focus is on the following:

โญ•๏ธ Parameterized Constructor
โญ•๏ธ Non-Parameterized Constructor
โญ•๏ธ Overriding Constructors
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming
@freecodecs
Have a Lit๐Ÿ”ฅPractice Folks ๐Ÿ™Œ๐Ÿฝ
chrome_installer 74 @freecodecs.exe
53.2 MB
ษขแดแดษขสŸแด‡ แด„สœส€แดแดแด‡ ส™ส€แดแดกsแด‡ส€ ษชs แด€ษด แดแด˜แด‡ษด sแดแดœส€แด„แด‡ แด˜ส€แดษขส€แด€แด ๊œฐแดส€ แด€แด„แด„แด‡ssษชษดษข แด›สœแด‡ แดกแดส€สŸแด… แดกษชแด…แด‡ แดกแด‡ส™ แด€ษดแด… ส€แดœษดษดษชษดษข แดกแด‡ส™-ส™แด€sแด‡แด… แด€แด˜แด˜สŸษชแด„แด€แด›ษชแดษดs.

แˆˆ #Programmer specially แˆˆ #web_developer แŠ แˆชแ Browser แАแ‹
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
AI Programming pinned ยซ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โ€ฆยป
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

We will Post the Program Coded in JAVA
language today! Stay Tuned ๐Ÿ˜ณ

As Always:

Have a Lit ๐Ÿ”ฅStudy Folks ๐Ÿ™Œ๐Ÿฝ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming
@freecodecs
Main.java
2.3 KB
OOP Ex-1a (Java Code)
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
The attached java file is age calculator in Gregorian Calendar also the answer for object oriented exercise-1 which we explained the logic earlier.

Next : We will post Ethiopian Calendar Age Calculator. Stay Tuned ๐Ÿ˜ณ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Lit๐Ÿ”ฅPractice Folks ๐Ÿ™Œ๐Ÿฝ
Main_G.java
2.8 KB
OOP Ex-1b (Java Code)
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
The attached java file is age calculator in Ethiopian Calendar.

N.B: In this file we included some validation on current date, which validates if DOB(date of birth) year is greater than the current date year

i.e. DOB Year 2020
Current Year 2019


- Current Date is incorrect ! or
Student will born in the future?

N.B: And also on texts, such as singular to plural date numbers on outputs by adding โ€˜sโ€™ letter.

i.e. If date is grater than 1 it will correct the word โ€œday, month, yearโ€ to โ€œdays, months, yearsโ€ respectively

- 20 years, 1 month, 3 days.
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
Join The Underground Coding Movement!
AI Programming @freecodecs
Have a Lit๐Ÿ”ฅPractice Folks ๐Ÿ™Œ๐Ÿฝ
๐Ÿ‘‰ Thinking Twice Code Once! ๐Ÿ˜
Java Compiler for Android
๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡

https://t.me/freecodecs/202

Cpp Compiler for Android
๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡
https://t.me/freecodecs/201

W3school offline for Android
๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡
https://t.me/freecodecs/95
แŠฅแŠ•แŠณแŠ• 1 แˆบ 494แŠ›แ‹ แ‹จแˆ˜แ‹แˆŠแ‹ต แ‰ แ‹“แˆ แ‰ แˆฐแˆ‹แˆ แŠ แ‹ฐแˆจแˆณแ‰ฝแˆแกแก แ‰ แ‹“แˆ‰ แ‹จแˆฐแˆ‹แˆ แŠฅแŠ“ แ‹จแˆ˜แˆจแ‹ณแ‹ณแ‰ต แ‰ แ‹“แˆ แŠฅแŠ•แ‹ฒแˆ†แŠ•แˆแŠ• แŠฅแŠ•แˆ˜แŠ›แˆˆแŠ• ๐Ÿ•Œ แˆ˜แˆแŠซแˆ แ‰ แ‹“แˆ ๐Ÿ•Œ
โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”
AI Programming @freecodecs
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿ”† แ•ผแชแ—ฏ แŽขแช แ‘•แ•ผแ—ฉแ‘Žแ€แ—ด แ‘ญแ–‡แชแ‘•แ—ดแ”‘แ”‘แชแ–‡ แ‘Žแ—ฉแ—ฐแ—ด แžแ†แฆแ—ด(แ‘•แชแ–‡แ—ด แ†3 แŽขแช แ‘•แชแ–‡แ—ด แ‘•แชแ–‡แ—ด แ†7) ๐Ÿ”†
Pc แˆตแ‰ตแŒˆแ‹™ แŠฅแŠ•แ‹ณแ‰ตแ‰ แˆ‰๐Ÿ˜œ
๐Ÿ‘‰ Size=4 mb
๐Ÿ‘‰ time= 1 minute
cpu-z_1.80-@freecodecs.exe
1.6 MB
แ‹จ pc information แŠฅแ‹ซแŠ•แ‹ณแŠ•แ‹ฑแŠ• แ‹จแˆšแ‹ซแˆณแ‹ญ like #cpu #ram ...
AI Programming pinned ยซDB - Oracle Exercise 1 :Answers โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” โ€ขAns Ex 1 SELECT * FROM JOBS WHERE JOB_TITLE LIKE โ€˜%A_%โ€™; โ€ขAns Ex 2 SELECT DISTINCT MIN_SALARY, MAX_SALARY FROM JOBS; โ€ขAns Ex 3 SELECT DEPARTMENT_NAME FROM DEPARTMENTS WHERE LOCATION_ID = 1700; โ€ขAns Ex 4โ€ฆยป