N0x0n

joined 1 year ago
[–] N0x0n@lemmy.ml 2 points 1 day ago (1 children)

Doesn't that break the whole purpose of podman (rootless containers)?

[–] N0x0n@lemmy.ml 5 points 3 days ago

Notable mention, amd64 chipsets are more widely supported than ARM.

[–] N0x0n@lemmy.ml 4 points 6 days ago (2 children)

If your question is specific to penguins, sorry no idea. However, If your question is if there has ever been any living spiece other than humans stargazing... Yes !

The dung beetles have been observed in such a behavior ! These insect are awesome !

[–] N0x0n@lemmy.ml 3 points 6 days ago* (last edited 6 days ago)

Yeah, this is so fucked up ! When you archive reddit pages, those are over 20 fucking MB for just a conversation ! That's fucking insane...

I can reduce it to less than 500KB with alternative frontends, but still... This makes absolutely no sense and I'm scared to find out what they are hiding in between all those lines of code !

[–] N0x0n@lemmy.ml 14 points 1 week ago

It's everyday the year of Linux !

[–] N0x0n@lemmy.ml 1 points 1 week ago

Isn't there supposed to be permafrost all over the mountain? It also seems there have been alot of avalanches who destroyed a good part of the trees.

It also looks likes what happend in Switzerland a few weeks ago.

[–] N0x0n@lemmy.ml 4 points 1 week ago

You forgot the /s at the end !!!

[–] N0x0n@lemmy.ml 0 points 1 week ago (2 children)

This looks terrible... I'm so sad seeing such a magical place beeing slowly destroyed by global warming. It make me hate myself and every human on earth.

Must have been a nice place to be before the industrial revolution....

[–] N0x0n@lemmy.ml 3 points 1 week ago* (last edited 1 week ago)

Not sure if every audio file is upscaled, however I had a few files who clearly were 128kbs mp3 upscaled to ~192kbs opus !

personally I cannot hear any compression in the audio.

100% agree on that xD !! However, I'm some kind of strange audio freak hoarder. If the spectogram of an audio doesn't reflect my standards (not upsacles audio files...) I won't keep/archive it !

Do note that I didn't used a paid YouTube account... Maybe they don't serve HQ audio files to free users? Dunno, but after some digging into the spectograms I was not happy seeing how bad they looked !

[–] N0x0n@lemmy.ml 12 points 1 week ago* (last edited 1 week ago) (3 children)

Cool stuff, thank you for sharing your project with the community ! It's very cool and useful for people who just want a set and forget situation !

I stoped using yt-dlp frontends the moment I saw youtube actually serving upscaled opus media files (very visible line on a spectrogram). Also their metadata is totally fucked-up and not very well organized and full of shit (comments with huge spaces and non useful metadata...).

Sure, the metadata part is easily fixable with Picard MusicBrainz, but the quality downgrade was a huge no for me. Nowadays, I use nicotine, rutracker and private trackers to download FLAC quality files and transcode them to opus 192k to serve them in my Navidrome library with a well curated metadata structure !

Yes it takes way more time and some dedication but it's worth it :) specially If you are some kind of perfectionist and like everything neatly organized ! 😁

More power to you for keeping the opensource community thriving !! Thank you !

[–] N0x0n@lemmy.ml 11 points 1 week ago (2 children)

So he was manually compiling all the software he used, even those related to his system like openssh?

[–] N0x0n@lemmy.ml -1 points 1 week ago* (last edited 1 week ago) (2 children)

Isn't RedHat who pushed systemd? Most init enthusiasts hate systemd ! Dunno if related tho. I'm just recently into linux so I never had the chance to give the init system a try !

However, I'm an opensource and free from corporate shit software lover. Try to avoid everything related to corpo (Redhat, Ubuntu...). That's exaclty the reason why I'm reluctant to give Fedora a try, even though it seems kinda a good distro !

Debian as server distro EndeavourOS as daily drive

 

Partially Solved

While I haven't found a native solution on how to integrate NTFY to glance, I did build up something that actually send basic text streams to glance in an automated way. It's very rudimentary and probably error prone, but that's the best I could do right now... Maybe someone else will chime in and give some better advice/solution.

For those interested postgREST allows to build a simple docker container postgres database you can query for the custom api in glance. It DOES work, but If like myself, your database/json/postgre knowlege is very limited, it only allows basic text response like: "Update Failed".

I did try to get a little further into the rabbit hole, but it does come with the necessity to have a good database and query/response background ? Not a very good solution and will probably not go one or try to improve on that right now... But feel free to give better advice or another lead to follow :)

Further notes:

On a final note, I do see a lot of interest in the Glance community and alot of new and interesting updates:

  • Added .Options.JSON to the custom API widget which takes any nested option value and turns it into a JSON string v0.8.3
  • [Custom API] Synchronous API calls and options property v0.8.0

Hello everyone !

I kinda hit a roadblock here and I'm interested if someone actually have done something similar or an alternative to what I'm trying to achieve.

Some background

Right now I'm playing around with NTFY and works great. I even hooked some automated backup script to my server with stdout/stderr output:

(Please, no bash-shaming ! :P)

#!/bin/bash

$COMMAND

if [ $? -eq 0 ]; then
        echo "Success"
        issue=$(<stdout.txt)
        curl -H "Title: Hello world!" -H "Priority: urgent" -d "$issue" https://mydomain/glancy

else
        echo "Failure"
        issue=$(<stderr.txt)
        curl -H "Title: Hello world!" -H "Priority: urgent" -d "$issue" https://mydomain/glancy

fi

This works great and I receive my notification on every device subscribed to the topic

What I'm trying to achieve?

Send the NTFY notification to a visual dashboard like Glance. If there's no native way to achieve this, self-host a simple json api that get's populated by my server's script response?

What's the issue ?

After skimming all the GitHub repos, there's no mention on any self-hosted dashboard to integrate NTFY as a notification hook. I find it kinda strange because NTFY is just a simple HTTP PUT or POST requests so It should be rather easy no?

And after searching the whole day on the web, there wasn't any good results or resources. So I came to the conclusion that It wasn't that easy and probably needs a bit more of something I'm probably bad at (coding?).

In the glance documentation there's configuration to hook a custom api and looks rather simple, however now I hit a roadblock I'm not able to solve... I have no idea where or how to spin up a self-hosted and dynamic json api that communicates with my server and updates/populate that json file... Here's an example to show what I mean:

Json api: https://api.laut.fm/station/psytrancelicious/last_songs

Custom Glance API template:

- type: custom-api
  title: Random Fact
  cache: 6h
  url: https://api.laut.fm/station/psytrancelicious/last_songs
  template: |
    <p class="size-h4 color-paragraph">{{ .JSON.String "title" }}</p>
Questions

  1. Any native way to hook NTFY's notification to a dashboard like instance (Glance, Homer, Dashy?)

  2. If no, Is it possible to self-host a json api that gets populated by my script's response? A good pointer to the right direction would be very nice, preferably a Docker solution !

  3. Another solution to have a visual dashboard (not the native NTFY dashboard) and visualize all my script response notification in one place ?


Thank in advance for all your responses :) and sorry for my bad wording, web development terminology is not really my cup of tea !

 

cross-posted from: https://lemmy.ml/post/28250905

cross-posted from: https://lemmy.ml/post/28250870

Hello everyone !

I'm seeding/cross-post this in 3 communities because I think I will get better answers in each respective one (Hardware, coding, electronics).

As the title say I'm want to learn to build from the ground up those cheap solar led/optic fiber lightning, here some images to get what I mean:

They come in bundles but after awhile they just die out without repair ability which kinda sucks and because they are cheap my mum keeps buying them... So, I would like to build ones I'm able to repair and customize :). However I have absolutely NO idea where to begin and what exactly I'm searching for... I'm lacking the skills and knowledge on the 3 fronts !

  • What hardware I'm looking for ?
  • What kind of electronics ?
  • What programming language to glue everything together?
  • .... ?

I'm not afraid to get my hands dirty and learn how to micro-solder, learn some coding skills to get everything neatly glued together software wise, learn the necessary hardware or other important and necessary stuff to achieve this goal ! I'm looking for every good and reliable advice to get me started !

One thing though, If i have to learn some hardware/low level coding skills I would prefer a language that would be useful for other stuff in the long run.

Thank you in advance and I'm already sorry if I'm very slow to respond, I'm not native and the flood amount of information I will probably get, will surpass my ability to respond to everyone right away.

Also every other directions are welcome, like:

  • how to repair the old ones? Do I need to flash their proprietary software/hardware?

Thank you !

 

YouTube link: https://youtu.be/wVyu7NB7W6Y

Invidious link: https://inv.nadeko.net/watch?v=wVyu7NB7W6Y

Sorry for the formatting... Tried to remove the URL for better readability, but there seems some kind of bug.


TLDW

  • hack phones remotely just knowing it's phone number
  • Intercept 2FA sms
  • Intercept phone calls
  • Reroute phone calls
  • Geolocation of a target

I dunno if it has already been posted/discussed here but this kinda blew my mind ! Sorry there's a lot of clickbait but the general subject is interesting...

I never heard of SS7 and have actually no idea how the whole phone system communication works but that's kinda scary...

Yes we are probably not the first target with this "hack" nor is it as easy as exposed in this video and nor do we have 14k $ to spend on this, but that's not out of reach for some people. I mean it's not as expensive as Pegasus and people with the mean and some good stable income can probably misuse this system for targeting specific vulnerable people (example in the video).

 

cross-posted from: https://lemmy.ml/post/23615167

For better visibility I cross-post my question in this community.

Heyha ! I just came across a very odd issue/bug that somehow resolved by itself without knowing who or what was the culprit.

For context, YouTube doing his thing making nearly all public instances obsolete, I'm self-hosting a Piped instance in my homelab via Docker.

Everything is going smoothly, self-signed certs, traefik, accessible via Wireguard outside of my network, and and and !! LibreTube connects without any issues to my Piped instance on my Android phone and so does RiMusic.

However, in RiMusic when I was trying to access my synced Piped playlists, RiMusic went crazy and my playlist seemed to be in a query loop were I was unable to play any songs and was flickering alot.

  • Reboot the phone => Same behavior
  • Reboot the piped instance => Same behavior
  • Uninstall RiMusic/New docker piped instance => Same behavior
  • Flush everything from cache/playlist/configuration/data... => Same behavior

Nothing seems to resolve the issue software wise, next step check the logs (Interesting part):

My piped-nginx showed A HUGE amount of requests coming from my phone when accessing a Piped playlist:

"GET /playlists/d0e2c698-f3f4-435f-b2c9-96c6d3a88781 HTTP/1.1" 200 4161 "-" "ktor-client" "10.XXX.XXX.XXX"

Traefik also showed a lot of loadbalacing debug notifications something that never happens, because I'm the only user in my homelab setup !

My first though was that this is probably a RiMusic bug, but before reporting a report to GitHub, I did other debugging stuff.

  • Create an account and connect to a public piped instance
  • Create playlist/add some songs
  • Connect with RiMusic

The exact same behavior EXCEPT it stopped the loop after a few requests and made RiMusic usable again and was able to play my playlist without issues. Try again on my own instance but again, infinite loop, a lot of requests on Traefik and Piped-nginx. It even broke my Piped instance...

The only logical explanation is that the public piped instances have some request rate limiting (Yeah I know this is common practice and even mandatory on public instances). So here I go rate limiting my own requests to see if this could work as a temporary workaround while writing a GitHub bug report to RiMusic.

Adding some basic traefik labels just to give it a try:

labels:
  - "traefik.http.middlewares.test-ratelimit.ratelimit.average=10"
  - "traefik.http.middlewares.test-ratelimit.ratelimit.burst=20"

At first nothing happened but after a few docker compose -f down/up I was able to access my playlist from my own instance without any issues/bug/strangeness. Cool It works? So just out of curiosity I commented out the new traefik middelwares and restarted both container (Traefik/Piped). And .... RiMusic playlist connected to my piped instance works without the ratelimite lines... Wait what ??

What just happend ? I have absolutely no idea... I don't even know if the mentioned labels did anything... But everything works... No loading loop, No Traefik container overflown with loadblancer logs, No Piped-nginx with thousand request... It just vanished as it never existed in the first place.

I'm totally clueless except that somehow when accessing a playlist in private or public piped instance with RiMusic my phone went crazy with an infinite loop of api requests (Dunno if that's the correct term :/). Here Am I with no idea what actually happend...

And yes my phone is Heavely debloated and firewalled (Magisk,rethinkDNS) so those are not unknown requests from the web or any open source application, whats so ever !


Sorry for the long write up I hope It's readable and comprehensible. I just wanted to share my experience with you and If you also encountered some strange and inexplicable bug/issue that resolved by itself, feel free to share :).

PS: If someone has any good lead on what happened or some good insight where I should look next to get more out of this experience, I'm open to every good read !

 

Hi everyone !

Intro

Was a long ride since 3 years ago I started my first docker container. Learned a lot from how to build my custom image with a Dockerfile, loading my own configurations files into the container, getting along with docker-compose, traefik and YAML syntax... and and and !

However while tinkering with vaultwarden's config and changing to postgresSQL there's something that's really bugging me...

Questions


  • How do you/devs choose which database to use for your/their application? Are there any specific things to take into account before choosing one over another?

  • Does consistency in database containers makes sense? I mean, changing all my containers to ONLY postgres (or mariaDB whatever)?

  • Does it make sense to update the database image regularly? Or is the application bound to a specific version and will break after any update?

  • Can I switch between one over another even if you/devs choose to use e.g. MariaDB ? Or is it baked/hardcoded into the application image and switching to another database requires extra programming skills?

Maybe not directly related to databases but that one is also bugging me for some time now:

  • What's redis role into all of this? I can't the hell of me understand what is does and how it's linked between the application and database. I know it's supposed to give faster access to resources, but If I remember correctly, while playing around with Nextcloud, the redis container logs were dead silent, It seemed very "useless" or not active from my perspective. I'm always wondering "Humm redis... what are you doing here?".

Thanks :)

 

Hi everyone.

I'm curious to understand what could happened to simpleX if the new "security" plan in EU gets voted?

Because I'm not versed enough with the political and legal wording in thoses papers I've got a hard time to actually understand.

  • Will simpleX be obligated to comply?
  • Will simpleX retire from EU?
  • Would It be illegal to use simpleX if the bill passes?
  • Could we still use simpleX with a proxy/VPN from a country outside of EU?
  • ...

I'm genuinely concerned about what I'm reading here and there on lemmy... I hope someone could give me some interesting point of view.

Thanks.

view more: next ›