~ghost08

https://mgyar.me

~ghost08/ratt

Last active 2 months ago

~ghost08/ink

Last active 2 months ago

~ghost08/photon

Last active 3 months ago
View more

Recent activity

When we will have threading 13 days ago

From Vladimír Magyar to ~sircmpwn/aerc

It's good to see that the progress on aerc is more dynamic in the last
weeks. But one feature, a crucial one I would say, is to display
messages in threads.

It is too complicated to search for the previous mails, especially when
they are already in archive or trash. Also many times I've seen comments
that the lack of this feature prevents new people to use aerc.

I've seen some patches for notmuch and IMAP, but they aren't merged. And
for me they aren't relevant because I use just maildir. Is there a
universal way to do it?

Re: How to make a new backend a month ago

From Vladimír Magyar to ~eliasnaur/gio

Ok, so for me to decode the ops, I need to use the ops.Reader, which is
in the "gioui.org/internal/ops" package. But I cannot import a internal
package:

	use of internal package gioui.org/internal/ops not allowed

Can I just make a local copy of it?

Re: [PATCH ratt 0/2] [PATCH] Allowing ratt be used as a library 2 months ago

From Vladimír Magyar to ~ghost08/ratt

Thanks, I applied it and it works great. Now I must update the aur
package.

Re: How to make a new backend 2 months ago

From Vladimír Magyar to ~eliasnaur/gio

Thanks, I have a look at it.

Re: [Question] Modifying the project to work as a libray? 2 months ago

From Vladimír Magyar to ~ghost08/ratt

Ok so it will be:
`go install git.sr.ht/~ghost08/ratt/cmd/ratt@latest`

I think it's not that big of a deal

So I'll wait for your patch.

Re: [Question] Modifying the project to work as a libray? 2 months ago

From Vladimír Magyar to ~ghost08/ratt

I think it is done with another folder in the cmd
git.sr.ht/~ghost08/ratt/cmd/ratt

Then, I think, it can be installed with just
`go install git.sr.ht/~ghost08/ratt@latest`

Re: [Question] Modifying the project to work as a libray? 2 months ago

From Vladimír Magyar to ~ghost08/ratt

Hi Marius,

that's a great idea. So I think this would be then installed with:
`go install git.sr.ht/~ghost08/ratt/cmd@latest` ?
Then I must change also the AUR packages. When time allows I'll check it
and add your patch. Will inform you.

How to make a new backend 2 months ago

From Vladimír Magyar to ~eliasnaur/gio

Hello gio,

TLDR; is there a simple way to create a new backend for rendering the
gui and getting the input io on another device?

So I'm now obsessed with e-paper devices. I've got a pocketbook e-reader
and learned, that it runs linux on a arm processor and they have a C
library for accessing the events (show, hide, touch, key, ...) and for
drawing on the screen (line, rect, fill, crop, text, ...).

I've started some "gio inspired" immediate mode gui lib on top of this.
But when I implemented, with the help of gio src, some drawing
operations, a "event queue", layout, widget, flex, label, button, I
figured out, that it will be too complicated to implement every thing on

Re: [Question] Reverse the order of items 2 months ago

From Vladimír Magyar to ~ghost08/ratt

So it took a while longer, but I got to it. Now the selectors have a
`sort` attribute which is a enum with values:
REVERSE, CREATED_ASD, CREATED_DESC, TITLE_ASD, TITLE_DESC

Maybe later I will add other values as well.

So try it and report if something doesn't work.

Re: [Question] Reverse the order of items 2 months ago

From Vladimír Magyar to ~ghost08/ratt

> Another thing that can be done is that a `sort` attribute in selectors
> is used to specify some default sorting methods like reverse sort or
> alphabetic order etc, without the option to write lua code. It will
> remove the need to convert items to `lua tables` and back to `go
> struct`. A new function which takes the value of `sort` and the items
> array as parameters and modify the order of the array items based on the
> predefined sorting type specified.
>
> This certainly will not be as powerful as having the ability to sort
> however one wants to with lua script but thinking about it, there are
> not that many types of sorting that one might want to apply.

Ok that's a good argument, you're rights. It can be a enum like REVERSE,
CREATED, TITLE and so. Also it will be quicker to implement. Maybe tomorow