Thinking of moving to FreeBSD from Linux

im running 14.1 with quarterly packages
looks like the fix made last month isnt in the quarterly branch yet

Version : 20240106

Code:
Yes Master ? pkg info libc6-shim-20240106
libc6-shim-20240106
Name           : libc6-shim
Version        : 20240106
Installed on   : Sat Apr 13 12:22:50 2024 BST
Origin         : emulators/libc6-shim
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : emulators
Licenses       : MIT
Maintainer     : iwtcex@gmail.com
WWW            : https://github.com/shkhln/libc6-shim
Comment        : ABI-compatible glibc shim library
Shared Libs provided:
        librt.so.1
Annotations    :
        FreeBSD_version: 1400097
        build_timestamp: 2024-04-09T09:39:36+0000
        built_by       : poudriere-git-3.4.1-1-g1e9f97d6
        port_checkout_unclean: no
        port_git_hash  : b3aa1ea86
        ports_top_checkout_unclean: no
        ports_top_git_hash: c5cd82114
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 5.53MiB
Description    :
A shim library providing limited glibc ABI compatibility on top of FreeBSD libc.
It allows loading shared objects compiled on Linux and dynamically linked to
glibc into native FreeBSD processes.

ffmpeg nvenc not working for me

Code:
nv-sglrun ffmpeg -i input.mp4 -c:v hevc_nvenc -c:a aac out.mp4

Code:
[hevc_nvenc @ 0x9acae69e400] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_OPERATING_SYSTEM: OS call failed or operation not supported on this OS
[vost#0:0/hevc_nvenc @ 0x9acae634700] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Error while filtering: Unknown error occurred
[out#0/mp4 @ 0x9acae625540] Nothing was written into output file, because at least one of its streams received no packets.
 
I like your shell prompt.

my zsh prompt

Code:
~/.zshrc

Code:
# variables for PS3 prompt
newline=$'\n'
yesmaster='Yes Master ? '

# PS3 prompt function
function zle-line-init zle-keymap-select {
    PS1="[%n@%M %~]${newline}${yesmaster}"
    zle reset-prompt
}

# run PS3 prompt function
zle -N zle-line-init
zle -N zle-keymap-select

# set terminal window title to program name
case $TERM in
  (*xterm* | xterm-256color)
    function precmd {
      print -Pn "\e]0;%(1j,%j job%(2j|s|); ,)%~\a"
    }
    function preexec {
      printf "\033]0;%s\a" "$1"
    }
  ;;
esac

 
I use that phrase in my Lisp REPL prompt. A Lisp machine I once got came with it preprogrammed in the LED display.
 
i have had a few comments on youtube videos i made about the prompt
from people who took it the wrong way

thinking "Yes Master" was like something out of one of those old 1930s movies
with ethnic stereotypes

the prompt is actually from the story of the genie and the lamp

just remined me of the clip from Father Ted

I Hear You're A Racist Now, Father! - Father Ted

 
Back
Top