Closing the Gap: Accelerating environmental Open Source
  • s12 s12 4d ago 100%

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

    4
  • Potatoes can do no wrong
  • s12 s12 7d ago 94%

    … you are a little girl who was birthed/raised by potatoes?

    Sounds like a TTRPG character concept.

    16
  • ok, your back hurts, got it. yup. uh huh. OKAAAYY!!
  • s12 s12 1w ago 100%

    … oh no…

    2
  • av1
    AV1 1w ago
    Jump
    How to use av1_amf with ffmpeg?
  • s12 s12 1w ago 100%

    You need to specify -c:v av1_amf in your command.

    It is specified in my command.

    1
  • How can av1_amf be used with ffmpeg as stated on [the ffmpeg wiki](https://trac.ffmpeg.org/wiki/Encode/AV1#AMDAMFAV1)? I have already tried [asking on the ffmpeg user mailing list](https://ffmpeg.org/pipermail/ffmpeg-user/2024-July/058456.html), but I haven't got a response.

    4
    2
    Original (by Fkey)
  • s12 s12 2w ago 100%

    Small cat, or big can?

    2
  • Bethesda, you just entered the no flight zone
  • s12 s12 2w ago 100%

    I downloaded Yuzu from flathub before Nintendo went after it, but continued to use it after.

    I had to expand the swapfile on my Steam Deck to prevent it from frequently crashing, but I don’t really care about frame rate, so long as it’s playable. I’ve not been paying attention to my frame rate.

    2
  • Bethesda, you just entered the no flight zone
  • s12 s12 2w ago 100%

    As a Nintendo fan, this is pretty accurate.

    Although getting joycon drift twice and then being able to play TOTK free from drift by pirating it onto my Deck may have finally brought the roots free.

    I want my favourite Nintendo games to become open source or open domain. Why do we have to wait like a century for open domain? 20-40 years would be much more reasonable.

    13
  • Godot staff are facing a huge reactionary backlash on Xitter for being "woke"
  • s12 s12 3w ago 71%

    I mean, there are plenty of words that are used almost exclusively to cause offensive. Swears and slurs. Often it can be debatable whether or not a word counts as a swear or slur, but it’s usually pretty clear. I prefer to avoid using words that are intended to cause offence.

    The word “woke” doesn’t seem to fall into these categories, but it’s still a term that seems to have been polarised by both groups. I don’t think that word would ruin a discussion that was already political, but it would definitely cause a discussion to become political.

    As far as one group is concerned, being “woke” is inherently good and means being aware of modern issues and accepting of marginalised groups.
    As far as the other is concerned, being “woke” is requiring all media to have this representation and lashing out when it isn’t inserted in a certain way; thus, you can be supportive of lgbt+ rights and the rights of marginalised groups while still being vehemently “anti woke”.

    Because of this conflict in definitions it’s understandable that the Twitter manager might want to use this term, and it’s understandable that people would be against it.

    I feel the polarisation of this term may be being done for the drama people on both sides to farm engagement.

    3
  • Godot staff are facing a huge reactionary backlash on Xitter for being "woke"
  • s12 s12 3w ago 100%

    I mean, it seems Godot did make money from this, so I guess the Twitter helped.

    16
  • Godot staff are facing a huge reactionary backlash on Xitter for being "woke"
  • s12 s12 3w ago 100%

    I wouldn’t say it has to be money. Just that it has to be a formal exchange. I’d say the open source donation model is more “informal”.

    I guess technically businesses like Microsoft were customers; I think there was something about them paying Godot to support C#.

    9
  • Godot staff are facing a huge reactionary backlash on Xitter for being "woke"
  • s12 s12 3w ago 100%

    … since when did the project have customers lol?

    29
  • Godot staff are facing a huge reactionary backlash on Xitter for being "woke"
  • s12 s12 3w ago 71%

    I think it’s the term “woke” that people considered political.

    3
  • Godot staff are facing a huge reactionary backlash on Xitter for being "woke"
  • s12 s12 3w ago 90%

    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.

    17
  • Godot staff are facing a huge reactionary backlash on Xitter for being "woke"
  • s12 s12 3w ago 72%

    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.

    13
  • Message from the Godot Foundation Board
  • s12 s12 3w ago 80%

    I think the Twitter manager is lgbt or something and wanted to promote lgbt representation. They used the term “woke” in an official tweet where they intended to achieve this.

    My understanding is that “woke” is a poorly defined political term.

    People apparently asked for the engine to not get political and a lot of people got banned simply for criticising the tweet. I don’t see anything particularly wrong with the tweet, nor with a lot of the criticism that apparently happened. Banning people for criticism seems very unprofessional though.

    Perhaps the Twitter manager took it as people calling the existence of lgbt political? Perhaps there was a large number of troublemakers who had to get banned and some innocent people criticising the tweet got caught in the crossfire? Perhaps the Twitter manager really was acting maliciously? I don’t know what happened.
    Edit: It seems it was the second one.

    Apparently sponsors got banned and stopped their support, and developers got banned from the GitHub.
    I don’t care about twitter drama as I don’t use twitter, I just hope that this doesn’t affect the codebase.

    I’ve seen a lot of drama channels on YouTube talk about this, but I haven’t seen anything from the YouTubers who I trust to talk about FOSS yet. From what I gather, there doesn’t seem to have been any major problems yet. It just seems to be things getting blown out of proportion. People make money from clicks and engagement. Fear and rage generates clicks.

    3
  • What a stupid guy
  • s12 s12 1mo ago 100%

    Condolences…

    I hope you were able to recover.

    6
  • 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?

    23
    5

    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?

    5
    5
    stackoverflow.com

    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?

    11
    4

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

    19
    5

    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.

    63
    21

    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](https://youtu.be/w70Xc9CStoE) Update: [Link to the campaigner’s video on the response](https://youtu.be/XVGZe-xXS68)

    328
    52

    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.

    10
    1

    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.

    2
    10

    When I try to turn off Use CPU in settings, it says "No compatible graphics card found!". During the instillation, I got an error "hipErrorNoBinaryForGpu" which I looked up and found the command `export HSA_OVERRIDE_GFX_VERSION=10.3.0` which got me through the instillation. I don't know much about GPUs, so thanks in advance for any help/advice!

    2
    8

    I want to create a "gradual colour change" effect in Godot. eg: `some_set_font_color_func(Color8(255,n,n)` where n gradually decreases to make the text fade from white to red. I can't figure out what function I would use in place of `some_set_font_color_func` to change a font's colour. Godot themes are somewhat confusing. Given some var `var UI:control` how would I set the colour of any font(s) contained within that node?

    8
    3

    cross-posted from: https://sopuli.xyz/post/770433 Any tips for creating memes using FOSS. I made this in Impress, then copy-pasted it into gimp, and it reduced the quality a lot. > In PowerPoint, you can just select everything, then right-click -> save as image, and it saves whatever you have selected rather than the whole slide. There doesn't seem to be a way to do that in Impress, but I realised you could copy-paste into Gimp and that would copy the objects as an image, so I've been making memes that way.

    9
    0

    I’m just curious about which is the most efficient way of doing this kind of node enumiration: for i in something(): o=[var1,var2,var3,varN][i] o.new() o.do_something_based_on_number_of_loops() add_child(o) or for i in something(): match i: 0: o=var1 o.new() o.do_something_based_on_number_of_loops() add_child(o) 1: o=var2 o.new() o.do_something_based_on_number_of_loops() add_child(o) 2: o=var3 o.new() o.do_something_based_on_number_of_loops() add_child(o) N-1: o=varN o.new() o.do_something_based_on_number_of_loops() add_child(o) or var items = [var1,var2,var3,varN] for i in something(): o=items[i] o.new() o.do_something_based_on_number_of_loops() add_child(o) Or is there a more efficient way of doing it? Edit: Sorry if that wasn't clear. Is it better to constantly get something from an "unstored list", store the list in a variable, or not use a list and use a match statement instead? Do they have any advantages/disadvantages that make them better in certain situations?

    25
    21

    Baldur’s Gate 3 worked fine before. Now it returns to the game’s library page just before it would normally show the game’s logos. We tried switching to proton experimental, as suggested by people who were having a similar issue back in August, but this gives the same result. Has anyone been experiencing anything similar, or does anyone have any advice? Thanks in advance. Edit: I tried setting “gamemoderun --skip-launcher” or “--skip-launcher” as a launch option, but this didn’t work.

    12
    8

    Ah. It's still called cake day over here. Wasn’t sure if it had to be called something different on Lemmy.

    72
    9

    I want to install Debian over an existing Debian install with an existing home partition in an encrypted lvm *(to upgrade to testing)*, and I have been practising in a vm. After trying to follow the advice on [https://www.blakehartshorn.com/installing-debian-on-existing-encrypted-lvm/](https://www.blakehartshorn.com/installing-debian-on-existing-encrypted-lvm/), I successfully reached the end of the installation, but when I try to boot into my system, I get the error(s) shown in the attached screenshot. Any idea what I did wrong/need to do? Edit: "sgx: There are zero EPC sections" is something that displayes when booting successfully into a machine that works too.

    2
    5

    I noticed the updater was **incredibly** slow today. security.ubuntu.com seems to be down. Is that the reason the updater isn't working so well right now? Why is that the case? It makes it somewhat difficult to apply other updates. Even changing mirrors is incredibly slow and hardly works. Also, how long does this usually go of for if so? Update: Seems to be working fine now. Anyone know what happened?

    2
    1

    In PowerPoint, you can just select everything, then right-click -> save as image, and it saves whatever you have selected rather than the whole slide. There doesn't seem to be a way to do that in Impress, but I realised you could copy-paste into Gimp and that would copy the objects as an image, so I've been making memes that way.

    9
    7