~torresjrjr

London (GMT)

https://torresjrjr.com/

~torresjrjr/lateximgbot-devel

Last active 30 days ago

~torresjrjr/lateximgbot-announce

Last active 30 days ago

~torresjrjr/bezier.py-devel

Last active 30 days ago

~torresjrjr/bezier.py-announce

Last active 30 days ago

~torresjrjr/public-inbox

Last active a month ago

~torresjrjr/go-nestedtext-discuss

Last active 4 months ago

~torresjrjr/go-nestedtext-devel

Last active 4 months ago

~torresjrjr/go-nestedtext-announce

Last active 4 months ago

~torresjrjr/linkchanbot

Last active 6 months ago
View more

Recent activity

Re: Cash not accepted here a month ago

From Byron Torres to ~adnano/public-inbox

> gemini://adnano.co/2021/07/24/cash-not-accepted-here/

Will we get another entry? A mention of the current year, or crypto?
CBDC? The protag's name? His/her livelihood, occupation, struggle?

Re: Soft wrapping in vim a month ago

From Byron Torres to ~torresjrjr/public-inbox

On Sat Aug 14, 2021 at 4:33 AM BST, Daniel P. wrote:
> Is there a way by which I can have soft wrapping at a given line length
> in vim?
>
> Or define a maximum visual line length and passing that there will be
> soft wrapping.
>
> One use case is editing Gemini file.

Indeed, Gemini text forbids newline characters in paragrahps.

Admittedly, resizing windows in vim is quite burdensome initially.

For window resizing, see

Re: [PATCH] Add a(href=`#`) links around gallery images a month ago

From Byron Torres to ~cadence/bibliogram-devel

> I implemented some focus handling through JavaScript, which is now
> live on bibliogram.art. Can you tell me if this solves your problem?

It works for me. I can now scroll just fine with Vimium keys.

There seems to be a brief (1s) moment just after loading a profile page
where clicking on a post and opening a gallery does not change the
focus. I imagine the JavaScript takes a moment to load fully. I'm not
too bothered by it.

It would have been great if there was some kind of pure declarative html
solution, but I don't plan on blocking JS on bibliogram instances
anyway, so it doesn't matter.

[PATCH] Add a(href=`#`) links around gallery images a month ago

From Byron Torres to ~cadence/bibliogram-devel

These links provide a target for accessibility or vimium users to set
focus on the post overlay image gallery, allowing one to scroll the
overlay, not the timeline, without a mouse click and scrollwheel or
touchscreen.
---

Additionally, there's a chance to add meaningful information onto the
link fragments for each entry, like a random or canonical id string, or
just ascending intergers. Perhaps Instagram has similar functionlity we
can match.  I don't know enough pug or of the data structure to
implement this myself.


 src/site/pug/includes/post.pug | 17 +++++++++--------
[message trimmed]

Re: My wish-list for the next YAML a month ago

From Byron Torres to ~sircmpwn/public-inbox

Have you heard of NestedText? YAML-like, simpler, unambiguous, readable.

https://nestedtext.org/

I myself made an (experimental) implementation of NestedText v1 (minus
the quoted keys feature) in Go without too much trouble.

https://git.torresjrjr.com/go-nestedtext/file/README.md.html

I should note that the author of the spec recently made breaking changes
to the format which I feel deviated from the core simplicity NestedText
v1 had.

https://nestedtext.org/en/stable/changelog.html

Re: master build fails, feature ideas 6 months ago

From Byron Torres to ~adnano/astronaut-devel

On Sun Feb 28, 2021 at 4:30 AM GMT, Adnan Maolood wrote:
> The link select mode might need some more thought (where should the
> prompts be displayed?).

I'm not familiar with tcell, but I guess the easiest way would be to
append/prefix the labels "[a]", "[s]", "[d]", etc. to the end of the
link titles.  Cancelling link-select-mode would remove the labels.

> Currently, unlike vim, each key press corresponds to a single command,
> meaning that there is no way to bind a sequence of key presses to a
> command.

In regards to vim-like variable scrolling, I'm personally OK with
preconfiguring a constant scroll number. I almost never want a full page

master build fails, feature ideas 6 months ago

From Byron Torres to ~adnano/astronaut-devel

Hi. With your latest master commit 43ad928, `make` fails:

```
go build  \
	-ldflags "-X main.Prefix=/usr/local \
	-X main.ShareDir=/usr/local/share/astronaut \
	-X main.Version=0.0.0" \
	-o astronaut
# astronaut
./tab.go:312:17: cannot use &w (type *ResponseWriter) as type gemini.ResponseWriter in argument to t.handleAbout:
	*ResponseWriter does not implement gemini.ResponseWriter (missing SetMediaType method)
./tab.go:316:14: cannot use &w (type *ResponseWriter) as type gemini.ResponseWriter in argument to handleFile:
	*ResponseWriter does not implement gemini.ResponseWriter (missing SetMediaType method)
make: *** [Makefile:29: astronaut] Error 2