~mpldr

Germany

https://moritz.sh

I do software stuff

~mpldr/public-inbox

Last active 3 months ago

~mpldr/uniview

Last active 1 year, 24 days ago

~mpldr/security

Last active 1 year, 4 months ago

~mpldr/patches

Last active 1 year, 4 months ago
View more

Recent activity

Re: [ANN] MS Graph (o365) - IMAP proxy 8 days ago

From Moritz Poldrack to ~rjarry/aerc-discuss

On Sun 08 Sep 2024 13:26:52, Tamás Gulácsi wrote:
> You have to create an app in MS to have a Client ID and a Client Secret.
> In aerc/accounts.conf, 

I would just like to mention that using a software like MITMProxy to get
Outlooks Client ID and secret is *very likely* against company policy,
even if it is probably pretty easy. So just make sure to stay clear of

https://mitmproxy.org/ and its repository at https://github.com/mitmproxy/mitmproxy

-- 
Moritz Poldrack
https://moritz.sh

Re: aerc and spell checking 29 days ago

From Moritz Poldrack to ~rjarry/aerc-discuss

Hi Dylan, the spell checker has to be part of your editor. You could
probably even use something like libreoffice to edit your mail and use
its integrated spell checker. Currently there is no "pre-send
spellcheck" as there is in Thunderbird and I have not yet heard any
discussion of such an addition.

-- 
Moritz Poldrack
https://moritz.sh

> You must be present to win.

Re: mail-received hook a month ago

From Moritz Poldrack to ~rjarry/aerc-discuss

This might be related to how JMAP is wired up. Mail-received is handled 
in a central spot in the UI, so when sending the proper event, it just 
just work™

Re: [PATCH aerc v2] docs: fix typo 2 months ago

From Moritz Poldrack to ~rjarry/aerc-devel

2024-07-17T05:09:07Z Aiden Fox Ivey <aiden@aidenfoxivey.com>:

> Sorry, I've really polluted the mailing list now. :facepalm: I'll try 
> to be less messy in the future. My bad.
Dont worry about it, we've all been there

Approved: Re: [PATCH aerc v2] log: create directories if necessary 2 months ago

From Moritz Poldrack to ~rjarry/aerc-devel

Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>

-- 
Moritz Poldrack
https://moritz.sh

> Employees must wash hands before returning to work.

Approved: [PATCH aerc v5] templates: add head and tail functions 2 months ago

From Moritz Poldrack to ~rjarry/aerc-devel

Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>

-- 
Moritz Poldrack
https://moritz.sh

> No running on pool deck.

Re: [PATCH aerc v3] templates: add head and tail functions 2 months ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Wed 10 Jul 2024 00:17:13, Bence Ferdinandy wrote:
> On Wed Jul 10, 2024 at 00:15, Bence Ferdinandy <bence@ferdinandy.com> wrote:
> > Like length instead of l? Or L? It might be my physicist brain, but I find l/L
> > for a length to be very familiar and readable.

Pretty sure that's the physicist, yes ^^

> > But I can live with a longer suggestion. Would your pick be
> > "length"?

Indeed, it would.

> Especially for indexing I think l goes nicely with n.

Re: [PATCH aerc v3] templates: add head and tail functions 2 months ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Wed 10 Jul 2024 00:02:54, Bence Ferdinandy wrote:
> It's symmetric with tail, but I can drop it if it bothers you :) In tail it
> definitely makes sense.

Then, I'd prefer a rename.

-- 
Moritz Poldrack
https://moritz.sh

> Your daily dietary values may be higher or lower depending on your
> caloric needs.

Re: [PATCH aerc v3] templates: add head and tail functions 2 months ago

From Moritz Poldrack to ~rjarry/aerc-devel

On Tue 09 Jul 2024 23:10:58, Bence Ferdinandy wrote:
> diff --git a/lib/templates/functions.go b/lib/templates/functions.go
> index 8b7af449..4f3bc0f9 100644
> --- a/lib/templates/functions.go
> +++ b/lib/templates/functions.go
> @@ -334,6 +334,24 @@ func hasPrefix(prefix, s string) bool {
>  	return strings.HasPrefix(s, prefix)
>  }
>  
> +func head(n int, s string) string {
> +	r := []rune(s)
> +	l := len(r)
> +	if l >= n {

Re: [PATCH 2/2] Fix patch use for notmuch watcher 2 months ago

From Moritz Poldrack to ~rjarry/aerc-devel

Hello, and thanks for the patches Please resubmit them with the
appropriate prefix by running `make gitconfig`. Issues that I see right
away are:

- The missing Signed-off trailer
- Your first commit does not have a message

One thing I am curious about is whether 2/2 will break existing working
solutions. I am not a xapian user, so I can't really tell :)

-- 
Moritz Poldrack
https://moritz.sh