We got 20–30 cm of new snow with this storm, and as it came down at 0°C it is very, very heavy. Luckily I don’t have to clear any of it, apart from those few spots around the car.
@matigo Nah, these are things I had planned for the site, umm, 5–6 years ago… 😬
Got everything fixed. I think I will do some small refactoring still, then I will push it to the main site.
Also, I came up with a ton of good feature ideas that I will do when I have time.
@matigo I have deliberately left the Javascript non-obfuscated. I know it isn’t the most elegant code out there, but if someone can learn from it it has fulfilled its purpose.
@matigo Yep. I have decided to stick with the vanilla Javascript on my site, but it can be abused as well, as I have noticed. Well, once I get those fixed, things should be running smoother in the future.
Now that I am fixing the issues spotted by Javascript linter(s) on the code that is running on my website, I keep on wondering how the whole thing was even working in the first place. When I fix a linter error or warning, the functionality gets broken. Yes, that is unfortunate, but apparently the original implementation worked by pure magic in the first place. This means that I need to rethink the approach a bit, which will make it work The Right Way™ .
@matigo Yeah, had I written them in-place the post would have been even longer… 😁
What was your impression on it? Have you been applying a similar approach in your work?
New software blog post: Running automated checks on your code on commits [pekonen.cc]
Also, a small CSS tweak that might make you happy. 😊