karlhungus

joined 2 years ago
[–] karlhungus 12 points 2 weeks ago (2 children)

I don't get the hate, it seems like about time these ultra rich companies paid some taxes?

[–] karlhungus 10 points 2 weeks ago (8 children)

Why is dst stupid?

[–] karlhungus 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 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 7 points 3 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 2 points 3 weeks ago

Friend went to tidal I believe, on account of the Andrew Tate thing

[–] karlhungus 2 points 3 weeks ago (2 children)

It's just my opinion, don't think there's any rule. I've been using YouTube, but there's probably a better alternative

[–] karlhungus 1 points 3 weeks ago (4 children)

Imo we should not use Spotify links on account of them hosting Andrew Tate.

[–] karlhungus 3 points 3 weeks ago (6 children)
[–] karlhungus 3 points 3 weeks ago

I think he was way more influential getting people on the side of peace, and treating each other reasonably. People tend to throw everything out if the messenger has faults.

I think most people would agree the bed in was tone deaf, and stupid, and that he had massive faults; we don't have to throw out an essentially very positive and influential message.

[–] karlhungus 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 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!

view more: ‹ prev next ›