~erk

~erk/lasagne-devel

Last active 1 year, 9 months ago

~erk/lasagne-discuss

Last active 2 years ago

~erk/lasagne-announce

Last active 2 years ago

~erk/inbox

Last active 3 years ago
View more

Recent activity

Re: Rust metup #36 at Adapt Agency! 9 months ago

From Valdemar Erk to ~laumann/cph-rs

> I couldn’t find the date or a link to an event in the email below.

On the website <https://cph.rs/> the date is noted to be Thursday, 25 May.

3rd party signing domain for DKIM 2 years ago

From Valdemar Erk to ~sircmpwn/sr.ht-discuss

Hello,

I have observed that on lists.sr.ht the site will report DKIM as
missing if it is only signed with a 3rd party signature. 3rd party
signature is if the `header.d` field in `Authentication-Results` has a
different host part compared to the email address in the `From`
header.

This is allowed rfc5863, [0] but as it also says in it the value of
such 3rd party domains is often heavily debated. A example of when 3rd
party domains is used is if you are sending a mail from google and you
have not set up DKIM for your domain Google will sign it with the
domain <host>.<numbers>.gappssmtp.com, [1] where host is the host part
of the from email and numbers are some date.

Re: [PATCH] fix: If count 0 fail early 3 years ago

From Valdemar Erk to ~erk/inbox

I think it would be cleaner to make get_count return None instead of
doing it inside of the match branch.

Re: [PATCH] [feat] Update context to use a Tuple Struct with an inner Arc 3 years ago

From Valdemar Erk to ~erk/inbox

Thanks for the PR, I have merged it in, I made a additional commit
that implemented Deref for Context to ContextRef, such that we don't
need to write ctx.0.* everywhere, but just ctx.*.

Re: [PATCH] [fix] Update to new website for comic themes 3 years ago

From Valdemar Erk to ~erk/inbox

On Wed, 01 Jul 2020 01:15:52 +0200,
Ken Swenson wrote:
> @@ -16,9 +16,9 @@ pub struct ThemeClient {
>  
>  impl ThemeClient {
>      pub fn new_rwc(rwc: ReqwestClient) -> GarfieldResult<Self> {
> -        let count_re = Regex::new(r#"<span class="pull-right">(?:\d+) of (\d+)</span>"#)?;
> +        let count_re = Regex::new(r#"(\d.*) Results for Garfield"#)?;
>          let comic_re = Regex::new(
> -            r#"src="https://d1ejxu6vysztl5.cloudfront.net/comics/garfield/[0-9]{4}/([0-9]{4}-[0-9]{2}-[0-9]{2}).gif"#,
> +            r#"src="<a itemprop='image' class=\"\" href=\"/garfield/([0-9]+/[0-9]+/[0-9]+)""#,
>          )?;
>          Ok(Self {
>              rwc,

Re: [PATCH] [fix] Update to new website for comic themes 3 years ago

From Valdemar Erk to ~erk/inbox

This is where the program hangs:
>          let comic_re = Regex::new(
> -            r#"src="https://d1ejxu6vysztl5.cloudfront.net/comics/garfield/[0-9]{4}/([0-9]{4}-[0-9]{2}-[0-9]{2}).gif"#,
> +            r#"src="<a itemprop='image' class=\"\" href=\"/garfield/([0-9]+/[0-9]+/[0-9]+)""#,
>          )?;
I am not sure why `async_main` is not correctly terminated. The proper
regex would be something along the lines of:
>  r#"src="<a itemprop='image' class="" href="/garfield/([0-9]+/[0-9]+/[0-9]+)""#,
But changing it to that does not make it work.

Re: My personal journey from MIT to GPL 3 years ago

From to ~sircmpwn/public-inbox

Hi Vince,

Another licence I have been looking at recently have some of the same ideas
behind as the MPL.
I am talking about the European Union Public Licence (EUPL), it was designed
to be used under 
the laws of the European union so how things are defined in it depends on
the copyright rules of
the EU.

https://joinup.ec.europa.eu/collection/eupl/introduction-eupl-licence

A thing I find nice about this licence is that it is only one I know of that
have been translated into

First message on the list 3 years ago

From to ~erk/inbox

This is just an email to test the list and make sure that it works

RE: Use plaintext email 4 years ago

From Valdemar Erk to ~sircmpwn/public-inbox

Hi sorry for the late reply (only around 5 months)
You asked me to fill out a survey about my email client so
I thought I would do that now.

> 1. What is your mail client?
My mail client is Wanderlust [0] which is a mail client built for
Emacs in pure elisp.
> 2. Can you give me plain english instructions for composing plaintext
> emails by default?
It is the default, just open a new draft window with either M-x
wl-draft or by pressing w in the folder view wich you open with M-x
wl.
> 3. Does it hard-wrap your plaintext email at 72 columns?
It hardwraps at column 70 by default I belive, this is using the