[-] Natal@lemmy.world 25 points 6 months ago

I think it's still a migration of a rather knowledgeable part of the windows users. I did migrate a year ago because of frustrations from windows pop ups showing up like they own the computer.

I a still reluctant to recommend it to my partner who is comfortable with windows but not really techy. As long as Linux works, it works. But when you need something a bit more involved or something breaks, the terminal will be harder for those users who might not have ever opened CMD in windows.

9
submitted 7 months ago by Natal@lemmy.world to c/bikewrench@lemmy.world

Hello everyone.

I recently got myself a mountain bike from Canyon. It all works, got myself all the gear, pumps and all. And the pressure gage give me a reading of 10 PSI, which is odd because the tires are firm. 10 PSI should be nearly flat.

I have other pumps, including one that works for my car too, which I trust because I cross checked its values with my mechanic.

Here's the odd thing. I got the bike out and plugged it to the car tire pressure device and it also gave me a reading of 10 PSI. I also have a Topeak Shuttle Gage, 10 PSI.

How is that possible? I can't really believe all three readings come from faulty devices so I'm thinking I'm the one doing something especially stupid, or maybe a defect somewhere on the valve/tire but it's brand new, so I think I'm the one to blame. Any ideas where I've been an idiot?

I did open the nut on the presta valve prior to taking measurements.

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

Hello everyone,

Recently found LinguaCafe and decided to spin it up. There's a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?

I can't make it work. Spent nearly two hours already trying to figure out what I'm missing.

Can someone take a look at my compose file and tell me where I'm stupid?

_____________ EDITS

Progress has been made, I used chmod 777 on the whole app directory and now get the following error : Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user 'linguacafe'@'ip adress censored' (using password: YES) (SQL: select count(*) as aggregate from users)


Here's a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. https://pastebin.com/u2cbWm2n

https://github.com/simjanos-dev/LinguaCafe

What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:

https://imgur.com/a/PiazCcP

I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.

Never had that happen before. Does anyone know? Thanks

10
submitted 9 months ago by Natal@lemmy.world to c/strategy@lemmy.world

Hi all,

I've been reading an excellent sci-fi book recently (the bobiverse by Dennis E Taylor) and it made me think it would make for a pretty good RTS game. I don't think it exists but I'll ask in case I missed it:

Usually you start skirmish games by choosing the teams first, choosing how many AIs play against or with you. Some games allow you to change the teams in-game but as far as I know, none let you create an extra player during the game.

Is there a game in which you can, for instance, create/build a unit that once finished becomes a permanent AI ally, autonomous?

I can easily imagine scenarios very suited for such system, have an adversary grow very strong very fast which could not be overcome alone. The player would have to play smart to have the resources required to build an AI which would then join the fight and alleviate the pressure somewhat.

Probably doesn't exist but it's also an opportunity to share a good book :)

[-] Natal@lemmy.world 11 points 11 months ago

Went from 35h/week to 40. It's made my life so much more complicated because everything is closed when I'm finally free. I have to take from my holidays to get my car repaired.

[-] Natal@lemmy.world 16 points 1 year ago

Just jump. I went Linux a month ago and never had to go back for gaming. I still have windows installed but I've used it only twice because music plugins are not compatible with Linux. Once I find a good guitar amp for my needs I can nuke windows entirely.

20
submitted 1 year ago by Natal@lemmy.world to c/pop_os@lemmy.world

Hello everyone,

I've been on Pop_OS for a good week now and I'm liking it. First linux too. I have a series of small questions though and hopefully someone can enlighten me.

Question 1) I have a 3440x1440 screen. The resolution once booted is fine. During boot and up until the login screen, my monitor keeps displaying "HDMI 3440x1440" and flickers as if reset or switched port. I suspect it's because the screens before the login screen are not compatible with that resolution. I have no idea whether I'm supposed to see something or not until that point. Is there a way to "fix" it if there's even anything to fix?

Question 2) Also boot related. Booting anything else but Pop_OS is relatively quiet with the occasional Hard drive working noise. With Pop_OS, my hard drive makes almost uninterrupted sounds as if writing/reading from boot up until well over a minute after login. What is it? Timeshift already working? I'm slightly worried it's bringing extra wear and tear to my drives.

Question 3) Is there a way to display peripherals info? I'm thinking about my wireless mouse battery level. I'm going to dig that info specific for my mouse after work today, but I'm wondering if there's more of a "general blanket" solution to display very basic info from any connected device somewhere. I used to do stuff like that with Rainmeter on Windows.

Thanks!

16
submitted 1 year ago* (last edited 1 year ago) by Natal@lemmy.world to c/selfhosted@lemmy.world

Update Oct 6 :

I have been messing around the idea of permissions but just got back from work so this is very much Work In Progress. What I noticed is that the "postgres" folder inside the Docker folder that has the docker-compose file had a lock icon on it. https://imgur.com/a/lZir4tt The owner is weird and doesn't exist on the other computer. I don't explain how this owner was created and that may be due to my poor understanding of Docker and docker-compose.

So I have made a pastebin with the docker compose here if anyone is interested in this little puzzle : https://pastebin.com/Vsh6S23G This docker-compose is basically the one from the installation guide from the app website, I just changed some passwords and users related stuff which are written as .

I tried using Déjà Dup Backups to sync my entire Docker folder which also contains Tandoor and it complained it could not sync the postgres folder either so defo something wrong with the permissions. Which explains why I can't create a new recipe on the other computer, because it doesn't have permission for that specific task. Oddly enough, I get a server 500 error, but if I refresh the recipe list, the new recipe that led to the server 500 error is, actually, there.

Would a pastebin of the .env help?

ORIGINAL POST :

Hello again, I hope it's okay that I make several posts in a rather short time, I'm stumped.

I run a series of containers on old computer A for the recipe manager Tandoor Recipes.

I want to move it to another computer B so I initially thought I would: -copy the env and docker-compose -dump the source database

Move everything to the new computer, compose everything and fill the database from the dump.

I got 500 server errors so I went on Discord and asked what was the proper way of doing this. I've been told in theory I could shut everything down, pack my Tandoor folder in a zip, paste it on the target computer B and boot everything and voilà.

None of this works properly.

I do manage to get an instance of Tandoor running on my new computer, it displays every recipe I had originally, but it has an issue when trying to create a new recipe. I get a white page with "Server Error (500)". It does not happen on the original Tandoor, despite being all the same files in theory.

I noticed that on my source computer, the postgres DB directory changes permission when I start the container, as well as the directory containing the recipe pictures. So I'm wondering if wrong permissions might be corrupting data while copying stuff?

Thanks

30

Hello everyone!

I had a container with a DB crap itself yesterday so I'm trying to speed up my learning to back up stuff.

I came across a script that taught me how to back-up a containerized postgres db at given intervals and it works. I managed to create db dumps and restore them. I've documented everything and now my whole docker-compose/env etc are on git control.

There's one part of the script I don't decypher but I'd like to maybe change it. It is about the number of back-up copies.

Here's the line from the tutorial: ls -1 /backup/*.dump | head -n -2 | xargs rm -f

Can someone explain to me what this line does? I'd like to keep maybe 3 copies just in case the auto-backup backs up a rotten one.

Thanks!

Full code below:

backup:
    image: postgres:13
    depends_on:
      - db_recipes
    volumes:
      - ./backup:/backup
    command: >
      bash -c "while true; do
        PGPASSWORD=$$POSTGRES_PASSWORD pg_dump -h db-postgresql -U $$POSTGRES_USER -Fc $$POSTGRES_DB > /backup/$$(date +%Y-%m-%d-%H-%M-%S).dump
        echo ""Backup done at $$(date +%Y-%m-%d_%H:%M:%S)""
        ls -1 /backup/*.dump | head -n -2 | xargs rm -f
        sleep 86400
      done"
28
submitted 1 year ago* (last edited 1 year ago) by Natal@lemmy.world to c/linux_gaming@lemmy.world

Hello everyone!

TL;DR: CP2077 worked via Lutris yesterday. Doesn't work today. No idea how to troubleshoot Linux, need pointers.

I've made the switch to Linux three days ago and I'm trying to figure out how to handle gaming. I've been recommended to use Lutris on my recent post about me switching to Linux and that's what I did.

Not gonna lie, I watched a couple videos, read a couple wikis and then jumped in the fire, eager to play, so I don't fully understand what I'm doing yet.

Yesterday, I told Lutris it could find my copy of Cyberpunk 2077 on my Windows disk. Filled the config panel as instructed by the youtube video (Linux Experiment) and launched the game.

Worked perfectly immediately.

Today, it crashes on launch with a RED error saying 'Cyberpunk 2077 flatlined'.

I'm on Pop_OS and did some updates yesterday so I suspect it might be related?

On Windows I'd know how to troubleshoot on my own, but here I'm confused as to where to start the investigation. Could you give me pointers for me to go under the hood and figure out what's going wrong?

Thanks for your help! :)

Summary of info: Pop_OS 22.04 up to date. Cyberpunk installed on different disk in a windows partition. Using Lutris. Need anything else? PC specs useful?

[-] Natal@lemmy.world 6 points 1 year ago

I've had the desire to leave for a while, that's why I thought creating a linux server to self host apps with my former gaming PC would be a great way to get started with Linux and learn the basics while still relying on Windows for my main stuff for a while.

Games were my last point of resistance, but I don't play as much anymore so I think I should just take the plunge.

Can you elaborate the /home on a different partition part? How do you split your partition and does it mean you can switch distro and still have your stuff laying around as if you plugged an external disk?

230
submitted 1 year ago* (last edited 1 year ago) by Natal@lemmy.world to c/linux_gaming@lemmy.world

Edit2: Writing this from Pop_Os! I had experience with Mint for my Self hosting rig and wanted to see other pastures. Decided to rearrange my three drives, two of them are still Windows, another I emptied and dedicated to Pop OS. That way I still have easy fallback to Windows if I need to do something fast and then I'll know what I have to add to Linux over time.

First things first, I've setup auto-back up. For now it's google drive because it's the easy one. I have to figure how to self host Nextcloud and then use this as a backup storage.

Steam is installed and to be fair, I'm happy with the native linux games. Still going to take a look at Lutris and co out of curiosity.

I mostly miss MusicBee right now. Any recommendation for the most solid music player? Also, what's a good movie player? I used MPV, I need something capable to deal with 3440x1440 resolution and stretch properly.

Also, I wanted to install Bitwarden and the first thing that showed up is Snap Store. I remember hearing about Canonical in a bad way so should I stay clear from that?

Hey!

Today is the day. I finally got fed up with Windows booting up with an advert that I already had yesterday and had clicked on "remind me in three days" reluctantly. I'm finally tired of killing Telemetry.

Now that gaming is less important for me, I feel like now is a good time to switch mainly to Linux. I might keep a small spare drive with a Windows/Steam partition for the occasional incompatible game.

I've just started transferring my precious files to an external drive and I'm preparing for my Exodus.

Still unsure about the distro I'll choose, I would like to avoid distro hoping. But now I made up my mind, I'm leaving windows for the foreseable future.

I started self-hosting three months ago as a way to trialing Linux with the added bonus of being useful and my server is still up and alive so I'm confident I can use Linux without breaking it.

Any welcoming tips?

I'm a bit anxious about the big change, but also relieved I won't have to put up with the bloat/adverts.

Edit: Two hours in and so many kind and useful comments. Thanks for the welcome party! You're all a bunch of good humans :)

27
submitted 1 year ago by Natal@lemmy.world to c/guitars@lemmy.world

Hello!

I'm wondering if things have changed. I started learning guitar in 2010 or so, and back then at school we all had Guitar Pro or something similar and we used to learn by listening to the track and to the guitar pro tab in turns.

I've been seeing a lot of videos about computer virtual amps recently and realised the world of guitar has changed and I've been disconnected from it for a long time. Is the tab/guitar pro method still the popular one? How do you learn?

Since then, I've moved on to 100% by ear because there were no tabs for my artists anyway. But I'm just wondering what the world of guitar learning is like now?

[-] Natal@lemmy.world 6 points 1 year ago

No, it's on the awesome self hosted list. It's a great simple recipe manager, shopping list. Nice ui. My wife uses it to meal prep and I'm trying to understand grocy to speed up the process of checking what we need to buy.

17

Hello everyone,

I have containers that I want to get rid of because I can't make them work, but I can't seem to get rid of them. I'm using Portainer usually and the remove command on the container works, but they shortly reappear as newly created containers.

I moved to the terminal to try and sudo it out of existence manually, docker ps, the containers are here. So I sudo docker stop , the terminal confirms. Then sudo rm -f , confirmed again.

Docker ps shows they are gone, but a minute later another docker ps shows they are back up again.

I've looked it up online and people mentioned it might be running as a service. The command "docker service ls" returns an empty list.

How can I nuke those containers?

[-] Natal@lemmy.world 38 points 1 year ago

It was an internship and I didn't plan on staying but once I got called in the manager's office. He asked me if I were doing some industrial spying . At that point in life all I wanted was to go home and play some games for the rest of summer until university starts over.

He threatened me he could see everything I did on my computer and asked me if he should look it up. To which I said go ahead you'll find my job.

Couple days later I arriver exactly 3 minutes lates because of public transportation issue. I used to arrive 15 minutes early everyday because my transport schedule was that way. I got summoned again to tell me to leave earlier.

I told all that to my university and they decided to blacklist the company. Being that my university was part of a .bigger network, their behaviour led them to be cut off from the biggest local intern pool.

No idea why they were so annoying, I wasn't even browsing Reddit on their computer back then and used my phone for that kind of stuff. No idea what lead them to think I'd steal data. I don't even know if they have competitors haha

27
submitted 1 year ago* (last edited 1 year ago) by Natal@lemmy.world to c/selfhosted@lemmy.world

Hello,

I need some help with plex/jellyfin (I have the same difficulty with both.) Note that I am brand new to Linux and Self-hosting, I'm using the home media server as a cool and useful project to learn Linux before moving away from Windows as I acknowledge I have a lot to learn in Linux before considering migrating in a smooth manner.

I'm here to learn and I don't request to be spoon-fed a solution because I would ideally like to end up knowing more and be able to solve this myself next time.

Description of project: I'm trying to setup a local home media server running on 192.168, nothing fancy online.


Update


The comments below helped. My docker run was wrong and missing a source:target. Eventually I got it working and on my way also learned how to map an NTFS external drive with fstab! My media server is up and running!


Distro


Debian Bookworm

Goal


Install Plex on the Debian bookworm laptop and access music library locally

Issue


Library /home/user/media/data is seen and added to Plex but no actual files or sub-directory are then located |

Notes


Ran in docker container


How I setup plex's docker:

sudo docker run \
-d \
--name plex \
--network=host \
-e TZ="<timezone>" \
-e PLEX_CLAIM="*My claim got I got online*" \
-v /home/*user*/.config/plex/config \
-v /home/*user*/plex/transcode \
-v /home/*user*/media/data \
plexinc/pms-docker

What I have tried/noticed:

  • I tried two versions of the above, one with "config" instead of ".config" but after running the container, no folder was created. I saw the ".config" and thought it was logical to have my config files go into the existing ".config" so I tried again with the new directory. However, no plex related config exist in there?
  • I tried messing with the permissions on the directories. The data directory (/home/user/media/data) is currently on 777. If I understood permissions correctly, it means the user, every user in the group of the directory, and everyone else have read, write and execute permissions. Correct?
  • I thought maybe it was an issue with name or file format. I tried with a file named 1.mp3 and then a.mp3 but in any case, the file was not seen.
  • I found this https://trash-guides.info/Hardlinks/How-to-setup-for/Unraid/ and copied the directory setup.
  • Reinstalled from scratch
  • Reboot
  • apt update/upgrade even though I don't think it would do anything?
  • I ignored the "timezone" field in the docker run, is that bad? I'm not sure what format to input.

I'm out of ideas with my limited and new knowledge. Can you help me out? I can provide screenshots and more detailed information, just tell me what you need.

28

Hello everyone New to Linux, new to self hosting, and struggling a bit but making progress.

I have two questions: 1 Is there a YouTube channel or a website with tutorials and explanations for the dummies like me? Something eli5 with easy words to start with and understand the basics.

2 I see a lot about nginx and reverse proxy and not sure I need it. I want to run a couple apps on my local network to be able to access it on any computer inside the house and, for now, nowhere else. Do I need nginx? What about port security? I'm worried my lack of understanding regarding ports would make my home network vulnerable. But since for now I only use 192.168.1 , i'd say I'm safe from intruders?

I acknowledge it's all surely basic but I'm not sure where to find a comprehensive source of learning instead of googling bits and pieces.

Thanks

[-] Natal@lemmy.world 9 points 1 year ago

Non preachy vegans don't tell they are vegan unless the conversation goes that way. Why would you? I don't care what you eat and I know you don't care what I eat.

Preachy vegans also annoy other non preachy vegans. And the one example of preachy I knew was not a good vegan.

[-] Natal@lemmy.world 7 points 1 year ago

Another reason I discovered recently. I work at home on a company laptop. Can't do shit with it so I listen to music via my phone or personal desktop. I tried using Bluetooth gear but realised quickly that if someone called me on teams/Skype or whatever, switching device with Bluetooth is tedious and slow. Wired stuff goes out and in, boom. Oh and none of my computer's have a usb c port despite one being fairly new (2021).

[-] Natal@lemmy.world 9 points 1 year ago

Translator here. Beware of translation tools. It's fine for personal use and basic understanding but it's not up to the task for the translation of complex stuff or technical stuff. It's good at creating text that looks legit but can sometimes contain critical errors.

I once worked on a medical device and used machine translation to test it. The text was fine but some numbers were changed. This is a huge error.

[-] Natal@lemmy.world 11 points 1 year ago

I was driving with Waze once, on the highway but first gear like 10km/h because trafic. A popup came and I wanted to discard it because I was nearly at my turn and didn't want to lose it so I pushed the cross. By the small time I spent doing this, I was already going sideways off my lane.

Lesson learned. Next time it happens I'd rather stay in my lane and take the next exit. But fk the people putting Ads in my car. Let me focus.

[-] Natal@lemmy.world 7 points 1 year ago

I agree so much. It feels like I "understand" how a computer talks and interacts as opposed to most people I work with just learn processes by heart and have no clue what to do once their process breaks.

[-] Natal@lemmy.world 8 points 1 year ago

Have you tried putting your search between " " ? It usually helps improve my results.

view more: next ›

Natal

joined 1 year ago