mapscii icon indicating copy to clipboard operation
mapscii copied to clipboard

query current location & center map

Open derhuerst opened this issue 7 years ago • 14 comments

closes #2.

derhuerst avatar Apr 29 '17 09:04 derhuerst

bump. (:

derhuerst avatar May 29 '17 18:05 derhuerst

aaa will soon be back online and on the code again - thanks for the bump :)

rastapasta avatar Jun 16 '17 22:06 rastapasta

bump.

derhuerst avatar Jun 27 '17 17:06 derhuerst

bump.

derhuerst avatar Aug 04 '17 13:08 derhuerst

bump.

derhuerst avatar Sep 05 '17 15:09 derhuerst

bump.

derhuerst avatar Dec 19 '17 21:12 derhuerst

I think this is a cool feature, however, I have a couple of concerns.

  1. Mapscii gets used both locally and remotely via telnet. This feature would be solely available locally.
  2. It is platform dependent which ideally includes continuous integration tests on every targeted platform. For now the platform is simply NodeJS (and telnet). I do not have a MacOS device to test the feature now or in the future. It would be ideal to have an indicator whether it still works.
  3. There is a chance that Mapscii gets rejected from distribution channels, if binaries are included. In your project’s Readme you point to yet another repo, but without building steps. Is there a way to build the blob from source as part of the npm install process?
  4. The package is not published on NPM. The platform heavily invests in security audits and automated testing. It would be better to download a versioned package of the dependency from NPM.
  5. It is a convenience feature and as such might be implemented as an optional dependency. As the project already has optional dependencies, closely tied extensions could be a consideration.

Thanks so much, @derhuerst, for your contribution. I hope, we find a way to implement this without widening the technical scope of the project immensely.

jaller94 avatar Oct 17 '18 05:10 jaller94

I am going to merge my CoffeeScript to JavaScript PR. Sorry for the merge conflict in advance.

jaller94 avatar Oct 17 '18 06:10 jaller94

  1. Mapscii gets used both locally and remotely via telnet. This feature would be solely available locally.

Correct. Should we detect wether Mapscii is running inside a telnet session?

  1. It is platform dependent which ideally includes continuous integration tests on every targeted platform. For now the platform is simply NodeJS (and telnet).

There are tests for macOS and Linux.

  1. There is a chance that Mapscii gets rejected from distribution channels, if binaries are included. In your project’s Readme you point to yet another repo, but without building steps.

There are building instructions in the Homebrew formula.

Is there a way to build the blob from source as part of the npm install process?

Yes, but it basically defeats the purpose of @derhuerst/location (being portable).

  1. The package is not published on NPM. The platform heavily invests in security audits and automated testing. It would be better to download a versioned package of the dependency from NPM.

There is @derhuerst/location. Back then, I didn't have in on npm yet.

  1. It is a convenience feature and as such might be implemented as an optional dependency. As the project already has optional dependencies, closely tied extensions could be a consideration.

How would that work?

Another possible way to get the current location is via a command line option: mapscii --location $(npx location-cli --comma).

derhuerst avatar Oct 17 '18 18:10 derhuerst

@derhuerst I think "query location" is a necessary function. But, the command line option does not work.

# mac
$ git clone https://github.com/derhuerst/mapscii
$ cd mapscii
$ npm i
$ ./bin/mapscii.sh --location `curl -sL ipinfo.io/8.8.8.8/loc`

Do you have any thoughts about what the cause might be?

syui avatar Jan 31 '19 04:01 syui

Another possible way to get the current location is via a command line option: mapscii --location $(npx location-cli --comma).

But, the command line option does not work. Do you have any thoughts about what the cause might be?

I either forgot to implement it, or to mention that it would be a cool addition. 😛

derhuerst avatar Jan 31 '19 12:01 derhuerst

I have adapted my PR to the current codebase, but I'd also be okay with only having the --location CLI option.

derhuerst avatar Jan 31 '19 12:01 derhuerst

What about using p for "position"?

YtvwlD avatar Mar 07 '20 10:03 YtvwlD

Would be nice to have this feature

snipem avatar May 15 '21 16:05 snipem