~mil

http://milesalan.com

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

My nick is mla on IRC.

~mil/sxmo-user

Last active 4 days ago

~mil/sxmo-devel

Last active 5 days ago

~mil/mobroute-devel

Last active a month ago

~mil/sxmo-announce

Last active 2 months ago

~mil/mepo-devel

Last active 3 months ago

~mil/tlml-dev

Last active 8 months ago

~mil/framebufferphone-devel

Last active 1 year, 1 month ago

~mil/foo

Last active 3 years ago
View more

Recent activity

Mobroute - October update: 0.2 Release / CSA, Multisource, and Android & Linux Mobile App a month ago

From Miles Alan to ~mil/mobroute-devel

Hi all - welcome to the October update for Mobroute covering the releases
of Mobroute 0.2, Mobsql 0.2, and the announcement of Mobapp, which is a
new Android & Linux mobile application allowing you to use Mobroute on the
go. For the uninitiated, Mobroute is a minimal FOSS public transportation
/ GTFS router with automatic feed import, more information on the project
overall is available at: http://sr.ht/~mil/mobroute. Do note that release
notes for Mobroute, Mobsql, and Mobapp are mirrored in the git annotated
tags for each release.

This is a large update split up into 4 parts, so feel free to only read
the sections you are interested in, for which you can see a one line
description of each section below.

Contents:

Re: Debugging crashing application on Android / how to access STDOUT/STDERR? 2 months ago

From Miles Alan to ~eliasnaur/gio

On Wed, Aug 30, 2023, at 4:38 PM, Chris Waldon wrote:
> Hi Miles,
>
>> I'm curious about debugging Android apps / APKs baked with Gio. I'm
>> working on a little UI with Gio that has a problematic library call in
>> Go. I have a button that calls the library and the application crashes
>> on Android. On Linux the application works aok - so it must be something
>> specific to Android using this library.
>>
>> Is there a way to access STDOUT/STDERR log for an Android application
>> or Gio specific debugging tools that could be used in this scenario?
>
> Nothing Gio specific, but you can use standard Android tools to get
> the logs. In particular, `adb logcat` will display all logs from the

Debugging crashing application on Android / how to access STDOUT/STDERR? 3 months ago

From Miles Alan to ~eliasnaur/gio

I'm curious about debugging Android apps / APKs baked with Gio. I'm
working on a little UI with Gio that has a problematic library call in
Go. I have a button that calls the library and the application crashes
on Android. On Linux the application works aok - so it must be something
specific to Android using this library.

Is there a way to access STDOUT/STDERR log for an Android application
or Gio specific debugging tools that could be used in this scenario?

Any help appreciated,
Miles

Mepo - August update: 1.2.0 Release / Improved pin rendering performance 3 months ago

From Miles Alan to ~mil/mepo-devel

Hi all - welcome to the August update for Mepo, the fast, simple, and
hackable OSM map viewer for desktop & mobile Linux devices. This update
covers the release of Mepo 1.2.0 which largely focused on improvements to
the application's performance when rendering large numbers of pins. You
can follow Mepo's development at http://sr.ht/~mil/mepo and do note
that release notes are also mirrored in the git annotated tags for
each release.

Contents:
- Mepo 1.2.0 Release Notes
- Packaging Updates: Alpine package & Flatpak updated to 1.2.0
- General Project News

---

Re: [PATCH mepo 0/5] Port to Zig 0.11 3 months ago

From Miles Alan to ~mil/mepo-devel


On Tue, Aug 8, 2023, at 8:06 AM, Nguyễn Gia Phong wrote:
> Reference: https://ziglang.org/download/0.11.0/release-notes.html
>
> Nguyễn Gia Phong (5):
>   Specify build for Zig 0.11
>   Refactor redundant pin cycling logic
>   Replace deprecated std cstr.cmp with mem.orderZ
>   Use Zig 0.11 syntax for captured index in for loop
>   Port to Zig 0.11 builtins with type inference
>
>  build.zig                     |  33 +++---
>  src/Mepo.zig                  |  64 ++++++------

Re: [PATCH mepo 2/5] Refactor redundant pin cycling logic 3 months ago

From Miles Alan to ~mil/mepo-devel

On Tue, Aug 8, 2023, at 8:06 AM, Nguyễn Gia Phong wrote:
> ---
>  src/api/pin_cycle.zig | 27 +++++++++++++--------------
>  1 file changed, 13 insertions(+), 14 deletions(-)
>
> diff --git a/src/api/pin_cycle.zig b/src/api/pin_cycle.zig
> index cc6d0e8316c8..674ae34abdcb 100644
> --- a/src/api/pin_cycle.zig
> +++ b/src/api/pin_cycle.zig
> @@ -20,28 +20,27 @@ fn execute(mepo: *Mepo, args: 
> [types.MepoFnNargs]types.MepoArg) !void {
>  }
> 
>  pub fn pin_cycle(mepo: *Mepo, viewport_only: bool, delta: i32) !void {

Re: [PATCH] posix compatibility: remove use of ansi-c quoting 3 months ago

From Miles Alan to ~mil/mepo-devel

On Thu, Aug 10, 2023, at 5:38 PM, Bernhard wrote:
> On Thu, 10 Aug 2023 16:39:42 -0400
> "Miles Alan" <m@milesalan.com> wrote:
>
>> On Tue, Jul 25, 2023, at 4:46 PM, nycex wrote:
>> > +    newline="$(printf '\nx')"
>> > +    newline="${newline%x}"
>> >      RESULT="$(
>> >        echo "$OPTS" |
>> > -      xargs -d$'\n' zenity $(zenitydims 0.8 0.8) --title "Select
>> > an entry" --list --column=Selection --text "$PROMPT"
>> > +      xargs -d"$newline" zenity $(zenitydims 0.8 0.8) --title
>> > "Select an entry" --list --column=Selection --text "$PROMPT"  
>> 

Re: [PATCH] posix compatibility: remove use of ansi-c quoting 3 months ago

From Miles Alan to ~mil/mepo-devel

On Tue, Jul 25, 2023, at 4:46 PM, nycex wrote:
> +    newline="$(printf '\nx')"
> +    newline="${newline%x}"
>      RESULT="$(
>        echo "$OPTS" |
> -      xargs -d$'\n' zenity $(zenitydims 0.8 0.8) --title "Select an 
> entry" --list --column=Selection --text "$PROMPT"
> +      xargs -d"$newline" zenity $(zenitydims 0.8 0.8) --title "Select 
> an entry" --list --column=Selection --text "$PROMPT"

Thanks for sending - sorry about the delay, this got lost on me. This is
one of those sharp edges of shell where I'm not really sure of the 'best'
solution. Do you know of any doc on ansi-c quoting and best practices
as described? E.g. is this method you sent commonly prescribed somewhere?

Mobroute - August update: 0.1 Release / GTFS-to-SQL data ingestion 3 months ago

From Miles Alan to ~mil/mobroute-devel

Hi all - welcome to the August update for Mobroute covering the releases
of Mobroute 0.1 & Mobsql 0.1; these releases address Mobroute's
GTFS-to-SQL data ingestion logic. Mobroute is a minimal FOSS GTFS
router with automatic feed import, more information on project overall
is available at: http://sr.ht/~mil/mobroute. This is the first in what
will be a series of regular updates on Mobroute's development to keep the
community informed of progress on the project. Release notes for Mobroute
and Mobsql are mirrored in the git annotated tags for each release.

Contents:
- Mobroute 0.1 Release Notes
- Mobsql 0.1 Release Notes & Details
- Project news: Roadmap, NLNet Grant, and Plans for Next Release

Re: [PATCH mobroute v2] add script to show stop times on cursor 5 months 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