Nitya Raut has Published 271 Articles

How to store array Singleton with Global Context in android?

Nitya Raut

Nitya Raut

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

208 Views

Before getting into example, we should know what singleton design pattern is. A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency and creating a central point of access for an application to access its data store.This example demonstrate ... Read More

C++ Program to Implement Jarvis March to Find the Convex Hull

Nitya Raut

Nitya Raut

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

925 Views

Jarvis March algorithm is used to detect the corner points of a convex hull from a given set of data points.Starting from left most point of the data set, we keep the points in the convex hull by anti-clockwise rotation. From a current point, we can choose the next point ... Read More

C++ Program to Implement Vector in STL

Nitya Raut

Nitya Raut

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

405 Views

Vectors have the ability to resize itself automatically like dynamic arrays when an element is inserted or deleted, the container handle their storage automatically. Vector elements are placed in contiguous storage so that they can be accessed and traversed using iterators. Data can be inserted or erased at the begin, ... Read More

Configuring any CDN to deliver only one file no matter what URL has been requested

Nitya Raut

Nitya Raut

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

79 Views

Use any CDN to deliver your purpose. You can use CloudFlare as a reverse proxy between your users and the CDN to fulfill your purpose.You can also create a rule that redirects whatever you want to index.html. This is how you can what you want considering that CDNs are configured ... Read More

Websocket for binary transfer of data & decode with HTML5

Nitya Raut

Nitya Raut

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

673 Views

Use base64 encode/ decode on client and server. All the web browsers with WebSockets have window.atob (base64 decode) and window.btoa (base64 encode). The WebSockets server has base64 libraries.To transfer binary data, you would be working with wsproxy included with no VNC that is a web based VNC client.The wsproxy is ... Read More

Uniquely identify files before uploading with the HTML5 file API

Nitya Raut

Nitya Raut

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

124 Views

While making a fileuploader using HTML5 file API, we want to be sure that no duplicate files are uploaded based on actual data. Calculating a hash with MD5 is not an efficient method as all that happen on the client side and is time-consuming. There is actually no shortcut for this. If we ... Read More

The register storage class in C++

Nitya Raut

Nitya Raut

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

290 Views

In C, the register storage class specifier indicates to the compiler that the object should be stored in a machine register. The register storage class specifier is typically specified for heavily used variables, such as a loop control variable, in the hopes of enhancing performance by minimizing access time. However, ... Read More

Extracting data from SAP ERP for a Third Party SystemExtracting data from SAP ERP for a Third Party System

Nitya Raut

Nitya Raut

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

220 Views

Let’s talk the standard way - It would be a great option to opt for creating a REST based ODATA services. You can expose the SAP functionalities mainly BAPI or any RFC as a service with SAP gateway. SAP gateway lets applications to exchange data across a variety of technologies ... Read More

OData or Java Services to be consumed by SAP UI5 application

Nitya Raut

Nitya Raut

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

344 Views

Before I make any proposal, I am assuming that you understand both oData and REST very well. REST is a well-known and accomplished architecture style whereas oData is a protocol for communication.OData resides on top of Atompub protocol which in turn is based on REST so overall oData seems to ... Read More

Standards for maintaining Customer Repository Objects in SAP

Nitya Raut

Nitya Raut

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

100 Views

The Y-namespace is meant to be used for centrally developed solutions or also known as head office while the Z-namespace is used for local developed solutions or also known as branch office. But at the end of day, it all depends on the developer how he uses it.

Advertisements