This post tries to reason why Rust might be choice for new projects instead of C and C++. This is a bold statement and there is a need to discuss the types of projects where a comparision is being made. i.e Systems Programming. Going back a bit further, and taking a look at the motivation for these languages shines a beam of light about the main goal of these languages....
How To Install Rust And The Linker It Requires On Linux
This post discusses how to install rust on linux. Well installation process is pretty simple but sometimes minimal distribution like Arch maynot bundle the linker and rustup (a tool used to install and manage rust installation) also doesn’t include linker
Build Essential contains Linker Rust doesn’t include linker (which is required for generating execuatable ) on its installer. To install the linker, first check the type of distro you have...
Time and Linux
This post discusses how to setup time on linux if you are affected by dual boot or by discharged CMOS battery. It starts with a fix for a dual boot system and on latter part there is a fix for cmos battery problem.
Dual Boot Messing Up Time Universal Time or UTC is primary time standard by which the world regulates clock and time. GMT is timezone and UTC is time standard....
Types of Operating systems on basis of processing
Migrated from logicaletter.com
Operating system is system software that manages the resources of computer, one that directly talks to your hardware. When your computer boots up , operating system is loaded into your main memory and and it starts performing tasks. These tasks are processes for your computer and depending upon the task you may have one or many processes for a single task. To have a better understanding, if you are on Windows , Take a look at Task manager and you will find a Running processes tab....
AC Vs DC : which is more dangerous?
Migrated from logicaletter.com If You are looking for quick answer then AC is dangerous. So what makes Alternating current more dangerous than Direct Current? I guess we should take a look at their own respective features. Features of Direct Current
Direct Current Direct Current Voltage – Time Graph
If DC source is rated for X Volts then maximum voltage that DC source can provide is X. if your Source is rated for 12 V then max Voltage it can provide is 12 V....
Alias Linux Command Explained succintly
Migrated from logicaletter.com
Purpose to substitute a String in place of commands used in linux. Note: commands can include paramaters too.
If you are familar with CMD then you would certainly know cls clears the screen. but in linux shell there is command called clear to wipe out terminal junk. so if i want to use cls in linux or unix like OS terminals then i would use $ alias cls='clear'...
Understanding inheritance in java : SuperclassVariable can reference a Subclass Variable
Migrated from logicaletter.com
Superclass : A parent class Subclass : A child class that inherits Superclass
class A{ //superclass or parent class //some generic code } class B extends A{ //subclass or child class of A //some generic code } it may seem esoteric at first, but its true that superclass variable can reference a subclass object .This aspect is quite useful when superclass object needs parameters same as subclass object which is not part of that superclass object....
Linux Chmod command explained
Migrated from logicaletter.com
CHMOD aka Change mode is the command present in linux or unix like systems. Purpose
To change the mode of a file for specified user classes according to specified permissions with different function.
Making it simpler it is used to change the permission of file . The basic syntax looks like
chmod options permissions filename Permissions Permissions are boundary for file access that can be defined for each user classes....
The Art of Multithreading in java(Java programming guide)
Migrated from logicaletter.com
Process Based Vs Thread Based
In your operating system , you are able to run many processes at a single time i.e you can scroll through your facebook messages in Google Chrome while watching new Avengers movie in VLC media player. This concept is process based thread model and Multi Threaded operating system can perform such tasks.If you want to learn more about operating system on the basis of processing , you can visit here....
What are Generics in Java
Migrated from logicaletter.com
Lets start why generics is needed rather than identifying what generics really are. Through the use of generics one can create classes,interfaces and methods and specify what kind of data it is working upon. Lets start up with example : Many algorithms logic is same no matter what kind of data they are working upon. Stack algorithm logic is same no matter which type of data you are working with ,i....