Natal

joined 1 year ago
[–] Natal 1 points 6 months ago (1 children)

Do you have places where you can buy those old business drives? Are there websites for this market?

[–] Natal 27 points 7 months ago (1 children)

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.

[–] Natal 3 points 7 months ago

Please add a disclaimer to the documents stating it was machine translated. Machine translation can get it wrong or take liberties, make up stuff. Please inform your readers so they can be on the lookout.

Keep in mind the translated stuff by machine translation won't be 100% what you say in your native language to other students. Be careful not to spread wrong information or knowledge.

[–] Natal 4 points 7 months ago

Translator here. They do make up stuff or omit stuff they don't like. Machine translation is fine for tourists or to translate a ikea manual in the wrong language. If there are stakes, risky. They got good enough to make sentences that look right so it can be tricky to spot the errors if you don't pay attention.

Numbers are typical errors. Sometimes it's there but the number has changed. Sometimes it's not there at all. Oh and if you have currencies a translators knows a document from the UK in pounds that is adapted for France will have to be converted in euros. Machines don't.

Generally speaking when a client wants to use machine translation, it costs them more money in the end because of the extra time needed to correct everything to a high human grade standard.

[–] Natal 3 points 7 months ago

Take it easy, you'll get your vr legs eventually. The key for me was to learn to detect when my body was starting to feel bad, stop immediately and go take a break. If you stop the symptoms early you can take regular short breaks instead of being drowsy all night.

Also, find some easier games for your stomach. Typically, stuff in a vehicle/plane/spaceship is easier for the brain because it understands something is moving but not you.

Static games work too. Beat saber is the classic but I'd like to recommend SynthRider.

Also, play around with the settings when you're fresh and see what works. The black blinders on the side help most people but it make nausea worse for me.

[–] Natal 2 points 8 months ago (1 children)

There's no risk to using force? Maybe I just didn't push hard enough because I was scared to put too much pressure on the presta and bend it. They look weak.

[–] Natal 2 points 8 months ago (3 children)

It's a floor pump. This one: https://www.action.com/fr-fr/p/2561081/pompe-a-velo/ I also have a hand pump but I guess it's not particularly useful right now?

[–] Natal 2 points 8 months ago (5 children)

Thank you for your answer! Appreciated. I only have that one bike, but it happens on both tires and, actually, one is tubed and one is tubeless. What I did is trying to get them to feel as close as possible in terms of firmness without actual data and then checked pressure. Both read the same PSI, give or take a couple points, which I attribute to the vagueness of pumping "to the touch".

I did what you asked and what happens is the following: I can get to 24.5 PSI before the pump resists very hard. I probably could force it a little more but I'm afraid to break something? The pressure stays there until I release the pump handle which was resisting, when I stop holding it, it goes back up somewhat and I lose a bit of PSI, but not all.

[–] Natal 2 points 8 months ago

The range on the side is 20 to 50 PSI. To the touch, the tire is very firm. Not rock hard, but very little softness/squishiness to it. When I sit on it and ride the bike, there's a little bulging at the point of contact with the ground, I think it looks normal but my partner thinks it looks like flat. Still, it feels like a firm bike while riding.

Thank you for your answer :)

 

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.

[–] Natal 1 points 10 months ago* (last edited 10 months ago)

I think I solved the permission issue? See edit in the main post.

[–] Natal 1 points 10 months ago (1 children)

Is there a command to check that?

[–] Natal 1 points 10 months ago (1 children)

sudo chmod 777 /your/linguacafe/temp/folder -R

I have done that and it doesn't seem to help. Edited main post to reflect that.

10
submitted 10 months ago* (last edited 10 months ago) by Natal to c/selfhosted
 

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

 

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 :)

19
submitted 1 year ago by Natal to c/pop_os
 

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!

13
submitted 1 year ago* (last edited 1 year ago) by Natal to c/selfhosted
 

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

 

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"
27
submitted 1 year ago* (last edited 1 year ago) by Natal to c/linux_gaming
 

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?

226
submitted 1 year ago* (last edited 1 year ago) by Natal to c/linux_gaming
 

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 :)

 

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?

 

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?

 

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.

 

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

view more: next ›