package architecture (amd64) does not match system (arm64)
I can try to compile rg from source but… that’ll take a little while… have to install cargo / rust first
package architecture (amd64) does not match system (arm64)
I can try to compile rg from source but… that’ll take a little while… have to install cargo / rust first
Hmm. I’m specifically having timeouts on calling rg from within Javascript running Node. I can call rg to find its version but exec of anything more complicated times out.
I wrote a test file that isolates the issue as straight Nodejs code. If you pull the latest scv-bilara, you can run npm run test:test and will fail because your system has ripgrep 13. The tests pass on my machine because I have ripgrep 12. The tests fail on my machine when I run with ripgrep 13.
The nodejs call never returns even though manual execution of the same command returns blazingly fast.
Okay. Compiled rg from source.
ENVIRONMENT VERSION INFORMATION
===============================
npm --version => EXPECTED:8.x.x ACTUAL:8.9.0
node --version => EXPECTED:v16.x.x ACTUAL:v18.2.0
rg --version => EXPECTED:ripgrep 12.x.x ... ACTUAL:ripgrep 12.1.1 -SIMD -AVX (compiled)
scripts/env-info: line 7: sudo: command not found sudo lsb_release -r => EXPECTED:Release: 10 ACTUAL:
SEARCH TIMES FOR "root of suffering"
====================================
Checking grep...
real 0m19.370s
user 0m0.732s
sys 0m6.838s
Checking ripgrep...
real 0m0.045s
user 0m0.020s
sys 0m0.031s
Search now runs in 3 secs
DN20:22.13: They rejoice with all the spirits
Congratulations!
So you are now able to find the root of suffering?
Oh yes. This little passion project has taught me a lot about suffering
SN42.11:2.13: For desire is the root of suffering.
And 13 is unlucky. Thank you, Venerable. I will continue researching rg 13 issue, which remains perplexing.
I have updated the install script to require ripgrep 12. This is a sad state of affairs that I am unable to debug. Nodejs 16 exec does not provide sufficient information about root cause of failure and simply times out.
As was I. Happy to hear that a greater mind than mine was also stumped by this little koan!
I have created an issue for the BurntSushi team for ripgrep:
Perhaps greater minds will prevail…
10 minutes later…
Well, guess what. Andrew posted a fix for 2227. ripgrep 13 works now!!!
Please get scv-bilara v3.33.0
Wow, that’s fast!
Did so!
Thank you!
And to use ripgrep 13:
scripts/install-ripgrep
You may still be on 12. To verify:
ripgrep --version
Ripgrep 13 is even faster.
Hmm …
~/dev/scv-bilara:[main]:> ripgrep --version
Command 'ripgrep' not found, did you mean:
command 'zipgrep' from deb unzip (6.0-25ubuntu1)
command 'sipgrep' from deb sipgrep (2.1.0-2build1)
Try: sudo apt install <deb name>
Ah. Sorry:
rg --version
Okay, thanks. But it’s not 12 what I have, but ripgrep 11.0.2
.
And after running the install script it’s now ripgrep 13.0.0 (rev 7ec2fd51ba)
And scv-bilara still finds the root of suffering!
woohoo! rg 13 works now! Thanks @karl_lew
Same results as 12, and indeed slightly faster! woot!
I will increase the maximum download time to 5 hours. I listened to DN33 in English myself for quite some time and thought nobody would ever wish to listen to something longer than three hours. I am quite impressed with your walking meditation fortitude! It is inspiring.
Oh my, that is even longer! I think that might be 7 hours long!
Looks like we’ll need to raise the limit even more. Let’s not upload that until you are done with DN33 and we can save D&D space. Let me know when you are ready…
Well, then you should be able to find a player that works. VLC media player for example works fine, and it’s free.
Just an update. I have managed to download both DN16 and DN33 in English, Brian narration.
BTW, Bhante Ānandajoti has made a recording of DN16. Here is the first part. He has reconstructed all of the repetitions. Going through all the times Ven. Ānanda was given “the hint” in full really drives home how much he wasn’t paying attention.
You need a 4 week retreat to listen to that …?
It certainly must have taken him a long time to record it. That can be an inspiring experience too.