Categories
Hardware

7 Tips to Increase Your Laptop’s Battery Life

Turn On the Battery Saver Mode

Every laptop is equipped with a battery saver mode or economy mode which puts the machine in a low power consumption state. The processor, memory, hard disk, etc. all start consuming less power by reducing their performance. This allows you to lengthen the time before the battery dies.

Reduce the Screen Brightness

As with any electronic device including your mobile phone, you should lower the brightness of your laptop’s screen. In fact, if the battery is about to die, lower it to the lowest setting. Most modern laptop screens consist of LEDs to provide the backlighting and hence, they do take up power.

Switch Off Unused Devices

Unless you are using them, turn off the Wi-Fi and Bluetooth because these are radio devices which consume quite a bit of battery power. Additionally, you can also turn off unused peripherals like a high performance graphic card (you obviously won’t need it to make a presentation), one or more USB ports (most laptops contain two to three ports, so you can turn off one), and any underutilized optical drives.

Lower the Resolution

Modern laptops contain high resolution screens which draw a lot of battery power; reducing the resolution to a basic one when you wish to have more battery time is an efficient way to decrease the power consumption.

Turn Off the Keyboard’s Backlight

Unless you don’t have a laptop with a keyboard that features a backlight, switching off the backlight helps to further increase the time before the battery runs out.

Close Any Unnecessary Apps and Processes

Hardware is not the only component consuming your battery, it is the software too. So start by closing any programs running in the background; for example, processes related to sound, music players, video players, or cloud services can be safely closed.

Don’t Let Your Laptop Overheat

Do you use your laptop on your bed, blanket, or pillow? If so, chances are you risk damaging the battery and the internal components; excessive heat will not only cause damage, but will shorten the battery life as well. Therefore, place your laptop on a hard surface like a desk or a table and if you are feeling lazy, use a portable table like a lapdesk.

Categories
Programming

The Artistic Way of Programming

12 years back, when I began my formal classes in software engineering, the main thing I learnt was “information” signifies “data”. A couple days after that, we began customary programming, where code and information were dealt with independently. For instance, no one but information can be passed as the useful contentions. It was troublesome for me to process that “code, which is likewise data, is not regarded as information”. I emphatically felt that this will expand multifaceted nature of virtual products over the long haul.

A framework does three things – read, change (handling information), compose. As such – the arithmetic (the change part), and the impact of that, all things considered (the read/compose part). The information change is undoubtedly a numerical idea, and with the assistance of read and keep in touch with we make the arithmetic (the change part) helpful to this present reality. Bringing the “change” part completely inside scientific area has its own particular advantage of utilizing arithmetic without dread (conceivable blunders) for the examination of the framework, making the framework more tractable scientifically. The catch is to treat both the components of changes, information and capacities, similarly.

At first, code used to be greater than the information, so sending information over the wire was achievable. In any case, with time, information getting to be distinctly gigantic, sending code to frameworks over the wire turns into the need, laying the information on the frameworks in place. With enormous information, the need of great importance is to regard the code as information, so that the code can be taken as contention to another meta work on a framework having immense information which expects a calculation for changes.

Generally, codes are calculations, calculations are numerical capacities, capacities are thusly really look-into tables, i.e. information. Consequently with this standard, all codes or capacities are data.This is precisely the foundation of the utilitarian worldview. The practical writing computer programs is modifying with capacities, they treat capacities and information in like manner. Another rule I cherish, to control multifaceted nature, tenets ought not be unpredictable itself.

Thumb rules reworked for the practical worldview:

Perused compose and transformations(algorithms) ought to be discrete.

Utilize unchanging factors. Demoralize utilization of reassignment articulations.

Dishearten symptoms (input/yield or changing any factor set up), each capacity ought to ONLY give back its normal outcome.

Utilize referentially straightforward capacities (now and then it is called immaculate capacities) with no reactions, i.e. on the off chance that x = y, f(x) and f(y) ought to be same until the end of time.

Unit testing is an absolute necessity for every capacity.

One of the primary outline examples ought to be taken after is to utilize expressions rather than directions, i.e. it ought to be decisive in nature. Demoralize utilization of circles like for/while – utilize recursive articulations as appeared above to ascertain entirety. Advise PCs what should be done, not how to do it – it diminishes blunder, particularly edge cases.

With the need to control the many-sided quality of the framework and the propel outline, the plan design for the useful sythesis can be made to take after some essential mathematical structures, which thusly turns out to be more vigorous.