Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

Docker : Virtual Machines – மெய்நிகர் இயந்திரங்கள்

By: Hariharan
25 September 2024 at 16:54

செப் 25, 2024

ஒரு கணிணியில் ஒரு வலைப்பயன்பாடினை இயங்குவதற்கு 4 பயன்பாடுகள் பயன்படுத்த வேண்டுமெனில் அந்த பயன்பாடு இயக்கத்திற்காக சார்ந்திருக்கும் நுண்செயலி(CPU), நினைவகம்(RAM), சேமிப்பக (Storage) போன்ற வன்பொருள் தேவைகளை பூர்த்தி செய்ய வேண்டும்.

இதே தேவைகளை சில சமயங்களில் பயனர்களின் (Users) எண்ணிக்கைக்கு ஏற்றவாறும் பயன்பாட்டின் அளவுகளுக்கு (Usage) ஏற்றவாறு நாம் அதிகப்படுத்த (Scaling) வேண்டியுமுள்ளது.

ஓரே கணிணியில் அதிகளவு பயனர்களின் அணுகல்களை அனுமதித்தால் அதிகபயன்பாட்டின் காரணமாக வலைதளங்கள் முடங்கும் அபாயம் உள்ளது.இதனை தவிர்க்க தனித்தனி இயந்திரங்களை பயன்படுத்தும் போது தேவைக்கு அதிகமாக வன்பொருள் மீதமிருக்கும் அது முழுவதுமாக பயன்படுத்தப் படாமலும் இருக்கும் (proper utilisation).

எடுத்துக்காட்டாக கீழ்வரும் 4 பயன்பாடுகளை

  • அப்பாச்சி வலை சேவையகம்
  • கிராப் கிகுவெல் எந்திரம்
  • போஸ்டுகிறீஸ் தரவுதள அமைப்பு
  • எக்ஸ்பிரஸ் வலைச் சேவையகம்

ஒரு கணிணியில் இயக்குவற்கு 4 GB (RAM), 2 Core (CPU) மற்றும் 250 GB (Storage) தேவைப்படும் என வைத்துக்கொள்வோம்.

நம்மிடம் 16 GB (RAM), 16 Core (CPU) மற்றும் 1000 GB கொண்ட கணினி உள்ளது அதில் இரண்டு நிறுவல்களை அமைத்து சோதணை செய்து பார்க்க மெய்நிகர் இயந்திரங்கள் கருத்துரு வழிவகை செய்கிறது.

ஆகவே ஒரு கணினியில் வன்பொருள் அமைப்புகளை தேவைகளைப் பொறுத்து ஒரு கணினியை பல கணினிகளாக மாற்றி சோதனை செய்து பயன்படுத்தும்போது அந்த கணிணிகளை மெய்நிகர் இயந்திரங்கள் எனப் பொருள் கொள்ளலாம்.

ML Day 1: கற்கும் இயந்திரவியல் முதல் நாள் வகுப்பு

By: Hariharan
14 September 2024 at 17:39

பைத்தான் வகுப்பு முடிந்ததும் 7-8 நேரத்தை பிற நல்ல முறையில் பயன்படுத்த வேண்டும் என்ற ஆவல் இருந்தது.

அப்போது பைத்தான் வகுப்பு குழுவிலிருந்து ஒரு செய்தி வந்தது. கற்கும் இயந்திரவியலில் ஒரு அறிமுக 3 நாள் வகுப்பு தினமும் 8:30 – 9:30 என்ற அறிவிப்புதான் அது.

சரி இந்த முறையாவது அனைத்து வகுப்புகளையும் நேரலை அல்லாமல் நேரடியாக இணையவேண்டும் என்ற மன உறுதியுடன் வகுப்புகளில் இணைந்து வகுப்புகளை கவனித்தேன்.

இப்போது வகுப்பில் இருந்து கற்றவற்றை எளிதில் விளங்கும் கேள்வி பதிலாக தொகுத்து கூறும் முயற்சியில் இறங்கியுள்ளேன்.

  1. கற்கும் இயந்திரவியல் என்பது என்ன ?
  2. கற்கும் இயந்திரவியலை புரிந்து கொள்ள நமக்கு அடிப்படையாக தேவைப்படுபவை எவை?

மன்னிக்கவும்! .

இப்பதிவு இன்னும் முழுமையாக எழுதி முடிக்கப்படவில்லை.

Closing notes on 2 months online python course

8 September 2024 at 00:06

The past 2 months went with weekly 3 python classes in Tamil, from Kaniyam Foundation

We got around 3500 participants in 3 whatsapp groups. Initial days went with some 1000+ students.

As the classes are in Tamil, live streamed, many participants started to learn easily.

We asked to learn, take notes, write blog daily. Many of them started to write. You can see them all here – https://blogs.kaniyam.cloudns.nz/

I hope minimum 20 students learned python very well.

The project demo days at final weeks proved that within 2 months, anyone can learn python programming and do good projects. All we need is dedicated learning and practicing.

I thank Syed Jafer, who trained us in a easy way. Thanks to all participants for great enthusiasm and hard work on learning.

I got opportunity to handle few classes and few QA sessions. Enjoyed every discussions with the team. Happy to see the progress and read all your blog posts daily. Continue the learning and writing. It is a life long process.

Special Thanks to my ilugc friend Asokan. He is a trainer for 20+ years. He taught python around 2005 in our Chennai Linux Users Group meetings. Happy to learn again from him, on his special training sessions.

On our discussions, he explained how to train python for beginners. Learned on he importance of more good examples, how to explain basics etc.

We all wondered on various methods to solve the fizz buzz problem and the beauty of functional programming.

Thanks for Asokan for mentoring us and TalentSprint.com for providing Zoom for the classes.

The feedback session was interesting. Captured the notes here on the things to improve on the next classes.

Feedback from participants –

  • go little slow
  • more basics and examples
  • first week , explain programming basics for beginners
  • teach flow charting methods for basics.
  • try teaching scratch
  • weekend sessions batch
  • make more conversations by participants
  • make sub groups
  • get cheerleaders within the team to make the classes interactive
  • more promotion needed
  • give better examples
  • more QA sessions are required
  • each one should talk
  • showing face in video can help to get some personal connections.
  • run mini hackathons
  • make more interactions and connections between the participants
  • ask to write blogs daily
  • encourage to give talks in class and other communities

Few more learning’s

  • Don’t create whatsapp group for communications. It has 1024 members limit. Having multiple groups is a headache.
  • Telegram is fine for now. Try to explore mailing list too.
  • Mute the groups, if required, to avoid “hi,hello,good morning” messages.
  • Teach how to join for mailing list like chennaipy, kanchilug and how to ask in forums like https://forums.tamillinuxcommunity.org/
  • Teach how to create a free blog in dev.to or wordpress.com
  • Don’t spend much time on explaining all the things in the language. In 5th or 6th class, they have to write code for a small project. Explain things as solutions for the project ideas or problem statements.
  • Insist on using names when calling people, always. By habit, people will call as sir/madam. avoid that on any technical discussions. We all are equal.
  • Zoom is costly. Even though we invest time on training and money for zoom, only around 50 people will complete the training. Check for other platforms like jitsi or google meet too.

Will try to implement these in our upcoming classes.

If you are interested in teaching any open source technology in tamil, write to us at KaniyamFoundation@gmail.com It can be some 30 min talk or few months trainings.

Thanks for all people who are spreading the knowledge openly. you are the backbone of the life.

Links

All the training videos are here – https://www.youtube.com/watch?v=lQquVptFreE&list=PLiutOxBS1Mizte0ehfMrRKHSIQcCImwHL

Telegram Group – https://t.me/parottasalna

My slides in introduction to python – https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

350 python tips – https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

Syed’s website – https://parottasalna.com/

All our blog posts – https://blogs.kaniyam.cloudns.nz

Closing notes on 2 months online python course

8 September 2024 at 00:06

The past 2 months went with weekly 3 python classes in Tamil, from Kaniyam Foundation

We got around 3500 participants in 3 whatsapp groups. Initial days went with some 1000+ students.

As the classes are in Tamil, live streamed, many participants started to learn easily.

We asked to learn, take notes, write blog daily. Many of them started to write. You can see them all here – https://blogs.kaniyam.cloudns.nz/

I hope minimum 20 students learned python very well.

The project demo days at final weeks proved that within 2 months, anyone can learn python programming and do good projects. All we need is dedicated learning and practicing.

I thank Syed Jafer, who trained us in a easy way. Thanks to all participants for great enthusiasm and hard work on learning.

I got opportunity to handle few classes and few QA sessions. Enjoyed every discussions with the team. Happy to see the progress and read all your blog posts daily. Continue the learning and writing. It is a life long process.

Special Thanks to my ilugc friend Asokan. He is a trainer for 20+ years. He taught python around 2005 in our Chennai Linux Users Group meetings. Happy to learn again from him, on his special training sessions.

On our discussions, he explained how to train python for beginners. Learned on he importance of more good examples, how to explain basics etc.

We all wondered on various methods to solve the fizz buzz problem and the beauty of functional programming.

Thanks for Asokan for mentoring us and TalentSprint.com for providing Zoom for the classes.

The feedback session was interesting. Captured the notes here on the things to improve on the next classes.

Feedback from participants –

  • go little slow
  • more basics and examples
  • first week , explain programming basics for beginners
  • teach flow charting methods for basics.
  • try teaching scratch
  • weekend sessions batch
  • make more conversations by participants
  • make sub groups
  • get cheerleaders within the team to make the classes interactive
  • more promotion needed
  • give better examples
  • more QA sessions are required
  • each one should talk
  • showing face in video can help to get some personal connections.
  • run mini hackathons
  • make more interactions and connections between the participants
  • ask to write blogs daily
  • encourage to give talks in class and other communities

Few more learning’s

  • Don’t create whatsapp group for communications. It has 1024 members limit. Having multiple groups is a headache.
  • Telegram is fine for now. Try to explore mailing list too.
  • Mute the groups, if required, to avoid “hi,hello,good morning” messages.
  • Teach how to join for mailing list like chennaipy, kanchilug and how to ask in forums like https://forums.tamillinuxcommunity.org/
  • Teach how to create a free blog in dev.to or wordpress.com
  • Don’t spend much time on explaining all the things in the language. In 5th or 6th class, they have to write code for a small project. Explain things as solutions for the project ideas or problem statements.
  • Insist on using names when calling people, always. By habit, people will call as sir/madam. avoid that on any technical discussions. We all are equal.
  • Zoom is costly. Even though we invest time on training and money for zoom, only around 50 people will complete the training. Check for other platforms like jitsi or google meet too.

Will try to implement these in our upcoming classes.

If you are interested in teaching any open source technology in tamil, write to us at KaniyamFoundation@gmail.com It can be some 30 min talk or few months trainings.

Thanks for all people who are spreading the knowledge openly. you are the backbone of the life.

Links

All the training videos are here – https://www.youtube.com/watch?v=lQquVptFreE&list=PLiutOxBS1Mizte0ehfMrRKHSIQcCImwHL

Telegram Group – https://t.me/parottasalna

My slides in introduction to python – https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

350 python tips – https://kaniyam.cloudns.nz/python-tips/python-tips.pdf

Syed’s website – https://parottasalna.com/

All our blog posts – https://blogs.kaniyam.cloudns.nz

பைத்தான் பயிற்சி வகுப்பின் மூலம் விளையாட்டு நிரல் எழுத முடிந்து

கணியம் அறக்கட்டளை ஏற்பாடு செய்த பைத்தான் பயிற்சி வகுப்பின் மூலம் தொல்காப்பிய மெய்ம்மயக்கத்திற்கு ஒரு விளையாட்டு நிரல் எழுத முடிந்தது. அது இன்னும் ஊக்கத்தை அளித்தது. பயிற்றுநர் செய்யது சாபர் அவர்கள் நன்றிக்குரியவர்.
from meymayakkamfinal1 import *

print ("மெய்ம்மயக்கம் விளையாட்டை விளையாடலாமா")
print ("மெய்ம்மயக்க விளையாட்டை விளையாடப் படிநிலைகளுள் ஒன்றைத் தெரிவுசெய்க")

படிநிலைகள் = [
"1. க்+க",
"2. ங்+கங",
"3. ச்+ச",
"4. ஞ்+சஞய",
"5. ட்+கசடப",
"6. ண்+கசஞடணபமயவ",
"7. த்+த",
"8. ந்+தநய",
"9. ப்+ப",
"10. ம்+பமயவ",
"11. ய்+கசதபஞநமயவங",
"12. ர்+கசதபஞநமயவங",
"13. ழ்+கசதபஞநமயவங",
"14. வ்+வ",
"15. ல்+கசபலயவ",
"16. ள்+கசபளயவ",
"17. ற்+கசபற",
"18. ன்+கசஞபமயவறன",
"19. ர, ழ குற்று ஒற்று ஆகா"
]

print (படிநிலைகள் )

விதிகள் = [meymayakkam1, meymayakkam2, meymayakkam3, meymayakkam4, meymayakkam5, meymayakkam6, meymayakkam7, meymayakkam8, meymayakkam9, meymayakkam10, meymayakkam11, meymayakkam12, meymayakkam13, meymayakkam14, meymayakkam15, meymayakkam16, meymayakkam17, meymayakkam18, meymayakkam19]

விளையாடும்_களமுறை = 5

while விளையாடும்களமுறை > 0:
விளையாடும்
களமுறை = விளையாடும்_களமுறை - 1

தெரிவுசெய் = input("விளையாடும் விதியைத் தெரிவுசெய் : ")
print (தெரிவுசெய் )
உள்ளீட்டுச்சொல் = input("ஒரு சொல்லைத் தருக : ")

if தெரிவுசெய் == "1" and meymayakkam1(உள்ளீட்டுச்சொல்):
        print ("மெய்ம்மயக்க விதி1இன்படி சரியான சொல்")
elif தெரிவுசெய் == "2" and meymayakkam2(உள்ளீட்டுச்சொல்):
        print ("மெய்ம்மயக்க விதி2இன்படி சரியான சொல்")
else:
    print ("மெய்ம்மயக்க விதிகளின்படி இது தவறான சொல். மீண்டும் விளையாடுங்கள்.")

பைத்தானுடன் எனது அறிமுகம்

8 July 2024 at 21:42

08-07-2027

வணக்கம் நண்பர்களே,

நான் எந்த விதமான கணினி துறை சார்ந்தவனும் கிடையாது. ஆனாலும் எனக்கு வலை தளங்கள் வடிவமைப்பில் ஓர் ஆர்வம் வெகு நாளாக இருந்தது. இணைய தளங்கள் வழியாக கொஞ்சம் கற்றுக் கொண்டேன்.இதன் மூலம் கணினி நிரல் மொழி பற்றிய அடிப்படை அறிவினை சிறிது கற்று அறிமுகம் ஆகிக் கொண்டேன்.

மேலும் தற்போது பங்குசந்தை வர்த்தகத்தில் ஈடுபட்டு வரும் நான் சில தானியங்கி செயல் முறைகளை உருவாக்க எண்ணம் கொண்டேன். அதற்கு பைத்தான் உதவும் என்பதையும் அறிந்து கொண்டேன்.

அதன் பின்பு பைத்தான் பயில்வது எப்படி என்பதை கற்க ஆரம்பித்தேன்.இந்த முயற்சியில் நான் அடைந்துள்ள இடம் தான் கணியம் அறக்கட்டளை.

தமிழ் வழியில் தமிழர்களுக்காக எவ்வளவு பெரும் முயற்சியில் தன்னார்வத்தோடு கணினி சார்ந்த அறிவை பரவலாக்க இத்தனை பேர் உழைத்துக் கொண்டிருக்கிறார்களா என்பதை அறிந்து வியக்கிறேன்.

என்னாலும் இன்னும் யார் வேண்டுமானாலும் கணினி அறிவை கற்க மேம்படுத்த இந்த கணியன் 100% உதவும் என்பதை நினைந்து பெருமையோடு மகிழ்கிறேன்.

வாழ்க தமிழ்.
வளர்க கணியம்.

Python Introduction Course with Kaniyam

8 July 2024 at 16:43

Day1

  1. Introduction to Python and its usages
  2. How to install python in windows, Linux and MacOS
  3. How to raise questions
  4. How to check python version
    • Open python console and type python
  5. Install visual studio code and run python file using Terminal window
  6. Run the first print command.
  7. Oversall - Walk through from Saeed is excellent.
  8. FOSS introduction from Shrini also a brilliant and the journey his team came along is really a remarkable one.

Day2

  1. Recap first day lesson.
  2. Print function general introduction.
  3. How to use sep and end parameters.
  4. How to use format and concatenate in print function.
  5. How to use variable.

TASK 1: Python – Print exercises

4 July 2024 at 01:55
  1. How do you print the string “Hello, world!” to the screen?
  2. How do you print the value of a variable name which is set to “Syed Jafer” or Your name?
  3. How do you print the variables name, age, and city with labels “Name:”, “Age:”, and “City:”?
  4. How do you use an f-string to print name, age, and city in the format “Name: …, Age: …, City: …”?
  5. How do you concatenate and print the strings greeting (“Hello”) and target (“world”) with a space between them?
  6. How do you print three lines of text with the strings “Line1”, “Line2”, and “Line3” on separate lines?
  7. How do you print the string He said, "Hello, world!" including the double quotes?
  8. How do you print the string C:\Users\Name without escaping the backslashes?
  9. How do you print the result of the expression 5 + 3?
  10. How do you print the strings “Hello” and “world” separated by a hyphen -?
  11. How do you print the string “Hello” followed by a space, and then print “world!” on the same line?
  12. How do you print the value of a boolean variable is_active which is set to True?
  13. How do you print the string “Hello ” three times in a row?
  14. How do you print the sentence The temperature is 22.5 degrees Celsius. using the variable temperature?
  15. How do you print name, age, and city using the .format() method in the format “Name: …, Age: …, City: …”?
  16. How do you print the value of pi (3.14159) rounded to two decimal places in the format The value of pi is approximately 3.14?
  17. How do you print the words “left” and “right” with “left” left-aligned and “right” right-aligned within a width of 10 characters each?

Notes from feedback on online training on GNU/Linux

11 March 2024 at 02:44

From Kaniyam Foundation, We completed the free online course on “Introduction to GNU/Linux”. We got 130 registrations and ended up with 10+ participants finished the course. Around 10% is the success rate on any online class nowadays.

Thanks to the trainers Sathish, Sakhil and Dhanasekar. Thanks for all the participants.

Ended the classes with a feedback session.

Here are the notes of the meeting.

  • We should ask everyone to share screen once. It will encourage them to learn and share.
  • In our PDF manual for linux commands, everything is red color. it gives confusion. add screenshots and more comments.

Tamil books by nithya are too tamil. Students from english medium, cant not read tamil. 😦 Sad to see that they lost their ability to read their mother toungue.

Gowtham came forward help on adding screenshots to the english book. he knows Git.

Dhana to add the source file of kaniyam-ebook to the same repo. https://github.com/tkdhanasekar/kaniyam-devops-course-materials/blob/main/ebooks/kaniyam-ebook.pdf

  • Weekly once, we should have a common revision day. Every one should narrate that week’s session with screenshare.
  • Blogging helped them to understand the concepts well.
  • Balasaravanan asked nithya to write C book for +1 and +2 school syllabus. The existing books are too tough. We need simpler versions of ebooks with video tutorials. Nithya agreed to learn C for this request. Hope she works on it once her current projects are completed.
  • We use Zoho meet for our online courses. It consumes high bandwidth. Google meet takes low bandwidth.We choose Zoho as it is cheaper than anything. It provides auto recording also. Google meet and Zoom are costly. Have to explore the possibilities of getting goole meet.
  • We asked the students to teach for the next batch. Gowtham and Tamilselvan agreed teach common commands, basics . Asked them to give talks on kanchi linux users group meetings.
  • We may give a training on emacs soon.
  • We spoke about next courses. Infrastructure, Development, Fullstack etc. We can plan for short courses, weekend talks, generic talks, discussions, learning roadmap, career guidance etc. dhanasekar can talk on devops, scripting, cloud, linux admin.

If you can give any training or talk on any open source technology, please write to KaniyamFoundation@gmail.com

The below are the blogs created by the team.

https://avvaruvanaja.wordpress.com/
https://ba8412251.wordpress.com/
https://journeyofeladhruv.wordpress.com/
https://giridharkaushik6.wordpress.com/
https://opendiaryofgowthamg.wordpress.com/
https://jabeztechjourney.wordpress.com/

Home


https://iamkishoreselvaraj.wordpress.com/

Home


https://ruckmaniblog.wordpress.com/
https://iamsadish89.wordpress.com/
https://fundevops.wordpress.com/

Happy to read them all. Thanks for all your writings.
Keep writing and keep sharing your knowledge to all the world.

Few learning notes from teaching Python

28 February 2024 at 05:35

Completed a 5 weekends training on Python last Sunday. I learnt a lot along with the students.

Here are few things I learnt.

  • Small group are always good for teaching and learning. We can focus individually everyone.
  • Start something with whatever is possible.
  • Age is just a number.
  • Keep learning always. I got a student of 65+ in age.
  • Make the class interactive always.
  • Ask some to share the summary on start and end of the class.
  • use https://quizizz.com or https://kahoot.com/ like interactive quiz sites. They add more interactiveness. prepare quiz daily and allocate some 10 min for it daily.
  • start and stop the class on time.
  • Give enough breaks.
  • Make sure some group discussion or group activity is happening.
  • Teach github.com on the first class itself and ask them to upload all their files on a git repo daily.
  • Teach to start a blog with dev.to or wordpress.com and ask them to write their notes daily.
  • Prepare all the materials, links and share to them for further exploring.
  • Give small good homeworks.
  • The trainer should blog on every class so that students can follow.
  • Teaching the basics of programming like loops, list operations, file handling, logic are critical. Check for easy tutorials, ways to teach them well.
  • Show the power of python with good, interesting, funny modules. They will inspire to learn quickly
  • Used MU editor to write code. Teach about jupyter notebook, google collab also for easy practising.
  • Curate small, incremental program and build a good project. Keep all the code ready always.
  • I have to complete writing Python book in Tamil. It is still in half way.

❌
❌