I was listening to the Decoder podcast, where Jay Graber (the CEO of Bluesky) was interviewed, and it reminded me of a mental trap that I often fall into. It’s much better now because I detect it a mile away and successfully stop myself fast. When I start a new project, I devise a grand […]
Category: Tech
After listening to the DotSocial Podcast episode “Moving the Fediverse Forward at FediForum and Beyond, with Johannes Ernst of Dazzle Labs“, a question stuck with me and I think is very relevant: What can we do now that the Fediverse exists that we couldn’t before? One example Johannes Ernst provides is someone trying to make […]
PHP floating point precision
I was attempting to find if the result of a calculation returned a number with any decimals. So, I was doing something like: To my surprise the code above returns: ‘has decimals’ If you do the math in any calculator the result of 123.1/0.1=1231 and in fact that is what PHP displays when you do: […]
Remote Control another Mac on your network
You need to go to the Mac you want to access and under System Preferences->Sharing activate the following: On all this options you can limit the users that can have access. On the File Sharing option, you can determine what folders can be accessed in the network and by whom. On Remote Management you will […]
Since macOS Catalina that zsh is the default shell. From what I could understand this was caused by a change in Bash license to GPL after version 3. So, since version 3 of Bash is pretty old they changed the default to zsh. Since Homebrew is not yet fully Apple Silicon compatible using Homebrew was […]