For some reason the documentation does not mention this, but if you succeed in sending the null byte character to password_hash with the default Bcrypt algortihm, PHP with exit the application with a ValueError. Normally the browser will encode the input, but you can force the issue using e.g. cURL:...
Since the latest upgrade to Firefox 89.0.2 I have nothing but constant freezing (with Firefox only). Is anyone else also experiencing problems with this browser?
So we can do this: <?php declare(strict_types=1); class Foo { private array $bar; public function construct(array $bar) { $this->bar = $bar; } } And all is fine. Then we can remove the property declaration: <?php declare(strict_types=1); class Foo { public function construct(array $bar) { $this
So we all know that it's important for an authentication system not to reveal whether a user account exists or not and instead just provide a general message such as, "The account has been created in case you have provided a valid email address", etc. However, I find this pretty useless as it is ext...
I cannot get the ALT key to work in Xterm. In Midnight Commander the ALT key is used as a shortcut in a couple of options. Also in the Micro editor. I have the following in my .Xresources XTerm*termName: xterm-256color XTerm*utf8: 1 XTerm*locale: true XTerm*backarrowKey: false XTerm*bellIsUrgent: fa...
I cannot believe that ZFS is still not in the official Arch repos! Both zfs-linux(AUR) and zfs-dkms(AUR) has tons of votes and ZFS is gaining in popularity and usage on Linux every single day. Even Debian has got ZFS in its contrib repo. Yes, you can use the AUR, or the ALEZ script, or jump around a...
Since my original question on How to recognize fake 4K's?, a couple of days ago, I decided to do some testing of my own. I have compared a big bunch of upscaled 4K movies with their bluray counterparts, compared a bunch of native 4K with their bluray counterparts, reading a lot of reviews for compar...
So, I had just upgraded my storage and wanted to "update" some of the content from old encoded rips to remux or untouched versions. Then I discoveret that a lot of the so-called 4K stuff is really only upscaled 2K. How do you recognize the "fake" stuff so you can stick to the best quality? Is a real...
I need one that I can simply access using SSH and/or mount as a Samba/CIFS share. No app installation. Not too restrictive in datatransfer. And not too slow. Edit: Oh, and I forgot, that doesn't require you to send a freaking copy of a scan of your passport, fingerprint, iris-scan, and DNA profile!
I have the following result of "systemd-analyze blame": 14.095s systemd-journal-flush.service 8.118s dev-mapper-cryptroot.device 3.379s ldconfig.service 2.974s org.cups.cupsd.service 2.784s systemd-cryptsetup@swap.service 2.612s systemd-sysusers.service 2.393s systemd-hwdb-update.service 1.868s open...
I have noticed that Arch Linux haven't got a non-free (as in closed source) repo but instead mixes packages together. How do you prevent installing non-free software by mistake or as a dependency (if any, perhaps codecs)? Update: to anyone interested, this can be accomplished with a hook in pacman:...
I am looking into encrypting my next Arch installation, but I am not sure which method is the best except that I know I want a full system encryption. The Arch wiki talks about LUKS on LVM, LVM on LUKS, Simple partition layout with LUKS, Plain dm-crypt, etc. Which method do you guys recommend?
..I just wish it came WITHOUT systemd too! I just spend so many hours debugging network problems on an Arch installation only to find out, yet again, that the problem was in systemd-resolvd. I am SO sick of systemd trying to become everything and that's it's impossible to remove those parts. Init sy...
I have an external Seagate 4TB drive that has been set to spin down after 10 min. of inactivity using the Seagate Settings Tool. If the hard drive is formatted using EXT4 it will not spin down when it is mounted, but it will spin down when un-mounted. If the hard drive is formatted using XFS it spin...