• 0 Posts
  • 136 Comments
Joined 1Y ago
cake
Cake day: Jun 16, 2023

help-circle
rss

So, you need a unix time value followed by 000?

That first part you can calculate with date +%s -d '2024-07-02 12:00'.


That’s just sloppiness.

The information that familiarity gives you is “WTF does this field means”, and it’s the only thing that’s actually there. How you get a value and how a value is formatted are things no amount of expertise will save you from having to tell the computer, and thus you can’t just forget about.

(And let me guess, the software recommended install is a docker image?)


I’m just not sure what the middle guy would be saying

“I hate inheritance! I hate inheritance! I hate inheritance! I hate inheritance!”

But well, inheritance goes brrrrrr.



Let me introduce you to syslogd.

But well, it’s probably overkill, and you almost certainly just need to log on a shared volume.


The sheer number of people that do not expect a joke on this community… (Really, if you are trying to learn how to program pay attention to the one without the Humor on the name, not here.)

Well, I guess nobody expects.


That *++ operator from C is indeed confusing.

Reminds me of the goes-to operator: --> that you can use as:

while(i --> 0) {

Hum, no. The last thing I need on the world is a piece of non-working hard to maintain software.

I’d write something before trying Nextcloud again.


Personally, I’d really like if it could have different users on its management interface, with their own file shares.

It’s understandable why they don’t bother, but I would like to share my NAS without running several instances.


I’ll second people here in pointing that you are better allowing calls from your family during the “Do Not Disturb” than trying to set-up things not to call you during that time. Your phone almost certainly has a setting that allows “favorite contacts” or something like it.

It has a better configuration orthogonality :)


Yeah, that’s not a good reason.

It’s much easier to authorize a key than to input your password on every kind of interaction.


This is the internet. If you poke the bear, somebody will come-up with a completely reasonable use case of password authentication that happened once somewhere on the world.


If you don’t have any good reason not to, always set your SSH server to only authenticate with keys.

Anything else is irrelevant.


Oh, sure, the bloat on your images requires resources from the host.

There is the option of sharing things. But, obviously that conflicts a bit with maintaining your environments isolated.


FileZila has relied in a distribution channel that has turned untrustworthy a while ago.

Since then, they migrated the project. But somebody that doesn’t know what they are doing isn’t sure to get a good version of it.


Just about this part:

Or you might set up an sFTP service to accept a GUI connection from a client like FileZilla.

FileZilla has been a troublemaker for decades (not because the software itself, but the OP won’t get it right), and sFTP requires an extra service.

I’d recommend he get WinSCP or another scp client.


Do not run databases in Docker unless you know really well what you are doing.

It’s completely possible to run them correctly in Docker. But it’s far from trivial, and if you need to ask this, it means that you probably won’t be able to.


Hetzner. But it looks like the problem is created by the pair (hoster, ISP), and neither of them have a problem by themselves.


I get the throughput I brought from my ISP. But latency to my VPS is 260ms.


To check if your problem is caused by excessive memory usage requiring constant swapping. If it is, turning swap off will make some process be killed instead of slowing the computer down.



It’s popular because differently from NC, Syncthing works.

NextCloud main use is file synchronization. If you take this away, you will almost certainly decide to use some different software for the other features, because NC does them badly.



Why does this bot set the text color? And why it does that and not set the background at the same time?


Wow, I can’t believe I’m reading that first point from a 2018 comment. I’d mock it if it was in 2006.

You should have backups. Not hedge against 1 in 10 million error conditions.

The second one is a huge bother in desktops. I never not regretted trying it.

The third one is a complete non-problem.


Are those ex-Windows users slowing you down in any way?

And anyway, if you are talking about desktops, I’ve been using only / and /home for about 20 years since I noticed that /boot and /var didn’t bring me any value for a really long time. I’m currently wondering if I shouldn’t ditch /home.



even bring the bad, flawed windows culture to linux

Infighting is on the Unix culture since it left the Bell Labs. Or maybe even sooner.

But the only real enemy of that set is NVidia.


To the point that I’m doubting the OP’s non-knowledge.

He must know at least a lot of C++… But I disagree with the PHP one; it always transforms the problem, never leaves it alone. And transforms it very productively.


People tried that on Reddit. We got a handful of jokes, but nobody had time to laugh of them or post new ones.


Try to run something that requires php7 and something else that requires php8 on the same web server; or python 2 and python 3.

You actually can, but it’s not pretty.

(The thing about a declarative setup isn’t much of a difference, you can do it for any popular Linux distro.)


Not really. But with JS it’s better safe than sorry.

The GP’s addition is unnecessary, but I fully support anyone that decides to do it.


This evaluates to NaN for some reason:

'10' % 0

Since JS doesn’t really differentiate strings from numbers, except on the places it does, it makes sense to make sure you are working with numbers.



(+x) % 2 == 0

If you forget for a second it’s Javascript, the language will turn back and bite you.


The comic was originally about how to draw.

As people said, for coding you want to put his hands on the keyboard, not the mouse.


The fallacy of undistributed middle is strong with this OP…

I do think that’s his joke.


That doesn’t mean smart people can’t say “no”.

Just because I’m saying “no”, it doesn’t mean I am stupid!

I mean, I am stupid. But that’s not because I’m saying “no”!


Thanks. I’ll assume those names are the de-facto POSIX standard from now on.


The answer is get a minimum linux image, add nginx or apache, and put your content on the relevant place. (Basically, your third option.)

Do not bother about the future of nginx. Changing the web server on that image is the easiest thing in the world.