Tuesday, September 20, 2016

Three of the Best Learning Resources on LibreOffice

Sharing some resources (well, just three at the moment) on learning LibreOffice:

First is the amazing magazine 'Full Circle'. This is a monthly magazine on Ubuntu but covers a lot of technologies/applications like Python, LibreOffice, Gimp, Inkscape and more.

You can view/download this magazine directly from their homepage: http://fullcirclemagazine.org/
They also offer special editions that has a compilation of the articles on a specific topic that are published in the monthly magazines. The most comprehensive special edition is the LibreOffice Golden Jubilee Edition. This edition has 50 articles on LibreOffice and these articles cover most of the daily use cases of LibreOffice as well as more detailed information for the advanced users.

You can download this LibreOffice Golden Jubilee Edition at: http://fullcirclemagazine.org/2015/08/08/libreoffice-golden-anniversary-special-edition/

Second is the open content book: Designing With LibreOffice by Bruce Byfield. This book has its own website: http://designingwithlibreoffice.com

You can freely download this book in PDF form as well as individual ODT chapters. To show your support for this amazing work, please also buy the printed copy or give a Thank You Tip to the author - http://designingwithlibreoffice.com/download-buy/

Third is the amazing video tutorials on TheFrugalComputerGuy.com website - http://thefrugalcomputerguy.com

You can also donate to the author of TheFrugalComputerGuy.com

So, these are the three best resource for learning LibreOffice that I could find. If you have more such resources, please do share.

Wednesday, September 14, 2016

Won a £10 Amazon Gift Voucher from EveryDayLinuxUser website

Well, I got a pleasant surprise in my mailbox, a £10 Amazon Gift Card from Gary Newell, the author of the EveryDayLinuxUser website.


The Gift Card was given for submitting my top 5 Linux Distributions to the website. I have written on this in my previous post.

The winners announcement is at: http://www.everydaylinuxuser.com/2016/09/winners-of-10-amazon-gift-vouchers.html

Thank you Gary for this pleasant surprise.

Tuesday, September 6, 2016

My Guest Post on the "Every Day Linux User" website

A few weeks back the "Every Day Linux User" website had asked its users to send their top five Linux Distros via email. And, the author of the website, Gary Newell, had said that he will post all the emails on the website.

I am not a frequent reader of that website, but as luck would have it, I had visited this website just i time for the submission. My latest adventures and mis adventures with Linux Distros are available to read on my blog: http://aajkyakaroon.blogspot.com/

Quckly I drafted an email and sent it to the author. And, true to his word he has posted my email on his website. You can read the post at: http://www.everydaylinuxuser.com/2016/09/finding-five-good-linux-distributions.html and a follow up post at: http://www.everydaylinuxuser.com/2016/09/i-asked-what-are-best-linux.html

Wednesday, August 24, 2016

What is Literature?

I am a casual reader. I have read a few series of books and some one off novels as well. What I have came across is that most of these novels have similar English with many words that I do not grasp quickly. I require additional help to know the exact meaning of these words. Why is this the norm? Is there any novels from major authors that are written in simple English? Well, the answer lies in Literature.

From Wikipedia, Literature is "... an art form, or any single writing deemed to have artistic or intellectual value, often due to deploying language in ways that differ from ordinary usage" (I have highlighted the text in bold). So, in Literature, it is mandatory to use language differently? May be so. And, I have read somewhere that novels have their own grammar.

If this is so, then were the writings of past greats actually Literature. Were they not written in language that was popular in their time or were they still written differently than what was prevalent then.

I think the most common candidate for Literature would be the Holy Texts from the Religions. Since these texts were written long ago and these really do require extreme understanding to grasp the almost hidden meaning in the texts. Most of the text are context specific and you are required to know the conditions that were prevalent or a event that had occurred which led to the specific text being written.

Does Literature include self help books, cookbooks, biographies, DIY books, magazines, newspapers. I do not know, but most of these are the ones that we regularly read. What if we take the basic meaning of Literature as a form of written or spoken words that helps us in achieving something tangible. What is this tangible something? Well, this differs from person to person. A person who has no background in English would find even the nursery rhymes to be Literature. Or, a person who with the help of a DIY book, creates a masterpiece that the person had always wanted to create, would find that DIY book as a heaven sent. In addition, many successful people have followed other marked personalities to get their inspiration. This would make biographies as Literature.

So, what should be considered as Literature. I believe Literature should not be just confined to the select few but should be broadened to include the works that have an impact on an individual.

Friday, July 29, 2016

Classic Popeye Cartoons are in Public Domain

In India, we the kids born in the mid 70s and in the 80s were the first ones to get exposure to these cartoons on the televisions. Because, in India the color television was introduced at around that time period. Very late, I know. I remember we used to have only morning cartoons and the best cartoons/serial for kids were shown only on Sundays and in out summer holidays.

My memories of that time period may not be pin point accurate, but I remember most of them correctly. The school summer holidays would bring the excitement of the two hour long cartoon and serial show on the DD2 channel. There was the Giant Robot serial, the Invisible Man, Popeye, Tom and Jerry, and other classic shows. My favorite was He-Man and the Masters of the Universe, Popeye the Sailor Man, Tom and Jerry, Giant Robot, and more.

Moving a little ahead, in my pre-teens and teens we had exposure to many more all-time favorite shows. Like Tailspin and Duck Tales. There was GI-Joe, Alladin, My Little Pony, Goof Troop and many more.

All those looked very real then, especially I have memories of Giant Robot to be very good. But, now when I see these on youtube and such, they seem just bland. How the technology of making movies have changed in recent times.

But, the animation shows, these were just too good in my childhood. Nowadays the animated shows just lack the fun and detail of yesteryear shows. Tom and Jerry, Mickey Mouse, Donald Duck, and their friends were just too good. Tailspin and Ducktales were especially well made. So was GI-Joe and He-Man. I still have many of the action figures of GI-Joe and He-Man.

Too bad that GI-Joe and He-Man did not traverse that well into motion picture domain. Maybe they required the writers/thinkers of the original to succeed. Hmm, I read somewhere that He-Man itself was based on Conan the Barbarian, go figure. The sequence for He-Man was Movie (Conan) -> Action Figure -> Animated Cartoon -> Movie (He-Man) -> More Action Figures -> More Animated Cartoons, or something like that.

Coming to the topic of the post; Many (or most/all) of the Popeye Classic Toons are now in the Public Domain !!! Wow.

Of course, you could just go to youtube to view these. And, on youtube these are recolored, so better looking. But, you cannot just rip them, give these to your friends, or view without feeling guilty.

You can watch/download the originals (public domain ones) on the Archive.org website. I have made a search query on the website: just go to this address:
https://archive.org/search.php?query=subject%3A"Popeye"&and%5B%5D=mediatype%3A"movies"
to view all Popeye animated movies/shows.

Thursday, July 28, 2016

Spyware News Websites in India?

So, as per trend against ad blockers, two of the major online news outlets have adopted the policy of showing a message to disable the ad blocker instead of showing the news content.



At least they show the steps to take for disabling the ad blocker for their websites.



They provide the steps for the AdBlock Plus ad blocker. I believe the steps would be similar for other ad blockers as well.

The main page of the news websites do open, but no other news article opens. All give the above message.

But, as they have targeted the AdBlock Plus ad blocker, I was intrigued enough to know more about this ad blocker. The AdBlock Plus website (https://adblockplus.org/) shows that the ad blocker is open source, GPLv3 license. It is available for at least 9 browsers. And, it also provides its own AdBlock Browser.

In addition, unobtrusive ads are not blocked by default. So, what kind of ads do these websites want to show?

Does an ad leave cookies? Track your activity on other websites? Is basically a spyware?
Hmm, if yes, then these news websites want us to install spyware on our systems.

So, what can we do? For me, the option was clear. Just leave these websites. There are many other news outlets that have better news articles than the tabloid type articles present on these spyware websites.

A good list of news websites available in India is given on this website: http://www.w3newspapers.com/india/

Friday, July 22, 2016

How to Create a Pareto Chart in Google Sheets

Lets try out to plot a Pareto Chart.in Google Sheets.

Why? Well see the below text for Pareto Chart from wikipedia:
A Pareto chart, named after Vilfredo Pareto, is a type of chart that contains both bars and a line graph, where individual values are represented in descending order by bars, and the cumulative total is represented by the line.
The left vertical axis is the frequency of occurrence, but it can alternatively represent cost or another important unit of measure. The right vertical axis is the cumulative percentage of the total number of occurrences, total cost, or total of the particular unit of measure. Because the reasons are in decreasing order, the cumulative function is a concave function. To take the example below, in order to lower the amount of late arrivals by 78%, it is sufficient to solve the first three issues.
The purpose of the Pareto chart is to highlight the most important among a (typically large) set of factors. In quality control, it often represents the most common sources of defects, the highest occurring type of defect, or the most frequent reasons for customer complaints, and so on. Wilkinson (2006) devised an algorithm for producing statistically based acceptance limits (similar to confidence intervals) for each bar in the Pareto chart.
These charts can be generated by simple spreadsheet programs, such as Apache OpenOffice/LibreOffice Calc [1] and Microsoft Excel,[2] visualization tools such as Tableau Software,[3] specialized statistical software tools, and online quality charts generators.
The Pareto chart is one of the seven basic tools of quality control.[4]
See, no mention of Google Sheets in the above description. The author(s) has mentioned simple spreadsheet programs, and then goes on the specifically mention the spreadsheet programs. Anyways, we can also use many other spreadsheet programs, but why not try with something every Google user has access to.

I will take inspiration from the sample data provided in this chart:
https://en.wikipedia.org/wiki/File:Pareto.PNG
The sample data is a hypothetical data outlining the causes of employees coming late to office.

First, create a new Google Sheet.

Then insert/collect the data:

CauseNo. of times
Child Care25
Public Transportation21
Weather12
Overslept8
Traffic65
Emergency4
Total135

Now sort the 'No. of times' column in the descending order:
To do this, I started my selection from the first no. of times number to the last cause.
Now, suppose, cause is column D and no. of times is column E.
Then, after the selection, on the main menu, click Data -> Sort range by column E, Z -> A.
The result is as follows:

CauseNo. of times
Traffic65
Child Care25
Public Transportation21
Weather12
Overslept8
Emergency4
Total135

Now calculate each cause's contribution in % times.
To do this calculate the percentage using the total no. of times. For example, for the cause Traffic, the percentage calculation will be: ((65*100)/135) = 48.15.

CauseNo. of times% times
Traffic6548.15
Child Care2518.52
Public Transportation2115.56
Weather128.89
Overslept85.93
Emergency42.96
Total135100.00

Calculate cumulative % from % times column.
This is easily done. Just add the % times. The last number in the Cumulative % column should be 100.

CauseNo. of times% timesCumulative %
Traffic6548.1548.15
Child Care2518.5266.67
Public Transportation2115.5682.22
Weather128.8991.11
Overslept85.9397.04
Emergency42.96100.00
Total135100.00

Edit 20 Jan 2020: The values in the Cumulative % column: The first value is the same as the value in the % times column, '48.15'. The second value is '48.15 + 18.52 = 66.67', the third value is '66.67 + 15.56 = 82.22', the fourth value is '82.22 + 8.89 = 91.11', the fifth value is '91.11 + 5.93 = 97.04', and the sixth value is '97.04 + 2.96 = 100.00'.

Now, we create the chart.

Click in a blank cell that is in a row and column that have no data. Because, if you select a cell whose row/column has some data, Sheets shows some recommended charts and you are required to then customize/modify it. And, we do not what to do this in this case.
On the main menu, click Insert -> Chart
The Chart Editor is shown with the Recommendations tab selected.

In the Chart Types tab, on the left there are the chart types listed. There are a lot of chart types shown under their headings. The headings are: Line, Area, Column, Bar, Pie, Scatter, Map, and Other.

Now, on the left, there is just one box with a table like icon to its right. The table like icon is called the Select data range icon. Click this icon.
The Chart Editor is now hidden and a new dialog box, What data? is shown.
Move the What data? dialog box to a place so that you are able to view your data.
Now, select the Cause column till the last cause (do not select the 'total' text.)
Next, in the What data? dialog box, click Add another range (a new input box appears in the dialog box.)
Now, select the No. of times column till the last number (do not select the total number)
Again, in the What data? dialog box, click Add another range and select the Cumulative % column till '100'.
Now, in the What data? dialog box, click OK.
The Chart Editor is shown.

In the Chart Editor, under Line select the Combo chart (a preview of the chart is shown to the right), and click Insert.
The chart is inserted. Click and drag the chart to the viewable area.

Now, click in the chart, on the top right a down arrow icon is shown. Click this down arrow icon to reveal a menu. In the menu, click Advanced edit. The Chart Editor is shown with the Customization tab enabled.
In this Customization tab, on the right is the preview of the chart and on the left is the various options.
We have to work in the left side.
First, under Chart, enter the Title for the chart. I entered Pareto Chart of Late Arrivals by Reported Cause (the same as the image I had used to source the data.)
Scroll down, you will first see the main heading named Axis, leave this for now, we will come to this heading later. Scroll more to reveal the Series heading.

To the right of Series is a drop down, which is named All Data series. Click this drop down list and select Cumulative %.
Scroll down and select the Square as the Point shape.
Right axis for the Axis.

Now, scroll up to the Axis heading. By default, the Horizontal axis is selected. Change its title to Reported Causes.
Now select the Left Vertical axis. Change its title to No. of Times.
Now select the Right Vertical axis. Change its title to Cumulative %. Below this title are two input boxes for Min and Max. Enter 0 in Min and 100 in Max.

In the Chart Editor click Update. The chart is now shown with the changes made.
You can now keep this cart as it is or move the chart to its separate sheet. I would prefer to move the chart to its separate sheet. To do this, click in the chart, then click the down arrow -> Move to own sheet. The chart is now moved to its separate sheet.

If you wish to show the data for the No. of Times bars: Click in a bar, a context menu is shown. In the context menu, click Data label -> Value. Now the numbers are shown on the bars.

The Pareto chart is kind of complete. But, if you want to present this you will require a little bit more information on the chart.
To do this, you can either save the chart as an image and do the steps in a different program or you can copy the chart, and paste it into the new/existing drawing/presentation in Google Drive.
Lets copy the chart into a presentation. Just below the main menu is the Copy chart button, click it.
Now, open the Google Drive presentation file (or create a new presentation.)
Make the Layout for the presentation page as Blank. Now, paste the chart. You will be shown a dialog box that will ask you to either link the chart or to not link the chart. If you link the chart, then whenever you change the chart, it will be reflected here. Its you choice.
Resize the chart to the required size.
Now insert a square from the Cumulative %'s 80 % to the point where the square would touch the line graph. Then enter the two texts as shown in the figure below:
So, we get the Pareto chart using Google Sheets and Google Slides/Google Drawings.