Let's duckduckgo a little, see what comes out.

Friday, 29 June, Year 10 d.Tr. | Author: Mircea Popescu

Here's a bash oneliner. Don't you just love my bash oneliners by now ?

cat trilema.txt | while read line; do echo "$line" >> t-ddg.txt; curl -k -m 20 https://duckduckgo.com/html/?q=$line | tr '\n' ' ' | sed 's%This is the visible part -->%\n%g' | sed 's%</h2>%\n%g' | sed -n '2,11p' | tr '\r' ' ' | sed 's%class="result__a" href="/l/?kh=-1&uddg=%\n%g' | sed 's%">%\n%g' | awk '{print $1}' | grep "http" | awk '{print NR"."$0}' | sed 's/%2F/\//g' | sed 's/%3A/:/g' | sed 's/%2D/-/g' >> t-ddg.txt; echo "-------------" >> t-ddg.txt; sleep 2;done

What could be found in trilema.txt ? Oh, I don't know, whatever list of keywords or keyphrases that interest you, one per line, + used as a word separator. In the instant case it's a list of all 2`423 titles of articles published on Trilema since I started writing it in English ; but in your case it could be anything you damn well please.

And what will be found in t-ddg.txt ?! Why, something quite like this :


Isn't that neat ?

There's 1`656 occurences of trilema.com among the 12`115 slots for it to occur available in that file, about 13.67%. Considering a natural maximum would be 20% by implicit design of the item in question, I'd guess not so bad (or considering 100% is the natural tendency of anything everi, I guess pretty miserable).

cat tddg-stat.txt | awk -F '.' '$1 {sum += $1} END {print sum}'

Meaning the average occurence of trilema.com among the top five results on a duckduckgo search for a title of a Trilema article (no quotes) is on position #1.71.

Could be worse ; and now you know.ii

  1. As the girly said,
    You are not a dom. You are an oppressor disguised as a Dom. You feed on the women you think are weak or you crave to break down those that seem to be strong. I don't fall for that trap.

    because totally, ~I~ am the reason there's no strong, independent women to be found anywhere. Poor Pantsuited Hilarity'd be trynna, but I just dun let her. Not the exact fucking way around, no oh no etcetera. []

  2. Specifically what you know is that if you "didn't know" about Trilema, you face the following trilemma : either a) you're fucking stupid, in that you've seen it before but didn't realise what you were looking at ; or else b) you're fucking boring, in that it'd never occur to you to search for anything like what I write about or finally c) you're fucking evil, in that you know plain well but hope against hope there's still something you could do (or as the case actually is -- not do) about it. []
Category: Meta psihoza
Comments feed : RSS 2.0. Leave your own comment below, or send a trackback.

3 Responses

  1. Btw, I'm totally stealing this bash one-liner for the !Qddg command.

  2. Mircea Popescu`s avatar
    Mircea Popescu 
    Friday, 29 June 2018

    You're welcome :)

  1. [...] 10 d.Tr. | Author: Mircea Popescu I expect this wasn't imediately obvious, but... cat t-ddg.txt | grep '.' | awk '{print "<a href="substr($0,3)">"substr($0,3)"</a><br />"}' | grepi -v [...]

Add your cents! »
    If this is your first comment, it will wait to be approved. This usually takes a few hours. Subsequent comments are not delayed.