[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: file.png (131 KB, 768x439)
131 KB
131 KB PNG
And i hate lf
Can I make it use pypy or something? I just found out main implementation of python is slow because they let modules modify its internals and pypy is supposed to be 10-50x faster
>>
>>108465738
>using ranger past 2014
reported
>>
>>108465742
literally my favorite program
lf tongues my anus
>>
>>108465756
Why not use the OG, Midnight Commander?
>>
>>108465776
because i'm not a 70 yo baby duck winbabby
>>
vibeported version of ranger to a fast language will be one of the only ai slop projects I'll be happy to adopt
>>
>>108465794
i liek it
What about nnn?
>>
>>108465803
Just use yazi
>>
>>108465742
>reported
and deported
>>
>>108465811
if i wanted to have the functionality of mv cp and rm i'd use those
>>
File: 1747405888783503.jpg (86 KB, 828x765)
86 KB
86 KB JPG
Literally no use case for a TUI file manager
>>
>>108465848
other than it being 10x faster to use
i'm not attached to TUI i'd much rather emacs and dired not be total dogshit
>>
Yazi is better. I found it to be more intuitive than others (lf, nnn, etc) as a former ranger user
>>
>>108465896
would be faster to write my own FM instead of fucking around with all the emoji and keybindings of yazi
>>
>>108465738
use
popd and
pushd
>>
>>108465738
>pypy is supposed to be 10-50x faster
it isn't really. maybe it's faster for long lived processes, but for quick startup and generic scripts, it's objectively worse.
>>
>>108465738
>this shit is so fucking slow
You didn't specify what "shit" is so slow. From the picture, it may be that you are clumsily trying to refer to the Ranger file manager yet in a curious way that avoids mentioning the name of the Ranger file manager. Curious.

The Ranger file manager is written in Python, an interpreted language with heavy library nesting.

Did you know that compiled languages are faster than interpreted languages? Sometimes by a factor as high as twenty?

I suppose someone who knows more than you, if motivated, could rewrite Ranger in C, which is a compiled language and, aside from glibc and possibly ncurses, would have no library bloat.

Note: mc is another file manager that runs in the terminal. It's very old, so very stable. Can you guess what language it was written in?
>>
>>108465814
>>108465803
Yazi is great but you'll need to configure it first.
It's not that great out of the box.
>>
File: much-thank.jpg (144 KB, 882x800)
144 KB
144 KB JPG
GNUnix users are so dumb..

> blaming high-level language runtime for speed (where it doesnt matter) while using antique design concepts
> blaming advanced design concepts as antique

you really dont know what youre doing
>>
TUI fm's seem unnecessary, to me, compared to fzf. There's so much extra stuff in something like Ranger, advanced features that aren't applicable outside of itself. Waste of learned information in my opinion, when you could just provide a convenient front-end for your normal file management tasks with fzf and your shell's configuration files.

https://codeberg.org/problems_available/zsh_config
https://codeberg.org/problems_available/scripts
>>
>>108466559
Though, it's kind of clunky, you have to be somewhat imaginative.
For example,
"cp fff ffd"
would open up fzf to allow you to select files to be copied into the directory selected by ffd.
>>
>>108466211
you're very pissy but i have 0 clue what over
>>
>>108465952
setopt autocd
setopt autopushd

alias popd=pop
>>
>>108465939
False
>>
either lf or yazi. but yazi's image previewer is shit. nnn need tmux/2nd terminal/tabbed
>>
>>108465860
It's literally not faster you absolute retard.
>>
File: 1597731711271.jpg (31 KB, 474x680)
31 KB
31 KB JPG
>>108465814
>>108465896
>>108465939
>yazi
>>
>>108465738
Retvrn to emacs. It's the Favstian choive.
>>
>>108465738
I made my own with ncurses in C and its instant, not sure how they fucked up ranger that bad but i do like it minus the speed
>>
i never thought such stupid people exist in tech. chaoticly repeating antique technologies and then in many years after trying to present a "faster" version.. its the year 2026 dude, it doesnt make sense anymore. probably since the times of retarded mc that was a shell, and yours, its not even a shell.

> i wrote my thing in assembler its really fast!

oh my, youre so so retarded.. you cannot even press 2 keys simulateneously in yer retarded GNUnix terminal. whats left for you is to install indian terminal with specs borrowed from retarded perl-dude.
>>
File: 2026-03-27-222909.png (7 KB, 951x26)
7 KB
7 KB PNG
I have a hard time believing that someone considers ranger to be slow.

It might be something else about your system?

I went to a dense dir (9856 files, 4.26G sum) and navigating through the files, I'm the slowest part of the equation, not the program.
>>
>>108469527
>>108469647
i want to fucking write my own emacs that's not dogshit and has good file manager but that isn't the day
>>108469870
my screenshot dir has 10k files and i wait 1.5s for it in lf and like 3-4 in ranger
i also have one dir with 60k files which is actually somewhat similar
i also see terminal redraw in real time when changing between dirs, pypy interestingly doesnt have this problem but it also doesnt have colors for some reason i havent looked into it
>>
>>108465860
>>108465836
>>108465794
such weird brown troon anger
disgusting.
>>
>>108471488
i use ranger for its features not because it runs of my 40 year old DOS shitbox
>>
>>108465814
>yiddish nazi
>>
>>108471493
wdym features? How do you use it in scripts?
>>
>>108471582
>using any interface
>in fucking scripts
holy fuck blow your head off what the fuck are you doing retard
>>
>>108472167
What features does ranger have that are only useful in ranger interactive mode that would justify using ranger at all vs raw cli or >>108466559?

If it had such useful features to justify it's usage, I would presume that it would be because you could somehow use it to automate something that you otherwise couldn't? How do you use ranger for shell completions and file management at the same time?
>>
>>108465738
>unc thinks he's a hacker
>>
>>108472260
image previews
visual mode + random sort so i can use it as music player
marks but probably everything does have that
good bindings
complex filters
built in atool and chmod interface
>ummmm actually but others have half of that too or you can spend 6 hours changing the keybindings t have the same thing
>>
>>108472288
Whenever I need it to do something new I just add the keybind in like a minute.
I have image preview, video previews, metadata, the same syntax highlight as vim, because I'm using vim to preview files, I have a different set of scripts for fzf for a music player, but I typically just use i3 keybinds and an i3blocks widget to show me mpd's status. It's just keybinds in my shell. Press enter and it sends the selections to stdout, or places them onto the command line, depending on the function called. It directly augments the cli, rather than working around it.
>>
>>108472334
ok but did i ask you about that
>>
>>108472341
ok but did i ask you about that
>>
>>108472342
nice comeback retard
>still using the turd that is i3
>>
>>108472348
All other wm's are based on a sales pitch that couches a losing value proposition (There are a few exceptions, but I don't like those wm's). Being immune to propaganda, I didn't fall for it.
>>
>>108472355
i dont speak marketing degree maybe you should've gotten a real job
>>
>>108472362
It doesn't require a marketing degree to understand how to avoid lying to yourself about your buyer's remorse with words that a salesman gave you.
>>
>>108472334
why not vifm
>>
>>108472379
I don't remember. I messed with it for a bit and ran into something I couldn't do, that I could do with fzf. No idea what that was.
>>
>>108472379
I think it was previewing files w/ nvimpager. Total dealbreaker if I can't use that, because treesitter.
>>
>>108472334
>Whenever I need it to do something new I just add the keybind in like a minute.
they will never understand this true feeling of freedom in personal computing
>>
>>108472445
ikr. It's like Trump salivating over Cuba. It's all yours, you can do whatever you want with it.
>>
>>108465848
Managing images is a use case since ranger can show previews of them. Otherwise I agree. Cd, mv, cp, etc. are good enough.
>>
>>108472535
maybe you should learn the docs if you dont know how to use it
>>
>>108465738>>108465776
>>108465756

why are you using a bad version of norton commander for DOS fromthe early 90s?
Is this kewl in loonix land?

https://www.youtube.com/watch?v=Fw1roAlruZ4

pls don't be angry and hax me l33t hax0rs!
>>
>>108472583
btw im trans not sure if that matters
>>
>>108472577
I read that one from time to time just to figure out what people even use it for.
>>108472583
Pretty much. It's command line training wheels that got shilled to new users. There are a few circumstances where a tui interface is more expedient than using the command-line, but they are sparse enough that you have to make a deliberate effort to keep them in mind when using the command line like an adult.
>>
>>108472606
you're a genuine fucking imbecile
>>
File: 1774469937213619.jpg (253 KB, 1096x1620)
253 KB
253 KB JPG
>>108472587
(you)
>>
>>108472621
stop advertising your twitter and go back alrady
>>
>>108472610
I tend to think I'm rather inauthentic, personally.
>>
>>108472610
Ah you are unfamiliar with Norton Commander for DOS then. Figures being a l33t j44t loonix hax0r and everything.
>>
>>108472633>>108472587

but you said you were a self mutilator?
>>
>>108472167
I realized I have the perfect example for you.
I press super+r,s and I get this popup to select a wallpaper.
>>
>>108472716
why the fuck would i use a file manager for that
cd $WALLPAPERS; ls |fzf |xargs xwallpaper --tile
>those comments
>>
>>108472745
I have many widgets and I over-comment all of them.
>why the fuck would i use a file manager for that
If you haven't set FZF_DEFAULT_OPTS to something useful, that's your problem.
>>
>>108472753
learn to use a computer retard
>>
>>108472762
nitrogen is the only application that allows me to set my wallpapers for each monitor individually without writing some ass-backwards wrapper script. I go out of my way to compile gtkmm and gtk2, just so that I can compile nitrogen.
>>
>>108472769
usage: xwallpaper ------> [--screen <screen>] <------------ [--clear] [--daemon] [--debug]
[--no-atoms] [--no-randr] [--no-root] [--trim widthxheight[+x+y]]
[--output <output>] [--center <file>] [--focus <file>]
[--maximize <file>] [--stretch <file>] [--tile <file>] [--zoom <file>]
[--version]
>>
>>108472773
No memory. Can't restore. Still have to write a wrapper script.
>>
>>108472773
Eventually, I will be forced to move to xwallpaper.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.