Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DE
Deckweiss @lemmy.world
Posts 7
Comments 429
Can a website access my local network/learn about the existence of other devices without installing malware?
  • Is it maybe the case that the setting is for allowing/disallowing you to go to sites on your local network?

    For example your router controls at "192.168.1.1" (example address) or a raspberry pi with a selfhosted service like nextcloud etc.

    You can probably test whether my claim is true by trying to visit your routers page with the setting enabled vs. disabled. (I am not using Chrome)

    I don't think websites have access to your local network through the browsers javascript engine, but I may be wrong.

  • My fellow software engineer, It's the year 2024...
  • Well, when software supports this standard, you as a user have a way to not confirm to it by setting the env variables to whatever you want, even per app. So you have two choises, either use it as is or change it.

    But if software doesn't supportthe spec, there is no choise of using it. So ons choise less.

  • What's the best light desktop env to install in a Linux distro?
  • Measuring RAM usage is extremely tricky, because programs will use more than they need, if there is lots of unused RAM available. Check out https://www.linuxatemyram.com if you want to learn more.

    For me KDE Plasma uses over a gig on my main PC after a fresh boot. But it also ran perfectly fine on a 512MB ancient laptop.

  • What's the best light desktop env to install in a Linux distro?
  • There are many options, but I'd say on those specs anything will run more or less fine with some tweaks/settings.

    Personally I would go with KDE Plasma, because I feel most comfortable with it. It can be pretty light on system ressources when configured properly. Disable all the visual stuff (animations, blur, anti aliasing) and some of it's background modules (baloo and some other stuff that you personally don't need).

    But you should take the one you are familiar with and find out how you can tweak it to be more light. Cheers

  • Best easy to use e-commerce front end with no javascript?
  • With a Blazor (serverside mode) project you could have that with a nice user experience. Blazor has a tiny js which initializes something, otherwiss it renders the site on the server and sends the component updates to the browser, so the whole site does not need to reload, only the relevant components (which is kind of interesting).

    Maybe there is some blazor serverside e-commerce project out there, I wouldn't personally recommend it though.

  • Need help getting started
  • For the site itself the most minimal thing you can do is an html file.

    Then some software to act as the "server" that serves that file to a visitor. (nginx, caddy, apache - there are many options).

    And your domain needs a domain record which points to your server.

    As you want to use a home pc, you need to figure out whether your ISP gives you a dynamic or static IP.

    If static, you can just use that.

    If dynamic, you'd need some service like dynDNS to keep pointing your domain to your changing IP.

  • Long term ergo-mech keyboards reviews
  • Keyboardio Model 01 since late 2017 until Model 100 came out early 2022, then I switched to that asap for the nicer switches.

    Love them both. Very hackable. Very reliable, especially the newer model, the 01 needed some occasional switch de-dusting.

    The only downsides are:

    1. I miss my F keys
    2. There is no way to get custom labeled keycaps except for manufacturing them yourself somehow.
  • Nvidia Looks Towards Linux Kernel Upstream
  • Is it biological exploitation for food companies to monopolize on our taste buds?

    Yes. Thats the only reason why there is so much sugar in everything. Which is rather unhealthy, but we keep eating it because sugar makes us want it.

  • Phoronix Birthday: 20 years of great Linux content - let us donate for a good birthday celebration!

    Repost from: https://libreddit.nl/r/linux_gaming/comments/1d8qi81/phoronix_birthday_20_years_of_great_linux_content/

    > He really seemed downbeat in his announcements regarding the birthday. He really puts a lot of work into the site but having a niche audience of tech literate users is probably the worst place to be with ad sales tanking as they do. If anybody is using adblockers, it's us and people are cheap.

    I really hope the guy has a nice birthday and gets lots of love and donations. The phoronix content is always great and I've been a long time reader. (I've donated the same amount as OP - see my screenshot)

    4

    OSX-KVM single GPU passthrough

    I am trying to set up a way to use my Linux normally and then on demand fire up an OSX VM with GPU passthrough.

    Arch Linux Gigabyte RX6600xt macos 13 Ventura VM

    I've been fucking around with it for two days, getting a bit further each time, but now I am stuck.

    I can boot up the vm just fine with OpenCore-Boot.sh

    Here is my script:

    https://pastebin.com/McyHyMk4

    What I see, the screen goes black, then I see the TianoCore boot logo, then some errors and nothing more happens. https://imgur.com/JdTkXG2

    I ran info pci via telnet and it showed the GPU.

    I have agdpmod=pikera in the config.plist and rebuilt the OpenCore.qcow2 according to the official instructions.

    When I add a vnc option and vnc into it from another computer, I can see the proper boot menu and select an entry and boot into macos. It even seems to recognize an AMD gpu, but not fully.

    Please tell me any debugging / info providing steps, as I am quite new to this.

    Thank you very much for your time and effort.

    2
    VFIO @lemmy.ml Deckweiss @lemmy.world

    OSX-KVM single GPU passthrough

    I am trying to set up a way to use my Linux normally and then on demand fire up an OSX VM with GPU passthrough.

    Arch Linux Gigabyte RX6600xt macos 13 Ventura VM

    I've been fucking around with it for two days, getting a bit further each time, but now I am stuck.

    I can boot up the vm just fine with OpenCore-Boot.sh

    Here is my script:

    https://pastebin.com/McyHyMk4

    What I see, the screen goes black, then I see the TianoCore boot logo, then some errors and nothing more happens. https://imgur.com/JdTkXG2

    I ran info pci via telnet and it showed the GPU.

    I have agdpmod=pikera in the config.plist and rebuilt the OpenCore.qcow2 according to the official instructions.

    When I add a vnc option and vnc into it from another computer, I can see the proper boot menu and select an entry and boot into macos. It even seems to recognize an AMD gpu, but not fully.

    Please tell me any debugging / info providing steps, as I am quite new to this.

    Thank you very much for your time and effort.

    0

    Blocking AI crawlers with Caddy

    I was reading the reddit thread on Claude AI crawlers effectively DDOSing Linux Mint forums https://libreddit.lunar.icu/r/linux/comments/1ceco4f/claude_ai_name_and_shame/

    and I wanted to block all ai crawlers from my selfhosted stuff.

    I don't trust crawlers to respect the Robots.txt but you can get one here: https://darkvisitors.com/

    Since I use Caddy as a Server, I generated a directive that blocks them based on their useragent. The content of the regex basically comes from darkvisitors.

    Sidenote - there is a module for blocking crawlers as well, but it seemed overkill for me https://github.com/Xumeiquer/nobots

    For anybody who is interested, here is the block_ai_crawlers.conf I wrote.

    ``` (blockAiCrawlers) { @blockAiCrawlers { header_regexp User-Agent "(?i)(Bytespider|CCBot|Diffbot|FacebookBot|Google-Extended|GPTBot|omgili|anthropic-ai|Claude-Web|ClaudeBot|cohere-ai)" } handle @blockAiCrawlers { abort } }

    Usage:

    1. Place this file next to your Caddyfile

    2. Edit your Caddyfile as in the example below

    ```

    import block_ai_crawlers.conf

    www.mywebsite.com {

    import blockAiCrawlers

    reverse_proxy * localhost:3000

    }

    ```

    ```

    19
    datahoarder @lemmy.ml Deckweiss @lemmy.world

    How to datahoard Lemmy

    Sorry for not doing much research beforehand and asking a newbee question. I am looking for some entrypoint info to the question:

    How would one go about datahoarding lemmy?

    It seems to be a grade above what I've been doing so far (downloading video/audio from streaming platforms and backing up web articles and blogposts as pdfs) due to the distributed nature and the activitypub protocol. ___

    Relevant stuff that I've found so far but havent studied extensively:

    1. This does not seem to store most of the data https://github.com/tgxn/lemmy-explorer
    4
    0