aoc-2021
ack3
aoc-2021 | ack3 | |
---|---|---|
2 | 21 | |
0 | 676 | |
- | 1.5% | |
0.0 | 4.4 | |
about 2 years ago | 16 days ago | |
Rust | Perl | |
MIT License | GNU General Public License v3.0 or later |
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.
aoc-2021
-
[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good.
I try to go fast as well! Here's my repo, there's criterion benchmarks on every commit run by github actions. I think I'm at a few milliseconds for the first 11 days
-
-🎄- 2021 Day 10 Solutions -🎄-
I've got a similar yet different solution! I used a few helper function that are really match statements, plus a filter-map with a special case in the "return None;" branch and a sort. https://github.com/PurpleMyst/aoc-2021/blob/dc9feb525d3a13558b879468831b43ff103357ab/day10/src/lib.rs
ack3
-
Any Linux admins willing to try Pygrep?
fyi ack is like this but for perl instead of python https://beyondgrep.com/
-
Vim: ZZ and zz: Do you know the difference?
If you just need a single shell command you can do :!. Example:
:!ack "stupid_structure->who_wrote_this_crap.oooohhhhh\s+="
(and if you wonder what "ack" means: https://beyondgrep.com/)
-
Share your little shell functions and one-liners that make your life easier
Ack is consistent with grep but will sensibly handle the recursive stuff for you.
-
Found malware in the source code for my company’s website
Scan the file tree containing the website for the links, or part of tje links, for example with ack which is an easy to use, recursive reimplementation of grep.
-
What is something you want to make, but python is too slow for it?
I've thought about redoing ack in Python but it wasn't any faster than the current Perl.
-
I made grep -- but better
Ever hear of ack it might be a faster alternative.
-
Ask HN: Can I see your scripts?
No, but thanks for pointing out its existence. Homepage:
https://beyondgrep.com/
-
Can't run freeze_graph python script, No module named 'tensorflow.python'
(ack comes from ack-grep, a better version of grep, but you can just replace it with grep -r)
-
Using Ack To Search Elixir Code
I've been a fan of ack for quite some time. Somehow (and I'm not quite sure how) once or twice it's found stuff in source code that VSCode simply misses (likely I was searching wrong with VSCode). And there are a few things I've found that make it even more effective in searching Elixir code that I thought I'd share.
-
ripgrep: grep but better
Very much agreed. I'm a developer and I honestly prefer ack (https://beyondgrep.com/) myself. But it has the exact same issue. It's not standard.
What are some alternatives?
fzf.vim - fzf :heart: vim
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
the_silver_searcher - A code-searching tool similar to ack, but faster.
net-amqp-rabbitmq - Perl bindings to the librabbitmq-c AMQP library.
website - The source code for the beyondgrep.com website
ttygif - Convert terminal recordings to animated gifs
autobots - ⚡️ Scripts & dotfiles for automation and/or bootstrapping new system setup
perl5 - 🐪 The Perl programming language
advent - individual solutions at AoC
exiftool - ExifTool meta information reader/writer
go - The Go programming language
adventofcode - Solutions for problems from AdventOfCode.com