nbailey

joined 2 years ago
[–] nbailey@lemmy.ca 38 points 1 year ago (1 children)

Wow, you mean tying our entire nation’s success to a speculative real estate market was a bad idea?

[–] nbailey@lemmy.ca 8 points 1 year ago

It’s unlikely but not impossible. I’ve been using PM with a custom domain for about five years now, and never thought too hard about leaving.

In an ideal world, a company like ProtonMail would be cooperatively owned by the workers and paying users, sort of like a credit union.

Pragmatically, they’ve done fine stewardship of the service for the last decade or so they’ve been around. A big part of it is that their value proposition depends on stability and trust. But it could be better.

[–] nbailey@lemmy.ca 12 points 1 year ago (1 children)

The bastards can never take away your shell script full of arcane and unreadable curl commands parsed by incomprehensible awk scripts!

[–] nbailey@lemmy.ca 100 points 1 year ago (4 children)

In my opinion it points to a more dangerous thing, “continuous delivery” software mindset seeping into safety critical systems.

It’s fine, good even, that web developers can push updates to “prod” in minutes. But imagine if some dork could push largely untested control system updates to your car’s ECU… it’s one thing for a website site to get a couple errors, but it’s a very bad thing if it makes your steering wheel stop working.

Unfinished products make more money, and it’s high time a consumer protection law clamped down on this.

[–] nbailey@lemmy.ca 1 points 1 year ago

It was called Conrail. And it was beautiful.

[–] nbailey@lemmy.ca 2 points 1 year ago* (last edited 1 year ago) (1 children)

My advice would be to weight your decision on which bank has a branch within walking distance. I know that sounds like boomer advice, but it’s genuinely saved my butt a few times. I was with RBC for a while, but they’re generally terrible so I agree with that decision.

In my opinion, all a bank does is hold onto my paycheque until it can go to rent/mortgage, credit card autopay, or into the TFSA/RRSP accounts. If I look at the records for my chequeing account there’s usually 4-5 transactions per month.

The important decision, to me, is which credit card and investing account to get. These are the ones that actually matter.

For posterity, here’s what I use at the moment:

  • chequing/savings accounts at Libro credit union (3 minute walk away) and TD (backup, 15 minute walk away). Lowest account “tier” and bare minimum in each to get the fees waived.
  • credit card: some visa with a high limit and cash back because I don’t like “points”
  • investing: TFSA and RRSP at wealthsimple because there aren’t any fees on ETFs.

The nice thing is that these can all be decoupled. If I change any component, it’s just adjusting the autopay info on its dependants.

[–] nbailey@lemmy.ca 63 points 1 year ago (3 children)

My dude, poor people are not driving in New York lmao

[–] nbailey@lemmy.ca 5 points 1 year ago* (last edited 1 year ago) (1 children)

I did something very similar with Opensearch rather than grafana, but it’s definitely possible. My setup:

  • fluent-bit installed on webserver to scrape and parse nginx logs, then forward them over TLS to the monitoring server
  • on the monitoring server, a second fluent-bit service runs here to collect the forwarded logs and insert them into the correct index pattern. A filter also inserts geoip lookups into the records.
  • opensearch & dashboards set up to exclude known “bot” user-agents from the analytics, and do some other basic data cleanup to make the dashboards pretty

It works well, but could be a bit simpler admittedly. You may choose to use Loki instead of Opensearch/Elasticsearch, and there are plenty of other log parsing tools out there.

Another, much simpler option is to just run Goaccess on your log files, either periodically to generate reports, or as a daemon to create a live dashboard.

[–] nbailey@lemmy.ca 8 points 1 year ago

I’ve been using Thunderbird with the OWL and TBSync plugins for exchange for years with good results. Obviously some things won’t work (teams integration, provisioned signatures, mail merge, etc) but it’s good enough that I only need proper outlook/OWA less than once a month.

Another option is “installing” the webapp as a PWA. I tried that for a bit but found notifications to be unreliable.

[–] nbailey@lemmy.ca 4 points 1 year ago

It’s fine. RAID is not a backup. I’ve been running simple mirrors for many years and never lost data because I have multiple backups. Focus on offsite and resilient backups, not how many drives can fail in your primary storage device.

[–] nbailey@lemmy.ca 17 points 1 year ago

Not sure how to do that in docker, I’ve run mine as a plain old PHP-FPM site for years and years. It might be something that can be tweaked using config files or environment variables, or might require building a custom image.

ClamAV is slow and doesn’t catch the nastiest of malware. Its entire approach is stuck in 2008. It’s better than nothing for screening emails, but for a private file store it won’t help much considering that you’ll already have the files on your system somewhere. And most importantly, it slows down file uploads 10x and increases CPU load substantially. The only good reason to use ClamAV for nextcloud is if you will be sued if you don’t!

[–] nbailey@lemmy.ca 56 points 1 year ago (17 children)

It needs some tweaks to be snappy. The defaults are really bad.

  • change database from SQLite to a proper database like MySQL or Postgres, and configure the database server to use your memory fully
  • increase the PHP memory limit from the default (128M on many distros) to >1G, the more the better
  • install APCu in-memory cache for PHP
  • add Redis as additional cache
  • turn off the antivirus extension, if installed (ClamAV is useless)
  • use http/2 on Apache/nginx to increase performance with multiple connections

https://docbot.onetwoseven.one/services/nextcloud/

view more: ‹ prev next ›