s12

joined 2 years ago
[–] s12@sopuli.xyz 4 points 5 days ago
[–] s12@sopuli.xyz 2 points 1 week ago* (last edited 1 week ago)

Hope to see her in Holocure, despite everything!

 

cross-posted from: https://sopuli.xyz/post/18489384

After I started up my computer, having updated the last time I used it, going past the log in screen just shows the desktop background for a little bit, before a black screen with just a cursor. The Lock Screen still works if I shut the laptop lid or leave the computer enough, but the screen doesn’t seem to turn off properly when shutting the lid and most keyboard shortcuts don’t work, though I can still go to tty.

I tried updating. I tried reinstalling Cinnamon. That didn’t work, but installed lxde and selecting that at login worked, but Cinnamon still doesn’t.

I eventually found out that right clicking the black screen Cinnamon desktop still works, and I can get windows such as the terminal like that, but the windows won’t move or resize.

Probably just going to do a new install.

 

After I started up my computer, having updated the last time I used it, going past the log in screen just shows the desktop background for a little bit, before a black screen with just a cursor. The Lock Screen still works if I shut the laptop lid or leave the computer enough, but the screen doesn’t seem to turn off properly when shutting the lid and most keyboard shortcuts don’t work, though I can still go to tty.

I tried updating. I tried reinstalling Cinnamon. That didn’t work, but installed lxde and selecting that at login worked, but Cinnamon still doesn’t.

I eventually found out that right clicking the black screen Cinnamon desktop still works, and I can get windows such as the terminal like that, but the windows won’t move or resize.

Probably just going to do a new install.

[–] s12@sopuli.xyz 3 points 3 weeks ago

I just realised that this is basically the plot of Redo Of Healer.

[–] s12@sopuli.xyz 5 points 3 weeks ago

Points at army: “Fix this!”
Army regresses into infant-hood and is rendered incapable of battle.

Points at own army: “Fix this!”
Army is buffed.

[–] s12@sopuli.xyz 3 points 1 month ago

There always the aspect of keeping old hardware alive and useful.

[–] s12@sopuli.xyz 2 points 1 month ago (1 children)

Small cat, or big can?

[–] s12@sopuli.xyz 11 points 1 month ago* (last edited 1 month ago)

I’ll share mine too.

The community manager had a meltdown and blocking everyone was a power trip and was wrong.

Apparently they did receive a large number of tweets that genuinely warranted a ban, but some innocent people got caught in the crossfire. If this is true then Godot did the right thing by responding as neutrally as they can and giving people a way to get unbanned. If it’s not, then yeah very wrong.

Additionally, the Twitter manager apparently said some unprofessional stuff on her personal. I think there was something about her requesting a shower pic from a very large controversial streamer. I feel like that sort of action would bring attention from trolls.

Also I think there was something about a discord mod saying some dehumanising things about the “anti woke” people. Even if these people were causing trouble and deserved a ban, you shouldn’t dehumanise them. That will just make them more aggressive and convince them that “woke” people are indeed some kind of adversary.

Godot’s tweet was wrong, because it used the word “woke” which immediately drives any conversation into the gutter. Doesn’t matter if you’re on the right or left, as soon as you say the word “woke” you have ruined the conversation.

I think that word is loosely defined. To the drama people “woke/wokism” seems to relate to the idea of people aggressively wanting all media to contain pro lgbt messaging. I think the official meaning relates to awareness of modern issues. “Woke” seems to be a political term, but I suppose some people feel like calling “woke” political is harmful to lgbt rights?

I think inviting people to present their “wokot” is fine, but it probably shouldn’t be done from an official account.

It is good that Godot explicitly supports LGBT+ people. They should be welcome. The community CoC should make this explicit, and it does. A tweet to reaffirm this is fine, a cringe joke born from the dredges of Twitter is less fine.

Hard agree! Strongly agree!

Godot’s “revenge forks” are amusing and will not go anywhere. Someone might collect some donations before grifting into the night though. None of this has any effect on Godot’s technical suitability for creating a game.

Agreed. Give it a year or two. Possibly sooner. It’ll be somewhat interesting if they do go somewhere and contribute something, although I doubt that will happen.

Regardless of what happened and how it will turn out. If Godot increased their budget, even if it was in an unprofessional way, I guess this is an entirely positive thing for people who aren’t on those proprietary social platforms.

[–] s12@sopuli.xyz 4 points 1 month ago

Oh. Ok. Thank you.

[–] s12@sopuli.xyz 14 points 1 month ago (5 children)

Fortunately the reactionary backlash seems to be having the opposite effect

That’s good I suppose.

I don’t care what happens on Twitter. Just so long as the codebase isn’t negatively affected.

I have been seeing some drama YouTubers, who are clearly blowing this out of proportion, talk a lot about this. One thing they’ve been saying that concerns me however, is that apparently there have been people getting banned from help forums and even the GitHub for criticism.

My understanding is that “woke” is a loosely defined political term, so I think requesting Godot be kept free from politics in response to this stuff isn’t something that should require a ban.

Perhaps there were people going too far and getting rightfully banned and some innocent people got caught in the crossfire?

There shouldn’t be any way the MIT license can discriminate between “woke” and “anti-woke”. Godot can be used by everyone. This is just making the drama people lose their credibility. Regardless of what the devs views on this situation are, I could never expect them to come to a decision on this issue so quickly. Let alone act on it. Their main priority should be the code, not the community. Unofficial communities can pop up on their own and self govern.

[–] s12@sopuli.xyz 3 points 2 months ago

Villager for Smash,
Mario/Rosilina for Mario kart.

[–] s12@sopuli.xyz 4 points 2 months ago
[–] s12@sopuli.xyz 5 points 2 months ago

…?
Someone explain?

 

Will I need to clean out dust. How would I do this? How often would I need to do this? Are there any good tutorials on how this would be done?

 

I've been using Linux for at least 2 years. I have Linux Mint on my main computer and Debian on my old computer. Trying to apt update says that the connection failed to security.ubuntu.com, deb.debian.org, ftp.uk.debian.org, etc.

Updating directly from sources such as for the Brave Browser still works. Sites not necessary for updating still work. Accessing them through browser doesn't work (It would give a "Connection was reset" error (for Debian) or an error that mentioned DNS (for main computer)). Pinging them seemed to work. Accessing these sites on my phone still works (though it didn't until I accessed them through mobile data and switched back to wifi). Connecting my Linux Mint computer through mobile data to apt update and switching it back to wifi resolved the issue for my Linux Mint computer, but I wasn't able to get my Debian system to connect through my phone.

Any ideas for causes/resolutions?

 

I have a repository that contains multiple programs:

.
└── Programs
    ├── program1
    │   └── Generic_named.py
    └── program2
        └── Generic_named.py

I would like to add testing to this repository.

I have attempted to do it like this:

.
├── Programs
│   ├── program1
│   │   └── Generic_named.py
│   └── program2
│       └── Generic_named.py
└── Tests
    ├── mock
    │   ├── 1
    │   │   └── custom_module.py
    │   └── 2
    │       └── custom_module.py
    ├── temp
    ├── test1.py
    └── test2.py

Where temp is a folder to store each program temporarily with mock versions of any required imports that can not be stored directly with the program.

Suppose we use a hello world example like this:

cat Programs/program1/Generic_named.py
import custom_module

def main():
    return custom_module.out()


cat Programs/program2/Generic_named.py
import custom_module

def main():
    return custom_module.out("Goodbye, World!")


cat Tests/mock/1/custom_module.py
def out():return "Hello, World!"


cat Tests/mock/2/custom_module.py
def out(x):return x

And I were to use these scripts to test it:

cat Tests/test1.py
import unittest
import os
import sys
import shutil

if os.path.exists('Tests/temp/1'):
    shutil.rmtree('Tests/temp/1')

shutil.copytree('Tests/mock/1', 'Tests/temp/1/')
shutil.copyfile('Programs/program1/Generic_named.py', 'Tests/temp/1/Generic_named.py')

sys.path.append('Tests/temp/1')
import Generic_named
sys.path.remove('Tests/temp/1')

class Test(unittest.TestCase):
    def test_case1(self):
            self.assertEqual(Generic_named.main(), "Hello, World!")

if __name__ == '__main__':
    unittest.main()



cat Tests/test2.py
import unittest
import os
import sys
import shutil

if os.path.exists('Tests/temp/2'):
    shutil.rmtree('Tests/temp/2')

shutil.copytree('Tests/mock/2', 'Tests/temp/2')
shutil.copyfile('Programs/program2/Generic_named.py', 'Tests/temp/2/Generic_named.py')

sys.path.append('Tests/temp/2')
import Generic_named
sys.path.remove('Tests/temp/2')

class Test(unittest.TestCase):
    def test_case1(self):
            self.assertEqual(Generic_named.main(), "Goodbye, World!")

if __name__ == '__main__':
    unittest.main()

Both tests pass when run individually:

python3 -m unittest Tests/test1.py
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK


python3 -m unittest Tests/test2.py
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK

However, they fail when being run together:

python3 -m unittest discover -p test*.py -s Tests/
.F
======================================================================
FAIL: test_case1 (test2.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/s/Documents/Coding practice/2024/Test Mess/1/Tests/test2.py", line 18, in test_case1
    self.assertEqual(Generic_named.main(), "Goodbye, World!")
AssertionError: 'Hello, World!' != 'Goodbye, World!'
- Hello, World!
+ Goodbye, World!


----------------------------------------------------------------------
Ran 2 tests in 0.001s

FAILED (failures=1)

If I try to use a different temporary name for one of the scripts I am trying to test,

cat Tests/test2.py
import unittest
import os
import sys
import shutil

if os.path.exists('Tests/temp/2'):
    shutil.rmtree('Tests/temp/2')

shutil.copytree('Tests/mock/2', 'Tests/temp/2')
shutil.copyfile('Programs/program2/Generic_named.py', 'Tests/temp/2/Generic_named1.py')

sys.path.append('Tests/temp/2')
import Generic_named1
sys.path.remove('Tests/temp/2')

class Test(unittest.TestCase):
    def test_case1(self):
            self.assertEqual(Generic_named1.main(), "Goodbye, World!")

if __name__ == '__main__':
    unittest.main()

Then I get a different error:

python3 -m unittest discover -p test*.py -s Tests/
.E
======================================================================
ERROR: test_case1 (test2.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/s/Documents/Coding practice/2024/Test Mess/2/Tests/test2.py", line 18, in test_case1
    self.assertEqual(Generic_named1.main(), "Goodbye, World!")
  File "/home/s/Documents/Coding practice/2024/Test Mess/2/Tests/temp/2/Generic_named1.py", line 4, in main
    return custom_module.out("Goodbye, World!")
TypeError: out() takes 0 positional arguments but 1 was given

----------------------------------------------------------------------
Ran 2 tests in 0.001s

FAILED (errors=1)

It seems to be trying to import the same file, despite me using a different file from a different path with the same name. This seems strange, as I've been making sure to undo any changes to the Python Path after importing what I wish to test. Is there any way to mock the path? I can't change the name of the custom_module, as that would require changing the programs I wish to test.

How should I write, approach, or setup these tests such that they can be tested with unittest discover the same as they can individually?

 

Even without the search, those two were the only small SSDs I could find under "Memory and Storage".

 

I assembled my new Framework laptop 16 yesterday and tested it out with a live Linux Mint environment.

Today I tried to install Linux Mint to a storage expansion card. During the instillation, I had to create a secure boot password for the codecs. When partitioning, I made a 32GB Swap and had the rest of the storage as root. During the instillation, there was a fatal error. I tried unmounting the partitions on the card to create a new table to try again (using fdisk). This also gave an error, so I decided to reboot.

When rebooting, the error shown in the image was displayed and then the computer is powered off. Trying to turn it on without the live USB inserted goes to bios. I tried re imaging the USB, but the Framework still displays the same error. I tried disabling secure boot; same result. I tried factory resetting secure boot; same result. I tried booting without the expansion card; same result.

Transcription:

Failed to open \EFI\BOOT\mmx64.efi - Not Found
Failed to load image ###: Not Found
Failed to start MokManager: Not Found
Something has gone seriously wrong: Import_mok_state() failed: Not Found

The "#"s are completely solid (or possibly checked) characters.

I tried creating a debian USB, but using that gave the same error.

I'm unsure what I should do. Any help would be great. Thank you in advance!

Solution: Go into the BIOS with the USB inserted and locate the boot from file option, then navigate the usb to find the grub efi file and use it to boot.

 
 

The recent stopkillinggames campaign has been my first exposure to UK petitions.

Link to petition: https://petition.parliament.uk/petitions/659071
Link to campaign: stopkillinggames.com
Link to the campaigner’s video

Update: Link to the campaigner’s video on the response

 

Does anyone know if this has been reported yet, or how long these issues last for?

 

I’ve been having a go at using Stable Diffusion through Easy Diffusion. I made a png with alpha for img2img, but the transparency seems to be getting replaced with black, ruining the image. I was expecting the transparency to get replaced with noise. Are there any good fixes/workarounds?

  • I don’t really want to add my own noise to the input image itself, because wouldn’t that make the randomness produced by stable diffusion useless?
  • Could I manually script it to automatically layer the image over the noise, or over the image after a few steps in?
  • I don’t have a dedicated graphics card yet, so I’m CPU only.
 

I don’t know much about graphics cards, but the framework laptop seems to offer an “AMD Radeon™ RX 7700S” and stable diffusion requires Linux ROCm.

It’s not completely clear if ROCm runs on AMD Radeon™ RX 7700S, so I was wondering if anyone had any experience with setting it up on framework.

view more: next ›