Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Why is Wuthering Heights a classic Victorian novel?
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 MoreHow to remove shadow below action bar in Android?
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 MoreAre punctuation marks a guide to good communication?
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 MoreWhat is the difference between on, over, and above?
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 MoreHow do I add to each row in MySQL?
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 MoreWhat is the famous poem Kubla Khan all about?
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 MoreWhen are you supposed to leave a job?
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 MoreAre quotes around tables and columns in a MySQL query really necessary?
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 MoreLazy loading of images in table view using Swift
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 MoreHow to verify enter number is phone number or not using regex in android?
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