I finally got around to putting a site up for this channel. The goal is to use it to document some of the things I learn and share code, etc. in a place that's easy to refer back to.
Jekyll has been a lot of fun and in my opinion pisses all over Wordpress for a typical blog site in terms of speed and security.
Tested out the X1 Carbon 6th gen Thinkpad with OpenBSD 6.3 after running FreeBSD 11.2 on it. Here are my thoughts after comparing the two.
Just a rant. No benchmarks or anything - just purely based off using it for a few days.
Overall, OpenBSD is way better in terms of out-of-the-box compatibility but FreeBSD performs way better on this laptop in my opinion.
...
https://www.youtube.com/watch?v=I7nwr4PVoEI
Found the simple solution to the problem that's been bugging me for months now.
As I mentioned in a previous video, OpenBSD was running abysmally slow after a shutdown (or sleep). Turns out it's a Thunderbolt issue.
Thunderbolt BIOS Assist is disabled by default. Enable it. Problem solved. (but unsure on its affect on battery life)
...
https://www.youtube.com/watch?v=JgJUy9Bx4wo
Thought I'd give a glimpse into my blogging workflow and why I prefer to use FreeBSD to get things done.
Starting with my distraction-free writing in Markdown (vim), conversion to html, uploading to the Wordpress server and using wp-cli to turn it into a post. 100% cli.
Vim plugins used:
Goyo - https://github.com/junegunn/goyo.vim
Limelight - https://github.com/junegunn/limelight.vim
vim-instant-markdown - https://github.com/suan/vim-instant-markdown
Run ':set noshowmode' in vim to turn off the INSERT status when typing distraction-free.
Python Markdown for converting .md file to .html - https://github.com/rollbar/Python-Markdown
#freebsd #blogging #wordpress #linux #vim
...
https://www.youtube.com/watch?v=sS4j9gYC8DM
I realize my definition of 'userland' is way too oversimplified here but I wanted to demonstrate one of the biggest reasons why I left Linux: it's a total mess.
Forgot to mention that Linux is technically 'just a kernel'.
All other applications are sourced elsewhere and packaged. FreeBSD on the other hand is a complete OS with its own base applications. That's why things are structured the way they are.
#freebsd #openbsd #linux
...
https://www.youtube.com/watch?v=EJEUYUPtNWA
New BIOS update for the ThinkPad X1 Carbon 6th which adds Linux sleep state support: https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x1-carbon-6th-gen-type-20kh-20kg/downloads/ds502281
Sleep seems to work great on OpenBSD as I demonstrate here (but needs to be tested for battery consumption overnight).
Get the X1 Carbon 6th here: https://goo.gl/Q7ZoDn (affiliate link)
See my other video on this laptop here: https://youtu.be/k9SPDGynGMQ
---------
...
https://www.youtube.com/watch?v=JDdqr0fdakg
If you haven't seen it yet, watch my video on poudriere here: https://youtu.be/F82gDh6S68E
Newsboat me here: https://www.i-bsd.com/
The catalyst for me switching to BSD from Linux was having stable, predictable package management that I can rely on.
Some Linux distros have fantastic package management but for me, none compare to FreeBSD (or the security/stability of OpenBSD).
See: https://www.freebsd.org/cgi/man.cgi?query=pkg&sektion=&n=1
#freebsd #poudriere #bsd #linux #openbsd
...
https://www.youtube.com/watch?v=tmWbVYR0foA
How to quickly fix the sound from the headphone jack and microphones in FreeBSD with the X1 Carbon 6th gen (same process applies to many other laptop models).
Just a matter of finding the appropriate 'nids' and correcting their 'as' numbers. I also forgot to mention that I changed the 'seq' numbers too which you can see in my /boot/device.hints file.
In summary:
Press '6' at boot time.
Turn verbose booting on.
Boot.
Run 'dmesg' and pipe/grep/more to find 'hda*' entries: 'dmesg | grep hda | more'
Find appropriate nids and adjust their 'as' and 'seq' numbers accordingly.
-------------
From what I understand, the 'seq' number is basically like a priority indicator with 15 being the lowest. So you want your internal devices to have a higher number (0 = internal, 15 = jack).
-------------
Also correcting a mistake made in my last video about the X1 Carbon 6th gen's Intel 8265 wireless device - works perfectly (I was wrong and my router sucks).
#freebsd #thinkpad #lenovo
...
https://www.youtube.com/watch?v=ki9z55hiRbQ
I bought an X1 Carbon 6th gen from Lenovo solely to install FreeBSD on for work. See here: https://goo.gl/Q7ZoDn (affiliate link)
NOTE: I had a terrible experience ordering from Lenovo directly. Their ordering and shipping process is an absolute disaster that takes over a month to ship with tonnes of complaints (I was lucky to receive mine in fact). I recommend ordering from the link above (Amazon) to save time and uncertainty.
-----
Function keys and backlighting require: acpi_video and acpi_ibm.
Trackpoint nipple and trackpad work flawlessly out of the box too forgot to mention.
iwm0 (8265) hangs when trying to associate with WPA2 router but connects instantly to open networks.
-----
#freebsd #linux #bsd #thinkpad #lenovo #laptop #review
...
https://www.youtube.com/watch?v=k9SPDGynGMQ
Need your advice - I'm having some issues with cava and the fifo visualizer in ncmpcpp on FreeBSD.
What's the best solution here? I must be missing something.
#freebsd #sound #cava #ncmpcpp #awesomewm
...
https://www.youtube.com/watch?v=oR-zxXb5Olk