RetroHax

joined 2 months ago
[–] RetroHax@feddit.org 1 points 2 days ago (1 children)

yup just removed the infinite cycle by just doing class ErrorWindow; inside mainwindow.hpp :P
also if i remove MainWindow MainWin; from main then obviously all i get is a compiler Error as i require MainWin inside my Main Function >.>

src/main.cpp:20:5: error: ‘MainWin’ was not declared in this scope; did you mean ‘MainWindow’?
[–] RetroHax@feddit.org 1 points 2 days ago* (last edited 2 days ago) (1 children)

Basically my Idea is/was to use 1 Function that being DisplayErrorWindow and have all the Errortexts basically inside it as nothing ever changes aside from the Text i couldve just used if statements :P
But sadly it wiull only display the first Error Text and not any of the other Error Texts no matter what i modify and i did already check my if statement Logic inside the Function and nothings wrong on that Part :c

[–] RetroHax@feddit.org 1 points 2 days ago (3 children)

huh? O.o
so you mean like this for Example? >.>

int main() {
  ErrorWindow* ErrorWin;
  MainWindow MainWin(&ErrorWin);

and then inside mainwindow source files like this? O.o

class MainWindow {
  public:
    MainWindow(ErrorWindow* ErrorWin);
  private:
    ErrorWindow* ErrWin;

MainWindow::MainWindow(ErrorWindow* ErrorWin) : ErrWin(ErrorWin) {

because all i recieve is this error even tho i included errorwindow.hpp inside mainwindow.hpp and cpp file >.>

In file included from src/gui/errorwindow.hpp:20,
                 from src/main.cpp:13:
src/gui/mainwindow.hpp:56:27: error: expected ‘)’ before ‘*’ token
   56 |     MainWindow(ErrorWindow* ErrorWin);
      |               ~           ^
      |                           )
src/gui/mainwindow.hpp:83:5: error: ‘ErrorWindow’ does not name a type
   83 |     ErrorWindow* ErrWin;
      |     ^~~~~~~~~~~
make: *** [Linux.mk:39: build/main.o] Error 1
 

So i am basically almost done with my C++ App Logic Wise tho the only thing i struggle with and wanna figure it is how to include a seperate class into my main class constructors >.>

Mostly due to the fact that currently in my Code my main Code has 2 Objects tho ErrorWin Object is right now the only one that exist twice as seperate Objects which itd like to fix >.>

So this is my first Object in my Main Function which just calls my DisplayWindow Function while my ErrorWin Object calls the Display Error Window Function :P

int main() {
  ErrorWindow ErrorWin;
  MainWindow MainWin;

  if (ProgramPath.empty()) {
    ErrorWin.DisplayErrorWindow();
    return Fl::run();
  }

  MainWin.DisplayMainWindow();
  return Fl::run();
}

Now the Main Issue is that only my First Text basically gets displayed in the Error Window even tho my switch Statement is set to display a different error text basically according to my callback but that obviously does not work due to theyre being seperate ErrorWin Objects :(

void MainWindow::CallbackSaveFile(Fl_Widget* Widget, void* Data) {
  MainWindow* MainWindowData = static_cast<MainWindow*>(Data);
  ErrorWindow ErrorWin;

  if (!MainWindowData->InputFile.empty()) {
    ...
  } else {
    ErrorWin.DisplayErrorWindow();
  }
}
[–] RetroHax@feddit.org 1 points 3 weeks ago

well without iocane https://retro-hax.net/ can be accessed but just if i do uncom,ment the iocane stuff then i just get this 421 error But iocane is running via the systemd system and started so i dont understand why it doesnt work easily >.>

[–] RetroHax@feddit.org 1 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Well for me my Physical Host Layout how do you mean? O.o
Like i just use Caddy as my Web Server running on Port 80 and 443 which are open physically on my Router >.>
and i dont think i use a Proxy? >.>
I infact dont even use a Firewall tho i probably should set that up sometimes XD

 

So im sorry if this is the Wrong Sub more or less tho i did wanna ask if maybe one of you also selfhosts stuff as i am particulary having Issues with iocane ^^"
Mostly in the sense of that while Installation went succesful it did give me Issues regarding being unable to reach my Website which i selfhost via Caddy :(
Gave me an Error 421 if i remember correctly and i feel very stupid and embarassed that i cant solve it on my own as it is quite annoying >.<

Looks like there’s a problem with this site
https://retro-hax.net/ sent back an error.
Error code: 421 Misdirected Request
Check to make sure you’ve typed the website address correctly.

My Caddyfile is quite Basic tho as it looks like this with iocane being outcommented right now due to the 421 Bug :P

user@retro-hax:/etc/caddy$ cat Website.caddy
retro-hax.net {
  #@read method GET HEAD
  #reverse_proxy @read 127.0.0.1:42069 {
  #  @fallback status 421
  #  handle_response @fallback
  #}

  root * /var/www/html/Website
  file_server {
    index  Home.html
  }
}

and yes i did open up Port 42069 on my Router to make sure it wasnt a Porting Issue X_X

[–] RetroHax@feddit.org 7 points 3 weeks ago (1 children)

eh while i appreciate this Project i do also think that contributing to Software like Matrix or XMPP would be better as theyre actually used in Production and Companies :P

[–] RetroHax@feddit.org 2 points 3 weeks ago (2 children)
 

So im sorry if this is the Wrong Sub more or less tho i did wanna ask if maybe one of you also selfhosts stuff as i am particulary having Issues with iocane ^^"
Mostly in the sense of that while Installation went succesful it did give me Issues regarding being unable to reach my Website which i selfhost via Caddy :(
Gave me an Error 421 if i remember correctly and i feel very stupid and embarassed that i cant solve it on my own as it is quite annoying >.<

Looks like there’s a problem with this site
https://retro-hax.net/ sent back an error.
Error code: 421 Misdirected Request
Check to make sure you’ve typed the website address correctly.

My Caddyfile is quite Basic tho as it looks like this with iocane being outcommented right now due to the 421 Bug :P

user@retro-hax:/etc/caddy$ cat Website.caddy
retro-hax.net {
  #@read method GET HEAD
  #reverse_proxy @read 127.0.0.1:42069 {
  #  @fallback status 421
  #  handle_response @fallback
  #}

  root * /var/www/html/Website
  file_server {
    index  Home.html
  }
}

and yes i did open up Port 42069 on my Router to make sure it wasnt a Porting Issue X_X

[–] RetroHax@feddit.org 2 points 3 weeks ago

Peak Post! :D
ALso yea i 100% agree! >:D
I personally really do not understand the reason as to why People are so Happy about GenAI like WTF?! >.>
The only Thing i see in LLMs is the use for Translations and Scientific Stuff for Language Helping SUpport and such Cases where it actually makes Sense as a Tool :P
But GenAI as a whole where it just shits out a bunch of NonSense and calls it "Good XYZ Thing" is just ugh -.-

[–] RetroHax@feddit.org 3 points 4 weeks ago (2 children)

i did try Heroic recently but i just found it too Clunky for me to use in the Sense of its UI sadly :(
Also i dont like using Electron really >.>
Do you by chance know of some Workaround that is maybe even automated to a degree? :0
Best Thing i found so far is editing the .desktop File and extracting the icon from its exe using icoutils which is kinda combersume and annoying to do manually :P

 

So i run most if not all of my GOG and Itch Games via Lutris which i am quite happy with :D
But sadly i just get the "Stock" Executeable Icon instead of the Games Icon :(
Also yes due to the my Icon Theme Set it does look different but eitherway is that not the Correct Icon for the Game :(
Is there a better Way than downloading and changing the Icon for each Game manually? :(

[–] RetroHax@feddit.org 4 points 4 weeks ago

As much as i am happy for those Gamrs that rely on ANti Cheat Games also being able to switch to Linux i also wanna puke my Guts out as i really hate Anti Cheat overall -.-
Anti Cheat has been and always will be the Enemy of Gamers and Gaming as whole >.>

[–] RetroHax@feddit.org 2 points 4 weeks ago

ah i did not even knew this one existed :0
RThats cool honestly :P

[–] RetroHax@feddit.org 1 points 4 weeks ago

Sehr schöner ARzikel :D
auch wenn ich leider 2 Pausen machen musste beim lesen durch mein ADHS :c

 

Like it just feels like a lost Battle nowadays thats impossible to even remotely Win :(
While i havemnt yet setup Anubis on my Server :(
considering that a Human can even just go and take my Code and feed it to an Ai because theyre moral compass says that "Ai is Good and anything accesible to everyone no matter the disability" is just such a Scary Thought to me :(
Like the Bubble doesnt simply seem to burst sadly and as much as i like the Progress of AI/LMMs used in Medicine i do hate the GenAI Bullshit we have to deal with on the General Internet :(

 

So i basically use XFCE since my First Time using Linux and im very much fine with it :P tho what i am missing is some Themes outside of the Basic Black and White >.> Especially considering sadly that most XFCE Themes are either made for GTK2 or simply made for KDE there doesnt seem to be many Options still left :( Maybe thats just me Thing but i also dislike the AdLib Themes from https://store.kde.org/p/2320010 for XFCE a lot sadly :( Like itd love to maybe get a Glossy Theme like in WIndows XP the Grey "Metal" Looking Theme or 7s Default Theme >.>

 

Now i must say to my Defence that i grew up with Rayman 3 on the PS2 and never even had heard of Rayman 1 at all as a Kid until my Father brought in his Cousins Pirate CDs and DVDs as he had a Chipped PS2 overhere :P

and while i do love Rayman especially 2 and 3 (tho mostly Rayman Revolution because i prefer the Voice Acting instead of the Gibberish personally :P) i HATE Rayman 1 like i just never found it played Good and it was just argh >.>

And its not like the Music Level makes it frustrating its just the whole Speed of the Game feels more like a Slog to Playthrough -.-

Itd assume anyone else probably enjoyed Rayman 1 more especially via the PC Fan Game of Rayman 1 that basically fixes all the Flaws apparently? >.>
I really should try it out someday :P
Its just for 2D Raymans i prefer Origins and Legends anyday over whatever Rayman 1 rtried to be >.>

 

So i was looking into selfhosting my own Peertube Instance due to me wanting to back up my Youtube Channel as well as our Indie Bands Channel and just also provide a Mirror for those People that do not wanna follow us via Youtube >.>

But anyways basically what has hapepned was that my Goal is to neither have to rely on Docker nor NGINX at all but so far i did not sadly found much look for Instructions except using a Docker + NGINX Combo or just using NGINX but using it on a Different Port and forwarding that Traffic to Caddy then :(
Both Options are something itd rather not do and dislike considering my Setup being quite Good with me just simply managing the Binaries myself >.>

The only other Option i found was some Random Dudes Caddy Config for Peertube which itd rather not rely on >.>
considering im not really a "Web Dev" or "Server Management" Guy except for following the Instruction listed on the Self Hosted Projects official Side and praying to God that it didnt just burn down my Server and Worked XD

Anyways itd be appreciate of Help really in that Matter as itd love to atleast have a Youtube Channel Backups as well as to invite Friends to join and etc. :P

Also here is that Random Guys Caddy Conf for Peertube incase anyonsoe wants to take a look >.>
https://gist.github.com/toby3d/ad2f20f31d1c71a51914045efd0a9a61/ff02cf4d50b809a2f13910968e29aaff2c132944

 

Heya! :D
So i wanted to ask regarding as to if its possible to see Upvotes on my Profile or if thats just a Thing thats depending on what UI my Instance uses? >.>
Also i have to keep enlraging the Body Box on my Instance sadly which is kinda annoying -.-
as well as due to having to always a Backslash for a New Line -.-
So i basically wanted to ask as to what Clients yall could recomenned specifically for Phone but also for the Desktop really XD

 

Now i am someone whos a Huge Fan of DRM Free Gaming (well im in GOG Community go figure :P) and basically what i was always wondering as as to why DRM seems to be so popular still among Gamers considering StarForce and such? >.>

DRM Free Gaming is probably mostly a Thing that probably comes into Old Gamers Minds more than newer ones considering that StarForce and SafeDisc are more or less RetroDRMs that i doubt many Newer Gamers cant phatom really? >.>

But what surprises me the most is that the Voice arent "louder" for even just removing Basic Denuvo after 6 Months off Steam or so >.>
Like for me itd be honestly fine to make a Trade off them just having Denuvo on a New Release for 6 - 12 Months and then removing it honestly as itd love to buy Games such as the Persona Games instead of having to emulate them honestly :P
Where i was wondering as to Why is GOG not the most Popular Gaming Platform?

view more: next ›