The Mouse & The Jar Of Grains

A “mouse” was put at the top of a jar filled with grains. He was too happy to find so much food around him. Now he doesn’t need to run around searching for food and can happily lead his life. As he enjoyed the grains, in a few days’ time, he reached the bottom of the jar. Now he is trapped and he cannot come out of it. He has to solely depend upon someone to put grains in the same jar for him to survive. He may even not get the grain of his choice and he cannot choose either.

Here are FOUR lessons to learn from this:

1) Short term pleasures can lead to long-term traps.

2) If things are coming easy and you are getting comfortable, you are getting trapped into survival mode.

3) When you are not using your skills, you will lose more than your skills. You lose your CHOICES.

4) The right Action has to be taken at the right time, or else you will lose whatever you have.

St. Nicholas – Santa Claus?

St. Nicholas was a Bishop who lived in the fourth century, in a place called Myra in Asia Minor (now called Turkey). He was a very rich man because his parents died when he was young and left him a lot of money. He was also a very kind man and had a reputation for helping the poor and giving secret gifts to people who needed it. 

The most famous story about St. Nicholas tells how the custom of hanging up stockings to put presents in first started! It goes like this:

There was a poor man who had three daughters. The man was so poor that he did not have enough money for a dowry, so his daughters couldn’t get married. One night, Nicholas secretly dropped a bag of gold down the chimney and into the house (this meant that the oldest daughter was then able to be married). The bag fell into a stocking that had been hung by the fire to dry! This was repeated later with the second daughter. Finally, determined to discover the person who had given him the money, the father secretly hid by the fire every evening until he caught Nicholas dropping in a bag of gold. Nicholas begged the man to not tell anyone what he had done, because he did not want to bring attention to himself. But soon the news got out and when anyone received a secret gift, it was thought that maybe it was from Nicholas.

Because of his kindness Nicholas was made a Saint. St. Nicholas is not only the saint of children but also of sailors! One story tells of him helping some sailors that were caught in a bad storm off the coast of Turkey. The storm was raging around them and all the men were terrified that their ship would sink beneath the giant waves. They prayed to St. Nicholas to help them. Suddenly, he was standing on the deck before them. He ordered the sea to be calm, the storm died away, and they were able to sail their ship safely to port.

No one really knows when St Nicholas died, it was on 6th December in either 343 (which seems to be the most probable), 345 or 352. In 1087, his bones were stolen from Turkey by some Italian merchant sailors. The bones are now kept in the Church named after him in the Italian port of Bari. On St. Nicholas feast day (6th December), the sailors of Bari still carry his statue from the Cathedral out to sea, so that he can bless the waters and so give them safe voyages throughout the year.

How much of what we hear of Santa Claus today is true? Here is what the Archdiocese of Bombay shared on their Instagram handle today.




St. Andrew

St. Andrew, also called Saint Andrew the Apostle, one of the Twelve Apostles of Jesus and the brother of St. Peter. He is the patron saint of Scotland and of Russia.

Source: Instagram – Archdiocese of Bombay

In the Synoptic Gospels (Matthew, Mark, and Luke), Peter and Andrew—whose Greek name means “manly”—were called from their fishing by Jesus to follow him, promising that he would make them “fishers of men.” With Saints Peter, James, and John, Andrew asked Jesus on the Mount of Olives for signs of the earth’s end, which inspired the eschatological discourse in Mark 13. In The Gospel According to John, Andrew is the first Apostle named, and he was a disciple of St. John the Baptist before Jesus’ call.

Source: Instagram – Archdiocese of Bombay

Do you know you can build Flutter apps in Python? 😮

I am guessing most of you have heard about Flutter. If not, here you go in just one sentence.

Flutter is an open-source framework by Google
for building beautiful, natively compiled applications
​​​​​​​from a single codebase
​​​​​​​for iOS, Android, Web, MacOS, Windows and Linux. 

Dart is the programming language used to code Flutter apps and at the start most developers find it a little hard to grasp. But once they are able to wrap their heads around it, they absolutely love it! However this article is not about Dart but Python! Let’s deep dive into the world of building flutter apps with Python! 

Say hello to FLET!

FLET enables developers to easily build real-time web, mobile, and desktop apps in Python.

The crazy thing is that no front-end experience is needed, and although the mobile version is still in development, we can still rely on the Progressive Web App.

Mind-blowing features of FLET

  1. It is powered by Flutter.
  2. You can bring an app to life in a few minutes.
  3. It has a simple architecture.
  4. Apart from Python, other languages like Go, C#, etc. will also be supported.

How to get start with FLET

To install FLET, you use this command if you are using a Python version less than version 3:

pip install flet

Otherwise you can use the following:

pip3 install flet

Now let’s build a simple application with FLET. We will be building a simple counter app that has one text field and two buttons, one to increment and one to decrement. Simple enough right?

First, we need to import FLET and other features essential for the counter App

import fletfrom flet import Row, icons, IconButton, TextField, Page;

We define the main function which is the root of our application and also set a title.

def main(page: Page):
page.title = "Counter App"
page.vertical_alignment = "center"

Next let’s arrange the widgets.

To add a widget, we use the page.add(widget…..).

For the rows of the app, we would consider theText Field and Buttons

page.add(Row([
   IconButton(icons.REMOVE),
   TextField(text_align="center",value="0", width=100)
   IconButton(icons.ADD)
  ],
 alignment="center")
)

Now, We define two functions that will handle the press events.





//Decrement
def minus(e) :
  tf.value = int(tf.value) -1
  page.update()
  
//Increment
def plus(e) :
  tf.value = int(tf.value) + 1
  page.update()

‘tf’ in the above functions refers to Text-field we placed into the Row.

The next thing, we used to the text-field value we have to wrap that within a variable itself.

Here is the overall code

import flet
from flet import Row, icons, IconButton, TextField, Page;
​
def main(page: Page):
  page.title = "Counter App"
  page.vertical_alignment = "center"
  tf =TextField(text_align="center",value="0", width=100)
​
#Functions
  def minus(e):
    tf.value = int(tf.value) -1
    page.update()
​
  def plus(e):
    tf.value = int(tf.value) + 1
    page.update()
​
#Widgets
  page.add(
    Row([
       IconButton(icons.REMOVE, on_click=minus),
       tf,
       IconButton(icons.ADD, on_click=plus)
    ],
    alignment="center")
  )
  
flet.app(target=main,view=flet.WEB_BROWSER)

The final part is to run the application which is the last line in the snippet above.

flet.app(target=main)

We add this command which directly targets the “main”

To run the app, type this command 

python filename.py

Below is what the UI looks like on web

Wasn’t that super easy? 

We are in very early days with FLET. Here is a link to their roadmap

And if you’d like to try some more apps, Flet has two tutorials: To Do app and Calculator app. (Click here)

Try them out and share your experience with me! :)

Feast of the Dedication of the Lateran Basilica

The Archbasilica of St. John Lateran is one of the oldest and highest ranking Papal Basilicas in Rome. Holding the unique title of ‘arch basilica’, it is defined as the “mother and head of all the churches of the city and the world”

Source: Archdiocese of Bombay (Instagram)

Most Catholics think of St. Peter’s as the pope’s main church, but they are wrong. St. John Lateran is the pope’s church, the cathedral of the Diocese of Rome where the Bishop of Rome presides.

Source: Archdiocese of Bombay (Instagram)

The first basilica on the site was built in the fourth century when Constantine donated land he had received from the wealthy Lateran family. That structure and its successors suffered fire, earthquake, and the ravages of war, but the Lateran remained the church where popes were consecrated. In the 14th century when the papacy returned to Rome from Avignon, the church and the adjoining palace were found to be in ruins.

Source: Archdiocese of Bombay (Instagram)

Pope Innocent X commissioned the present structure in 1646. One of Rome’s most imposing churches, the Lateran’s towering facade is crowned with 15 colossal statues of Christ, John the Baptist, John the Evangelist, and 12 doctors of the Church. Beneath its high altar rest the remains of the small wooden table on which tradition holds Saint Peter himself celebrated Mass.

Source: Archdiocese of Bombay (Instagram)

Unlike the commemorations of other Roman churches, this anniversary is a feast. The dedication of a church is a feast for all its parishioners. In a sense, St. John Lateran is the parish church of all Catholics, because it is the pope’s cathedral. 

iOS & Android Quick Actions

Quick actions are a great way to provide your users fast access to your app’s common functionality within the home screen. iOS 13 introduced the concept of quick actions, where a user can touch and hold an app icon to display a set of shortcuts or actions to perform right from the home screen.

Many of the most commonly used apps consume App Shortcuts to provide users with easy access to its most important features. For example, Instagram provides shortcuts to Camera, New Post, View Activity, and Direct messages, while WhatsApp on Android provides Camera and four conversations.

iOS: Instagram
Android: WhatsApp
iOS: WhatsApp

Developers can also provide their own quick actions to provide users with powerful shortcuts to common app functionality. The iOS Camera app has actions to take different types of photos or to record a video. A shopping app might let you jump directly to your orders or wishlist, and a messaging app might show your favorite contacts so you can easily access them.

I’m sure you can think of ways that quick actions would benefit your users:

  • Static quick actions, which are always available for your app.
  • Dynamic quick actions, which your app can define at runtime.

Static vs. Dynamic Quick Actions

There are two types of quick actions available to you: static and dynamic.

You use static actions for actions that never change in your app, like the Mail app’s New Message action.

Use dynamic actions if your actions might change under certain conditions or depend on specific data or state. For example, the Messages app will add quick actions for all of your pinned conversations.

In both cases, you add code to handle a specific action that gets triggered. 


Native Android and iOS both have their specific ways implement these shortcuts. In Android, the term used is App Shortcut whereas iOS calls it as Home Screen Quick Actions.

Apple Developer Documentation: Home Screen Quick Actions

Android Developer Documentation: App Shortcuts Overview

To achieve this functionality in Flutter you can use a plugin called quick_actions. This Flutter plugin allows you to manage and interact with the application’s home screen quick actions

How to use Flutter’s Quick_Actions Plugin

1. Open pubspec.yaml file and add quick_actions plugin dependency under dependencies and hit the Flutter command package get.

name: quick_action
description: A new Flutter application which demonstrates use of quick actions.
​
version: 1.0.0+1
​
environment:
  sdk: ">=2.1.0 <3.0.0"
​
dependencies:
  quick_actions: ^0.3.0+1
  flutter:
    sdk: flutter
​
dev_dependencies:
  flutter_test:
    sdk: flutter
​
flutter:
  uses-material-design: true

2. Inside your lib folder open main.dart and add
import ‘package:quick_actions/quick_actions.dart’;

3. Initialize the library early in your application’s life-cycle by providing a callback, which will then be called whenever the user launches the app via a quick action.

final QuickActions quickActions = const QuickActions();
    quickActions.initialize((String shortcutType) {
      if (shortcutType == 'action_cart') {
        print('The user tapped on the "cart" action.');
      } else {
        print('The user tapped on the "wishlist" action.');
      }
    });

4. Finally, manage the app’s quick actions

quickActions.setShortcutItems(<ShortcutItem>[
      const ShortcutItem(
          type: 'action_cart', localizedTitle: 'cart', icon: 'cart-icon'),
      const ShortcutItem(
          type: 'action_wishlist', localizedTitle: 'wishlist', icon: 'wishlist-icon')
    ]);

Please note, that the type argument should be unique within your application (among all the registered shortcut items). The optional icon should be the name of the native resource (xcassets on iOS or drawable on Android) that the app will display for the quick action.


What other cool uses of quick actions can you think of? Leave your implementations and ideas in the comments below.

Feast of St. John Paul II

Pope Francis canonized Saint John Paul II with Saint John XXIII in the Vatican City on April 27, 2014, a Divine Mercy Sunday, an observance that he established on April 30, 2000.

October 22 was chosen as his feast day to remember the anniversary of the liturgical inauguration of his Papacy in 1978.

Saint John Paul II served as Pope for 27 years up to the time of his death at the age of 84 on April 2, 2005. He was beatified by Pope Emeritus Benedict XVI on May 1, 2011, also on a Divine Mercy Sunday.

The process for his beatification was the fastest on record as never before has a Pope been beatified by his immediate successor.

Waiving the five-year waiting period, the process started about two months after his death after a French nun, Sr. Marie Simon-Pierre’s miraculous cure from Parkinson’s disease after she prayed to him.

The first non-Italian Pope in 455 years after having been elected to the papacy on Oct. 16, 1978, the Vatican newspaper refers to Saint John Paul II as “a passionate witness to Christ from his childhood to his last breath.”

His pontificate of more than 26 years was the third longest in history. As part of his effort to promote greater understanding between nations and between religions, he undertook numerous trips abroad, traveling far greater distances than had all other popes combined!


Facts

Feastday: October 22
Patron: of World Youth Day (Co- Patron)
Birth: 1920
Death: 2005
Beatified: May 1, 2011 Saint Peter’s Square, Vatican City by Pope Benedict XVI
Canonized: April 27, 2014 Saint Peter’s Square, Vatican City by Pope Francis

Source: Instagram – Archdiocese of Bombay
Source: Instagram – Archdiocese of Bombay
Source: Instagram – Archdiocese of Bombay
Source: Instagram – Archdiocese of Bombay

You’re a Rose

I once heard someone say,
If you don’t change you do not grow,
But I waved the thought away,
For who were they to think they know,
I’d always stayed the same,
A heart that thrived within the cold,
At least that’s what I had been told,
But deep within my mind,
A thought grew slowly, bit by bit,
Until I felt trapped in my skin,
For it no longer seemed to fit,
There’s a whole world sitting out there,
Changing every single day,
That proves it’s nothing to be scared of,
If you do it the right way,
For a day afraid to turn to night,
Will miss the silver moon,
And a flower that refuses to change,
Will never get to bloom,
I had thought I was a thorn bush,
Only good for snagging clothes,
But if you do not dare to change,
You’ll never find out you’re a rose.

~ e.h

Amazing Facts about St. Luke

On October 18, the Church will celebrate the Feast of Saint Luke, one of the four evangelists, or Gospel writers. We will look at five unique facts about Saint Luke, the author of the third Gospel.

Luke was a physician

source: Archdiocese of Bombay (Instagram)

Prior to and during his time as a leader in the early Church, Saint Luke was a medical doctor by trade. In his letter to the Colossians, Saint Paul calls Luke “the beloved physician,” (Colossians 4:14). Luke’s profession as a doctor is even apparent from the way he wrote his Gospel. He includes more miracles of physical healing than do any of the other Gospels (thirteen, compared to twelve in Matthew, eleven in Mark, and only two in John). His description of the sick people whom Jesus cures sometimes displays a knowledge of medicine that is not present in the other Gospels, such as the use of precise medical terms such as “dropsy” (Luke 14: 1-6). In relating the scene in which Jesus cures a woman with a hemorrhage, Luke doesn’t include Mark’s verse that she “had suffered greatly at the hands of many doctors and had spent all that she had. Yet she was not helped but only grew worse,” (Mark 5:26). Perhaps Luke didn’t want to tread on the reputation of his own profession!


Luke’s symbol is the ox

source: Archdiocese of Bombay (Instagram)

In traditional Christian iconography, each of the four Evangelists is represented by a living creature: Matthew’s symbol is an angel or a man, Mark’s is a lion, Luke’s is an ox, and John’s is an eagle. Luke’s symbol is the ox, a creature known for its strength, reliability, and service to mankind. This is fitting because Luke emphasizes Jesus’ role as both priest (the one making the sacrifice) and the sacrifice itself. The third gospel includes much of what we know about the events leading up to Jesus’ birth and childhood (known as the infancy narratives). Very early on in the Gospel, Luke tells the story of Zechariah the priest, the father of John the Baptist, offering sacrifices to God in the temple (Luke 1: 8-9). Luke speaks of Mary’s role in Christ’s life and the sacrifices that she voluntarily made in order to usher in God’s plan of salvation for mankind. This can be seen, for example, when Joseph and Mary present Jesus in the temple as an infant, the prophet Simeon tells Mary that a sword will pierce her heart (Luke 2: 35). All of these sacrificial figures (Jesus, Mary and Zechariah) are symbolized in the ox.


Luke wrote the Acts of the Apostles

source: Archdiocese of Bombay (Instagram)

In addition to composing one of the four Gospels, Saint Luke also wrote the Acts of the Apostles, the book immediately following the Gospels. Although Saint Paul wrote more books, Luke’s two contributions are long enough that they actually make up a greater percentage of the New Testament (about 24%) than those of any other author.

Acts of the Apostles serves as a sort of “Volume Two” to Luke’s Gospel. Both are addressed to Theophilus, and Acts begins by referring back to Luke’s Gospel, calling it “the first book,” (Acts 1:1). The introduction to Acts establishes that the first book (Luke’s Gospel) was about the life, teachings, and miracles of Jesus, while this second book is about the acts of Jesus’ Apostles (hence the title), after His Ascension. Throughout Acts, Luke documents the events of the first few years of the Catholic Church, including the stoning of Stephen, the Church’s first martyr (Acts 6); the council of Jerusalem (Acts 15), in which the Church determined that Gentile converts did not need to become Jewish in order to follow Jesus; and a number of Saint Paul’s missionary journeys. A combination of history, travel log and theology, Acts of the Apostles makes for a fascinating glimpse into the life of the early Church.


Luke was a confidante of the Virgin Mary and an Artist!

Source: Illustrated Prayer website

As mentioned above, each of the four Gospels stresses different themes and facets of Jesus’ life. One of the emphases of Luke’s Gospel is the role of the Virgin Mary. The first two chapters of Luke’s Gospel, comprising a hundred and thirty-two verses, are dedicated to the infancy narratives, of which Mary plays the most central role, besides Jesus. Luke chronicles the archangel Gabriel’s visit to Mary to announce the Good News, Mary’s visit to Elizabeth, the Nativity, the visit of the shepherds, Jesus’ naming and circumcision, Jesus’ conversations in the temple at age twelve, and His family life with Mary and Joseph in Nazareth. The level of detail in Luke’s account of Jesus’ early years has led historians to believe that Luke must have known Mary personally, and heard about these events first-hand from her.

Tradition holds that he was the first one to paint a picture of the Virgin Mary! As the tradition goes, he spent a lot of time with the Virgin Mary at St. John’s house, where he got to know her story and about Jesus from her perspective. Thus, he was able to write Jesus’ infancy narrative that occurs in St. Luke. The tradition further goes that, being an accomplished painter, he painted Our Lady’s portrait, putting Christ as an infant with her, as some of the first church icons.

In addition to the Virgin Mary, Luke also mentions Elizabeth, Simon’s mother-in-law, a mourning widow, a prostitute, women of Galilee who followed Jesus, Jairus’s daughter, a woman with hemorrhages, Martha and Mary, a crippled woman, and Mary Magdalene. In doing this, Luke was highlighting the fact that the Gospel message is meant for the whole human race, men and women alike. While much of the ancient world was male-dominated, Jesus went out of his way to bring God’s love to women, many of whom were among the most forgotten and cast-out members of society. It is because of his emphasis on the Virgin Mary and women in general that Luke has been called the “Marian Gospel,” and the “Gospel of women.”


Luke was a companion of Saint Paul

Illustration by Michael Woodruff

Just as Mary is a central figure in Luke’s Gospel, so also Saint Paul occupies a prominent place in the Acts of the Apostles. Luke chronicles Paul’s conversion to the Catholic faith on the road to Damascus, his interactions with Peter and the other Apostles, and his early missionary journeys. This leads many theologians and scholars to believe that Luke must have been one of Paul’s travel companions. He might even have been Paul’s secretary for a time, since in his Second Letter to Timothy, Paul says, “Luke is the only one with me,” (2 Timothy 4:11). Someone like Paul might have had scribes write out their letters as they dictated them orally, and so it’s possible that Luke took dictation from Paul as his scribe. Even if he didn’t physically accompany Paul on all of his missionary journeys, Luke was at least a close confidante of Paul’s, since he probably would have acquired the details from Paul firsthand.


Luke’s occupation, his acquaintances, and his travels all contributed to the way he wrote Acts and his Gospel. This is just one of many examples of how the Bible is a work fully Divine and fully human. The Holy Spirit inspired each of the inspired writers of the Bible to say exactly what He wanted them to say, for the sake of our salvation. At the same time, each human author was truly an author; his own knowledge, style, background and personality went into his work, just as with any human author. Seeing Luke as the physician, the traveler, the friend of Mary, the companion of Paul – in a word, seeing him as a human being – provides a fascinating insight into his writings. The products of both the Holy Spirit’s inspiration and Luke’s own authorship, his Gospel and Acts give us a unique look at the Gospel message. On his feast day today let us pray for his intercession, that we may know Jesus more fully as the Son of Mary, the sacrificial victim of our sins, and the Divine Physician.