Just a dorky trans woman on the internet.

My other presences on the fediverse:
@[email protected]
@[email protected]

  • 0 Posts
  • 74 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle
  • Are 1 and 2 magic values in this case?
    You could use consts or even use an enum to further improve readability:

    const STATUS_ERROR   := 1
    const STATUS_WARNING := 2
    # or alternatively:
    enum Status { FINE, ERROR, WARNING }
    

    In the latter case, you’d change status to be the new enum type Status.

    edit: Wait, nevermind. I think you’re already using enums in the actual code (not screenshot).


  • Alright, since you’d rather argue than open up a search engine, let me be the one to do that.

    Admittedly, there’s a lot of articles that are on the edge on whether or not the “most-favored nation” clause is a thing, since that’s what the lawsuit alleges. Though as I said, it has been confirmed by developers. Steam appears to indeed be clear about the policy around Steam keys usage and pricing on other stores, where it makes absolute sense. The thing is, otherwise, Valve is specifically avoiding putting this extra rule in writing. Here is a reddit thread where I found this document, which, if real (and I’m not sure why we should assume it is not) does confirm that Valve does this.

    If we get to a situation – again, this is rare. If we get to a situation where a partner is telling us that the price needs to be lower on other platforms than it is on Steam, then we will typically choose not to run curated marketing during times where that game is being discounted, if that is where the price is lower, or around a launch if it’s a around – if it’s a price at launch time.

    And also:

    Q. Okay. And part of these conversations is saying, hey, we’re not going to offer you curated promotions if you keep doing that, right?

    A. Part of our approach, if we get to a situation where we can’t have pricing that is fair for Steam customers is not to amplify marketing with curated markets.

    Q. But these conversations, as you know, also involve the threat not to keep the game on the Steam store at all; is that right?

    A. That is not our typical process.

    This reads to me as: If Valve finds out your game is priced cheaper on another store, they will approach you to “have a conversation”, after which they might decide to just pull your game from Steam’s marketing system (or maybe off the store) or low-key threaten to do so. After all, they have the final say on what gets offered and promoted on their own store. This is totally within their legal right (MFN clauses are common), but still a dick move, and disadvantages especially smaller developers (who’d like to avoid the “Steam tax”) and consumer, who could benefit from a cheaper price off-Steam.

    That’s about as much effort as I’d like to put into this conversation for now. But if you’d like to continue, I ask you to put at least as much effort into this as I have.


  • Then it’s still the word of multiple developers publishing games on Steam reading the terms they have to sign versus… I guess random people on the internet? I suppose hard evidence will be difficult to come by because:

    • The lawsuit has taken ages and who knows when or if it will conclude with information
    • Developers probably don’t want to get on Valve’s bad side to prove it
    • Even if a game is taken off the store, it won’t be easy to prove it was due to this

    I’ve seen conversations that mention threads on the Steam developer forums on this, but I’ve not been diligent enough to save this. Though I will try if I ever come across it again. It’s unfortunately difficult to search for information with my admittedly limited motivation. (If anyone can bring evidence either way, I’d be very happy.)



  • From my understanding the only time a Dev can’t sell their game for less on another store is when they are using a steam key to redeem the game.

    Hey there. Actually, this isn’t true. This is the case regardless of whether a Steam key is involved. Games on Steam need to be the same price (or lower) as other stores. I’ve found this out a little while ago and compiled my findings in this thread (plus some helpful comments, including from developers confirming this).

    Essentially, Valve does NOT allow the savings of putting your game up on a store with a lower fees to go towards the customers. They however don’t care if the developer or publisher pockets the difference… Something about “not putting Steam customers at a disadvantage”.

    I ask you to please not repeat this misinformation, as I have in the past.


  • That makes sense, but what’s the alternative here? Linux is freedom, so that means freedom to run / install anything you want, including malware if you’re not careful. Maybe if you discourage people from using the AUR, they will install it through other means, like a developer-provided Flatpak or AppImage. But if that’s not available or doesn’t work, then it’s nothing (= sad user), or you’re back to “Google, then download an .exe the first thing you can run” or just curl | sh. Is that better? (Assuming we’re still talking about the kind of people who would skip vetting what they install.)


  • I keep hearing this claim online but the Arch bible (which you really should be familiar with if you use Arch) and pretty much everyone that knows anything will tell you that the AUR is useful, but not something to blindly use. I recommend everyone check the PKGBUILD, verify the source URLs are correct, and check the diffs when updating. It’s not that much effort.

    And since it comes from a single (user) package repository, you’ll probably have hundreds of people doing the same, or even going a step or two further and looking into the code, reporting the package if anything bad is going on. Still miles better than downloading .exe files you find from a Google search, even if you were lazy and didn’t do the aforementioned checks. (But if you don’t do that, you should probably just use Flatpaks or similar.)





  • color_rect.set_instance_shader_parameter should work, as long as the color_rect is unique to each instance of the card, rather than being reused. If you assigned it in the node editor you could check the “Local To Scene” checkbox. Assuming cards are defined as separate scenes you instantiate. Otherwise you could duplicate() the resource in code.

    The same would be true for color_rect.material.set_shader_parameter for the ShaderMaterial. If you could ensure it’s unique per card, it should work. However, duplicating the material might not be as ideal, especially since the other option is also available.

    A little tip: You could try print debugging with the get functions before and after you use set to see what the value was before (and notice that it might be the same as the previous set call from another card) and that it was correctly set afterwards. (Assuming I’m correct about diagnosing the problem.)

    edit: Actually, my advice is only true if color_rect was a resource, but I think it’s a node, specifically a sub-class of CanvasItem or GeometryInstance3D, so it should already be unique for each instantiated card. So without more information I’m not sure why set_instance_shader_parameter is not working.


  • copygirl@lemmy.blahaj.zonetoComic Strips@lemmy.worldReplaced
    link
    fedilink
    English
    arrow-up
    71
    arrow-down
    12
    ·
    10 months ago

    Tangentially related: Oh boi I just love AI bros coming out of nowhere defending GenAI when nobody asked for their opinion. Wish more communities / instances would take a hard anti-AI stance and just get rid of them. It’s not like anyone will make them see where they’re wrong.


  • copygirl@lemmy.blahaj.zonetoComic Strips@lemmy.worldReplaced
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    10 months ago

    You see, it’s not the internet censorship tool that prevents you from speaking your mind, it’s the people that control it!

    You can dislike the tool.

    AI was built on stolen work, and will not create a generation of future artists that simply has a new tool available. It’ll create a generation of workers that create profit for the wealthy class by generating garbage until it’s somewhat presentable. Meanwhile, AI will starve out because it will run out of data to learn from.

    Generative AI is the current fad of the tech bro world and it’s what everyone clings onto because if everything goes well (for them), they can get future generations hooked and make stupid money. Meanwhile, media literacy will further decline, and with it the ability to look up anything on the internet, making it even more easy for the masses to be controlled.



  • copygirl@lemmy.blahaj.zonetoLinux@lemmy.ml[PSA] Malware distributed on the AUR
    link
    fedilink
    English
    arrow-up
    110
    arrow-down
    2
    ·
    edit-2
    11 months ago

    most of the the Arch cult forget to mention that

    The “Arch cult’s” holy book, the ArchWiki, states the following pretty clearly:

    Warning: AUR packages are user-produced content. These PKGBUILDs are completely unofficial and have not been thoroughly vetted. Any use of the provided files is at your own risk.

    Mention of one’s use of the AUR for their needs doesn’t need to come with a disclaimer.
    People who don’t read or don’t use their brain are going to keep not doing so, regardless.




  • That’s not true, it makes me more efficient!

    ChatGPT, write a thoughtful response to this article that proves that AI makes people smarter. Make it multiple paragraphs. Find a way to include Microsoft requiring all its programmers to use Copilot (or else they get fired) in a positive way.

    Also please give me a summary of your response, because I don’t want to bother reading it all.


  • Fair point, but many photos are not edited to the point of fundamentally changing them. I wouldn’t call a touched up wedding photo a “fake”.

    edit: I guess I was distracting from the point. Yes, “AI” already implies “fake”. Guess if someone were to look for “how to spot fake photos” this would help them find this video?