dotfiles | hyperfine | |
---|---|---|
5 | 75 | |
1 | 20,116 | |
- | - | |
7.9 | 8.1 | |
about 2 months ago | 16 days ago | |
Shell | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
Why Automate?
Folks enjoy citing XKCD 1205 in automation discussions because it does a great job illustrating the opportunity time cost of automation. The time spent to code a new solution for an already solved problem doesn't help solve business goals until after the investment pays off.
-
I setup my terminal for max productivity
as framed in the introduction of this article, https://xkcd.com/1205 is hard to ignore whenever i'm spending time configuring a tool in the name of "productivity"
but i just got nushell properly set up and i've realised that the table doesn't capture the whole dynamic: there's more to work than time trade-offs when new tools enable entirely new types of tasks.
nushell makes working with structured data fun and so i've started benchmarking my code and quickly doing performance analysis - something i was rarely doing before.
you can still ultimately reduce this down to time saved, i suppose, but as a person who's generally skeptical of terminal tweaking as procrastination in disguise, i can highly recommend giving nushell a go.
-
Blog Posts, Sorted by Sleep
I believe most of us sleep fewer than 3 times per day, so writing down times and doing a few subtractions and a little data entry once a week should be under 1 min/day to have everything digitised. (that said, https://xkcd.com/1205/ suggests it'd be worth spending up to 21 hours to fully automate)
-
Faster tetranucleotide (k-mer) frequencies!
There are no more obvious or easy gains here. Any more work is likely to yield small returns. Go outside, have a life or at the least consult the relevant chart.
-
Apple built iCloud to store billions of databases
It isn't as polished as whatever first-party solution Apple has the potential to develop, but I just use OneDrive to restore my personal data + chezmoi to reprovision my dotfiles and it works pretty well.
About every six months I do a fire drill and completely factory reset my macbook. Takes about 20 minutes (with only 5 minutes of actual keyboard attention required) for me to go from a fresh device to one that has all my apps and developer tools ready to roll.
https://github.com/eh8/dotfiles
hyperfine
-
Measuring startup and shutdown overhead of several code interpreters
Check out the official hyperfine Github repo
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
And then I used hyperfine to run the benchmarks on my MacBook Pro 14 M2 Max, and here are the results:
-
Faster tetranucleotide (k-mer) frequencies!
Search "benchmarking tools for linux" and decide that hyperfine is good for what I'm doing. Run Jennifer's new python script against my refactored perl and find that the python is 1.26 times faster for k=3 and 1.47 times faster for k=4. For the Covid-19 sequence, these are both on the order of hundreds of milliseconds.
- Hyperfine: A command-line benchmarking tool
- FLaNK Weekly 08 Jan 2024
-
Show HN: Inshellisense – IDE style shell autocomplete
> It is very possible to write sub 100ms procedures in TS, […]
I will not disagree with this statement because I don’t have a way to test inshellisense right now. Could you (or anyone with a working Node + NPM installation) please install inshellisense and post the actual numbers? Perhaps using a tool like hyperfine (https://github.com/sharkdp/hyperfine).
-
Firefox has surpassed Chrome on Speedometer
Yeah, while it's not as thorough as these tools, the method is at least reproducible and sane, and with ~10 or so samples, you get an interval with a nice confidence.
Another through method will be hyperfine[0], yet I wanted to provide a method which requires no installation and can be done in a whim, without jumps and hoops, with the tools already at hand.
[0]: https://github.com/sharkdp/hyperfine
-
How to optimize your config? What are mistakes to avoid when optimizing your config?
That is native and inbuild but I would suggest below options instead 1. Using lazy's Profile tab instead https://github.com/folke/lazy.nvim 2. Using a dedicated plugin to do this https://github.com/dstein64/vim-startuptime. 3. Using an external program hyperfine is one that I use https://github.com/sharkdp/hyperfine
-
How to remove all <br> from all of my .html files
Fair enough, although might I recommend using hyperfine for your testing? ;p
What are some alternatives?
faster-perl-for-reysenbach - Tracks the progress of making old Perl scripts faster and more maintainable. Working from Meneghin's perl-for-reysenbach-lab repository of bioinformatics scripts.
criterion.rs - Statistics-driven benchmarking library for Rust
fd - A simple, fast and user-friendly alternative to 'find'
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
awesome-mac - Now we have become very big, Different from the original idea. Collect premium software in various categories.
kubeconform - A FAST Kubernetes manifests validator, with support for Custom Resources!
quinn - Async-friendly QUIC implementation in Rust
quiche - 🥧 Savoury implementation of the QUIC transport protocol and HTTP/3
ble.sh - Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
bat - A cat(1) clone with wings.
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
dust - A more intuitive version of du in rust