~gildarts

Indianapolis, IN

https://orbital.rocks

~gildarts/seabird

Last active 2 years ago

~gildarts/inspector

Last active 4 years ago
View more

Recent activity

[PATCH v1] autocomplete immediately when there is only one completion 8 months ago

From gildarts to ~delthas/senpai-dev

- Resolves #142
---
 ui/editor.go | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ui/editor.go b/ui/editor.go
index e1898ea..bb2b99c 100644
--- a/ui/editor.go
+++ b/ui/editor.go
@@ -387,8 +387,12 @@ func (e *Editor) AutoComplete() (ok bool) {
			e.autoCache = nil
			return false
		}
		
[message trimmed]

[PATCH v3] [WIP] Adding spell checking 10 months ago

From gildarts to ~delthas/senpai-dev

From: SamStrongTalks <sam@orbital.rocks>

Adds dependency on aspell, goal is to remove this eventually

Based on Consolatis's changes from
https://github.com/Consolatis/senpai_old/pull/2
and
https://github.com/Consolatis/senpai_old/pull/3
---
 app.go         |  14 +++++-
 completions.go |  42 ++++++++++++++++
 go.mod         |   1 +
 go.sum         |   2 +
 ui/editor.go   | 129 ++++++++++++++++++++++++++++++++++++++-----------
[message trimmed]

[PATCH v2] [WIP] Adding spell checking 10 months ago

From gildarts to ~delthas/senpai-dev

From: SamStrongTalks <sam@orbital.rocks>

Adds dependency on aspell, goal is to remove this eventually
---
 app.go         |  14 ++++++-
 completions.go |  42 +++++++++++++++++++
 ui/editor.go   | 108 ++++++++++++++++---------------------------------
 ui/ui.go       |   3 +-
 4 files changed, 91 insertions(+), 76 deletions(-)

diff --git a/app.go b/app.go
index d4c58ef..461528f 100644
--- a/app.go
+++ b/app.go
[message trimmed]

[PATCH] [WIP] Adding spell checking 10 months ago

From gildarts to ~delthas/senpai-dev

From: SamStrongTalks <sam@orbital.rocks>

Adds dependency on aspell, goal is to remove this eventually
---
 app.go         |  14 +++++-
 completions.go |  42 ++++++++++++++++++
 ui/editor.go   | 114 ++++++++++++++++---------------------------------
 ui/ui.go       |   3 +-
 4 files changed, 94 insertions(+), 79 deletions(-)

diff --git a/app.go b/app.go
index d4c58ef..be26edb 100644
--- a/app.go
+++ b/app.go
[message trimmed]

[PATCH] fix /msg command only sending first word 2 years ago

From gildarts to ~delthas/senpai-dev

---
 commands.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands.go b/commands.go
index 072c433..b8db69f 100644
--- a/commands.go
+++ b/commands.go
@@ -341,8 +341,8 @@ func commandDoMe(app *App, args []string) (err error) {

func commandDoMsg(app *App, args []string) (err error) {
	target := args[0]
	content := args[1]
	return commandSendMessage(app, target, content)
[message trimmed]

[PATCH] fix /msg command only sending first word 2 years ago

From gildarts to ~delthas-alt/senpai-dev

---
 commands.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands.go b/commands.go
index 072c433..b8db69f 100644
--- a/commands.go
+++ b/commands.go
@@ -341,8 +341,8 @@ func commandDoMe(app *App, args []string) (err error) {

func commandDoMsg(app *App, args []string) (err error) {
	target := args[0]
	content := args[1]
	return commandSendMessage(app, target, content)
[message trimmed]

Re: using diagrams in sourcehut 2 years ago

From gildarts to ~sircmpwn/sr.ht-discuss

On Mon Jul 18, 2022 at 12:58 PM EDT, Ethan Davidson wrote:
>
> What workflow do you typically use for including diagrams in sourcehut?
>

You could also use srht.site to host custom documentation. By using a
static site generator, you should be able to generate any kind of
diagrams you want though using cdns is blocked by the service.

[RFC PATCH] WIP database: client cert storage 2 years ago

From gildarts to ~emersion/soju-dev

---
Mostly looking for comments on if this is the right approach for
storing the client certs in the database. Still need to work on
the actual authentication pieces.

 database/database.go | 10 +++++
 database/postgres.go | 72 +++++++++++++++++++++++++++++++++++
 database/sqlite.go   | 89 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 171 insertions(+)

diff --git a/database/database.go b/database/database.go
index eb5240e..6618fe0 100644
--- a/database/database.go
+++ b/database/database.go
[message trimmed]

Re: Can't create Git repo in self-hosted instance 2 years ago

From gildarts to ~sircmpwn/sr.ht-discuss

On Fri Jul 8, 2022 at 7:13 PM UTC, Riccardo Sacchetto wrote:
> [2]: https://paste.sr.ht/~occhioverde/0d663adc06ff66a63daadf0b2f8d87761f7eb19f

Just fyi, you need to rotate your secrets, since they are included in
that paste. Assuming the secrets in the paste are what you are using in
your instance.

-gildarts

[PATCH] general cleanup 2 years ago

From gildarts to ~emersion/soju-dev

fixes issues highlighted by go vet and go-staticcheck including

- deprecated packages
- unneeded use of *printf
- unlabeled fields
- capitalized error strings
- deprecated functions
- unused variables
- unclear time math
- unneeded use of the fmt package
---
 cmd/sojuctl/main.go        |  4 ++--
 contrib/znc-import/main.go |  2 +-
 downstream.go              |  2 +-
[message trimmed]