I really wanted to like NixOS (and I do, theoretically), but I couldn’t dedicate more than 5 full days over Christmas to learn how to get to a working development system.
I really wanted to like NixOS (and I do, theoretically), but I couldn’t dedicate more than 5 full days over Christmas to learn how to get to a working development system.
Very interesting. Do you have any more info about the relationship between 1080p/60hz and battery? It sounds intuitively true, I’d just like to learn more.
Very nice! I was just looking at reviews on this. Really nice machine in every way, except maybe for the camera, and minor points off for the display being “only” 1080p. I have a lovely framework 13", but am jealous of the Lemur’s battery life.
Thanks!
This is the case for me as well. I tried NixOS this weekend, and even though it has more adoption than Guix, it still does not have 100% coverage of all software I wanted. That said, the packages I did install were pretty up-to-date. I guess NixOS is as close to “critical mass” as we’ve got when it comes to this type of OS. But if I were a wizard devops type person with more time, I’d probably enjoy Guix more.
Given encouragement to try tmux, here is what I’ve come up with as a “one-liner” (script) that does what I was originally looking for:
#!/bin/sh
tmux new-session -d -s split_screen_grep \; \
send-keys "/bin/sh -c '$1' | tee /tmp/split_screen_grep.txt" C-m \; \
split-window -h \; \
select-pane -t 1 \; \
send-keys "tail -f /tmp/split_screen_grep.txt | grep '$2'" C-m \;
tmux attach-session -t split_screen_grep
I use it as follows, first arg is a command, second arg is a pattern to search for:
$ ./split-grep "cat big_file.txt" "tmux"
Thanks! I’m curious if there is a way to do this as a one-liner?
Elegant and flexible, thank you!
ChatGPT suggests the following:
rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR/ | tee /tmp/rsync_output.txt
tail -f /tmp/rsync_output.txt | grep denied
Not quite a one-liner, but I can see how tmux is a big help here.
Keep an eye on Pop COSMIC. It isn’t ready yet, but I’d give it 4 months and I think it would be a great match for something like rpi.
Is it possible to get this to work with OBS studio? I see the author mentions OBS as an “Alternative Project” but it seems ideal to have these pieces work together.
This is really cool in concept, but it is SO SLOW. OMG.
I’ve started playing with Chimera Linux. Super interesting hybrid between BSD-like systems (ports, BSD-derived userland tools) and the Linux kernel, with neat design choices like LLVM compiler instead of gcc and musl C instead of glibc. I think of it as a next-gen Void Linux.
Yes, it’s supposed to be animated. I saw it animating earlier today. However, I can no longer see an animation (Firefox and Chromium both tested). Strange!
I wonder if it is related to these:
Install
intel-gpu-tools
. Set GPU to max frequency:sudo intel_gpu_frequency -m
If this fixes the issue as it did for “L L”, the speculation is that the root cause is related to on-demand frequency management.
Here’s how I would investigate this:
journalctl
logs on the command-line, i.e. in the Terminal app, type journalctl | grep -i blender
(the symbol between journalctl
and grep
is a pipe aka vertical bar) I’d be looking for things like crashed processes, warnings, or errors, especially around the time of the freeze.Ah, thanks! Slightly different location, but basically the same. Here we go:
$ grep CONFIG_KERNEL_ /boot/config-6.4.6-76060406-generic
# CONFIG_KERNEL_GZIP is not set
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_KERNEL_ZSTD=y
So the kernel is “zstd” compressed.
OTOH, I’m not sure if this means anything about initrd (ASCII cpio archive
??)
$ file /boot/initrd.img-6.4.6-76060406-generic
/boot/initrd.img-6.4.6-76060406-generic: ASCII cpio archive (SVR4 with no CRC)
Wow, this told me much more than I expected; however, I’m still not sure if it’s zstd:
/boot/vmlinuz-6.4.6-76060406-generic: Linux kernel x86 boot executable bzImage, version 6.4.6-76060406-generic (jenkins@warp.pop-os.org) #202307241739~1694621917~22.04~ac5e1a8 SMP PREEMPT_DYNAMIC Wed S, RO-rootFS, swap_dev 0XD, Normal VGA
bzImage sounds like…bzip2, maybe?
When I check this file, it is already set at COMPRESS=zstd
. However, I’m not sure if it’s working as I think, because the vmlinuz-6.4* kernel file is not a zstd file? Maybe it uses zstd for just a portion of the binary…
Working development system. I got quite far, but after so much work, became very frustrated when a VSCode plugin wouldn’t work properly because it needed (and assumed) read/write access. I didn’t want to have to manage and think about every little plugin I experimented with at the OS level.