sorted by: new top controversial old
[-] mhredox@lemmy.world 7 points 2 months ago

Love 2cb. Almost like a perfect blend of LSD and MDMA, but somehow different than taking both together.

[-] mhredox@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

Definitely possible -- check out emulatorjs. There are a few premade docker containers for it, but they were a bit finicky when I tried them. I eventually just ended up writing a react wrapper for it and have it hosted in a docker container. It works great, and will even play psx games without issue.

[-] mhredox@lemmy.world 5 points 2 months ago

Mid 30s and still can't grow a beard or moustache. There is no hope for me.

[-] mhredox@lemmy.world 1 points 6 months ago

Same. Honestly no issues with react+vite that I haven't been able to solve.

[-] mhredox@lemmy.world 3 points 6 months ago

Exact same thing happened to me the other day. Like exactly. Maybe we live in the same area.

[-] mhredox@lemmy.world -1 points 6 months ago

Can't tell if you're having a problem with birds or debris. Maybe it's a problem of debris from debirding. Either way, good luck ๐Ÿ‘

[-] mhredox@lemmy.world 1 points 6 months ago* (last edited 6 months ago)

Thanks for the very thorough response! I will absolutely check this out. I would say I have a fair bit of experience in OO programming. A decent amount from JS and also a good bit from C#, which I dabbled in for a good while during my "I'm going to make a game in unity" phase haha.

I know enough C++ to get myself in trouble, but it seems every time I have to use it I get super frustrated that things aren't as simple as they are in other languages I'm familiar with. That, and I never seem to know the exact terminology to look up my particular issue (which is half the battle anyways).

I actually needed to write a UDF in C for my mariadb instance just the other day. It ended up taking me several hours for something that would have taken me just minutes in JS or C#. It ended up being a pointer + memory allocation issue. Basically I wasn't clearing the allocated memory and resetting the index between function calls. It also frustrates me to no end that I can't just array.push() to add a new char to the end of a char array lol.

I also wrote a VST with Juce in C++ a few years back. I got it working eventually, but God I remember it being an absolute nightmare.

I guess really I have a hard time understanding when and why it's even necessary to use pointers etc since that stuff has been abstracted away in the higher level languages I know. It seems like you could essentially get the same functionality by just knowing when things are passed by value vs passed by reference.

[-] mhredox@lemmy.world 1 points 6 months ago* (last edited 6 months ago)

Piggybacking on this:

I've been wanting to learn C++ as well. I am very experienced with JavaScript, and also am very fluent with Arduino. I've messed around with actual C++ before but I get lost with all the pointers, header files, and memory allocation stuff.

Are there any resources y'all would recommend to someone who has all of the programming fundamentals, but wants to learn the specifics of C++?

[-] mhredox@lemmy.world 1 points 7 months ago

Came here to recommend DIYPerks. Love his stuff.

[-] mhredox@lemmy.world 0 points 7 months ago

I believe the scientific name is biggus dickus

[-] mhredox@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

I ended up just making my own helper container for authelia. It can generate a link that expires after a set time and only allows a set number of users to access. Then I can just give the link to whoever I want to join and they can fill in their own username and pwd. It then adds them to the authelia user db with the correct groups and PW hashing. Only issue is I have to manually restart authelia for the changes to take effect. Eventually I want to see if I can automate that.

I'm still working on editing the configuration through the app though. I want to be able to change the access control rules, etc.

As far as having the services behind authelia automatically detect and login the user, that will depend on the service, but authelia does pass user credentials and login status in the request headers. Many of the services I host were created myself, so it's pretty trivial to have it automatically "log in" from the authelia sign on.

148
submitted 9 months ago* (last edited 9 months ago) by mhredox@lemmy.world to c/selfhosted@lemmy.world

Decided I'd give a sneak peek at something I'm working on:

Since building my home server I've constantly been on the lookout for a decent frontend to manage my files, etc. I initially tried file browser, but it was always really buggy for me, and honestly I hated it.

Since my server is headless, a PiKVM and the like wouldn't really work for me the way I wanted, so I decided to just build what I was looking for on my own.

And with that, I'd like to introduce: ~~redox_os~~ TBD

It's an emulated OS built in react with a node+express backend. It's made to be as fully customizable as you want. You can create new "apps" for it very easily. Anything you can make in react/JavaScript can be loaded as an "app" with just a simple config file.

It's still very much a work in progress, but I figured it was complete enough for a little show and tell.

Current features:

  • a desktop with icons/etc
  • a file browser
  • text editor (complete with syntax highlighting)
  • a full featured terminal
  • a picture viewer
  • a music player
  • a video player (capable of live-transcoding to an html5 compatible format)
  • a file downloader (for downloading files to the server from the web)
  • full drag and drop capabilities (even drop files from outside your browser to upload)
  • downloading files from the server to local
  • full mobile/touch support

I'm also still very much deciding how to handle the release. It's mostly functional already, but I'd really want it to be polished before a proper release.

Since I also have a full time job, that may take a while. Contributors would definitely help, but I'm also a little split on whether I should make if FOSS. I'm definitely leaning so, but idk.

Definitely open to any feedback, suggestions, criticism, etc.

Edit: Thanks to everyone for the feedback! Looks like I'll definitely be going FOSS. Also I'll be changing the name ๐Ÿ˜„

Not sure what to call it now though. Maybe reDOS? Lol

I still wanna tidy everything up a bit before making the code public. Maybe go back and start adding some comments/documentation as currently there is none. I'm really terrible about that.

Also definitely a bit shy to open up my code to public scrutiny haha. I'm sure there are plenty of mistakes and bad practices.

view more: next โ€บ

mhredox

joined 9 months ago