~smlavine

~smlavine/ascii-breakout

Last active 22 days ago

~smlavine/omnavi

Last active 22 days ago

~smlavine/err-announce

Last active 29 days ago

~smlavine/err-devel

Last active 30 days ago

~smlavine/tmp-devel

Last active a month ago

~smlavine/tmp-announce

Last active a month ago

~smlavine/pre-push-devel

Last active 5 months ago

~smlavine/pre-push-announce

Last active 5 months ago

~smlavine/navipage-announce

Last active 5 months ago

~smlavine/navipage-devel

Last active 5 months ago
View more

Recent activity

Automatic builds for your blog 4 days ago

From Sebastian LaVine to ~sircmpwn/public-inbox

Hi Drew,

I was wondering if you would be willing to share some more information
on how you use builds.sr.ht to update your website from the git
repository. I've read through the .build.yml, but I don't quite
understand how the "build" and "upload" tasks work, in particular how
you authenticate yourself over ssh with rsync, and how the
deploy@drewdevault.com user is set up. I'd appreciate any insight you
can provide on this.

Thanks,
Sebastian LaVine | https://smlavine.com

Re: Why was aerc also named aerc2 6 days ago

From Sebastian LaVine to ~sircmpwn/public-inbox

On Tue Jan 18, 2022 at 6:30 PM EST, Evan Boehs wrote:
> > I don't know. You'd have to ask Drew about that :)
>
> That's... What he is doing?!

James sent the email to <~sircmpwn/public-inbox@lists.sr.ht>,
<~sircmpwn/aerc@lists.sr.ht>, and <~rjarry/aerc-devel@lists.sr.ht>. I
imagine Robin responded to the mail originally from his mailing list.

Re: chat.sr.ht noscript message runs off the screen 11 days ago

From Sebastian LaVine to ~sircmpwn/sr.ht-discuss

On Fri Jan 14, 2022 at 3:07 AM EST, Drew DeVault wrote:
> Can you open a ticket on the gamja tracker?
>
> https://todo.sr.ht/~emersion/gamja

Done: https://todo.sr.ht/~emersion/gamja/133

Re: chat.sr.ht noscript message runs off the screen 11 days ago

From Sebastian LaVine to ~sircmpwn/sr.ht-discuss

On Fri Jan 14, 2022 at 3:49 AM EST, Simon Ser wrote:
> You're using the NoScript extension right? This is a bit annoying to
> fix, because the ext removes the <noscript> tag completely, so this
> breaks our CSS.

No, I am using uBlock Origin to block JavaScript. I can also confirm
that this occurs in the "Safest" (blocks JS) setting in Tor Browser:

	https://ttm.sh/i2Z.png

chat.sr.ht noscript message runs off the screen 11 days ago

From Sebastian LaVine to ~sircmpwn/sr.ht-discuss

Hello,

as the subject says, if a screen is not big enough to show the full
noscript message for chat.sr.ht, then it will not wrap, it will be cut
off. I have tested this on Firefox 96.0 on Arch Linux and Firefox 95.2.0
on Android.

Here is what it looks like at normal zoom:

	https://ttm.sh/i2h.png

Here is what it looks like zoomed out (so I can see all of the text):

	https://ttm.sh/i2d.png

[PATCH] Direct users without a config to use the example in the man page 14 days ago

From Sebastian LaVine to ~emersion/hut-dev

---
I've never written Go before so please tell me if there is a more
idiomatic way of doing this.

I know that there is a long line, but I decided not to split it to make
it easy to grep the source for the string that is printed.

I have another, better idea for this in mind too: if a config file
doesn't exist, create it with the example in the man page, and tell them
that it has been created for them and to put in their access token.
 config.go | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/config.go b/config.go
[message trimmed]

Re: [PATCH] git: Add delete 14 days ago

From Sebastian LaVine to ~emersion/hut-dev

On Mon Jan 10, 2022 at 11:53 AM EST, Thorben Günther wrote:
> ---
> doc/hut.1.scd | 3 +++
> git.go | 42 +++++++++++++++++++++++++++++++++
> srht/gitsrht/gql.go | 10 ++++++++
> srht/gitsrht/operations.graphql | 6 +++++
> 4 files changed, 61 insertions(+)
>
> diff --git a/doc/hut.1.scd b/doc/hut.1.scd
> index d8bca04..8c5d533 100644
> --- a/doc/hut.1.scd
> +++ b/doc/hut.1.scd
> @@ -70,6 +70,9 @@ hut is a CLI companion utility to interact with sr.ht.
> *list* [username]

[PATCH sdl2-breakout] Add keybinding to pause program 19 days ago

From Sebastian LaVine to ~yerinalexey/public-inbox

The SDL_Delay call was moved to the top of the loop so that it occurs
even while paused.
---
 include/state.h |  1 +
 src/main.c      | 30 +++++++++++++++++++++++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/include/state.h b/include/state.h
index 6d142dd..4f9f5ec 100644
--- a/include/state.h
+++ b/include/state.h
@@ -13,6 +13,7 @@ enum block_state {

struct state {
[message trimmed]

[PATCH sdl2-breakout] Add keybindings to quit program 20 days ago

From Sebastian LaVine to ~yerinalexey/public-inbox

---
https://ttm.sh/e-R.png
I'll take my bonus points please :)
 src/main.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/main.c b/src/main.c
index a4298e3..e8dbd97 100644
--- a/src/main.c
+++ b/src/main.c
@@ -60,6 +60,14 @@ main()
			case SDL_MOUSEMOTION:
				paddle_move(&st.paddle, event.motion.x);
				break;
[message trimmed]

Re: [PATCH] Improve Makefile 22 days ago

From Sebastian LaVine to ~smlavine/ascii-breakout

Thank you, this is a massive improvement. I might play with this further
to add a config.mk, but still a lot more useful and configurable than
what I had before.

Applied, with one minor adjustment:

> ...
> + rm -f ascii-breakout
> +
> +install:
> + mkdir -p $(DESTDIR)$(PREFIX)/bin
> + cp ascii-breakout $(DESTDIR)$(PREFIX)/bin
> ...