Articles on Trending Technologies

Technical articles with clear explanations and examples

Why is Wuthering Heights a classic Victorian novel?

Ridhi Arora
Ridhi Arora
Updated on 30-Jul-2019 4K+ Views

Victorian writers were focusing on the dialogue and immediate action was witnessed by Wuthering Heights because it was tagged as a ‘rude’ and ‘coarse‘ piece of writing. Later commentators like C.P. Sanger in his famous essay, The Structure of Wuthering Heights, published in 1926, demonstrated in detail the accuracy of novel’s time scheme, topography, legal processes, and the strange symmetry of the family tree.Wuthering Heights As A ClassicWuthering Heights is not only a classic novel but also a pioneering text of the Gothic genre. It feels chaotic human emotions, with realness mixed with themes of death and supernatural events. Even ...

Read More

How to remove shadow below action bar in Android?

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 2K+ Views

By default, android provides shadow for action bar. This example demonstrates How to remove shadow below the action bar.Step 1 - Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 - Add the following code to res/layout/activity_main.xml.     Step 3 - Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; public class MainActivity extends AppCompatActivity {    int view = R.layout.activity_main;    TextView text;    @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)    @Override    protected void onCreate(Bundle savedInstanceState) ...

Read More

Are punctuation marks a guide to good communication?

Ridhi Arora
Ridhi Arora
Updated on 30-Jul-2019 395 Views

Punctuation marks date back to at least the 5th century BC when there were hardly any insights to writing and there were only capital letters. While the basic rules of communication are not difficult to understand, still a confusion always bothers us during our interaction using British English or American English.Uses of Punctuation MarksThey help us in depicting our emotions in a better manner.Quotation marks to emphasize words and phrases.Quotation marks are used for purposes of dialogue, quotes, and titles.Comma, semicolon are also used to denote minor pauses while sleeping.Ellipses indicate the omission of words within something that is being quoted.Punctuation ...

Read More

What is the difference between on, over, and above?

Vihan Rodrigues
Vihan Rodrigues
Updated on 30-Jul-2019 6K+ Views

All these are prepositions and impart a sense of being something on the top of some other object. Therefore, we can say that all of them have a similar meaning-not largely but at least to some extent. However, similar meaning yet varied definitions still confuse many learners. So, here I explain the correct and simple definition along with the usage of these three confusing words.1. OnDefinition: Having covered something; part of the surfaceA simple definition of ‘On’ is-One thing is covering the other. Generally, it touches the other object or its surface. Also, it can a part of the surface in ...

Read More

How do I add to each row in MySQL?

George John
George John
Updated on 30-Jul-2019 590 Views

You can add a value to each row in MySQL using UPDATE command.Let us see when your column is an integer. The syntax is as follows:UPDATE yourTableName SET yourIntegerColumnName = yourIntegerColumnName+anyValue; UPDATE yourTableName SET yourIntegerColumnName = anyValue WHERE yourIntegerColumnName IS NULL;You can add a value for a date column name. The syntax is as follows:UPDATE yourTableName SET yourDateColumnName = DATEADD(yourDateColumnName, INTERVAL anyIntegerMonth)To understand the above syntax, let us create a table. The query to create a table is as follows:mysql> create table addEachRowValue    -> (    -> Id int NOT NULL AUTO_INCREMENT,    -> Amount int,    -> ShippingDate ...

Read More

What is the famous poem Kubla Khan all about?

Ridhi Arora
Ridhi Arora
Updated on 30-Jul-2019 581 Views

Kubla Khan is one of the most famous poems written by Samuel Taylor Coleridge. Coleridge who was a Romantic poet and became immortal after writing this unique poem.Summary of 'Kubla Khan'The speaker starts by describing the setting of Emperor Kubla Khan's palace as a "pleasure dome." He tells us about a river that runs across the land and then flows through caves into the sea. He also describes the fertile land surrounding the palace. There is a vivid description of a nearby area all covered in streams, trees, and beautiful forests. He also describes how a river leaps and smashes ...

Read More

When are you supposed to leave a job?

Vihan Rodrigues
Vihan Rodrigues
Updated on 30-Jul-2019 178 Views

This is not true that everyone leaves a job in frenzy. Sometimes things in personal and professional life go asymmetrical and one has to leave a job. However, champions know how and when to leave a job. Let’s know about it:The Gallop Poll happened in 2014 reveals that 68% of employees are not actively attached to their workplace. You will be surprised to know that many companies including MNCs have dissatisfied employees. Is being unhappy at work a reason to quit a job? Or Don't you consider leaving a job a personal failure?Seth Godin in his book ‘The Dip’ mentions, ...

Read More

Are quotes around tables and columns in a MySQL query really necessary?

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 504 Views

If your table name or column name are any reserved words then you need to use quotes around table name and column name in a MySQL query. You need to use backticks around table name and column name. The syntax is as follows:SELECT *FROM `table` where `where`=condition;Here is the query to create a table without quotes with reserved words. You will get an error since they are predefined reserved words. The error is as follows:mysql> create table table    -> (    -> where int    -> ); ERROR 1064 (42000): You have an error in your SQL syntax; check ...

Read More

Lazy loading of images in table view using Swift

George John
George John
Updated on 30-Jul-2019 1K+ Views

To load an image in table view cell we’ll go through a series of steps.Create a table view, table view cell and add an Image view to it.Assign a custom class to the cell we created.In the cell for row at method write the following lines of code.let cell = tblView.dequeueReusableCell(withIdentifier: "CustomCell") as! CustomCell return cellTo download the image we’ll create a function and embed that into an extension.func setImageFromUrl(ImageURL :String) {    URLSession.shared.dataTask( with: NSURL(string:ImageURL)! as URL, completionHandler: {       (data, response, error) -> Void in       DispatchQueue.main.async {          if let ...

Read More

How to verify enter number is phone number or not using regex in android?

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 2K+ Views

This example demonstrates how to verify enter number is phone number or not, using regex in android.Step 1 - Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 - Add the following code to res/layout/activity_main.xml.         In the above code, we have taken Edit text and text view. when the user clicks on text view, it will take data from edit text and valid the data.Step 3 - Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; ...

Read More
Showing 60641–60650 of 61,297 articles
Advertisements