I'm interested in easy ways to see change. Trying to compare the old and new webpages by eye is hard, which leads me to text-diffing. I can copy the contents of the website to a file and compare them that way. Let's. I did a similar thing a while ago with computer benchmarks.
I manually create two files by copying the interesting bits of the webpage, called 1 and 2 (because who has time for .txt extensions). Then, I can run:
The latter command turns each into HTML by turning + lines into <ins> ("insert"), - into <del> ("delete"), and removing leading spaces on other lines. Then, I can whack the output into a simple HTML template:
<!DOCTYPEhtml><html><head><style>body{background: black;color: white;}pre{padding: 1rem;}del{text-decoration: none;color: red;}ins{text-decoration: none;color: green;}</style></head><body><pre>
diff goes here...
<del>del lines will be red</del><ins>ins lines will be green</ins></pre></body></html>
The final output is something like this (personal information removed. don't doxx me.)
Energy rating
D
Valid until
05 February 2025
05 February 2035
Property type
Mid-terrace house
Total floor area
130 square metres
123 square metres
This property’s energy rating is D. It has the potential to be C.
This property’s energy rating is D. It has the potential to be B.
Features in this property
Window Fully double glazed Good
Roof Pitched, no insulation (assumed) Very poor
Roof Roof room(s), no insulation (assumed) Very poor
Roof Roof room(s), insulated (assumed) Good
Lighting Low energy lighting in 64% of fixed outlets Good
Lighting Low energy lighting in all fixed outlets Very good
Secondary heating None N/A
Primary energy use
The primary energy use for this property per year is 303 kilowatt hours per square metre (kWh/m2).
The primary energy use for this property per year is 252 kilowatt hours per square metre (kWh/m2).
Good job on us for having 100% low energy lighting fixtures, I guess...
Really, this is a complicated way to simplify something. I like simple things, so I like this.
I was given an old computer. I'd quite like to make a computer to use in my studio, and take my tower PC home to play video games (mainly/only local coop games like Wilmot's Warehouse, Towerfall Ascension, or Unrailed, and occasionally Gloomhaven).
It's not the best, and I'd like to know what parts I would want to replace to make it suit my needs (which are vaguely "can use a modern web browser" without being slow).
By searching the web, I found these commands to collect hardware information for a computer:
uname-a# vague computer information
lscpu # cpu informationdf-h# hard drive informationsudo dmidecode -t bios # bios informationfree-h# memory (RAM) info
lspci -v|grep VGA -A11# GPU info (1)sudo lshw -numeric-C display # GPU info (2)
I also found these commands to benchmark some things:
sudoaptinstall sysbench glmark2
# benchmark CPU
sysbench --test=cpu run
# benchmark memory
sysbench --test=memory run
# benchmark graphics
glmark2
I put the output of all of these commands into text files for each computer, into a directory that looks like: