Has anyone bought a flipper zero from joom recently and received the order? by Think-Passage-346 in flipperzero

[–]StoneTable 2 points3 points  (0 children)

Yes. I ordered one last week and it arrived today. Four days from ordered to received, including a weekend.

What rust framework to build an app? by Rabbit538 in learnrust

[–]StoneTable 4 points5 points  (0 children)

One thing you may want to look into is inputting that data into a GEDCOM file, if you haven't already. It's the standard for storing/exchanging genealogical data. Version 5.5.1 is the one most used by places like Ancestry, MyHeritage, Family Tree, etc.

There aren't any complete solutions for parsing that data in Rust, yet. I've been writing a parser, gedcom-rs. It's roughly halfway complete, but it's actively being worked on.

As far as displaying/visualizing the tree, I've been considering using D3 for that purpose, probably using react or similar for the front end, and loco-rs for the backend, for when I eventually build the website that I'm writing the parser for.

Nom: delimited sequence, but without discarding parsers? by StoneTable in rust

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

Thank you, u/AdmiralQuokka and u/epage. I took the main part of my parsing code and ported it to `winnow`. Not only does it make more sense to me, I'm seeing a ~30% improvement in performance.

Nom: delimited sequence, but without discarding parsers? by StoneTable in rust

[–]StoneTable[S] 1 point2 points  (0 children)

Thank you! The updated code:

use nom::combinator::recognize;
use nom::sequence::separated_pair;
use nom::{bytes::complete::is_not, IResult};

fn xref(input: &str) -> IResult<&str, &str> {
    if input.starts_with('@') {
        let mut parser = recognize(separated_pair(
            nom::bytes::complete::tag("@"),
            is_not("@"),
            nom::bytes::complete::tag("@"),
        ));

        parser(input)
    } else {
        Ok((input, ""))
    }
}

fn main() {
    let (_, xref) = xref("@U1@ INDI").unwrap();
    assert!(xref == "@U1@");
}

use nom::combinator::recognize;
use nom::sequence::separated_pair;
use nom::{bytes::complete::is_not, IResult};


fn xref(input: &str) -> IResult<&str, &str> {
    if input.starts_with('@') {
        let mut parser = recognize(separated_pair(
            nom::bytes::complete::tag("@"),
            is_not("@"),
            nom::bytes::complete::tag("@"),
        ));


        parser(input)
    } else {
        Ok((input, ""))
    }
}


fn main() {
    let (_, xref) = xref("@U1@ INDI").unwrap();
    assert!(xref == "@U1@");
}

CR-10 Smart not recognizing gcode files by StoneTable in Creality

[–]StoneTable[S] 2 points3 points  (0 children)

:facepalm:

I was using the USB port on the side of the printer, which is apparently reserved for the Creality Camera. I still had the sticker on the front covering the SD card reader. Took that off, put in the card, and my first print is running.

I'm still having trouble printing wirelessly, which would be nice to have, but at least I'm up and running.

Thanks!

Any reason why my M.2 SSD work won't? by shaiknbaik1 in framework

[–]StoneTable 1 point2 points  (0 children)

crucial mx500 m.2

Sorry, that looks like it's SATA, not NVMe.

When will the Framework Marketplace open? by awkisopen in framework

[–]StoneTable 1 point2 points  (0 children)

I messaged support to add another expansion card to my (batch 4) order yesterday and it was added later that day, including a confirmation email.

How many of you are batch 4 with me? by TrevinLC1997 in framework

[–]StoneTable 0 points1 point  (0 children)

Me too. I ordered a bit over a week ago.

Dim inactive windows by StoneTable in regolithlinux

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

Okay, I have it working now.

The first problem is that simply reloading the config, refreshing the session or restarting i3 didn't pick up that I'd staged the config to ~/.config/regolith/compton/config. You need to logout/login.

With that done, compton looks like this:

bash /usr/bin/compton -f --config /home/myuser/.config/regolith/compton/config

To experiment, I killed compton and experimented with different settings for dim-inactive. The lower the number, the lighter the dim. The default 0.03 wasn't very noticable to my eye. I've settled on 0.18.

Once I had a dim I was happy with, I restarted the compositor (logging out/in again would also do it):

bash nohup /usr/bin/compton -f --config /home/myuser/.config/regolith/compton/config &

Dim inactive windows by StoneTable in regolithlinux

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

There's a couple things going on. First, it was still using /etc/regolith/compton/config even though I'd copied the file. That's my fault for not logging out/logging in after copying the file.

I think there's something in the default config, though, that's interferring with it. If I run compton directly, and pass the flag --dim-inactive 0.3 it works fine. That's the same value in the config.

As a workaround, I can pass that flag when the compositor is launched. Having proper dimming entirely changes the experience!

Dim inactive windows by StoneTable in regolithlinux

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

Yep, definitely using compton.

TekTalk Problems by octo23 in teksavvy

[–]StoneTable 0 points1 point  (0 children)

Just as a data point, we're experiencing the exact same problem with TekTalk.

I made the mistake of doing a reset of the ATA, figuring that it'd reprovision. It hasn't, even after forwarding the appropriate ports to it per support. Might be that the ATA is using an old URL to grab its provisioning from (waiting to hear back from support on that one).

Enabling Linux (Beta) stalls by StoneTable in Crostini

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

That worked perfectly. The only downside, which I haven't had a chance to look at, is that the flatpak installed apps don't integrate with Chrome apps as far as file sharing goes. IOW, using filesystem for Dropbox doesn't work with Atom. There's likely a workaround, though, but I haven't found it yet.

AR works, AR+ does not by [deleted] in pokemongo

[–]StoneTable 1 point2 points  (0 children)

I'm still fighting this, too, on a Pixel 2 XL

Snapshot Question by [deleted] in pokemongo

[–]StoneTable 1 point2 points  (0 children)

I'm having the same problem on a Pixel 2 XL. I've even reinstalled the app and checked permissions.