Google's morale crisis is about to get worse
theverge.com
theverge.com
#!/bin/sh
tr @ '\34' \
|sed 's/articleBody/@/;s/}/@/g' \
|tr @ '\12' \
|sed -n 's/\\n/@/g;s/’/'"'"'/g;
s/—/-/g;s/…/.../g;
s/̶[01];/\"/g;s/\"$//;s/^\":\"//p' \
|tr -d '\240' \
|tr @ '\12' \
|tr '\34' @
curl -si40A "" https://www.theverge.com/2024/3/3/24089843/google-morale-crisis-about-to-get-worse|1.sh > 1.txt
firefox ./1.txt (overkill)
less 1.txtI would also like to thank you for sending me down a pointless rabbit hole which led to this cleaner madness:
curl -sL https://www.theverge.com/2024/3/3/24089843/google-morale-crisis-about-to-get-worse | grep -Pio 'application/ld\+json">\K[^<]+' | jq -r '.articleBody'I only use curl and firefox in HN examples. I do not use these programs myself.
sed and tr are each small, fast and ubiquitous. Found by default in GNU/Linux and BSD userland for the last 30 years. Both found in GNU/Linux and BSD multicall binaries.
I'm not a Perl RE user. Neither busybox nor NetBSD grep has a -P option.
Extracting text from HTMLJSON, as a one-off, on the computers I own (older, smaller, underpowered) might look something like
echo https://www.theverge.com/2024/3/3/24089843/google-morale-crisis-about-to-get-worse \
|yy025|nc -vv h6 80 > 1.htm
yy059 < 1.htm|sed -n '/articleBody/{p;q;}'|yy032|less
or
yy059 < 1.htm|grep -m1 articleBody|yy032|less
h6 is a loopback-bound forward proxyStatic binaries
81.6 KiB nc
45.9 KiB yy025
45.9 KiB yy032
45.9 KiB yy059
By comparison 234.2 KiB GNU grep (dynamically-linked to libpcre2)
614.3 KiB libpcre2-8.so.0.11.2
370.0 KiB libjq.so.1.0.4 (dynamically-linked to jq)
607.6 KiB libonig.so.5.4.0 (dynamically-linked to libjq)> While most employees will still be getting an overall increase to their compensation, the majority won’t be getting anywhere near as much of an increase as they have in years prior, according to internal emails and documents shared with managers that I’ve seen. For the “significant impact” rating that the majority of employees are assigned by their managers, there will be no salary increase in most cases.
HN guidelines[1]
Previously I thought that the subscriber share mechanisms would offer a bit of a balance here but with the entire industry worried about AI training I’m not sure that’ll help since they’re going to be worried about even a single retrieval not gated behind a login system where you agree to pay them more for training.
Life imitating art, I suppose.