Croquette

joined 2 years ago
[–] [email protected] 3 points 7 hours ago (1 children)

It's a philosophical point of view and like anything, it's debatable.

Death create an urgency, and we cannot substract ourselves from that.

When we imagine immortality, it is framed within this urgency. You might think : well there is so much I haven't seen. But by being immortal in the litteral sense of the word, at one point, you will have seen everything to not care about it anymore. Then what? You go interstellar in the hope of finding something new in a few millions years?

If I could live a thousand years, I would definitely be interested. But living billions of years with no end in sight? Absolutely not.

[–] [email protected] 5 points 9 hours ago (1 children)

I hate how docker made it so that a lot of projects only have docker as the official way to install the software.

This is my tinfoil opinion, but to me, docker seems to enable the "phone-ification" ( for a lack of better term) of softwares. The upside is that it is more accessible to spin services on a home server. The downside is that we are losing the knowledge of how the different parts of the software work together.

I really like the Turnkey Linux projects. It's like the best of both worlds. You deploy a container and a script setups the container for you, but after that, you have the full control over the software like when you install the binaries

[–] [email protected] 1 points 1 day ago

Do they at least look like crabs?

[–] [email protected] 0 points 2 days ago (1 children)

What's the saying ? "Don't argue with stupid people, they will bring you down to their level and win with experience".

Applies here. No arguments, just personal attacks.

[–] [email protected] 0 points 2 days ago (3 children)

Scott vs Sandford decision led directly to the 13th and 14th amendment which overruled that same decision.

The due process clause of the 14th amendment prohibited local governments of depriving citizens from life, liberty or property without a due process.

So yeah, 14th amendment does restrict the government, and has been made to overrule the Scott vs Sandford Supreme Court ruling.

[–] [email protected] 5 points 2 days ago* (last edited 2 days ago) (1 children)

Big edit: im a big dumb that can't read. Roast me, it's my kink

Not true. The concept of insurance is pretty much socialism. A bunch of people, or a community ,pool some of their resources for a certain emergency, and cover the people that have that emergency with the money set aside.

The capitalists hijacked that process and made it for profit.

The only way to make money on that is either:

  • ask people to pay more for the same coverage or less.
  • make sure the least possible amount of people claim part of the pooled money.

There is also gambling the coverage money on the market, but it is not inherent the concept of insurance itself.

[–] [email protected] 2 points 2 days ago (5 children)
[–] [email protected] 11 points 2 days ago (1 children)

Nothing is sacred for them, and their words are only used to get what they want now.

The SCOTUS is stacked in Trump's favor. He's been openly racist, mysoginist and he is a rapist, and he won the presidency.

Don't hold your breath on anything that makes sense because the next year will be everything but normal.

Conservatives will shit and clean their ass with the constitution if that mean they can hurt people they don't like

[–] [email protected] 1 points 2 days ago

I edited the post. Since it's all local it's fine to show the IP. It's just a reflex to hide my ips.

I use IP directly as I don't have a local domain configured properly.

The outpost ip in my configuration file is the same provided in the outpost on Authentik.

I am trying to get it to work still, but I am pretty sure that the issue is between Authentik and Firefly.

I don't see any of the headers (x-authentik-email more specifically) specified in the caddy file when Authentik is sending the request to Firefly. The only header I see is x-authentik-auth-callback.

I am not sure how I can specify which headers are sent in Authentik.

 

*** For anyone stumbling on this post, and is as newbie as I am right now, forward auth doesn't work with FireflyIII.

I thought that forward auth was the same as a proxy, but in this case, it is the proxy that provides the x-authentik tags.

So for Firefly, set up Authentik as a proxy provider and not a forward auth.

I haven't figured out the rest yet, but at least, x-authentik-email is in my header now.

Good luck ***

Hello,

I am trying to setup Authentik to do a forward auth for Firefly3, using caddy. I am trying to learn External authentication so my knowledge is limited.

My setup is as follows.

By looking at the Firefly doc Firefly doc, I need to set AUTHENTICATION_GUARD=remote_user_guard AUTHENTICATION_GUARD_HEADER=HTTP_X_AUTHENTIK_EMAIL in my .env file. I used the base .env file provided by Firefly and modified only these two lines

Then, in my Authentik, I made a forward auth for a single application for firefly. This part seem to work because the redirection is made. The external host is my Firefly ip address.

Then from the example provided in the Authentik provider, I created my caddy file on the Firefly container to redirect port 80 to my custom port 9080.

:80 {
        # directive execution order is only as stated if enclosed with route.
        route {
                # always forward outpost path to actual outpost
                reverse_proxy /outpost.goauthentik.io/* http://10.0.1.7:9080

                # forward authentication to outpost
                forward_auth http://10.0.1.7:9080 {
                        uri /outpost.goauthentik.io/auth/caddy

                        # capitalization of the headers is important, otherwise they will be empty
                        copy_headers X-Authentik-Username X-Authentik-Groups X-Authentik-Email X-Authentik-Name X-Authentik-Uid X-Authentik-Jwt X-Authentik-Me>

                        # optional, in this config trust all private ranges, should probably be set to the outposts IP
                        trusted_proxies private_ranges
                }

        }
}

EDIT : The IP address of Firefly is 10.0.1.8

When I try to go on my Firefly app, the Authentik redirection is made and it tries to connect to the Firefly webpage,but I either get unable to connect when I try the https, or Looks like there’s a problem with this site when I try to connect with http.

I see that the connection is refused in both case.

I made sure that my email on my account on firefly matches the email from the Authentik user.

I tried googling my problem to no avail and the Firefly documentation is pretty scarce.

Any help would be welcome.

[–] [email protected] 0 points 6 days ago (1 children)

Our dumbfucks fucks here in Quebec are increasingly leaning towards the Americanization of Canada.

I've seen so many people talking about how it would be cool to be the 51st state when he met Trudeau.

[–] [email protected] 53 points 6 days ago (2 children)

Companies like UHC are actively making the life of millions more miserable, or straight out kill people by refusing coverage, all in the name of money.

So yeah, no fucking shit that people hate them.

[–] [email protected] 1 points 1 week ago

I'll have to checkout the other tools because I use C 95% of the time.

 

Hello,

I am trying to setup Authelia using apalrd tutorial.

In the configuration file, I need to setup a SMTP server to send email from.

I am currently using proton mail and they don't have smtp support out of the box, you have to go through their bridge.

I've tried to find tutorial on how to use Proton Bridge CLI to be able to use it as my SMTP locally, but the information seems scarce on that front. (keep in mind that I am no expert).

So my question is as follows : what are my option to have a functional SMTP configuration on my Authelia server?

Thank you

 

Context :

I hate when I need to use multiple tools to achieve what I need.

In my current project, I have a few python scripts to simulate what a PC connected to a NUCLEO-F439ZI would send normally (I am not in charge of the PC software, but still need to do hardware testing).

I stumbled upon CLion which has both support for Python and Embedded C through OpenOCD out of the box. I like the modernity of the IDE compared to STM32CubeIDE, especially the auto-complete feature and code snippet, which is really janky on CubeIDE.

However, there is a license cost associated with CLion. Right now I am alone working on my projects, but eventually, the team would grow and would need additional licenses. And it's proprietary source, which isn't my preferred model.

Have you had experience with both? Or one or the other is fine as well.

I am just looking for experiences of different kind of users than me.

Thanks.

 

Hi,

My question certainly stems from the imposter syndrome that I am living right now for no good reason, but when looking to resolve some issues for embedded C problems, I come across a lot of post from people that have a deep understanding of the language and how a mcu works at machine code level.

When I read these posts, I do understand what the author is saying, but it really makes me feel like I should know more about what's happening under the hood.

So my question is this : how do you rate yourself in your most used language? Do you understand the subtilities and the nuance of your language?

I know this doesn't necessarily makes me a bad firmware dev, but damn does it makes me feel like it when I read these posts.

I get that this is a subjective question without any good responses, but I'd be interested in hearing about different experiences in the hope of reducing my imposter syndrome.

Thanks

 

Hello,

I am looking for recommendations for a service provider of immutable backup that has options for a homelab user.

My research has led me to services with expensive options, or no pricing at all unless you ask for a quote.

Thank you

 

Hello,

I am currently trying to implement a webserver on an embedded STM32F439 using the Mongoose library and Preact (3kB React equivalent made especially for embedded solutions).

My speciality is in embedded development and my web dev experience is next to nil, so I have a hard time finding a solution for my problem.

Right now, I tried to use Preact + Vite.js, but it seems to be causing issues when packing my webpage into my embedded system.

The workflow I am using right now is as follows:

  1. Create a webpage with Preact/TailwindCSS in jsx and build the page with npm run build. If I run npm run dev or start a http server with python3, the webpage loads properly.

  2. For Mongoose Library, since I don't have a file system, I use their packing utility which takes the webpage files and convert them into a C array that can then be unpacked by the Mongoose Library at runtime.

  3. Start the embedded server, get an IP and the server is online. At that point, I can customize my paths to show whatever I want and fetch embedded resources. The issue happens here. As I add more elements to my webpage, eventually, it stops working. It produces a range of issues (403 forbidden, illegal characters for example).

Preact+Vite.js is definitely creating some issue here with the embedded dev environnement, so I would like to explore more "barebone" options where I have more control over what is bundled and how it is bundled. It really feels like Preact+Vite.js is obfuscated a lot when bundling all the files together, and I would like to have more control over that part so that I can learn a little bit about the workflow of the bundling.

So my question is as follow : what other dev environnement do you recommend knowing that the webpage is packed in a C array and then runs on an embedded system with no file system?

Thanks

 

Hello,

a few weeks ago I started my training journey and I am still training, which is a record for me. I'm finishing my first cycle this week and next week and I am planning the next cycle. However, I have a lot of questions and need some help.

Context

I am a 37 yo male that did a lot of sports when I was in my teens/early 20s, but I became sedentary and my diet was shit. I had my second child in October and from October to end of December, I lost 25lbs by changing my diet which motivated me to start training.

On Youtube, I found Jeff Nippard and Renaissance Periodization which gave me a lot of information on how to change my diet (which is ongoing still, but since the end of December, I lost another 5 lbs without trying) and also a lot of information on how to train. And that is how I started weight lifting.

I have two young kids, so it was important to me that I could train at home with minimal equipment, and that is why I bought the Dumbbells only 3 days training from Renaissance Periodization. I only had to buy a set of 10lbs dumbbells (already had 5lbs) and I could start working out.

I wasn't able to properly finish the whole cycle (I'll describe why later), but I am still very proud of what I accomplished. I worked out when sleep wasn't great (won't be for a while with a 3 months old), even if time was short, or if the motivation wasn't there to begin with. I stuck with the training and diet changes, and my body started changing and it was/is a great motivator to continue.

Since I did a lot of sports that require leg muscles (Volley-Ball and Soccer), my legs are a lot stronger than my arms and my core is decent.

Training Program

The Renaissance Periodization 3 day trainings with dumbbells only is as follows : Each day is 3 exercices + 3 SuperSets of 2 exercices. 1 or 2 days rest between each Day to make sure that the body is completely healed and ready for training.

The program is a 6-weeks program. The first week is 2x sets of myo reps (5-30 reps). Each week, a new set is added. Week 6 (the last week) is deload week, so only 1 set.

Day 1:

  • Medium Push-ups
  • Chair Shoulder Press
  • Upright rows
  • One-arm rows / Goblet Squat
  • Alternating Curls / Stiff-Legged DeadLift
  • Crunches with top hold / Sumo DeadLift

Day 2:

  • High Bent Rows
  • Supinating Curls
  • Paused Side Raises
  • Reaching Sit-ups / Double-legged Glute Bridges
  • Two-arm standing extensions / Sumo Stiff-Legged DeadLift
  • Narrow Push-ups / Sumo Squats (shoulder rack)

Day 3:

  • Bent Upright rows
  • Sumo Squats (shoulder racks)
  • Good Mornings
  • Forward Lunges in place / Slow down reaching situps
  • Hammer Curls / Two-Arm standing extension
  • Medium Push-ups / Elbows Out bent row

My issues with the program

  1. This week was my week 4 of the program and I hit a big wall. I started strong in my two last training, but halfway through the training, I was out of energy. The compound exercices + the number of sets killed me. The progression is too much for me, so I will be deloading a week sooner because I won't be able to do more progression next week. So the program gets too tough for a newbie like me, especially considering that my sleep is not great with young kids. My strength grew a lot during this cycle, but my systemic fatigue is really high right now.

  2. Since my legs are stronger, I can do more reps/load, but it also means that it needs more time to heal. My legs are the limiting factor in the frequency of the trainings because they always take 2 days to heal, while my arms are usually good to go after a day of rest. I was hoping to do 3 trainings a week, but it was 3 trainings every 9 days because I had to take 2 days of rest between

  3. Lots of compound exercices, which sometimes limited my reps for other exercices. For example, on day 2, after the supinating curls and Side raises, my arms are dead. So when I do the Reaching sit-ups, I am limited by my ability to raise the weights over my head. I have to stop because my arms can't hold the weight anymore, not because my abs are grilled. Same thing on Day 3 with the push in the last SuperSet. My arms are done, so I can't do a lot of push-ups.

Why I need help

I would like to start a fat loss phase soon, and I would like a sustainable training program to accompany that fat loss phase.

I plan on doing a 6 weeks phase, so I would like a 6 weeks program that will end on week 7 with a deload. The current program doesn't work for me, because of the reasons above

What equipment do I have?

  • 5lbs, 10lbs and adjustable up to 20lbs dumbbels
  • I bought a workout bench, without a barbell rack
  • Pull-up door bar.
  • Gym rings
  • Movable dip bars

What exercices I don't like in the current program

  • One arm rows : They feel extremly awkward. I tried different variations, they always feel out of place.

  • Reaching Sit-ups with heavy arms : As I mentionned above, the limiting factor in the current program for this exercises is my arm fatigue.

  • Push-up is fine, but every workout, with two days where the exercise is in the last SuperSet, it takes its toll

What kind of help do I need?

I would like to start from the program I already have, and modify it to fit my needs. I would like to put emphasis on my arms and on my core.

I would like to add exercises to build my strength to do pull-ups.

I would like to remove the pain points that I have of the current program and mix straight sets with myo reps. I am open to also try myo matchs.

I would like my weight training days to be Monday, Wednesday and Friday. The weekend is always chaos, and that way, I can have 2 days to heal on the week-end, and go harder on fridays.

Conclusion

So this is why I came here to post. My first thought was to remove the exercises I don't like, and replace them with other exercises. However, I don't know how to reorganise the sets and progression to reach my goal.

I was thinking of keeping one or two SuperSets per training days and separate the other supersets into single exercises.

I was also thinking of keeping the myoreps for the arms and core exercises and going straight sets for legs exercises.

The only thing I know for sure is that I don't want to keep the one-arm rows in the program.

Thank you for reading, and thank you for your help.

 

Hello,

I am looking for a place where I can find alternative exercises of my training plan.

I am slowly planning my next workout cycle and I would like to replace some exercises that I don't like.

And I would also like to learn what muscles the exercises on plan actually do. I know the targetted muscle, but I would also like to know the secondary muscles that are worked as well.

Thanks

 

Hello,

I made the leap 2 weeks ago to start resistance training and be in better health overall.

I lost 25 pounds since October and it motivated me to start training as well. So here I am.

I bought the Renaissance Periodization 3 days full body workout with dumbbells only to start my journey. I have young kids, so starting at home is giving me the best chance to stick to a program.

With that said, over the 2 weeks, a few questions popped up and I don't know the terminology well enough to answer them and my google skills weren't good enough, so I am trying my luck here.

  1. I have been sedentary for a long while, even though I did a lot of sport when I was younger. Mainly competitive volley ball, so my legs are decently strong still, but my upper body, not so much. For many upper body exercises I do, it feels like my strength is really uneven, and different muscles are activated, though I make sure that the targeted muscle for the exercise is activated too. Should I stick to the same weight I use if I can reach the targeted reps with good technique (to the best of my knowledge)? Or should I drop the weight a little bit until I am strong enough?

  2. The program calls for myo reps. Each week, a new set is added. For each exercise, the target is between 5-30 reps. Does that mean that I should target at least 5 reps for each sets? Or if I do, let's say, 7-5-3 reps, is that good enough? Should I drop down some dumbbells weight until I can do all the sets to at least 5 reps? For push ups particularly, I don't use a dumbbell, so I could switch to knee push ups, but my first two sets are over 5 reps, but the subsequent sets are under 5.

  3. Today while training, I ramped up intensity a little bit and really pushed myself more than before. For certain exercises, even though my targeted muscle wasn't burning and feeling exhausted, I couldn't do more reps and the overall part that was trained was shaky after the set.

For example, I did some sumo squats. It didn't feel like my quads were toasted, but I could not push more and my legs really started to shake (it went away after a bit of rest). Is that a good/okay thing? Or does that mean I pushed myself too much and other parts of my legs weren't strong enough for what I tried? After my training, it felt like my knees worked a lot, so I think this is what limited my sumo squats.

I am aware that other muscles are solicited when doing an exercise, but I feel like the targeted muscle should do most of the work.

Thank you for your time.

 

Hello,

I installed Ubuntu a few months ago on my work laptop and I've been running and loving it since.

However, I am used to VsCode, so this is what I am using in Ubuntu as well.

So I am curious, what kind of coding so you do? And what is your workflow.

I am an embedded firware developper and mainly use C. I am cross compiling my code in VsCode for a FPGA from Xilinx (dual core arm + PL)

Never dove into make files and cmake more than what I needed in the past, but I had an opportunity to learn CMake and build a project from it.

So my workflow is :

  1. Code in VsCode
  2. Build in CMake
  3. Transfer the app through scp on the target with a custom script (target is running petalinux, which is yocto + Xilinx recipes)
  4. Use gdb server to debug the code.

It's a pretty simple workflow, but I'd like to know what you guys are running so that I can maybe upgrade my workflow.

 

Hello,

I found a used Miller Falls #9B for a good price. However, the iron is really used.

The tip of the blade is almost all the way to the screw hole on the iron.

I am a beginner woodworker and I am not sure where to find a replacement iron for this plane.

It seems like Millers Falls part are out of make (or i might be wrong).

So where can i find a replacement iron?

Thanks

view more: next ›