There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Nibodhika

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Nibodhika ,

You’re still only explaining the Y problem, not the X one. Want to solve Y? Here you go people.csail.mit.edu/hubert/pyaudio/docs/ also prepare to learn a lot about streams and different audio formats, etc. You might have something usable in a few weeks or months depending on how fast you’re able to learn those.

And just so we’re clear, you mentioned chromium, so I’m 99.9% sure that there are easier solutions if you tell is the actual problem you’re trying to solve. There’s a reason no one is providing you with a simple script that does this, i.e. no one has ever needed this, and whenever you’re in a situation where no one has ever needed something before you might be a visionary or you might be missing something that’s obvious for everyone that came before and had the same problem you did.

Nibodhika ,

This is the answer, I was going to write almost word for word exactly that. OP if you mean using a Steam Deck as your daily driver, you’re probably fine, if you mean installing it on a random PC then nope, even if you get it working it will be an uphill battle constantly.

Nibodhika ,

They also sell non-DRM software. And most importantly they invest the money they make from selling those games into developing Linux so it’s better for everyone, I’ll take a corporation that uses my money to make things better for myself than one that sells “only” DRM free" games (when it’s convenient, because GoG also sells DRMd games in case you didn’t knew)

Nibodhika ,

If you’re going to start from the default Nextcloud instead of AIO you might as well try it on docker. Setting it up is easy regardless, but if you don’t install it using docker keeping it up to date is a pain in the ass.

Nibodhika ,

There’s also an emulator for the oculus quest, the moment you launch a game you understand why it wasn’t that successful and why VR was abandoned for a while.

Monochrome games are all good and fun when the screen is not a few cm from your eyes and that’s the only color you can see hahahah

Looking for Cloud Storage Replacement, but I don't like NextCloud

I’m looking for something to replace cloud storage for myself and family. I’ve tried to use/like NextCloud but honestly I despise it. The UI/UX really bothers me, and administering it is a pain. It also just does way more that I want or need....

Nibodhika ,

I have a Nextcloud running in docker for years, the update has always been just docker pull. After years of suffering with the native installation, and upgrade processes that never worked, I migrated to docker and it couldn’t be simpler.

This is one of the reasons every time someone says “you don’t need docker to run your server” I’m like “yes, but that’s like saying you don’t need a vehicle to travel 100km”.

Nibodhika ,

If the docker update doesn’t update things you might not be using docker at all. Docker is like having a VM that you destroy after every run, so it’s not that it updates the version, it is as if you were spinning up a new machine with the new version, a machine running the new version can’t be running the old version by definition, unless you did something like telling that machine to overwrite the installation folder with a local one, e.g. by having something like - /var/www/nextcloud:/var/www/nextcloud (or whatever the path is where you have next cloud installed locally) in your volumes for the docker, which would be akin to buying a new PC because your GPU is old, immediately swapping out the new GPU for the old one, and wondering why the new GPU is so slow.

Nibodhika ,

Yeah, if you have a volume mounted on the folder where next cloud is installed it would be the same as what I mentioned. Look for anything mounting on /app that should be used from the image.

That being said be careful, if you haven’t upgraded in a long time it’s possible the automatic upgrade won’t work or might break stuff.

Nibodhika ,

Why is everyone so hyped about this? As far as I remember the cube has been there since… I can’t even remember, I know KDE 3.5 had the cube but I’m not sure if it existed before, so it’s literally been there for at least two decades.

As a linux user, do you know about/use openwrt?

I have many nerdy friends who have been Linux users for ages. But most of them don’t know such a thing as Openwrt exists or have never bothered to give it a try. It’s a very fun piece of software to play with and can be extremely useful for routing traffic. Wondering why it isn’t more popular/widely used.

Nibodhika ,

I’ve known about it for years, but my router is loaned from the ISP so I can’t install any custom OS on it (although I’ve considered buying my own for a while because I can’t even do proper DNS for my internal network on it). A while back I used to have a router, but the default OS was enough for my needs so I also never considered installing anything different.

Nibodhika ,

I think you meant sway, i3 is a window manager written for X11.

Nibodhika ,

Nevermind me, haven’t had my morning coffee yet, I read “I’ll use Wayland once they fix their compatibility bugs with i3” so was kind of confused since i3 dies not work on Wayland.

Nibodhika ,

Hahahaha, I’ll take your advice into consideration

Should I learn Docker or Podman?

Hi, I’ve been thinking for a few days whether I should learn Docker or Podman. I know that Podman is more FOSS and I like it more in theory, but maybe it’s better to start with docker, for which there is a lot more tutorials. On the other hand, maybe it’s better to straight up learn podman when I don’t know any of the...

Nibodhika ,

Maybe they’re having issues with his answer of “using an OS” which implies other people are not? IDK.

But as to you if you’re running just one or two services from a machine you also use for other stuff using packages and systems services is perfectly fine. If you have dedicated hardware for it (or plan on having it), it starts to make sense to look at ways of making things easier for yourself in the long run. Docker solves lots of issues no one’s talking about (because no one is facing them anymore), e.g.:

  • Different services requiring different versions of the same library/database/etc
  • Moving your service from one computer to another
  • Service requiring specific steps for updates (this is not entirely gone, but it’s much better and it’s prevents you from breaking your services by doing a random operation like updating your system)
  • Pinning versions of services until you decide to update without needing to sacrifice system updates for it (I know you can pin a version of a package, but if you don’t upgrade it it will break when you upgrade it’s dependencies)
  • Easily map ports or block access in a generic way, no need to discover how each service config file allows that, you can just do it at the container level. e.g. databases that can’t be accessed from the network or even from within the host machine (I mean, they can obviously be accessed from the host system, just not in the traditional way, so a user who gains access to your machine on a user that’s not allowed to use docker can’t)
  • Isolation between services
  • Isolation from host machine
  • Reproducibility of services (i.e. one small docker compose file guarantees a reproducible host of services)
  • Endurance that no service is running as root (even if they only work as root)
  • Spin services in minutes to test stuff up and clean them out thoroughly in seconds.

There’s probably many more reasons to use docker. Plus once you’ve learned it it’s very easy for small self-hosted stuff so there’s really no reason not to use it. Every time I see someone saying they don’t use docker and don’t understand why people use it I’m a bit baffled, it’s like someone claiming he doesn’t understand why people use knifes to cut bread when the two-handed axe he uses for chopping wood works (like, yes, it does work, but it’s obviously not the best tool for the job)

Nibodhika ,

Docker, there are more resources for it and once you know it Podman should be an easy migration if you want to. Also I’m not sure about your claim that Podman is more FOSS than docker, it’s “better” because it doesn’t run as root, but other than that I don’t know of any advantages to it that are not a derivation of “it runs as a regular user”.

Nibodhika ,

So if someone made a non-foss frontend for Podman that would somehow make Podman less FOSS? Or of they started working with Podman? You don’t need to use any of those other products, and it’s not correct to say that docker is less FOSS because people have written proprietary software that uses it.

Nibodhika ,

Yes I’m aware of that, having written several systemd units for my own services in the past. But you’re not likely to get any of that by default when you just install from the package manager as it’s the discussion here, and most people will just use the default systemd unit provided, and in the vast majority of cases they don’t provide the same level of isolation the default docker compose file does.

We’re talking about ease of setting things up, anything you can do in docker you can do without, it’s just a matter of how easy it is to get good standards. A similar argument to what you made would be that you can also install multiple versions of databases directly on your OS.

For example I’m 99% sure the person I replied to has this file for service:


<span style="color:#323232;">[Unit]
</span><span style="color:#323232;">Description=Plex Media Server
</span><span style="color:#323232;">After=network.target network-online.target
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Service]
</span><span style="color:#323232;"># In this file, set LANG and LC_ALL to en_US.UTF-8 on non-English systems to avoid mystery crashes.
</span><span style="color:#323232;">EnvironmentFile=/etc/conf.d/plexmediaserver
</span><span style="color:#323232;">ExecStart=/usr/lib/plexmediaserver/Plexx20Mediax20Server
</span><span style="color:#323232;">SyslogIdentifier=plexmediaserver
</span><span style="color:#323232;">Type=simple
</span><span style="color:#323232;">User=plex
</span><span style="color:#323232;">Group=plex
</span><span style="color:#323232;">Restart=on-failure
</span><span style="color:#323232;">RestartSec=5
</span><span style="color:#323232;">StartLimitInterval=60s
</span><span style="color:#323232;">StartLimitBurst=3
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Install]
</span><span style="color:#323232;">WantedBy=multi-user.target
</span>

Some good user isolation, but almost nothing else, and I doubt that someone who argued that installing from the package manager is easier will run systemctl edit on what he just installed to add extra security features.

Nibodhika ,

You’re not forced to use dockerhub or kubernetes, in fact I use neither. Also if a team chooses to host their images on dockerhub that’s their choice, it’s like saying git is bad because Microsoft owns GitHub, or that installing software X from the repos is better than compiling because you need to use GitHub to get the code.

Also docker images can also be easily mirrored, archived offline etc, and they will keep working after the packages you archived stop because the base version of some library got updated.

Nibodhika ,

I’m not sure what you’re talking about. Most people self-hosting don’t need anything special, just a docker compose file. What proprietary software do you think is needed that’s not needed for Podman?

Nibodhika ,

It’s definitely much easier to do that on docker than with apt packages, and docker was designed for thst. Just do a save/load, docs.docker.com/reference/cli/docker/image/save/ and like I mentioned before this is much more stable than saving some .deb files which will break the moment one of the dependencies gets updated.

Most people will use whatever docker compose file a project shows as default, if the project hosts the images on dockerhub that’s their choice. Plus I don’t understand what’s the problem, GitHub is also proprietary and no one cares that a project is hosted there.

Nibodhika ,

Btw I don’t mean any of that as an insult or anything of the sort, I do the same with the services I install from the package manager even though I’m aware of those security flags, what they do and how to add them.

Nibodhika ,

Got it, no one should use software hosted on GitHub, you’re either a teenager who just discovered Linux a couple of years ago or a FOSS fundamentalist, in any case I’ve had the personal policy of not to waste time with either for over 20 years.

Nibodhika ,

He specifically mentioned huge storage, I’m guessing that you have less than 100GB for that price. Also he mentioned ARR stack, I wouldn’t host that on a VPS.

Nibodhika ,

I wouldn’t perform illegal actions on a VPS, I know people do it, but it’s like the difference from smoking pot inside your house or in a hotel (it’s just as illegal in either, but one of them has a manager and staff whose job is to monitor the place and that can report you)

Nibodhika ,

You can try a mini PC, you mentioned Germany so for example this amzn.eu/d/0Evab2M I think that should be a bit more powerful than a Pi, but not sure by how much.

Nibodhika ,

If that’s not powerful enough a raspberry pi isn’t either, that CPU ranks slightly higher than the one on a pi 5 cpubenchmark.net/…/ARM-Cortex-A76-4-Core-2400-MHz…

Also I don’t know how I forgot about this (since it’s what I do a lot of the times), but you can buy from other Amazon’s in Europe, for example in Spain you can get this CPU www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-65… which is almost double the benchmark of a Pi for 127 amzn.eu/d/6UwsUqf

Those mini PCs are awesome, the only reason my home server isn’t one of them is because I have a 3.5" HDD which doesn’t fit in them, but I’m looking to switch to some other alternative because the franken-desktop I have now uses too much power for what it’s doing.

Nibodhika ,

Not sure if that much, their CPU benchmark is pretty close.

Nibodhika ,

Login is a dangerous and difficult thing to implement, are you sure that all of your services:

  • Store passwords hashed and salted
  • Have brute-force prevention
  • Etc

It’s safer to have one service focused on that and other services can rely on that one to implement it correctly.

What can we do when something is too vast to provide representative examples for?

I feel like often people ask me “Oh yea? Name some examples.” and the burden is on me to prove something by providing representative examples. But often it’s so overwhelming how many examples there are for something that I feel obligated then to either list everything, or try extra hard to find good examples, and even then...

Nibodhika ,

Games: Tomb raider, Life is strange, Control

Movies: Taking lives, Bone collector, Silence of the lambs

Movies (just because the first three that I thought were all the same genre): Carrie, Alien, Arrival

Movie franchises: Hunger games, Twilight, Star wars episode 7-9

Tv shows: Law and order SVU, Bones, Sabrina

Books: Monstrous Regiment, Alice in wonderland, The handmaid’s tale

Comics: Coraline, Wonder woman, Supergirl

These are just the first 3 of every category I thought of.

Nibodhika ,

I needed this comment a few weeks ago. Updated it and everything broke, still haven’t been able to recover from it. I’m considering moving to a different software just because it’s absurd that it breaks so completely if you don’t thread very carefully, most software I have ever worked with has migration protocols for when there’s db changes to avoid this sort of thing.

Nibodhika ,

If /home is on a different partition just don’t format it and set it to mount on the same place and you should be good to go. If it’s not make a backup, then create a partition just for it, install your new system, restore the backup, and next time you won’t need a backup.

Help deciding Os

Hi, I’m learning python and I have purchased a 2015 MacBook air. I want to install Linux on it (Ubuntu) but my friend who’s a developer told me to leave the MacOs because they are similar as operative systems. What do you think? Should I change the os and switch to Linux? Thanks. Edit: thank you for your replies. There are...

Nibodhika ,

Let me guess, you started using Linux daily around 3 years ago?

In my experience the pains of Linux have been the same for decades (well, not really, xorg.conf was a major pain in the ass). I think in general people get used to Linux and after a year or so and they think the system became simpler, when in reality it’s more that they learned the Linux way of thinking.

Nibodhika ,

You might have misinterpreted me, I believe Linux is easy, in fact easier than Windows, but people are just not used to it. When they get used to it it becomes simple, but it’s more in the person to adjust their viewpoint than Linux to get easier. However to the person it seems that Linux is progressively becoming easier, because they fail to acknowledge their changes. But when you’ve been using Linux for 20 years as your daily driver you see every day someone claiming that Linux has only become easy to use X years ago, and almost 100% of the time that person started using Linux X+1 years ago.

Nibodhika ,

Wrong thread?

Nibodhika ,

Yeah, but Ubuntu has had non-free codecs and drivers in their repos for decades, that’s not new, Fedora just recently found a way to stop shooting themselves in the foot.

Nibodhika ,

So? I still don’t get what any of this has to do with Linux being easy for a long while.

Nibodhika ,

NVIDIA proprietary driver doesn’t play nice with Wayland. To check if the proprietary driver is loaded you can use lsmod | grep nvidia if there’s output it means the driver is loaded. Since it’s an OPTIMUS laptop things will run in general on your integrated board, e.g. glxinfo | grep vendor will show you MESA information instead of NVIDIA. Technically prime-run glxinfo | grep vendor should show NVIDIA, however I’m not entirely sure that works on Wayland.

Nibodhika ,

So are you saying we shouldn’t give crutches to people that can in fact walk but shouldn’t because they need to heal their leg properly?

A crutch is an aid, it is given to people that need aid to be able to walk properly. This might be because of some inate deficiency, or because of some injury, you wouldn’t say a person who twisted her ankle and will make a full recovery in 1 month is deficient, they are currently in a state of deficiency, but it’s not inate to them. That’s the jump in logic you’re making without realising, just because someone needs aid doesn’t mean they’re inherently inferior, but they might be in a situation that makes them less able than what they should be.

Nibodhika ,

Because it’s easier to tell someone “use this docker image” than it is to tell them “go through all of these thousands of steps to get this service working”.

The main reason I use containers for my personal things is easy to setup and to migrate, those are huge points, and the added complexity is not that much, in fact I would argue it’s less complicated to figure out why a docker image is not running than figure out why a service stopped responding.

Nibodhika ,

You should learn docker if you care about self hosting stuff though. You might lose 1 day learning the basics of docker, but the practicity of being able to spin up services just to test them it’s well worth it.

Personally I use Immich for photo management, but not sure it it’s packaged as an RPM, and even if it is you’ll need to setup the database yourself. Nextcloud also possibly works but again setting Nextcloud without containers is a PitA.

Someone asking for a service to self host that refuses to use docker is similar to a person who wants to run a server but refuses to learn CLI, yes it can be done, but you’re making your life hard for no purpose and everyone else will just give you the simple solution.

Nibodhika ,

NixOS packages only work with NixOS system. They’re harder to setup than just copying a docker-compose file over and they do use container technology. If the idea is to remove complexity from the setup, NixOS goes in the opposite direction.

Also without containers you don’t solve the biggest problems such as incompatible database versions between multiple services.

I stand by what I said, I can give a 2 step tutorial on setting up any docker system (copy this compose file, run up on it), anything simpler than that wouldn’t be as robust in terms of configurations.

Nibodhika ,
  • Spec ops: The line. I think this was delisted from most stores though, so you might need to sail the high seas to get it. It might not be as impactful today as it was when it came out, but it’s a great game with a great twist.
  • Life is strange. It’s a story driven game, sure you can replay it and choose different things, but realistically you probably won’t since the main of the story is the same.
  • Batman games. Those were my go to for a while when I wanted something linear with an end.

Asking for a Linux (or non-Windows) laptop during a job interview?

I’m interviewing for a software dev job currently (it’s in the initial stages). If things work out, I’d absolutely prefer a work laptop with Linux installed (I personally use PopOS but any distro will do), a Mac will be second choice, but I absolutely cannot tolerate Windows, I abhor it, I hate it… (If all computers left...

Nibodhika ,

It’s a normal thing to ask in an interview, I ask the same every time, so far I’ve always gotten one, after all most things I work with require Windows machine to have WSL anyways, so might as well cut one layer.

That being said it all comes down to how you ask it and how valuable you are, if a junior said “I only work with Linux, either you give me a Linux box or I won’t take the job” you might be cut from the race by HR before any person who even understands what you’re asking gets to see you because you’re being inflexible. If on the other hand you’re a senior and go through the interview and at the end when you get to the questions ask what’s the policy for OS on work machines, you’re much more likely to get the answer you’re looking for. That is unless you’re working for a Windows specific program, which obviously will need a Windows box, and not many companies are willing to give you two PCs.

Nibodhika ,

For sure, in fact I do have a Windows box besides my main Linux laptop from the company I work for. But this is because I work most of the time with Linux but there’s one specific thing that needs to be done on a Windows box. Luckily for me they have been very accommodating in that regard, but I could see a different company saying I would only get a Windows machine since it can do all of the flows.

Nibodhika ,

Yup, syncthing allows for a folder to be synced to multiple places, so I don’t see any problem with that. In fact I have 3 computers syncing things between themselves.

Nibodhika ,

Hahaha, I had that exact doubt and asked on the discord and the main Dev sent me that issue. I strongly recommend joining the Discord, it’s very active and sometimes there are interesting things there.

Nibodhika ,

Only things served via https can be installed on Android.

Nibodhika ,

I use tailscale, that allows me to access it remotely securely and gets https. If you don’t want to do that it’s hard but doable to emit your own certificates, but the tailscale approach is a lot more simple.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines