TLC visited STEMland

~Saranya

From TLC around 14 children and one teacher her name is Maya came to visit STEMland.  They wanted to have an idea of how STEMland works and they want to have similar set up to their school. Children were curious about the way we work and the rules we follow.

Fig:1 Playing Games
Fig 2: Solving Cast Puzzle

 

 

 

 

 

 

Children were happy and they were curios to solve puzzles also they followed our STEMland rules. I felt that what they expected that was fullfilled for them on that day (Thursday 11/07/2019)

Inner chamber concentration

~  Abilash , Murali

The  STEM Land team usually does 10 minutes of concentration everyday in the morning as a routine. This Wednesday(10/07/19) as a change we all booked and went to the Matrimandir inner chamber. We did the concentration for about 40 minutes. It was a different opportunity for all of us to visit Matrimandir as team, which made us feel really good.

Individual’s experience

“Though I have gone to Matrimandir many times, going as a team was a different experience, while leaving the chamber I felt good and light.”-Abilash

“I was able to still myself, as I have a connection with the place, it was peaceful for me.” – Naveen

“After the concentration I was able feel the peace and felt more concentrated.” – Prabha karan

“During the concentration, I was able pause my background conversations and move forward.” – Sandhiya

“Initially I felt tired before entering the inner chamber, but after the concentration I felted refreshed and focused.” – Murali

Documentation on fix issue for nltk,nltkdata

To fix the issued and resolve to install nltk and nltk data

Unable to acquire dpkg fronted lock (/var/lib/dpkg/lock-fronted), is another process using it.

 sudo apt-get install python-nltk

E: Could not get lock /var/lib/dpkg/lock-frontend – open (11: Resource temporarily unavailable)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

Step-1

Find and kill all apt process which is running.

               Ps -A | grep apt

Now kill the process using the below commands

             kill -9 processnumber

                                or

             kill -9 SIGKILL processnumber

use this commad,

nltk-> sudo apt-get install python-nltk

nltk data-> sudo python -m nltk.downloader -d /usr/share/nltk_data all

step-2:- Check the location of lock-frontend

ls varlib/dpkg/

step-3 :- Remove the lock-frontend

sudo rm var/lib/dpkg/lock-frontend

step-4:- Verify

ls /var/lib/dpkg/

Refer to this link:  https://curiousviral.com/unable-to-acquire-dpkg-frontend-lock/

Documentation on debugging issue for creating database

While running the crawler code to extract data about the categories(Beauty -> Tools and Accessories  products) in amazon.in,  I had come across the following error. I will be showing what I had done to rectify the error.

runfile(‘C:/Users/Dell/Documents/Quilt/quilt-beauty/quilt-beauty/amazon_beauty_skin_crawler.py’, wdir=’C:/Users/Dell/Documents/Quilt/quilt-beauty/quilt-beauty’)

Error tokenizing data. C error: Expected 7 fields in line 68, saw 8

If you look at the database, the database will be empty.

To look at the database, open the ‘db.sqlite3’ file using DB Browser (SQLite) application.

To rectify the error, we need to open the .csv in a normal word editor e.g. notepad++

You will be able to see the ‘ ” ’ double quotes at the beginning and at the end.

Remove the double quotes and save the text file.

NOTE: If there are already data in the database, to remove the data from the database do the following.

Open the db.sqlite3 file using DB Browser (SQLite) application.

Go to ‘Execute SQL’ tab

Type the following command

delete from file_name

delete from beauty_skin_categories

The above command will delete the data that was present in the database.

To execute the command run the command, click the run button.

After running the command click ‘Write Changes’

Then open Spyder and run the code. This time it should work.

The database for the beauty_skin_categories table will be created.

 

Install Alice3 on Ubuntu 18.04

~Saranya

Alice 3 for Ubuntu 18.04

Step 1: Install oracle JDK (download the .deb file from this link  and inside the link select the  file call Java SE 11.0.3 (LTS) for ubuntu 18.04)

Step 2: Set Path

Type this command in terminal:

sudo nano /etc/profile.d/jdk11.r  then give Enter

It will open a vi file there you type the below line in vi file:

export JAVA_HOME=”/usr/lib/jvm/jdk-11.0.3”

export PATH=”$PATH:${JAVA_HOME}/bin”

Press Control+x to exit the file

Step 3: Check JAVA version:

Command: java -version

Step 4: Make the Alice3 file excutable 

Go to that alice directory and type below command

Command: chmod +x filename then give enter

Step 5:Run the file by using ./filename

How to use Git in Eclipse(Cloning a respiratory)

–  Prabaharan

1.Open your Gitlab

To copy the URL that you want to clone in your local respiratory.

Go to: Project -> Details

Select “Clone” and under “Clone with HTTPS”press on the “copy URL to clipboard”

 

2. Open Eclipse

Go to:  Windows -> Preference -> Open Preferences -> Other

‘Open Properties’ window will pop up

Select ‘Git folder’ in that as shown below and press ‘Open’

‘Source Git Repository’ window will pop up

Paste the copied URL in the URL text box under the ‘Location’ tab

Also provide the ‘User ‘ and ‘Password’ for gitlab.com under the ‘Authentication ‘ tab.

Press Next

‘Branch Selection’ window will pop up

Select the respective branch that you need

Press Next

The directory where the repository to be cloned will be shown.

After that select ‘Finish’

Select the folder which you want to import.

Right click on the folder and select ‘Import Projects’ from the dropdown.

This will lead to location of your local directory.

Click ‘Finish’ to complete.