Skip to content

u/Taladar

In this archive from Jul 2008 to Feb 2023

2
posts
243
comments
0
media
1.1k
score
6 saved before deletion

The problem is that you will then have people who will not be able to debug problems because they don't understand the whole software stack, they won't be able to avoid pitfalls like injection attacks, cache issues,... because they lack the fundamentals.

Taking shortcuts can be useful to save time later on but you shouldn't put the cart before the horse. Your goal with a new coworker is not to get them to the point where they can add bad code to your codebase faster.

4 points

You should not compare your coworker, who is new to the whole thing, time to your own if you have done this for a while.

The only way for a new person to setup an environment in Docker in 30 minutes is if they skip every little bit that makes them understand what they are doing and just blindly follow a step by step instruction guide which is a crap way to do anything if you are a developer.

3 points

I would argue that that system should be replaced ASAP anyway even if it works really well since the issue of replacing it is not going to get any easier if it is even older and it will need to happen eventually anyway. Ideally the new system should be designed to avoid reliance on such exact components.

RAID6 and hard disks might be an exception but then you could just replace all disks and restore from backup (you do have a backup and don't just rely on RAID, right?) to get it back into working order, so parts that cost just a few hundred dollars won't even be tens of thousands for that sort of thing.

1 points

That warehouse of spare parts solution works for very specialized systems in situations where systems are highly redundant and standardized and produced in large numbers.

It does not work for that one server sitting somewhere in the back corner of your network half forgotten, without a plan on what to do with it for updates, how long to keep it around,...

2 points

No, you can't. Hardware deteriorates even between reboots. People do enter new data into databases, disks fill up,...

Yes, you can counteract some of that with monitoring of course but people who don't do updates at all rarely have a comprehensive suite of monitoring checks on those systems either.

2 points

You could avoid doing updates and rebooting that server for a year, yes...but there is one important advantage to reboots that is often forgotten.

A regular reboot proves that the system still boots without issue, that every services starts again properly, that all configuration changes are persistent,...

And if you do it regularly and something goes wrong you have a chance that someone still remembers what they did in between the last reboot and now, which is often not the case if you only reboot once a year or even only every three months.

All for the low, low price of a few minutes of scheduled downtime every once in a while.

4 points

All package versions contain undiscovered issues, security or otherwise. They can also contain code that runs just fine when combined with version x of another package but fails with version y of that same other package.

All potential issues you can encounter in a given package version have a chance of discovery before you use them, around the time you use them or never (by definition if you encounter them they can not be discovered after you do so). This is why you want to run a combination of package versions that a lot of other people run too and you want to run that as part of a stable distro, not a bleeding edge/unstable one (so you are not the one discovering the issues).

1 points

f it ain't broke, don't fix it.

This is a very flawed approach. It assumes that you can actually keep the system in exactly the same state, which is not true for any system that interacts with the world around it. Standards change (e.g. new protocol versions), data files describing the outside world need updates (e.g. timezone info, certificate collections, DNSSEC root keys,...).

If you turn the exact same statement around it basically says "Fix it when it breaks" which means you get to fix it at the most inopportune times, after an unplanned reboot or when you really need that new feature.

You also deviate from the combination of package versions everyone else runs so you will likely run into unique bugs.

1 points

Update regularly. It is much easier to fix things when you only update one or two things at a time and something breaks than if you update hundreds of packages at the same time.

In addition to that updating and rebooting regularly (when kernel updates happen) makes sure that the server will actually be able to boot if an unexpected reboot happens.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.