My Bog: https://reilyh.neocities.org/

Likes Cartoons, Art, Music, and Video Games!

Favorite Movie: Nimona

Credits

  • 2 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: May 6th, 2024

help-circle









  • Welp do I feel stupid, I got carried away explaining my setup. I will check some surface information about Plan 9, and watch the Mother Of All demos later, but from the way you described it it seems really interesting.

    • Window Manager: I’ve seen Niri, and like you said everyone has their own preference for a window manager. But for me it seemed like Niri’s infinite scroll feature is just workspaces, but it’s neat I’m not gonna lie. I’ll try it once I go wayland. Also thanks for the Macropad thing :)

    • Better Markup, Responsive Terminal UI, Unified UI: Aha I can see what you mean.

      Which of course works for things like lists of groceries or whatever, but works just as well for files in a file tree, items in a configuration file, the syntax tree of a piece of computer code, or a version control tree. On NLS (the system shown off in the demo), you could use the same interface, the shortcut keys, for interacting with all of these.

    I wonder if you can take this a step further and implement it on the window manager level. Program windows can also be viewed as a list which you can collapse and stuff. On a sidenote, there’s this window manager that lets you collapse windows (I think) I couldn’t find the original unixporn post though “https://www.youtube.com/watch?v=upCemv2UaLc&t=117

    • Noun Verb Syntax (Open With): I may be tripping balls here, but I may remember reading that zsh allows you to write your own completion system. You can then enter “example.mp4” hit [tab] and it will show you programs that handle such files. Since this feature is so useful, I think I’m gonna find out how graphical file managers manage such a think and implement it into a script using lf. I already have lf open things based on their mimetypes and I can just as easily add more programs to open such files. Do you know how many programs I found out from using the “Open With” feature?
    • Config Options Link To Manual: I think that there are a variety of config formats because there is no standard way to make them, so every developer has to come up with their own config format. We could maybe make a format like this [Option]=[Value] [Description]. Man pages already have a standard way of being written from what I have seen. If we can agree on a standard config format, then we can make all kinds of wacky shit with it.
    • Indexed Full Text Search: Oh I see what you mean. Yes that would get rid of my CPU intensive approach, thanks for recommending Recoll! This should make searching all these local Arch Wiki pages much easier!

    Now to whether or not this should be a standard on the OS level… I really don’t know. I mean I absolutely want it, but I’m pretty sure people would come up with a million ways of why this should stay as it is: The user has to install it themselves.

    • Tags: I agree that this should be implemented on the file system/manager level. Tagging is really powerful. Like I said, hydrus is really fucking nice, it is sorta like a file manager. But I think it needs a lot of rework. Also hydrus in a way is a unified UI that lets you view videos, text files, images, and maybe other file formats, to be honest I never checked. Although for opening and editing it mostly relies on external programs.

    PS: On Tagging. Just look at immich and it’s ability to let you search photos and videos using tags generated by AI. Like searching “A black cat sitting on a couch”. You can search stuff on their demo “https://demo.immich.app/” I understand that you meant this as a filesystem thing. But I’m just dropping the link for someone in the future to look at how cool this is.

    • File System Snapshot With Version Control: Oh no I’ve already heard of Timeshift, and OpenSuse’s feature sounds really powerful.
    • Plan 9: I think that treating everything as a file would be wonderful. But I really wonder how such a thing could be implemented.
    • Namespaces: I think I understood what you meant. But I don’t understand the bit about “In Plan 9 a namespace is a mapping between the file system as presented to a specific program, and the actual file system.” I will learn about Plan 9, as cat /dev/screen sounds wonderful.

    Well this has been wonderful. I may reply more in the near future once I get the time to check things like Niri, The Mother Of All Demos, and Plan 9’s philosophy.



  • I don’t understand like half of what’s written here, but I’d be happy to drop how I confronted such problems.

    • (On Window Manager) I use dwm ( doom :{ ), I like dwm, dwm has a lot of quirks. But it’s so extensible by your own shell scripts, to the point where you’d have something radically different than what you started with. Your own window manager tailored for your very own specific needs. You know that meme of that one person that has way too many keybindings so they’d have to place a peddle under their feet to shuffle through key bindings? I want that, where do I get one, and how do I set it up?

    • (Better Markup) Yeah I’ve been having issues with this lately. This will tie in with another point you made about a series of linked wiki articles. I have been using hugo, and there is this little neat feature called “shortcodes” that lets you make say a shortcode for a an image that rotates, then you go to the Markdown file and just type "{{ < shortcode_name >}} providing the necessary arguments. And hugo will compile for you an image that you rotate along side the Markdown content. Yes you need to know HTML and CSS for it, but I think it gives you quite the augmented Markup

    • (Responsive Terminal UI?). Hmm. Hmmmm. I would say sixel, but since you want collapsible sections. May I suggest building your own local wiki again? Maybe embedding a web browser inside of the terminal to get intractability.

    • Unifed UI. To be honest when you first mentioned this, my brain jumped to lf file manager. Inside it, it opens programs based on the type of the files and the programs that I specified:

      • I use neovim to view/edit text files.
      • zathrua for documents.
      • nsxiv for images. Especially with key-hander and you become a god. Here are some of my shortcuts for nsxiv:
        • path (copy file path)
        • copy (copy an image)
        • remove (🔥)
        • name (Rename) dragon (Enable drag and drop)
        • pqiv (another powerful image multimedia viewer)
        • e-config (edit the keybindings)
        • music (play music from the cover image)
      • nvim also as document editor since most of what I write is just Markdown converted to PDFs.
      • Terminal st There is this neat patch for dwm (Patch meaning you’d have to download this feature and patch it into vanilla dwm) that is called “swallow”. In which a terminal would swallow graphical programs ran from inside it. In the previous list, zathura and nsxiv are graphical programs, but they’d get swallowed, giving the illusion of a unified UI system.
    • (Auto Complete With Descriptions) I don’t understand the first half. But for completion: In zsh usually detailed auto complete is handled by the program you installed. My script called sc meaning “stupid commands” has options with descriptions. Searching this with a hotkey can be easily done with zsh plus some kinda of A W K black magic. Or your favorite text stream manipulator.

    • (Better Bash) I haven’t done any form of pure bash scripting, so I have much to learn.

    • (The Ultimate Manual) Yes. Yes. Yes. The closest thing I have to that is a downloaded version of the Arch Wiki that I can use in my browser offline. Although I’d love to see a dynamically generated system manual, that would get you what you want immediately instead of having to read the full arch wiki article. I would love to think about how such a thing could be developed. For now Man pages and the Arch wiki are enough for me. But yes, a dynamic manual, absolutely!

    • (Configs Linking To Manual) Have you heard of explainshell.com? Yes it’s for commands, and it tells you what the arguments do. I wonder if a similar thing could be developed for config files. It would gather all of your config options, and then using black magic it would predict how the program is gonna behave based on the given config options. I might have used the word “black magic” instead of an LLM. I don’t know if I can trust those things…

    • (Indexed Full Text Search) … Like I said, my documents are Markdown so it can be easily searched with grep. Although I wonder if a database of text generated by an OCR could give such a functionality. For now I open my document, and search it using zathura.

    • (Tags) Tags. MMMM. I don’t know what a BeOs is but I know that I use hydrus to manage any kind of files using tags. I can find any meme I have saved, because I tag them with multiple tags. Some people have used hydrus to manage audio, text files, and all other shenanigans. But to be honest, hydrus seems very hacky to me, it is not extensible, after all it’s like a personal booru. I’m waiting for a command line client that accesses the hydrus database (kinda like how you can control MPD using mpc. MPD being the Music Playing Daemon, and mpc its client.)

    • (File System Snapshots With Version Control) Yeah. This is pretty nice. Wait, is git not able to handle the whole system so we need a specific file system made for that purpose? Holy shit. Now that I think about it, you will be able to see everything that ever happened on Computer. Would take a shit fuck ton of space though. But I hear that storage is cheap, so go nuts.

    • (Plan 9) I always wanted to get into what the whole Plan 9 is about. Sadly I don’t know anything about this.

    • Please don’t laugh. I don’t know what a “namespace” is.

    In the end, it appears that most of these are hacky ways of getting what you want. You said it yourself, the perfect/ideal system. But that’s what it is, perfect. In my view, you can get very close to perfect but never fully realizing it. But that’s the beauty of it, how many nights did I spend trying to make all kinds of wacky shell scripts. Just take a look at what my scripts are named: animateRotate avgstudytime Emojis.sh genart gendunstrc Genre popup-dict RemoveNumbas shoot and my personal favorite sort_by_how_many_files_were_created_on_a_date a script that I took 2 or 3 hours to write, then used only once. Ahhh, Computer.

    This was written using nvim with VimWiki as a Markdown file using Markdown syntax highlighting, that I forgot how I set up.

    PS: I feel bad for not providing git repos because of my own laziness and incompetence.