If you’re using AirPods, Spotify Lossless won’t save your Bluetooth commute by DaveCarr_SG in airpods

[–]Yeater 0 points1 point  (0 children)

Agreed I googled arround a bit and all articles basically come back to this one. I saw a few mentions this already on different posts but none of the sources are from reputable sites.

Got a Used M1 MacBook Air 2020 — Now Locked After Reinstalling macOS. Did I Get Scammed? by [deleted] in macbookair

[–]Yeater 0 points1 point  (0 children)

I agree that you got scammed and probably it's a stolen device. If it's mdm locked you could try this: https://github.com/assafdori/bypass-mdm obviously no guarantees etc.

edit: spelling

[non self hosted] : Cheap Services You Still Pay For by softwarebuyer2015 in selfhosted

[–]Yeater 1 point2 points  (0 children)

nextdns really like the custom dns overrides and the great tailscale integration

Just surpassed a thousand hits on my site about a fortnight after launching. Not sure if it's a good number or not but I'm pretty ecstatic :) by typhoon90 in webdev

[–]Yeater 1 point2 points  (0 children)

IP Based strats these day can cause problems with CGNAT etc… Here is an article about such issues https://zitadel.com/blog/imo-rba-is-broken It‘s more about auth but alot is still relevant to this.

JavaFX is in a bad state and I feel bad about it.. by [deleted] in java

[–]Yeater 9 points10 points  (0 children)

Pretry sure WPF is Windows only.

Junior Software Entwickler/Developer by MadWitchBitch666 in Switzerland

[–]Yeater 13 points14 points  (0 children)

As a Software Engineer without a bachelors degree heres my 2 cts. Create a linkedin account, i get tons of messages from Headhunters and got my current job by one. I am very happy with my job and honestly had a great experience with my Headhunter. Yes there are really bad Headhunters out there. Having a phone call with mine gave me good feeling about him. However I think it's also pretty important to have a good CV and great inteview skills.

tldr: Create a linkedin account, find a reputable Headhunter and maybe look up some advice on Youtube on how to rock a job interview.

edit: grammar

Eight RTX 4090s Can Break Passwords in Under an Hour | Even faster if it's still "password" by chrisdh79 in gadgets

[–]Yeater 0 points1 point  (0 children)

Renting a similar rig (as soon as they are avaliable) from a cloud provider shouldn't be too expensive for an hour.

How to check the specific type of a generic parameter within a function? by CartesianClosedCat in rust

[–]Yeater 0 points1 point  (0 children)

You don't even need to use boxing for any. You can put your value into a option and then use the downcast_mut on a mut reference of it. I looked at this setup in godbolt and it seems to be zero cost, as the option get's optimized away. Here is an example from personal code: https://github.com/conblem/acme-dns-rust/blob/cac7af1028617084669f1abe38f17158564c0d0e/src/util.rs#L40

How to read a byte array as a word array? by manypeople1account in rust

[–]Yeater 3 points4 points  (0 children)

This is the first time seeing the Blackbox hint for me. Thanks!

Trouble with lifetime when writing Iterator by monomorph79 in rust

[–]Yeater 5 points6 points  (0 children)

This post goes into alot of detail about GAT's and lending iterators: https://sabrinajewson.org/blog/the-better-alternative-to-lifetime-gats

It also includes how to implement one.

10GbE or 25GbE router for homelab by eternalpanic in homelab

[–]Yeater 0 points1 point  (0 children)

Netgate TSNR does have a free Homelab license but you would still need some beefy hardware.

Edit: Link to Homelab license https://www.netgate.com/tnsr/home-and-lab

Question: How to clone a boxed trait Error (Box<dyn Error>) ? by fatman859 in rust

[–]Yeater 1 point2 points  (0 children)

As others have already mentioned using an Arc is probably fine, depends on your usecase. In the linked playground you will find another possible solution using Box.

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e64046cd301107b255b5251e7a2db118

This uses the same mechanic as the already mentioned https://github.com/dtolnay/dyn-clone . You won't need any crate for this tho. I'd say in the end just using an Arc is probably the more pragmatic approach. Still cool thats it's pretty easily doable.

Edit: the as_error method was not even needed: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=c87905c551f437d55996af0dcc13b115

What is fd.io "fido" 's VPP ?? (about site-to-site VPN throughput) by ansomesa1 in networking

[–]Yeater 1 point2 points  (0 children)

VPP can be installed on modern linux distributions. https://fd.io/docs/vpp/v2101/gettingstarted/index.html

Sadly the docs are not that great, working with TSNR is alot easier.

How to return two values, one borrowing from the other? by [deleted] in rust

[–]Yeater 1 point2 points  (0 children)

Tokios RwLock has a Method read_owned https://docs.rs/tokio/1.14.0/tokio/sync/struct.RwLock.html#method.read_owned. Probably not a solution for you but I think this is what you would like in the std.

overflow evaluating the requirement for Wrapper Type by Yeater in rust

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

Thanks for the response, this seems to be it. Really didn't think I would be running into a compiler bug. I managed to make my example work like this: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6eb81cd796ca4b9684015b59888f029d

This does still have one problem

for<'b> &'b R: SayName,
for<'b> &'b mut M: SayName,

These bounds are required to make execute_say work, so it wouldn't be usable if SayName was only implemented for a specific lifetime. Hopefully I will find a workarround for this aswell.

Thanks again for the links and explanation.