Binette

joined 2 years ago
[โ€“] [email protected] 8 points 3 weeks ago

kraamverzorgenden

That sounds like something that would go to the house of new parents and steel their kid

[โ€“] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago) (4 children)

Here are all of my errors since the last boot

jun 12 06:33:36 pop-os kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
jun 12 06:33:36 pop-os kernel: x86/cpu: SGX disabled or unsupported by BIOS.
jun 12 06:33:36 pop-os kernel: ACPI BIOS Error (bug): Could not resolve symbol [\TBTS], AE_NOT_FOUND (20240827/psargs-332)
jun 12 06:33:36 pop-os kernel: ACPI Error: Skipping While/If block (20240827/psloop-426)
jun 12 06:33:36 pop-os kernel: ACPI BIOS Error (bug): Could not resolve symbol [\TBTS], AE_NOT_FOUND (20240827/psargs-332)
jun 12 06:33:36 pop-os kernel: ACPI Error: Skipping While/If block (20240827/psloop-426)
jun 12 06:33:36 pop-os kernel: rtw_8822bu 1-1:1.0: write register 0xc4 failed with -71
jun 12 06:33:37 pop-os kernel: 
jun 12 06:33:38 pop-os /usr/bin/nvidia-powerd[845]: Found unsupported configuration. Exiting...
jun 12 06:33:40 pop-os jackdbus[1226]: default: failed to stat "/var/lib/gdm3/.config/jack/conf.xml", error is 2 (No such file or directory)
jun 12 06:33:40 pop-os jackdbus[1226]: default: open() failed to open conf filename.
jun 12 06:33:42 pop-os gnome-session-binary[1259]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
jun 12 06:33:42 pop-os gnome-session-binary[1259]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion 'error == NULL || *error == NULL' failed
jun 12 06:33:53 pop-os gdm-password][2665]: gkr-pam: unable to locate daemon control file
jun 12 06:33:53 pop-os jackdbus[2853]: default: failed to stat "/home/bintouali/.config/jack/conf.xml", error is 2 (No such file or directory)
jun 12 06:33:53 pop-os jackdbus[2853]: default: open() failed to open conf filename.
jun 12 06:33:35 pop-os systemd[2822]: Failed to start Application launched by gnome-session-binary.
jun 12 06:33:35 pop-os systemd[2822]: Failed to start Application launched by gnome-session-binary.
jun 12 06:33:35 pop-os systemd[2822]: Failed to start Application launched by gnome-session-binary.
jun 12 06:33:37 pop-os systemd[2822]: Failed to start Application launched by gnome-session-binary.
jun 12 06:33:37 pop-os systemd[2822]: Failed to start Application launched by gnome-session-binary.
jun 12 06:33:37 pop-os systemd[2822]: Failed to start Application launched by gnome-session-binary.
jun 12 06:33:37 pop-os kernel: [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
jun 12 06:33:39 pop-os gdm-launch-environment][1096]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
jun 12 06:39:11 pop-os gdm3[1061]: Gdm: Failed to list cached users: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer: activation request failed: a concurrent deactivation request is already in progress.
jun 12 06:39:17 pop-os systemd-cryptsetup[7406]: device-mapper: remove ioctl on cryptswap  failed: Device or resource busy
[โ€“] [email protected] 3 points 3 weeks ago (1 children)

"glazing" is a sexual term?

[โ€“] [email protected] 3 points 3 weeks ago

tbf i was glad i stopped hyperfixating on sudokus. it really took a toll on my mental and physical health

[โ€“] [email protected] 2 points 3 weeks ago

Gotta hate more

[โ€“] [email protected] 12 points 4 weeks ago (1 children)

i would walk around in big circles, which coincided with the walking pattern of the surveillants (or whatvere you call the in english), so we started talking.

this did not help beating the "teacher's pet" allegations.

[โ€“] [email protected] 2 points 4 weeks ago

I didn't know what loops are! Thanks a lot!

[โ€“] [email protected] 3 points 4 weeks ago (1 children)

I don't know what KFC's "secret recipe" is, but it's the second time it gave me a stomach ache and I don't like it

[โ€“] [email protected] 2 points 4 weeks ago

this makes me sick. 10/10

[โ€“] [email protected] 3 points 4 weeks ago

yeah that's basically how an instance ban works. since you're on a differrent instance with different rules, you might not be dealing with the same issues.

you can check out powertrippinbastards for examples of mod power uses that you might not agree with, and if ever you disagree with how your instance handles modding, you can change it.

[โ€“] [email protected] 4 points 4 weeks ago* (last edited 4 weeks ago) (2 children)

Pretty sure it was because that user said jizz

edit: just to clarify, i meant that it was because of the strict no nsfw rule that is in place, not that i necessarily agree with it

[โ€“] [email protected] 1 points 4 weeks ago (1 children)
61
submitted 11 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Edit: I was as to negotiate with the ones organizing the meeting to schedule for another day. I may have been panicked because I stopped Prozac for a while. I'm really sorry for lashing out like that, and thank you for your understanding.

I'm trying to get my diagnosis. Due to my parents not accepting me receiving mental healthcare, I had to do everything in secret.

It made my life so much easier when I finally got Prozac. I could finally sleep. Little to no obsessions or intrusive thoughts. I also stopped having pica.

But I can't get a diagnosis in most places without involving my parents. Until I found someone who could give me one.

Thing is, if I miss tomorrow's appointment, I can no longer have another chance at it. The health system is clogged and all.

I had everything planned out. Told them I was going out and all. But now, I can't, because our basement got flooded and I have to stay in order to help them.

I know this is what I get for wanting the best of two worlds: my parents' support and getting behind their backs. But I just didn't want to keep suffering anymore. I just want it all to stop.

 

For context, I am using the bevy engine.

I know that you aren't supposed to store stuff that might contain a lot of information, such as dialogue, NPCs and skills.

I already found a library that helps me store dialogue (bevy_yarnspinner), but I've yet to find such a library for other ressources.

So I was wondering, usually in RPGs, where and how are stats, skills, NPCs (including enemies) and maps are stored? And how does leveling up work?

 
 
 

I'm trying to make minesweeper using rust and bevy, but it feels that my code is bloated (a lot of for loops, segments that seem to be repeating themselves, etc.)

When I look at other people's code, they are using functions that I don't really understand (map, zip, etc.) that seem to make their code faster and cleaner.

I know that I should look up the functions that I don't understand, but I was wondering where you would learn stuff like that in the first place. I want to learn how to find functions that would be useful for optimizing my code.

 

I don't know if it's the best place to ask this, but I've been having issues with trying to make minesweeper with bevy.

I tried making a function that would give the number of mines around the tile that was clicked if it wasn't a mine. Then, I wanted to make it so that when the number of mines around the clicked tiles is 0, it reveals the surrounding tiles. Finally, I tried making the function recursive by rerunning it on the empty surrounding tiles.

The issue is that it seems that certain tiles with no mines surrounding them don't reveal the surrounding tiles.

Here's the portion of the code I am talking about (I know it's pretty bad):

fn find_surrounding_mines(
                          mut set: ParamSet<(
                              EventReader<TileEntity>,
                              EventWriter<TileEntity>,
                             )>,
                          mut surrounding_mines: EventWriter<SurroundingMines>,
                          mut query_board: Query<&mut Board>,
                          mut change_tile_image: EventWriter<ChangeTileImage>,
                        mut query_mine: Query<(&Mine, &mut Tile)>) {
    let dy: [i8; 8] = [-1, -1, -1, 0, 0, 1, 1, 1];
    let dx: [i8; 8] = [-1, 0, 1, -1, 1, -1, 0, 1];
    
    let board = query_board.single_mut();
    let mut num_mine: u8 = 0;
    let mut y: u8 = 0;
    let mut copy_x: usize = 0;
    let mut tile_read:bool = false;
    let mut copy_num_mine:u8 = 0;
    for tile in set.p0().read(){
        for (row_index, vector) in board.tiles.iter().enumerate(){
            if let Some(x) = vector.iter().position(|&x|x == tile.0) {
                copy_x = x;
                y = row_index as u8;
                for i in 0..8{
                    if x as i8 + dx[i] >= 0 && x as i8 + dx[i] < board.width as i8 && y as i8 + dy[i] >= 0 && y as i8 +dy[i] < board.height as i8{
                        if let Ok((_mine,mut tile)) = query_mine.get_mut(board.tiles[(y as i8 + dy[i]) as usize][(x as i8+ dx[i]) as usize]){
                            num_mine += 1;
                            tile.hidden = false;
                        }
                    }
                }
                break;
            } 
        }
        
        surrounding_mines.send(SurroundingMines(num_mine));
        change_tile_image.send(ChangeTileImage{tile: tile.0, asset: "Minesweeper_LAZARUS_21x21_".to_string() + &num_mine.to_string() + ".png"});
        copy_num_mine = num_mine;
        num_mine = 0;
        tile_read = true;
    }

    if copy_num_mine == 0 && tile_read{
            tile_read = false;
            for i in 0..8{
                if copy_x as i8 + dx[i] >= 0 && copy_x as i8 + dx[i] < board.width as i8 && y as i8 + dy[i] >= 0 && y as i8 +dy[i] < board.height as i8{
                    if let Ok((_mine, mut tile)) = query_mine.get(board.tiles[(y as i8 + dy[i]) as usize][(copy_x as i8 + dx[i]) as usize]){
                        continue;
                    }else{
                        println!("{:?}", (y as i8 + dy[i], copy_x as i8 + dx[i]));
                        set.p1().send(TileEntity(board.tiles[(y as i8 + dy[i]) as usize][(copy_x as i8 + dx[i]) as usize]));
                    }
                }
            }
        }
}
1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

For context, I heard the term "Web 3.0" be used for the first time for everything being put on the blockchain. Then, it reminded me of a post on Mastodon saying that the fediverse is Web 3.0. After that I looked it up on the internet, and the definition included A.I. with crypto.

So I'm wondering, what is actually Web 3.0? What does it mean to you? Or maybe is Web 3.0 just another attempt at making investors pay up?

 

This question is rather specific, so I know it's not going to get many answers, but any answer is appreciated.

I'm thinking about living alone, but I'm worried about getting certain issues. I've already talked about it to my doctor, but I also wanted to get answers from people who have went through it.

 

Had a nightmare so bad and so vivid it took me an hour to recover.

I guess next time I'll listen to something happier or something idk.

view more: โ€น prev next โ€บ