Spyke

Posts

fuck_ai·Fuck AIbyNatal

Exploring the idea of semantic erosion

Hello!

I've been thinking about the potential for LLMs to interact with our language and cognition recently. I've written an article, with citations, scratching the surface of the idea.

I think some people here would enjoy the read so I decided to share the PDF, I wasn't really sure how to best share it because it'd be a massive post if I just pasted it.

I'm open to feedback!

https://files.catbox.moe/o1ua2i.pdfOpen linkView original on lemmy.world
26
fuck_ai·Fuck AIbyNatal

LLMs could be a threat to more than our jobs.

Hello!

I have recently begun some research on the potential impact of widespread LLM use by the population on our writing, speech and ideas.

This will become a series synthesizing my research and findings. I have just published the introductory post which is a better explanation of my intent, plan, and reasons.

While anecdotal and unusable for research, I'm curious, did anyone hear notice some change in phrasing, words of choice, in someone using LLM heavily?

LLMs could be a threat to more than our jobs.https://skepsis.bearblog.dev/llms-could-be-a-threat-to-more-than-our-jobs/Open linkView original on lemmy.world
54
selfhosted·SelfhostedbyNatal

Part 2 of car Raspberry pi 4 GPS project

Hello everyone!

I already posted a first time here a while ago: https://lemmy.world/post/30549957

My goal was to replace my Android Auto + phone setup for satnav in car with a dedicated Raspberry Pi.

Here's a status update of the project so far!

Choosing the parts and getting them here was obviously fairly easy even though it took quite bit of research to find a way to power the Pi4 in car reliably.

It's a pi4 with an adafruit ultimate gps dongle, an SD card and a 2.5 SSD. The SD for OS installs, and then I clone them to SSD for better stability and performances.

I first tried to go Pi OS route. I figured Linux might open more possibilities and I'm more comfortable with Linux. I tried a few options in Pi OS, namely Navit. I banged my head quite hard on that one, trying to figure out how to make it work, but I never managed to get a good navit.xml config file. After hours upon hours of trials, I gave up.

Tried Organic Maps then, but it was a flatpak which introduced a lot of permission issues and I never got the GPS dongle to talk to the app.

After a few failed attempts, I decided to try Emteria OS, an android spin available in the Pi Imager. It doesn't boot without SD card as opposed to PiOS, so I was glad I spent the 5€ for the SD card. It booted easily, SSH was harder to enable than on Linux but it's likely because I just know Linux better. Installing apps was easy, but I stopped there and didn't even try to get the GPS working because 90% of my RAM was used idling at boot, which makes the whole project impossible on Emteria. Not sure if there's a bug in the current version or what, but I simply moved on.

Then I went to LineageOS. Similarly to Emteria, installing apps was very easy. Getting the GPS from Adafruit to talk to Android was fairly easy if you read the docs carefully. I needed to install android dev tools on my main PC and connect to the Pi using ADB as root to edit some config files. That's it, the GPS worked and I had a working GPS unit.

Now I'm at the point where I need to introduce the package into the car. For now , the pi still doesn't have a case because I didn't want to limit my options in the car. I still haven't found a good way to bring the pi with me and have it being safely transported without breaking or even becoming a deadly cannonball in case of crash.

My current idea that I'm exploring and checking is getting a Pelican Case, not sure if any of their cases has vent holes. The pi would go inside the case, and the case would be attached to a strong anchor point like the seat rails. Not sure how, yet. I'm thinking maybe about carabiners from Petzl since they would be much stronger than needed, I'm just not sure the anchor point on the case would be strong enough.

So there you have it, I've made good progress on the project and I'm confident it will work out reasonably well.

View original on lemmy.world
56
selfhosted·SelfhostedbyNatal

Need a second opinion on a project idea (Pi5 car headunit)

Hello everyone,

I'm thinking about a project and would like to ask for a second opinion from more experienced people. I sadly didn't find a community dedicated to that on Lemmy and here's the closest I know about. Let me know if I need to move the subject elsewhere, I understand this is on the fringe.

I have experience self-hosting many things on an old gaming PC at home.

Recently my phone which I use for music (navidrome) and satnav in car via Android Auto keeps crashing. The easiest solution would be to get a new phone but this one isn't even two years old so I'm frustrated with modern tech and want to build my own satnav solution.

One limitation I have is that my car only has one USB port to benefit from the car audio system and infotainment. I've chosen to give the USB port to an MP3 player with my music on it.

My idea is to then get a Raspberry Pi 5 or something equivalent , probably the Pi for the community resources for the satnav system.

Add a GPS receiver to it, a generic phone screen, a few physical buttons, maybe bluetooth dongle to connect a bluetooth speaker and potentially a foldable keyboard to type addresses and install something like BRouter for local satnav. Try to figure out how to add physical buttons for media control and also manual brightness.

I'd power it with external powerbanks. The screen would be the size of a phone, or maybe even and old phone or something, to benefit from the third party market of phone holders.

The goal is relatively simple: Local offline satnav with rerouting. Full control of the data, updates and tech used. Portable so it easily comes with me from car to car over the years. Modular, so I could potentially add stuff like rear cam later on.

Why not get a dedicated GPS device? Because I don't want to rely on a greedy corporations when I think I can do it myself (Garmin recently pulled a bad prank with a new subscription plan for instance.) And it's simply just fun to attempt a project like this.

I have plenty of free time to learn and figure it out, but if there's something obvious that I missed and makes the project a no-go, I'd love to know before I purchase everything.

Any feedback?

UPDATE 1st June: I'm going forward with the project. I've been looking extensively at how on Earth I am going to power this and the Raspberry Pi 5 isn't a good contender because it requires 5V/5A which is very difficult to comply with in a car without tinkering that I deem advanced. I'm now considering using a Pi4. Checking if the 4 is strong enough for satnav and music.

View original on lemmy.world
53
bikewrench·bike wrenchbyNatal

Tire pressure odyssey, what am I doing wrong?

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.

View original on lemmy.world
8
selfhosted·SelfhostedbyNatal

LinguaCafe - Confused why the provided docker-compose doesn't work.

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

View original on lemmy.world
10
strategy·Strategy Games♟️| RTS, 4X and Grand StrategybyNatal

RTS where you can create an AI ally mid-game?

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

View original on lemmy.world
12
pop_os·Pop!_OS (Linux)byNatal

Series of small questions

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!

View original on lemmy.world
19
selfhosted·SelfhostedbyNatal

Trouble moving a container and its data to another server

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

View original on lemmy.world
13
selfhosted·SelfhostedbyNatal

Need help understanding a back-up script

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"
View original on lemmy.world
28
linux_gaming·Linux GamingbyNatal

Confused by Lutris, game doesn't launch overnight.

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?

View original on lemmy.world
28
linux_gaming·Linux GamingbyNatal

Finally had enough of Windows. I'm packing up. I'm nervous!

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

View original on lemmy.world
227

How do you learn new tracks nowadays?

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?

View original on lemmy.world
28
selfhosted·SelfhostedbyNatal

Docker container reappears constantly after "rm" or "rm -f"

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?

View original on lemmy.world
20
selfhosted·SelfhostedbyNatal

[SOLVED] Plex (and Jellyfin too) don't see the content of /media (docker/debian)

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.

View original on lemmy.world
25
selfhosted·SelfhostedbyNatal

Source for tutorials and a question?

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 original on lemmy.world
26
selfhosted·SelfhostedbyNatal

Can I use the SD card port of my laptop to install a server?

Hey! Long story short, I'm interested in Self hosting stuff and want to wet my feet a bit with a spare laptop I have. The main nvme drive is used by windows 10, and it has a 250 Go SD card.

I've been trying to install TrueNAS Scale and YunoHost on the SD card to no avail. I have seen people on forums say they had stuff installed on an SD card but I'm starting to doubt it.

Can it work? I think I need some help but I don't know what info might be useful.

View original on lemmy.world
38
journaling·Journaling byNatal

Elegant solutions to add space on a page when the following one is already used?

Hey!

I've been journaling for about 7 years now (Wow... already) and an issue I've always had is when I have to write on a specific page but run out of space and can't go to the next one because it's already used.

I've tried post-its, loose sheets with a clip, give up and turn a couple pages and title the new page "Monday, contiued" or whatever. And all those solutions have felt very "Meh" and lacking elegance.

Do you have a clever trick or system to fit extra stuff in a page that is already surrounded?

Should I just learn to embrace some chaos and use a new page not in order?

View original on lemmy.world
5
nostupidquestions·No Stupid QuestionsbyNatal

Why does powdered shallots stick at the bottom of the vial?

Does it happen to anyone else and does anyone know why it happens and if it means it's gone bad or it's safe?

It's the only spice in my kitchen, and I have many, that acts weird and google wasn't helpful on this one.

It becomes one solid block at the bottom and I would need a knife or something sharp to go tear at it and break clumps off from it again. But I'm not sure it's still safe to eat.

View original on lemmy.world
26
fountainpens·Fountain PensbyNatal

How much should a pen be used to keep it in good shape?

Hello everyone,

I've got a pen I only use to write in a journal dedicated to my mother who passed away. When I wish I could still talk to her I get that journal and write whatever discussion I'd like to have with her. I have a Pilot Cavalier that is only used for this.

I'm worried the irregular use might damage the pen. Sometimes I write everyday, but not everyday I have ideas of what to say so sometimes I go a couple of days, even weeks without writing much if at all.

Can it be bad for the pen and what is the proper maintenance I should do on such a pen with such irregular usage?

I'm starting thinking about using it more for other occasions and let it loose its "sacred" aspect, but I'm not sure yet.

View original on lemmy.world
5