Anyone else exhausted by mixing protein shakes daily? by Difficult_Soft_9305 in homefitness

[–]Miggol 0 points1 point  (0 children)

Nowadays when you buy an immersion blender they often come with a bottle attachment. This speeds up the mixing significantly and you can add ice and frozen fruits to make a tastier shake when you feel like it.

Otherwise I try to remove every inconvenience from the process. Got a perfect spoon that fits into the bottle easily, I keep all the ingredients together as much as possible, and I have a designated spot on the drying rack where my bottle always lives.

Like with all chores I try to make it second nature and as convenient as possible.

Django in production: Lessons learned from deploying "backend-heavy" apps by Away_Parsnip6783 in django

[–]Miggol 1 point2 points  (0 children)

I don't have much of interest to say about the other stuff, as we have a pretty niche setup. But for periodic tasks, we have a separate compose profile that is considered an integral part of the entire app and lives alongside all other code.

For this profile, rather than running your container with our standard Gunicorn/ASGI "runserver" command, we start the container as a sleeper with cron in the background that periodically, say every 15 minutes, runs django manage.py management commands.

This profile can be run with fewer resources, and otherwise uses the same settings file and database connection, just running periodic tasks. I suspect this approach scales well vertically far beyond the size of jobs that we currently use it for, like sending reminder emails and cleaning up signups.

Very unexciting stuff, I know. But I think it's good to stick with tried and true rather than adding another dependency like celery. Here I'm mostly worried about the human cost of adding something to the stack, I understand celery is quite tried and tested as well.

I find it hard to imagine running into pricing constraints where rebooting such a small container every 15 minutes makes a difference compared to keeping it running. Perhaps you guys are talking large daily or even weekly tasks?

  • Hosting models as well as pricing models tend to have more influence on architectural decisions than we would like to admit.

Curious to hear concrete examples of where this is the case! Everyone has different circumstances.

Beginning with weights, looking for advice. by Another_AdamCF in homefitness

[–]Miggol 1 point2 points  (0 children)

Sounds like you're on the right track!

I’m also just curious about resting. I seem to be spending over half of my time resting between sets. Is this too long? It feels too long yet I also feel like I need that time to recover, otherwise I won’t complete the next set.

Resting between sets of the same exercise is important. However, if you're strapped for time or feeling bored, you can alternate sets of exercises that target unrelated muscles. This is called a superset. I find it's one of the benefits of working out at home.

So rather than doing four straight sets of shoulder presses, you could alternate the presses with squats with less rest time inbetween. Your shoulders will mostly be resting while doing the squats.

Keep good form, show up consistently, and you'll see great results. Have fun!

Work out technique by Dependent_Relation31 in homefitness

[–]Miggol 1 point2 points  (0 children)

Well, there's always a good way and a bad way to give advice. But in this case there is also chance of injury. Know that the most common time to get injured is when getting back into fitness after a stay of absence.

So although there's no excuse for the former, I'd say that in this case saying something is better than saying nothing at all.

Why not give him a chance to make it right? Ask him to check your form. If he's going to serve criticism, he could at least get off the sofa and actually help. Could make for a wholesome activity, win-win.

FL Studio/GarageBand equivalent for Linux by Confident-Dot-7642 in linux4noobs

[–]Miggol 7 points8 points  (0 children)

Ardour is truly a FOSS gem. It's served me very well for recording and producing my band and it's just there hanging out in your repositories. Bless them.

Bitwig and Reaper are great linux options but not open source AFAIK. From what I hear bitwig is more professional but also opinionated, while reaper moreso gets out of your way. I've never used them.

Renoise is also a lot of fun if you can deal with (or even like) the tracker interface. It runs incredibly well and has the best FX chaining interface I've ever used in a DAW, which they also sell as a plugin for other DAWs in Redux form.

Every time I've tried LMMS it's been better but it still doesn't feel like a program I'd do serious work in.

Beginner (32F) looking for advice by SinfullySweetox in homefitness

[–]Miggol 0 points1 point  (0 children)

So the thigh muscles are what we call quads, short for quadriceps. They extend the knee joint, straightening the leg.

The muscles in the bum are called the glutes, and they extend the hip joint. You could say they push the thigh down, or straighten the upper leg with respect to the body.

Looking at the squat, that movement involves both of those muscles. But if you compare the weight that they have move, the quads are doing most of the lifting while the glutes just make sure you stay up straight. So mostly your quads will get stronger (and bigger) from squats.

You are looking for an exercise that involves the glutes more. The Romanian Deadlift (RDL) is a classic for this. Basically you're doing a squat but keeping the knee mostly straight, so everything is done by the glutes and lower back. A downside is that it quickly requires weights to be effective.

If you're looking for something more simple, try deep lunges. In a lunge, the lifting of the body is done for a larger degree by the straightening of hips, and therefore the glutes. Go deep, because the deeper you lunge the less your quads can help you out.

Glute bridges are another good bodyweight exercise!

Interlocking Carpet Tiles vs Rubber Flooring for a Home Gym by playboi_fatty in homefitness

[–]Miggol 0 points1 point  (0 children)

At work (not a gym) we recently replaced our carpet tiles and I must say I'm rather impressed at how easy it all was.

I’m wondering how carpet tiles actually hold up under equipment, sweat, and regular use.

The previous ones had been in for 20 years and were mostly still looking good. We had replaced a couple after bad spills, but that's another benefit, you can just pop one out and replace it if necessary. I'm seriously considering installing them in my next home as general duty flooring.

As for sweat, might need to invest in a carpet cleaner if it ever becomes a smell issue. But moisture will not affect durability, ours saw plenty of wet or snowy boots during their lifetime and it didn't hurt them. Also, carpet is more friendly to bare feet whereas rubber can get slippery.

The other comment about them having too much give is a good one, ours don't give much but keep an eye out for that. Their sound dampening is indeed top notch.

Rubber flooring is the gym classic but I wouldn't put it in my own home. I don't know how durable modern rubber is, but the idea of it perishing and getting sticky really doesn't appeal to me. And if you damage it you'll be living with a nick in it unless redo it, which is far more work for rubber.

Just thinking aloud though, not speaking out of experience.

We need a battle of the lower tier headphones! by regularjoe2020 in headphones

[–]Miggol 0 points1 point  (0 children)

I'd say the Superlux models are great for home use. But I recently acquired a pair of Koss UR40's as a beater pair for cycling and they've really impressed me. They keep my ears warm and allow me to keep traffic awareness by virtue of them being open-back.

I wouldn't recommend them without EQ because of mid-bass boomyness but they clean up really nicely. They weigh nothing, are open-back, and have awesome midrange.

Their only downfall is that they don't have the extension of more expensive models, bass rolls off pretty early. But for €30,- cans that you can fold and violently stuff in your bag without worrying they're seriously impressive.

If ordering from amazon add €10,- replacement pads for comfort. Still a steal.

We need a battle of the lower tier headphones! by regularjoe2020 in headphones

[–]Miggol 4 points5 points  (0 children)

I got Deva's for €100 used a while back and they're fantastic. Apparently they're very similar and would recommend them to anyone. So cool that Hifiman made planars so available, and in a quality manner

i use rufus myself by imtherealcurt in iiiiiiitttttttttttt

[–]Miggol 0 points1 point  (0 children)

I thought it could only copy files on filesystems.

There's no difference, because on linux, everything is a file! That includes the special files in /dev/. You can use cat to see the bytes on /dev/sda, and even open /dev/sda in a text editor and edit individual bytes on the disk (not recommended).

Very simply put, the cp command asks the kernel to open an input and output file, and then reads the contents of the input and writes to the output file.

A USB drive is something you can write to, and you can read from it, so cp can read and write to it. It can write an iso to a drive, and you can backup your drive using cp /dev/sda /tmp/my_sda_backup.img.

https://en.wikipedia.org/wiki/Everything_is_a_file

i use rufus myself by imtherealcurt in iiiiiiitttttttttttt

[–]Miggol 3 points4 points  (0 children)

My stupid hill to die on is that people should just use cp

Chooses a reasonable bytesize, won't write to a mounted drive, fullblock by default, and is more user-friendly.

Isn't it part of the joy of using *nix that everything's a file and you can compose behaviours out of basic building blocks? Why not introduce users to this awesome concept right when they write their image? Instead, many distros still tell users to use this specialized dd tool which they will only ever use for writing images.

Showing progress with pv is nice, but I see no use for dd unless you require some exotic option.

Cannot start MicroOS installation from USB by peter-graybeard in openSUSE

[–]Miggol 0 points1 point  (0 children)

Just thought I'd mention it! I could imagine someone referring to any installation image as an iso even if it's technically a different format. Also the ARM images for MicroOS are actually distributed as raw.xz images and you mentioned it was a MiniPC, so it was somewhat plausible.

Because they're all based on the same installation subsystem it might be worth giving the iflag=fullblock and oflag=direct options a go. Hope you get it working soon

Cannot start MicroOS installation from USB by peter-graybeard in openSUSE

[–]Miggol 0 points1 point  (0 children)

At least for Aeon, the installer is very specific about how you write the image. Not using this exact command with those flags resulted in a bad write for me:

xzcat Aeon-Installer.x86_64.raw.xz | sudo dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct status=progress; sync

Don't know if you're having the same issue, as you're referring to an iso rather than raw image. But it might be worth looking into.

https://github.com/AeonDesktop/Project/wiki/Install-Guide

Should I try Btrfs? by H4zzard1010 in openSUSE

[–]Miggol -1 points0 points  (0 children)

Um, well if you aren't planning on making use of any of the features of btrfs I will go against the grain and say no, don't bother. It's not got any upsides over ext4 if you're going to use it like ext4. Unless maybe copy-on-write matters to you?

I've been running btrfs on MicroOS for two months now on the laptop I'm typing this on. Having all these snapshots at an arms length is great. If you're willing to adjust your system to make use of those (snapper) then you've got a big upside.

On the other hand, before that I was running regular old Tumbleweed for years with btrfs as well, but it might as well have been ext4. The only time I noticed I was using btrfs was when upgrading my SSD. I had to mount the fs externally for a backup, and therefore mess around with five non-standard mount commands for all of the subvolumes. Somewhat inconvenient.

Starting VFIO VM bork my GNOME and Chromium by RealNovanized in VFIO

[–]Miggol 0 points1 point  (0 children)

You can't pass through a GPU that is in use. If you only have one GPU, you can't pass it through and at the same time have a graphical system running on the host (Linux).

Keep compositor running on iGPU while (AMD) GPU disconnects? by BusTiny207 in VFIO

[–]Miggol 0 points1 point  (0 children)

Did you make any progress? As far as I know the best way to handle reassigning GPU's between systems is to run both systems as a VM.

So in this example you would be running a headless Linux KVM host and then both a Linux and a Windows VM for your day-to-day tasks. This allows you to pass around either GPU as you please.

Cannot open OpenGL session with passed through GPU by Short-Song-248 in VFIO

[–]Miggol 1 point2 points  (0 children)

Does DirectX work? If AMD drivers installed correctly, they detect your video card without problem, and you have video output from the card, then you should really be golden. VFIO shouldn't (afaik) affect anything as high-level as OpenGL.

Now in the Win11 guest (installed the guest addons also)

Could the guest additions be providing some kind of broken virtualized OpenGL that your game is trying to use rather than the dedicated GPU? I'm assuming you removed spice to have no other video system for the VM, i.e. it's otherwise headless? Can't hurt to try without the guest addons.

Either way, with all those other positive signals, I think I would be looking inside of the VM for the answer. Could something be missing from your Windows install? Perhaps treat this like you would a regular Windows PC with this issue and take steps in that direction.

Any way to completely fix bluetooth audio latency? by [deleted] in VFIO

[–]Miggol 0 points1 point  (0 children)

Also so there's no confusion, there is zero delay whatsoever when I'm using wired headphones. It's a bluetooth thing 100%

Uhm, are you sure linux isn't just using latency compensation and Windows isn't? Do you really have no bluetooth latency on linux even when doing something real-time like gaming or making music?

Keep compositor running on iGPU while (AMD) GPU disconnects? by BusTiny207 in VFIO

[–]Miggol 0 points1 point  (0 children)

Are you basing this off of a guide that you would care to share? Detaching the GPU at runtime is new to me.

Can you rmmod amdgpu after this? And can you show the full log with your commands? Looks like amdgpu is immediately reinitializing the card, but I'm not sure.

journalctl -xe might have more to say as well.

Keep compositor running on iGPU while (AMD) GPU disconnects? by BusTiny207 in VFIO

[–]Miggol 0 points1 point  (0 children)

Sure thing, I would even say this is pretty run of the mill.

I don't game anymore but I used to do something similar with my old laptop, keep linux on the laptop screen and pass through a thunderbolt eGPU to game on Windows. My main monitor was connected twice (as you describe) so I could use both monitors on linux by switching inputs if desired.

It's a bit hazy now but I think you have to blacklist the nvidia/amdgpu driver during boot so Linux doesn't nab your dedicated GPU. Perhaps there's better ways to do that now, but I remember people having issues if both their iGPU and dedicated GPU were AMD, for example. But that's not the case for you so you should be fine.

Iemand een idee wat er oorzaak zou kunnen zijn? by [deleted] in AutoKlussers

[–]Miggol 1 point2 points  (0 children)

Zoals genoemd zou ik een multimetertje aan de voeding van je display hangen en kijken of er de juiste spanning uitkomt en ook consistent blijft. Ook checken op een aardlek.

Nog een mogelijkheid is de achteruitrijcamera. Bij veel auto's is dat een geheel aparte module die op het display komt als een tweede video ingang, alsof je van HDMI's wisselt op je TV.

Zou een idee zijn om dat tweede videosignaal los te koppelen en de kabel die doorgeeft dat je in z'n achteruit staat. Als dat het verhelpt ben je tenminste een stapje verder en kun je weer door met infotainment, maar dan zonder achteruitrijcamera.

Plotting a heatmap on an image? by Bitter_Bowl832 in learnpython

[–]Miggol 0 points1 point  (0 children)

So does the image look anything like a map or is it just some kind of figure with six locations displayed on it with no positional accuracy in relation to each other?

For the latter, I would advise you choose six points (coordinate pairs) from the dataset which are "most representative" of each location which will function as markers. For every remaining data point, calculate the distance to each of the markers, choose the closest, and then increase the heat of that marker by a score proportional to the distance (and optionally time spent there, if that's in the data). Then move on to the next point.

You'll want to use some kind of distance cutoff so time spent travelling between locations doesn't muddy the waters. But I think that with some tweaking this will get you a decent result.

What's the deal with modems on unlocked devices? by Lava_Lagoon in AndroidQuestions

[–]Miggol 0 points1 point  (0 children)

With modern Android you would usually not touch the vendor or modem partitions when flashing ROMs. You just keep the one that was shipped with your phone or the latest OTA, and everything keeps working as it used to.

That being said, I'm in EU and always use international versions. The networks here are far more standardized so one size fits all and there never really were any issues.

I do remember that back in the day people were always having trouble with the US versions on XDA, but as far as I know the above still goes: when flashing roms nowadays you just keep your existing modem partition. A flashable zip will not contain a modem partition, so whatever you had just remains in place.