---
config:
flowchart:
defaultRenderer: elk
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id | repo | placetype | name | label_lon | label_lat | dist_km | src_geom | src_lbl | reason | |
|---|---|---|---|---|---|---|---|---|---|---|
| 85764097 | whosonfirst-data-admin-ar | neighbourhood | Centro | -58.372518 | -34.610302 | 1.121 | quattroshapes | mz | wrong polygon: an independent point agrees with the label | |
| 85765603 | whosonfirst-data-admin-ar | neighbourhood | Piñeyro | -58.388802 | -34.670624 | 6.41 | quattroshapes | mz | wrong polygon: a same-named OSM place lies at the label point | |
| 85772011 | whosonfirst-data-admin-za | neighbourhood | Belle Ombre | 18.42889 | -34.010733 | 0.791 | quattroshapes | mz | wrong polygon: an independent point agrees with the label | |
| 85772027 | whosonfirst-data-admin-za | neighbourhood | Bishopscourt | 18.445294 | -33.988457 | 0.441 | quattroshapes | mz | wrong polygon: an independent point agrees with the label | |
| 85772049 | whosonfirst-data-admin-za | neighbourhood | Bothasig | 18.536426 | -33.857643 | 1.067 | quattroshapes | mz | wrong polygon: an independent point agrees with the label | |
| 85772053 | whosonfirst-data-admin-za | neighbourhood | Bridgetown | 18.530591 | -33.956989 | 1.517 | quattroshapes | mz | wrong polygon: an independent point a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "elementType": "geometry", | |
| "stylers": [ | |
| { | |
| "color": "#f5f5f5" | |
| } | |
| ] | |
| }, | |
| { |
I'm not sure if this a bug per-se, but I encountered a Worker runtime behavior that wasn't reproducible in Miniflare.
tl;dr Using TransformStream will often trigger a runtime error: "The script will never generate a response"
My workers library, Keywork, has a JSXResponse class that accepts some React JSX and returns an instance of Response. This works fine when the JSX is first rendered to a string and then fed to Response's body, since this is really just a convenience wrapper around a few functions:
const app = new WorkerRouter()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import id from './generate-id' | |
| export type NoncedEventPayload = { | |
| nonce: string | |
| } | |
| export type ParsedEventPayload = NoncedEventPayload & { | |
| value: string | |
| error: Error | null | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function swapEntries (array, index, targetIndex) { | |
| const slice = array.slice() | |
| slice.splice(targetIndex, 1, array[index]) | |
| slice.splice(index, 1, array[targetIndex]) | |
| return slice | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require('fs') | |
| const {promisify} = require('util') | |
| const path = require('path') | |
| const readdirP = promisify(fs.readdir) | |
| const statP = promisify(fs.stat) | |
| async function recursiveFileList (basePath, callback) { | |
| const filePaths = await readdirP(basePath) | |
| for (filePath of filePaths) { |
NewerOlder