You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .jekyll-cache/Jekyll/Cache/Jekyll--Converters--Markdown/33/5c01e8ce0bc647cc5eb4aea25ca5642ebcf75c6f8d6b60a8dcd9172322622b
Copy file name to clipboardExpand all lines: collections/blog/Computers/_posts/2024-08-13-remarks-old-laptops.md
+10-16Lines changed: 10 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,39 +4,33 @@ layout: post
4
4
title: "Remarks on Slow Laptops and Low-Performance Computers"
5
5
6
6
slider1:
7
-
- url: /img/laptop-ups/complete/ups-0.jpg
7
+
- url: /img/old-computer/
8
8
9
9
---
10
10
11
11
For several years, I had the misfortune of using a very slow laptop without knowing any better. What do I mean by this? One of the challenges with computers, from a user standpoint, is that performance is relative. You perceive something as "fast" if it operates within a timeframe you deem acceptable. For instance, in 1995, rendering a relatively simple 3D image of a landscape could take hours.
By comparison, almost any commercial device in 2024 can recreate that image in much less time. Despite this tremendous increase in computing power, for people in 1995, their equipment seemed relatively quick based on their expectations. The same effect can occur if you're not exposed to something you can qualify as "better." In my case, this lack of perception developed gradually through using a very slow fanless laptop from HP. Specifically, the [HP 15-f223wm](https://support.hp.com/us-en/product/product-specs/hp-15-f200-notebook-pc-series/model/8857447):
It featured a modest [Celeron N3050](https://ark.intel.com/content/www/us/en/ark/products/87257/intel-celeron-processor-n3050-2m-cache-up-to-2-16-ghz.html) processor, 4GB of single-channel RAM, and a 500GB 5200 RPM hard drive. For 2005, the performance of this device would have been noteworthy, especially considering its size and the **very low** power consumption of the processor (only **6W** TDP). In that era, a similar processor would easily consume **110W**. For example, the [AMD Opteron 170](https://www.cpu-upgrade.com/CPUs/AMD/Dual-Core_Opteron/170.html):
There's a tremendous difference in power draw for similar computational power. The Celeron (with 14nm lithography) was released in 2015, while the Opteron (90nm lithography) came out in 2005, and the reduction in power consumption is significant. This decrease is due to the thinner layers in processors, which result in much less heat.
25
-
26
-
Technical details aside, I used this laptop for years until I couldn’t tolerate its slowness any longer. In retrospect, struggling with this device wasn't entirely a bad idea. It taught me how to squeeze out performance from limited hardware and demonstrated the impact **lightweight** software has on user experience. It also highlighted the benefits of **optimizing** software, even if it's easy to run. Both adjustments greatly enhance the perceived performance of a device. However, no matter how optimized the software, if the task is too computationally intensive, the machine will slow down. While optimization has its place, hardware ultimately limits the tasks one can comfortably perform.
24
+
There's a tremendous difference in power draw for similar computational power. The Celeron (with 14nm lithography) was released in 2015, while the Opteron (90nm lithography) came out in 2005, and the reduction in power consumption is significant. This decrease is due to the thinner layers in processors, which result in much less heat. Technical details aside, I used this laptop for years until I couldn’t tolerate its slowness any longer. In retrospect, struggling with this device wasn't entirely a bad idea. It taught me how to squeeze out performance from limited hardware and demonstrated the impact **lightweight** software has on user experience. It also highlighted the benefits of **optimizing** software, even if it's easy to run. Both adjustments greatly enhance the perceived performance of a device. However, no matter how optimized the software, if the task is too computationally intensive, the machine will slow down. While optimization has its place, hardware ultimately limits the tasks one can comfortably perform.
27
25
28
26
The HP laptop came with [Windows 10 Home 2016 Edition](https://pureinfotech.com/windows-10-pro-vs-home-which-you-should-buy/). Initially, this version of Windows didn’t feel completely sluggish. What was evident, however, was the aggressive behavior of the antivirus. Windows Defender constantly saturated the processor, doing who-knows-what, and it would randomly slow down the computer.
After a few years of dealing with this, I switched to Linux, specifically the lightweight version of Ubuntu using the LXQt desktop environment: [Lubuntu](https://lubuntu.me/). The change was remarkable. Despite still using the very slow hardware, compared to an unbloated version of Windows 10 Home, the computer felt much faster. While many programs, like web browsers, didn’t run significantly better, the operating system itself didn’t cause the computer to slow down. There was no antivirus causing massive slowdowns!
33
-
34
-
After about six months, I decided to make the best upgrade possible for such a device: switching from a [mechanical hard drive](https://en.wikipedia.org/wiki/Hard_disk_drive) to a [SATA solid-state drive](https://en.wikipedia.org/wiki/Solid-state_drive). The improvement was incredible. The computer ran much faster with this switch. Programs loaded quickly, boot time was significantly reduced (taking seconds instead of minutes), and the software manager in Lubuntu loaded in seconds rather than hanging up. Overall, this was an excellent upgrade, and I regret not doing it earlier.
After a few years of dealing with this, I switched to Linux, specifically the lightweight version of Ubuntu using the LXQt desktop environment: [Lubuntu](https://lubuntu.me/). The change was remarkable. Despite still using the very slow hardware, compared to an unbloated version of Windows 10 Home, the computer felt much faster. While many programs, like web browsers, didn’t run significantly better, the operating system itself didn’t cause the computer to slow down. There was __no antivirus causing massive slowdowns__. After about six months, I decided to make the best upgrade possible for such a device: switching from a [mechanical hard drive](https://en.wikipedia.org/wiki/Hard_disk_drive) to a [SATA solid-state drive](https://en.wikipedia.org/wiki/Solid-state_drive). The improvement was incredible. The computer ran much faster with this switch. Programs loaded quickly, boot time was significantly reduced (taking seconds instead of minutes), and the software manager in Lubuntu loaded in seconds rather than hanging up. Overall, this was an excellent upgrade, and I regret not doing it earlier.
37
31
38
-
Seeing the benefits of hardware upgrades, I also increased the RAM from **4GB to 8GB**. In practice, this didn’t seem to make a huge difference, but having maxed out this parameter felt appropriate. Over time, I appreciated the greater stability this added when using multiple tabs in a browser or having several programs open.
32
+

39
33
40
-
I had learned the importance of critical upgrades, both in hardware and software, that transformed a nearly unusable computer into a useful tool. Although the laptop still had limitations—mainly that any modest program would quickly saturate the processor—the experience was much improved. At this point, with all possible upgrades performed, the main focus became **lightweight software** and **optimizing** it. For example, [tuning optimization flags](https://github.com/TrueHerobrine/trues-chromium-optimizations) for [ungoogled Chromium](https://github.com/ungoogled-software/ungoogled-chromium) is one such optimization.
34
+
Seeing the benefits of hardware upgrades, I also increased the RAM from **4GB to 8GB**. In practice, this didn’t seem to make a huge difference, but having maxed out this parameter felt appropriate. Over time, I appreciated the greater stability this added when using multiple tabs in a browser or having several programs open. I had learned the importance of critical upgrades, both in hardware and software, that transformed a nearly unusable computer into a useful tool. Although the laptop still had limitations—mainly that any modest program would quickly saturate the processor—the experience was much improved. At this point, with all possible upgrades performed, the main focus became **lightweight software** and **optimizing** it. For example, [tuning optimization flags](https://github.com/TrueHerobrine/trues-chromium-optimizations) for [ungoogled Chromium](https://github.com/ungoogled-software/ungoogled-chromium) is one such optimization.
41
35
42
36
The key takeaway from these reflections is that seemingly underpowered computers, when given the right hardware upgrades and appropriate software selection, can go from near-useless devices to valuable everyday tools. The equipment just needs to be fast enough to meet the **subjective** speed requirements of the user. Beyond that, additional computational power yields minimal gains. The equipment should be optimized for the user’s needs, and old and _apparently_ slow hardware can _definitely satisfy_ many use cases.
Copy file name to clipboardExpand all lines: collections/projects/Helicopters/_posts/2017-07-01-heli_flight_controller.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,10 +51,12 @@ The first version of the helicopter did not have augmented stability. Rather, th
51
51
52
52
__Iteration 2:__
53
53
The second iteration of the controller focused on implementing the basic functions needed for the device to work. These were divided into three categories:
54
+
54
55
- The PWM signals sent by the receiver could be decoded accurately and without delay.
55
56
- Information from the gyroscope could be retrieved and calibrated consistently.
56
57
- Each axis had a corresponding PID controller that combined the receiver and gyroscope signals.
57
58
59
+
<br>
58
60
While these functions were programmed succesfully, in practice it became evident that vibrations were a serious problem. The gyroscope was sensitive to the slightest disturbances, so any vibrations were measured by the sensor. As the PID controller amplified these signals, the noise would cause the controls of the helicopter to jitter. This made it impossible to make the gains large enough to achieve stable flight, as vibrations overshadowed the slower rotation of the vehicle.
59
61
60
62
To overcome this problem, a [simple first order low pass filter](http://www.tsdconseil.fr/tutos/tuto-iir1-en.pdf) was used to suppress the vibration noise. While this helped, it did not provide sufficient suppression. A straight forward, albeit naive, solution was to [cascade multiple 1rst order filters](https://2n3904blog.com/cascading-single-pole-filters/). This increased the noise suppression but came at the cost of a larger response delay.
Copy file name to clipboardExpand all lines: collections/projects/Miscellaneous/_posts/2018-12-03-sort_algorithm.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
layout: post
3
-
title: "Soring algorithm comparison and linked list"
3
+
title: "Sorting algorithm comparison and linked lists"
4
4
---
5
5
6
6
These are programs to compare the speed of basic sorting algorithms an a linked list data type. For an array of 15000 elements, this is how the algorithms fare:
0 commit comments