Use Cursor Composer 2.5 Anywhere With an OpenAI-Compatible API
TL;DR
Personal blog about programming & tech
TL;DR
2X Performance With One Line
Living in a dorm room with one AC unit per unit, not room, means that when my bedroom gets too hot from the computer running, I have to turn on a fan and open the door. I find myself constantly wishing for a thermostat, or at least some other way of automating it. As a computer scientist with an interest in computer engineering, I can’t help but feel like there’s a better way…
Sometimes, you need certain header files that aren’t available with the default MacOS toolchain. For example, I’m building a replacement for caffeinate which completely disables sleep while the laptop lid is closed, so my stuff can keep compiling, rendering, and etc. while it’s in my backpack. But it needs a header that I found hidden deep within the depths of the MacOS kernel source code, AKA…
FFmpeg is immensely powerful when it comes to modifying and transcoding videos, but it’s lacking one important feature: it can’t handle multiple files at once! Luckily, we have scripts.
If you have a MacBook with Touch ID, you can skip typing your password into sudo by using Touch ID! It’s much faster and potentially more secure. It’s also surprisingly easy, and you can do it by adding one line to a file.
You heard that right. You can nearly double your hashrate with minimal effort, and increase efficiency. Just download a miner, it’s that easy. This quick guide is meant to get you mining ASAP.
So you want an ultra-cheap VPN service, huh?
M1 Macs don’t have support for Bootcamp, so you can’t install Windows through normal means. So, in order to have a working Windows environment, you have to do it all in a virtual machine. The problem is that QEMU isn’t optimized for M1 Macs, and virtualization is very slow… unless it uses MacOS’ Hypervisor.Framework. While this isn’t quite as performant as paid solutions (like Parallels), it works…
Update: This guide is no longer needed! Discord now has official M1 support, and it’s much better than this workaround. As expected, performance and battery life on M1 Macs has greatly improved. Just download Discord from the official website.