The Linux Bin Folder

I think that in order to learn more about how to use a Linux system one thing that should happen is to become more familiar with the various folders that branch off from root in a Linux system, such as the \/bin folder which is what I will be writing about in todays post. Do not get me wrong I think there is a whole lot more that needs to happen beyond just that, such as learning at least a thing or two about bash, and maybe writing a bash script or two. However the thing about that is the bash is one of many commands that are in, you guessed it, the bin folder.

The bin folder is one of several typical folders that contain binaries, or programs that are used from the bash command line, the one thing that makes the bin folder stand out from the others is that it would seem that many of the binaries in this folder seem to be very important with respect to starting and using Linux itself. Without the bin folder there is no way that there would be a function system, however many binaries in other folders such a the \/usr\/sbin\/ folder many not be so critical the the functionally of Linux itself.

Read More

The Linux Home Folder

In a Linux system the Linux home folder is where all the personal files are stored for each user of a system. This is not just a place to store data files like documents, pictures, and so forth but also things like user configuration settings, and bash scripts that are to run when the user first logs in. There is also thinking not just in terms of this kind of folder in terms of a Linux system but also what the equivalent home folder location is for this kind of folder on other operating systems also.

In this post I will be going over some basic things that center around the home folder in Linux then, as well as other topics of concern when it comes to how to work out code that will store settings, and open and create files in an operating system independent kind of way.

Read More

Webworker in client side javaScript

When it comes to client side javaScript a WebWorker can be used to start a whole other Event loop in which to run some javaScript. In other words a web worker can be used to run background tasks that will not end up delaying the main execution thread of a page that is often used for rendering. So then a web worker can be used to take some work that would otherwise bog down the main thread of a page into its own independent thread, which will then free up the main thread allowing for smoother performance for what is begin done in the main thread. So then when it comes to using web workers the ideal situation might be to just use the main thread for DOM manipulation, canvas element drawing context calls and the like, and update the main model of a project by way of web workers.

Read More

JavaScript document object

The javaScript document object is the main object of a loaded page, and is a property of the window object which is the global object in client side javaScript. There is a lot of ground to cover with this object that serves as an interface for a whole range of things that have to do with getting, creating, and injecting one or more HTML elements when it comes to working with the Document Object Model or DOM. There are a number of other features in the document object also that are worth looking into at some point such as the location object, and the various events that can be attached for this object.

In this post I will then be doing a general overview of the document object in client side javaScript, and while I am at it touch base on a wide range of other topics that will branch off from the document object, which is a lot.

Read More

JavaScript Promise general overview

I have not yet got around to writing a post that is a general overview of Promises in javaScript just a whole lot of posts on various native methods of the Promise Object as well as various libraries and other native javaScript features surrounding the use of Promises. So then in todays post I will be putting and end to this by writing a post that will serve as a way to tie all of this together.

Read More