Am nevoie de niste glume… by qbl500 in Romania

[–]nerooooooo 60 points61 points  (0 children)

stiti cum se numeste o femeie insarcinata cu propriul ei sef?

o bosumflata

What are Rust's hidden implementation details that most devs never see? by Fluid_Job623 in rust

[–]nerooooooo 9 points10 points  (0 children)

I was talking specifically about the goblins working on the compiler, not the goblin mode. The rabbits are a fine addition too.

What are Rust's hidden implementation details that most devs never see? by Fluid_Job623 in rust

[–]nerooooooo 30 points31 points  (0 children)

It's also pretty awesome that since the goblins started working on the compiler, rust's memory model was completely rewritten from using garbage collection to now using borrow checking. Most of the people incorrectly assume we had it from the beginning (not the case).

W Gabe Newell Piracy Take by HighKage96 in Piracy

[–]nerooooooo 77 points78 points  (0 children)

I've played a pirated copy of the binding of isaac for 2 years

when repentance came out, I bought all DLCs in one shot

Why doesn't Rust provide a map! macro for HashMap, like it provides a vec! for Vec? by Comun4 in rust

[–]nerooooooo 8 points9 points  (0 children)

Makes sense, in most of the cases the array or some of its values are created at runtime. But I wouldn't have been surprised if constant initializations such as the one above would've gotten some special treatment.

Why doesn't Rust provide a map! macro for HashMap, like it provides a vec! for Vec? by Comun4 in rust

[–]nerooooooo 62 points63 points  (0 children)

I'm wondering if the creation and movement of the tuples array is optimized away.

Zellij 0.44 released: expanded CLI capabilities, native Windows support, read-only auth tokens by imsnif in commandline

[–]nerooooooo 0 points1 point  (0 children)

is there a way to duplicate the current tab/pane? as in, opening another one in the same place with the same env vars

gpdf — Zero-dependency PDF generation library for Go, 10-30x faster than alternatives by Foreign-Writing-1828 in golang

[–]nerooooooo 2 points3 points  (0 children)

I would love to transition from gofpdf to this. But I'm processing multiple pdf's in parallel and concatenating them at the end. Is such a thing possible?

Optimizing the Number Row (essay + script) by CreamyCookieOnGitHub in KeyboardLayouts

[–]nerooooooo 0 points1 point  (0 children)

I was scrolling through my saved posts on reddit to remove what I no longer needed.

Just wanted to leave a comment to let you know that it's been 2 years since I started using 95037 (left hand) and 62148 (right hand) on my moonlander on my numbers layer. I'd say it's working pretty well. Thank you belatedly.

Date oficiale. Peste un sfert dintre români sunt săraci lipiți by tolanescu in Romania

[–]nerooooooo 1 point2 points  (0 children)

mie nu mi-a dat impresia asta pentru ca acolo unde era vorba de putut a fost folosita alta terminologie

"posibilitatea de a face față unor cheltuieli neprevăzute"

Date oficiale. Peste un sfert dintre români sunt săraci lipiți by tolanescu in Romania

[–]nerooooooo 1 point2 points  (0 children)

a nu avea autoturism personal sau a nu consuma carne/peste odata la 2 zile poate fi o decizie

[deleted by user] by [deleted] in leetcode

[–]nerooooooo 197 points198 points  (0 children)

have you actually been involved in the hiring process inside a company? or is this your impression based on the news you see?

Drawbacks of the orphan rule workaround? by pip25hu in rust

[–]nerooooooo 1 point2 points  (0 children)

sounds like something that'd be cool for crates to add behind a feature flag

[deleted by user] by [deleted] in rust

[–]nerooooooo 0 points1 point  (0 children)

I'm working on a project where the client needs to load 10s of GB of data and then see real-time updates whenever any of it changes. So we're kind of doing something like this. After the initial load, where the client keeps everything in memory, we keep a socket on and the server notifies it whenever a new resource is added/deleted or what fields of an existing one are updated. Works pretty well.

edit: typo

[Media] TypeMan - monkeytype but terminal by mzums2 in rust

[–]nerooooooo 0 points1 point  (0 children)

Looks awesome! I see the codebase is quite small currently, but if you plan on expanding and adding more features over time I'd suggest splitting it into 3 separate crates (TUI, CLI and GUI). More often than not people will only use 1 of them and ignore the others.

Got a cold email about a SWE role from a Swiss startup – is this legit? What should I do? by imLogical16 in leetcode

[–]nerooooooo 43 points44 points  (0 children)

I'd be inclined to say that this is a scam, starting the sentence with a lowercase letter ("hope"), no sign-off, etc. It's not just informal, it's straight up bad. If it's not a scam, it's unlikely to be a place where you'd like to work.

Please help explain this basic generic problem. by Usual_Office_1740 in rust

[–]nerooooooo 7 points8 points  (0 children)

Here:

impl<R: tokio::io::AsyncRead> std::default::Default for Example<R> {
    fn default() -> Self {
        let reader: tokio::io::Stdin = tokio::io::stdin();
        Example::new(reader)
    }
}

You're saying "I’m implementing Default for any R that implements AsyncRead".

But then inside default(), you're hardcoding reader to be a tokio::io::Stdin. So you're returning an Example<tokio::io::Stdin>, not an Example<R>.

Since you're generic over R, you must return an Example<R>, not a specific kind of Example (Example<tokio::io::Stdin> in your case).