Blog: 2025-01-28: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "I was gonna type up my thoughts on kids stem activities that teach coding and technology BUT my wiki was down!! And this was after a 2 week period where I effed up my framework pc, rendering it unbootable, and my hard disk on my macbook air died. Um, can somebody say, "UH OH"? Fortunately I had a gpg key in my signal history on my phone ... or all would be lost .. except not really cause my 1tb storage drive on my framework pc is working still to my knowledge so I'd ju...")
 
No edit summary
 
Line 10: Line 10:


Which reminds me, I've been meaning to set up a copy of the database here on postgresql ... and write it up
Which reminds me, I've been meaning to set up a copy of the database here on postgresql ... and write it up

---

also weeel I couldn't get libsodium to install via brew for vim, due to this curl command failing:

<pre>
$ brew install libsodium
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching libsodium
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/9055af132726ed52c03f70381b2098c64133de10/Formula/lib/lib
Already downloaded: /Users/razzi/Library/Caches/Homebrew/downloads/534333a03b08b0ba3007edc139be295db98982f05efe808c39a6dc9f20189e5a--libsodium.rb
==> Downloading https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
curl: (35) LibreSSL/2.8.3: error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version

Error: libsodium: Failed to download resource "libsodium"
Download failed: https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
</pre>

But I ran it with -vv and it revealed its secrets:

<pre>
$ brew install libsodium -vv
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching libsodium
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/9055af132726ed52c03f70381b2098c64133de10/Formula/lib/libsodium.rb
Already downloaded: /Users/razzi/Library/Caches/Homebrew/downloads/534333a03b08b0ba3007edc139be295db98982f05efe808c39a6dc9f20189e5a--libsodium.rb
==> Verifying checksum for '534333a03b08b0ba3007edc139be295db98982f05efe808c39a6dc9f20189e5a--libsodium.rb'
==> Downloading https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19-28-g6b7e0ec\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.7.10\)\ curl/8.1.2 --header Accept-Language:\ en --fail --retry 3 --remote-time --output /Users/razzi/Library/Caches/Homebrew/downloads/42180c99fe7945bacc2cd79a0096df714ac3f4ca387735865a73493f8eeb150b--libsodium-1.0.20.tar.gz.incomplete --location https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) LibreSSL/2.8.3: error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version
Error: libsodium: Failed to download resource "libsodium"
</pre>

Ok so I ran the curl command with my updated version of curl ... and it worked

But it put the download in a .incomplete file ... so ok I removed the .incomplete extension and then everything worked

It makes me feel l33t hax but also .. it's a bit bummer cause every error like this is a reason for a person to trash an old computer

Well luckily I have this strategy of getting enough on my mac for day-to-day, then just booting a lish machine to do proper unix development. Ok!

Latest revision as of 22:51, 28 January 2025

I was gonna type up my thoughts on kids stem activities that teach coding and technology BUT my wiki was down!!

And this was after a 2 week period where I effed up my framework pc, rendering it unbootable, and my hard disk on my macbook air died. Um, can somebody say, "UH OH"?

Fortunately I had a gpg key in my signal history on my phone ... or all would be lost .. except not really cause my 1tb storage drive on my framework pc is working still to my knowledge so I'd just have to take it in for data recovery or whatever.

Also I'm typing this on my macbook pro, I was able to get a 500gb 3rd-party storage drive which almost seemed like it was a bust until I installed macos 10.13 with apfs support (requirement?) onto an external hard drive, then it was recognized and yay it works.

But I still was kinda worried I'd have soft-lost my wiki, since the mysql process keeps dying, and I didn't have any ssh keys that were able to log me on. But the root pass is in my password store, and maybe even I can't log in with password using ssh, but linode has its LISH console which gave me a password prompt. success - rebooted mysql.

Which reminds me, I've been meaning to set up a copy of the database here on postgresql ... and write it up

---

also weeel I couldn't get libsodium to install via brew for vim, due to this curl command failing:

$ brew install libsodium
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching libsodium
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/9055af132726ed52c03f70381b2098c64133de10/Formula/lib/lib
Already downloaded: /Users/razzi/Library/Caches/Homebrew/downloads/534333a03b08b0ba3007edc139be295db98982f05efe808c39a6dc9f20189e5a--libsodium.rb
==> Downloading https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
curl: (35) LibreSSL/2.8.3: error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version                       

Error: libsodium: Failed to download resource "libsodium"
Download failed: https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz

But I ran it with -vv and it revealed its secrets:

$ brew install libsodium -vv
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Fetching libsodium
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/9055af132726ed52c03f70381b2098c64133de10/Formula/lib/libsodium.rb
Already downloaded: /Users/razzi/Library/Caches/Homebrew/downloads/534333a03b08b0ba3007edc139be295db98982f05efe808c39a6dc9f20189e5a--libsodium.rb
==> Verifying checksum for '534333a03b08b0ba3007edc139be295db98982f05efe808c39a6dc9f20189e5a--libsodium.rb'
==> Downloading https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.19-28-g6b7e0ec\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 11.7.10\)\ curl/8.1.2 --header Accept-Language:\ en --fail --retry 3 --remote-time --output /Users/razzi/Library/Caches/Homebrew/downloads/42180c99fe7945bacc2cd79a0096df714ac3f4ca387735865a73493f8eeb150b--libsodium-1.0.20.tar.gz.incomplete --location https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) LibreSSL/2.8.3: error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version
Error: libsodium: Failed to download resource "libsodium"

Ok so I ran the curl command with my updated version of curl ... and it worked

But it put the download in a .incomplete file ... so ok I removed the .incomplete extension and then everything worked

It makes me feel l33t hax but also .. it's a bit bummer cause every error like this is a reason for a person to trash an old computer

Well luckily I have this strategy of getting enough on my mac for day-to-day, then just booting a lish machine to do proper unix development. Ok!