~mil

http://milesalan.com

I'm Miles, also see: http://milesalan.com

My nick is mla on IRC.

~mil/sxmo-devel

Last active 15 hours ago

~mil/mepo-devel

Last active 5 days ago

~mil/mobroute-devel

Last active 7 days ago

~mil/sxmo-announce

Last active 17 days ago

~mil/sxmo-user

Last active 17 days ago

~mil/tlml-dev

Last active 3 months ago

~mil/framebufferphone-devel

Last active 7 months ago

~mil/foo

Last active 3 years ago
View more

Recent activity

Re: [PATCH mobroute v2] add script to show stop times on cursor 5 days ago

From Miles Alan to ~mil/mepo-devel

On Sat, May 27, 2023, at 1:57 AM, Anjandev Momi wrote:
> ---
>  scripts/mepo_menu_stoptimes.sh | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100755 scripts/mepo_menu_stoptimes.sh
>
> diff --git a/scripts/mepo_menu_stoptimes.sh 
> b/scripts/mepo_menu_stoptimes.sh
> new file mode 100755
> index 0000000..488b721
> --- /dev/null
> +++ b/scripts/mepo_menu_stoptimes.sh
> @@ -0,0 +1,9 @@
> +#!/usr/bin/env sh

Re: Announcing Mobroute - Minimal FOSS Public Transportation Router proof of concept 7 days ago

From Miles Alan to ~mil/mepo-devel

Hi all,

To follow up on this - I am separating tracking Mobroute development into
a separate srht project, mailing list, and ticket tracker from Mepo. For
anyone who missed it, Mobroute is a new mepo-adjacent project I am working
on which is a general purpose and simple GTFS / public transportation
router with automatic feed import. Splitting the project out from Mepo
should allow things in the two projects, Mepo & Mobroute, to remain
separate as these efforts, while having some overlap / integration work,
are independent of one another.

The new project, associated mailing list, and ticket tracker can be found at:
- http://sr.ht/~mil/mobroute
- https://lists.sr.ht/~mil/mobroute-devel

Announcing the Mobroute Mailing List 7 days ago

From Miles Alan to ~mil/mobroute-devel

Hi all,

This is an announcement for the new mailing list and project page
for Mobroute. Mobroute is a simple and general purpose GTFS / public
transportation router with automatic feed import.

Details on the project & the project's release announcement can be seen at:
- http://sr.ht/~mil/mobroute
- https://lists.sr.ht/~mil/mepo-devel/%3C9e35583d-c97c-4978-a06a-fd501cf548b4%40app.fastmail.com%3E

You can submit tickets at:
https://todo.sr.ht/~mil/mobroute-tickets

And this list will track both development updates & provide a place for

Re: [PATCH mobroute 3/3] formatters.go: add csv support to formatroute 9 days ago

From Miles Alan to ~mil/mepo-devel

On Sat, May 27, 2023, at 1:44 AM, Anjandev Momi wrote:
> ---
>  calculator/formatters.go | 36 +++++++++++++++++++++++++-----------
>  1 file changed, 25 insertions(+), 11 deletions(-)
>
> diff --git a/calculator/formatters.go b/calculator/formatters.go
> index 65430e0..6984992 100644
> --- a/calculator/formatters.go
> +++ b/calculator/formatters.go
> @@ -112,27 +112,41 @@ func (c *Calculator) FormatRoute(format string, 
> fromNode *types.Node, toNode *ty
>  		currentNode = currentNode.Parent
>  	}
> 

Re: [PATCH mepo_website] add compile from source instructions 12 days ago

From Miles Alan to ~mil/mepo-devel

On Thu, May 25, 2023, at 2:19 AM, Nguyễn Gia Phong wrote:
> On 2023-05-24 at 22:29-07:00, Anjandev Momi wrote:
>> +3. Get and build the mepo source: `git clone https://git.sr.ht/~mil/mepo && cd mepo && ../zig-linux-<your-arch>-<version>/zig build`.
>
> Assuming this guide is intended for end users, I think releases
> should be recommended instead: https://git.sr.ht/~mil/mepo/refs
>
> I don't speak for the maintainer, but the file is currently wrapped
> at around column 72, so it also might be a good idea to keep it
> that way.  Personally I'd at least expect a code block instead of
> multiple commands &&-chained together for better readability.
>
> On 2023-05-24 at 22:29-07:00, Anjandev Momi wrote:
>> +4. Install mepo via: `doas cp zig-out/* /usr/local`.

Re: [PATCH mobroute] add script to show stop times on cursor 12 days ago

From Miles Alan to ~mil/mepo-devel

On Thu, May 25, 2023, at 1:11 AM, Anjandev Momi wrote:
> ---
>  scripts/mepo_menu_stoptimes.sh | 6 ++++++
>  1 file changed, 6 insertions(+)
>  create mode 100755 scripts/mepo_menu_stoptimes.sh
>
> diff --git a/scripts/mepo_menu_stoptimes.sh 
> b/scripts/mepo_menu_stoptimes.sh
> new file mode 100755
> index 0000000..f1d8c45
> --- /dev/null
> +++ b/scripts/mepo_menu_stoptimes.sh
> @@ -0,0 +1,6 @@
> +#!/usr/bin/env sh

Re: [PATCH] mepo_ui_menu_user_pin_updater.sh: fix == in place of = 16 days ago

From Miles Alan to ~mil/mepo-devel

Applied - thanks!

On Fri, May 5, 2023, at 1:41 PM, lpt wrote:
> == doesn't work on POSIX sh
> ---
>  scripts/mepo_ui_menu_user_pin_updater.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/mepo_ui_menu_user_pin_updater.sh 
> b/scripts/mepo_ui_menu_user_pin_updater.sh
> index 2cb56b3..29d2f76 100755
> --- a/scripts/mepo_ui_menu_user_pin_updater.sh
> +++ b/scripts/mepo_ui_menu_user_pin_updater.sh
> @@ -72,7 +72,7 @@ getcoords() {

Re: [PATCH] Use OS-independent sigaction after fc6156a833bb 3 months ago

From Miles Alan to ~mil/mepo-devel

On Mon, Feb 6, 2023, at 8:29 AM, Jan Beich wrote:
> ENOSYS terminates the process on FreeBSD. However, Linux sigaction()
> has the same syscall number as obsolete vread(), so does nothing.
>
> $ mepo &
> $ pkill -USR1 mepo
> [...]
> User defined signal 1
> ---
>  src/api/bind_signal.zig | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/src/api/bind_signal.zig b/src/api/bind_signal.zig
> index 61af232..504d55a 100644

Re: [PATCH] Use relative paths to launch shell scripts 4 months ago

From Miles Alan to ~mil/mepo-devel

On Fri, Feb 3, 2023, at 7:44 PM, i@1a-insec.net wrote:
> With this patch, shell scripts don't have to be on PATH to work.
>
> For some reason, only the "Center" button works for me. Other buttons 
> like "Dl" does nothing, except print curl download log in console. Is 
> this intended?
>
>
> Attachments:
> * 0001-Launch-shell-scripts-with-absolute-path.patch

Thanks for sending, though note scripts being in $PATH is by design as
this way end-users can arbitrarily add their own scripts.

Re: [PATCH mepo] unpin zig patch number 4 months ago

From Miles Alan to ~mil/mepo-devel

On Wed, Feb 1, 2023, at 9:42 AM, laalsaas wrote:
> A patch release shouldn't have any breaking changes. However, pinning
> the patch means reducing the tolerance for different zig versions in
> software repositorys to zero.
> ---
> NixOS only has zig 0.10.1, however mepo 1.1.1 still pins zig 0.10.0,
> while mepo 1.1.2 isn't released yet.
>
>  src/main.zig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/main.zig b/src/main.zig
> index 513038e..33c78f2 100644
> --- a/src/main.zig