1,673 karma · joined Jul 14, 2021 (5y ago) · 502 submissions
comment 2y ago · link · parent
They also smashed pianos in the Rube Goldberg video, and a TV with a sledge. Now I wonder if that was a 1984 reference.
https://www.youtube.com/watch?v=0BTnGgzO-tU https://www.youtube.com/watch?v=qybUFnY7Y8w
comment 2y ago · link · parent
The segue from CG is much more sensible
4.
Georgia and Verdana – typefaces designed for the screen (finally) (1997)(web.archive.org ↗)
1 points · by mgdlbp · 2y ago · discuss
comment 2y ago · link · parent
That camera can actually get a bit more resolution out of sensor movements, though the lens might be at its limit already, or focus was still a little off. edit: it's probably the glovebox glass.
comment 2y ago · link · parent
https://www.wikidata.org/wiki/Q3271851
https://web.archive.org/web/20201214110440/https://en.wikipe...
comment 2y ago · link · parent
https://web.archive.org/web/20100222/http://bash.org.az
https://web.archive.org/web/20070217/http://bash.org.by
https://web.archive.org/web/20060424/http://bash.org.il
https://web.archive.org/web/20071022/http://bash.org.kg
https://web.archive.org/web/20061203/http://bash.org.lv
https://web.archive.org/web/20090830/http://bash.org.md
https://web.archive.org/web/20060101/http://bash.org.pl
https://web.archive.org/web/20090421/http://bash.org.ro
https://web.archive.org/web/20040611/http://bash.org.ru
https://web.archive.org/web/20110523/http://bash.org.tj
https://web.archive.org/web/20080105/http://bash.org.ua
https://web.archive.org/web/20101117/http://ibash.org.pl
https://web.archive.org/web/20070609/http://ibash.org.ru
https://web.archive.org/web/20091004/http://bash.cc
https://web.archive.org/web/20030805/http://bash.cx
https://web.archive.org/web/20080315/http://bash.ee
https://web.archive.org/web/20040608/http://bash.hu
https://web.archive.org/web/20090322/http://bash.im
https://web.archive.org/web/20060205/http://bash.lv
https://web.archive.org/web/20180314/http://bash.no
https://web.archive.org/web/20060112/http://bash.ro
https://web.archive.org/web/20080219/http://bash.tj
https://web.archive.org/web/20120114/http://bash.tk
comment 2y ago · link · parent
I was going to say 'chance of death on that day' but apparently rail transport is remarkably safe and in micromorts, you're as likely to die in one day at 20 years of age as in 10000 km by rail, or (only!) 1600 km by air.
Now, it appears that 1600 km is also nearly the distance of the average passenger flight (a disappointly difficult datum to discover on the internet in 2024). Is this a counterpart to the reassuring quips comparing the chances of death by lightning: that boarding a plane doubles your chances of dying that day?
comment 2y ago · link · parent
As far as I know, unless a browser manages its oom_score_adj, which none do, a wrapper is insufficient as a workaround and a daemon would have to do so on its behalf, because the value is inherited when forking.
[0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
comment 2y ago · link · parent
Find a query of interest, see for yourself (and take a snapshot of the present state for posterity).
The api enables more powerful queries, https://web.archive.org/cdx/search/cdx?url=google.co.jp*&pag...
Also try other search engines and languages.
comment 2y ago · link · parent
Can have security implications, but the target is chosen in the typical way and screen locks should be setting a score_adj to avoid being picked.
comment 2y ago · link · parent
As for the plane, engines 3 and 4 are visible in a 2010 photo.¹ By 2015 the ducts had all been covered.², albeit № 3 haphazardly in the rear.³
¹ https://commons.wikimedia.org/wiki/File:Concorde_(British_AW...
² https://commons.wikimedia.org/wiki/File:Concorde_2015-06_673...
³ https://commons.wikimedia.org/wiki/File:Concorde_2015-06_692...
comment 2y ago · link · parent
comment 2y ago · link · parent
[0] https://web.archive.org/web/20210826103144/http://www.crimef...
comment 2y ago · link · parent
$ f=-x
$ cat "$f"
cat: invalid option -- 'x'
$ cat -- "$f"
cat: -x: No such file or directory
# ^-- correct, but:
$ f=-
$ cat -- "$f"
reading stdin...
reading stdin...
^C
$ f=./-
$ cat -- "$f"
cat: ./-: No such file or directory
...better to glob with ./* than *comment 3y ago · link · parent
The substance of the first answer:
#!/bin/bash
# Check if the first parameter is not provided
if [ -z "$1" ]; then
echo "Error: Parameter not provided."
exit 1
fi
The snippet precedes the true statement:> This checks if the first parameter (`$1`) is empty.
But what happened to the supplied task? It was stated and echoed as:
> Anonymous: ...if it's not passed?
> ChatGPT: ...if a specific parameter is not passed...
> ChatGPT: ...if the parameter is set.
The second answer:
#!/bin/bash
: ${1?"Error: Parameter not provided"}
This is correct. But the explanation is not:> ...and the `${1?...}` part checks if the first positional parameter (`$1`) is unset or null.
--
(the most succinct possible idiom is `#!/bin/bash -u`)
comment 3y ago · link · parent
$ echo 25 | pwsh -c '$input-replace"\d",{2*"$_"}'
410
$ echo 25 | perl -pe 's/\d/2*$&/eg'
410
``` PS> $temp:pwsh_out = 10000
PS> /bin/cat /tmp/pwsh_out
10000
``` $ echo ''''
PS> echo ''''
'
``` PS> $Y = { param($f) . { param($x) . $x $x } { param($y) . $f { param($x) . (. $y $y) $x }.GetNewClosure() }.GetNewClosure() }
PS> $fac = & $Y { param($f) { param($n) $n -lt 2 ? 1 : $n * (. $f ($n - 1)) }.GetNewClosure() }
PS> & $fac 5
120
``` PS> gv -v|% m*d|% t*
gv -v|% m*d|% t*
PS> &($x={"&(`$x={$x})"})
&($x={"&(`$x={$x})"})
$ bash
$ eval ${x='echo eval \${${x@A}}'}
eval ${x='echo eval \${${x@A}}'}
```bilingual pun,
.ps1 .pl
1 1
{1} {1}
end {1} sub {1}
{end {1}} {sub {1}}
&{end {1}} &{sub {1}}
``` awk -e 'BEGIN { printf "3\n" }'
perl -e 'BEGIN { printf "3\n" }'
ruby -e 'BEGIN { printf "3\n" }'
pwsh -c 'BEGIN { printf "3\n" }'
``` $ time ...; time ...; ....
real 0.00 ...
real 0.00 ...
real 0.03 ...
real 0.22 ...