Set the Font Variant with CSS

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

112 Views

To set the font variant, use the font-variant property. Set the font to small-caps and normal. You can try to run the following code to set the font-variant to small-caps with CSS − This text will be rendered as small caps

Optimize Python Dictionary Memory Usage

Samual Sam
Updated on 30-Jul-2019 22:30:22

719 Views

There are some cases where you can simply avoid using dictionaries in Python. For example, if you're creating a dict of continuous integers to some values, consider using a list instead.If you're creating string-based keys, you might be better off using a Trie data structure(https://en.m.wikipedia.org/wiki/Trie).There are other cases where you can replace the use of dicts by some other less memory intensive data structure.But you need to understand that at some places, you have to use a dict as it helps in optimization. The python dict is a relatively straightforward implementation of a hash table. This is how hash tables ... Read More

Error in SAP HANA Modeling with Schema

John SAP
Updated on 30-Jul-2019 22:30:22

326 Views

When you use object of a schema to build HANA modeling views then it’s necessary to grant _SYS_REPO the SELECT WITH GRANT privilege on this schema. You need to execute the following:GRANT SELECT ON SCHEMA "" TO _SYS_REPO WITH GRANT OPTIONTo use tables from one Schema to create views we should provide access on the Schema to the default user who runs all the Views in HANA Modeling._SYS_REPO user is responsible for activating models and creating the required runtime objects from them. This is the reason you need to provide user _SYS_REPO to select objects in tables and views in ... Read More

What are Character Entities in HTML5

Samual Sam
Updated on 30-Jul-2019 22:30:22

171 Views

Some characters are reserved in HTML5. For example, you cannot use the greater than and less than signs or angle brackets within your text because the browser could mistake them for markup.HTML5 processors must support the five special characters listed in the table that follows.SymbolDescriptionEntity NameNumber Code"quotation mark""'apostrophe''&ersand&&greater-than>>

Split Python Dictionary into Multiple Keys Dividing Values Equally

Samual Sam
Updated on 30-Jul-2019 22:30:22

939 Views

Very use case specific: https://stackoverflow.com/questions/30447708/split-python-dictionary-into-multiple-keys-dividing-the-values-equally

Why C++ Uses Header Files and CPP Files

George John
Updated on 30-Jul-2019 22:30:22

3K+ Views

C++ has header and .ccp files for separating the interface from the implementation. The header files declare "what" a class (or whatever is being implemented) will do, ie the API of the class, kind of like an interface in Java. The cpp file on the other hand defines "how" it will perform those features, ie, the implementation of these declared functionality.This reduces dependencies. The code that uses the header doesn't need to know all the details of the implementation and any other classes/headers needed only for that. It just needs to focus on things it is trying to implement. This ... Read More

Use of Statistics Service in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:22

664 Views

In SAP HANA system, you use statistics serve as a key to internal monitoring infrastructure. You will be notified when a critical alert raised in your HANA environment and you can also get all the historical monitoring data for analysis.Statistical Server is responsible for collecting the data related to system resources, their allocation, and consumption of the resources and overall performance of HANA system.For more details, you can refer our SAP HANA core architecture topichttps://www.tutorialspoint.com/sap_hana/sap_hana_core_architecture.htm

Multiple Java Files

Mohammad Mohtashim
Updated on 30-Jul-2019 22:30:22

463 Views

You can use Advanced IDE to use multiple files. Here is the link:https://www.tutorialspoint.com/online_java_compiler.php

Execute Script When Web Storage Area is Updated in HTML

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

163 Views

Use the onstorage attribute in HTML to execute on Web Storage area update. You can try to run the following code to implement onstorage attribute − Example HTML onstorage Welcome Demo text

What is a Translation Unit in C++?

Srinivas Gorla
Updated on 30-Jul-2019 22:30:22

3K+ Views

A translation unit is any preprocessed source file.A translation unit is the basic unit of compilation in C++. This unit is made up of the contents of a single source file after it passes through preprocessing. It contains included any header files without blocks that are ignored using conditional preprocessing statements like ifdef, ifndef, etc.A single translation unit can be compiled into an object file, library, or executable program.

Advertisements