ILUGC Monthly Meet – September 14, 2019 – 3-6 pm – IITM


Indian Linux Users Group, Chennai [ ILUGC ] is spreading awareness on Free/Open Source Software (F/OSS) in Chennai since January 1998.

We usually meet on the second Saturday of every month, and for the month of September we shall meet on Saturday, September 14, 2019 at 1500 IST.

Venue: Classroom No 1,
Aerospace Engineering,
Near Gajendra Circle,
IIT Madras.
Link for the Map: http://bit.ly/iitm-aero

Talk Details:

Talk 1:

Topic: How to archive books with ScanTailor and OCR with Tesseract ?

Description: We are building a custom scan box to scan old books. Will explain how to scan books, how to post process them using scantailor to get great looking PDF/ Images and get the text out of them using tesseract OCR.

See our progress here –
https://github.com/KaniyamFoundation/ProjectIdeas/issues/73

Duration: 30-45 min

Speaker: Shrinivasan T

About Speaker: Shrinivasan, Founder of Kaniyam.com and
FreeTamilEbooks.com

Talk 2:

Topic: Introduction to OpenCV

Description: OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real-time computer vision. In simple language it is library used for Image Processing. It is mainly used to do all the operation related to Images.

Duration: 30 minutes

Speaker: Barani Tharan (baranitharan2020@gmail.com)

About Speaker: An enthusiastic open source Contributor, working with OpenCV by past 1 year. Good experience while using OpenCV for Human Detection.

Talk 3:

Topic: Howto setup Wireguard as VPN

Description: Wireguard is a modern secure layer3 tunnel. One of its use case is to establish VPN network. In this talk we will be connecting three VMs (one linux, one BSD and one windows) and use one of the VM as gateway to establish a internet connectable subnet on top of a VPN created using wireguard.

Duration: 30 mins

Speaker: Mohan R

About Speaker: Just another FOSS Enthusiast.

After Talks:

QA & general discussions

Entry free. All are welcome.

Open Source Projects for Tamil – Hackathon – 2 – Saturday – August 24 – Chennai


Are you looking for an interesting project to do?
Can you share some time and your programming skills for Tamil Language?
Do you like to meet the fellow open source contributors in Chennai?

Here is a Hackathon for Open Source Projects for Tamil.

Date : August 24, 2019, Saturday
Time : 10.00 am – 5.00 pm

Venue :
Payilagam Software Training Institute
No: 7,
Vijaya Nagar 1st Main Road,
Velachery,
Opposite to Park,
Chennai-600042.
8344777333 | 8883775533
Email: info
Phone: 044 22592370
www.payilagam.com

Contact : T Shrinivasan 98417 95468

Send a mail to tshrinivasan
to confirm your participation.

Wondering what projects you can do?

Pick anything from here.

https://github.com/KaniyamFoundation/ProjectIdeas/labels/Programming

Or contribute to cover images or ebook making for the books here
https://github.com/KaniyamFoundation/Ebooks/issues

Or translate the places in chennai in Tamil
https://github.com/KaniyamFoundation/osm_tamil_translations/issues

or, you can come with your own ideas and implement there.

Come, let us contribute to Tamil with our programming skills.

Happy to see linux at courts


I came to Madurai district court.

Happy to see the judges and other officers are using computers loaded with GNU/Linux.

I see a Debian wallpaper on the screen. Hope they have Debian.

Reading that all indian courts use linux only.

Happy to see the changes.

Help to make Tamil videos, screencasts for free software


Videos become easy reachable for many nowadays.

It will be great if we have at least one video for each free software we use.

Simple screen recorder is best software for screen casting.

We need a team of volunteers for this project to create tamil screencasts.

We have to list out existing tamil videos available for free software first. Then we can work for the missing softwares.

Reply here if you are interested to contribute for this project.

Thanks.

Meeting Minutes – ILUGC – July 2019 meet – Debian Release Party – OSM mini mapathon


We started the meeting with an introduction to debian.

Bipin from Kerala, explained how the FOSS activities are in kerala. ICFOSS, an government organization and other public communities are contribution to make awareness on free software. We have few debian developers from
kerala itself.

I used the below times to talk about debian. They are little old. But useful.
https://www.slideshare.net/helioloureiro/debian-jessie
https://upsilon.cc/~zack/talks/2011/20110206-fosdem.pdf

I explained why debian in important, its release processes, community decisions etc.

Then, cake cutting session.
We had a chief guest. Vaishnavi, 3nd standard student, younguest GNU/Linux user there.
Thanks to Vijaykumar of chennaipy for the presense with his daughter.

We cut cakes and shared to all.

Mohan explained on the sad demise of Ian Murdock. Long live Deb.

Then, Barani, an OpenStreetMap contributor, started his session.
all participants came with laptops. We logged into our OSM account.
He explained the basics of OSM, node, line and area.
He demonstrated on how to create maps using ID editor.
We all draw few streets.
Then, he explained mobile apps like OsmAnd, Maps.me, street complete etc.

 

Vijay announced that the PyCon India 2019 is happening in chennai.
https://in.pycon.org/2019/
October 12,13,14,15 are the event dates.
The tickets are closed. But there are openings for poster sesson.
He asked to submit the posters.

The pycon india team is looking for volunteers on the event dates to run the event smoothly.
If you are interested in volunteering for the great event, mail to contact@in.pycon.org

 

With this, the event was completed.

Then, a small group went to nearby canteen, and discussed about many tech things.

Thanks for the speakers and all 17 participants.

See you all in the next meetup.

 

ILUGC Monthly Meet – July 13, 2019 – 3-6 pm – IITM


Indian Linux Users Group, Chennai [ ILUGC ] is spreading awareness on Free/Open Source Software (F/OSS) in Chennai since January 1998.

We usually meet on the second Saturday of every month, and for the month of July, we shall meet on Saturday, July 13, 2019, at 1500 IST.

Venue: Classroom No 1,
Aerospace Engineering,
Near Gajendra Circle,
IIT Madras.
Link for the Map: http://bit.ly/iitm-aero

Time : 3 pm – 6 pm

Event Details:

Event 1:

Topic: Debian 10 “Buster” Release Party

Description: Debian 10 Buster was released few days back. Let us celebrate with Cake and a discussion about it.

Duration: 20 minutes

Event 2:

Topic: Mini-Mapathon for OpenStreetMap.org

Description: OpenStreetMap.org is a collaborative created maps system, which is provided open map data for all. Let us learn and contribute to OSM in this mini mapathon.

Duration: 2 hours
Speaker: Barani
About Speaker: This is Barani tharan, an enthusiastic open source Contributor. I have started OSM contribution during OSM Mapathon organized by FSFTN. I have mapped all the roads, places, etc in my Hometown. It’s been more than 2 years since I started contribution, Still, it continues. When I move to a new place or City I note maximum places and roads and map in OSM. During OSM Mapathon I got the 3rd place which gives more encouragement to Mapping.

Let’s map for people… Happy Mapping 🙂

Here are the video introductions in Tamil for OSM. Watch these videos.

http://www.kaniyam.com/video-on-openstreetmaps-org-in-tamil/

http://www.kaniyam.com/video-on-openstreetmap-org-in-tamil-part-2/

Requirements:

This is a full hands-on session. All participants should bring their laptops.

1. Create an account in https://www.openstreetmap.org/
2. Bring with a Laptop, Charger
3. Bring your own internet connection like a mobile hotspot or wifi hotspot (We dont have the internet at IITM)

After Talks:

QA & general discussions

Entry free. All are welcome.

Kaniyam Foundation May, June 2019 Report


Report in Tamil

Report in English

Kaniyam Foundation May, June 2019 Report

Vision

An environment where all virtual resource, tools and knowledge related to Tamil Language and ethnic groups, are accessible free and open to all.

Mission

To ensure that the use of Tamil language is advanced, parallel to social economic and scientific development and to provide knowledge and resources free and open to all.

Events

1000 Ebooks

Published a call for donation to buy 1000 ebooks in unicode format here – http://www.kaniyam.com/call-for-donation-to-buy-1000-books-in-unicode-format/

Here is the happy news

University of Toronto, Canada (UTSC) , has provided all the amount to purchase these 1000 ebooks. We have to make and release all the ebooks as epub, mobi, PDF, HTML, txt, odt with cover images in short time. The following works are being done. Hiring few full timers for this work, Training materals as text, video for them, MoU between Kaniyam and UTSC, Announcement document of releaseing all these books in Creative Commons license. Will give public announcements as soon as possible.

As we plan for 3-4 full timers, we need to pay them as monthly salary. We are looking for donations to cover this expense.

Thanks for all the donors.

Activities

No Activities This Month Total This Month Contributors
1 FreeTamikEbooks.com Ebooks 41 552 Lenin Gurusamy, Anwar, S. Rajeswari, G.Sumathi,Julbihar Ahmed
2 Kaniyam.com articles 40 806 D. Nithya – R.Asokan – Kalarani – S.Kuppan – P.Mahalakshmi
3 Kaniyam.com Videos 12 44 D. Nithya, P.Mahalakshmi

Tamil Wikisource

Created a project page at Tamil wikisource for kaniyam contributions. Wrote about the goals, guidelines for contributors etc. 9 contributors joined so far. One ebook is proofread, validated fully and released. 30 books are proofread and waiting for validation. Here is the List of books being worked on

see https://ta.wikisource.org/wiki/விக்கிமூலம்:கணியம்_திட்டம்

Releasing Digital Works on Creative Commons License

Thanks to Khaleel Jageer, Anwar for finding great content team and asking them to release their works in Creative Commons License.

Software

  1. Sanga Elakkiyam – Following the android app for Tamil Sangam Literature, we are working on to release a website for this. Anitha is making the website. Source code is here
  2. Nithya is working on creating an OCR for Tamil using machine learning. Details are here
  3. Sudharsan and Anitha are working on creating cover images for ebooks automatically. Details are here

Scanning a very old book

‘Pathartha Guna Sindamani’ is an old book, released in 1888. Warrant Bala gave this book for scanning. Kalyan of greendms.in scanned the book. Post processing work is going on. Will release it as PDF soon. Details are here.

Collecting all the nouns in Tamil

We started to collect all the nouns in Tamil. Details are here

In this spreadsheet, https://docs.google.com/spreadsheets/d/1FqiFLstsTo6DXsPKPKzp7iPKR49Ml2k81UPR6Nq6inQ/edit?usp=sharing totally 83695 nouns are added.

Thanks to Divya for the great contributions.

Translating strings in OpenStreetMap.org to Tamil

OpenStreetMap.org needs strings to translated in Tamil. Started a project for this. Details are here

Anitha is getting the strings from OSM and Arunachalam is translating them.

Scan, OCR, Proofread

When writers release their works in CC license, they give as print books or as PDF files. We started to Scan them, do OCR, Proofread and release as ebooks. Thara joined the team as fulltimer for proofreading works.

Contributors – Anwar (Gets the books), Lenin Gurusamy (Scan), Anwar (OCR), Thara (Proofread)

So far 1600 pages have been proofread. Project details are here.

New Projects

Writing the discussions about new projects here. https://github.com/KaniyamFoundation/ProjectIdeas/issues

This month Donors

No Name Donation
1 Unknown 500
2 Rajeev 1,000
3 K. Sankar 10,000
4 Suba. Rathnagiri 1,000
5 Panagudi Sankar Kumar 1,000
6 Unknown 2,000
7 Unknown 2,000
8 Free Software Users Group, Villupuram 20,000
9 Unknown 2,000
10 Unknown 1,000
11 Divya 1,000

Total – Rs 41,500

Dontations – Internet Resources

  • Noolaham Foundation – server worth of Rs 350/month
  • E2E Networks – server worth of Rs 730/month

Last month balance – Rs 1,04,050

Expenses

  1. FTE app release party, Villupuram – Rs 17,700
  2. Pavithra – prood reading at Tamil Wikisource – Rs 4,555
  3. Bought Mir publication books – Rs 800
  4. Scanned an old book – Rs 1,500

Total expenses – Rs 24,555

Total Balance – Rs 1,04,050 + Rs 41,500 – Rs 24,555 = Rs 1,20,995

Donations and expense details are documented in this sheet .

Bank account details

Kaniyam Foundation
Account Number : 606 1010 100 502 79
Union Bank Of India
West Tambaram, Chennai
IFSC - UBIN0560618
  • Please send your donations to this account to support activities of Kaniyam Foundation
  • Send your name, donation details to kaniyamfoundation@gmail.com

For more information or queries, write to – kaniyamfoundation@gmail.com

How to translate OpenStreetMaps to other languages?


OpenStreetMap.org  is a wonderful community driven maps portal. We can create maps in our own language too.

Here is an Image of Tamil Map.

 

Demo

https://api.mapbox.com/v4/srikanthlogic.714e671e/page.html?access_token=pk.eyJ1Ijoic3Jpa2FudGhsb2dpYyIsImEiOiJuQ1RYS3pjIn0.7YUMcAQAc4A7T703-yAu2g#4/13.03/80.07

I am much inspired by the Tamil maps provided by OSM. Only thing we have to do is to translate all the strings to tamil.

I had a discussion on this with my friend Srikanth Logic long time back. Here is the chat notes from that discussion.

Srikanth Logic

Srikanth Logic

How to translate the strings on OSM to Tamil?

  1. We have to select a region in OSM
  2. Query for the nodes/paths that dont have tamil translation
  3. Get them in a google sheet
  4. Translate the strings to Tamil using Google Translate
  5. Translate the strings using wikidata (not implemented)
  6. Verify the translations manually and fix any errors
  7. Upload the translations to OSM.

 

1. Open google sheets
Tools -> Script Editor

2. copy paste in to script editor.

In the script editor, we need to chose OverpassToGoogleSheets on “Select function” dropdown
This is entry point for the script

var query = '[out:json][timeout:3600][bbox:12.9201721,80.1238331,13.2401721,80.4438331];(node["amenity"="hospital"]["name"~"."]["name:ta"!~"."];);out meta;'

This is the overpass query.
basically, we can keep changing the overpass query.
run the same script, it will dump output into sheets that we opened.

There are lot of queries which I have executed in past in comments
These may not be of help (as they may have already been translated, but just for reference.

if everything works, you just need to change query as per data needs.
QueryOverpass –> This function actually posts the overpass query as a parameter to Overpass server, gets response from OSM database.

In case, you dont get data, check if you get response from server http://overpass.osm.rambler.ru/

You can change server in case its down. http://wiki.openstreetmap.org/wiki/Overpass_API#Introduction all other servers are shown here.

ParseReponsePopulateSheets –> After getting a successful response from OSM, next this function will actually parse data and populate sheets

It reads element by element in json, prepares an array for 1 row; (OSM Node ID, Name, Lat, Lon, Place, Google Translate suggestion, Wikidata Translate suggestion
=GOOGLETRANSLATE is used for populating google translate
QueryWikidata function is used for populating wikidata suggestion

In case you dont see data on sheets; View -> Log (or Control Enter keyboard shortcut) to show logs of script execution Logger.log statements will log messages into log

Now, lets see query writing.

=GOOGLETRANSLATE is Google sheets native function

QueryWikidata –> At bottom of script. I have commented now, wrote PopulateWikidataColumn function.

But there one limitation of google sheets.
Every HTTP call you do from this is counted as part of quota
=GOOGLETRANSLATE consumes quota, running this script (which makes HTTP calls to overpass server consumes quota)

Google has some strange limit (~2000). But we are dealing with say 500 strings in output. 500 Google Translate will eat quota for single query itself.

This is across sheets (not just for this), so I keep exhausting my quota even as I open some of these sheets. So, use these for smaller queries, dont open / close browser tab (these sheets) too often.

we should use separate gmail account for this.

Quota gets reset in a day.

Okay, Now query building.
http://overpass-turbo.eu/ is the place to play with; Its a query browser

var query = '[out:json][timeout:3600][bbox:12.9201721,80.1238331,13.2401721,80.4438331];(node["amenity"="hospital"]["name"~"."]["name:ta"!~"."];);out meta;'

Lets take this query as example. Its a simple query. We can write even more complex queries.

The first two tags tell output must be in json and 3600 secs is timeout, which you are willing to wait. In case of large response, bbox specifies geo-coords within which you want to restrict the search.

that box is roughly main chennai

https://wiki.openstreetmap.org/wiki/Bbox
You can change bbox as needed.

(node[“amenity”=”hospital”][“name”~”.”][“name:ta”!~”.”];);

Here we say select all nodes, which has a key “amenity” and corresponding value as “hospital”

[] [], default behavior is AND. So, all nodes with amentiy value as hospital AND “name” as anything (. is for any value, like *) and “name:ta” is not equal to . (any value); Not equal to any is usually empty / null

[out:json][timeout:3600][bbox:12.9201721,80.1238331,13.2401721,80.4438331];(node[“railway”][“name”~”.”][“name:ta”!~”.”];);out meta;

This is all railway related nodes having some name in english but no tamil name

Open http://overpass-turbo.eu/

paste the above query
run

Will get the result in the right side map

So, steps are,

  1. translating our target data set in mind to queries, using this query browser.
  2. then run the query in overpass turbo to see what it looks like, how big / how useful the result is.
  3. then paste that query on google script, get the data populated in sheets

http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL

Check above page for complete documentation of query language.

Then,

hospitals, pharmacies, schools, resturants, etc

think of data. run query, see data, get data in sheets, translate

roads –> Small difference is
its a way, not node

//Chennai Highway nodes - tertiary'[out:json][timeout:3600];(way["highway"="tertiary"](12.9201721,80.1238331,13.2401721,80.4438331)["name:ta"!~"."](12.9201721,80.1238331,13.2401721,80.4438331););out meta;>;out meta qt;';

But nothing changes from query / sheets perspective.
Instead of node id , you will get way id.
only while uploading back, upload script needs to take care.

Uploading to OSM after Tamil Translation

I will also give brief overview on upload script.

Please try the upload script with a new ID for a small data set; (2 translated nodes csv)
1. Create a new OSM ID
https://github.com/srikanthlogic/osm-ta/blob/master/osm-csv-names-loader.py is the script

its simple, you will get it in 2 minutes, read once..
Example csv is at https://github.com/srikanthlogic/osm-ta/blob/master/csv-example.csv

Using this script, we can upload the translations to OSM.

 

======

 

The above are not a detailed tutorial. This needs some hands on experience on OSM, OverPass, Google Sheets, Python, git, Linux, Commandline etc.

Explore these and share your thoughts.

If you are interested in creating OSM maps in Tamil or your language, mail me on tshrinivasan@gmail.com or comment here.

Let us collaborate to create maps in our own languages.

 

How to reduce Image size in odt and epub files?


When we are making ebooks for FreeTamilEbooks.com, we found that the books with many images are too heavy. The big size images in the books, causes the books to increase in size.

Here is the hack, we use to reduce the image sizes.

How to reduce all images size in a document using LibreOffice Writer?

source : https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=40803

Create a new macro, with below code.

Sub ResizeAllGraphics
Dim go,g,i
go = ThisComponent.getGraphicObjects
For i = 0 to go.Count-1
g = go.getByIndex(i)
g.Height = g.Height/2
g.Width = g.Width/2
Next
End Sub

How to create macro?

https://help.libreoffice.org/Common/Recording_a_Macro

Open the document for which you want to record a macro.
Choose Tools – Macros – Record Macro’.
If Tools – Macros – Record Macro menu item is missing, make sure that macro recording feature is enabled in Tools – Options’ – LibreOffice – Advanced.
You see the small Recording dialog with just one button called Stop Recording.

Once recorded, open the document with heavy images and run this macro.

BOOM.

All the images will be reduced by half in size, resulting reduced result odt or PDF file.

How to reduce all images size in a epub file?

#reduce-epub-size.sh
#USAGE="Usage: $0 big.epub small.epub"

#!/usr/bin/bash
USAGE="Usage: $0 big.epub small.epub"
: ${2:?$USAGE}
unzip -d $1-tmp $1 # unzip big.epub in tmp directory
cd $1-tmp
# Compress all images larger than NxN in tmp
find . -type f \
-iregex '^.*[.]\(jpg\|jpeg\|png\|gif\)$' \
-exec mogrify -resize 50% {} \; 
zip -Duro ../$2 . # Zip up the compressed tmp folder as small.epub
cd .. 
rm -rf $1-tmp # Cleanup

USAGE= /bin/bash reduce-epub-size.sh big.epub small.epub”

source : https://ebooks.stackexchange.com/a/7208

With the above shell script, we can reduce the image size in any epub file.

 

Thanks for all the awesome open source contributors for providing great solutions to real problems.

 

 

 

Kaniyam Foundation March, April 2019 Report


Report in Tamil

Report in English

Kaniyam Foundation March, April 2019 Report

Vision

An environment where all virtual resource, tools and knowledge related to Tamil Language and ethnic groups, are accessible free and open to all.

Mission

To ensure that use of Tamil language is advanced, parallel to social economic and scientific development and to provide knowledge and resources free and open to all.

Events

1000 Ebooks

Published a call for donation to buy 1000 ebooks in unicode format here – http://www.kaniyam.com/call-for-donation-to-buy-1000-books-in-unicode-format/ Thanks for all the donors.

Activities

No Activities This Month Total This Month Contributors
1 FreeTamikEbooks.com Ebooks 4 512 Lenin Gurusamy, Anwar, S. Rajeswari
2 Kaniyam.com articles 56 778 D. Nithya – R.Asokan – Kalarani – S.Kuppan – Kendiran
3 Kaniyam.com Videos 12 32 D. Nithya
4 Kaniyam.com ebooks 1 15 D. Nithya

Tamil Wikisource

Created a project page at Tamil wikisource for kaniyam contributions. Wrote about the goals, guidelines for contributors etc. 9 contributors joined so far. One ebook is proofread, validated fully and released. 4 books are proofread and waiting for validation. Here is the List of books being worked on

see https://ta.wikisource.org/wiki/விக்கிமூலம்:கணியம்_திட்டம்

Releasing Digital Works on Creative Commons License

Thanks to Khaleel Jageer, Anwar for the finding great content team and asking them to release their works in Creative Commons License.

Software

  1. Released an android app – Sanga Elakkiyam
  2. An Android app is being developed to record audio for wiktionary words. Source. Few bugs are fixed. This is still under development.

New Projects

Writing the discussions about new projects.

This month Donors

No Name Donation
1 Elantamil 10000
2 Mohan 3000
3 Venkat 101
4 Velankanni 1250
5 Panagudi Sankar Kumar 1000
6 Sakthivel 100
7 R. Ramasamy 2000
8 Unknown 2000
9 Unknown 250
10 Kalarani Lakshmanan 5000
11 Ilavarasan Varadharajan 5001
12 Unknown 1000
13 Unknown 500
14 Revathi Kannan 150
15 Dhanasekar 500
16 Abdul Kadhar 1000
17 Dhanasekar 200
18 Unknown 1000
19 Vasanth 3000
20 Unknown 200
21 Unknown 1500

Total – Rs 29,752

Dontations – Internet Resources

  • Noolaham Foundation – server worth of Rs 350/month
  • E2E Networks – server worth of Rs 730/month

Last month balance – Rs 1,24,698

Expenses

  1. Maanavar Publishers – Rs 50,000 – Received first 100 ebooks in Unicode format
  2. Divya – Rs 400 – Wikisource Proofreading

Total expenses – Rs 50,4000

Total Balance – Rs 1,24,698 + Rs 29,752 – Rs 50,400 = Rs 1,04,050

Donations and expense details are documented in this sheet .

Bank account details

Kaniyam Foundation
Account Number : 606 1010 100 502 79
Union Bank Of India
West Tambaram, Chennai
IFSC - UBIN0560618
  • Please send your donations to this account to support activities of Kaniyam Foundation
  • Send your name, donation details to kaniyamfoundation@gmail.com

For more information or queries, write to – kaniyamfoundation@gmail.com