Passkeys explained simply

Question Passkeys will probably replace passwords in the future. How do they work? Can you explain passkeys in simple words? Answer When you sign up to a website, instead of entering a new password, your browser generates a new key…

php: command not found on MacOS and Homebrew

Question I have installed PHP on MacOS with Homebrew using this command: However if I run php from command line (e.g. php –version) I get this error: How can I fix this? Answer You need to use this command: However…

Error while installing openssl gem on MacOS with bundler

Question An error occurred while installing openssl (2.2.2), and Bundler cannot continue. How do I solve this error on MacOS? I have upgraded MacOS, Xcode, Xcode command line tools, Homebrew and the Homebrew formula for openssl. Now when I run…

How to reduce memory usage in Ruby

Question Sidekiq workers consume a lot of memory: how can I fix that? I have a Rails application that can usually run with about 1 GB of RAM. However there are some Sidekiq workers that constantly grow over time –…

What happens when a Kubernetes pod is OOM killed

Question What do you see if a pod is killed because memory on the node is insufficient? I read that Kubernetes will kill some pods if the memory on a node is not enough for all the workloads. What will…