Laytest updates

parent 75873e07
......@@ -63,16 +63,22 @@ default_category: uncategorized
category_map:
tag_map:
search:
path: search.xml
field: post
format: html
limit: 10000
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
date_format: DD/MM/YYYY
time_format: hh:mm A
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
per_page: 5
pagination_dir: page
# Extensions
......
This diff is collapsed.
......@@ -14,7 +14,7 @@ The 90% percentile line is where the response time fall under the smallest range
1. Sort your transactions by response time
2. Remove 10% highest time taking transaction
3. Now the transactions left are your 90 percentile values.
<!-- more -->
## Example
Lets consider we fire 10 threads for a transaction which gives us values as below
......
......@@ -12,7 +12,7 @@ tags:
Armstrong numbers also known as narcissistic numbers.
Armstrong numbers are the sum of their own digits to the power of the number of digits.
<!-- more -->
```
153 = (1*1*1) + (5*5*5) + (3*3*3)
```
......
......@@ -9,7 +9,7 @@ tags:
### Summary
My first blog in 2008-09 that was for sharing Software/Movies/Music/Ebooks information as RohanzShare was made up using Blogger.com which ran for couple of years well giving me good visitors.
<!-- more -->
Later I planned for creating blog for sharing my personal experience be it learning, code, anything with everyone which was active till I got in love with [Static Site Generators](https://www.staticgen.com/) like [Jekyll](https://jekyllrb.com), [Hexo](https://hexo.io) etc.
Also, I have built a PHP based site in 2011 that shared my codes and projects information with everyone, but due to lost of one of my server, I lost a huge amount of data in it. So now to get things back on track I like everything to be committed that is not only available to me but to everyone.
......
......@@ -11,7 +11,7 @@ tags:
# Information
One of the main factor for responsive website development is developing css for multiple screen devices. Often it becomes difficult when we have so many set of devices and different set of dimension to each of those device, what dimensions we should fit. There are many answers already available on internet via css-tricks, stackoverflow etc.
<!-- more -->
If you are looking for quite a standard and less complex solution, below listed media queries are best fit, as we have been using them for quite a good projects and have achieved decent solution.
# Code
......
......@@ -12,7 +12,7 @@ tags:
In-order to convert from Celsius to Fahrenheit, we have to apply a simple logic onto Celsius "Multiply by 9, then divide by 5, then add 32".
Our code provides a simple GUI, where the user has to enter the temperature in Celsius and after clicking on convert displays the Fahrenheit temperature below button in the form of JLabel.
<!-- more -->
The Class has been designed by extending JPanel which can be called from other classes and added onto the JFrame for displaying.
### Screenshot
......
......@@ -14,11 +14,12 @@ In-order to convert from Fahrenheit to Celsius, we have to apply a simple logic
Our code provides a simple GUI, where the user has to enter the temperature in Fahrenheit and after clicking on convert displays the Celsius temperature below button in the form of JLabel.
<!-- more -->
The Class has been designed by extending JPanel which can be called from other classes and added onto the JFrame for displaying.
### Screenshot
![Calculate Fahrenheit to CelsiusTemperature in Java](/images/output_fahrenheit_celsius_java.jpg)
![Calculate Fahrenheit to Celsius Temperature in Java](/images/output_fahrenheit_celsius_java.jpg)
### Code
......
......@@ -11,7 +11,7 @@ tags:
### Summary
This is a simple Calculator developed using Java Servlets, so it uses the form type in html & uses regex for validating the numerical values.
<!-- more -->
### Code
```java
......
......@@ -13,7 +13,7 @@ tags:
One of the most basic starters program for demonstrating the proper use of Sockets in Java. <br />
The following code makes use of Swing components to illustrate the Client GUI side and the Server side plays the role in Console mode.
<!-- more -->
### How it works?
1. Firstly, you need to start the server.
......
......@@ -10,7 +10,7 @@ tags:
### Summary
This program converts Integer number received from user and displays the binary form of that integer number onto the screen.
<!-- more -->
_This program explains the logic, but Java also provides in-built methods in java.lang package, which can be directly used in bigger projects._
### Example
......
......@@ -10,7 +10,7 @@ tags:
### Summary
The following program will help us create a web service which can be called via HTTP calls from any language example Java application that can be a mobile app, desktop app or web app.
<!-- more -->
**Goal is to retrieve data stored on a server**
We will consider an example of a database having information of teachers.
......
......@@ -12,11 +12,11 @@ tags:
### Summary
So by starting as a simple post toward my contribution for programming, lets see how messages can be displayed in different programming languages.
### Hello World in "C"
Using the `printf()` function from `stdio.h` library we write the following instructions for computer to print a message "Hello World
<!-- more -->
```c
#include<stdio.h> //including Header File
/**
......
......@@ -10,7 +10,7 @@ tags:
### Summary
This is another algorithm which can be used to draw a line and this algorithm is better and gives a more accurate output than DDA algorithm we previously discussed
<!-- more -->
This is another example shown in Computer Graphics using C Language
### Code
......
......@@ -12,7 +12,7 @@ tags:
This is a computer graphics related algorithm that draws line using graphics in C language.
Using this algorithm we won't get the exact required line, there are in-built graphics functions present in graphics.h header that gives a more better line.
<!-- more -->
But in-order to master algorithms we need to get a start with whatever we can learn with.
......
......@@ -10,7 +10,7 @@ tags:
### Summary
Email Validator Program developed using pure Object Oriented Programming & String handling in Java during college days as an assignment.
<!-- more -->
### Ability of Validating
#### Username
......
......@@ -10,7 +10,7 @@ tags:
### Summary
Simple program to get factorial number of any desired number by user.
<!-- more -->
The following code makes use of a function and with the help of loops and other variables returns the calculated Factorial value of the number.
### Screenshot
......
......@@ -10,7 +10,7 @@ tags:
### Summary
In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.
<!-- more -->
### Example
```
......
......@@ -10,7 +10,7 @@ tags:
### Summary
The following is a simple example on how to read & write data from a file.
<!-- more -->
For Writing data we need following objects
```
......
......@@ -12,7 +12,7 @@ tags:
This is a funny time-pass program.
Give any input and check the output given there.
<!-- more -->
Idea taken from: mycfiles.com
### Code
......
......@@ -11,7 +11,7 @@ tags:
### Summary
Get On D (The) Line, just a phrase from the movie "[Internship](http://www.theinternshipmovie.com/)" which I have seen quite ago reminds me of the app they wanted to build for the competition with a catchy phrase "Get On The Line" something like Instagram does but the exact moment we click it and gets on the line. I don't want to get into the movie talks, but what I want to bring your focus is Get Your Self On The Line now.
<!-- more -->
As a programmer/developer there are tons of ways you can build up your rapport which can help you get a good job, the best way known till date was doing an outstanding project in final year, present the same in interview on which you will be judged, but talking the truth not all actually do the project truly and try to make up a fake impression and get the job, but as always private firms needs result the candidate gets proved wrong and woooo the candidate is out. This trend of interviewing and assuming what skills a candidate can possess is moving from a piece of paper (we call[Résumé](http://en.wikipedia.org/wiki/R%C3%A9sum%C3%A9)) towards the Online Platform.
Now being in a rapid generation where people think twice before spending any of their time it becomes easy reading stuff online and navigating quickly with few clicks. These clicks are soon going to have capability of judging a candidate based on statistics which is actually going to save lots of time as well as money for any corporation. Who these people are? No other the job portals and recruiting vendors with an advance sophisticated software that helps judge a candidate based on various points, it will also give a comparable display between two candidates if judging gets confused. Companies into Talent Management are trying to provide advanced recruiting application to ease out their work as well as save lots of $$$'s
......
......@@ -13,7 +13,7 @@ tags:
This is an example displaying the usage of JList Swing Component Demo
Here we made a list with 3 Strings and added a display button which shows which of the list value is selected. We also made use of new Dialog box i.e. ConfirmDialogBox and also we made use of JApplet this time & not a JFrame. So inorder to initialise all the components we made use of its init() method which is called first when its loaded
<!-- more -->
### Code
```java
......
......@@ -10,7 +10,7 @@ tags:
# JMeter
The **[Apache JMeter](https://jmeter.apache.org/index.html)**™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance.
<!-- more -->
# What You Can Do?
Originally it was designed for Web Application testing but now it supports many more things, but that does not limit for something that could be missing,
......
......@@ -11,7 +11,7 @@ tags:
### Summary
This is an example displaying the usage of JTree Swing Component, how the default mutable nodes work, we can get their path using the TreePath class and hence we can form an heirarchical tree which on click displays the path of the node being selected.
<!-- more -->
### Code
```java
......
......@@ -13,7 +13,7 @@ tags:
JTree is a control that displays a set of hierarchical data as an outline.
We will use it as a menu to navigate through various small applications we made previously.
<!-- more -->
The tree will basically contain each program as a node when selected using mouse, that particular program is displayed onto the JFrame.
Programs used in this code are already being posted before for practice, I will name the Class & the link to find the class
......
......@@ -11,7 +11,7 @@ tags:
### Summary
This is a [socket program](https://en.wikipedia.org/wiki/Network_socket), it consists of Server side program & client side program.
<!-- more -->
_Server will provide web service for validating the number is prime or not and returns true or false._
_Client sends the integer number to the server & gets the respond accordingly._
......
......@@ -14,7 +14,7 @@ Most asked question during your interviews, different between
String s1 = "abc";
String s2 = new String("abc");
```
<!-- more -->
Here **s1** string is called as Java String Literal which is created in Heap Space and maintained in a shared memory pool, whereas **s2** string is regular Java String Object created in Heap memory and has nothing to do with shared memory.
In the above scenario, **s1** is literal string and hence if there are same literals available in shared memory pool, then the same is preferred and no new instance is created unlike string **s2** since its an object, so everytime you create the same string object, it will always create a new String Object in memory making in less memory efficient. Refer to below diagram to understand in depth.
......
......@@ -10,7 +10,7 @@ tags:
### Summary
This is a small project quickly made by me after seeing link shortners on web.
<!-- more -->
We require only three files for our small project
1. index.php
......
......@@ -11,7 +11,7 @@ tags:
### Summary
This is a small JAVA Swing GUI login validation program which takes username & password from user and compares with the default values pre-defined. If successful then shows success dialog box else shows failed dialog box.
<!-- more -->
Various swing components are used in making of this program and specially JPasswordField() is the class used to display a password textfield.
### Code
......
......@@ -10,7 +10,7 @@ tags:
### Summary
This is an algorithm for Computer Graphics using C Language to draw a circle using the Midpoint Circle Algorithm
<!-- more -->
### Code
```cpp
......
......@@ -10,7 +10,7 @@ tags:
### Summary
Moving Stickman code in C Language using **Visual Studio**.
<!-- more -->
Customized functions for Visual Studio 2010 to act same as Turbo C
> `textcolor()` "Changes text color"
......
......@@ -9,7 +9,7 @@ tags:
### Summary
For me going school was just a regular day with no path why we are doing this until I met Claira Miss, in sixth standard, where I learnt importance of education and started scoring good since sixth standard but the path was not clear yet. Why are we studying, it was regular mugging up and scoring goods.
<!-- more -->
Till seventh Claira Miss boosted a lot of performance in me and she had to leave due to personal reasons which again made me lost in eight standard with no guide around me, I tried approaching to ASP during my 8th standard but due to less seats I was unfortunate. But I tried it again during my 9th standard and got admission with “**Amul Sir’s Private Tutorials**” where the journey began.
![Amul Sirs Private](/images/asp_banner2.png)
......
......@@ -13,7 +13,7 @@ tags:
## Summary
I always wonder how several plugins host their pages on GitHub and never realized that actually, those were GitHub pages, thanks to GitLab Pages and their blogs & obviously well documentation helped me understand quite easily what these blog-aware static websites are and also helped me get started with it quite easily.
<!-- more -->
## Static Site Generators
This hosted pages are mostly generated with the help of Static Site Generators, there are several such tools available which are developed in Ruby, NodeJS, Go and many more different languages.
......
......@@ -13,6 +13,7 @@ Regular working with arbitrary number is usually a tough job, normally for gener
**GMP** is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers.
<!-- more -->
GMP functions allow you to work with arbitrary-length integers using the GNU MP library.
You may need to do the initializations of GMP onto the server side if it don't work directly, read on php.net for it.
......
......@@ -10,7 +10,7 @@ tags:
### Summary
In mathematics, Pascal's triangle is a triangular array of the binomial coefficients in a triangle. It is named after the French mathematician, Blaise Pascal in much of the Western world, although other mathematicians studied it centuries before him in India, Greece, Iran, China, Germany, and Italy.
<!-- more -->
The rows of Pascal's triangle are conventionally enumerated starting with row n = 0 at the top. The entries in each row are numbered from the left beginning with k = 0 and are usually staggered relative to the numbers in the adjacent rows ([read more](https://en.wikipedia.org/wiki/Pascal%27s_triangle))
### Screenshot
...