Errors while installing palette

What happens?
I installed the node-red-contrib-s7comm palette and received the following error:
15 Oct 08:19:05 - [info] Installing module: node-red-contrib-s7comm
15 Oct 08:20:31 - [info] Installed module: node-red-contrib-s7comm
15 Oct 08:20:32 - [info] Added node types:
15 Oct 08:20:32 - [info] - node-red-contrib-s7comm:s7comm read : SyntaxError: Unexpected token )
15 Oct 08:20:32 - [info] - node-red-contrib-s7comm:s7comm write : SyntaxError: Unexpected token )
15 Oct 08:20:32 - [info] - node-red-contrib-s7comm:s7comm : SyntaxError: Unexpected token )
I have already searched in the s7comm.js file for incorrect syntax, but I don´t know if this is the right place to search for the error?
Wenn I try to use the new nodes, I get this error...
15 Oct 08:24:26 - [info] Waiting for missing types to be registered:
15 Oct 08:24:26 - [info] - s7comm read
15 Oct 08:24:26 - [info] - s7comm write
15 Oct 08:24:45 - [info] Stopping flows
15 Oct 08:24:45 - [info] Stopped flows
15 Oct 08:24:45 - [info] Waiting for missing types to be registered:
15 Oct 08:24:45 - [info] - s7comm
15 Oct 08:24:45 - [info] - s7comm read
15 Oct 08:24:45 - [info] - s7comm write
Whats does this mean? Does this have anything to do with the other error?
Please tell us about your environment:

[v0.16.2 ] Node-RED version:
[v6.12.3 ] node.js version:
[ ] npm version:
[Siemens IoT Gateway 2040, Yocto Linux ] Platform/OS:
[Chrome ] Browser:

Hi, thanks for raising an issue.
From the issue template:

If your issue is:

a general 'how-to' type question,
a feature request or suggestion for a change,
or problems with 3rd party (node-red-contrib-) nodes

please use the Node-RED Forum or slack team.

This allows the whole Node-RED user community to help, rather than rely on the core development team.
For this particular issue, I would guess the nodes you are trying to install require node 8.
Thanks!


Does modsec v3 have any methods for get statistic about ip collection?

Good day. I install modsec v 3.0.3 with nginx; wrote some simple rules which blocked ip address if it exist in ip collection.
Example code: https://pastebin.com/fMf4Es5L
When my rules are triggered, in nginx error log I see:
2020/02/03 09:29:24 [error] 5162#0: *1891479 [client <IP_ADDRESS>] ModSecurity: Access denied with code 403 (phase 1). Matched "Operator `Eq' with parameter `1' against variable `IP:<IP_ADDRESS>::::block_flag' (Value: `1' ) [file "/etc/nginx/modsec/main.conf"] [line "55"] [id "500"] [rev ""] [msg ""] [data "Blacklist ip.block_flag - 1, real_ip - <IP_ADDRESS>"] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/modsecurity/my-test.cfg"] [unique_id "158071136413.409238"] [ref ""], client: <IP_ADDRESS>, server: ...."

If I send bad request several times, then I receive forbidden in following requests.
It would be cool, if I can get some statistic about blocked ip:

how many ip addresses in collection?
does this ip address exist in ip collection?

This information may be important, because need understand how works my WAF rules. Of course, I can read logs, but It is very uncomfortable - I find that ip address was blocked, but is it locked yet or not?
I found this backends for modsecurity v3 - https://github.com/SpiderLabs/ModSecurity/tree/v3/master/src/collection/backend. In my case, I use in_memory backend(SDBM) (because after nginx reload, bad ip addresses don't blocking).
Is it any chance get this statistic (may be get access to SDBM)?

Hi @unix196,
There are too many options to block IP address, to have total control of what has been blocked or not, you may want to consider Lua scripts. Or even use an external server such as RBL. That way you will have modsec blocking the selected IPs and keep the history on how/when an IP got blocked.


[CHOCO] Publish WingetUI on Chocolatey repository

I think it is always good to have another way to install WingetUI :smiley:
I have no idea how to do it though

I don't understand what are you referring to

simply being able to install WingetUI by running choco install wingetui

ah yes, choco installation is a work in progress

Pending approval!
https://community.chocolatey.org/packages/wingetui/1.7.1

Approved!

quite an old version though. Is it gonna be automatically updated when a new version is released?

next version of WingetUI will be published there. I am working on a beta rn.
Autopublish is a thing i am working on


Upload/Distribute to iTunes connect fails (6.81 & 6.9.0)

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.5 (11E608c)
Firebase SDK version: 6.8.1 and 6.9.0
Firebase Component: Messaging and Analytics
Component version: 6.8.1 and 6.9.0
Installation method: Carthage

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
I have used both 6.8.1 and 6.9.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 6.8.1
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json" == 6.8.1
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseProtobufBinary.json" == 6.27.0

binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 6.9.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json" == 6.9.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseProtobufBinary.json" == 6.27.0

Update carthage
Make sure the frameworks are included and project builds (Set frameworks to "Do Not Embed")
Build an "Archive" (Product/Archive)
Open Window/Organizer
Select generate release
Select "Distribute App"
Select "App Store Connect"
Select "Next"
Select "Upload"
Select "Next"
Select "Next"
Do what ever needs to be done for signing, "Next"
... Signing ...
Select "Upload"

After a "short" wait - be presented with ...
App Store Connect Operation Error
ERROR ITMS-90081: "This bundle is invalid. Applications built for more than one architecture require an iOS Deployment Target of 3.0 or later."

App Store Connect Operation Error
ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "---.app/Frameworks/Firebase.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains arm64(machine code), while the nested bundle Mach-O contains armv7(machine code) and arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting."

App Store Connect Operation Error
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file '---.app/Frameworks/Firebase.framework/Firebase' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."

App Store Connect Operation Error
ERROR ITMS-90360: "Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle ---.app/Frameworks/Firebase.framework is required."

App Store Connect Operation Error
ERROR ITMS-90057: "The bundle 'Payload/---.app/Frameworks/Firebase.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring"

App Store Connect Operation Error
ERROR ITMS-90124: "The binary is invalid. The executable '---.app/Frameworks/Firebase.framework/Firebase' has type 'OBJECT' that is not valid. Only 'EXECUTE' is permitted."

App Store Connect Operation Error
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

App Store Connect Operation Error
ERROR ITMS-90210: "Missing load commands. The executable at '---.app/Frameworks/Firebase.framework' does not have the necessary load commands. Try rebuilding the app with the latest Xcode version. If you are using third party development tools, contact the provider."

App Store Connect Operation Error
ERROR ITMS-90208: "Invalid Bundle. The bundle ---.app/Frameworks/Firebase.framework does not support the minimum OS Version specified in the Info.plist."

Please note I have previous been able to upload the project using 6.5.0 - I will be rolling back to this version and re-testing
Update 6.5.0 (with the release I'm working with) also has the same issue(s)
Relevant Code:
N/A

Sooo, after a lot of work, including re-building the certificates and provisioning profiles, I "think" the issue might have been because the "Firebase.framework" was included in the "Link Binary With Libraries" (which would have been updated when I changed from 6.5.0 to 6.9.0 and went unnoticed till I tried uploading to Apple.
It's also "possible" that one or more of the frameworks was included on in the "copy framework" script phase for Carthage, but because I'm using an tool to generate the .xcfile for input and output, I can't be 100% - as it wasn't included when I started looking more closely at it - but I'll include it as one of my, many, checks in the future

Including the Firebase.framework would explain it.


Update replication path to use lazy retry on service busy error

What changed?
Treat service busy error in the replication path with special retry policy. The retry policy is to slow down the replication

Why?
When replication receives service busy error, the error is from the persistence layer. If the persistence is too busy. We should slow down the replication to give the quota to active tasks.

How did you test it?
local

Potential risks
The replication could build up backlog when it slows down

Coverage increased (+0.6%) to 67.698% when pulling 617eaf07b1144b064b82fcb543db03f3c03d761b on replication_retry into 19d1b496fd74d89b4c8701448e6822da40d8e834 on master.


Do we want an instrument class rather than just a direct beam file?

Each instrument will need a range of associated parameters to describe it:

Direct beam (incident flux)file
Angle at which this file is appropriate
Scaling factor if not quadratic with angle
Range of angles available
Background as a function of angle/Q/Wavelength/contrast/ etc.

Decide the best way to implement this and then create new issue for implementing the design

Just checking the script which is use for ISIS instruments to make the DB file, and see that they are all scaled to 0.7 degrees, which may be a slightly easier solution for the angle issue


ED: remove debugging info leftover from #2267

Ready to merge
Feature or improvement description
Forgot to comment out a debug line in PR #2267 for checking the ED blade file parsing.
Related issue, if one exists
#2267
Impacted areas of the software
ED was printing out extra unnecessary info to the screen (it is all contained in the summary file)
Test results, if applicable
No changes.

@RBergua discovered this was left in the code base.


Cloth proposal (inspired by other game engine's cloth):

Problem: I wish to use cloth of ~100's of vertices on every character in the scene.

Performance (editor) = not storing NodePath per vertex

Creator flexibility

Performance (runtime) = not colliding against the entire physics scene

use Skeleton instead of NodePath to avoid crashing on over hundreds of vertices

possibly allow vertices to be weight painted to multiple bones (to connect seamlessly with part of the model that are not cloth)

use an alternate physics system for simulation, for example whitelist the set of colliders which interact with the cloth, similar to springbones (performance)

Ideally we would be able to share code with SoftBody, but this is not a given.

Needs to be tracked as a Godot Engine proposal / pr.


Added acr images build steps to common workload repo

As far as what this PR contains, I'm okay with it at this point. I know there is more we can do (extracting more services, etc), but with this in place, it will help @magrande think about the integration into the two repos a bit more -- and if we have more changes to make, we can do so.

Thanks @ckittel for your review, before merging the PR I'm trying to add the related resources (sb namespace, redis, akv, cosmosdb etc.) adter adding them I think we have a good base to work with in the other repositories.

@ferantivero, @ckittel
PR updated ! latest changes are:

Renamed template file to workload-stamp.json, also added all the related resources (AKVs, redis, documentDB accounts, Log Analytiics WS, service bus namespace etc. )

Added prerequisites template (workload-stamp-prereqs.json), which includes the ACR RG creation, and a general purpose RG for the cluster. It also contains the user identities.

updated the README file and now it looks cleaner and more precise.

Once this is merged, I believe the impact of changes in both fabrikam and microservices RIs is going to be smoother than expected.


Import Error on MacOS Catalina

Hello!
I have installed<EMAIL_ADDRESS><EMAIL_ADDRESS>and sundials via Homebrew, and PyBaMM, casadi solver via pip on my Macbook. But
when I import pybamm module, it raised errors either on<EMAIL_ADDRESS>or<EMAIL_ADDRESS>When using<EMAIL_ADDRESS>the error logs are as follows:
File "<stdin>", line 1, in <module>   File "/Users/wangming/Library/Python/3.8/lib/python/site-packages/pybamm/__init__.py", line 231, in <module>     from .solvers.idaklu_solver import IDAKLUSolver, have_idaklu   File "/Users/wangming/Library/Python/3.8/lib/python/site-packages/pybamm/solvers/idaklu_solver.py", line 13, in <module>     idaklu = importlib.util.module_from_spec(idaklu_spec) ImportError: dlopen(/Users/wangming/Library/Python/3.8/lib/python/site-packages/idaklu.cpython-38-darwin.so, 2): Library not loaded: /usr/local/opt/sundials/lib/libsundials_sunlinsolklu.3.5.0.dylib   Referenced from: /Users/wangming/Library/Python/3.8/lib/python/site-packages/idaklu.cpython-38-darwin.so   Reason: image not found
However, it gave another error when using<EMAIL_ADDRESS>File "/Users/wangming/Downloads/Codes/battery/first.py", line 3, in <module>     import pybamm   File "/Users/wangming/Library/Python/3.9/lib/python/site-packages/pybamm/__init__.py", line 83, in <module>     from .expression_tree.interpolant import Interpolant   File "/Users/wangming/Library/Python/3.9/lib/python/site-packages/pybamm/expression_tree/interpolant.py", line 5, in <module>     from scipy import interpolate   File "/usr/local/lib/python3.9/site-packages/scipy/interpolate/__init__.py", line 165, in <module>     from .interpolate import *   File "/usr/local/lib/python3.9/site-packages/scipy/interpolate/interpolate.py", line 13, in <module>     import scipy.special as spec   File "/usr/local/lib/python3.9/site-packages/scipy/special/__init__.py", line 636, in <module>     from . import _basic   File "/usr/local/lib/python3.9/site-packages/scipy/special/_basic.py", line 16, in <module>     from . import orthogonal   File "/usr/local/lib/python3.9/site-packages/scipy/special/orthogonal.py", line 81, in <module>     from scipy import linalg   File "/usr/local/lib/python3.9/site-packages/scipy/linalg/__init__.py", line 194, in <module>     from .misc import *   File "/usr/local/lib/python3.9/site-packages/scipy/linalg/misc.py", line 4, in <module>     from .lapack import get_lapack_funcs   File "/usr/local/lib/python3.9/site-packages/scipy/linalg/lapack.py", line 783, in <module>     from scipy.linalg import _flapack ImportError: dlopen(/usr/local/lib/python3.9/site-packages/scipy/linalg/_flapack.cpython-39-darwin.so, 2): Symbol not found: _cgemqrt_   Referenced from: /usr/local/lib/python3.9/site-packages/scipy/linalg/_flapack.cpython-39-darwin.so   Expected in: flat namespace  in /usr/local/lib/python3.9/site-packages/scipy/linalg/_flapack.cpython-39-darwin.so
And everything works fine on Windows 10.
How can I solve this problem?
Thanks a lot!
Ming WANG

For the first error we are working on fixing it, there are some PRs open.
For the second error I haven't seen that before, could you try updating your scipy to the most recent version?

For the first error we are working on fixing it, there are some PRs open.
For the second error I haven't seen that before, could you try updating your scipy to the most recent version?

I have updated scipy to the latest version, and it works. Thank you for your help!

Great! Closing as we already know about the first error :)


svg: gray time-info subtext not aligned (a fix: -Tsvg:cairo)

After 4a5bcd72d1f3b2cc572e29bc34c80c8fc7a43af1 (using html for gray subtext w/ "[$time ms]"),
noticed svg looks wonky (PNG is fine)

https://gitlab.com/graphviz/graphviz/-/issues/1426 (wise words of steven c north)
https://graphviz.org/doc/info/command.html#-T
https://graphviz.org/docs/outputs/

btw, document that :pdf works nicely too :)
(and add link to the above outputs page)
Maybe a new arg (see #-T link above): renderer (:cairo, or nothing)

-Tsvg

-Tsvg:cairo

(and -Tpng for good measure)

the cairo svg draws each character as a path (it does dedup: has a library of 'glyphs' (letters & numbers) at the top it reuses).

can you still have links? (urls: clickable nodes, i.e. #24)
our darkmode posprocessing don't work here no more (the svg source is all different; no separate "node" groups etc anymore)

another possible fix: more postprocessing of the svg. like in the graphviz gitlab thread: "align center and set x to center of node"

also lol click the above svg's to open as standalone images in firefox. both are effed up.
png good old just works.
if you want both light and dark, you can, with png, btw:
(documenter too?)
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to
i.e.
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="dark.png">
  <source media="(prefers-color-scheme: light)" srcset="light.png">
<picture>

(the extra (nonDRY) img attribute is for: 1) accesibility? can't picture or source have alt text? 2) backwards compat?. Is it necessary?)

Hm maybe the edges should be gray in the above. (They're too noisy. Scaling (average of neighbour relsizes?) was first idea, but is hardee)


new turbo position does not work

turbo trades are limited to .1 btc and you are opening 1 btc position in example.js
the example given does not work as it is
never mind I got it to work now
can close this issue

Great :)


Cross compiling on Linux for win32 binaries

I made some changes in Rules.mk so that I could cross compile but I'm not getting to far.  I installed the header files for Caps.  I don't want to make changes but need a Windows binary but can't find any.
Here is some of the output...
caps=y make
......
make[2]: Entering directory '/home/staticmem/Builds_mingw32/Disk-Utilities-master/libdisk/container'
i686-w64-mingw32-gcc -O2 -fno-strict-aliasing -std=gnu99 -Wall -Werror -I../../libdisk/include -MMD -MF ./.dsk.opic.d  -fPIC -fvisibility=hidden -c -o dsk.opic dsk.c
In file included from dsk.c:16:0:
/usr/share/mingw-w64/include/time.h:278:34: error: expected identifier or ‘(’ before ‘struct’
Line 278 has...
#ifdef _POSIX_THREAD_SAFE_FUNCTIONS
__forceinline struct tm *__cdecl localtime_r(const time_t *_Time, struct tm *_Tm) {
return localtime_s(_Tm, _Time) ? NULL : _Tm;
Is this a POSIX issue?  and Is the only way to build this by using CYGWIN?

It's built on MinGW before but it's probably rotted and also not kept up with latest MinGW.
The error above looks like it could be barfing on __forceinline. Perhaps that isn't defined yet? Perhaps you need to include some other header?

A little off topic but it may help you. Win10 has an excellent Linux Subsystem, if you install the subsystem feature, and go to MS Store, you can download i.e. Ubuntu.
Once installed you have access to all your local drives from the Linux shell (/mnt/) and can work perfectly with the disk-utilities.

Thanks tomse, I am aware of W10 has support for linux but I develop/build under Linux.  I do have a have W7 installed under Virtual box but that is too early a version so can't be used and used mainly for testing.

I may remove mingw support altogether, as it isn't actually supported by me and no one else maintains it.

Builds fine for me and runs (to generate the help screen) on 64-bit MinGW with no Makefile changes.
If I override the ARCH in rules.mk to force a 32-bit build, it also builds fine for me and runs.
I suspect a problem in @staticmem's MSYS environment.

@staticmem I can recommend that you get win10, win7 will be end of life very soon. and you can get a trial win10 that doesn't expire (though some features/cosmetics will be disabled - background pic etc).
I do understand that 32bit and older versions may be needed on some setups

@d235j As I use Linux for devlopment I have no MSYS.  Under W7 I do use the "Gow" suite which allows Unices like commands and a bash environment for testing scripts I supply to others Windows users so that I don't have to rewrite as BAT files. (Maybe I should learn Python or Perl).
Part of the problems is that Rules.mk needs to be fixed to be able to cross compile.  Also the Makefile needs to add an ".ext" to the created binaries which needs defining in the Rules.mk.
The " __forceinline" directive as Keirf has pointed out appears to be the main problem right now stopping  cross compiling succeeding.  I'm running a fully up to date Linux Mint 19 Tara.

Okay I'm not sure what can be done here. Cross compilation is not supported unless some developer does the work to make it build. It sounds like mingw builds work (on Windows proper). So really this whole report is a notbug and a wontfix, right?

I'm not saying it's a bug per say, maybe I should have stated "Rules.mk needs to be modified" for cross building.  I noticed there is a "winegcc" maybe that can be used but found it difficult understand how to use it.


Allow installation of Guzzle Adapter v2.x.x

Currently, the adapter version is locked to 1.x.x.
I have a dependency conflict due to this, and I use a package that requires 2.x.x
I had a look at the docs for the adapter and the only breaking change in 2.x seems to be dropping support for php before 7.1.
https://github.com/php-http/guzzle6-adapter#200---2018-11-14
Since PHP 7.0 or below are no longer supported, could we upgrade the dependency in this package.
If no, could we update it to be "php-http/guzzle6-adapter": "^1.0|^2.0", to allow for both?
Happy to PR :smile:
Thanks!

Oops, just realised it's actually a dependency in the nexmo client. Will open an issue there,


Fix spurious problems with unset associatedFile

A thorough analysis and description of the issue is in the documentation
of the fix.

To validate this pull request against other sbt modules, please visit this link.

I'd like to add some performance improvements to the implementation in case it silently regresses, so let's not merge this yet.

any idea when this might be released?

@OlegYch it's currently in develop branch, so it will come out when sbt 1.3.0 comes out in a few months. If the patch is considered relatively stable, someone can backport it to 1.2.x branch and then it will be part of next sbt 1.2.x, which likely will come out sooner.


bug: ssrServer ENOENT firestore.proto

Describe the Bug
Have previously released/deployed without any problems. Tried to release tonight and when loading a page that relies on a load function with a Firebase call, it fails. Other pages seem to work.
This is the load function:
import { fetchProducts } from "$lib/stripeutils";
export async function load({ page, fetch, session, stuff }) {
    const products = await fetchProducts();
    return {
        props: {
            products,
        },
    };
}

This is the fetchProducts function
import { firestore, functions } from "$lib/firebase/client";
import { getDocs, query, where, orderBy, doc, addDoc, collection, onSnapshot } from 'firebase/firestore';
[...]

export async function fetchProducts() {
    let products = {
        [...]
    };

    const docSnap = await getDocs(query(
        collection(firestore(), "products"),
        where("active", "==", true),
        orderBy("metadata.order")
    ));

    await Promise.all(docSnap.docs.map(async (doc) => {
        let product = {
            [...]
        };

        const priceSnap = await getDocs(query(
            collection(doc.ref, "prices"),
            where("active", "==", true)
        ));

        priceSnap.docs.forEach((pdoc) => {
            const price = {
                [...]
            };

            product.prices = [price, ...product.prices];
        });

        const type = product.metadata.type || "addon";
        products[type].items.push(product);
    }));

    return products;
}

The firestore function
import { initializeApp, getApps } from "firebase/app";
import { getFirestore } from 'firebase/firestore';
[...]

const config = {
    [...]
};

function firebase() {
    return getApps().length === 0 ? initializeApp(config) : getApps()[0];
}

function firestore() {
	return getFirestore(firebase());
}

The errors:
ssrServer

[2021-10-28T07:36:58.392Z]  @firebase/firestore: Firestore (9.0.0): INTERNAL UNHANDLED ERROR:  Error: ENOENT: no such file or directory, open '/workspace/ssrServer/src/protos/google/firestore/v1/firestore.proto'

Error: ENOENT: no such file or directory, open '/workspace/ssrServer/src/protos/google/firestore/v1/firestore.proto'
    at Object.openSync (fs.js:498:3)
    at Object.readFileSync (fs.js:394:35)
    at fetch2 (/workspace/ssrServer/index.js:11082:30)
    at Root2.load2 [as load] (/workspace/ssrServer/index.js:11111:11)
    at Root2.loadSync (/workspace/ssrServer/index.js:11121:19)
    at Object.loadProtosWithOptionsSync (/workspace/ssrServer/index.js:14289:31)
    at Object.loadSync (/workspace/ssrServer/index.js:14440:33)
    at loadProtos (/workspace/ssrServer/index.js:106181:43)
    at newConnection (/workspace/ssrServer/index.js:106185:20)
    at OnlineComponentProvider2.createDatastore (/workspace/ssrServer/index.js:109513:26)

Steps to Reproduce
Have previously deployed without issue, however this is my first release where I've used a Firestore call inside a page's load function. Mainly looking for a place to start my debugging for something like this.
Expected Behaviour
Code should work fine?
svelte-adapter-firebase version
0.9.2
sveltejs/kit version
1.0.0.next.160

I would suggest starting with updates to both SvelteKit and the adapter. There have been quite a few versions released since those versions you list in the issue. Also, there will be some breaking changes from Kit for the adapter API relatively soon which will affect the compilation of the SSR code, so I expect behaviour to change again in another breaking change.

I assume I don't need to manually manage dependencies in functions/package.json

Correct, although the SSR code runs on the Cloud Functions, all dependencies for the SSR code are compiled in-line during build phase so you shouldn't need to touch your Cloud Function deps for the Kit APIs or SSR code.

first release where I've used a Firestore call inside a page's load function

Many people have had issues with including Firestore directly in load, it can usually be mitigated by performing the Firestore fetch in a Kit endpoint and then fetching that endpoint.

I updated to v1.0.0-next.192 and 0.13.1 and now get this error on a page that worked prior to upgrading:
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined
    at Function.createRequire (internal/modules/cjs/loader.js:1173:11)
    at Object.<anonymous> (/workspace/ssrServer/index.js:133837:38)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at /workspace/index.js:273:31
    at cloudFunction (/workspace/node_modules/firebase-functions/lib/providers/https.js:50:16)

Ideas?

How are you running your app? Just npm run dev in your SvelteKit app directory?

npm run dev --

can you share more of your actual code? Hard to debug without it.

Which part of the code should I share? No page can be served by the ssrServer function, even a static page with no code at all on it.
E.g. a markdown file parsed with mdsvex into svelte that has literally no JS in it triggers this error:
 ssrServer

TypeError [ERR_INVALID_ARG_VALUE]: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined
    at Function.createRequire (internal/modules/cjs/loader.js:1173:11)
    at Object.<anonymous> (/workspace/ssrServer/index.js:133837:38)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at /workspace/index.js:273:31
    at cloudFunction (/workspace/node_modules/firebase-functions/lib/providers/https.js:50:16)

firebase.json
{
  "functions": {
    "source": "functions"
  },
  "hosting": {
    "public": "public",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "function": "ssrServer"
      }
    ],
    "predeploy": ["npm run build"]
  }
}

svelte.config.js
import { mdsvex } from "mdsvex";
import mdsvexConfig from "./mdsvex.config.js";
import firebase from "svelte-adapter-firebase";
import preprocess from "svelte-preprocess";

/** @type {import('@sveltejs/kit').Config} */
const config = {
    "extensions": [".svelte", ...mdsvexConfig.extensions],

    kit: {
        adapter: firebase(),
		// hydrate the <div id="svelte"> element in src/app.html
		target: '#svelte',
        vite: {
			ssr: {
				external: ['firebase']
			}
		}
	},

    preprocess: [
        mdsvex(mdsvexConfig),
        preprocess({
            "postcss": true
        })
    ],

    onwarn: (warning, handler) => {
        const { code, frame } = warning;
        if (code === "a11y-missing-content") return;

        console.log(code);
        handler(warning);
    }
};

export default config;
// Workaround until SvelteKit uses Vite 2.3.8 (and it's confirmed to fix the Tailwind JIT problem)
const mode = process.env.NODE_ENV;
const dev = mode === "development";
process.env.TAILWIND_MODE = dev ? "watch" : "build";

Top of package.json
"scripts": {
		"dev": "svelte-kit dev",
		"build": "npx rimraf public && svelte-kit build --verbose",
		"preview": "svelte-kit preview",
		"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
		"format": "prettier --write --plugin-search-dir=. ."
	},

I also get this in my console when running firebase deploy
12:53:27 PM [vite-plugin-svelte] The following packages did not export their `package.json` file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
- @firebase/firestore

This is line 133860 of ssrServer - looks like some Firebase code to me
var require2 = import_module.default.createRequire(import_meta.url);

```12:53:27 PM [vite-plugin-svelte] The following packages did not export their package.json file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
-@firebase/firestore

You can ignore this.

---

I would try bumping `nodejs14` to `nodejs16` and seeing what happens.

---

If that doesn't work I have this to say: using `firestore` in load can have issues, as I said before you can move it to a Kit endpoint and mitigate most of the issues.

If the error is coming from `firebase/firestore` package, my recommendation is to not use the `firebase` lib for `firestore` in code that can run on the server. `load` can run in SSR and on the Client. While the<EMAIL_ADDRESS>lib *can* be used in Node.js environments as well as web, it should only be used when on on the web. Firestore data fetch should be performed by using<EMAIL_ADDRESS>on the server side.

So in your `load` function, you should first check if the execution environment is [Server or Client](https://kit.svelte.dev/docs#modules-$app-env) and use `firebase-admin` to get `firestore` on the server & `firebase` to get `firestore` on the client (web).

This matters because the packages are different with `firebase-admin` specifically targeting Node.js envs. The authentication for each of the libs is also different:

- server: firebase-admin > get firestore instance > execute query > bypasses security rules because it is run on server using the special admin lib > hits firestore database
- client: firebase > get firestore instance > execute query > pass through security rules with user auth token > hits firestore database

Using the Client lib on the Server raises questions around whether the query bypasses the sec rules on the Firestore server or not, and also, if it does go through the security rules, how can the SSR environment know which user initiated the request.

Given these factors, I recommend NOT using the Client (web) firestore libs on the Server and switching the use of the `firebase` vs `firebase-admin` packages depending on the Kit `$app/env` browser value (I have found I need to dynamically import these libs and that code splitting cannot accurately remove each one from the other bundle, causing errors).

It is possible to have an authenticated user pass their auth token to the initial page call that executes the page SSR, so the web lib can be used in SSR envs and know which users initiated the request and perform security rules appropriately, however this wiring needs to be done manually within the Kit request lifecycle and requires handling Firebase auth tokens yourself, which defeats the point of the Firebase.

Server data fetch on SSR `load` should be of data that does not require an auth token using the `firebase-admin` lib.

Client data fetch on client `load` should use the `firebase` lib.

Hope this helps you debug.

@jthegedus thanks for your advice.
What you say about Firestore makes a lot of sense, and keen to do that (though it will obviously take quite some time), but the error I'm now receiving didn't happen before upgrading to Sveltekit v1.0.0-next.192 and svelte-adapter-firebase 0.13.1 so doesn't that imply some sort of bug / issue there?
Especially given my ssrServer function literally can't run due to some sort of compiled code error as per the above (where import_meta.url is undefined)?

I tried bumping to Node v16 but the only thing that changes is now I don't get given a reason for the crash in the logs:

the error I'm now receiving didn't happen before upgrading to Sveltekit v1.0.0-next.192 and svelte-adapter-firebase 0.13.1 so doesn't that imply some sort of bug / issue there

Logically, sure, actually, maybe.
Updating Kit actually updates Vite, the Svelte-Vite Plugin, which all effect how code is bundled. The adapters currently then bundle the Vite SSR bundle again using esbuild. So there can be issues between those. You haven't shared your Kit package.json:dependencies which include your firebase imports, I imagine those are version ranges with ^ and not pinned to specific versions, so as you dev, reinstall deps, update deps your firebase version may have also changed where the bug could be introduced in that lib and how it is compiled by either Vite or esbuild.
I watch the Kit changelog & PRs for breakages to the adapter API and update accordingly. I currently only test to ensure the Kit todo template works as expected once parsed through the adapter. There is a specific compatibility table of Kit & adapter versions in the readme, so sticking to those might help.
I do not currently test how firebase packages & their usage in Kit work in the tests here. I do consume Kit & this adapter for my own projects which do use Firebase.
I have been unable to get Firestore working in the way you describe, ever, in any version of Kit & this adapter. With the firebase and firebase-admin libs going through rewrites to better support ESM for usage in ESM-based tools like Vite, I decided not to delve into their specific issues and debug them. Kit, this adapter, Vite, Vite Svelte Plugin & both Client & Server Firebase libs are all being actively developed. Even though Firebase v9 lib is officially released with ESM support, it still has issues in regular Vite projects, let alone Kit.
As I mentioned in my first response

there will be some breaking changes from Kit for the adapter API relatively soon which will affect the compilation of the SSR code, so I expect behaviour to change again in another breaking change.

So the aspect of Kit & this adapter that effect SSR code generation is going to change again, so we could spend all week debugging this to only have our efforts rendered useless in a weeks time.

Further suggestions:

remove this snippet from you svelte.config.js and seeing what happens:
js             vite: {   	          ssr: {   		          external: ['firebase']   	          }
I've not see people do this before, it may have been a workaround during a beta release of the firebase@9 package
reverting back to your older solution that worked and waiting for both Kit and the adapter to come out of Beta
pull your Firestore usage out of the component load and into the Kit endpoint (using firebase-admin in endpoint) as I know that works

wrap the function call to the Kit server in your Cloud Function with a try/catch to log the error and see what it is in Node.js 16. It may be the same root cause, or something new. The adapter uses your Cloud Function Node.js runtime version as the compile target version so changing the Function runtime does effect the compilation of your SSR code.

How to do this? Manually edit functions/ssrServer/index.js and tell firebase to deploy it without running a sveltekit build?

Removing that external: ['firebase'] snippet causes this locally in my Svelte terminal:
11:36:28 AM [vite] Error when evaluating SSR module /node_modules/@firebase/functions/dist/index.esm2017.js?v=82ef9ed5: ReferenceError: self is not defined     at eval (/node_modules/@firebase/functions/dist/index.esm2017.js?v=82ef9ed5:674:30)     at async instantiateModule (/node_modules/vite/dist/node/chunks/dep-85dbaaa7.js:66541:9)

wrap the function call to the Kit server in your Cloud Function with a try/catch to log the error and see what it is in Node.js 16. It may be the same root cause, or something new. The adapter uses your Cloud Function Node.js runtime version as the compile target version so changing the Function runtime does effect the compilation of your SSR code.

How to do this? Manually edit functions/ssrServer/index.js and tell firebase to deploy it without running a sveltekit build?

svelte-adapter-firebase outputs code to the terminal on first run which you need to add to your Cloud Functions index.js file, wrap the code there. Looking at the e2e test as an example:
https://github.com/jthegedus/svelte-adapter-firebase/blob/main/tests/end-to-end/scaffold/functions/index.js
const functions = require('firebase-functions');

let sveltekitServer;
exports.sveltekit = functions.https.onRequest(async (request, response) => {
	if (!sveltekitServer) {
		functions.logger.info('Initialising SvelteKit SSR Handler');
		sveltekitServer = require('./sveltekit/index').default;
		functions.logger.info('SvelteKit SSR Handler initialised!');
	}

	functions.logger.info('Requested resource: ' + request.originalUrl);
-	return sveltekitServer(request, response);
+	let result;
+	try {
+		result = await sveltekitserverServer(request, response);
+	} catch(err) {
+		logger.error(err)
+	}
+	return result;

This way you can see the errors when the call the the Kit Server fails.

Removing that external: ['firebase'] snippet causes this locally in my Svelte terminal:
11:36:28 AM [vite] Error when evaluating SSR module /node_modules/@firebase/functions/dist/index.esm2017.js?v=82ef9ed5: ReferenceError: self is not defined at eval (/node_modules/@firebase/functions/dist/index.esm2017.js?v=82ef9ed5:674:30) at async instantiateModule (/node_modules/vite/dist/node/chunks/dep-85dbaaa7.js:66541:9)
Looks like this issue: firebase/firebase-js-sdk#4846 so I used the workaround and dynamically load the functions lib client-side only.

This is exactly what I mean when I say Firebase still has many bugs when working with Vite/Kit. I have not been pursuing resolving those bugs here for the firebase SDKs because they're not yet worked out upstream.
The dynamic import of the lib client-side is what I do for all firebase libs, with load data coming from Kit endpoints that use firebase-admin. It is the only way I have been able to get this all to work as of ~3 months ago and I haven't revisited since.

@jthegedus off topic in a way, but do you have a code example of importing firebase-admin in a server route?
With this import import { initializeApp, applicationDefault } from 'firebase-admin/app';
I get this error:
[vite] Error when evaluating SSR module products.json.js
Error: Cannot find module 'firebase-admin/app'`

firebase-admin is a devDependency so I don't understand it...

Just checking in to say that moving ALL firebase calls to dynamic imports (behind a browser check) as you suggested has fixed the problem.  Thanks for the help once again @jthegedus

@jthegedus off topic in a way, but do you have a code example of importing firebase-admin in a server route?

// src/lib/firebase/admin.js
import admin from "firebase-admin";

const app = admin.apps.length === 0 ? admin.initializeApp() : admin.apps[0];
const firestore = admin.firestore(app);

export { firestore };

// src/routes/blog/[slug].json.js
import { firestore } from '$lib/firebase/admin';

export async function get(request) {
	const slug = request.params.slug;
	console.log(`SvelteKit Endpoint: ${request.path}`);
	const postPageSnapshot = await firestore.doc(`posts/${slug}`).get();

Importantly I was using<EMAIL_ADDRESS>at the time and when v10 released did not upgrade because it had issues. While I generally do recommend updating to the latest packages, server-side code is less critical and firebase-admin@9 is very stable

It's been a journey. Thanks for the help once again @jthegedus

Glad you got it working.


cloudflared: 2024.4.1 -> 2024.6.1

Description of changes
cloudflared: 2024.4.1 -> 2024.6.1
Also updated cloudflare-go as it's required

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@piperswe @ericnorris @QJoly @thoughtpolice @bbigras
I've been using it for a while, could you please help review this PR?


KAFKA-3881: use plain topic tag in Fetcher metrics

Reverts topic.replace conversion of dots to underbars in topic values for Fetcher metrics, so topic values are consistent across metrics.
The original topic.replace code was introduced in https://github.com/apache/kafka/pull/939 following a pattern where the topic value would be prefixed with "topic-" and dots would be converted to underbars. This pattern was then partially backed out, leaving the dots conversion by mistake.
Note that all other metric collections use the topic value as-is without conversion, so this change should align topic values from Fetcher with other metric topic values. The failure to align only happens when the topic value has a dot, so is understandably hard to find otherwise.

Note this updates an older PR with the same fix, but the bug has since been copied to more locations:
https://github.com/apache/kafka/pull/3407

retest

Retest this please

The reason for replacing dots with underscores is that some popular metrics dashboards (like Graphana) assume dots are delimiters, IIRC we got few complaints that caused us to fix that.
This happens for all the broker metrics, inside the metrics library:
https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala#L95
If there are places where this conversion doesn't happen, maybe it is worth fixing those?

It does seem like this has gotten into a few places because of Graphite format. And the Graphite reporter should take care to convert to its format, where tags are bundled into the metric name in a delimited order. And it seems fine to have aggregated strings like "scope" that follow a convention. But converting topic values in this way for tagged metrics makes it difficult to join on topic across data sets, if the conversion is not done consistently.
The Graphite conversion is also lossy, meaning two different topics can convert to the same value, or a converted value can be ambigious and not reversible. For example "topic_a" and "topic.a" will both end up looking like the same topic, and there's no way to reverse the conversion to point to the correct original topic. If a metric were "some_topic_value_here" there's no way to know which underbars were originally underbar and which were dot. In other words, this is a tricky default behavior to adopt.
As to the inconsistency of implementation, one can look at "topic.with.dot" metrics in JMX or anything where topic is a tag, such as in Prometheus. When looking across client and broker data sets, only the fetcher metrics in the client have "topic_a" values, everything else has a tag value of "topic.a"
In Prometheus with both broker and client data, coming from jmx_exporter, these are the only metrics with the underbar conversion:
kafka_consumer_consumer_fetch_manager_metrics_records_consumed_rate
kafka_consumer_consumer_fetch_manager_metrics_records_lag_max

while kafka_server..., kafka_producer..., kafka_consumergroup..., kafka_log..., kafka_cluster..., kafka_partition... data sets all have topic values with the unmodified topic.
So, I'm sure helpers like toScope end up being valuable aggregated strings to different reporters, but if "topic" is reported as its own tag I think it is more consistent to leave it as the original unmodified value. In other words, a tag map should just be topic -> "topic.with.dots"

Some pointers to other places where the tag map is handled are in
https://jira.apache.org/jira/browse/KAFKA-3881
for example Sender.java, Paritition.scala, Log.scala...
To me it looks like the pattern should be:  collect the topic value in the tag map as-is, then convert it downstream as needed.

@dbrinegar @tombentley @guozhangwang @junrao Can this PR be resurrected?


Fields are no longer editable

Thanks for creating this library!
I tried to fill in this form: https://www.uscis.gov/sites/default/files/document/forms/i-129.pdf using the library.
It worked well at extracting the relevant fields, and I will able to fill them in with PdfWrapper().fill(). I love the ease of use of this library.
However, I noticed that the PDF is no longer "editable" using Apple Preview, or the PDF viewer in my Chrome browser. The fields were editable before, and remain editable if I fill them in using something like PyPDF2.

Try this: https://chinapandaman.github.io/PyPDFForm/simple_fill/

That worked! Thanks for the quick response 🙏🏼


[GORDO-1642] [3.11] Try and address some obvious timewasters

Scope & Purpose
Backport of #18970

This PR can be merged as  they don't make anything worse; we don't have confirmation yet whether they have a good influence on @neunhoef 's testcase


Unable To Fetch Service

Have an unusual issue and am wondering if anyone else has exprienced this.
When I attempt to ope one of my RPC services, I get the error: "Unable to fetch service"
I thought perhaps that the code was somehow malformed however I can find no such indication.
Version: Apigility 1.1dev
Any others with this issue?

It would seem that an error in the service I wrote was causing this...


phonegap/phonegap-plugin-barcodescanner » iOS 10/iPhone 6s Plus camera does not appear until after going to home screen and back into application

Yup, I'm getting the same behaviour

Same here... iPhone 5s iOS 10.1.1

Hey guys, I've tried to reproduce the issue on iPhone 5 (iOS 10.1.1) and iPad Pro (iOS 10.0.2) with no luck.
My env is:
OS X 10.11.6 (El Capitan)
XCode 8.1
Cordova 6.4.0
cordova-ios platform 4.3.1
Here's a sample of working code:
onDeviceReady: function() {
    var logDiv = document.getElementById("log_div");
    var barcode = cordova.plugins.barcodeScanner;
    logDiv.innerHTML = "scanning a barcode...";
    barcode.scan(function (success) {
        logDiv.innerHTML = success.text;
    }, function (failure) {
        console.log(failure);
    });
}

Camera appears on the first launch, along with the permission prompt.
Could you please share some more details about your environment and provide the code snippet that is not working for you?

Environment:
OSX 10.11.6 - El Capitan
XCode 8.1 (8B62)
Cordova 5.4.0
Plugins in the project:
com.darktalker.cordova.screenshot 0.1.3 "Screenshot"
com.raananw.imageResizer 0.1.2 "ImageResizer"
cordova-plugin-app-version 0.1.8 "AppVersion"
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-device 1.0.1 "Device"
cordova-plugin-device-orientation 1.0.1 "Device Orientation"
cordova-plugin-dialogs 1.2.0 "Notification"
cordova-plugin-file 3.0.0 "File"
cordova-plugin-globalization 1.0.2 "Globalization"
cordova-plugin-inappbrowser 1.2.0 "InAppBrowser"
cordova-plugin-network-information 1.0.1 "Network Information"
cordova-plugin-splashscreen 2.1.0 "Splashscreen"
cordova-plugin-statusbar 1.0.1 "StatusBar"
cordova-plugin-whitelist 1.0.0 "Whitelist"
cordova-plugin-x-socialsharing 5.0.7 "SocialSharing"
onesignal-cordova-plugin 1.10.1 "OneSignal Push Notifications"
org.apache.cordova.file 1.3.3 "File"
org.devgeeks.Canvas2ImagePlugin 0.6.0 "Canvas 2 Image"
org.pushandplay.cordova.apprate 1.1.7 "AppRate"
phonegap-plugin-barcodescanner 6.0.4 "BarcodeScanner"

This code is located in my login controller, which is declared like this:
app.controller('loginCtrl', function ($scope, $http, $bemStorage) {
     'use strict';

And the code that calls and processes the barcode is this:
$scope.getQRCode = function () {
    if (helpers.hasInternet()) {
        _onQRCode = true;
        cordova.plugins.barcodeScanner.scan(
          function (result) {
              if (result.format == 'QR_CODE') {
                  try {
                      var _code = JSON.parse(result.text);
                  if (_code.userToken) {
                      $scope.LoginQRCode(_code.url, _code.userToken, _code.systemToken);
                      return;
                  } else if (_code.systemToken) {
                      $scope.QRCodeEnv(_code.url, _code.systemToken);
                      return;
                  }
                  } catch (error) {
                     helpers.showMessage('Warning', error);
                  }

              }
              else if (result.text != '') {
                  helpers.showMessage('Warning', 'Invalid QR Code!');
              }
              _onQRCode = false;
          },

          function (error) {
              helpers.showMessage('Warning', error);
              _onQRCode = false;
          },
          {
              "formats" : "QR_CODE",
              "orientation" : "portrait"
           }
       );
    }
};

The button is declared in index.html like this:
<button class="button" ng-click="getQRCode()">Read QRCODE</button>

This is working fine on iOS 9 and below (I'm targeting 8 in Xcode), but on iOS 10, when first running the app, I don't get the scanner view until I press the home key, and tap on the app icon again. If I tap on cancel, and try and scan the barcode again, the scanner doesn't show up until I press the home key and tap on the app icon again.
If, from the app, I double click the home key, and select the app in the task list, the scanner view comes up too.

Tried with<EMAIL_ADDRESS>targeting various iOS versions, including 8, and with your formats and orientation options. No dice, camera opens each time.
I didn't use angular though, but I don't think it can be a source of the problem.

@samscudder can you check if the if (helpers.hasInternet()) is the reason (is it true on first call)?
Does it reproduce on a blank Cordova app for you?

@daserge it returns true on first call. I added a helpers.showMessage on the line immediately above the .scan() and it shows up OK. Just to be on the safe side, I commented out the if, with no change in the outcome.
@alsorokin Some more behavior: When I double click the home key, while the task list is showing, I can see the screen changing to the scanner view after maybe 1.5 seconds before I tap on the app again.
If I tap on my scan button twice, the second time function(error) is called with a "Scan is already in progress" error.
I don't even get the camera permission popup when I first run the program on a tethered iPhone until I re-tap the app icon, ou double click the home key.

Just checked the ios platform version: 3.9.2

Same issue, I check the plist on xcode and show me  this line
Privacy - Camera Usage Description:  string:  To scan barcodes
But when I call scan, nothing happend and recall scan, show me message error Scan is already in progress.
Other thing, when start app, never show me confirm permission to use camera.

@samscudder, @fiveboxChile - quick question - do you deploy from CLI or from XCode?

@daserge Build and deploy from XCode (after a cordova prepare ios)

Guys !
I try this steps:
Update  cordova to 6.4.0
Add plugin with description
Add platform<EMAIL_ADDRESS>And Work !!!
Camera start at first touch !

Sorry I forget,
I have the same problem, but with geolocation plugin. I think with the same steps it fixed. I hope

You probably meant<EMAIL_ADDRESS>

I'm not sure I can update cordova to 6.4.0 without breaking the app. Are there any incompatibilities?
I'm not the original developer, and not very experienced with cordova, but I do know a bit about javascript/html/css (nearly 20 years experience in web development).

You probably meant<EMAIL_ADDRESS>
:D Sorry your right !

@samscudder it's hard to say but you can install cordova locally and test like so:
mkdir cordova6test && cd cordova6test
npm i<EMAIL_ADDRESS>node node_modules/cordova/bin/cordova create testProject
cd testProject
node ../node_modules/cordova/bin/cordova platform add<EMAIL_ADDRESS>...add plugins, prepare, setup developmentTeam, etc...
You can read what has changed in cordova@6 and ios@4 here:
https://cordova.apache.org/news/2016/01/28/tools-release.html
http://cordova.apache.org/announcements/2015/12/08/cordova-ios-4.0.0.html

Another tip
In some case, when click to open scanner freeze screen, The solution is change call in angular. Change ng-click for on-touch
PD: My English suck! Sorry :(  I can read very well, but write too bad

@tungcntt619, @samscudder - have you got a chance to check if this is an issue with ng-click, guys?

I don't think this is an ng-click issue, as the on click function gets triggered.

There was an issue with it that callback was being called twice: https://github.com/driftyco/ionic/issues/1022 - not sure if it was fixed or not.

This is due to the new content security introduced in iOS 10 to prevent XSS.
Replacing the <meta http-equiv="Content-Security-Policy" tag in index.html file should resolve this issue
<meta http-equiv="Content-Security-Policy" content="default-src gap://ready file://* *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *">
For more details read http://www.qed42.com/blog/ionic-iOS10-compatibility-csp

Thanks @xavierfernandes , now I got this working..
Here is my Content Security Policy:
<meta http-equiv="Content-Security-Policy" content="
	default-src gap://ready file://* *;
	script-src 'self' 'unsafe-inline' 'unsafe-eval' *;
	img-src 'self' data: *;
	style-src 'self' 'unsafe-inline' *">

100% working on phonegap.

Did the CSP edit fix this for others as well? I'm still experiencing the same behavior after applying it...

It should be gap:, not  gap://ready, it should fix the problem.

I have taken the steps above and when I build the app to a local device it works without issues.  However when I sign and publish as an enterprise app then the behavior above takes place.  Any ideas on what could cause this?

Hi,
I'm encountering this issue using hybrid remote. Basically all my javascript files are stored in the remote and I'm accessing it, so far the Javascripts are loaded fine.
However, on my first install, on the first tap of the button that calls the barcode scanning, nothing happen, and when I press the home button, the Allow Camera Access dialog shown and after allowing it and tap again the scan barcode button, no camera scanning shown only an error message 'Scan is already in progress'.

Hi,
I used to encountering this issue few days ago, I've fixed it by adding "gap:" to my CSP settings.


Guess implementation is hard. Add record guess helper library

It's a common work for input plugins to guess schema from schema-less records.
An idea here is to provide a library to make it easy.

API is simple.
input: Array of Hash.
output: detected Schema.
guess_csv.rb has similar code.


fix actuator endpoints

Description:
Since v7.1.0, the actuator endpoints can no longer be called if the actuator is running on its own port.
All calls end in status 404 with the message "problemDetail.org.springframework.web.servlet.resource.NoResourceFoundException".
The reason is that the "WebMvcEndpointHandlerMapping" bean is initialized too early for the management context.
This PR registers the configuration "CasCoreWebConfiguration.CasCoreWebEndpointsConfiguration" in "/META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports" and thereby fixes the problem.

Thank you for the change.
Individual configuration classes cannot and don't get registered. They are contained with their own auto configuration class.


fix(nginx): replace configmap.Data instead of merging for consistent

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #68
Reference to #

Special notes for your reviewer:
/cc @your-reviewer

Release note:

NONE

/lgtm

/cherrypick release-0.4


Fixed typo error in line 113

Closes #919

@cmcatee-MSFT - PR has been copy edited and is ready for final review based on issue #919.  This is just a typo issue.
Thank you.
cc: @kenwith


15 minute neighborhoods

At the hackathon this Saturday, we're going to focus on a tool to explore 15 minute neighborhoods. There's been lots of press about these lately.
The vision: An open source tool to understand not only how walkable a place currently is, but also what it might take to improve things. Bring in land use and census data, to figure out what areas are in the most need of easier access to some amenity, and what buildings/land parcels might be eligible to become multi-use.
Inspiration:

https://blog.conveyal.com/access-in-seattle-fb5ef952c3ae
https://app.developer.here.com/15-min-city-map/
https://www.remix.com/
https://www.open-accessibility.org/

https://www.open-accessibility.org/15minutecity/

To my knowledge, GOAT is the only open source tool to explore 15 minute cities.
Relation to A/B Street
Ideally this new tool would be spun off from A/B Street. Similar to the new OpenStreetMap viewer mode and a few others, there are an increasing number of experiments not related to the core gameplay, but leveraging lots of the same code. Focusing on 15 minute neighborhoods is a much simpler problem than traffic simulation -- milestones are much easier to reach if solving gridlock and modelling lane-changing properly isn't a prereq. :) Until some of the technical issues are solved to split the code into pieces better, this new 15-minute experiment will just be a mode accessible from the main screen.
Right now, A/B Street the game focuses on improving trip times as its score. People don't change their trip modes based on map edits. As we move more towards the direction of measuring overall mobility / access to useful stuff and figure out how to model mode choice changes, I think some of the ideas/code from the 15-minute tool could start to converge with the game.
Tasks and ideas
The code lives here: https://github.com/dabreegster/abstreet/tree/master/game/src/devtools/fifteen_min
Design / non-programming

UI mocks -- what should the panel look like for controlling the basic functionality?
how to display/organize information about the commercial amenities available?
how should we visualize population density near a building?
how should we visualize land use / zoning codes to understand what buildings might host new stores?
[ ] organize raw OpenStreetMap amenities into better categories

Core isochrone algorithm

[X] make the isochrone implementation return time, not distance
[ ] hard: handle PathConstraints::{Bike, Car} (then select these through the UI)
[X] make the isochrone implementation floodfill out, instead of calculate O(n) paths
[x] medium: filter out results > 15 minutes
[ ] hard: stop the Dijkstra's floodfill > 15 minutes (more efficient)
[ ] hard: generate polygons exactly between two thresholds
[x] easy: generate more exact costs for buildings in the middle of a sidewalk by adding in distance from the intersection
[ ] hard: consider calculating isochrones differently -- per side of the road?
https://wiki.openstreetmap.org/wiki/Isochrone#Technical_details

Basic UI:

[x] easy: switch maps using CityPicker
[x] easy: click a building to re-center the isochrone
[x] easy: add a ColorLegend to the panel and label the 5, 10, 15 minute marks
[x] easy: add an "About" button with a popup explaining the tool
[x] medium: as you hover over a building, draw a tooltip with the time to get there
[x] medium: as you hover over a building, draw the route from the start to that building

Add detail to the UI:

[x] medium: count amenities in the reachable buildings, display summary/breakdown in the UI panel
[x] hard: count free / total parking spots within the walkshed
[x] hard: count population density, based on what the scenario data says

Summary tools to understand an entire city without having to check an isochrone everywhere:

[x] very hard: sample buildings in an entire map, find areas that are / are not 15 min neighborhoods
[x] very hard: food deserts: calculate and visualize things like number of people not within 15 minutes of a grocery store

Bring in more data layers to understand potential for change:

[ ] very hard: import zoning/land use maps from KCGIS, add a layer to show this

https://data-seattlecitygis.opendata.arcgis.com/datasets/current-land-use-zoning-detail
https://data-seattlecitygis.opendata.arcgis.com/datasets/parcels-1

[ ] very hard: a-b-street/abstreet#116 - bring in equity/demographic info, show it from isochrone UI

Let people make changes to the map to affect the isochrones:

[ ] very hard: let players "upzone" some buildings and define what types of amenities they'd want somewhere. update isochrone accordingly. not sure if this should be expressed through map edits or not
[ ] very hard: calculate differential isochrones across changes like upzoning; same walkshed, but update the scores?

More unsorted ideas:

[X] custom walking speed
[X] allow walking on the shoulder, or require actual sidewalks
[ ] penalize crossings that're likely to take a bit (waiting for a signal or unprotected crossings where drivers aren't likely to immediately stop)
[ ] Elevation data
[ ] Avoid roads with high historic collision rate (and point them out)
[ ] Avoid freight routes

The walking isochrones themselves aren't super interesting; getting public transit routes imported from OSM properly would mak all of this work much more interesting.

Would it be worthwhile to split this out into separate issues that link into this?

Would it be worthwhile to split this out into separate issues that link into this?

That'd be useful longer term, but for a one-day hackathon, I think having everything together in one place is easier. Especially since some of the harder tasks haven't been broken into pieces yet

easy: click a building to re-center the isochrone

🙋 I'm going to work on this one.

Would it be worthwhile to split this out into separate issues that link into this?

That'd be useful longer term, but for a one-day hackathon, I think having everything together in one place is easier.

I it could be counter-productive to dump two dozen new issues into the issue tracker that might not be relevant after the today, but to organize any discussion that rises up on a particular issue, maybe it makes sense to separate out issues that are actually being worked on...
In that vein, I've made: https://github.com/dabreegster/abstreet/issues/395

I'll start with this

easy: add an "About" button with a popup explaining the tool

Just seeing this, sorry -- other uses of PopupMsg are good examples to follow

easy: switch maps using CityPicker

🙋 I'm going to work on this one.

medium: as you hover over a building, draw the route from the start to that building

🙋 I'm going to work on this one next.

easy: generate more exact costs for buildings in the middle of a sidewalk by adding in distance from the intersection

I'll give this one  a shot

I'll give this one a shot

Thanks! The changes should happen in all_costs_from, and building.sidewalk_pos should help. Let me know if you hit any snags

How would I go about grabbing the distance from the sidewalk here?
        let graph = build_graph_for_pedestrians(map);
        let start = WalkingNode::closest(map.get_b(start).sidewalk_pos, map);
        let cost_per_node = petgraph::algo::dijkstra(&graph, start, None, |(_, _, cost)| *cost);

        // Assign every building a cost based on which end of the sidewalk it's closest to
        // TODO We could try to get a little more accurate by accounting for the distance from that
        // end of the sidewalk to the building
        for b in map.all_buildings() {
            if let Some(seconds) = cost_per_node.get(&WalkingNode::closest(b.sidewalk_pos, map)) {
                let duration = Duration::seconds(*seconds as f64);
                if duration <= time_limit {
                    results.insert(b.id, duration);
                }
            }
        }

How would I go about grabbing the distance from the sidewalk here?
        let graph = build_graph_for_pedestrians(map);
        let start = WalkingNode::closest(map.get_b(start).sidewalk_pos, map);
        let cost_per_node = petgraph::algo::dijkstra(&graph, start, None, |(_, _, cost)| *cost);

        // Assign every building a cost based on which end of the sidewalk it's closest to
        // TODO We could try to get a little more accurate by accounting for the distance from that
        // end of the sidewalk to the building
        for b in map.all_buildings() {
            if let Some(seconds) = cost_per_node.get(&WalkingNode::closest(b.sidewalk_pos, map)) {
                let duration = Duration::seconds(*seconds as f64);
                if duration <= time_limit {
                    results.insert(b.id, duration);
                }
            }
        }

WalkingNode::closest(b.sidewalk_pos, map) gives you a Position with the sidewalk as the lane and the distance along it as either 0 or the full length of the sidewalk. b.sidewalk_pos is also a position, with the same lane, but a distance somewhere in [0, full length]. So you should just be able to subtract the pos.dist_along() for the two positions, take the absolute value, and divide by opts.walking_speed to get the additional time

WalkingNode::closest(b.sidewalk_pos, map) gives you a Position with the sidewalk as the lane and the distance along it as either 0 or the full length of the sidewalk. b.sidewalk_pos is also a position, with the same lane, but a distance somewhere in [0, full length]. So you should just be able to subtract the pos.dist_along() for the two positions, take the absolute value, and divide by opts.walking_speed to get the additional time

@dabreegster I've taken a shot at addressing the addition of distance from sidewalk in #443

@dabreegster I've taken a shot at addressing the addition of distance from sidewalk in #443

David Nicholson found the project through DemocracyLab and has contributed some detailed UX notes:
1_28_21 Notes on A_B Street 15 Minute (Web Tool)(1).docx.pdf

David Nicholson found the project through DemocracyLab and has contributed some detailed UX notes:
1_28_21 Notes on A_B Street 15 Minute (Web Tool)(1).docx.pdf

Some notes from a call with David:

consider moving the search button next to the address; he expected to click and edit the address
consider listing amenities with multiple columns, to reduce vertical scrolling

@dabreegster I recently found your amazing project and it will take me a bit to explore the various parts (an amazing amount of features you have built). I am currently in a master's program and have been doing some work around walkable cities and transportation more broadly. I would love to help on some of the issues you outlined, as I discover what is involved I will stick my hand up for specific features. Could you please link to the latest code? I found a dead link in your original issue post. Thank you!

Hi @tnederlof! The 15m code is now at https://github.com/a-b-street/abstreet/tree/master/fifteen_min/src. If you're diving into the Rust code, https://a-b-street.github.io/docs/dev/index.html has instructions for building. The 15m tool has a web version linked at https://a-b-street.github.io/docs/side_projects/fifteen_min.html. Also happy to schedule a videocall to chat!

@dabreegster thank you for the links, its great to see what's already there on the web version. I don't have much prior experience in Rust but I have poked around projects before, nothing like a good motivating project to dive in deeper! I would love to videocall sometime, I have seen a bunch of issues that I would love to contribute to. My email is on my profile.

I started to work on organizing categories better (and also sorting them). One thing I ran into is the difference between Amenity and Shop, I feel like there are some of each that would belong as a possible option in this tool. @dabreegster what are your thoughts on Amenity (Supermarket, Clinic, etc.) and Shop (Butcher, Bakery, etc.)? Should they be two different types or all be AmenityType in abstreet? It looks like for buildings its:
pub amenities: Vec<Amenity>,

It looks like OSM uses both shop= and amenity= to refer to different businesses: https://wiki.openstreetmap.org/wiki/Shops#How_to_tag
And actually, reading that wiki more carefully, it looks like we should also be scraping craft=* and office=*!
The intention of amenities: Vec<Amenity> is to capture all of the commercial uses in a building. Is there a reason we should also distinguish amenity vs shop? If the difference is important, I'd vote we update AmenityType to capture the distinction, instead of putting a new field on Building, since there's lots of UI and travel demand code that looks at the amenities field today.

For reference, https://github.com/a-b-street/abstreet/blob/93e721c88f0b47303f151ec3019857f4259d7e1c/convert_osm/src/extract.rs#L540 is the place that builds this vector from OSM. It happens during import.sh --raw, which is the import phase that handles .osm files

And also, we have two groupings of amenities today -- the main one at https://github.com/a-b-street/abstreet/blob/93e721c88f0b47303f151ec3019857f4259d7e1c/map_model/src/objects/building.rs#L244, and https://github.com/a-b-street/abstreet/blob/93e721c88f0b47303f151ec3019857f4259d7e1c/popdat/src/make_person.rs#L63 for one of the travel demand models. The second is a bit different, since it maps an activity a person might do to the types of shops that might fulfill that.

It looks like OSM uses both shop= and amenity= to refer to different businesses: https://wiki.openstreetmap.org/wiki/Shops#How_to_tag
And actually, reading that wiki more carefully, it looks like we should also be scraping craft=* and office=*!
The intention of amenities: Vec<Amenity> is to capture all of the commercial uses in a building. Is there a reason we should also distinguish amenity vs shop? If the difference is important, I'd vote we update AmenityType to capture the distinction, instead of putting a new field on Building, since there's lots of UI and travel demand code that looks at the amenities field today.

Okay great all of those references are really helpful. From reading the OSM materials it seems like amenity is just labeled because they think those are more important or useful especially for tourists. That distinction seems a bit odd to me and for our use case I would argue the distinction is not important. I think folding in "shop", "amenity", "craft", and "office" into AmenityType makes sense.
It looks like the get_bldg_amenities() function already pulls in "shop" and "amenity", so I can add "office" and "craft" there. Then work on making the  AmenityType in buildings.rs more organized to cover all of those four OSM tags. Does that sound like the right course of action?

Yep, sounds good!
On Mon, May 3, 2021, 11:36 AM Trevor Nederlof @.***>
wrote:

It looks like OSM uses both shop= and amenity= to refer to different
businesses: https://wiki.openstreetmap.org/wiki/Shops#How_to_tag
And actually, reading that wiki more carefully, it looks like we should
also be scraping craft=* and office=*!
The intention of amenities: Vec is to capture all of the
commercial uses in a building. Is there a reason we should also distinguish
amenity vs shop? If the difference is important, I'd vote we update
AmenityType to capture the distinction, instead of putting a new field on
Building, since there's lots of UI and travel demand code that looks at
the amenities field today.
Okay great all of those references are really helpful. From reading the
OSM materials it seems like amenity is just labeled because they think
those are more important or useful especially for tourists. That
distinction seems a bit odd to me and for our use case I would argue the
distinction is not important. I think folding in "shop", "amenity",
"craft", and "office" into AmenityType makes sense.
It looks like the get_bldg_amenities() function already pulls in "shop"
and "amenity", so I can add "office" and "craft" there. Then work on making
the AmenityType in buildings.rs more organized to cover all of those four
OSM tags. Does that sound like the right course of action?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/a-b-street/abstreet/issues/393#issuecomment-831450534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMWLF53NBA2R62XZ6BEY43TL3ULJANCNFSM4T2VO2YA
.

A few years ago, Amanda Lacy and I prototyped the Muddy Map Explorer, a blind-friendly neighborhood exploration tool based on OpenStreetMap data. The name came from the fact that it used a textual, MUD-like user interface.  Although it worked (for some value of "work" :-), it had severe problems dealing with issues in the OSM data.
For example, we found that complex situations (e.g., shopping centers, freeway interchanges) were very hard to describe, let alone navigate. Other problems had to do with the fact that OSM data isn't really well optimized for pedestrians.  As you have observed, streets are simply series of points, so road widths and accessibility obstructions aren't recorded in a particularly useful manner.
Anyway, it looks like you have done quite a bit of the heavy lifting to resolve some of these problems.  I wonder if it's worth trying to layer some of Muddy's UI on top of your infrastructure...

A few years ago, Amanda Lacy and I prototyped the Muddy Map Explorer

Wow, this is a really awesome use of OSM data! All I could find about the project is https://www.youtube.com/watch?v=mY0DXLTPLQ0. The wiki link https://wiki.cfcl.com/Projects/Muddy seems to be down. Is any code or demos of it still online?
And by the way, it's a bit serendipitous that Amanda was at UT -- that's actually where I got started too. My first semester of undergrad, I drew this map of campus by hand:

The blue blobs are doors into the building, and the black rectangles were construction as of fall 2010. Over that winter break is when I discovered OSM.

road widths and accessibility obstructions aren't recorded in a particularly useful manner.

Two projects that may be relevant, in case you haven't seen them: https://www.opensidewalks.com/ (they're active right now and always looking for contributors -- I was at a hackathon yesterday with them) and a tactile map generator by @matkoniecz

Anyway, it looks like you have done quite a bit of the heavy lifting to resolve some of these problems. I wonder if it's worth trying to layer some of Muddy's UI on top of your infrastructure...

I would like to say yes, but unfortunately A/B Street doesn't have good support for pedestrian infrastructure. When sidewalks are mapped in OSM as separate ways, abst totally ignores them currently and instead treats sidewalks as another "lane" on the road. It also infers crosswalks at every possible position, which is far from realistic. There are a number of problems with almost-parallel ways next to the main road -- #330. For an extreme example where abst's inference is very wrong about sidewalks, in downtown Seattle (https://www.openstreetmap.org/#map=19/47.61506/-122.33766):

This triangular shape is actually one complex junction, but currently abst thinks there are sidewalks on the "interior" of the triangle. And the heuristics even omit the sidewalk on the other side of the one-way roads.
If you'd like to try to make use of abst's processing of OSM data, https://a-b-street.github.io/docs/tech/map/index.html describes the map model. We could explore ideas for reading the map format in your favorite language or providing a proper API to call it. But depending what Muddy Map Explorer needs to do, there might be many things that are too broken to proceed usefully.

tactile map generator by @matkoniecz

Right now main published outcome is https://github.com/matkoniecz/lunar_assembler that includes both using area:highway data ( https://mapsaregreat.com/osm_to_svg_in_browser/laser_road_area ) and attempts to generate symbolic footway maps from existing data ( https://mapsaregreat.com/osm_to_svg_in_browser/laser_neighbourhood )
I will be publishing soon(TM) more - tow articles describing process and made maps

On Sep 19, 2021, at 10:27, Dustin Carlino @.***> wrote:

A few years ago, Amanda Lacy and I prototyped the Muddy Map Explorer

Wow, this is a really awesome use of OSM data! All I could find about the project is https://www.youtube.com/watch?v=mY0DXLTPLQ0. The wiki link https://wiki.cfcl.com/Projects/Muddy seems to be down. Is any code or demos of it still online?

Sadly, cfcl.com is currently out of service.  I'm hoping to bring it back online this Fall, but no guarantees are made or implied.  In any event, the .../Projects/Muddy area basically contained only descriptive material.
The version of Muddy that we developed was basically just an experimental prototype.  There was some tooling to download a selected set of OSM data, covering a rectangular region around Amanda's home.  An interactive program then used this data to generate scene descriptions, support interactive navigation, etc.
Most of Muddy's code was written in Ruby and run from the macOS command line.  So, any user would need to be fairly competent at using the CLI, setting up the code and data, etc.  This approach worked fine for our development and experimentation, but it's clearly inappropriate for a production version.
A second generation version could implemented as an interactive web site.  This would download OSM data as needed, maintain the user's navigation history, etc.  If I were doing this, I'd probably use Elixir and related tooling (e.g., LiveView, Phoenix).  So, it could maintain each user's state using lightweight processes (i.e., Actors) and a simple backing store.
-r

On Sep 19, 2021, at 10:27, Dustin Carlino @.***> wrote:

A few years ago, Amanda Lacy and I prototyped the Muddy Map Explorer

Wow, this is a really awesome use of OSM data! All I could find about the project is https://www.youtube.com/watch?v=mY0DXLTPLQ0. The wiki link https://wiki.cfcl.com/Projects/Muddy seems to be down. Is any code or demos of it still online?

Sadly, cfcl.com is currently out of service.  I'm hoping to bring it back online this Fall, but no guarantees are made or implied.  In any event, the .../Projects/Muddy area basically contained only descriptive material.
The version of Muddy that we developed was basically just an experimental prototype.  There was some tooling to download a selected set of OSM data, covering a rectangular region around Amanda's home.  An interactive program then used this data to generate scene descriptions, support interactive navigation, etc.
Most of Muddy's code was written in Ruby and run from the macOS command line.  So, any user would need to be fairly competent at using the CLI, setting up the code and data, etc.  This approach worked fine for our development and experimentation, but it's clearly inappropriate for a production version.
A second generation version could implemented as an interactive web site.  This would download OSM data as needed, maintain the user's navigation history, etc.  If I were doing this, I'd probably use Elixir and related tooling (e.g., LiveView, Phoenix).  So, it could maintain each user's state using lightweight processes (i.e., Actors) and a simple backing store.
-r

https://content.tfl.gov.uk/connectivity-assessment-guide.pdf awesome resource on PT isochrones

More tasks after the new PR:

[ ] for the score homes mode, discrete categories would be much more visually comprehensible than the current gradient color scheme
[ ] hover or click a particular building in score home mode, to see which of the categories are satisfied or not (and show paths to the closest of each category)
[ ] look into the isochrone output; I think it might be flaky given the same input?!
[ ] for score homes mode, possibly count the total number of matching shops within range, instead of limiting to one per category. Being close to 1 and 10 grocery stores is very different. This'd be much more expensive though, of course

https://ipeagit.github.io/intro_access_book/en/index.en.html has generally applicable ideas/context


[Snyk] Upgrade io.grpc:grpc-core from 1.47.0 to 1.49.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade io.grpc:grpc-core from 1.47.0 to 1.49.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 7 versions ahead of your current version.
The recommended version was released a month ago, on 2022-10-01.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fixed missing  outdoorTempGust, solarradiation and uvi data

updated list values for outdoorTempGust, solarradiation and uvi to resolve missing data in the csv.
fixed uvi array 0 values being set to empty/null.

Thank you for your contribution, @Djblaik.


Password reset in custom credential provider

Hey how can i support password reset in the custom credential provider i have built which overrides the login screen?

You need to support _CREDENTIAL_PROVIDER_USAGE_SCENARIO.CPUS_CHANGE_PASSWORD
https://github.com/phaetto/windows-credentials-provider/blob/dd3f5bbe86f1cf1f8f679ac109332975fbf3373c/WindowsCredentialProviderTest/TestWindowsCredentialProvider.cs#L36

i did try that and added the necessary code in GetSerialization when usage scenario is CPUS_CHANGE_PASSWORD. But my question is when im on login page and enter my username and password, it shows password expired and asks to reset the password, when i click ok it just errors out and comes back to login screen instead of asking to reset password.
How do i implement the password reset UI to allow the user to enter newpassword etc? please help

@phaetto any ideas?

This is the similar to this one: #27
You will need to port the serialization for kerberos to do that. In this example repo this is not implemented.
You can find more details on the implementation here:
https://github.com/pgina/pgina/blob/f7cf2a074cf00432aa619478cedd8181b31f1680/pGina/src/CredentialProvider/SerializationHelpers.cpp#L103


Support vesting contracts, HTLCs

Anything left to do here in keyguard? Maybe not.

I think nothing except actually testing it if it does accept and correctly sign vesting and HTLCs.

We might still want to adapt the UI to display what the extra data in the contract creation actually means.
Redeeming transactions from vesting contracts and HTLCs should be alright?

Vesting contracts can be used as senders, that has been tested.
For decoding extra data, I created a more specialized issue #286.


ErrorHandler: Additional component information

Currently, the errorHandler function takes in the error object and componentName as arguments. It would be good to have some more context for the component that errors. This additional information(say props) could for instance, be used in either logging, or in the fallback component.

v3.0.1


Fix(typo): Properly appends

I haven't been able to get NGC to kick in using different flags as mentioned at d53f25f, this typo might be the cause of the issue.
Short description of what this resolves:
A typo that was pushed to the repo on 5d82829

Thanks @realappie, good catch!
Thanks,
Dan


[FSDE-12325] Fix Carousel arrows & event emission

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-289/1/. :white_check_mark:

You can check this PRs instance in https://eeb2c041e71319458203a7c2644549fd10d6944b-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-289-ux-chi.kubeodc-test.corp.intranet/ (internal)

You can check this PRs instance in https://ced27492b70a4067035211aba4598fcf1296a554-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-289-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-289/3/. :white_check_mark:

You can check this PRs instance in https://c901e32a865487b9c79b8f7651c9b05d574d9917-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-289-ux-chi.kubeodc-test.corp.intranet/ (internal)