An article teaches you how an excellent programmer maintains his computer

Please add a picture description

1. What types of computers do programmers have?

I think programmer's laptops can be divided into several categories according to different characteristics and uses.
这里介绍的都是些笔记本
Here are some common categories and their characteristics:

Ultrabooks
insert image description here

advantage:

Portability : Slim design and light weight, suitable for working in different places.
Performance : While not as powerful as a gaming laptop, it strikes a balance between performance and battery life.
High-resolution screen : Delivers crisp images for coding, designing, and other creative work.
Quick Start and Standby : It can start up and resume from standby quickly to improve efficiency.

shortcoming:

Performance limitations : In order to achieve thinness and portability, thin and light notebooks usually have limitations in hardware performance, especially when dealing with complex tasks and multitasking.
Limited expandability : The compact design of thin and light notebooks may limit its expandability, such as a small number of USB ports, lack of Ethernet ports, etc., and adapters may be required to connect external devices.
Thermal challenges : Due to the compact body design, thin and light notebooks may face thermal challenges when handling high-load tasks, which may lead to temperature rise and performance degradation.
Keyboard and input devices : Some thin and light notebooks may have problems with keyboard comfort and touchpad responsiveness, and may not be suitable for long-term keyboard input and operation.

Gaming Laptops:
insert image description here

advantage:

Powerful graphics performance : In order to support games and graphics applications, it is equipped with a high-performance discrete graphics card.
High refresh rate screen : For games, a high refresh rate screen can provide a smoother gaming experience.
Cooling system : Gaming laptops usually generate high heat, so an effective cooling system is needed to keep the temperature moderate.
RGB Backlit Keyboards : To provide a personalized look and gaming experience, many gaming laptops come with customizable RGB backlit keyboards.

shortcoming:

Weight and bulk : Gaming laptops are usually thick and heavy, not very portable, and can be bulky in some public places.
Short battery life : Powerful hardware performance often results in short battery life and requires frequent charging.
Higher price : Gaming laptops can be more expensive than other types of laptops because they usually come with high-performance hardware.

2-in-1 Laptops:
insert image description here

advantage:

Multi-mode use : The 2-in-1 notebook can be switched between traditional notebook mode and tablet mode, providing a more flexible use experience.
Touchscreen : Equipped with a touchscreen and can be used for stylus input, it is suitable for tasks such as handwritten notes, design and drawing.
Portability : Thin and portable, suitable for switching in different occasions.

shortcoming:

Performance limitations : Some 2-in-1 conversions may be limited in terms of performance, not comparable to dedicated laptop types.
Keyboard comfort : While it can be turned into tablet mode, it may not be as comfortable to use as a traditional laptop when using the keyboard.

Professional Workstation Notebook (Mobile Workstations):
insert image description here
Pros:

Professional-Grade Performance : For professional-grade applications such as 3D modeling, video editing, and scientific computing that require powerful performance.
Certified Graphics : Equipped with a professionally certified graphics card capable of handling complex graphics and computing tasks.
Stability and reliability : For professional work, stability and reliability are critical, and these notebooks are often rigorously tested and certified.

shortcoming:

Expensive : Professional workstation notebooks are usually equipped with high-performance hardware and professional-grade features, so they are expensive and may exceed the average user's budget.
Weight and volume : In order to accommodate powerful hardware and cooling systems, professional workstation notebooks may be thick and heavy, making them unsuitable for portability.
Battery life : Due to powerful hardware, professional workstation notebooks may have short battery life and require frequent charging.
Overpowered : For general office and entertainment tasks, a professional workstation notebook can perform more than needed, possibly wastefully.
Not suitable for gaming : While professional workstations perform well for professional applications, they are usually not designed for gaming performance and may not be suitable for gaming enthusiasts.
Heat dissipation noise : Some professional workstation notebooks may produce large heat dissipation noise during high-load tasks, which may affect the user experience.

In conclusion, different types of programmers and different tasks require different types of laptops. It is very important to choose a notebook that suits your work and needs, because it will directly affect your efficiency and work experience.

2. How to maintain the hardware

Take my own notebook as an example.
insert image description here
I use a rog gaming notebook. I personally think that if you don’t play games, there is no need to buy a gaming notebook (it's so inconvenient), it is better for students who concentrate on studying to choose a thin and light notebook with a stronger CPU and a higher screen quality.

Next, let me introduce my maintenance manual

2.1 Power on and off

insert image description here

Summarize in one sentence:Do not turn on and off frequently but do not turn on for a long time, whether it is a notebook or a desktop
这里提一句,别和我说服务器,那玩意不出意外一辈子开一次机

The impact of frequent power on and off:

Disk life : The hard disk of the computer will experience some mechanical movements during startup and shutdown. Frequent switching on and off may cause wear and tear on the hard disk and shorten the life of the hard disk.
Energy Consumption : Every time the device is turned on, it needs some power. Frequent switching on and off will increase energy consumption, especially in long-term use.
System stability : Some computers may have some temporary system problems after restarting, and frequent power on and off may increase the chances of these problems.

Effects of long boot time:

System stability : Running for a long time may cause some memory leaks or process accumulation, which will affect the stability of the system.
Updates and patches : If you do not restart for a long time, the system may not be able to apply updates and security patches in a timely manner, thereby reducing the security of the system.

Suitable switch strategy:

Office environment : If you use your laptop in an office environment, it may be a good choice to turn it on once a day, so that you can ensure that the system is in the best condition before you start working.
Home environment : If you use a notebook at home, you can decide the switching frequency according to your needs. If you'll be away from your computer for long periods of time, turning it off can save energy.
Long-term use : If you plan to use the computer for a long time, such as downloading large files, performing complex calculations, etc., you can consider turning it on for a long time, but you should also pay attention to restarting regularly to keep the system stable.

Comprehensive consideration, do not turn on and off the machine too frequently, and do not turn on the machine continuously for a long time.
According to your usage, choose an appropriate power-on/off strategy to balance hardware life, energy consumption, and system stability.

Although the author is also a student, he is generally inseparable from the computer every day. Whether it is brushing questions or reading some articles, there may be occasional two or three hours a day when it is not used. Then I suggest that you, like the author, turn it on in the morning and confirm that it is not used at night. It's OK to close it again.

2.2 Windows update issues

This is a very fatal problem, my suggestion is:If the version you are using is stable and you are comfortable with it, then don’t update it

Mainly because of the following reasons:

Stability and Compatibility Issues : System updates may introduce new features, but may also introduce new problems. Programmers worried that the updated system might have compatibility issues, causing bugs or crashes in otherwise functioning software.
Changes in the development environment : The updated system may bring some environmental changes, such as updates to libraries and compiler versions, which may lead to an unstable development environment or incompatibility with old code.
Time and effort cost : For programmers, spending time and effort to adapt to new system updates can affect their ongoing projects. They need to spend time fixing issues related to the update that probably should have been spent developing new features or fixing other issues.
Dependent software libraries and tools : Programmers usually use various development tools and third-party libraries for development. System updates may cause some tools or libraries to be incompatible, and it is necessary to wait for them to be updated or adapted, which will affect the development process.
Operating habits and stability preferences : Programmers may have been accustomed to the current system environment, and are familiar with the operating mode, appearance and functions of the system, and may need to adapt to the new interface and operating mode after updating.

Even so, if you are still obsessed with updating, then I think you should weigh these factors when deciding whether to update to ensure that the update will not have too much impact on its development work.

Below I will provide you with a relatively simple method of disabling updates

First WIN+R, enter services.msc, open the service window, find Windows 更新, some are Windows update
insert image description here
right-click and 属性set as shown in the figure, then
insert image description here
click 恢复the tab, set as follows
insert image description here
Once again WIN+R, enter gpedit.mscand click "Computer Configuration->Administrative Templates->Windows Components->Windows Update->Management Final User experience -> "Configure automatic update" double-click, as shown in the figure below: insert image description here
Of course, if you have a better way, you can also use your own method!

2.3 Laptop charging and battery problems

If you are a desktop user or a notebook user who never pulls the plug, you can ignore this chapter

Charging is an important aspect of keeping your laptop battery healthy and extending its life.
Here are some dos and don'ts to help you charge properly and prolong battery life:

Avoid overcharging and overdischarging : Try to avoid charging the battery to 100% or discharging to 0%. Modern laptop batteries generally have built-in management circuitry, but keeping the battery charged and discharged in the 20% to 80% range can help extend battery life.
Avoid high temperatures : High temperatures can negatively affect battery life. Try to avoid using or charging your laptop in a high temperature environment, because high temperature will accelerate battery aging.
Use original chargers : Use original chargers and adapters provided by the manufacturer to ensure that the charging current and voltage match the needs of the battery and avoid damage to the battery.
Avoid frequent charging and discharging : Frequent charging and discharging will put extra pressure on the battery. It is recommended to avoid frequent plugging and unplugging of the power adapter.
Charge regularly : Even if you work plugged in a lot, it is recommended to keep the battery partially charged at regular intervals. Occasional charging and discharging can help keep the battery healthy.
Avoid a fully charged state for long periods of time : If you do not plan to use the laptop for an extended period of time, it is best to charge the battery to about 50% and store it in a cool, dry place.
Upgrade or replace the battery : If the battery is seriously aging and the capacity is significantly reduced, consider replacing the battery. Some laptops allow the user to replace the battery, which can extend the life of the computer.
Regularly calibrate the battery : Occasionally fully charge and discharge the battery to calibrate the battery's power display and ensure its accuracy.
Energy-saving mode : Switching to energy-saving mode can reduce battery consumption when high performance is not required.

In short, correct charging habits and battery usage methods can prolong the life of notebook batteries and maintain their performance. Remember, batteries are consumables and will gradually lose capacity and performance over time, but proper use and maintenance can slow this process down.

Of course, many brands of computers now have their own housekeeper assistants, which may help you solve this battery problem. For example, my own ASUS housekeeper has these optimization modes for batteries to help you adapt to different usage environments.

insert image description here

Of course, if your computer does not have these functions, you can optimize the charging settings through the settings of the Windows platform.

insert image description here
If it is used outdoors and does not carry a charger, when there is no great demand for the GPU, we can turn off the discrete graphics card and switch to the integrated graphics card mode
Of course, most of the thin and light notebooks now have integrated graphics cards, and there are no independent graphics cards or low-power graphics cards. This can be ignored.

insert image description here

2.4 Laptop cleaning problem

insert image description here

This problem should not be underestimated. If the dust inside the notebook is not cleaned for a long time, it may cause various problems, including but not limited to:

Overheating issues : Dust can accumulate in heatsinks, fans, and cooling ducts, blocking airflow and causing your laptop to overheat. Overheating can damage internal components, degrade performance, and even crash the system.
Reduced performance : Overheating slows down the system performance by automatically slowing down the CPU and GPU to protect the hardware. Long-term overheating may cause hardware damage, making the performance of the notebook more noticeable.
Reduced battery life : Long-term overheating can affect battery life. Charging and using the battery in a high temperature environment will cause the battery to age faster, reducing the battery capacity and battery life.
Hardware failure : Dust can get into the notebook's internal components, such as the keyboard, heat sink, and fans, causing them to not function properly or even malfunction.
Increased Noise : When fans and heatsinks become clogged with dust, they need to work harder to cool the system, making more noise.
Data Loss : If overheating causes the system to crash, it can result in loss of work in progress and even file system corruption.
Increased repair costs : Leaving dust clean for long periods of time can lead to hardware damage, which in turn requires more frequent repairs and higher repair costs.

So how do we clean it up?

The dust cleaning frequency of gaming notebooks depends on many factors, including the use environment, frequency of use, heat dissipation design, etc. Generally speaking, it is recommended to clean the dust of the game notebook every few months to half a year to maintain its good heat dissipation performance and stable operation. Here are some suggestions:

Environment : If your laptop is often placed in a dusty, poorly ventilated environment, dust may accumulate faster and require more frequent cleaning.
Frequency of use : If you use your laptop a lot for heavy gaming or high-load tasks, it will generate more heat, which may lead to faster dust accumulation. In this case, the dust may need to be removed more frequently.
Thermal design : Some notebooks have a better thermal design that reduces the rate at which dust accumulates. However, even with a good thermal design, regular dust cleaning is still necessary.
Self-perception : When you feel that the temperature of the notebook has increased significantly, the fan noise has become louder, or the performance has declined, it may be due to dust accumulation. This is also an indication to clean up the dust.
Professional maintenance : If you are not familiar with dismantling a laptop, or you are worried that doing it yourself may cause damage, it is best to leave the dust to a professional. They allow for safer disassembly and cleaning of internal components.

In short, keeping a notebook well cooled is the key to ensuring its stability and performance. If you're not sure when to clean the dust, the best thing to do is to check it regularly and clean it as appropriate to ensure your laptop is running at its best.

3. System and software maintenance

3.1 Antivirus software and garbage cleaning issues

insert image description here

In my opinion, there is no need to install anti-virus software, it will only delay your boot time, and some friends accidentally come with a big gift package when downloading certain software, but if you insist on installing one, Huorong is now more recommended Yes, no other anti-virus software is so annoying, it can help you block some pop-up windows, but then again, there are so many pop-up windows and advertisements, right?

As for garbage cleaning, one of the methods I currently use is to delete temporary files. In fact, there is no garbage to delete. The
same win+Rinput %temp%, here are all temporary files, delete them all, it will not affect
insert image description here
insert image description here

3.2 Disk partition problem

insert image description here

I think this thing depends on the demand. If you have very important things and are afraid of the system crashing, it is best to share them, but I don’t think it is necessary.
In the past, I always heard people on the Internet saying that it doesn’t matter what the disk is, but it’s not so scary.
If you have a solid-state drive, I don’t think it’s necessary. Just create a few folders to store data
and it won’t affect your boot speed and speed. use

If you are also a solid state drive and want to split the disk,Consider the following factors first and see if it is necessary

  1. Performance : Solid-state drives have extremely fast read and write speeds. Compared with traditional mechanical hard drives, partitions have relatively little impact on performance. So from a performance point of view whether to partition or not might not be a major concern.
  2. Data defragmentation : The performance of SSDs is not affected by file fragmentation, so there is no need for frequent defragmentation like traditional mechanical hard drives. This means that partitioning the SSD to reduce fragmentation may not be a necessary step.
  3. Data management : Partitions can help you better organize and manage files. If you like to store different types of files (such as operating system, applications, personal files, etc.) in separate partitions, partitioning can help you manage data more easily.
  4. Backup and restore : Partitions can make backup and restore easier. You can store important files and data in one partition and back it up regularly.
  5. Security : If you have sensitive data, you can store it in a separate partition and take extra security measures to protect it.
  6. Multiple operating systems : If you plan to install multiple operating systems on the same computer, partitions can help you isolate them to avoid interference between operating systems.

While SSDs don't require as much defragmentation as traditional hard drives, partitioning can still offer some advantages depending on your personal preferences and needs. You can decide whether to partition on an SSD based on the above factors, but in general,Whether to partition mainly depends on your needs for data management, backup and security

3.3 Choice of browser and search engine

insert image description here
The most popular ones are the Edge browser that comes with Windows and Google's Chrome browser.

The reason why these two browsers are recommended is mainly related to the performance, functions and developer tools of these two browsers:

  1. Performance : Both the Edge browser and the Chrome browser perform well when it comes to performance. Their rendering engines are capable of quickly loading and displaying web content and have better support for modern web applications. This is very important for programmers, because developing and testing web applications requires a high-performance browser.
  2. Compatibility : Both Edge and Chrome support the latest web standards and have good cross-platform compatibility. This is very important for developers, as they need to ensure that their websites and applications work well on various browsers and operating systems.
  3. Developer Tools : Both the Edge browser and the Chrome browser provide powerful developer tools that can help developers debug and optimize their code. These tools include element inspection, network analysis, performance analysis, JavaScript debugging and other functions, which can greatly improve development efficiency.
  4. Extensions and plug-ins : The Chrome browser has a rich ecosystem of extensions and plug-ins that help programmers integrate various development tools and accessibility features in the browser. While the Edge browser's extension ecosystem is relatively new, it's constantly growing.
  5. Mobile device support : Both the Edge browser and the Chrome browser have mobile versions, which can also provide a great browsing experience on mobile devices. This is also important for programmers to test and debug mobile apps and web pages on mobile devices.
  6. Security : Both Edge and Chrome have strong security features, including malicious website blocking, security certificate verification and other functions, which can protect users from cyber attacks and malware threats.

In general, Edge browser and Chrome browser provide rich functions and performance, especially suitable for programmers to carry out web development, debugging and testing work. However, the ultimate choice of browser is still a matter of personal preference and needs, but if you must use some digital browser, then I really can only huh.

Then the recommended search engines are also the Bing search and Google search that come with these two browsers.
insert image description here

I won’t go too far here, for me, there is only one reason, clean, plus a plug-in to remove ads, clean and unnecessary, for example, we download the above-mentioned Tinder

insert image description here
Simple and clear, without a bunch of junk ads on it, clean and comfortable.

3.4 System backup and use of PE disk

If you are always worried about system crashes or some other problems, I think the easiest way is to prepare a PE disk. The recommended one is Chinese cabbage (experts do it themselves)

insert image description here
What can the Chinese cabbage U disk installation tool be used for?

"Chinese cabbage U disk installation tool" is a tool commonly used for computer maintenance and operating system installation, especially in the case of no CD-ROM drive. Its main function is to make the installation files of the operating system into a bootable U disk, so that the system can be installed or repaired on the computer. Here are some of the things it can be used for:

System installation : You can use the Chinese cabbage U disk installation tool to make a bootable U disk for installing the operating system. This is especially useful for computers without an optical drive, or to save time in situations where frequent system installations are required.
System Repair and Troubleshooting : If your computer has problems, such as boot failure, system crash, etc., you can use the prepared USB flash drive for system repair and troubleshooting.
Backup and restore : Some Chinese cabbage U disk installation tools also provide backup and restore functions, you can use them to create a backup of the system, and restore the system to the previous state when needed.
Virus removal and security scanning : Some versions of the Chinese cabbage U disk installation tool may also integrate a virus scanning tool, which can be used to remove malware from the computer.
Hardware detection and driver installation : Some tools may provide hardware detection function, which can help you understand the condition of computer hardware and automatically install the required driver.

It should be noted that different versions of the Chinese cabbage U disk installation tool may provide different functions and features. Before using it, it is best to check the documentation or instructions of the tool to understand its specific functions and usage.

In fact, the functions of PE like Chinese cabbage are far more than these. Many functions are far more powerful than you imagine. The reason for recommending this is to let everyone use this to back up the system and files. It is a fool’s operation. You can go to the official website to see how to use it. manual.

Summarize

The above are all suggestions for Windows platform users. Mac users don’t come here.
That’s all I can think of for the time being. If there are better suggestions in the future, I will re-update the article.
This article is a summary of the author’s experience over the years. If you have better
suggestions, you can leave a message in the comment area and
leave your three links, thank you! ! !

Guess you like

Origin blog.csdn.net/kingxzq/article/details/132131080