The only change is on step 4, mainly because homebrew has and odd path to store packages for M series Macs. I also added pinentry-touchid for better experience. I'll update the original post so you (well, future me as well) don't need to refer to multiple posts when configuring pass on your brand new Mac. Let's further break down the step;
First is the native BrowserPass
Download the latest release of BrowserPass -- select the darwin-arm64 version for Arm Mac.
Extract and jump into the folder
make BIN=browserpass-darwin-arm64 PREFIX=/usr/local configure
sudo make BIN=browserpass-darwin-arm64 PREFIX=/usr/local install
sudo make BIN=browserpass-darwin-arm64 PREFIX=/usr/local hosts-firefox
vi .password-store/.browserpass.json and put in
Next is the pinentry
brew install pinentry-mac
brew tap jorgelbg/tap
brew install pinentry-touchid
vi ~/.gnupg/gpg-agent.conf and enter pinentry-program /opt/homebrew/bin/pinentry-touchid
gpg-connect-agent reloadagent /bye or gpgconf --kill gpg-agent
ChatGPT is an advanced language model developed by OpenAI that can generate human-like text. It has been trained on huge datasets of internet texts, making it a great tool for programmers.
One of the most impressive features of ChatGPT is the ability to complete code snippets. This feature allows programmers to just provide a partial code example and ChatGPT will generate the rest of the code for them, saving a lot of time and effort. This is especially useful when working on complex projects where finding specific sections of code can be difficult and time consuming. Another great feature of ChatGPT for programmers is the ability to create documents. By providing code snippets, ChatGPT can generate detailed descriptions of your code, including comments and functional descriptions. This is very useful for developers working in teams. It helps make sure everyone is on the same page with regards to the codebase.
Additionally, you can use ChatGPT to generate code samples and tutorials. This is a great resource for novice programmers just starting to learn a new programming language or framework. ChatGPT can generate code examples that are easy to understand and follow, helping make the learning process faster and more efficient.
Overall, ChatGPT is a powerful tool that programmers of all skill levels can benefit from. The ability to complete code snippets, generate documentation, and create code examples and tutorials make it an essential tool for anyone working in the software development field.
As we near the end of the year, it's a natural time to reflect on the past and think about the future. This year has been a whirlwind for me, especially with the release of Yukbid earlier this year. I've been so focused on development and improving the user experience that I haven't had much time to write blogs.
However, that doesn't mean I haven't been writing at all. This blog was supposed to be my brain dumping ground, but as the development logs became more proprietary, I realized that I needed a way to document my thoughts and feelings that was just for me. That's when I started journaling. In fact, I've found that journaling has been a great way for me to reflect on my thoughts and experiences during the development process.
Journaling has been a wonderful way for me to process my thoughts and emotions as I work on Yukbid. It's a private and personal space where I can reflect on my successes and challenges, and think about what I want to achieve in the future.
Looking back on the past year, I'm proud of all that I've accomplished with my app. It's come a long way since its initial release, and I'm excited to see where it goes in the future. As I look ahead to the new year, I have big plans for my app and my business. I'm excited to see what the future holds, and I'm committed to continuing my journaling practice to help me stay focused and motivated.
If you're someone who has struggled to find the time or motivation to write blogs, I encourage you to try journaling instead. It's a great way to reflect on your experiences and think about your goals and aspirations. Who knows, it might just become a habit that helps you stay on track and achieve your dreams.
I kinda broke v1.0 when trying to smoothout the output from the sensor, rather than rebuild and do the same thing again, I want to rebuild from the ground-up. First step is making the ADS1232 reference design almost exactly as is, especially the filters. This time I want to simplify more things, especially in terms of battery management and workflow.
The grand scheme is basically still the same as v1.0, except this time just done properly rather than cobbled together. I design, well copy, everything with EasyEDA (first time ever -- please excuse my use of auto routing). The idea was order it directly from EasyEDA to JLCPCB, but turns out they ran out of ADS1232 and I required to buy 2000 pcs. Too rich for my blood. Now I have the all the files needed to shop around other fab places. Elecrow came on top in terms of pricing and least confusing process. Email them the files, and they'll response within 24h -- simple, who'd thunk?!
This is my final kitchen scale, further build will be minor iteration. I plan on another "plate" with 3kg load cell so I can use it with pour over, Chemex, etc. Then I need to update the "screen" so it can handle multiple plate without needing to re-calibrate. In mechanical keyboards terms, this is my endgame coffee scale. Anyway, all the files and technical details is in GitHub.
You know that feeling when you broke a thing right after the first time you turn it on? That's what happened to me when I got my CNC 3018. Put most of the things together, enough to test run it, plug it to my computer, tried to connect with UGS, connected, but can't get anything to move. X, Y, Z, spindle, no movement. Dang it, DOA?!
At first I thought it's because my control board still running grbl v0.9 while most tutorial / guides I read and watched mentioned grbl v1.1, so I'd just upgrade it, right? ez pz... boy was I wrong. The flash kept failing, I kept trying by changing the parameters, up to a point I got it to flash up to 3%, then it failed. Did I brick the board? I can't get it to connect to UGS anymore. Nothing on Arduino's Serial Monitor. What do I do now? It's about dinner time, so I took a break while thinking about making plans.
Plan A was to complain to the seller and claim that it's DOA. Plan B was to use my stock Anet A8, see if I can flash grbl into it, it's a spare board that has 4 stepper motor drivers on it. Plan C was starting to look into replacement board. So, as I set plan A in motion, open a complaint ticket to the seller, I started to look into grbl firmware for Anet board. No luck for plan B, worse part I tried to flash grbl to the Anet board anyway and killed it as well.
So, plan C, the cheapest grbl board I found was the Makerbase MKS DLC v2.0 -- it's about $20 without the stepper drivers. Then I realised that I never even look at which board was my CNC runing, it came with a black acrylic cover. So later into the night, it's like 3-4 am at this point, I open up the cover and try to look for a brand or something to see if it's even cheaper than the MKS DLC.
This is where I noticed two things, there's a switch for the 24V supply. That is why I can't get the stepper and spindle to move in the beginning. And, most importantly, I saw this unused, unsoldered ICSP port. And I remembered I have a thing, which turns out it's the thing I bought to burn bootloader into the Anet A8 board so I can flash my own Marlin Firmware.
So obviously, I quickly soldered header pins into it. The crystal oscillator is in the way of plugging in the adapter directly, so I just use jumper cable. Quickly flash grbl v1.1 to it. Voila! It's alive!! I also revive the Anet board by flashing Marlin v188.8.131.52 with stock A8 configuration. Soon after I cancel my complaint, the adrenaline and anger for killing a thing before even using it ceded, and fatigue came in.
Again, the USBasp programmer along with the ICSP adapter, you can get it for $2 on eBay or Ali, have it in your electronic box. You'd never know when you need it. While technically you can hack around and use an Arduino as the programmer, it's $2, get it now before you need it.
A simple project that birthed not long after I finished my macropad. With the amount of zoom meetings I've been having along with my MacBook just sits on a desk, clamshell mode, behind the screen, it'll make it easier if I can just plug my headphone directly into the desk without needing to reach around and what not.
This is a quick and simple project but you need to solder tiny wires. Here are the things you need:
TRRS cable, it can be extension cable, but you'll need to figure out how to mount it.
TRRS female connector, plate mounted if you want to use my STL
Mounting plate STL
Heat shrink tube to cover the soldering job
As you can see in the video, I made note of which pin correlates to which wire. I believe this should be universal, but feel free reconfirm this on your own.
It's almost two years since I posted my guide to PasswordStore, I still refer to that post from time to time. If you follow that guide, you'll hit this problem soon enough. Can't encrypt new password because the public key is expired. Well, here's how.
$ gpg --list-keys
$ gpg --edit-key <fingerprint>
Use the expire command to set a new expire date:
When prompted type 2y or however long you want the key to last for.
Select all the subkeys (the primary key, which we just set the expires date for, is key 0):
gpg> key 1
gpg> key 2
A star will appear before all selected keys.
Since the key has changed we now need to trust it, otherwise we get the error "There is no assurance this key belongs to the named user" when using they key:
Then we just need to export it again and pass it around to another computer or mobile apps.
Well, it's kinda already well underway. Quite a few things already push to the GitHub project. This project basically initiated when I broke v1.0. And since I already have some stability issue with it, which I can't pin point the origin of -- my very best guess was the ESP32 I used, but can't confirm it. Already killed the thing. And the readings stability was also poor, so I went ahead with this v2.0 project.
As mentioned in the GitHub, the grand scheme is basically still the same as v1.0, except this time just done properly rather than cobbled together. Except now it's wireless and I designed and printed the ADS1232 breakout board exactly as the reference design. The PCB has been ordered with Elecrow.
The Arduino sketch has gone as far as it can until the PCB arrives. At this point, all I can do is just designing and testing a bunch of case for the plate. Pictured on top is my very first design for v2. Seems a bit tight. We’ll see how it goes.