Skip Navigation
isti115 isti115 @lemmy.world
Posts 4
Comments 24
Looking for a tool to visualize folders based on number of files.
  • Thanks for your input! To me it seems like Nemo only counts the direct descendants and doesn't recurse, which makes it less useful for this purpose, but still nice to know!

  • Looking for a tool to visualize folders based on number of files.
  • Thank you for the idea! I didn't know about the --inodes flag before, this seems like a viable solution for systems where I can't / don't want to install additional software!

  • Looking for a tool to visualize folders based on number of files.
  • Oh, wow, thank you! I had ncdu installed, but it was an older version, which didn't yet have this feature. Now that I updated to the newest (Zig based 🎉) release this looks perfect for my needs!

  • Looking for a tool to visualize folders based on number of files.

    There are plenty of utilities (GUI, such as filelight and TUI, such as dua as well) for analyzing disk usage by space, but I would like to view my folders based on the count of files, as I'm making backups, and folders with lots of small files (e.g. node_modules) take very long to move around, so I guess that I'd be better of compressing those into a single file before archiving, as it's already highly unlikely that I'll need to access them anyway. Thanks for any pointers in advance!

    9
    When rubber duck debugging just doesn't cut it.
  • Thanks! 😀 I've been meaning to post about that as well in order to keep feeding Lemmy with content, but couldn't find either an active alternative to ErgoMechKeyboards or Battlestations. 🤔

  • When rubber duck debugging just doesn't cut it.
  • Well, I'd suggest asking around your nearest toddler, that's how I managed to borrow this one. 😀 Probably it has been inherited through several generations, that might explain it's wisdom!

  • When rubber duck debugging just doesn't cut it.
  • Thanks for the advice, but lo and behold, the issue was actually caused by a newly introduced generic parameter not being defined after a dependency update. 🙃 Oh, the wonders of the JS/TS ecosystem...

  • When rubber duck debugging just doesn't cut it.
  • Whoa, I just checked out some images, that one is on another level as well for sure. 😀 If he's as good at fighting bugs as criminals, you're in good hands wings!

  • When rubber duck debugging just doesn't cut it.

    If the rolling wooden variant still turns out not to be enough, I might need to source a real live duck. 🦆 Not sure how patient that would be at listening to me explaining code though. 🤔

    13
    Kinzinger says Christians who back Trump ‘don’t understand’ their religion
  • Let me preface this by clarifying that I don't claim to have the one and only right explanation that everyone should accept, I'd just like to point out that this theory also exists: https://hermeneutics.stackexchange.com/a/43799

  • Day 2 Solutions
  • Yes, quite the role reversal between the parts from yesterday. 😀

  • Trend-setter
  • Yepp, "Lateral with Tom Scott, Episode 58: Straight-line sports" in case anyone's looking for it. https://lateralcast.com/

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • River is actually really nice! I have been a Sway user for multiple years before, but as it reached parity with i3, it was deemed "feature complete" (which is reasonable, as it was made to be a drop-in replacement), so I switched to Hyprland, but after making a small contribution I found the development too chaotic, so I started looking for something else.

    I have been really happy with River. It still has some small shortcomings (e.g. minor visual glitches with fullscreening, and some less used options still missing), but the developers are very responsive on IRC (which I'm actually not a huge fan of, this was the first time I had to use it, but it's OK for what it is) and it being written in Zig is a huge selling point for me, as I don't have to write any C or C++ to extend it (my first PR is already on the way) when something I'd like to do is not yet possible.

    If you're willing to spend a while getting to know it and setting up the environment (it relies on external programs for some functionality that is built-in in other compositors, such as monitor management), then I'd definitely say that it's worth a shot!

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • Because ortholinear split keyboards aren't that easy to come by (I got tired of confusing my fingers when reaching for letters between them, now there is no "between", just straight columns. Also, I can hold my hands at shoulder width!), on the other hand this was an option I had all the necessary hardware for, and with some software configuration it is actually really usable!

    (The question could potentially also be "Why aren't more people using two numpads as a keyboard?", but I guess that the answer would be somewhere between they don't care about and they don't know about the advantages it would provide. 🙃)

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • Oh, sorry, I must've been replying to a keyboard related comment earlier and got the context mixed up in my head! 🤦‍♂️

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • The idea was from here: https://nitter.net/redditmechbot/status/979515586467201024 (The original reddit post has since been deleted.), but imagine the same with the Genius Numpad i100, which can be had for around the equivalent of $10 here. 😀

    This isn't long-term though, I just had it lying around and figured out how to make it work using evsieve to combine two keyboards into one and kanata to create the mapping. I am planning on building a piantor for myself, I just wanted to check if I could get used to an ortholinear 36 or 34 key layout, and so far it looks like I can adjust well.

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • 1.) I'm using wayland (river as a compositor at this point), and have not set up a key combo for riverctl exit in fear of an accidental trigger, but it might actually be a good idea.
    2.) As far as I know, that only applies to the VTTYs.
    3.) Setting up a screen locker program does seem like a good option for preventing unwanted input (which can occur for other reasons as well, such as my one year old son 😀) without potential loss of work / data! Is swaylock the go to solution for this nowadays?

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • Oh man, did that feel like a long time until I managed to get there... Adding insult to injury was that every step took two tries. First I didn't type my username for ssh, which resulted in the default termux user being used, so I had to cancel that and try again. After that I tried pkill kanata, which responded with killing pid ... failed: Operation not permitted, which made me realize, that it's running as root, so I need to use sudo to stop it.

    All this time I was hammering C-c with my other hand and keeping an eye on the screen as well to see what is happening. 😶

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • Wow, this reflects quite well on the feelings! 😄 Also, it shows that it could've been much worse. 😐

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • Glad you liked it! 😀
    Being able to at least entertain people by sharing my misfortune makes it more bearable. 😉

  • How I messed up by accidentally replaying all my keystrokes from the last few days
  • Yes, this keyboard idea was quite a rollercoaster, because at first I blamed myself for not pulling it, but then I realized, that it wouldn't have helped even if I did, as Kanata keeps running just fine with the bound input device removed. 🙃

    (Edit: Oh, sorry, you meant the power cable! 🤦‍♂️)

  • How I messed up by accidentally replaying all my keystrokes from the last few days

    github.com Nerf dynamic macros (how I messed up by running one that has been recording for days) · Issue #595 · jtroo/kanata

    Let me preface this by saying that I am aware of the fact that this one 100% user error on my part, and I don't mean to blame anyone else for it, the reason why I'm creatin this issue is that I'd l...

    Nerf dynamic macros (how I messed up by running one that has been recording for days) · Issue #595 · jtroo/kanata

    After getting a comment from the creator of kanata (an awesome piece of software by the way) that he found my story amusing, I figured that I'd also post it here, partly as fun, partly as a cautionary tale. Also, I'd appreciate any tips as to what to check for in my system, it's a weird feeling to know that some stuff might have been messed up under the hood.

    43

    Mass production of the AMD Ryzen 7040 series Framework Laptop 13 has begun!

    4
    "Practice" by Vitaliy Ishkov
  • First of all, great image 👍, but isn't it the record button that's usually red? 😀