HackerTrans
TopNewTrendsCommentsPastAskShowJobs

davidschultz

no profile record

comments

davidschultz
·3개월 전·discuss
Nice. To get your dependency Notcurses::Native built via zef on my OpenSUSE Tumbleweed, I had to run

zypper in ffmpeg-7-libavdevice-devel ffmpeg-7-libavutil-devel ffmpeg-7-libavcodec-devel libunistring-devel libdeflate-devel

which pulled in several dependencies, resulting in the overall package list:

ffmpeg-7-libavcodec-devel ffmpeg-7-libavutil-devel ffmpeg-7-libswresample-devel ffmpeg-7-libavformat-devel ffmpeg-7-libavdevice-devel ffmpeg-7-libavfilter-devel ffmpeg-7-libpostproc-devel ffmpeg-7-libswscale-devel libdeflate-devel libunistring-devel

Maybe just a subset of these is necessary. Conversely, I've already had ffmpeg-7 and libavcodec57 and a number of other devel packages installed from before, so some other packages might also be neccessary. Still, this might help you in adding instructions for installing your Notcurses::Native on OpenSUSE.
davidschultz
·4개월 전·discuss
For feedback, you could try asking here: https://www.erdosproblems.com/961
davidschultz
·9개월 전·discuss
The book by Moritz Lenz is quite good. https://link.springer.com/book/10.1007/978-1-4842-6109-5

There's also this polished three-hour introductory lecture: https://www.youtube.com/watch?v=eb-j1rxs7sc

Combine that with reading up on details in the reference and you're in for a decent start. https://docs.raku.org/reference
davidschultz
·9개월 전·discuss
In this case it might interest you to learn that in Raku (Perl 6), the values passed to a function are also by default immutable within that function.

If one wants the function to mutate them, one has to explicitly mark them as `$x is rw` in the function signature; this then requires one to always pass a mutable container for $x. (A bit more detail: https://andrewshitov.com/2019/10/15/110-is-rw-vs-is-raw-in-r... )