~aw

San Francisco, CA

https://alex.flounder.online

software engineer

Recent activity

Uploading content over gemini 2 months ago

From Alex to ~adnano/gemini

Hey all ?  
I?ve been thinking about how since I?ve followed Gemini, there have been a number of ideas for ?writing? gemini ? several different alternative protocols. I run flounder.online, and I?ve found these ideas compelling, but I haven?t really seen any of them take off. 

However, one idea I had was to use Gemini itself, without modification, to handle uploading content, ie a file. I have a couple of ideas:

1. sending several  <META> In 1024 bytes to write an entire file.
2. For a text file, sending a diff including a line number and a line of text up to 1024 bytes. Repeat this for each diff.

While both of these are technically feasible, they are a bit wonky, and for large files would involve many requests. What I?m wondering is whether these are ideas worth considering ? ways to upload files without extending or replacing Gemini. Any thoughts?

Thanks

Alex
alex.flounder.online

Re: BOM issue 2 months ago

From Alex to ~adnano/go-gemini-devel

Hmm interesting. I think I could strip it on the server level for flounder.online then. Thanks for the info

Alex

> On Nov 3, 2021, at 12:12 PM, Adnan Maolood <me@adnano.co> wrote:
> 
> On Sun Oct 31, 2021 at 12:26 PM EDT, alex wennerberg wrote:
>> I finally realized the solution to a bug I encountered a long time ago.
>> In some cases, the first line was not parsed properly as Gemini:
>> 
>> https://alex.flounder.online/test/bom.gmi
>> 
>> The issue is a byte order mark at the beginning of the line. I think
>> something like this https://gist.github.com/jaypozo/eaf13f7ecfec68b408cf

[PATCH uxn] Add [-scale] to usage string 2 months ago

From alex wennerberg to ~rabbits/public-inbox

---
 src/uxnemu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uxnemu.c b/src/uxnemu.c
index f2c7292..5f44faf 100644
--- a/src/uxnemu.c
+++ b/src/uxnemu.c
@@ -616,7 +616,7 @@ main(int argc, char **argv)
		}
	}
	if(!loaded)
		return error("usage", "uxnemu file.rom");
		return error("usage", "uxnemu [-s scale] file.rom");
[message trimmed]

BOM issue 2 months ago

From alex wennerberg to ~adnano/go-gemini-devel

Hi adnano --

I finally realized the solution to a bug I encountered a long time ago.
In some cases, the first line was not parsed properly as Gemini:

https://alex.flounder.online/test/bom.gmi

The issue is a byte order mark at the beginning of the line. I think
something like this https://gist.github.com/jaypozo/eaf13f7ecfec68b408cf
would help -- let me know if you'd like me to submit a patch

All the best,
Alex

SMALL INTERNET PROTOCOL ROUNDUP 2 months ago

From Alex to ~adnano/gemini

Don?t forget the classic, Finger

Alex

> On Oct 26, 2021, at 10:35 AM, Michael Lazar <lazar.michael22 at gmail.com> wrote:
> 
> ?# SMALL INTERNET PROTOCOL ROUNDUP
> 
> V1.0
> 
> Last-modified: 2021-10-26.
> 
> ## gopher://
> 

[spec] comments on the proposed gemini spec revisions 3 months ago

From alex wennerberg to ~adnano/gemini

On Sun Oct 10, 2021 at 11:57 PM PDT, Omar Polo wrote:
>
> Alex // nytpu <alex at nytpu.com> writes:
>
> > [[PGP Signed Part:Undecided]]
> > Hi all,
> >
> > Since I don't have (and am unable to create) a gitlab account, I wrote a
> > Gemlog post detailing my responses to a bunch of the issues on the
> > gitlab repos for Sean Conner's spec revisions.
>
> I can wholeheartedly agree with the gitlab rant. I've never used it
> before and was quite shocked of how bad it is. Even github is "decent"
> in this regard, on a technical level at least. I can at least *read* a

Re: [PATCH] Make case consistent for all commands 5 months ago

From Alex to ~ihabunek/toot-discuss

I’ll send a new patch that is all lowercase when I have a chance!

Alex

> On Jul 29, 2021, at 1:03 AM, Ivan Habunek <ivan@habunek.com> wrote:
> 
> On Tue, Jul 27, 2021 at 07:01:27PM -0700, alex wennerberg wrote:
>> Note that I could also see an argument for all lowercase. Let me know
>> what you think
> 
> I would prefer starting with lower case, that seems to be standard for
> linux command line utils. And --help which is added automatically by
> argsparse is lower cased so we're still not fully consistent even with
> this patch.

[PATCH] Add mentions-only parameter to notifications command 5 months ago

From alex wennerberg to ~ihabunek/toot-discuss

---
 toot/api.py      | 5 +++--
 toot/commands.py | 7 ++++++-
 toot/console.py  | 5 +++++
 3 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/toot/api.py b/toot/api.py
index 0a528cb..f268de2 100644
--- a/toot/api.py
+++ b/toot/api.py
@@ -268,8 +268,9 @@ def single_status(app, user, status_id):
    return http.get(app, user, url).json()


[message trimmed]

Re: [PATCH] Make case consistent for all commands 5 months ago

From alex wennerberg to ~ihabunek/toot-discuss

Note that I could also see an argument for all lowercase. Let me know
what you think

On Tue Jul 27, 2021 at 6:46 PM PDT, alex wennerberg wrote:
> Before this it was mixed titlecase and lowercase
> ---
> toot/console.py | 44 ++++++++++++++++++++++----------------------
> 1 file changed, 22 insertions(+), 22 deletions(-)
>
> diff --git a/toot/console.py b/toot/console.py
> index 9cf6b06..f808e7d 100644
> --- a/toot/console.py
> +++ b/toot/console.py
> @@ -61,17 +61,17 @@ Command = namedtuple("Command", ["name",

[PATCH] Make case consistent for all commands 5 months ago

From alex wennerberg to ~ihabunek/toot-discuss

Before this it was mixed titlecase and lowercase
---
 toot/console.py | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/toot/console.py b/toot/console.py
index 9cf6b06..f808e7d 100644
--- a/toot/console.py
+++ b/toot/console.py
@@ -61,17 +61,17 @@ Command = namedtuple("Command", ["name", "description", "require_auth", "argumen
# Arguments added to every command
common_args = [
    (["--no-color"], {
        "help": "don't use ANSI colors in output",
[message trimmed]