~mil

http://milesalan.com

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

My nick is mla on IRC.

~mil/sxmo-devel

Last active 2 hours ago

~mil/mepo-devel

Last active 12 days ago

~mil/sxmo-announce

Last active a month ago

~mil/foo

Last active 1 year, 6 months ago
View more

Recent activity

Re: [PATCH mepo] mepo_script_nomatim_searchprompt.sh: fix output center_coords command 16 days ago

From Miles Alan to ~mil/mepo-devel

Hi Anjan - can you provide some context on this patch & provide a
clearer commit message if change is needed? Nominatim search works ok
for me currently.

On Sat, Oct 9, 2021, at 1:48 AM, Anjandev Momi wrote:
> ---
>  scripts/mepo_script_nomatim_searchprompt.sh | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/scripts/mepo_script_nomatim_searchprompt.sh 
> b/scripts/mepo_script_nomatim_searchprompt.sh
> index 706a889..8eb744f 100755
> --- a/scripts/mepo_script_nomatim_searchprompt.sh
> +++ b/scripts/mepo_script_nomatim_searchprompt.sh

Re: [PATCH mepo] mepo_helper_menu.sh: use bemenu on wayland 16 days ago

From Miles Alan to ~mil/mepo-devel

On Sat, Oct 9, 2021, at 2:09 AM, Anjandev Momi wrote:
> ---
>  scripts/mepo_helper_menu.sh | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/mepo_helper_menu.sh b/scripts/mepo_helper_menu.sh
> index 84a7aee..210f434 100755
> --- a/scripts/mepo_helper_menu.sh
> +++ b/scripts/mepo_helper_menu.sh
> @@ -1,8 +1,12 @@
>  #!/usr/bin/env sh
>  PROMPT="$1"
> 
> +MENU="dmenu -w $(xdotool getactivewindow)"

Re: SDL_*.h cannot find SDL.h 21 days ago

From Miles Alan to ~mil/mepo-devel

On Mon, Oct 4, 2021, at 10:30 AM, Nguyễn Gia Phong wrote:
> On NixOS, with SDL2, SDL2_image, SDL2_ttf and curl, zig build is giving
> me the following:
>
> .../include/SDL2/SDL_image.h:27:10: note: 'SDL.h' file not found
> #include "SDL.h"
>          ^
>
> This is a common SDL kink, which is usually worked around with
> pkg-config.  I am rather surprised that it worked out of box for you
> on Alpine, and I do not know how to get it to work with zig build
> (I faced this in another project using SDL and ended up using another
> library for image loading), so I'll leave it here in case someone
> knows a solution.

Mepo project (OSM map viewer): ML, bug tracker, and info 21 days ago

From Miles Alan to ~mil/sxmo-devel

Hi all,

I just wanted to send a brief note here to just announce I have opened
up a separate project on sr.ht (ML, bug tracker, etc.) for Mepo as work
on this project will be picking up. For those of you not following to
closely, Mepo is a minimal OSM map viewer that'll fit nicely with Sxmo
but also works in other mobile environments & generic linux desktops
too. Check out the project page for more details.

Project page: https://sr.ht/~mil/Mepo/
Mailing list: https://lists.sr.ht/~mil/mepo-devel
Tickets: https://todo.sr.ht/~mil/mepo-tickets

Cheers,

Re: [PATCH sxmo-utils] WIP: WIP WIP WIP mepo 21 days ago

From Miles Alan to ~mil/sxmo-devel

On Mon, Sep 27, 2021, at 1:09 PM, Stacy Harper wrote:
> I choose to add our own dedicated sxmo_gps for multiple reasons:
>
> - We got complete control over it
> - We do not need gpsd-clients that itself need some python3 dependencies
> - It is a very simple script and do a very simple thing
> - It does not buffer stdout which make it scripteable
>
> Signed-off-by: Stacy Harper <contact@stacyharper.net>
> ---

Thanks for sending at this. So on my end - I'm still working on
getting gpsd to spit out actual coordinates at all. Unfortunately the
magic line of: mmcli -m any --location-enable-gps-unmanaged

Announcing the Mepo Mailing List 22 days ago

From Miles Alan to ~mil/mepo-devel

Welcome to the mepo mailing list! Here I'll share periodic updates on Mepo's
development and also this mailing list will serve as a channel for accepting
patches and hosting discussion about features etc.

You can find out more info about mepo at:
https://sr.ht/~mil/Mepo/

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

And to submit patches, email the ML at:
~mil/mepo-devel@lists.sr.ht

Cheers,

Re: [PATCH mepo] mepo_bbox_search: Ignore empty entry a month ago

From Miles Alan to ~mil/sxmo-devel

On Sat, Aug 28, 2021, at 5:52 PM, Julian P Samaroo wrote:
> ---
>  scripts/mepo_bbox_search.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> +[ -z "$SCOPE" ] && exit 0

Thanks - applied!

Re: [PATCH mepo] mepo_bbox_search: Fix long multi-word pin names 2 months ago

From Miles Alan to ~mil/sxmo-devel

On Fri, Aug 13, 2021, at 6:35 PM, Julian P Samaroo wrote:
> diff --git a/scripts/mepo_bbox_search.sh b/scripts/mepo_bbox_search.sh
> index b1e8bd4..b8cc0a1 100755
> -  awk -F' ' '{print $1 " " $2 " [" $3 " " $4 " " $5 " " $6 " " $7 " " 
> $8 "]"}' |
> +  awk -F' ' '{lat=$1; lon=$2; $1=""; $2=""; gsub(/^[ \t]+/,"",$0); 

Nice - thanks, merged!

Re: [PATCH] mepo: mepo_bbox_search: Escape single quotes 2 months ago

From Miles Alan to ~mil/sxmo-devel

On Thu, Aug 12, 2021, at 6:09 PM, Julian P Samaroo wrote:
> Prevents xargs error for strings like [Maggiano's]
> ---
>  scripts/mepo_bbox_search.sh | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/mepo_bbox_search.sh b/scripts/mepo_bbox_search.sh
> index 8f5bff5..b5d74a3 100755
> +  sed "s/'/\\\'/g" |
> +  xargs -ID echo 'pin_add D;'

Thanks - applied.

Re: [PATCH mepo V2] Use a MEPO_MENU env variable for menu scripts 2 months ago

From Miles Alan to ~mil/sxmo-devel

On Fri, Aug 13, 2021, at 1:11 PM, Alex McGrath wrote:
> As suggested, a simpler version of the previous patch where the
> MEPO_MENU variable is set externally to mepo
> 
> ---
>  scripts/mepo_apilangexec.sh          | 2 +-
>  scripts/mepo_bbox_queuedownload.sh   | 4 ++--
>  scripts/mepo_bbox_search.sh          | 2 +-
>  scripts/mepo_nomatim_searchprompt.sh | 4 ++--
>  scripts/mepo_urlsourceset.sh         | 2 +-
>  scripts/mepo_zoomlevelset.sh         | 2 +-
>  6 files changed, 8 insertions(+), 8 deletions(-)
>