56quarters
56quarters on Hacker News
(I work at Grafana but not on the Agent)
I'm really excited to see how this goes because the "static" YAML config for a typical Agent setup (e.g. scrape metrics from pods in a Kubernetes cluster) is quite verbose and difficult to figure out unless you already know exactly what you're doing. I always end up having to find somewhere to copy/paste it from :)
Posted by
56quarters on Monday April 18, 2022 @06:49PM
from the pnas.org dept.
https://en.wikipedia.org/wiki/Three-fifths_CompromiseRepresentatives and direct Taxes shall be apportioned among the several States which may be included within this Union, according to their respective Numbers, which shall be determined by adding to the whole Number of free Persons, including those bound to Service for a Term of Years, and excluding Indians not taxed, three fifths of all other Persons.
The Redis protocol uses length prefixes for bulk strings and arrays (per your linked document). That enables it to read multiple bytes at a time off the socket, though it does seem like you'll still end up doing a bit of character by character processing with the result.
RESP uses prefixed lengths to transfer bulk data, so there is never a need to scan the payload for special characters like it happens for instance with JSON, nor to quote the payload that needs to be sent to the server.
The Bulk and Multi Bulk lengths can be processed with code that performs a single operation per character while at the same time scanning for the CR character, like the following C code:
Posted by
56quarters on Thursday June 27, 2019 @11:30PM
from the infoq.com dept.
Posted by
56quarters on Saturday July 21, 2018 @12:49PM
from the blog.cloudflare.com dept.
Posted by
56quarters on Thursday January 12, 2017 @02:03PM
from the scienceblogs.com dept.
+1 for Termux.
I started using it purely for the novelty of running emacs on my phone (a moto x pure) and it's a great piece of software. It's even open source!
https://github.com/termux/termux-app
Posted by
56quarters on Wednesday March 02, 2016 @10:22AM
from the 18f.gsa.gov dept.
Posted by
56quarters on Wednesday February 03, 2016 @11:41PM
from the pythonsweetness.tumblr.com dept.
Posted by
56quarters on Thursday December 03, 2015 @10:53PM
from the daemonology.net dept.
Posted by
56quarters on Friday October 16, 2015 @09:06AM
from the blog.codecentric.de dept.
Posted by
56quarters on Wednesday October 07, 2015 @10:58PM
from the nullprogram.com dept.
Posted by
56quarters on Wednesday May 27, 2015 @08:00PM
from the pythonsweetness.tumblr.com dept.
I've found using minimization to give up 40% smaller files even after gzip. Even so, combining multiple JS or CSS files into single one and using image sprites will probably be your biggest win.