helium / cargo-elixir Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi, I'm getting below error when trying to deploy the project with docker-compose version:
How can I fix the issue? Many thanks in advance!
time="2023-05-21T11:08:24+02:00" level=warning msg="The \"SECRET_KEY_BASE\" variable is not set. Defaulting to a blank string."
[+] Building 2.8s (6/23)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 784B 0.0s
=> [internal] load metadata for docker.io/library/elixir:1.9-alpine 0.7s
=> [internal] load build context 0.1s
=> => transferring context: 4.36kB 0.0s
=> CACHED [ 1/19] FROM docker.io/library/elixir:1.9-alpine@sha256:4fb83dba35436dfa0c7af1f7d82f571c6571b2a7f59b49ce37dfa5308d97ca54 0.0s
=> ERROR [ 2/19] RUN apk add --update git build-base nodejs npm yarn python bash openssl postgresql-client 2.1s
------
> [ 2/19] RUN apk add --update git build-base nodejs npm yarn python bash openssl postgresql-client:
#0 0.540 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
#0 0.891 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
#0 1.429 ERROR: unable to select packages:
#0 1.476 python (no such package):
#0 1.476 required by: world[python]
------
failed to solve: process "/bin/sh -c apk add --update git build-base nodejs npm yarn python bash openssl postgresql-client" did not complete successfully: exit code: 1
Not all hotspots are being fetched by the MapScreen. This means the mouseover feature which draws a line from a packet to the hotspot that received it does not work for all hotspots. It looks like only 10,000 hotspots are loaded out of the current 15,000+ per this code.
cargo-elixir/assets/js/pages/MapScreen.js
Line 153 in adc92d5
This is a nice to have issue and by no means critical functionality. If the limit of 10,000 is intentional, perhaps the list of hotspots can be filtered based on the current view of the map instead of pulling from all hotspots which returns the most recent 10,000 regardless of whether they are on the map or no.
Currently the Cargo integration requires data in a mix of SI/Metric and Imperial units. Because Helium is being used across the globe, and not only in the US, it would make more sense to use SI units.
The only field that is currently not in SI units is speed.
Changing the expected unit of the speed field would result in a lot of incorrect data being ingested. We therefore need a migration plan. I suggest something like this:
speed_ms
, speed_kph
, speed_mph
, speed_knots
for metre per second, kilometres per hour, miles per hour and knots (as reported in NMEA) respectively.speed
field.speed
and interpret it as km/h.Problem: The mappers overlay helps a lot to chart new territory, but it becomes difficult to recognize where distinct hexes might lie just a few spaces from mapped areas. In other words, the mapping benefit of the mappers overlay only helps if there are already mapped hexes in the area.
Solution: Include outlines of empty hexes across the entire map when the community map is enabled.
Figure: crude representation using h3 outlines as an overlay on the cargo app
Long term: My understanding is that this overlay is best rendered using h3 and geojson2h3 on the client side. This sets up Cargo to ingest and draw h3 indexes directly in app. This would allow us to reduce the mappers payload by passing h3 indexes with their associated RSSI instead of the rendered polygons for those regions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.