Posts
4637
Following
317
Followers
482
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1
Consider e.g. so called civil disobedience, which often involves breaking law, and many times for good reasons. This type of friction is an essential part of any democratic society, and it is more than often related to the generational gap, and projects the future of a society.

If we become too dependent on AI appliances on how we live and work, this development might stifle all civil disobedience in a society.

Also consider removing all toxicity from society. If you remove all toxic behavior by a force, you only end up into toxic positivity. I don't like to get e.g. insulted but it would be worse, if nobody could never say anything upsetting to me, given some social media define code of behavior.
0
0
0

Jarkko Sakkinen

Edited 1 year ago
I think #ethical #AI is a problem, especially when AI spreads to all possible appliances around us.

This is because in the end ethics should be refined by the societies, i.e. it is broken ecosystem when there is AI crap all around you of which workflows could deny to support your goals, if they are interpreted against "ethics".

So yeah, I think ethical AI, despite its nice sounding label, is even worse and more unethical than unethical AI because it rips off democracy.

#society #democracy
1
0
1
@Foxboron Yeah, I'd target on that, not because it is great, but because of dictatorship of majority ;-) E.g. newer versions of systemd have run0 (aka sudo), which is also polkit based.

I.e. if you make your shit work on with it, it is most likely that people can deploy it too in various environments.
0
0
0

Jarkko Sakkinen

#Russian #italo #disco at its best. Video clips are from early/mid nineties post-soviet times, like from rave parties of that time period. https://www.youtube.com/watch?v=X3iGfjpZI2E #digitalo
0
0
0
@Foxboron Uh oh sorry misread the question. For service requesting credentials I'd get PolicyKit is the defacto.
1
0
0
@Foxboron I use https://www.passwordstore.org/ for all my password/token/serial/etc needs and purposes.
1
0
0
@bremner @jani I'm actually at least looking if I could PoC it as a feature to aerc code base. Have to grow some motivation first I've never used Go for anything ;-)

I did read the mutt implementation through and it is not really rocket science.

I also realized (based on this discussion) that the interactive flow in mutt was the thing (to address also false positives issue) and that's why I liked it.
1
0
0

Jarkko Sakkinen

the circle has closed: https://sound-force.nl/?page_id=2318
0
0
0
@bremner @jani Anyway thanks for the comments! I now at least know what the problem is so this helped.
0
0
1
@bremner @jani Right, in mutt it was nice because you could limit the view with ~= based on message ID's and quickly delete the most obvious ones and check manually rest.

So, can notmuch form a query that would be 1:1 match to what ~= does in mutt? In that case I can use that together with :query command in aerc.
2
0
0
@bremner @jani mutt just has a hash table of message ID's that it uses (pattern.c, thread.c and hash.c in its src tree).
1
0
0

@bremner @jani I’m wondering here, did ~= in mutt do full body compare…

I’m also thinking that as aerc has this:

:query [-a <account>] [-n name] [-f] <notmuch query>
Create a virtual folder using the specified top-level notmuch query. 
This command is ex clusive to the notmuch backend. 

[man aerc]

Maybe one possibility would be feasible to implement directly into aerc :duplicate which would similarly create a virtual folder for duplicates, which would then allow interactively decide the faith (as it is for filter and query). This could potentially then do full body compare as it was within the implementation in Go.

1
0
0
@jani The most optimal would be something that would be just notmuch search query because :query command in aerc is able to do virtual folder of the messages. Then I could just add a binding to aerc.conf and would not need a script in the first place.
0
0
0

@jani And it does work ;-) That is always a a good state to begin with. I actually wanted to learn notmuch only because aerc does not have ~= query of mutt.

1
0
0
@jani How? I just started to use it.
1
0
0

Jarkko Sakkinen

Now that I’m already using maildirs again, I could fulfill the lacking feature from #aerc (compared to #mutt) using #notmuch, which de-duplicates my emails:

#!/usr/bin/env bash
#
# Copyright (c) Jarkko Sakkinen 2024
# JSON queries ripped from https://github.com/esovetkin/notmuch-deduplicate

set -e

QUERY='*'

notmuch show \
  --format=json \
  --entire-thread=false \
  --body=false \
  "${QUERY}" | \
  jq \
    -n \
    --stream 'fromstream(1 | truncate_stream(inputs))' | \
  jq -r '.. | .filename? //empty | @tsv'  | \
  grep '\t' | \
  awk -F'\t' '{for (i=2; i<=NF; i++) print $i}' | \
  xargs -I{} rm -v "{}"
notmuch new

# vim: filetype=vim ts=2 sw=2 et

#email

0
0
0
Show older