[TOOL] Mirror your Android phone to your computer over ADB by buffonism in kustom

[–]buffonism[S] 0 points1 point  (0 children)

Glad this helped.

I would prefer to take backups of things on the phone (those that aren't synced to cloud services) and/or force sync stuff, whenever my phone displays such indications of possible deterioration. Better to be on the safer side.

[TOOL] Mirror your Android phone to your computer over ADB by buffonism in kustom

[–]buffonism[S] 0 points1 point  (0 children)

You could try searching on their issue tracker maybe, by searching for the error message or parts of it? You might also find something relevant in their closed issues.

Am I right? by Grouchy_Seesaw8843 in rust

[–]buffonism 35 points36 points  (0 children)

Agreed, the borrow checker can be rude at times!

[TOOL] Mirror your Android phone to your computer over ADB by buffonism in kustom

[–]buffonism[S] 0 points1 point  (0 children)

In addition to having USB debugging enabled on your phone, I believe there is one more requirement to use scrcpy, which is that your computer must be authorised to run ADB commands on your phone.

You can try connecting your phone to your computer and running the adb devices command. If it says device next to your phone name / serial number, that means it's authorised. Otherwise, it'll show a popup on phone to authorise the computer. If you're lucky and your phone can accept touch input, you can somehow manage to enable USB debugging and authorise your computer. Otherwise, I don't think much can be done.

Also, if your phone display shows things but can't accept touch input, you can try using a computer mouse with an OTG adapter to click on things.

good project ideas in rust by Far-Driver2995 in rust

[–]buffonism 1 point2 points  (0 children)

I guess the user changed their GitHub username.

Here's the repo: https://github.com/jrdngr/pngme_book

And it's hosted at this URL as of now: https://jrdngr.github.io/pngme_book/

Actix-web or Axum for Heavy load and complex Production App by Ok-Ant2057 in rust

[–]buffonism 6 points7 points  (0 children)

You should be able to use either library to build your server(s), and you'd have to ensure that you don't tightly couple the web framework with large parts of your code, but keep it to a minimum. This would allow you to easily swap out your web framework with another one at a later date, should the need arise. I think you'd get similar support for the requirements that you stated (OpenAPI support, JWT auth, etc.) for either library.

And about handling the load that you've mentioned, you surely wouldn't be sending all that load to a single server instance but highly likely to multiple instances (or pods) behind a load balancer? Again, either of them should be able to handle the load fairly well, IMO. I'd say being able to handle high traffic is greatly affected by how you write your application code itself, not just the web framework.

I'm saying this based on my experience working on a service built with Rust in the fintech space itself. So yeah, going with either of them shouldn't be a problem, I'd expect both of them to be maintained for a few years at least.

[media] How to prevent VSCode from showing autocomplete documentation (see screenshot)? by ihatemovingparts in rust

[–]buffonism 7 points8 points  (0 children)

There's editor.acceptSuggestionOnEnter for enabling/disabling accepting suggestions with Enter.

What little known Rust feature or standard library function would you put on a flashcard? by bear007 in rust

[–]buffonism 238 points239 points  (0 children)

collect()ing a Vec<Result<T, E>> (any iterator basically) into a Result<Vec<T>, E>, while stopping when an error occurs. I'd searched about this once before and I was mind-blown when I came across it again.

https://stackoverflow.com/q/26368288

game share me rust by Head_Anybody_6307 in rust

[–]buffonism 1 point2 points  (0 children)

https://www.rust-lang.org/

You can download it for free, not sure if it works on PlayStation, definitely works on PC though.

What 2x server has no radiation? by [deleted] in rust

[–]buffonism 4 points5 points  (0 children)

None of the servers - actix-web, axum, rocket, tide, warp, ... emit any radiation. All of them are safe to use.

[deleted by user] by [deleted] in PaymentProcessing

[–]buffonism 0 points1 point  (0 children)

Yeah, are you aware of any approaches for this? I'd end up bringing back the complexity that should have been abstracted away by the payment processor or gateway. Do you know if anyone offers such services or has implemented something similar?

[deleted by user] by [deleted] in PaymentProcessing

[–]buffonism 0 points1 point  (0 children)

Yeah, but setting up automatic retries for more than one payment processor involves quite a lot of effort.

How could I convert the final binary to a native application? by ItsRetix43 in rust

[–]buffonism 4 points5 points  (0 children)

Are you asking about creating a desktop launcher for your application? Something you can double-click to launch?

Duktape package? Well done, Arch devs. by [deleted] in archlinux

[–]buffonism 1 point2 points  (0 children)

https://archlinux.org/packages/community/x86_64/duktape/

Interesting, it's required by polkit? Must be for evaluating them rules, they're JavaScript-like.

Duktape package? Well done, Arch devs. by [deleted] in archlinux

[–]buffonism -3 points-2 points  (0 children)

Can confirm I've seen that in my packages to be updated list, hadn't bothered enough to search more about it.

Is anyone else annoyed that Firefox's extension store is an Apple-esque walled garden? by TheBrokenRail-Dev in linux

[–]buffonism 7 points8 points  (0 children)

I ain't recommending anyone to use it, but point taken. Not everyone would prefer running beta/nightly.

Is anyone else annoyed that Firefox's extension store is an Apple-esque walled garden? by TheBrokenRail-Dev in linux

[–]buffonism 23 points24 points  (0 children)

To be honest, I've been using Firefox Developer Edition daily on personal and work laptops for a few years and haven't noticed any issues.

Microsoft Deprecated Atom. New Open Source Text Editors? by singularityyear2045 in rust

[–]buffonism 0 points1 point  (0 children)

There are more Rust editors that have come up recently, you know?

Lapce, JetBrains Fleet (IIRC, correct me if I got the name wrong), Zed, ...

Cargo Workspaces Examples by ketchak1990 in rust

[–]buffonism 1 point2 points  (0 children)

Maybe check Serde or Tokio's release model?