Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sharkdp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
sharkdp
6y ago
In the past years, I have actually experienced Hacktoberfest as a really great event - both as a contributor as well as a maintainer. The recent events sadden me, but I also understand why these changes were necessary. I just opted in to Ha
32.
▲
by
sharkdp
7y ago
Very cool! I'd love to reference this in the hyperfine README
33.
▲
by
sharkdp
7y ago
Thank you for the feedback. No, we never thought about HTML output. However, there are multiple other export options and we also ship Python scripts that can be used to plot the benchmark results. The script is not very large, so far, but w
34.
▲
by
sharkdp
7y ago
Thank you for the feedback. I agree with most of your points. > Most -- nearly all -- benchmarking tools like this work from a normality assumption I don't think that hyperfine makes any assumption about normality. Sure, we do repor
35.
▲
by
sharkdp
7y ago
Thank you very much for your feedback!
36.
▲
by
sharkdp
7y ago
I have submitted "hyperfine" 1.5 years ago when it just came out. Since then, the program has gained functionality (statistical outlier detection, result export, parametrized benchmarks) and maturity. Old discussion: https:/
37.
▲
Show HN: Hyperfine – a command-line benchmarking tool
(github.com)
96 points
by
sharkdp
7y ago
|
25 comments
38.
▲
by
sharkdp
7y ago
Thank you for the feedback. No, it does not evaluate its argument twice - see this test: https://github.com/sharkdp/dbg-macro/blob/f30cdda9fc5332e062...
39.
▲
by
sharkdp
7y ago
Thank you for the feedback. We deliberately chose not to do this (see discussion in https://github.com/sharkdp/dbg-macro/issues/26 ), mainly for the reasons given in the Rust documentation: > The dbg! macro
40.
▲
by
sharkdp
7y ago
Yes, it is definitely inspired by Rusts `dbg!(..)` macro (see bottom part of the README). A lot of my open source projects are written in Rust and I really liked the idea of the `dbg!(..)` macro, so I wanted something similar for my work in
41.
▲
Show HN: A dbg(...) macro for C++
(github.com)
162 points
by
sharkdp
7y ago
|
51 comments
42.
▲
by
sharkdp
7y ago
(author of bat here) Exactly. Drop-in compatibility with 'cat' is one of the goals of bat (see https://github.com/sharkdp/bat#project-goals-and-alternative... and a list of alternatives here: https:/&#x
43.
▲
by
sharkdp
7y ago
Thank you for the feedback. I have added a new "rgb-float" format in the latest release: https://github.com/sharkdp/pastel/releases/tag/v0.5.3
44.
▲
by
sharkdp
7y ago
Insect is an open source, high-precision scientific calculator with support for physical units, which I wrote some time ago. There is a version on the web and one for the terminal. Web version: https://insect.sh/ Your calcu
45.
▲
by
sharkdp
7y ago
Author of fd here. Thank you for your feedback. If you feel that there is anything we could to to improve fd's UX, it would be great if you could share it on GitHub: https://github.com/sharkdp/fd > Why separati
46.
▲
by
sharkdp
8y ago
I forked lsd just to fix these build instructions: https://github.com/Peltoche/lsd/pull/33 I removed my fork...
47.
▲
by
sharkdp
8y ago
Fixed in v0.3.1 ( https://github.com/sharkdp/hexyl/releases/tag/v0.3.1 ) :-)
48.
▲
by
sharkdp
8y ago
It seems I was wrong. The new hexyl version is significantly faster (see my other comment)
49.
▲
by
sharkdp
8y ago
Thanks to that PR, hexyl is now slightly faster than hexdump. Both are about a factor of 2-3 slower than xxd: Benchmark #1: hexyl $(which hexyl) Time (mean ± σ): 169.8 ms ± 8.2 ms [User: 152.5 ms, System: 17.1 ms]
50.
▲
by
sharkdp
8y ago
Thank you. Not all of them are by me, but I typically just use Inkscape.
51.
▲
by
sharkdp
8y ago
Thank you! See: https://github.com/sharkdp/hexyl/issues/6
52.
▲
by
sharkdp
8y ago
... and I have already used hyperfine to benchmark hexyl as well :-) Yes, it's a shame. But I don't think there is too much we can do about it. We have to print much more to the console due to the ANSI escape codes and we also hav
53.
▲
by
sharkdp
8y ago
It works just fine on Windows (you probably need PowerShell for the ANSI escape codes)
54.
▲
by
sharkdp
8y ago
The logo shows a small part of this molecule: https://en.wikipedia.org/wiki/Hexanitrodiphenylamine .. which is apparently also called "Hexyl". Granted, I was just looking for a short word that starts with &qu
55.
▲
by
sharkdp
8y ago
Please see: https://github.com/sharkdp/hexyl/issues/9
56.
▲
The difference between “binary” and “text” files
(dev.to)
3 points
by
sharkdp
8y ago
|
0 comments
57.
▲
by
sharkdp
8y ago
I have written a short (and definitely subjective) overview of the different alternatives here: https://github.com/sharkdp/bat/blob/master/doc/alternatives....
58.
▲
by
sharkdp
9y ago
You are on the right track with that initial thought :-)
59.
▲
Show HN: CuriositY
(shark.fish)
12 points
by
sharkdp
9y ago
|
10 comments
60.
▲
by
sharkdp
9y ago
The regex-equivalent for "anything" is usually "<dot><asterisk>" where the dot is for "any character" and the asterisk is for "any number of times (including zero)". fd does necessarily pa
More ›