Our great sponsors
-
backscanner
A scanner similar to bufio.Scanner, but it reads and returns lines in reverse order, starting at a given position and going backward.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
A while back, I had this task of reading a file backward, line by line, to find a particular value. There is no solution in std lib. So, I tried to use some existent solution from github, like backscanner. But you know what? After wrestling with some tricky corner cases and realising it didn't quite fit my needs, I rolled up my sleeves and came up with my own solution. And just last week, I decided to built a highly effective reverse scanner - rscanner. I tried to cover all those corner cases, made interface similar to bufio.Scanner and kept it effective. Any thoughts or feedback are welcome!
A while back, I had this task of reading a file backward, line by line, to find a particular value. There is no solution in std lib. So, I tried to use some existent solution from github, like backscanner. But you know what? After wrestling with some tricky corner cases and realising it didn't quite fit my needs, I rolled up my sleeves and came up with my own solution. And just last week, I decided to built a highly effective reverse scanner - rscanner. I tried to cover all those corner cases, made interface similar to bufio.Scanner and kept it effective. Any thoughts or feedback are welcome!
Related posts
- Found an amazingly handy terminal UI for both docker and docker-compose. Have actually just added the bin to my git repo with all my compose files. Great for a quick look at what is going on host machines.
- Found this nice top-like CLI tool for container metrics
- Show HN: Docker-phobia: Analyze Docker image size with a treemap
- Ask HN: Any tool for managing large and variable command lines?
- DwarFS – The Deduplicating Warp-Speed Advanced Read-Only File System