Arjun Thakur has Published 1109 Articles

Why do integers in database row tuple have an 'L' suffix in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

238 Views

The ‘L’ suffix concept in MySQL can be related with Python. In Python 2, the long integer literal is suffixed with L or l, but int and long have been binded into int in version 3. Therefore, there is no need for L or l. Adding large numbers in Python ... Read More

Explain C# Substitution in regular expression

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

157 Views

A regular expression is a pattern that could be matched against an input text. There are various categories of characters, operators, and constructs that let’s you to define regular expressions. Substitutions are used in replacement patterns. The following table lists the substitutions. ... Read More

Thread-Safe collections in C#

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

657 Views

The .NET Framework 4 introduced System.Collections.Concurrent namespace. The namespace has numerous collection classes. These classes are both thread-safe and scalable. Multiple threads can safely add or remove items from these collections, The following concurrent collection types use lightweight synchronization mechanisms: SpinLock, SpinWait, etc. These are new in .NET ... Read More

What is the difference between BIT and TINYINT in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

610 Views

BIT can be used to store the value of 1 bit. It could be 0 or 1. We cannot store, for example 2 with data type BIT. If we try to insert 2 with BIT data type, MySQL raises an error. TINYINT can be used to store value of 8 ... Read More

Background ListView becomes black when scrolling in Android?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

217 Views

Before getting into listview example, we should know about listview, Listview is a collection of items pulled from arraylist, list or any databases. Most uses of listview is a collection of items in vertical format, we can scroll up/down and click on any item. Here is the simple solution ... Read More

Passband Transmission

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

4K+ Views

In passband transmission, the amplitude, phase or frequency of the carrier signal is regulated to transmit the bits. The incoming data stream is modulated onto a carrier and then transmitted over a band-pass channel. The types of passband transmission are illustrated as − Amplitude Shift Keying (ASK) In ASK, ... Read More

How to convert a string to date in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

8K+ Views

We can convert a string to date with the help of STR_TO_DATE() function. Let us see an example. Creating a table. mysql> create table StringToDateDemo -> ( -> YourDate varchar(100) -> ); Query OK, 0 rows affected (0.49 sec) ... Read More

Can someone give one exact example of webview implementation in android

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

204 Views

Before getting into webview implementation we should know what is webview. Webview is a extended of a view and it is used to show HTML content or web pages.Methods are available in webview.clearHistory() − it is used to clear webview historydestroy() − It is used to destroy internal state of ... Read More

Pass array to MySQL stored routine?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

4K+ Views

We need to create a stored procedure to display how to pass array to MySQL stored routine. Let us first create a table for our example. Creating a table mysql> create table FindDemo -> ( -> name varchar(100) -> ); ... Read More

Infrared Transmission

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

2K+ Views

Infrared waves are those between the frequencies 300GHz and 400THz in the electromagnetic spectrum. Their wavelengths are shorter than microwaves but longer than visible light. Infrared propagation is line of sight. They cannot penetrate walls and sun’s infrared rays interfere with these rays. So cannot be used for long – ... Read More

Advertisements