beeb

joined 2 years ago
[–] beeb@lemm.ee 4 points 5 months ago* (last edited 5 months ago) (7 children)

I will probably post an improved version (if you like) but the main point is that you do not need the atomic to be mut, and so you don't need unsafe. Have a look at https://doc.rust-lang.org/std/sync/atomic/struct.AtomicUsize.html#method.fetch_add too

[–] beeb@lemm.ee 7 points 5 months ago (1 children)

Did you check out the Examples ?

[–] beeb@lemm.ee 3 points 5 months ago* (last edited 5 months ago)

I can only guess the print orientation but it looks like curling to me. Basically on that side, the part cooling fan (or lack thereof) is making the plastic of overhangs curl more than on the opposite side which gives you this bad surface finish. Otherwise maybe a retraction issue but that would probably show in other places too (oozing).

[–] beeb@lemm.ee 1 points 8 months ago

That was my point exactly :) glad you got it

[–] beeb@lemm.ee 2 points 8 months ago

Good to hear! I surely will give it a try, I've used nixos as my work distro for a little bit last year but they forced us to switch to Ubuntu.

[–] beeb@lemm.ee 2 points 8 months ago (2 children)

Literally copy pasted from a random repo as an illustration

[–] beeb@lemm.ee 7 points 8 months ago* (last edited 8 months ago) (4 children)

OP: "typescript is easy and rust is ugly"

Typescript :

export type PayloadActionCreator<
  P = void,
  T extends string = string,
  PA extends PrepareAction<P> | void = void
> = IfPrepareActionMethodProvided<
  PA,
  _ActionCreatorWithPreparedPayload<PA, T>,
  // else
  IsAny<
    P,
    ActionCreatorWithPayload<any, T>,
    IsUnknownOrNonInferrable<
      P,
      ActionCreatorWithNonInferrablePayload<T>,
      // else
      IfVoid<
        P,
        ActionCreatorWithoutPayload<T>,
        // else
        IfMaybeUndefined<
          P,
          ActionCreatorWithOptionalPayload<P, T>,
          // else
          ActionCreatorWithPayload<P, T>
        >
      >
    >
  >
>
[–] beeb@lemm.ee 3 points 8 months ago* (last edited 8 months ago) (4 children)

Okay so how is it with Cinammon, mate xfce? I know it's crap with Wayland and Xorg especially with nvidia drivers.

[–] beeb@lemm.ee 1 points 8 months ago* (last edited 8 months ago)

Check out Zen Browser

[–] beeb@lemm.ee 6 points 8 months ago

Kagi and Zen works for me

[–] beeb@lemm.ee 2 points 8 months ago* (last edited 8 months ago) (7 children)

How is fractional scaling on Mint? On Ubuntu 24.04 it's really crap (slow, blurry, flickering cursor, weird artifacts etc)

[–] beeb@lemm.ee 10 points 9 months ago* (last edited 9 months ago) (4 children)

Started using Zen browser recently and it's not bad! Basically Firefox but more stylish and more privacy. It syncs with my Mozilla/Firefox account so on mobile I just use Firefox.

view more: ‹ prev next ›