Make is traditionally used to build artifacts from program source code. It can also be used for other tasks, where you need to “build” something out of a “source-of-truth”. For example: video-editing. I personally find ffmpeg able to generate better quality compressed videos than FCPX or Premiere Pro, which is especially important if the desired… Continue reading Using Makefile for Non-programming Tasks
Author: yifangu
Mining Ethereum on M1 Mac GPU
TL;DR: It’s possible to mine Ethereum on a M1 Mac GPU. Hashrate is about 2Mh/s. I’ve had my M1 MacBook Air for a bit of time now, and I also recently started mining Ethereum. I can’t help asking myself: What’s Ethereum mining performance like on a M1 Mac? The obvious thing to do first is… Continue reading Mining Ethereum on M1 Mac GPU
LAN Party VPN – My experience with WinTun, Windows Firewall, NSIS and Windows Defender
I’ve recently made LAN Party VPN. It makes playing LAN games with friends on Discord effortless. LPVPN is written in C++, mostly because Discord SDK is only available in C, C++ and C#. So I didn’t have much of an option here. The idea of LPVPN is rather simple, get IP packets from WinTun (the… Continue reading LAN Party VPN – My experience with WinTun, Windows Firewall, NSIS and Windows Defender
Wasmino = WASM + Arduino (Running Arduino code in browser)
Wasmino is an Arduino core fully compatible with the Arduino IDE. It allows you to compile your Arduino sketch to WebAssembly and run it in a browser, all using the Arduino IDE. Showcase This is the off-the-shelf “Fade” example in the Arduino IDE. You can see it compiled to WASM and running here: (Click the… Continue reading Wasmino = WASM + Arduino (Running Arduino code in browser)
R5 Thermal Mod, take 2
Pretty much the same idea as the previous attempt, but with graphite sheets to conduct heat better (I’m using Panasonic PGS sheets). This is 100% not recommended because the graphite sheets are conductive, and are more likely to cause damage.
Canon EOS R5 Thermal Mod
Required Tools / Material PH0 Screw Driver (it must be PH0, anything else won’t do) Tweezers (Optional, but nice to have) Thermal Pads (1mm thick, preferably uncut) Thermal Pads (2mm thick, preferably uncut) Scissors (to cut the thermal pads) Disclaimer If you break your camera, it’s not my fault. I also don’t guarantee it will… Continue reading Canon EOS R5 Thermal Mod
CFExpress – M.2 Adapter, Now with better Signal / Power Integrity and Open Source
This is a newer iteration of the CFExpress – M.2 Adapter, with better routing to ensure signal integrity on the M.2 side. And the PCBs are now copper poured for both GND and +3.3V on the M.2 side. Source: https://github.com/gyf304/cfxm2 Bill of Materials: PCS Mfgr Part Number Description 1 TE Connectivity 1-2199230-5 CONN EDGE DUAL… Continue reading CFExpress – M.2 Adapter, Now with better Signal / Power Integrity and Open Source
More CFExpress (CFX) Card Experimentation – PCB Design for a Passive CFExpress – M.2 Adapter
As I mentioned in a previous post, it seems that it’s totally possible to convert a NVME SSD to a CFExpress Card. So here’s my first take on that. J1 is the PCB edge connector for the CFExpress card, J2, J3 are FFC (ribbon cable) connectors, and J4 is the M.2 connector. I’m 99% sure… Continue reading More CFExpress (CFX) Card Experimentation – PCB Design for a Passive CFExpress – M.2 Adapter
Testing out the DJI Osmo Pocket
Recently got the DJI Osmo Pocket on a sale. Always wanted something that’s not my iPhone which can record 4K/60 so I jumped on the boat. Anyway here is a demo video of the Osmo Pocket. I’m generally happy about the performance, but wished that it can do a bit better with noise.
Improving the K40 – The Electrical System
One of the downsides of the K40 is the electrical outlets: they are not grounded. This is somewhat a issue because by duct fan has a grounding prong and I cannot connect that to the included outlets. So time to add an actual real electrical outlet. It even comes with 2 extra USB ports in… Continue reading Improving the K40 – The Electrical System