1,005 karma · joined Mar 31, 2020 (6y ago) · 374 submissions
comment 3y ago · link · parent
My experience is that they seem to have this mindset that if you aren't paying them for advertising specifically, you're not a customer, you're a user - the product - which is true if you aren't paying them at all, but isn't even remotely the case when you're giving them money in exchange for a product. Absolutely horrendous customer service every time I've needed to contact them.
comment 3y ago · link · parent
It didn't on its own, but it is worth noting that with type-safe languages, you can protect yourself from this by encoding that invariant into the type system.
Using Rust as an example, take a &std::path::Path (or &camino::Utf8Path or whatever) in your public API; have custom InternalPathBuf and InternalPath types that perform validation to ensure they aren't using relative paths to "break out" during construction, and then pass those around in your internal API. Bingo bango, now there's no way (short of transmuting, an `unsafe` operation) to pass invalid paths to the functions that hit the filesystem without a compile error. No redundant runtime checks required, and no need for you as the developer to keep track of which codepaths have already validated a Path and which haven't.
I'm sure you already know this, and I would imagine that Java can do the same, but it's a big step above languages like Python where you can do whatever you want to anything you want.
EDIT: lol while I was typing this you made a post about the same thing below.
comment 3y ago · link · parent
The desktop web interface is slow enough to be irritating but not so slow it's unusable.
Finding open restaurants with Google Maps is pretty easy. They have a specific option for "is currently open", and menus are frequently linked right from the business's listing.
comment 3y ago · link · parent
Strongly agreed that these gig companies, at least in their current form, can die as quick a death as possible.
comment 4y ago · link · parent
If this is out of tree, AFAIK you can use these all you want. Whether or not you _should_ is obviously a different matter.
comment 4y ago · link · parent
comment 4y ago · link · parent
As far as things I typically make, database-backed HTTP APIs are probably the most common, and influxdb collectors second most common.
comment 4y ago · link · parent
comment 4y ago · link · parent
The nice thing about well-solved problems in libraries is that you don't have to learn how to write those things if you don't want to
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
It's essentially converting reputation to cash
comment 4y ago · link · parent
My money is on the new I/O die being the source of most of the improvement in the low TDP range. That thing was pretty power hungry on 12nm GloFo; 6nm TSMC is a pretty sizeable leap.
Obviously there are improvements everywhere in the V/F curve, implying that the CCDs have also had solid improvements, but since I/O die power draw doesn't change much with CCD frequency, it's a bigger slice of the pie (so to speak) at lower clocks.
comment 4y ago · link · parent
The worst that comes to mind for me was a node failure in the middle of a major version upgrade. Not likely a big deal for proper deployments, but I don't have enough nodes to tolerate complete node failure for most of my data.
Grabbed a new root/boot SSD, reinstalled the OS, reinstalled the OSDs on each disk, told Ceph what OSD ID each one had previously (not actually sure if that was required), and....voila, they just rejoined the cluster and started serving their data like nothing ever happened.