Better HN
topnewbestaskshowjobs
Log inSign up

skibbityboop

54 karma · joined Jan 21, 2017 (9y ago) · 41 submissions

Submissions

comment 1w ago · link · parent

SMR is honestly just an "avoid at all costs" technology, abysmal performance in any application.

comment 1mo ago · link · parent

Yeah, we have one legacy, abandoned PHP service that isn't readily updatable and is being replaced, so in the interim it runs fully isolated in its own VPC with only Cloudflare able to reach it to help protect it. The container runs non-root with read-only filesystem and the host has no egress allowed at all for the UID running the service (not even DNS, no new outbound traffic for that UID at at all), it can only be connected to by CF's hosts.

It has survived perfectly fine so far and is on a _very_ vulnerable PHP version based on the php2shell writeup. Management knows it could supposedly get popped at any time, and we'd have to rollback to a snapshot, spin it back up, and wait for it to get popped again. Rinse/repeat.

comment 1mo ago · link · parent

> The non default php settings he set break the exploit.

If that's the case, then there is a mitigation for all vulnerable versions, but the team that released php2shell said there is absolutely no complete mitigation and every PHP version between 5.4 and these latest updates is absolutely vulnerable. So which is true?

comment 7mo ago · link · parent

Not for PostgreSQL, but for MariaDB we run replicas in FreeBSD jails on a server with lots of ZFS space. The jailed Maria instances just stop every hour (so the DB flushes everything to disk), the host snapshots all of their data volumes, and then starts the jails back up. Within a minute or so they're fully caught up to the primaries again. Gives us months and months of recovery checkpoints.

It's great because it's a completely clean save from a shutdown state, so when we need a scratch copy of a database it only takes as long as cloning whatever snapshot we want (depending on how far back we need to to), then starting a scratch jail that runs from those clone filesystems. When finished, just shutdown scratch and delete the clones, it's like it never happened.

comment 10mo ago · link · parent

Yes, this really is an example of someone who "made it" and made a large amount of money that has allowed them to turn around and choose a simpler life. "Oh, I just moved myself and my family off to a little Greek island estate I bought and farming it (along with my existing money) is what provides for us..."

Money may not buy happiness buy money buys you all the freedom you could possibly need to do anything that fits your whimsy.

comment 1y ago · link · parent

It's not like VMFS (not a cluster filesystem), for Proxmox+iSCSI you get a large LVM PV that gets sliced up into volumes for your VMs. All of your Proxmox nodes are connected to that same LVM PV and you can live migrate your VMs around all you wish, have HA policies so if a node dies its VMs start up right away on a surviving node, etc.

You lose snapshots (but can have your SAN doing snaps, of course) and a few other small things I can't recall right now, but overall it works great. Have had zero troubles.

comment 1y ago · link · parent

Yes, when dementia has you terrified of, or raging at, your closest loved ones (who you don't remember at all so you think they're demons or strangers) all day every day to the point where they all can't stand you and feel terrible for wishing death would come to end your massive suffering. Beautiful moments, just beautiful.

Hanging in there with cancer? Sure, fight it and deal with the pain. Dementia? No, please end it. The two aren't even close in comparison, cancer feels easy and merciful.

comment 1y ago · link · parent

Yeah, kinda have to agree. I like traefik fine but getting mTLS working with it was a serious pain and the docs for doing so were _terrible_, had to keep searching around and piecing together bits from various third party blogs. Coming from haproxy where the documentation is _so_ _much_ better and things like e.g. mTLS are vastly easier, it was not a fun experience but we did finally get traefik to work as we needed.

comment 1y ago · link · parent

Anecdotal but btrfs is the only filesystem I've lost data with (and it wasn't in a RAID configuration). That combined with the btrfs tools being the most aggressively bad management utilities out there* ensure that I'm staying with ext4/xfs/zfs for now.

*Coming from the extremely well thought out and documented zfs utilities to btrfs will have you wondering wtf fairly frequently while you learn your way around.

comment 2y ago · link · parent

Yeah, if your device is lost or destroyed and you rely on passkeys, you are well and truly f**ed. Your only hope is if you have recovery passwords stored in a password safe or manager. If you already have that safe or manager, than you can already very easily have 25+ character passphrases for every site you use, so what have passkeys gained you except having to be double-vigilant about having a recovery method for every login you create?

comment 2y ago · link · parent

Same boat, the attempt at bot detection prevents the page from working at all for me.

comment 2y ago · link · parent

Hit the same issue, but it goes fine if you just clone the repo, cd down into the cmd directory and 'go build -o doggo'.

comment 2y ago · link · parent

I'm with you, I need to read up more on where timeseries could benefit, at work we have a PostgreSQL instance with around 27 billion rows in a single partitioned table, partitioned by week. Goes back to January of 2017 and just contains tons of data coming in from sensors. It's not "fast", but also not ridiculously slow to say e.g. "Give me everything for sensor 29380 in March of 2019".

I guess depends on your needs but I do think I need to investigate timeseries more to see if it'd help us.

comment 2y ago · link · parent

I got a Latitude 9430 on eBay for $520. This thing is an amazing laptop and I'd put it right there with the Macs I have to work with at dayjob, as far as build quality/feel.

comment 2y ago · link · parent

Anyone who has owned a Mini would probably question whether their QA even gets that far.

comment 2y ago · link · parent

Maybe it depends on the McDonald's franchisee in your area, I never see free fries in the app but it's always "any size fries for $1.29" (which is still massively cheaper than their normal price).

comment 2y ago · link · parent

> If you have a whole database of them, the trick is to try one code with a thousand cards

That still sounds like a crapshoot... Of those 1,000 cards, there might be 14 that have 982 as CSV, 9 that have 307, and none with 118. In other words, there's no guarantee whatsoever that any given CSV will be used in a batch of 1,000 or even 10,000 cards.

comment 2y ago · link · parent

Same, in years and years of use, never a single spam message.

comment 3y ago · link · parent

> yes, it adds a forwarding rule. Which skips over the rest of my firewall rules.

... which you explicitly asked it to do by using the -p option.

comment 3y ago · link · parent

Works well to just spin up a python:3.11 container via Docker or Podman and do the pipx + reddit-user-to-sqlite installations, then run the utility in there. You can mount some folder as part of starting the container or copy the reddit.db file out of the container before throwing it away. Avoids any changes to your real system at all.

comment 3y ago · link · parent

1. Install regular old Docker

2. Type 'docker swarm init'

3. There is no 3, you're literally finished and now have a full-on Swarm node w/ all features.

comment 4y ago · link · parent

Great question, and yes, some of the better devices implement a small buffer so may be able to keep a day or even two in memory while they're out of cell coverage. If you activate the SIM you might get a small data dump.

GPS doesn't need a SIM, and indeed the devices will have a fix all the time whether activated or not. They do require cell service to send their updates anywhere. They're all simple GPS receivers, not transmitters, thus require an active SIM.

comment 4y ago · link · parent

> Is the sky-link GPS device still sending location data back to a Sky Link server?

As someone who used to work in that industry, no, it's not sending location data. You don't activate the SIM until you have someone who is going to pay for the service, otherwise you're losing money for no reason.

We'd get that question often though, someone activating a device hoping they'd be able to see everywhere it was for the last month.

comment 5y ago · link · parent

Heh, can you imagine having to take over the systems managed by that poster? You'd have to rip and replace everything.

comment 5y ago · link · parent

What about it isn't idempotent for you? Are you falling into the anti-pattern of using shell/command all over the place instead of real modules?

We have playbooks installing and managing our databases, web servers, VoIP PBX, DNS servers, backend services, and on and on. All completely idempotent and safe to run at any time against any host. No special effort whatsoever was required to make that safe to do.

comment 5y ago · link · parent

My friends and I all own/owned it legitimately (we had LAN parties nearly every weekend), but over time we'd lose the key. Just entering all 3s has always worked and it accepts it as a valid key.

comment 5y ago · link · parent

We run it (Docker Swarm) extensively inhouse at $dayjob, it runs loads of core services that are critical to operations. It's never given us any grief and is very easy to manage and maintain.

If the complexity ever gets to the point that k8s is justified we'll move there, but you can get a lot of work done with the much simpler Swarm.

comment 5y ago · link · parent

Have you finally stopped buying Intel? Current Ryzens are a much better CPU anyhow, just dump Intel and be happy with your ECC and everything else.
12