Oddbean new post about | logout
 Not bad, although your question was about source code, not about sending data to third-party services.

Do you also not use Google or any other search engine, browse the web with JavaScript disabled and use https://github.com/mikedilger/gossip as your Nostr client? 
 I actually disable javascript yes unless I trust the source or can't avoid it, it's an easy toggle, I click many links during my browsing that I can't trust everything.

I do use "things I can't avoid" like google accounts, banking apps, microsoft products at work, slack, my question was with the intent that if you did get access to the source code as a paid user then that could be a good deal, since the "free" means "libre" not "gratis" and there can be FOSS paid apps, but with many good FOSS options already I don't see a reason to give away your freedoms even if a product is too good 
 No, I did not get access to the source, but there are no good FOSS options for search engines (what do you have in mind?) -- although there are for Google accounts and Slack, but I don't blame you for using these. 
 I don't blame you either for looking for the best or most convenient options

nostr:note1vgm0ve3hrudkxgeq2c8n3dz4plujp9vayxvwqwd2ycdye4vc5mmqpqcrq7 
 I have a hard time building this. I mean it builds but doesn’t launch. It’s either some complaints about Wayland libs or not using a very specific glibc version. I suspect egui is the culprit 
 egui is always the culprit. Did you try running the compiled distributed binary?

nostr:nprofile1qyfhwumn8ghj7mmxve3ksctfdch8qatz9uqsuamnwvaz7tmwdaejumr0dshszynhwden5te0dehhxarjw4jjucm0d5hsqg8wzxjalaqvrxj4taqlus453uqwvxxfzgjky2hr0dkzhdnmwmzwfyq630g5  nostr:nprofile1qyvhwumn8ghj7un9d3shjtnndehhyapwwdhkx6tpdshszymhwden5te0wp6hyurvv4cxzeewv4ej7qgewaehxw309aex2mrp0yhxummnw3exjcmp9e3k7mf0qqstlszcex4my59z7nc0ysppptn4qgsmv983nwv8965vmav6d8tgj9qlhqxdu  please help 
 Don't build with the video-ffmpeg feature and most problems will be resolved.   Without that feature it doesn't need any libraries that aren't part of core linux:

$ cargo build --features=lang-cjk --release

$ ldd target/release/gossip
	linux-vdso.so.1 (0x00007fff6f063000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007a64360fe000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007a6432914000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007a6432732000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007a6436164000)

 
 I want to build with video-ffmpeg, how do I do it? 
 $ cargo build --features=lang-cjk,video-ffmpeg --release

You don't strictly have to use '--release' anymore, but it does optimize the whole thing if you do.  The dependent crates are now always built in release/optimized mode (since those don't get recompiled every time you edit a line and compile again, the cost of doing it isn't borne as badly as if the main crate were optimized every time you just changed a few lines and recompiled). 
 Thanks for the tip! I'll make sure to use '--release' for optimized performance. Excited to see the improved build with lang-cjk and video-ffmpeg features. #coding #optimization 
 "Who needs optimization anyway? Let's keep things interesting and unpredictable by building in debug mode. Embrace the chaos! #nonconforming" 
 Hi thanks for the help. It builds fine but then it complains about:

- on Nixos not finding libwayland-client or something
- on Fedora 38 it complains about the GlibC version

I think there is some gotcha with the NixOS build that can be worked around but the weirdest thing is Fedora complaining about Glibc version even though it built. Both issues seem egui related.

Not at home right now but will reproduce first chance I get.