mhredox

joined 1 year ago
[–] mhredox 1 points 1 year ago* (last edited 1 year 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.

[–] mhredox 2 points 1 year ago
[–] mhredox 2 points 1 year ago (2 children)

Peyote, San Pedro, the many, many species that contain DMT, khat, just to name a few.

[–] mhredox 7 points 1 year ago (5 children)

Magical/Sacred plants.

There are very active communities on Reddit for magical/sacred plants and even some for selling/trading them. I mostly collect San Pedro cacti among a few others and would love an active community like that here.

[–] mhredox 16 points 1 year ago* (last edited 1 year ago) (1 children)

VR hands down.

It's the only workout that has ever stuck for me, because it really doesn't even feel like a workout. Games like Beat Saber or Pistol Whip can burn as many calories per hour as playing tennis, and are genuinely super fun.

https://vrhealth.institute/portfolio/beat-saber/ https://vrhealth.institute/portfolio/pistol-whip/

I started playing regularly at the beginning of lockdown and ended up losing around 50lbs. I would play Pistol Whip until I was completely drenched and could barely stand anymore, but I still wanted to keep playing! I got a plugin for the valve index that measures your activity and your calories burned, and I can easily burn 1200 calories during a session... YMMV though.

[–] mhredox 6 points 1 year ago* (last edited 1 year ago)
  • Fry at 360⁰F for 12 mins
  • Flip them and fry again at 360⁰F for 12 mins
  • Flip again and fry for 6 mins at 400⁰F

They should come out super crispy but still very juicy on the inside.The one drawback is that it takes a total of 30 mins and you can only make as much as fits in your frier. You really want to have only one layer of wings and not have them laying on top of each other. My frier is fairly small so it's not something I can make for a whole bunch of people.

[–] mhredox 66 points 1 year ago (6 children)

Fried chicken.

It's soo good but not worth the hassle of dealing with all the oil.

Although, I've since found that air-fried, if done right, can be just as good.

[–] mhredox 4 points 1 year ago

Homemade Trompo tacos.

Also, tamales and ceviche.

[–] mhredox 7 points 1 year ago* (last edited 1 year ago)

The only time I've ever really needed recursion is when I'm doing something that needs to map out some sort of tree or heavily nested object.

One example that comes to mind is when I needed a function that acts like querySelector, but also searches through shadowroots. Since querySelector does not natively search within shadowroots, I had to write a recursive function that basically starts at the root and recursively searches each node for a shadowdom, goes inside, and runs itself again.

It's definitely not the most performant solution, but it is sometimes necessary.

[–] mhredox 2 points 1 year ago

I've mostly reached a point where I'm not always having to go back a look up documentation, but for some reason array methods still get me.

Every. Single. Time.

[–] mhredox 6 points 1 year ago* (last edited 1 year ago)

I have been programming for years, and although I did minor in math, I can only think of 2 times that I have ever needed any math beyond that of highschool algebra. And those were very niche one-off situations. As others have stated, logic is much much more important, and a good understanding of Boolean logic will take you MUCH farther than any other math related discipline. But even still, logic is, well.... logical if you just think about it. You really don't need to take any courses on it.

I think the main barrier for entry is that there are simply too many options and different paths to go down when beginning to learn. Also, there just aren't too many really cool things you can do as a beginner that are truly interesting and will keep your attention. The typical "hello world" exercises are boring as hell and of course people aren't going to keep being engaged when they're bored.

That's why I usually recommend beginners who want to learn to start with an Arduino, regardless of what their final goal language is. Generally speaking, once you learn one language it's pretty easy to learn others, as the foundational knowledge is mostly the same i.e. variables, loops, functions, etc.

What I think is great about the Arduino is that your code produces a physical, tactile response. Usually one of the very first programs you write (which can be completed in probably 10 minutes by a beginner) is making an led flash something like "SOS". This is leaps and bounds more interesting than something like "hello world" and will usually keep you interested and engaged much longer while learning the basics.

I started on an Arduino many years back after stumbling upon a Paul McWhorter lesson randomly on Reddit. After becoming pretty proficient with an Arduino, I transitioned over to JavaScript and started learning web development, and I'm now a full time engineer.

[–] mhredox 1 points 1 year ago (1 children)

So admittedly I'm fairly new to the world of self-hosting, but have been a web dev for a long time. My terminology may be way off here. I always sort of assumed that headless meant that I'm running a version of Linux that does not have a desktop UI (Ubuntu server specifically).

If I added a PiKVM, would I suddenly get a desktop UI, or would it still be command-line only?

view more: ‹ prev next ›