Skip Navigation
Jump
Noise Pollution ruins quality of life
  • Man, there is a small d man who lives along my street and EVERY F DAY he drives his loud and noisy motorbike. It's driving me insane!

    Also, there is a car that every f day, around 10 am, drive down the street, but his carburetor is open, being stupidly loud! It make me literally sick!

    17
  • Jump
    I'm deploying a Laravel app on nginx. Only the main route works, every other throws me a 404
  • Why are you using that?

        location ~ /\.ht {
            deny all;
        }
    

    You're denying the access to your root, which is the public/ folder and has the file .htaccess that has

    <IfModule mod_rewrite.c>
        <IfModule mod_negotiation.c>
            Options -MultiViews -Indexes
        </IfModule>
    
        RewriteEngine On
    
        # Handle Authorization Header
        RewriteCond %{HTTP:Authorization} .
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    
        # Redirect Trailing Slashes If Not A Folder...
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_URI} (.+)/$
        RewriteRule ^ %1 [L,R=301]
    
        # Send Requests To Front Controller...
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.php [L]
    </IfModule>
    

    This file handles the income requests and send to the front controller.

    -1
  • Jump
    The Insecurity of Debian
  • And it's not. SELinux is much more secure, however much more complex. Although AppArmor also do the job, despite being easier to workaround it. But I don't think this is a good argument against Debian.

    37
  • Jump
    Encrypt whole system?
  • Because I don't even knew that this kind of tool exists. And it was precise AF. I just got surprised/scared haha

    About systemd-homed, I guess that liveusb will not work... I suggest you to try in a VM and everything going ok, you may try on another user on your pc

    1
  • Jump
    Encrypt whole system?
  • Are the detectors part for real or were you just kidding? 😲

    You were probably trying to format it nice, but I've only read this phrasing from AI.

    Yes, I was, because I like to put my text well formated... I feel pain when I have to read bad formated texts, so I try to be as clean as possible

    But thanks for the answer, the home folder would probably be best. I don't want to think about it after setting it up. All my downloads and docs are there. I also feel like the whole filesystem would take forever for me to unlock/boot.

    For home folder I think there is a better alternative, like systemd-homed or something like that

    4
  • Jump
    Encrypt whole system?
  • Encrypting and decrypting are complex operations that requires a lot from the hardware. The resources needed to encrypt and decrypt is proportionally correlated with the amount of files you're encrypting and decrypting.

    That said, there are some alternatives

    1. Encrypt the whole filesystem
    2. Encrypt only your home folder
    3. Encrypt only the files you wanna

    There is an app, Vaults, that allows you to create vaults to easily encrypt and decrypt folders. Take a look on this app

    0
  • Jump
    What to try in a linux distro ?
  • It depends on your goals with linux.

    If your goals are on devops, you may find a good idea learn about docker, ansible and other tools to make your life easier. If you're a home user, maybe it's a good idea try flatpaks, for example. And there is much more, but you need to define your goals.

    “If you don't know where you want to go, then it doesn't matter which path you take.”
    ― Lewis Carroll, Alice in Wonderland

    6
  • Jump
    Problems with Arch upgrade
  • I misunderstood your post. This command I told you is to make things better, not worse haha

    If you really wanna make your Arch unstable, you may wanna install every single package with pacman -Sy <packagename>

    Also maybe you wanna install everything from AUR

    2
  • Jump
    Bird flu infects California dairy cows, widening US outbreak
  • Not only that, but also people are stupid.

    Bird flu is contaminating mammals like cows and pigs, it's a small jump to infect humans (btw, it already contaminated rural employees). A simple pasteurization procedure (heat up to 70°C and then cool down faster) is enough to kill the virus, but there is a trend in US to drink raw milk just because they're saying that pasteurization is a form of government control and brain washing.

    The only issue is that these arrombados (I'll keep this word in my language) that are doing this shit will probably get infected, spread a totally avoidable disease and probably infect someone who's trying to take all the precautions needed.

    3
  • cross-posted from: https://lemmy.eco.br/post/6013803

    > (vou postar em inglês porque vou fazer crosspost, mas no @Linux Brasil pode responder em português) > > After recently Firefox update I noticed that audios are cluncky. I mean, if my Firefox isn't playing any sound, if I start a video or any sound start playing (whatsapp notification, for example) it doesn't work at first. For example in videos, I have to pause and unpause the video to the audio start playing properly. > > Is anyone experiencing something similar? > > Is there anything I can do to solve this issue? > > I tried another browsers and another sounds in OS and it doesn't happen, what makes me think it's not an OS bug, but a Firefox bug.

    6

    (vou postar em inglês porque vou fazer crosspost, mas no @Linux Brasil pode responder em português)

    After recently Firefox update I noticed that audios are cluncky. I mean, if my Firefox isn't playing any sound, if I start a video or any sound start playing (whatsapp notification, for example) it doesn't work at first. For example in videos, I have to pause and unpause the video to the audio start playing properly.

    Is anyone experiencing something similar?

    Is there anything I can do to solve this issue?

    I tried another browsers and another sounds in OS and it doesn't happen, what makes me think it's not an OS bug, but a Firefox bug.

    0

    mas só tem crack na academia que eu frequento...

    0

    Summary

    I have a old laptop that's serving me as a Technitium DNS server and Tailscale exit node.

    My setup is behind a CGNAT, but the Tailscale make its way around and that's not an issue. My VPN exit node works flawlessly.

    However I also set my router to make my laptop as DNS server, so all my lan network is passing through the Technitium. So, in theory all my local network is using my selfhosted DNS server.

    Issue

    The issue here is not the server itself, cause it's working as intended - when I can connect to it.

    What's going on is that my server for once in a while become unreachable from lan. If I try to ping it from another device in local network, it returns that it's unreachable, but my server still connected to the internet (I can ping Google, for example). So to solve it, I must do one of the below:

    • Kick the server from the router, forcing it to reconnect
    • Connect to the Tailscale VPN and ping it from the Tailscale ip
    • Reboot my server

    It anoys me because it's not supposed to the server become unreachable in local randomly!

    It's important to comment that the server isn't connected through ethernet, but it uses wifi because I can't put my laptop near the router. The laptop is close enough to not have any wifi interference, however.

    What can I do to prevent my server to become unreachable?

    My setup

    Server

    • An old Acer laptop connected to the wifi
    • Static IP configured
    • SO: Arch Linux (as server, no GUI at all)

    Router

    D-Link DIR-842

    ---

    Thank you in advance

    10

    publicação cruzada de: https://lemmy.eco.br/post/1443857

    Desculpas por estar em inglês, galera, mas não quero reescrever tudo isso em português

    > # Prologue > > Today I messed up with the permissions at my home folder, so after a struggle time I finally was able to enter in TTY2 and set all my home folder with permissions 766. However I don't know if all my files, folders and hidden stuff had this permission, but still, now my desktop is mostly working. > > # Actual issue > > Now, with mostly correct permissions, I found that my Google Account synced wasn't retrieving any data, so I removed my account from Gnome Online Accounts and tried to login again. > > Well, it does not work as intended anymore. The popup shows asking for the username and after asking for the password. After I enter the password, it keeps loading forever never asking me for allow granting Gnome permissions. Interestingly, if I type the password wrong, it recognizes that's wrong and gives me a error message. This bug only happens when I type the correct username and password. > > Even more interesting, is that if I try to connect any other Google account, it does work! > > # What I tried > > - Reboot my laptop > - Remove the folders ~/.config/goa-1.0, ~/.cache/gnome-control-center-goa-helper and ~/.local/share/gnome-control-center-goa-helper > - Restore the correct permissions to ~/.gnupg to 600 > - Creating a new user (I wasn't able to login as well) > - Deleting app permission for Gnome on Google Manage Account > - Tried to pacman -S gnutls, pacman -S gnome-online-accounts and pacman -S gvfs-goa > > I'm hopeless. I don't know what else to try. I need this account connected to my Gnome Online Accounts cause it makes part of my workflow. > > Is there any other configuration file I missed? Is there any other database I missed? Any ideia how to solve it? > > Thank you in advance, guys > > --- > > # My setup > > ## Hardware Information: > - Modelo do hardware: Acer Aspire A515-45 > - Memória: 12,0&nbsp;GiB > - Processador: AMD Ryzen™ 7 5700U with Radeon™ Graphics × 16 > - Gráficos: AMD Radeon™ Graphics > - Capacidade de disco: 256,1&nbsp;GB > > ## Software Information: > - Versão do firmware: V1.13 > - Nome do SO: Arch Linux > - Compilação do SO: rolling > - Tipo do SO: 64 bits > - Versão do GNOME: 45.0 > - Sistema de janelas: Wayland > - Verificação do kernel: Linux 6.1.59-1-lts > > ># Solution > >Turns out that Google's new 2FA method was not allowing me to proceed with verification. I turned off 2FA, >login in the Gnome Accounts and then turn back on the 2FA

    0

    Prologue

    Today I messed up with the permissions at my home folder, so after a struggle time I finally was able to enter in TTY2 and set all my home folder with permissions 766. However I don't know if all my files, folders and hidden stuff had this permission, but still, now my desktop is mostly working.

    Actual issue

    Now, with mostly correct permissions, I found that my Google Account synced wasn't retrieving any data, so I removed my account from Gnome Online Accounts and tried to login again.

    Well, it does not work as intended anymore. The popup shows asking for the username and after asking for the password. After I enter the password, it keeps loading forever never asking me for allow granting Gnome permissions. Interestingly, if I type the password wrong, it recognizes that's wrong and gives me a error message. This bug only happens when I type the correct username and password.

    Even more interesting, is that if I try to connect any other Google account, it does work!

    What I tried

    • Reboot my laptop
    • Remove the folders ~/.config/goa-1.0, ~/.cache/gnome-control-center-goa-helper and ~/.local/share/gnome-control-center-goa-helper
    • Restore the correct permissions to ~/.gnupg to 600
    • Creating a new user (I wasn't able to login as well)
    • Deleting app permission for Gnome on Google Manage Account
    • Tried to pacman -S gnutls, pacman -S gnome-online-accounts and pacman -S gvfs-goa

    I'm hopeless. I don't know what else to try. I need this account connected to my Gnome Online Accounts cause it makes part of my workflow.

    Is there any other configuration file I missed? Is there any other database I missed? Any ideia how to solve it?

    Thank you in advance, guys

    ---

    My setup

    Hardware Information:

    • Modelo do hardware: Acer Aspire A515-45
    • Memória: 12,0&nbsp;GiB
    • Processador: AMD Ryzen™ 7 5700U with Radeon™ Graphics × 16
    • Gráficos: AMD Radeon™ Graphics
    • Capacidade de disco: 256,1&nbsp;GB

    Software Information:

    • Versão do firmware: V1.13
    • Nome do SO: Arch Linux
    • Compilação do SO: rolling
    • Tipo do SO: 64 bits
    • Versão do GNOME: 45.0
    • Sistema de janelas: Wayland
    • Verificação do kernel: Linux 6.1.59-1-lts

    Solution

    Turns out that Google's new 2FA method was not allowing me to proceed with verification. I turned off 2FA, login in the Gnome Accounts and then turn back on the 2FA

    2
    flathub.org Resources | Flathub

    Monitor your system resources and processes

    Isso aí, gente... Recentemente descobri o Resources, um aplicativo Flatpak que é melhor que o Monitor de Sistema nativo do Gnome

    Já fiz o commit com a tradução dele para pt_br e já foi feito o merge, então ele deverá estar em português na próxima atualização!

    O que mais gostei nele é a integração com o ui/ux do Gnome e do libadwaita!

    0

    Um bug de buffer overflow foi descoberto no loader dinâmico ld.so na biblioteca GNU C enquanto há processamento na variável de ambiente GLIBC_TUNABLES.

    Esse bug permite que um invasor local use a variável de ambiente GLIBC_TUNABLES adulterada durante a inicialização de algum binário com permissão SUID para executar códigos com privilégios elevados (root).

    Muitas distribuições que utilizam o glibc estão potencialmente comprometidas, como por exemplo o Debian, Ubuntu, Fedora e muitas outras.

    No Arch Linux uma correção já está disponível para atualização, conforme commit 44132f9994aa3dc72cb82204fbee957675b8802e. A atualização está resolvida na versão 2.38-7.

    0
    valor-globo-com.translate.goog Na reunião em que Garnier aderiu ao golpe, comandante do Exército ameaçou prender Bolsonaro

    Encontro entre então presidente e cúpula das Forças Armadas foi relatado por Mauro Cid em delação

    Bolsonaro did planned a coup in Brazil's election last year.

    According to this article a high patent navy soldier agreed with the coup, however the army soldier at the meeting not only refused but also threatened to arrest Bolsonaro.

    But this is not everything. The army soldier just made this decision because Biden's government reinforced many times that USA does not support any coup in Brazil. If USA did not refused to support any coup, Brazil would be sent to a completely institutional chaos and a extreme right wing dictatorship and fascism.

    The extreme-right is a cancer growing all around the world. It must be stopped.

    0

    Context: this is my first printer and those are my first filament set

    14