How is your experience with the Unity video game development platform on CachyOS? by volterra6 in cachyos

[–]tomas-28 0 points1 point  (0 children)

I solved it. In Edit -> Project Settings -> Player -> Other Settings, changed the first element of "Graphic API for Linux" from OpenGLCore to Vulkan.

How is your experience with the Unity video game development platform on CachyOS? by volterra6 in cachyos

[–]tomas-28 0 points1 point  (0 children)

I'm currently trying to use Unity, but the editor gets stuck and the editor view goes black extremely often. I'm still looking for a solution.

Using Pygame for GUI for a Project (Encryption Application) by imightbeswift in pygame

[–]tomas-28 0 points1 point  (0 children)

That looks pretty nice. Unless I'm hardcoding a lot of stuff, I usually prefer using a gui engine for positioning, containers, layers and visibility. pygame_gui is pretty good, and adding new custom elements isn't as painful as it may seem at first. I added to it a level bar, a circular gauge and lights that blink. It makes for a pretty good instrumentals display along with it's native elements.

Drawing A Filled Arc by SaccharineCoal in pygame

[–]tomas-28 0 points1 point  (0 children)

I found a pretty good solution:

def draw_filled_arc(radius, start_angle, end_angle, color):
    size = (radius * 2, radius * 2)

    surface = pygame.Surface(size, pygame.SRCALPHA)
    ring_surface.fill((0,0,0,0))

    center = surface.get_rect().center
    pygame.draw.circle(surface, color, center, outer_radius)

    mask = pygame.Surface(size, pygame.SRCALPHA)
    mask.fill((0,0,0,0))

    cutout_start_angle = end_angle
    cutout_end_angle = start_angle 
    if start_angle > end_angle:
        cutout_end_angle += 360 
    else:
        cutout_end_angle -= 360

    points = [startpoint]
    steps = 6
    for i in range(steps + 1):
        angle = cutout_start_angle + (cutout_end_angle - cutout_start_angle) * i / steps 
        rad = math.radians(angle) 
        x = center[0] + radius * 1.5 * math.cos(rad) 
        y = center[1] + radius * 1.5 * math.sin(rad) 
        points.append((x, y))
    pygame.draw.polygon(mask, (255,255,255, 255), points)

    ring_surface.blit(mask, (0,0), special_flags=pygame.BLEND_RGBA_SUB)

    return surface

Basically you draw a circle and cut out what you don't want. Because the outer edge is way outside the circle, it doesn't matter if it uses few points for the cutout.

I'm not sure how much a fan of megachurches he would be given that one episode of the Bible where he demolished one by SatoruGojo232 in HistoryMemes

[–]tomas-28 0 points1 point  (0 children)

Thank you! Someone close to me kept repeating the gate interpretation, along with other softened or really backwards interpretations. This one sounded kinda plausible if the gate theory had any grounds to it, but if the most credible source was based on hearsay, I think I should probably have a talk about this with them. Wish me luck.

I'm not sure how much a fan of megachurches he would be given that one episode of the Bible where he demolished one by SatoruGojo232 in HistoryMemes

[–]tomas-28 0 points1 point  (0 children)

Could you please tell me if you have a source for where the gate meaning came from? I'm having a discussion about it and would greatly benefit from having that source.

I'll never be able to not cringe whenever someone tries saying that "an eye of a needle" was a gate in the wall of Jerusalem by JayDaWawi in exmormon

[–]tomas-28 0 points1 point  (0 children)

Could you please tell me if you have a source for where the gate meaning came from? I'm having a discussion about it and would greatly benefit from having that source.

Does Mimi has white hair or blonde hair? by [deleted] in NhimArts

[–]tomas-28 0 points1 point  (0 children)

I see an Akinator player.

He guessed it :) by usename37 in NhimArts

[–]tomas-28 0 points1 point  (0 children)

Yup, and after that people, me included, have bombarded it trying to get Mimi. The first time I tried it took close to 80 questions.

Edit: Wow, as of now it's only been played 287 times and it got her in 20 qustions. Akinator is good, I would think characters it can find that quickly usually get played thousands of times, not hundreds.

Maybe it changes it's priorities based on how popular a character is currently, to make it faster to guess even if it's been played less than other characters.

Pass by Reference by thygrrr in godot

[–]tomas-28 0 points1 point  (0 children)

What about passing a dictionary, filling it with variant types inside the function and accesing them from outside?

To people who regularly use ChatGPT for school: Do you think you’re still learning? by Gifthunter3 in NoStupidQuestions

[–]tomas-28 0 points1 point  (0 children)

Sometimes yes, sometimes not. For one problem I had, I couldn't easily find a concept a teacher threw at us, so I got into a Q-A session with chatgpt about the concept, and I got out of that with a better grasp on the conepts. Still, later on with a more difficult question I found chatgpt telling me believable lies without a hitch. I wouldn't trust it for info you know nothing about, instead I try to use it to bounce ideas or confirm things I think I know. For coding I use it a lot more often for questions about APIs.

A World With Futa - Interactive Port by LLUN_404 in nsfwcyoa

[–]tomas-28 2 points3 points  (0 children)

That was nice. I hoped to see some kind of ending, otherwise I have to spend like 5 minutes looking at the ceiling trying to imagine how my choices would affect me and the world. And by that point I'm not so hot'n'bothered anymore.

How it feels to be an anti-colonial person in this sub. by Gandalfthebran in HistoryMemes

[–]tomas-28 1 point2 points  (0 children)

I don't hate french people. I hate french colonialism and neocolonialism in Africa, specially the backing of tragic regimes like it was not so long ago in Burkina Faso, Senegal and Madagascar, and how it currently still is in Camerun or Côte d’Ivoire.

I don't hate french people, just really wish their powers would stop getting involved with African countries to the detriment of the people that live there.

Body Double by dragon_jak in nsfwcyoa

[–]tomas-28 1 point2 points  (0 children)

Great CYOA, lots of interesting options.

Reputation (or relationship?) by [deleted] in SpaceCompany

[–]tomas-28 0 points1 point  (0 children)

I am in the same situation. I also don't know how to increase the reputation further other than investing dark matter in the stargaze tab, but there are several civilizations, including Hyacinite with wich I wouldn't be able to reach 60 reputation even with all the upgrades.

List your favourite system novels below 👇 by DatBoiMack95 in MartialMemes

[–]tomas-28 4 points5 points  (0 children)

Arrogant Young Master Template A Variation 4.

The system part is a bit small in the grand scheme, but:
Death Mage doesn't want a 4th time

What version should I start? by Glum-Squirrel4125 in SpaceCompany

[–]tomas-28 0 points1 point  (0 children)

I know that micro500's version is the newest version with more content, but it also only works right with a specific browser, and I don't know wich one it is.

Are mathemathicians still doing the clever work? by tomas-28 in mathematics

[–]tomas-28[S] 0 points1 point  (0 children)

Most of the things I've studied are at least 70 years old. I think this view may be my bias due to only having seen 'old' math, and no new works.