~mil

http://milesalan.com

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

My nick is mla on IRC.

Trackers

~mil/sxmo-tickets

Last active 11 hours ago

~mil/mepo-tickets

Last active 5 days ago

~mil/mobroute-tickets

Last active 5 days ago

~mil/tlml-tickets

Last active 3 months ago

~mil/framebufferphone-tickets

Last active 1 year, 26 days ago

#66 Document how to add a custom script 5 days ago

docs added by ~mil on ~mil/mepo-tickets

#68 Non-integer based mouse position scaling in sway broken 5 days ago

release_1.2 added by ~mil on ~mil/mepo-tickets

#68 Non-integer based mouse position scaling in sway broken 5 days ago

pending-release added by ~mil on ~mil/mepo-tickets

#68 Non-integer based mouse position scaling in sway broken 5 days ago

Comment by ~mil on ~mil/mepo-tickets

#68 Non-integer based mouse position scaling in sway broken 5 days ago

bug added by ~mil on ~mil/mepo-tickets

#68 Non-integer based mouse position scaling in sway broken 5 days ago

Ticket created by ~mil on ~mil/mepo-tickets

In sway it seems if scaling is set to a non-integer (e.g. such as 1.4), mouse clicks scale positioning is broken.

2x scaling, 1x scaling, 3x scaling works aok, so it seems this is specifically for non-integers (such as 1.4, 1.5 etc.). Note Sxmo & Phosh set scaling to 2x by default so it wouldn't be caught here with defaults.

You can replicate with:

  • swaymsg output eDP-1 scale 1.4
  • Launch mepo and mouse registration (clicking pins & UI buttons) is broken

https://git.sr.ht/~mil/mepo/tree/master/item/src/Mepo.zig#L556

SDL version info:

Compiled against SDL SDL-release-2.26.1-0-gf17058b56; linked against SDL SDL-release-2.26.1-0-gf17058b56 (version=2.26.1)
SDL Videodriver wayland attempting to initialize
Successfully initialized SDL with videodriver: wayland
Requested renderer driver types.RendererType.Auto, using renderer: opengl

#5 Make stoptimes mepo integration script output as mepolang 5 days ago

Ticket created by ~mil on ~mil/mobroute-tickets

Currently the stoptimes mepo integration script shows stoptimes as a separate terminal window.

Ideally we have this script just output mepolang (e.g. directly from mobroute command) and feed back in using mepo's pin_meta facility. So we drop a pin on the map in the cursor and can see stoptimes in the pin overlay in mepo's UI rather then a separate window.

https://git.sr.ht/~mil/mobroute/tree/master/item/scripts/mepo_menu_mobroute_stoptimes.sh

#67 mobroute: add printWithSeperator(header, sepeartor, data) function 7 days ago

Comment by ~mil on ~mil/mepo-tickets

REPORTED RESOLVED CLOSED

#67 mobroute: add printWithSeperator(header, sepeartor, data) function 7 days ago

Comment by ~mil on ~mil/mepo-tickets

Migrated to mobroute ticket tracker at: https://todo.sr.ht/~mil/mobroute-tickets/4

#4 DRY / make common function for formatter logic 7 days ago

Ticket created by ~mil on ~mil/mobroute-tickets

Formatter logic for CSV/tables is quite repetitive with looping over each item and manually printing. There should be a common function to pass [][]string etc. for each row rather then manually looping in each formatter.

Associated file: https://git.sr.ht/~mil/mobroute/tree/master/item/calculator/formatters.go