Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
apjana
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
apjana
7y ago
The version available on apt is older. The performance numbers are from master. I am on a device with SSD now and `nnn` master consistently gives a better performance in 3 runs. Here are the numbers I see with $LS_COLORS set to: ex=00
122.
▲
by
apjana
7y ago
lsd: run1: 0.03user 0.04system 0:00.16elapsed 50%CPU (0avgtext+0avgdata 4884maxresident)k 0inputs+0outputs (0major+4635minor)pagefaults 0swaps run2: 0.02user 0.05system 0:00.10elapsed 77%CPU (0avgtext+0avgdata 4920max
123.
▲
by
apjana
7y ago
Absolutely! I personally use xfce4-terminal is drop-down mode to preserve my contexts over days.
124.
▲
by
apjana
7y ago
Thanks for the compliment! The plugin-based mechanism fits perfectly with the fundamental design to keep the core file manager lean and fast, by delegating repetitive (but not necessarily file manager-specific) tasks to the plugins.
125.
▲
by
apjana
7y ago
They were kind of consistent across multiple runs.
126.
▲
by
apjana
7y ago
`nnn` is covered there. It's not a one-shot utility, but a file manager. Also, you would be happy to know I use the following alias on my system to fire it in 162 ms: alias n='nnn -isl'
127.
▲
by
apjana
7y ago
Extensions are (mostly) POSIX-compliant shell scripts (though they can be compiled binaries also). I have (kind of) explained in the main thread the reason I never felt the need of re-factoring the code into multiple files.
128.
▲
by
apjana
7y ago
I wish some open source enthusiast offered to contribute in return for the re-factoring you are looking for ;). I am (generally speaking) the lone developer of this project for 2 years. And with ctags and cscope I don't find any proble
129.
▲
by
apjana
7y ago
For reference, from the system where the numbers were taken: $ echo $LS_COLORS $ LS_COLORS wasn't set. The readings were taken for ls default performance.
130.
▲
by
apjana
7y ago
I am on a much faster system right now. From 2 sample runs of each, ls is consistently way (~5 times) faster than exa: exa: run1: 0.03user 0.02system 0:00.11elapsed 56%CPU (0avgtext+0avgdata 8672maxresident)k 208inputs+0output
131.
▲
Performance of nnn vs. ls
(github.com)
84 points
by
apjana
7y ago
|
57 comments
132.
▲
Show HN: Plugins for file manager nnn
2 points
by
apjana
8y ago
|
0 comments
133.
▲
by
apjana
8y ago
bcal (Byte CALculator) is a REPL CLI utility for storage expression evaluation, unit conversion and address calculation. If you can't calculate the hex address offset for (512 - 16) MiB, or the value when the 43rd bit of a 64-bit addre
134.
▲
Show HN: Bcal – Storage and general-purpose calculator
(github.com)
1 points
by
apjana
8y ago
|
1 comments
135.
▲
by
apjana
8y ago
keysniffer is a Linux kernel module to grab keys pressed in the keyboard, or a keylogger. keysniffer is also an academic project for devs willing to learn Linux kernel module programming, with extensive comments, checkpatch.pl scanned code,
136.
▲
Show HN: Keysniffer – Linux kernel mode debugfs keylogger
(github.com)
12 points
by
apjana
8y ago
|
1 comments
137.
▲
by
apjana
8y ago
imgp is a command line image resizer and rotator for JPEG and PNG images. It can resize (or thumbnail) and rotate thousands of images in a go, at lightning speed, while saving significantly on storage. Powered by multiprocessing, SIMD paral
138.
▲
Show HN: Imgp – high-performance batch image resizer & rotator
(github.com)
5 points
by
apjana
8y ago
|
1 comments
139.
▲
by
apjana
8y ago
Works fine for me. Steps right out of the terminal: 1. sudo apt install lynx 2. export BROWSER=lynx 3. ddgr hello world 4. Press 1 (to open the first result in lynx) The site is opened in lynx as expected.
140.
▲
by
apjana
8y ago
Strictly speaking, you don't need a browser. You can directly print the content of the results in the terminal with the newspaper library. Coming to the question - the advantage `ddgr` provides is much more flexibility to the DDG inter
141.
▲
by
apjana
8y ago
I use w3m all the time.
142.
▲
by
apjana
8y ago
n=0 is the default and results in the default behavior - sow all fetched results in the same page. Thanks for the compliment! Glad to know you like it. Update: In fact, there was an option and an extra API to fetch only the instant answer.
143.
▲
by
apjana
8y ago
You are right on spot! Couldn't have explained better myself.
144.
▲
by
apjana
8y ago
Try ddgr ip --np
145.
▲
by
apjana
8y ago
This is inherited from Python's webbrowser module. It would find a GUI browser by default. Please set `BROWSER` to your preferred text-based browser. To force use the GUI browser, use the prompt key `O` or the progrma option `--gb`. As
146.
▲
by
apjana
8y ago
What's the output of `echo $BROWSER`?
147.
▲
by
apjana
8y ago
Please try it out with googler.
148.
▲
by
apjana
8y ago
There's no such hard-coding. For me it opens in w3m. Probably you have BROWSER defined to a GUI browser.
149.
▲
by
apjana
8y ago
Thanks for sharing this.
150.
▲
by
apjana
8y ago
There are some examples in googler's introduction section. Check those out!
More ›