Tuesday, June 11, 2019

Export References / Bibliography from word file for bibtex and other formats

Using the references written in a MS word file in some other tool/file is a cumbersome task. You make it easy by exporting that bibliography from your word file to '.bib'. '.bib' may be used for any tool / word file thereafter and is completely editable. There is a particular site that can be used for exporting bibliography or references written in MS Word document in all popular biblio formats. For this follow the following steps:

1. visit http://eewoww.com/

2. Sign up for a free account there

3. login to your account, you will get the following screen:




4. Now copy all the references from your word file.

5. come back to your account web page and select "Add" button from the centre top tab.

6. Select the option "      "

7. A blank tab will open, paste your copied references there and proceed. 

it will import all the bibliographic information for all the citations in couple of minutes (depends on number of references being exported).

8. Give a check to the bibliographic information imported and press export button after selecting all the papers in the list to bet .bib or ris file.




Monday, December 3, 2018

Missing "Reference" heading for bibliography section in the pdf file generated through Latex

This is post is regarding missing "Reference" heading for bibliography section in the pdf file generated through Latex file typed in texstudio. Following is the screenshot:



Following may be the lines of script in your latex file:

\bibliographystyle{elsarticle-harv}
\bibliography{mycollection}

--------------------------------------------------------------------------------

Solution:

you need to add a small code line before calling the bibliography style, as following

\newcommand{\bibsection}{\section*{\refname}}

it will make the heading working for your pdf file.



I hope it will help. Happy Latexing...............

Sunday, October 21, 2018

How to add Sub-figure in Latex

Latex is a great tool to document the research papers. Although it struggles with some manual function coding but still is wonderful to maintain formatting of the document better than MS Word and other similar editors. This post talks about adding subfigures in the figure tab (acc. to following example) of the Latex.


\begin{figure}[b!]
\centering

\begin{subfigure}{0.3\textwidth}
\includegraphics[width=\linewidth]{ar1.jpg}
\caption{Forged Image}
\end{subfigure}

\begin{subfigure}{0.29\textwidth}
\includegraphics[width=\linewidth]{ar2.jpg}
\caption{Original Image}
\end{subfigure}

\caption{Another example of Digital Image Forgery}
\label{fig:figex2}

\end{figure}

The code will make the things possible by using \begin{subfigure}------\end{subfigure} block. you can even create reference to a particular sub figure in the image. i have mentioned that in my another post.

Happy Latexing........ 

Wednesday, January 27, 2016

Stuck at Grub Rescue (grubrescue> ) ; no filesystem found

if you are stuck at booting in ubuntu due to some file system miss management and prompted with command promptin a dual boot system (windows & linux)

"grubrescue>"

what to do ?

you may need to follow some simple steps:

1. you may get a list of available partitions by typing command "ls" and then enter, you may get a list like following


2. Now you have to find your linux partition. for that you may go with command " ls (hd0,msdos7)/ " or  just "ls (hd0,7)/". you will get list of directories only for linux partition for all other partitions you will get error like "no file system found".

3. After finding linux partition you need to set linux partition as prefix and set its mode to normal. you may write the command statements as following:

 4. In case you get some error (unable to find HDD), while setting mode to normal you may write it like:
 5. You will be taken back to normal boot screen of ubuntu. but you need to perform the above set of operations on every boot, which is not a good choice :) so just login to ubuntu and reinstall the grub loader.
restart the system and enjoy.

I hope it will help you out. :)

Monday, July 27, 2015

Recover from Purple Screen after installing Graphics Driver in Ubuntu 14.04

I have read a number of posts regarding graphics driver problems with Ubuntu (specially NVIDIA) . If you fail to install appropriate "supporting" driver for your graphics, the ubuntu may hold on Purple screen after initial boot and hangs.

to recover from the situation you may roll back the installation as follows:

1. reboot system

2. hold right shift to go for boot selection of ubuntu and then choose the recovery mode

3. after you get displayed with some options go for the root shell

4. mount the files system to access by using following command

mount -o remount rw /

5. uninstall all nvidia drivers installed by using

sudo apt-get remove --purge nvidia--*

6. Reboot system

hope you will boot with generic graphics driver.


Friday, February 26, 2010

Secure PDF? (Crack it)

Adobe has provided a security feature for .pdf files, which may implement various restricitions on a .pdf file. By Enabling this security a user can restrict copy, print, save of .pdf file by supplying password.

Security can be applied and revoked in professional version of Adobe reader.

in case, you want to crack this security without professional version or you have forgot password for .pdf document, then you need some other specialized software for this.

one of such software is available with .

A seven trial will be available there. After installing this, you
can remove security restrriction, just by right clicking on file and selecting the "Remove Security" option.

Crackkkkk Ittttt...........

Sunday, October 25, 2009

Thursday, July 16, 2009

How to enable the Security Tab in Properties window

Windows XP and other new operating systems support NTFS. NTFS provides a great security level upto files. you may protect your files, directories and drives by making them private or unaccessible for other users. for this you need a security option in properties of any folder/directory/drive which is not enab;ed by default. to enable it use following simple steps:

For security settings you need drive with NTFS support. if it is FAT then convert it by using "Convert" Command. Convert Command can be used as:




1. Open My Computer
2. Select Tools>>Folder Options.
3. Select View Tab
4. In View Tab Select Advanced (If given), otherwise uncheck the "simple file sharing(Recommended)" option from the options given below in dialog box or advanced dialog box(if it is available).
5. Click OK.

Security Tab is available now and you can appy security settings.

How to make the Drive/Folder/File Private in Windows XP

Windows XP or the operating systems supporting NTFS may provide a file level security. you can make the drives, folders and files unaccessible in other accounts. For this here are some very simple steps:
1. Right Click on the Folder/Drive/File , that you want to make private.
2. Select the Properties.
3. Select the Security Tab from the dialog Box opened. (If there is no such tab then enable it by using steps given other blog entry)
4. In the security tab remove the users that you dont want to permit to see those files(Do not Remove Administrators and system Users).
5. Remove the Authenticated users also (this group contain all users(limited and simple)).
Now your folder/file/drive is private and no other user can access it.

Monday, March 30, 2009

Difference in 568A and 568B (Method to make Cross & Straight Cable)




If both the ends will have same standard then cable is "Straight Cable" otherwise it is a "Cross Cable"

Thursday, January 15, 2009

Different Hardware Components

A typical personal computer consists of a case or chassis in a tower shape (desktop) and the following parts:

Motherboard

  • Motherboard - It is the "body" or mainframe of the computer, through which all other components interface.
  • Central processing unit (CPU) - Performs most of the calculations which enable a computer to function, sometimes referred to as the "backbone or brain" of the computer.
    • Computer fan - Used to lower the temperature of the computer; a fan is almost always attached to the CPU, and to the back of the case, also known as the 'muffin fan'.
  • Firmware is system specific read only memory.
  • Internal Buses - Connections to various internal components.
  • External Bus Controllers - used to connect to external peripherals, such as printers and input devices. These ports may also be based upon expansion cards, attached to the internal buses.

Power supply

A case control, and (usually) a cooling fan, and supplies power to run the rest of the computer, the most common types of power supplies are mechanic shed (old) but the standard for PCs actually are ATX and Micro ATX.

Video display controller

Produces the output for the visual display unit. This will either be built into the motherboard or attached in its own separate slot (PCI, PCI-E, PCI-E 2.0, or AGP), in the form of a graphics card.

Removable media devices

  • CD (compact disc) - the most common type of removable media, inexpensive but has a short life-span.
    • CD-ROM Drive - a device used for reading data from a CD.
    • CD Writer - a device used for both reading and writing data to and from a CD.
  • DVD (digital versatile disc) - a popular type of removable media that is the same dimensions as a CD but stores up to 6 times as much information. It is the most common way of transferring digital video.
    • DVD-ROM Drive - a device used for reading data from a DVD.
    • DVD Writer - a device used for both reading and writing data to and from a DVD.
    • DVD-RAM Drive - a device used for rapid writing and reading of data from a special type of DVD.
  • Blu-ray - a high-density optical disc format for the storage of digital information, including high-definition video.
    • BD-ROM Drive - a device used for reading data from a Blu-ray disc.
    • BD Writer - a device used for both reading and writing data to and from a Blu-ray disc.
  • HD DVD - a high-density optical disc format and successor to the standard DVD. It was a discontinued competitor to the Blu-ray format.
  • Floppy disk - an outdated storage device consisting of a thin disk of a flexible magnetic storage medium. Used today mainly for loading RAID drivers.
  • Zip drive - an outdated medium-capacity removable disk storage system, first introduced by Iomega in 1994.
  • USB flash drive - a flash memory data storage device integrated with a USB interface, typically small, lightweight, removable, and rewritable.
  • Tape drive - a device that reads and writes data on a magnetic tape, used for long term storage.

Internal storage

Hardware that keeps data inside the computer for later use and remains persistent even when the computer has no power.

  • Hard disk - for medium-term storage of data.
  • Solid-state drive - a device similar to hard disk, but containing no moving parts and stores data in a digital format.
  • RAID array controller - a device to manage several hard disks, to achieve performance or reliability improvement in what is called a RAID array.

Sound card

Enables the computer to output sound to audio devices, as well as accept input from a microphone. Most modern computers have sound cards built-in to the motherboard, though it is common for a user to install a separate sound card as an upgrade. Most sound cards, either built-in or added, have surround sound capabilities.

Networking

Connects the computer to the Internet and/or other computers.

  • Modem - for dial-up connections or sending digital faxes. (outdated)
  • Network card - for DSL/Cable internet, and/or connecting to other computers, using the Ethernet cord.
  • Direct Cable Connection - Use of a null modem, connecting two computers together using their serial ports or a Laplink Cable, connecting two computers together with their parallel ports.

Other peripherals

In addition, hardware devices can include external components of a computer system. The following are either standard or very common.

Includes various input and output devices, usually external to the computer system

Input

  • Text input devices
    • Keyboard - a device to input text and characters by depressing buttons (referred to as keys), similar to a typewriter. The most common English-language key layout is the QWERTY layout.
  • Pointing devices
    • Mouse - a pointing device that detects two dimensional motion relative to its supporting surface.
    • Optical Mouse - a newer technology that uses lasers, or more commonly LEDs to track the surface under the mouse to determine motion of the mouse, to be translated into mouse movements on the screen.
    • Trackball - a pointing device consisting of an exposed protruding ball housed in a socket that detects rotation about two axes.
  • Gaming devices
    • Joystick - a general control device that consists of a handheld stick that pivots around one end, to detect angles in two or three dimensions.
    • Gamepad - a general handheld game controller that relies on the digits (especially thumbs) to provide input.
    • Game controller - a specific type of controller specialized for certain gaming purposes.
  • Image, Video input devices
    • Image scanner - a device that provides input by analyzing images, printed text, handwriting, or an object.
    • Webcam - a low resolution video camera used to provide visual input that can be easily transferred over the internet.
  • Audio input devices
    • Microphone - an acoustic sensor that provides input by converting sound into electrical signals

Output

  • Image, Video output devices
    • Printer: A Device to take Print of a file on Paper. It may be categorize as:
      • Impact Printer: These Printer Uses a striking head to print characters.
        • Dot Matrix
        • Daisy Wheel
      • Non Impact Printer: In place of striking head, some ink firing are toner technique is used:
        • Ink Jet Printers
        • Laser Printers
    • Monitor
      • Cathode Ray Tube Monitors (CRT)
      • Thin Film Transistor Display (TFT)
      • Liquid Crystal Display (LCD)
  • Audio output devices

Friday, December 5, 2008

How to configure network interfaces in ubuntu server

Ubuntu server runs in text mode by default. to setup IP Adress of LAN cards by using command line you can follow following steps:
open network interfaces file by typing:
sudo vim /etc/network/interfaces
in the files you may have no. of lines written in it. we may set all the interfaces in it. a sample for the same is as follows:
auto eth0
iface eth0 inet dhcp


"auto" keyword is to detect the ethernet card automatically when the system boots.
the second line here tells that ip address will be configured automatically from dhcp.
if we want to configure the ip address permanently or staticaly then we have to write the lines similar to following:
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.254


after writing these lines close the file by saving it . to save a file in vi editor , after completion of file press Esc and then press 'w' and then 'q'.
then to configure the newly assigned addresses restart the network services by writing:
sudo /etc/init.d/networking restart
check for the output status. it should not give any error.
now your system is in network. use ping command to check connectivity.

How to Install graphics/ ubuntu desktop on Ubuntu server

Ubuntu server does not provide graphical user interface(By default) after installation. To enable graphics in ubuntu server we have to install a package called ubuntu-dektop. This package makes ready the system to be used in Graphical enviornment. To install it you should have the package in ubuntu server CD/DVD or have an internet connection. if you have package in CD/DVD then insert it in drive and then run following command:
sudo apt-get install ubuntu-desktop
before running command make in ensure that you have uncommented(if any) the sources for update and install. if you have not checked then edit it in vi editor by using following command
sudo vim /etc/apt/sources.list
check for all the lines mentioning sources and remove symbol hash(#) in front of them, if any.
save the file and exit and run the command to install ubuntu-desktop.
The package get installed in few minutes (depending upon the speed of your source media/Internet).
Restart the system. System will work in Graphics mode after restart

Thursday, November 13, 2008

UML Diagrams for Airline Resvation System


Deployment Diagram


Component Diagram


Collaboration Diagram



State Chart Diagram


Sequence Diagram


Object Diagram


Class Diagram


Use Case Diagram

Friday, October 24, 2008

Error: "Can not find installation CD in Open Suse"

While installing Open Suse Linux, sometimes an error occured "Can Not Find Installation CD for Open Suse". This error occurs while checking for basic drivers and intializing installation.

this is an error related to non compatibility of some versions Open Suse with SATA controller for your hard disk or CD/DVD. i have got this error and with the help of Mr. Ravinder Singh i removed it.

1. "If you are getting this error, just go to BIOS setup for your motherboard and check for default driver for HDD. it will be 'Automatic', change it to "ATA" and now restart the system.
2. Also check that your HDD is in the list of booting devices, it is not excluded from the booting list. (Some time motherboard detect the disk but exclude this from the booting devices list.). If it is so then increase preference of your disk and include in the booting devices list.

Wednesday, September 17, 2008

Tips for designing a good web page

1. Check for resolution of system on which you are designing. as the design may change with change of resolution on some internet system, if you havn't used precuations.
2. Give a note on each page "This is page is best viewed on ____ X _____ resolution.
3. Use of tables is a good option for designing a fixed content page or a page, holding form controls.
4. Align your page in center so that in a high resolution system it gives proper look.
5. Use of CSS is the best option for web designing as it reduces the size of files and provide a great fexibility.
6. Do not stick to a single language for designing, Mix HTML with scripts to present a better design.
7. Use of flash contents in excess may slow down your site, optimize the flash size before uploading them.
8. Images may be optimized for web by using various softwares to decrease their size. For web resolution of 72 is enough for a picture.
9. Do not strech the images on web page(This will distort the picture). you edit them in some photo editing software.
10.For designing various softwares like Dreamweaver, Front Page, Publisher may be used.
11. Dearmweaver provide support to all the server and client languages like ASP,PHP,JSP,HTML,DHTML,XML.
12. CSS may also be designed graphically in Dreamweaver

Thursday, September 4, 2008

Introduction to WAMP

WAMP is a bundled package of different software technologies for "Web development". It includes following components:
W- Windows (Operating System)
A- Apache (Web Server)
M- MySql (Database Manager)
P- PHP (Server side scripting language)
Other version's of WAMP are available like:
LAMP (Linux)
MAMP (Mac OS)
SAMP (Solaris)

Licensing and costs of WAMP/LAMP
WAMP/LAMP come under "open source" catagory, and "free" of cost. The package can be downloaded free of cost from

http://www.wampserver.com/en/
in addition to above mentioned tools, phpmyadmin is provided with the package to handle the MySql databases. The applications developed by using these packages are "platform independent" and can be shifted any type of server OS.

Wednesday, September 3, 2008

Lean Software Development

The term Lean Software Development originated in a book by the same name, written by Mary Poppendieck and Tom Poppendieck The book presents the traditional Lean principles in a modified form, as well as a set of 22 tools and compares the tools to agile practices. Mary and Tom's involvement in the Agile software development community, including talks at several Agile conferences has resulted in such concepts being more widely accepted within the Agile community. Examples of this would be the use of the term "Lean-Agile" by consulting firms such as NetObjectives and C.C. Pace, as well as the inclusion of some of these concepts

Lean Principles
Lean development could be summarized by seven principles, very close in concept to lean manufacturing principles.

Eliminate waste
The principle to eliminate waste (or muda, which is a specific kind of waste in Toyota's lexicon) has been borrowed from the ideas of Taiichi Ohno – the father of the Toyota Production System. He has distinguished the following activities as waste:
.an automobile part stored and waiting for use
.producing anything not immediately needed
.unneeded motion of components
.waiting for other parts to be produced
.extra processing steps in manufacturing
.defects (lower quality)
In other words, applied to lean thinking, everything not adding value to the Customer is considered to be waste. This includes:
.unnecessary code and functionality
.delay in the software development process
.unclear requirements
.bureaucracy
.slow internal communication
In order to be able to eliminate waste, one should be able to recognize and see it. If some activity could be bypassed or the result could be achieved without it, it is waste. Partially done coding eventually abandoned during the development process is waste. Extra processes and features not often used by Customers are waste. Waiting for other activities, teams, processes is waste. Defects and lower quality are waste. Managerial overhead not producing real value is waste. A value-stream mapping technique is used to distinguish and recognize waste. The second step is to point out sources of waste and eliminate them. The same should be done iteratively until even essential-seeming processes and procedures are liquidated.

Amplify learning
Software development is a continuous learning process with the additional challenge of development teams and end product sizes. The best approach for improving a software development environment is to amplify learning. The defects accumulation should be prevented by running tests as soon as the code is written. Instead of adding more documentation or detailed planning different ideas could be tried by writing code and building. The process of user requirements gathering could be simplified by presenting to the end-users user screens and getting their input.
The learning process is speeded up by usage of short iteration cycles – each one coupled with refactoring and integration testing. Increasing feedback and short feedback sessions with Customer help in realizing the current phase of the development and adjusting the efforts for future improvements. During those short sessions both Customer representatives and the development team learn more about the domain problem and figure out possible solutions for further development. Thus the Customers realize better their needs, based on the working so far result of the development and the developers learn better how to satisfy those needs. Another idea in the communication and learning process with Customer is the set-based development – it concentrates on the communication of constraints of the future solution and not the possible solutions, thus promoting the birth of the solution via the dialog with the Customer.

Decide as late as possible
As software development is always associated with definite level of uncertainty, better results could be achieved with an options-based approach, thus delaying decisions as much as possible until they could be made based on facts and not uncertain future prediction and assumptions. The more complex a system is, the more capacity for change should be built into it, thus enabling delayed important and crucial commitments. The iterative approach promotes this principle – the ability to adapt to changes, correct mistakes, which might be very costly if discovered after the release of the System.
An agile software development could be considered as advancing in the time building of options for the Customers, thus delaying the crucial decisions until they have realized their needs better. This allows also the later adapting to the changes in the technology environment and the prevention of costly earlier technology bounded decisions. This does not mean that no planning should be involved – on the contrary, the planning activities should be concentrated on planning the different options and adapting to the current situation, as well as clarifying confusing situations with establishing patterns for rapid action. Evaluating different options is effective as soon as it is realized that they are not free, but provide the needed flexibility for late decision making.

Deliver as fast as possible
In the era of rapid technology evolution, it is not the biggest that survives, but the fastest. The sooner the end product is delivered, the sooner feedback can be received, and incorporated into the next iteration. The shorter the iterations, the better the learning and communication within the team. Without speed, decisions cannot be delayed. Speed assures the fulfilling of the Customer's present needs and not what they required yesterday. This gives them the opportunity to delay making up their minds about what they really require until they gain better knowledge. Customers value rapid delivery.
The Just-in-Time production ideology could be applied to software development, recognizing its specific requirements and environment. This is achieved by presenting the needed result and letting the team organize itself and divide the tasks for accomplishing the needed result for a specific iteration. At the beginning, the Customer provides the needed input. This could be simply presented in small cards or stories – the developers estimate the time needed for the implementation of each card. Thus the work organization changes into self-pulling system – each morning during a stand-up meeting, each member of the team reviews what has been done yesterday, what is to be done today and tomorrow, and prompts for any inputs needed from colleagues or the Customer. This requires transparency of the process, which is also beneficial for team communication. "Another key idea in Toyota's Product Development System is set-based design. If a new brake system is needed for a car, for example, three teams may design solutions to the same problem. Each team learns about the problem space and designs a potential solution. As a solution is deemed unreasonable, it is cut. At the end of a period, the surviving designs are compared and one is chosen, perhaps with some modifications based on learning from the others - a great example of deferring commitment until the last possible moment. Software decisions could also benefit from this practice to minimize the risk brought on by big up-front design.

Empower the team
There has been a traditional belief in most businesses about the decision-making in the organisation – the managers tell the workers how to do their own job. In a Work-Out technique, the roles are turned – the managers are taught how to listen to the developers, so they can explain better what actions might be taken, as well as provide suggestions for improvements. Most experienced project managers[who?] have simply stated the key for a successful project – "Find good people and let them do their own job."
Another mistaken belief has been the consideration of people as resources. People might be resources from the point of view of a statistical data sheet, but in software development, as well as any organisational business, people do need something more than just the list of tasks and the assurance that they will not be disturbed during the completion of the tasks. People need motivation and a higher purpose to work for – purpose within the reachable reality, with the assurance that the team might choose its own commitments. The developers should be given access to Customer; the team leader should provide support and help in difficult situations, as well as make sure that skepticism does not ruin the team’s spirit.

Build integrity in
The ever demanding Customer needs to have an overall experience of the System – this is the so called perceived integrity: how it is being advertised, delivered, deployed, accessed, how intuitive its use is, price and how well it solves problems.
Conceptual integrity means that the system’s separate components work well together as a whole with balance between flexibility, maintainability, efficiency, and responsiveness. This could be achieved by understanding the problem domain and solving it at the same time, not sequentially. The needed information is received in small batch pieces – not in one vast chunk with preferable face-to-face communication and not any written documentation. The information flow should be constant in both directions – from Customer to developers and back, thus avoiding the large stressful amount of information after long development in isolation.
One of the healthy ways towards integral architecture is refactoring. The more features are added to the System, the more loose the starting code base for further improvements. As described above in the XP agile method refactoring is about keeping simplicity, clarity, minimum amount of features in the code. Repetitions in the code are signs for bad code designs and should be avoided. The complete and automated building process should be accompanied by a complete and automated suite of developer and customer tests, having the same versioning, synchronization and semantics as the current state of the System. At the end the integrity should be verified with throughout testing, thus ensuring the System does what the Customer expects it to.

See the whole
Software systems nowadays are not simply the sum of their parts, but also the product of their interactions. Defects in software tend to accumulate during the development process – by decomposing the big tasks into smaller tasks, and by standardizing different stages of development, the root causes of defects should be found and eliminated. The larger the system, the more organisations that are involved in its development and the more parts are developed by different teams, the greater the importance of having well defined relationships between different vendors, in order to produce a system with smoothly interacting components. During a longer period of development, a stronger sub- contractor network is far more beneficial than short-term profit optimizing, which does not enable win-win relationships.
Lean thinking has to be understood well by all members of a project, before implementing in a concrete, real-life situation. “Think big, act small, fail fast; learn rapidly” – these slogans summarize the importance of understanding the field and the suitability of implementing lean principles along the whole software development process. Only when all of the lean principles are implemented together, combined with strong “common sense” with respect to the working environment, is there a basis for success in software development.

Lean Software Practices
Lean software development practices, or what the Poppendiecks call "tools" are expressed slightly differently from their equivalents in agile software development, but there are parallels. Examples of such practices include:
.Seeing waste
.Value Stream Mapping
.Set-Based Development
.Pull Systems
.Queuing Theory
.Motivation
.Measurements
Some of the tools map quick easily to agile methods. Workcells, for example, are a main tenet of lean. These are expressed in agile methods as cross-functional teams.

Boilerplate Code

In computer programming, boilerplate refers to sections of code that have to be included in program on many places with minor or no alteration. It is more often used when referring to languages which are considered verbose, i.e. the programmer must write a lot of code to do minimal jobs. The need for boilerplate can be reduced through high-level mechanisms such as Metaprogramming (which has the computer automatically write the needed boilerplate text) and Convention over Configuration (which provides good defaults values, reducing the need to specify program details in every project).
For Example various library functions defined in C or C++ like "strcat", "strcmp" may be used repeatedly, but they are defined only once in their corresponding library.