Skip Navigation
Locked
Lemmy.world is down because of a DDOS attack
  • Then change the title of the post to something open-ended like "How vulnerable is Lemmy to DDOS attacks?". Taking out a major node which hosts many key communities is going to have an adverse impact.

  • 2FA and You: Some tips for enabling 2FA
  • The TOTP feature in Bitwarden works, if you paste in the whole otpauth:// URI to Bitwarden's Authenticator Key (TOTP) field. The URL specifies that the hashing algorithm should be SHA256. If you just import the secret= value into Authy, it probably defaults to using the SHA-1 algorithm, which may be why the codes generated by Authy don't work.

    SHA256 is more secure than SHA-1, which I guess is why Lemmy has chosen to use it for its 2FA feature.

  • What is a beautiful concept or idea that continues to blow your mind?
  • It would have to be Gödel's Incompleteness Theorem. Such a beautiful proof that shakes mathematics to its core.

    The science communicator Veritasium made a nice video about it: https://youtu.be/HeQX2HjkcNo

    I first learned about it in Douglas Hofstaedter's masterpiece Gödel Escher Bach: An Eternal Golden Braid

  • I told ChatGPT to code hello world in rust and comment in pirate slang 😂
  • When I compiled that program, the executable was around 10MB. I wrote the same program in C, and the executable was 15kB. That's about 3 orders of magnitude difference. Is Rust really 1000 times better than C? :-)

  • Lemmy.world (and some others) were hacked
  • Very good. I think a feature where a user can revoke all their cookie sessions is still worthwhile, and maybe I'll look at raising a feature request for that, but it is good to know that cookies stolen during the recent hack have already been addressed.

  • Recommend me a good and cheap VPS.
  • Presumably they mean that the CPU resources are over-provisioned, meaning that the virtual CPUs allocated to VMs have to share a smaller pool of physical CPUs. If the VMs have a lot of idle time, this can work well, but if your VM suddenly needs more CPU, the processes on your VM might need to wait for a physical CPU, as physical CPU cycles that would normally be available to you have been "stolen away" by processes running on other VMs.

  • Breathed new life into my Google Pixel 2

    My Google Pixel 2 was abandoned my its maker a few years back, stranded on Android 11. Today I found it again as I was rooting around in a drawer, and decided to see if it could be given a new lease of life through a custom ROM.

    Many of the more recent privacy-related custom ROMs such as GrapheneOS, CalyxOS and iodéOS do not support the Pixel 2. I did discover the LineageOS does support it, so my next topic to research was how to provide Google Play services to those apps which require it.

    The official LineageOS supports the installation of the Google Apps suite. However, as I am trying to de-google my life, I came across a fork of LineageOS that supports the microG implementation of google services, similar to how CalyxOS and iodéOS do it.

    The installation process didn't look too difficult, so I prepared the phone my unlocking the boot loader, installed a recovery image, and tried to flash the phone. It just sat there, saying it was "verifying the image", with no apparent progress. I tried different cables with both my linux machine and my Mac, but no joy.

    Eventually I discovered that using USB-C to USB-C cables can be problematic. With my Mac, there is no choice, but my linux server still has some USB-A ports. I found a USB-A to USB-C cable, and it turned out this was the missing magic. The LineageOS for microG image was flashed to the phone, and I was up and running in short order.

    I put my Bitwarden password manager on the phone, and then hit a snag when it tried to do 2FA with my Yubikey. I was half expecting this, not sure whether Fido2 WebAuthn 2FA would be possible. I tried installing the chromium-based Brave browser, and found that together with the microG services, I was able to successfully authenticate with the Yubikey via NFC.

    I am very happy that I managed to get my old phone working again with an updated de-googled OS. In the coming days I'll experiment some more to see what else is possible.

    0
    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/)AU
    aussiematt @lemm.ee
    Posts 1
    Comments 15