Stream: Zulip

Topic: routing playground


view this post on Zulip i-ky (Feb 08 2023 at 11:21):

Būtu interesanti pamēģināt uztaisīt code playround priekš routing testēšanas. Mēs šeit rakstīsim:

```routing
...
```

Zulip to ... sūtīs uz servisu, kas to pārveidos par OSM datiem, pados tos tālāk routing'am un atspoguļos routing'a rezultātus. Ja izdosies routing'u un pārējas komponentes nokompilēt kā WebAssembly, tad servisam var izmantot GitHub Pages. Kas būs ... vietā ir atklāts jautājums, bet piemēram var iedvesmoties no OSRM testiem.

Zulip supports the standard Markdown syntax for inline code spans and code blocks: | Sending the above message in Zulip will render like this: | You can also use ~~~ to start code blocks, or just indent the code 4 or more spaces. | A widget in the top right corner of code blocks allows you to easily copy the code to your clipboard. | Tagging a code block with a language enables syntax highlighting and (if configured) code playgrounds. Zulip supports syntax highlighting for hundreds of languages. | A code block can be tagged by typing the language name after the fence (```) that begins a code block, as shown here. Typeahead will help you enter the name for the language. The Short names values from the Pygments lexer documentation are the complete set of values that support syntax highlighting.
Open Source Routing Machine - C++ backend. Contribute to Project-OSRM/osrm-backend development by creating an account on GitHub.

view this post on Zulip Rihards Olups (Feb 08 2023 at 12:27):

Izklausās interesanti, kādi usecases nāk prātā?

view this post on Zulip i-ky (Feb 08 2023 at 12:38):

Ir gadījumi, kad routing uzvedās kaut kā neadekvāti, piemēram šeit. Iespējams, pats routing dara kaut ko nepareizi, bet iespējams arī kaut kas nav pareizi uzzīmēts. Ja priekš "debugging" lieto routing no osm.org, tad ilgi jāgaida, kamēr routing atjaunos savu "datubāzi" ar OSM labojumiem. Ar šo servisu būs vienkāršāk saprast, kas ir kas, ar "trial and error" pieeju. Un routing developeri laikam novērtētu minimālu piemēru, ja tas ir viņu bug.

OpenStreetMap is a map of the world, created by people like you and free to use under an open license.
OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

view this post on Zulip Rihards Olups (Feb 08 2023 at 12:47):

Kas būtu routing backenda serviss?

view this post on Zulip i-ky (Feb 08 2023 at 13:02):

Ne tikai. Tur jābūt arī ievaddatu parserim un kaut kādai vizualizācijai arī.

view this post on Zulip Rihards Olups (Feb 08 2023 at 14:45):

Tas bija domāts kā jautājums - kas (kurš produkts) būtu routing backends :)

view this post on Zulip i-ky (Feb 08 2023 at 14:47):

OSRM?

view this post on Zulip Rihards Olups (Feb 08 2023 at 14:48):

Sūtot pieprasījumus kādas publiskas instances API?

view this post on Zulip i-ky (Feb 08 2023 at 14:53):

Nē, OSRM publiskā instance operē ar reāliem visas planētas datiem. Ideja bija laist savu instanci.

view this post on Zulip Rihards Olups (Feb 08 2023 at 16:27):

Ar Latvijas datiem?

view this post on Zulip i-ky (Feb 08 2023 at 16:34):

Nē, ar datiem no koda bloka.

view this post on Zulip Rihards Olups (Feb 08 2023 at 16:39):

Ā. T.i., piemēram, kas rūtējas pa highway=track ar barrier=bollard utml?

view this post on Zulip i-ky (Feb 08 2023 at 16:43):

Jā, kaut kā tā. Kinda minimal reproducible example.

view this post on Zulip Rihards Olups (Feb 08 2023 at 18:35):

Tas jau arī ļoti atkarīgs no maršrutēšanas profiliem, gan OSRM, gan Graphopper, gan citus var dažādi sakonfigurēt.
Kāds plāns tajā virzienā?

view this post on Zulip i-ky (Feb 08 2023 at 19:12):

Plāns ir pieskaņoties tai konfigurācijai/profiliem, ko izmanto publiskas instances, kuras integrētas ar osm.org

OpenStreetMap is a map of the world, created by people like you and free to use under an open license.

view this post on Zulip i-ky (Mar 21 2023 at 13:40):

i-ky said:

Ja izdosies routing'u un pārējas komponentes nokompilēt kā WebAssembly, tad servisam var izmantot GitHub Pages.

Note to self. Te stāsts par to, ka izdevās palaist Postgres browser'ī. Un pat nevajadzēja kompilēt WebAssembly, jo var izmantot x86 emulatoru.

We're open sourcing postgres-wasm, a PostgresQL server that runs inside a browser, with our friends at Snaplet.
x86 virtualization in your browser, recompiling x86 to wasm on the fly - GitHub - copy/v86: x86 virtualization in your browser, recompiling x86 to wasm on the fly

view this post on Zulip HellMap (Mar 21 2023 at 13:51):

Es tieši domāju, ka browseri pārāk ātri strādā :grinning_face_with_smiling_eyes: :skull_and_crossbones:


Last updated: May 20 2024 at 00:41 UTC