Hacker Newsnew | past | comments | ask | show | jobs | submit | mekster's commentslogin

Biggest problem being not being able to paste much of the complicated code found online. You can save it and run it via bash command though.

oh my zsh can recreate much of the fish functionality while maintaining good bash interoperability.


This is the most common complaint I see for switching interactive shells to fish/nushell, but it's not a problem in practice. You don't ever uninstall bash, so if you've got a command to paste:

  bash <enter>

  <paste> <enter>

  exit <enter>
Tada!


Exactly this, couldn't be easier. Heck, I run into this all the time on macOS whenever an LLM gives me a Bash one-liner that for some reason doesn't work with ZSH. It's easier to just pop into Bash than analyze and adapt that command line to ZSH.


> couldn't be easier

Except for the single step workflow: <paste> <enter> like you do on POSIX shells?


Couldn’t be easier to use another shell. As in: it’s hard to imagine making it even less complex. Which means it’s no burden at all.

Do you get it now?


You could let your team mates to star as well.


NextCloud news did just fine as a replacement.


NextCloud news has the problem that you need to install and use NextCloud to use it.


Come on, AI can make a better looking site in 10 minutes these days.


Can it also make a comment that doesn't need to mention the latest unrelated fad?


I haven't tried the app yet but I have managed Linux servers for 20 years and still think this app can be pretty useful.

You can use whatever tools to set up the initial state of a server using this app.


Tell me how you use Ansible to check cron jobs, docker container states and read logs.


Use SeaTable.

Rows can be very flexible and I've been using it for years for my to-do list (also issue tracker on smaller projects) and it works very well.

Works well on mobile as well.


Since when did LAMP go down? Maybe only Apache is getting less popular but still has no problem.


How is the performance for both?

Last time I used restic a few years ago, it choked on not so large data set with high memory usage. I read Borg doesn't choke like that.


Depends on what you consider large; I looked at one of the machines (at random), and it backups about two terabytes of data spread across about a million files. Most of them aren't changing day to day. I ran another backup, and restic rescanned them & created a snapshot in exactly 35 seconds, using ~800 MiB of RAM at peak and about 600 on average.

The files are on HDD, and the machine doesn't have a lot of RAM, looking at high I/O wait times and low CPU load overall, I'm pretty sure the bottleneck is in loading filesystem metadata off disk.

I wouldn't backup billions of files or petabytes of data with either restic or borg; stick to ZFS for anything of this scale.

I don't remember what the initial scan time was (it was many years ago), but it wasn't unreasonable — pretty sure the bottleneck also was in disk I/O.


For regular DB like MySQL/PostgreSQL, just snapshot on zfs without thinking.


Databases these days are pretty resilient to restoring from crash consistent backups like that, so yes, you'll likely be fine. It's a good enough approach for many cases. But you can't be sure that it really recovers.

However, ZFS snapshots alone are not a good enough backup if you don't off-site them somewhere else. A server/backplane/storage controller could die or corrupt your entire zpool, or the place could burn down. Lots of ways to fail. You gotta at least zfs send the snapshots somewhere.


How do you mean can’t be sure if it recovers? It’s not hoping for inconsistent states to be recovered by the db but they’re supposed to be in good state with file system snapshotting.

https://serverfault.com/a/806305

https://zrepl.github.io/v0.2.1/configuration/snapshotting.ht...


Ha! I did not expect a reference to `innodb_flush_log_at_trx_commit` here. I wrote a blog post a few years ago about MySQL lossless semi-sync replication [1] and I've had quite enough of innodb_flush_log_at_trx_commit for a lifetime :-)

Depending on the database you're using, and on your configuration, they may NOT recover, or require manual intervention to recover. There is a reason that MSSQL has a VSS writer in Windows, and that PostgreSQL and MySQL have their own "dump programs" that do clean backups. Pulling the plug (= file system snapshotting) without involving the database/app is risky business.

Databases these days are really resilient, so I'm not saying that $yourfavoriteapp will never recover. But unless you involve the application or a VSS writer (which does that for you), you cannot be sure that it'll come back up.

[1] https://blog.heckel.io/2021/10/19/lossless-mysql-semi-sync-r...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: