213 karma · joined Jan 5, 2019 (7y ago) · 113 submissions
2.
How best to report website data breach?
2 points · by dcassett · 11mo ago · discuss
comment 11mo ago · link · parent
One thing I immediately miss (that rlwrap provides) are the keyboard functions such as reverse-search-history (usually mapped to C-r) and history-search-backward (have this mapped to M-p). History recall only seems possible with the up arrow.
Also, be in for some surprises if you try to paste some lisp code into the REPL, especially if there are long lines. The interaction is apparently meant for a human typing, not pasting.
comment 1y ago · link · parent
You can still find the software for Espresso (I ran it a few years ago):
https://en.wikipedia.org/wiki/Espresso_heuristic_logic_minim...
comment 1y ago · link · parent
Standard cell libraries often implement multiplexers using transmission gates (CMOS switches) with inverters to buffer the input and restore the signal drive. This implementation has the advantage of eliminating static hazards (glitches) in the output that can occur with conventional gates.
comment 1y ago · link · parent
comment 1y ago · link · parent
# If this is an xterm set the title to the directory stack
case "$TERM" in
xterm*|rxvt*)
if [ -x ~/bin/shorten-ds.pl ]; then
PS1="\[\e]0;\$(dirs -v | ~/bin/shorten-ds.pl)\a\]$PS1"
else
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
fi
;;
\*)
;;
esac
The script shorten_ds.pl takes e.g. 0 /var/log/apt
1 ~/Downloads
2 ~
and shortens it to: 0:apt 1:Downloads 2:~
#!/usr/bin/perl -w
use strict;
my @lines;
while (<>) {
chomp;
s%^ (\d+) %$1:%;
s%:.*/([^/]+)$%:$1%;
push @lines, $_
}
print join ' ', @lines;
That coupled with functions that take 'u 2' as shorthand for 'pushd +2' and
'o 2' for 'popd +2' make for easy manipulation of the directory stack: u() {
if [[ $1 =~ ^[0-9]+$ ]]; then
pushd "+$1"
else
pushd "$@"
fi
}
o() {
if [[ $1 =~ ^[0-9]+$ ]]; then
popd "+$1"
else
popd "$@" # lazy way to cause an error
fi
}comment 1y ago · link · parent
Also, my wife had a test requiring an injection of a radioisotope and the meter was moving (many counts per second) when placed within several feet of her. So an EDC motive might be to monitor whether a colleague got such an injection and decided to come to the workplace.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
[1] https://community.intel.com/t5/Graphics/Very-poor-Linux-supp...
Disclaimer: I own a netbook and spent a very long time researching getting it to work with Linux
comment 1y ago · link · parent
(Edited for clarity)