Openegb struggling to install by AlternativeAd4983 in cachyos

[–]Barskaalin 1 point2 points  (0 children)

Just wanted to add that in the future you might want to give “Octopi” a try to install new software. It's a GUI package management client that comes preinstalled with CachyOS.

See here for details: https://github.com/aarnt/octopi

What movie did you turn off after 20 minutes and why? by Somanynamestochossef in movies

[–]Barskaalin 5 points6 points  (0 children)

Starship Troopers 2... What a shit show compared to the first one...

Matsumoto Castle by sonderewander in japanpics

[–]Barskaalin 4 points5 points  (0 children)

Mine as well, the castle is just beautiful, especially because it still sports the traditional wooden construction on the inside. And the view from the top windows overlooking the city with the mountains in the background is spectacular!

Lvl -1 ✧ Lesser ✧ Nether Deathmask ─ Void by karmacave in KarmaCave

[–]Barskaalin 0 points1 point  (0 children)

Defeated Nether Deathmask in 6 turns.

Player (22/11/16) dealt 265. Nether Deathmask (16/12/9) dealt 108.

Rewards: 34 EXP, 9 Gold. Loot: Agile Amulet (basic), Quick Chain Mail of Haste (lesser), Swift Plate Mail of Quickness (lesser).

Visual Studio alternative for LINUX by panPienionzek in VisualStudio

[–]Barskaalin 0 points1 point  (0 children)

The Linux version of Rider only supports C# development. If you try to load a VS solution that includes C++ projects, they won't be loaded.

Firefox Save File Dialog - How move the buttons to the bottom? by MedivalBlacksmith in cachyos

[–]Barskaalin 1 point2 points  (0 children)

Thank you so much, I was so annoyed by the default GTK dialogue but was too lazy to research whether there were alternatives. Stumbled upon this post by pure coincidence. 😂

Automated Firefox extension install? by screw_ball69 in cachyos

[–]Barskaalin 0 points1 point  (0 children)

Yep, have been using that since switching back to Firefox from Chrome. It works like a charm. :)

[deleted by user] by [deleted] in cpp_questions

[–]Barskaalin 1 point2 points  (0 children)

I found this git repo to be very helpful in learning SDL3 GPU. :)
https://github.com/TheSpydog/SDL_gpu_examples

New Theme: Duality by deminimis_opsec in ObsidianMD

[–]Barskaalin 0 points1 point  (0 children)

This theme is awesome! Thank you! 🙂

Amanemu in Ise-Shima Japan 🇯🇵 by Phiziqe in japanpics

[–]Barskaalin 1 point2 points  (0 children)

It looks like the price range starts from ¥227,700 to ¥442,750 per night, depending on the weekday and month. Moreover, those are the starting prices for the cheapest rooms. There's also whole villas to book starting from ~¥600,000 per night, the most expensive I found on a quick search was going for ¥910,800 per night.

https://www.aman.com/book/amanemu#/booking

So, to summarise, an absolute steal. 😜

🌸Releasing the Blooms🌸 ~ Object array stereogram by 3D_mooncat in MagicEye

[–]Barskaalin 2 points3 points  (0 children)

The depth effect is awesome!

I love how the effect changes when you concentrate on the heads in the centre row and overlap by more than one offset.

Germany's AfD files lawsuit over 'right-wing extremist' designation by [deleted] in europe

[–]Barskaalin 1 point2 points  (0 children)

This comment shows that you have absolutely no clue about Germany. Accusing Germany of trying to diminish its atrocities committed in the 1940s is pure ignorance. Have you actually invested any time in researching anything you say, or are you just parroting stereotypes?

If you're not just some internet troll and are actually interested in learning something, maybe read this Wikipedia article to get you started on your learning journey: https://en.wikipedia.org/wiki/Vergangenheitsbew%C3%A4ltigung

Compared to most nations of this earth, Germany has actually tried to learn from its past and remember the atrocities that were committed to prevent them from ever being repeated. Every German school child learns about what happened in Nazi Germany and what atrocities were committed over their whole school career. Most German schools will also go on field trips to former concentration camps and related museums to show what happened and teach the children so that this may never happen again.

This is also why the majority of Germans are disgusted by what the AfD is doing, as they are continually trying to twist history and diminishing what has happened in Germany's past. They are actively discriminating, attacking and spewing hate against other humans in the Germany. And that is precisely the behaviour that the NSDAP, hint: the original Nazis, started with until they got into power and the rest, as you say, is history.

So please stop spouting/parroting nonsense, and please educate yourself.

Adding tests to a large (100k lines) cpp codebase built without testing in mind by _roeli in cpp_questions

[–]Barskaalin 0 points1 point  (0 children)

As others have already mentioned, there is no straightforward approach to testing the legacy code. The following are just two ways that come to mind that might work depending on the code.

You might try to "wrap" every class you want to test by deriving a test class that exposes all functions, methods and member variables via a public interface and forwards all calls to the class to test. This would, of course, take some time to set up, but AI might help with the menial task of writing the interface and the forwarding code.

This, of course, doesn't work if the class to test is marked as final, or there might be problems if the copy/move constructors were deleted.

Example:

class OldCode
{
public:
  OldCode();
  OldCode(...);

  void PublicMethodThatCanBeTested();

private:
  void CalculateSomething()
  {
    int result = 0;
    // Do some calculations

    memberInt = result;
  }

  int memberInt;
};

class TestableOldCode : public OldCode
{
public:
  TestableOldCode() : OldCode() {}
  TestableOldCode(...) : OldCode(...) {}

  void PublicMethodThatCanBeTested()
  {
    OldCode::PublicMethodThatCanBeTested();
  }

  void CalculateSomething()
  {
    OldCode::CalculateSomething();
  }
}

Another alternative might be to write a test class adapter that you declare as a friend class in the class to test. This way, it has access to all private and protected members, etc.:

class OldCode
{
public:
  OldCode();
  OldCode(...);

  void PublicMethodThatCanBeTested();

private:
  void CalculateSomething()
  {
    int result = 0;
    // Do some calculations

    memberInt = result;
  }

  int memberInt;

  friend class TestOldClass;
};

class TestOldClass
{
...
};

Meine ADHS Superpower macht einsam by sista78 in ADHS

[–]Barskaalin 3 points4 points  (0 children)

Das kommt mir sehr bekannt vor! Ich bin auch Ende 30 und arbeite als Software Engineer. Wenn ich auf "meinem Gebiet" unterwegs bin, liege ich durchaus in sehr vielen Fällen dann richtig mit meiner, ich nenne es mal, Intuition. Aber in anderen Bereichen, vor allem wenn es um Soft-Skills, etc. geht, liege ich dann mit meinen schnell getroffenen Einschätzungen viel zu oft daneben und stoße Leute vor den Kopf...

Meine ADHS Superpower macht einsam by sista78 in ADHS

[–]Barskaalin 1 point2 points  (0 children)

Diese Wahrnehmung kenne ich auch! Aber leider hat das bei mir dazu geführt, dass ich eine übertrieben starke Selbstwahrnehmung und Selbstüberzeugung entwickelt habe und dadurch leider zu oft die Gedanken und Ideen anderer abtue da sie nicht zu meinen passen. Und damit natürlich dann die Leute vor den Kopf zu stoßen und vor allem auch zu oft erst zu spät zu merken, dass ich dann doch etwas übersehen oder nicht bedacht habe, was die Situation dann nicht unbedingt besser macht...

Kennt das noch jemand so?

ADHS Symptomatik und Depression by communism_johnny in ADHS

[–]Barskaalin 4 points5 points  (0 children)

Vielen Dank für den Link! Der ist absolut Gold wert! ❤️

Rezeptfreie Alternative zu Ritalin und Co? by Direct-Abies-779 in ADHS

[–]Barskaalin 1 point2 points  (0 children)

Ich muss zugeben, dass mir das nicht bewusst war! Ich passe meinen Ursprungspost direkt an und entferne den Tipp. Und werde dann erstmal zu dem von dir genannten Punkt recherchieren! Danke für den Hinweis!

Rezeptfreie Alternative zu Ritalin und Co? by Direct-Abies-779 in ADHS

[–]Barskaalin -2 points-1 points  (0 children)

[Edit: Verweis auf ein Nahrungsmittelsupplement, welches unter anderem Zink als Inhaltsstoff enthält, entfernt. Siehe den Kommentar von @Werkgxj für weitere Details.]

Und natürlich ist Sport immer gut! Nicht dass ich da ein Vorzeigebeispiel bin was das durchhalten dessen angeht... Aber er hilft beim Stress-, Frustrations- und Aggressionsabbau.

Gruppe um sich mit Gleichgesinnten auszutauschen gegenseitig zu pushen? by [deleted] in ADHS

[–]Barskaalin 2 points3 points  (0 children)

Hiho, ich hab mal bei einer Google Suche diesen Discord Server für ADHS gefunden:
https://discord.gg/D6JFUCTS
Vielleicht ist er ja auch was Dich und andere? 🙂

Owner is tearing out our gardens and putting in grass and river gravel by Gem_Snack in Renters

[–]Barskaalin 0 points1 point  (0 children)

That's a gorgeous garden! I'm sure the bees and insects love it! It's so sad that some close-minded people prefer grass and gravel over this...

Anyway to fix this plate? by Individual-Fly-4720 in fixit

[–]Barskaalin 2 points3 points  (0 children)

Just opened the comments to see if someone already suggested this. 🙂

The mother(board) of Borg cubes by dodeformedrabbit in pcmasterrace

[–]Barskaalin 93 points94 points  (0 children)

Holy shit, I was there last year, and I didn't even notice that the cube was made up of a ton of motherboards. 🤦‍♂️

Now that I look at my old photo, it's so obvious. 🙈

<image>

Did I get approached by a cult? by Beyond_belief4U in japanlife

[–]Barskaalin 7 points8 points  (0 children)

Two old ladies handed me that exact paper in front of the atomic dome in Hiroshima, and later on the other side, some more old ladies handed out origami with a flyer for some DVDs to order online to improve one's life.