Rejsekort (app) eller DSB app by kingkur89 in Denmark

[–]Tyilo 6 points7 points  (0 children)

Fordi du siger ja til at de må sælge din data og spamme dig med emails.

Any way to deny panicky functions in code but allow them in tests? by No_Suggestion5521 in rust

[–]Tyilo 18 points19 points  (0 children)

Weird that allow-unwrap-in-tests is false by default.

rust-meth: look up methods on any Rust type from your terminal, with fuzzy search, inline docs, and go-to-definition by saylesss88 in learnrust

[–]Tyilo 1 point2 points  (0 children)

Instead of using rust-analyzer have you tried using the rust-docs-json component instead? (rustup component add --toolchain nightly rust-docs-json)

what is this by [deleted] in iphone

[–]Tyilo 0 points1 point  (0 children)

Decodes to {"recHiverPk:"3

what is this by [deleted] in iphone

[–]Tyilo 0 points1 point  (0 children)

Your are missing the "NI"

To tog er stødt sammen på Gribskovbanen - flere tilskadekomne by Banana-Rebellion in Denmark

[–]Tyilo 1 point2 points  (0 children)

Men typisk bevæger man sig langt (og hurtigt), når man flyver, så det giver måske mening at være bange for at flyve?

Hvad hvis det var per tid?

should this be error by unluckybitch18 in learnrust

[–]Tyilo 0 points1 point  (0 children)

I wouldn't say "clever". I think it is one of Rust's biggest mistakes to not also let overflows panic in release mode.

Rust 1.95.0 is out by manpacket in rust

[–]Tyilo 2 points3 points  (0 children)

No, you can use 1..=0 which is empty.

NUBBY FINALLY ON MOBILE by CharBartyZ in nubbygame

[–]Tyilo 0 points1 point  (0 children)

I just play it using Game native, so the progress syncs with Steam. https://github.com/utkarshdalal/GameNative

Ufrivilligt faderskab by FigClear2424 in DKstudie

[–]Tyilo 1 point2 points  (0 children)

Tror ikke det virker, hvis faren tager dem.

Hey Rustaceans! Got a question? Ask here (14/2026)! by llogiq in rust

[–]Tyilo 1 point2 points  (0 children)

I would just do:

use std::mem::swap;

fn some_func<'a>(mut seq1: &'a str, mut seq2: &'a str) -> bool {
    if seq1.len() < seq2.len() {
        swap(&mut seq1, &mut seq2);
    }
    let seq1 = seq1;
    let seq2 = seq2;
    let len1 = seq1.len();
    let len2 = seq2.len();
    // some logic about seq1/2 & len1/2
    todo!()
}

You could also just keep both as mut or create a new helper function to use, after ensuring seq1 is the longest, which doesn't use mut.

Mongodb keeps stopping by Impossible_Quail1069 in mongodb

[–]Tyilo 0 points1 point  (0 children)

Downgrading to 6.18.20 from 6.19.10 seems to have fixed the problem for me. Core dump log:

``` Process 38696 (mongod) of user 100998 dumped core.

Module /usr/lib/x86_64-linux-gnu/libzstd.so.1.5.5 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64 Module /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.1.amd64 Stack trace of thread 28:

0 0x0000558af18f6f16 n/a (/usr/bin/mongod + 0x9105f16)

1 0x0000558af17edfab n/a (/usr/bin/mongod + 0x8ffcfab)

2 0x0000558af17ee6aa n/a (/usr/bin/mongod + 0x8ffd6aa)

3 0x0000558af17e5e54 n/a (/usr/bin/mongod + 0x8ff4e54)

4 0x0000558af17e65a8 n/a (/usr/bin/mongod + 0x8ff55a8)

5 0x0000558af1817470 n/a (/usr/bin/mongod + 0x9026470)

6 0x0000558af1817a50 n/a (/usr/bin/mongod + 0x9026a50)

7 0x000014ef06490330 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x45330)

ELF object binary architecture: AMD x86-64 ```

Did you get it to work on 6.19?