karlhungus

joined 2 years ago
[–] karlhungus@lemmy.ca 2 points 2 weeks ago

Go has an idiom like so https://github.com/hashicorp/vault/blob/8da4386caceb3fdfaa90074bb29c77e8a99c7dad/api/kv_test.go#L27, when i mention name i'm referring to that string.

I get what your saying, we've all worked in terrible code bases, i've also worked in code bases where this kind of article was enforced. What you wound up with was something that was very wordy.

[–] karlhungus@lemmy.ca 3 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Almost always use parameterized style tests, always have a name field, I don't use full sentences tho, that seems like too much. Don't believe I've ever seen a test like that either

These toy examples feel like strawmen to me

[–] karlhungus@lemmy.ca 7 points 2 weeks ago

This is incorrect.

You should read a summary of "capital in the twentieth century" , a famous book by an economist that asserts mathematically that taxation of the wealthy is the solution for this issue.

"Also tarrifs are a leftist thing"

This kind of talk helps no one, and asserts something that is practically unassertable. Even if we could split the world evenly in two between left and right and at some point the left were the first to propose tarrifs there'd be so little relation to today as to be useless

[–] karlhungus@lemmy.ca 2 points 3 weeks ago

For this kind of thing i usually go by popularity (active repo/popular repo), mostly to have the most other people in your boat. It doesn't always work but generally if other users have to migrate at least you can ask them questions.

On the face of it i'd go with the csi driver version, only because we use alternative csi drivers ourselves, and haven't seen any issues (ours are pretty aws vanella though).

We use storage classes (for our drivers) the "dynamic provisioning" section of https://juicefs.com/docs/csi/guide/pv, you'll need to make one of those, then create a statefulset and mount the pv in there.

I do find statefulsets to be a bit of a not as well supported part of kubernetes, but generally they work well enough.

[–] karlhungus@lemmy.ca 2 points 3 weeks ago (2 children)

I guess i shouldn't have answered, I do have experience with multiple storage-classes, but none of the classes you mention (so like i don't really know anything about them). I envisioned you dealing with pod level storage issues and thought that'd be something most programs would have lots of difficulty dealing with, where as a more service oriented approach would expect remote failures (hence the recommendation).

All of the things you mentioned don't seem like they have provisioners, so maybe you mean your individual nodes would have these associated remote fs'. At that point i don't think kubelet cares, you just mount those on the machines and tell kubelet about it via host mount

Oh shit look there's a CSI driver for juicefs https://juicefs.com/docs/csi/introduction/, they kinda start out recommending the host mount https://juicefs.com/docs/cloud/use_juicefs_in_kubernetes/.

We make some use of PV's but people i find my team often tend to avoid them.

I probably should have shut my mouth from the start!

[–] karlhungus@lemmy.ca 5 points 3 weeks ago (5 children)

My gut says go multi cluster (or not) at that pointbut treat the remote as a service, have a local container be a proxy

[–] karlhungus@lemmy.ca 6 points 4 weeks ago

Decide your budget first, everything after that follows. Most likely like others have said ignore that old pc, you get get something much better second hand for very cheap.

[–] karlhungus@lemmy.ca 5 points 1 month ago

Thank you! This is like the one thing it should have had

[–] karlhungus@lemmy.ca 6 points 1 month ago

It seems like your ignoring that this will encourage tipping, that has tended to lower wages, as seen in USA. It doesn't seem like this is perfect or good

[–] karlhungus@lemmy.ca 9 points 1 month ago

lol, way better!

[–] karlhungus@lemmy.ca 86 points 1 month ago (4 children)

Hate this title, how about:

"A novel by author Lena McDonald, accidentally leaves AI prompt in published version."

[–] karlhungus@lemmy.ca 1 points 2 months ago (1 children)

Takeover the complete control of the car?

Maybe not complete control, but maybe taking away breaks yes: https://www.wired.com/2015/07/hackers-remotely-kill-jeep-highway/

Miller and Valasek’s full arsenal includes functions that at lower speeds fully kill the engine, abruptly engage the brakes, or disable them altogether. The most disturbing maneuver came when they cut the Jeep's brakes, leaving me frantically pumping the pedal as the 2-ton SUV slid uncontrollably into a ditch.

view more: ‹ prev next ›