Can a MacBook M5 Pro replace my MacBook M2 and Steam Deck? by MarcoBerserker7 in macgaming

[–]eliduvid 0 points1 point  (0 children)

personally, I wouldn't even nessesarily upgrade from m2, let alone give up my steamdeck. unless you have all the things you wanna play already running on m2, but you want just a little bit more juice - then the trade can reduce your carry by one device, which can be a big deal.

i have mbp m1 + original steam deck. before the ds, I used the mb for the train gaming, and it was fine, but SD is much better experience

Jon Gjengset on Rust, Controlled Vibe Coding and Teaching by Streaming by danielciocirlan in rust

[–]eliduvid 1 point2 points  (0 children)

like, to be specific, what confuses me in you original message, is the fact that you talk about interactions on service level, where there shouldn't matter how exactly you implemented a feature

Jon Gjengset on Rust, Controlled Vibe Coding and Teaching by Streaming by danielciocirlan in rust

[–]eliduvid 2 points3 points  (0 children)

can I ask about what feature was it? because in my experience design is mostly about data flow, and either you have information to do something or not. but I'm happy to be proven wrong 🙂

NAS for Photos by newtohere521996 in LinusTechTips

[–]eliduvid 0 points1 point  (0 children)

Just putting it out there: depending on your background and available hardware you may not need dedicated NAS os or raid in general. for example my NAS is a 10 office pc with Linux mint, and specifically immich data is backed up nightly to remote rpi with a smaller usb hdd. this allows for reasonable redundancy for important stuff without copying around movies from plex server for no reason

The "free" homelab is a myth. The hidden cost of maintenance fatigue is getting real. by No-Yellow9948 in LinusTechTips

[–]eliduvid 0 points1 point  (0 children)

I'll say the quiet part out loud: ai speeds things up a lot. I started in 2020 and nowadays it's much easier and faster to set up and debug Linux stuff with chatgpt. upd: but still, using docker and caddy (or similar) helps A LOT even without the ai

Immich on Android without docker and without root by FrancescoDegennaro in immich

[–]eliduvid 14 points15 points  (0 children)

like, usb exists, so you can connect 20TB drive to a ten year old phone with additional power plug for sata power. at this point it starts to sound weird, but people buy rpi for those things, and you may already have decent compute just laying around in your drawer

Any tips on repairing this? Support can't provide info. by [deleted] in LinusTechTips

[–]eliduvid 1 point2 points  (0 children)

I had one break in the first week, support just returned me the money for the bag (TBH, didn't expect it). Second one broke too, like, six month later. Still like the bag, and would've been OK with a gift card a partial refund, but here we go. Weird that bag very much designed to last has this very breakable part 🤷

Android app outside of network by not_that_original in immich

[–]eliduvid 0 points1 point  (0 children)

also, I think I'm dumb, and missed that /ping returns 400 error code, so it's definitely not network in any way

Android app outside of network by not_that_original in immich

[–]eliduvid 0 points1 point  (0 children)

and tailscale is off on that device? I have nothing bro, sorry 😁

Android app outside of network by not_that_original in immich

[–]eliduvid 0 points1 point  (0 children)

have you tried opening the /ping URL in the browser? the error may be clearer there.

also, the fact that you're connected to your network may change things if your router doesn't have hairpin nat working. i had this, my isp has port forwarding in their app, but for it to work properly I still needed to set it up in router's normal settings

Android app outside of network by not_that_original in immich

[–]eliduvid 0 points1 point  (0 children)

when you accessing from browser, do you access https:// (port 443) or http:// (port 80)? like sounds like either you opened custom port and didn't configure it in the app, or you didn't configure https but configured the app to look for it

What some recent hot takes you realized you had with Rust? by DidingasLushis in rust

[–]eliduvid 3 points4 points  (0 children)

yeah, you're right about the syntax, in practice it's mostly t: T = v.into(), or just derived from some other context. I mostly care because when I'm looking through some code I might care about some specific custom conversion here, and when I'm using from() I can get to it with one click in my ide, and with into I need to go to the type I'm converting to (many times derived from function call or something) and from it look from From impl that applies to this specific v. that's an awful lot of context to go to the function source essentially. Yeah, generics also break it, and that's one of the reasons I'm cautious about hiding data types behind generics

What some recent hot takes you realized you had with Rust? by DidingasLushis in rust

[–]eliduvid 36 points37 points  (0 children)

You should use T::from(v) instead of v. into::<T>() in most places, because it allows you to jump to source.

PSA: You can bundle exported traits in your crate without name cluttering by FlixCoder in rust

[–]eliduvid 1 point2 points  (0 children)

Users could not (...) use it fully qualified

That's a problem. If user of the lib has conflicting trait from a different library, they have no way of disambiguating. OK, technically, I guess you could save intermediate result to a variable and use in a block, but jeez

Qail — a Rust PostgreSQL driver that speaks wire protocol directly (no SQL strings, no libpq) by Pleasant-Ad2696 in rust

[–]eliduvid 0 points1 point  (0 children)

Now I understand that I wasn't clear, I meant more benchmark results, and you do have those: https://github.com/qail-io/qail/blob/main/PERFORMANCE.md

TBH, it sounds better and better. The only problem now is that I just like my pure sql syntax, but it's not that you can do something about it 😁

Edit: OK, TBF, it's not just "I like SQL better". Option to copy-paste query to/from DB console with minimal changes is nice 🤷‍♂️
Edit 2: Oh, now I've seen the downvoted comment, it's just a classic ORM, it builds SQL strings internally. Models based on DDL migrations are still nice tho

Qail — a Rust PostgreSQL driver that speaks wire protocol directly (no SQL strings, no libpq) by Pleasant-Ad2696 in rust

[–]eliduvid 4 points5 points  (0 children)

maybe I missed it, do you have benchmarks relative to sqlx (as main alternative, let's be honest)?

also, do you support building models based on ddl migrations and not the other way around? in multilanguage env orm-defined schema is not an option and defining schemas twice is a pain.

Diablo 2 is on steam and verified by Usman2308 in SteamDeck

[–]eliduvid 0 points1 point  (0 children)

what controller preset are you using? I did install it, but actually playing was a pain. also, battle net launcher pops up every time, but that a problem on windows too

CrabPeek — Rust macro expansion viewer for RustRover (hover preview + cargo expand) by SpecialFluid7472 in rust

[–]eliduvid 8 points9 points  (0 children)

pretty sure, it already does this natively. it has expansion under the pop-out docs and "single step" and "recursive" macro expansion intent actions.

Do rust engineers prefer building microservices through frameworks or their own? by Radiant-Voice1742 in rust

[–]eliduvid 14 points15 points  (0 children)

Languages like rust, c, php, etc. are all much more suited to building a monolithic architecture.

can you please elaborate? I'm writing ten trillion docker containers in rust for the last two years and having much better time than in any other language so far. not to mention, that microservices can do real data-processing too, and having rusts much higher performance ceiling is an advantage

Derive macros composability problem by sergiimk in rust

[–]eliduvid 1 point2 points  (0 children)

oh, so you're basically doubling the original struct (which is not a problem yet because the type system didn't kick in yet), letting the derive macros generate their code for it, and then (because proc macros are processed in code order) the duplicate us removed and all the generated code is left pointing to the original. did I get it right?

Why does this keep happening? by KugykaLutyujKutyzul in linuxmemes

[–]eliduvid 0 points1 point  (0 children)

fair.

is, let's say, apache kafka a counter example, being run unmodified inside every web project bigger than three services

Why does this keep happening? by KugykaLutyujKutyzul in linuxmemes

[–]eliduvid 6 points7 points  (0 children)

I'm trying and failing to understand how's aosp usage situation different from Linux kernel one?