~sfr

moved to ~nbsp
git · todo · lists

Recent activity

[PATCH mwah] lint: condence if-err block 1 year, 2 months ago

From Sol Fisher Romanoff to ~maestn/public-inbox

---
great job on your go project :3 i'm proud of u

 main.go | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/main.go b/main.go
index f9cc017..f612c5d 100644
--- a/main.go
+++ b/main.go
@@ -54,10 +54,8 @@ func main() {
	})
	http.HandleFunc("/read", fileSend)
	http.HandleFunc("/edit", editFile)
[message trimmed]

scm feature request: highlight readme, license, (project manifest?) in tree view 1 year, 2 months ago

From Sol Fisher Romanoff to ~sircmpwn/sr.ht-discuss

in repositories with large and cluttered roots, it can be hard to find 
the license, readme, or e.g. go.mod file in an alphabetically-sorted 
listing. of course, one can simply ^F to find the file they need, but 
perhaps it could be useful to highlight them in some way or another.
i know from experience that sometimes my brain can't exactly articulate 
/what/ i'm looking for until i can see it.

- bold/italic filename?
- different color text like there is for directories?
- colored line background?
- some sort of flag next to the permissions/size?

[PATCH] Demonstrate that I can use git send-email 1 year, 3 months ago

From Sol Fisher Romanoff to ~sircmpwn/email-test-drive

---
 sol-fisher-romanoff | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 sol-fisher-romanoff

diff --git a/sol-fisher-romanoff b/sol-fisher-romanoff
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/sol-fisher-romanoff
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.39.2
[message trimmed]

Re: Cannot log in to chat.sr.ht web client 2 years ago

From Sol Fisher Romanoff to ~sircmpwn/sr.ht-discuss

I've also been having this problem. trying to connect through senpai, it returns:

-- Error (code 904): Registration failed: Invalid sr.ht OAuth2 access token
-- Error (code ACCOUNT_REQUIRED): Authentication required
-- Error (code ACCOUNT_REQUIRED): Authentication required

I went to the OAuth2 dashboard[1] to figure out what happened, but that
isn't working either -- it returns a 500 error.

[1] https://meta.sr.ht/oauth2

~sfr

Re: Docs addition: setup local dev environment 2 years ago

From Sol Fisher Romanoff to ~sircmpwn/sr.ht-discuss

On Sat Feb 5, 2022 at 2:11 AM IST, Greg Minshall wrote:
> i wonder if this testing/setup case might be where something like docker
> might come in handy?

fwiw, Drew has specifically spoken against using docker or k8s for
sourcehut installations:

https://paste.sr.ht/~sircmpwn/78cc21e1661d5a9d8038f47e532d286807ac89ad

[PATCH fediring.net] Fix misalignment in figlet art 2 years ago

From Sol Fisher Romanoff to ~amolith/public-inbox

---
error caused by me manually pasting the figlet output into vim.

 index.gmi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.gmi b/index.gmi
index 85b8e47..785de29 100644
--- a/index.gmi
+++ b/index.gmi
@@ -1,5 +1,5 @@
```Fediring
___       _ _     _           
 ___       _ _     _           
[message trimmed]

Re: Question using archlinux in builds service 2 years ago

From Sol Fisher Romanoff to ~sircmpwn/sr.ht-discuss

you can specify the packages to be installed separately from the tasks:

image: archlinux
packages:
  - ruby-bundler
[the rest of the manifest...]

refer to the builds.sr.ht manifest reference for more information.
https://man.sr.ht/builds.sr.ht/manifest.md

Re: chat.sr.ht doesn't keep away logs 2 years ago

From Sol Fisher Romanoff to ~sircmpwn/sr.ht-discuss

testing this again, it seems to have magically fixed itself. oh well!
I was using the latest senpai commit this whole time. I'll let you know
if this happens again, hopefully with a bit more debug information.

chat.sr.ht doesn't keep away logs 2 years ago

From Sol Fisher Romanoff to ~sircmpwn/sr.ht-discuss

chat.sr.ht doesn't seem to show me any messages from when my client was
closed, both on senpai and the hosted gamja.

when someone messages me privately, the messages will only appear if
they message me again when I'm online, and when that happens, the last
message gets duplicated.

I can't view away logs of channels I'm in, even if I've been pinged.
tested on both Libera and OFTC.

re: How I choose a license 2 years ago

From Sol Fisher Romanoff to ~sircmpwn/public-inbox

I enjoyed reading your gemini article on how you choose software
licenses[1], and I try to vaguely follow the same process myself.

however, since Creative Commons has started shilling NFTs [2], and given
your stance on cryptocurrency, I'd love to hear if you found any
solution or replacement for CC-BY-SA.

[1]: gemini//drewdevault.com/2021/05/20/How-I-choose-a-license.gmi
[2]: https://nitter.snopyta.org/davidgerard/status/1463950773570654218?s=21

~sfr