Deploy conductor server in a distributed way？

In production environment, does conductor server support multi instance deployment？If yes, how to deploy conductor server in a distributed way, and Is there a deployment instruction document？

@andyyumiao Yes conductor server can be deployed across multiple instances. We do not have an instruction document for this yet, but basically the deployment would just mean booting the server jar across multiple instances and using external databases(instead of in-memory) and elasticsearch deployments(for UI/index/search purposes).


bug fixes and ui improvements

polished app a bit by fixing ui inconsistencies or bugs-- made error toasts more descriptive, added a spinner progress bar while waiting for a response from receipt api, formatted all dates to be consistent, added endless scrolling where needed, adjusted text input

(kind of hard to showcase these changes in a video since a lot of these were bug fixes, but I'll update the APK on the demo workplace post for people to try out the app for themselves)


Rockstar clip recording

having SHVDN set at F1 blocks the start clip recording key

It's done by design if you encounter the issue when the console is open, since it disables all controls except for the camera controls.


Merge 'GO:0043390 aflatoxin B1 metabolic process' and 'GO:0043390  aflatoxin B2 metabolic process' into 'GO:0046222 aflatoxin metabolic process'

@marcfeuermann says that these compounds are synthesized by the same pathway, so there is no point having three different pathways.
Thanks, Pascale

Also - removed the parent
GO:2000762 ! regulation of phenylpropanoid metabolic process
from "regulation of aflatoxin biosynthetic process'

this is not really consistent with how we have modeled things so far.


knightos-scas: 0.4.6 -> 0.5.0

Motivation for this change
Update scas
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 99272 1

1 package built:

knightos-scas

Result of nixpkgs-review pr 99272 1

1 package built:

knightos-scas

Result of nixpkgs-review pr 99272 run on x86_64-linux 1

1 package failed to build:

knightos-z80e

1 package built:

knightos-scas

Result of git bisect
git bisect start 'master' '0.4.6'
9cb7459 bad Update license
b6c5548 good Switch _XOPEN_SOURCE to 700. You win, skarnet.

git bisect good 0c006b785de49d0a850b34bbe230ecd8d99a92cf
0c006b7 good List: don't memmove when deleting the last entry

git bisect bad 5d063e608a4747fce74a64c159562712b97f2458
5d063e6 bad Cleanup file reading

git bisect bad fc4b644c3c7748c4226760a34d0aed8a9a6be9ac
fc4b644 bad Make it possible to exclude libscas from build

git bisect good 245348b63c3984dbf16413405e28af30bdcd3541
245348b good Fix last kernel memory leak

git bisect good 229d08addf4a75101e4005cf503b4b7f6c5ad735
229d08a good Update status

fc4b644c3c7748c4226760a34d0aed8a9a6be9ac is the first bad commit

Result of nixpkgs-review pr 99272 run on x86_64-linux 1

1 package failed to build:

knightos-z80e

1 package built:

knightos-scas

Result of nixpkgs-review pr 99272 run on x86_64-darwin 1

2 packages failed to build:

knightos-scas
knightos-z80e

@SuperSandro2000 Thanks. I'll fix up this build and then mark as ready.


Empty Cluster VIPs causing shared-control plane to give invalid config

Not 100% what the impact yet, but after adding logging to GetServiceAddressForCluster (in https://github.com/istio/istio/pull/27493) I found that (at least in the cases we break, it is probably intermittent) I found that ClusterVIPs on the push context was always empty. This means we will give the k8s ClusterIP from one cluster to all clusters connected to istiod.
Added logging
Sample logs (looking for regex using (\d{1,3}\.?){4} for proxy shows we never use the clustervips)
Don't know what this impacts completely, but I'd imagine we're not hitting kube-proxy because of it, or kube-proxy won't send traffic correctly. One thing that is breaking that is probably related is that pods in "remote" clusters (using another cluster's control plane) intermittently have connection issues with the test "vm" services.

Looks like in addition to DNS we build httproute and listeners using the service address.

It's possible that since the "vm" doesn't know that its in a cluster, it fails to get the right service address?

cc @ramaraochavali @howardjohn @nmittler

The echo service in cluster-1 has a lot of Service IPs from cluster-0's service subnet which seems in correct.
https://storage.googleapis.com/istio-prow/pr-logs/pull/istio_istio/27493/integ-pilot-multicluster-tests_istio/1596/artifacts/pilot-endpointslice-7b80a9cf61b/_suite_context/echo-1-7855-state-425368636/cluster-1/a-v1-f5dcd8fdb-k82bh_proxy-config.json

Is somehow caching that was done as part of https://github.com/istio/istio/pull/27027 in PushContext affecting this? Not sure how it can - but there is a probability

I saw that there were a lot of paths leading to continue before they get added to that map. I tried moving the map above but I don't think it helped.

It's gotta have something to do with that caching. The cluster vip map on the Service instance has the right values.

@stevenctl  Please see if https://github.com/istio/istio/issues/27526 fixes it?

I think I found the issue - when we do InitContext->UpdateContext we skip generating this index if there are no changed services.

Fixed in #27608


python312Packages.oslo-log: 6.1.2 -> 6.2.0; fixes; improvements

Things done

python312Packages.oslo-log: fix build in darwin sandbox
python312Packages.oslo-log: misc cleaning
python312Packages.oslo-log: switch to fetchFromGitHub
python312Packages.oslo-log: 6.1.2 -> 6.2.0

Built on platform(s)

[x] x86_64-linux
[x] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.


kit/sync-modules fails without id_rsa, and fails with a different error after I create it or set id_ed25519

I use ed25519 instead of rsa, so  when I try to dync modules:
user> (kit/sync-modules)
failed to clone module: git@github.com:kit-clj/modules.git
cause: git@github.com:kit-clj/modules.git: java.io.FileNotFoundException: /Users/xxx/.ssh/id_rsa (No such file or directory)

So reading the code I found out about kit.git-config.edn where I can give the name of my key, but replacing id_rsa with id_ed25519, I get:
user> (kit/sync-modules)
failed to clone module: git@github.com:kit-clj/modules.git
cause: git@github.com:kit-clj/modules.git: invalid privatekey: [B@4cf19be

I think this might be down to the underlying JGit library that clj-jgit is using. I'll see about upgrading it and testing with ed25519. There was a historical issue with the lib that it had issues handling ed25519 and ECDSA-384/521 but was resolved in 2020

Will need to investigate some more, looks like not such a simple fix... To summarize so far: kit-generator uses an old version of clj-jgit (0.8.10) due to issues with the latest version being unable to handle password protected SSH keys. However, this version cannot implement the fixes that jgit 5.2 provides, which includes ed25519 support.
The latest version of clj-jgit would support jgit up to the latest 5.x version (6.0 seems unlikely since there are breaking API changes), but we need to figure out how to get it to work with password protected keys first before using it. It also requires some code changes because the clj-jgit API breaks from 0.8 -> 1.0

OK, so ed25519 is out for the moment. I followed up by creating an RSA key, and restarting the repl, now I get:
user> (kit/sync-modules)
2022-01-09 17:06:54,655 [nREPL-session-590ea496-1654-4758-9e2d-f36504906f97] DEBUG org.eclipse.jgit.util.FS - readpipe [git, --version],/opt/local/bin
2022-01-09 17:06:54,675 [nREPL-session-590ea496-1654-4758-9e2d-f36504906f97] DEBUG org.eclipse.jgit.util.FS - readpipe may return 'git version 2.34.1'
2022-01-09 17:06:54,676 [nREPL-session-590ea496-1654-4758-9e2d-f36504906f97] DEBUG org.eclipse.jgit.util.FS - remaining output:

2022-01-09 17:06:54,676 [nREPL-session-590ea496-1654-4758-9e2d-f36504906f97] DEBUG org.eclipse.jgit.util.FS - readpipe [git, config, --system, --edit],/opt/local/bin
2022-01-09 17:06:54,684 [nREPL-session-590ea496-1654-4758-9e2d-f36504906f97] DEBUG org.eclipse.jgit.util.FS - readpipe may return '/opt/local/etc/gitconfig'
2022-01-09 17:06:54,684 [nREPL-session-590ea496-1654-4758-9e2d-f36504906f97] DEBUG org.eclipse.jgit.util.FS - remaining output:

failed to clone module: git@github.com:kit-clj/modules.git
cause: git@github.com:kit-clj/modules.git: invalid privatekey: [B@1bcad448

Is the kit.git-config.edn still pointing to the old key? This should be the default config from the template which points to an RSA key:
{:name       "~/.ssh/id_rsa"
 :passphrase ""
 :options    {"StrictHostKeyChecking" "no"
              "UserKnownHostsFile"    "/dev/null"}
 :exclusive  true}

yeah, I nuked the test app and re-created with clj-new, and I also created a new rsa ssh key with  ssh-keygen -t rsa
% ls ~/.ssh/id_rsa
/Users/xxx/.ssh/id_rsa

Think found the issue...
Does this key generation work for you?
ssh-keygen -t rsa -m PEM
I can also reproduce it now by generating a new key. Apparently the header below isn't supported in SSH keys with jgit which is the newer one produced by OpenSSH 7.8+.
-----BEGIN OPENSSH PRIVATE KEY-----
Separately... while we needed the key authentication for when the modules repo was private we don't at the moment. Though people should be able to host their own private modules repos, so the feature should be supported but not required.
@yogthos So two things: We'll need to try to either upgrade clj-jgit or find some other alternative. Looks like the version we're using has some unfortunate bugs.
Also let's see if we can make the git ssh optional

yup, the PEM format worked! Thanks!
And agreed that a key should not be a requirement to get something that is public..

Np, thanks for reporting/helping troubleshoot it 👍  Will leave the ticket open until we resolve the issues

using https repository url worked for me (even without any .ssh keys).
kit.edn
{:full-name "kit/guestbook"
 :ns-name   "kit.guestbook"
 :sanitized "kit/guestbook"
 :name      "guestbook"
 :modules   {:root         "modules"
             :repositories [{:url  "https://github.com/kit-clj/modules.git"
                             :tag  "master"
                             :name "kit-modules"}]}}

kit.git-config.edn
{:name       ""
 :passphrase ""
 :options    {"StrictHostKeyChecking" "no"
              "UserKnownHostsFile"    "/dev/null"}
 :exclusive  true}

@FongHou that works for me too, and I didn't need to blank out my ssh key name or passphrase in kit.git-config.edn.
And it looks like https is the default now instead.

I'm afraid I'm having this issue and none of the proposed changes make any difference. Whether the key is generated as a PEM or not, I get
failed to clone module: https://github.com/kit-clj/modules.git
cause: git@github.com:kit-clj/modules.git: Couldn't find any key file(s), tried: ~/.ssh/id_rsa in /Users/tragiclifestories/.ssh

Also, despite the fact that the modules URL is a https url in the config file, something or other is rewriting it as an SSH url (as you can see from the error).
Is there a way I can just clone this in the right place manually with git to unblock myself?

I finally got a workaround going - set the contents of the git credentials file to {}:
echo '{}' > kit.git-config.edn

This obviously doesn't help in the case where one actually does have a private repo full of kit modules, of course. But I expect setting HTTPS user/pass credentials in that file will work, since clj-jgit certainly has support for that. Not sure what the format would be though.
If I get a moment I'll take a closer look at what exactly is failing to load my private key and why ...
PS: I also wonder if a more appropriate default credential here would be {}. I deleted the credentials file to try and get kit not to authenticate, and that feels like a more logical expectation. But maybe that's just me.

fonghou's advice seems to work.
getting a similar error when executing sync-modules;
user=> (kit/sync-modules)
failed to clone module: https://github.com/kit-clj/modules.git
cause: git@github.com:kit-clj/modules.git: Couldn't find any key file(s), tried: ~/.ssh/id_rsa in /Users/yonomellamojavier/.ssh
org.eclipse.jgit.api.errors.TransportException: git@github.com:kit-clj/modules.git: Couldn't find any key file(s), tried: ~/.ssh/id_rsa in /Users/yonomellamojavier/.ssh

leaving the name in kit.git-config.edn does the trick;
{:name       ""
 :passphrase ""
 :options    {"StrictHostKeyChecking" "no"
              "UserKnownHostsFile"    "/dev/null"}
 :exclusive  true}

Might make sense to add that to the template then.


Connection problem

Trying to read the sensor with the example code but getting 'Connection problem', how should one debug? Getting a fan spin on the sensor and serial is enable on the RPi connected to it.

Hi @realies ,
That's an interesting issue. It means that a data frame was received, but either:

the length is incorrect
the checksum is incorrect

Do you get it just once, or every time you're trying to call .read()?
Could you tell me what's your hardware & software setup? (i.e. which Raspberry Pi and which version of Raspbian). I know that some versions had different UART device name (e.g. /dev/ttyAMA0)


Exception "Instancing is not supported" on platform that doesn't support GPU draw call instancing

Describe the bug
If you enable the visual profiler, an InvalidOperationException: "Instancing is not supported" could occur in MixedRealityToolkitVisualProfiler.cs line 384, if the platform doesn't support GPU draw call instancing. The method Graphics.DrawMeshInstanced() throws this exception.
To reproduce
WebGL 1.0 doesn't support it for example.

Change your Unity platform to WebGL
Edit -> Graphics emulation -> "WebGL 1.0"
Play in editor and you will get the exception at each frame

You can also compile for WebGL and execute it in a browser that only support WebGL 1.0.
Expected behavior
A clear and concise description of what you expected to happen.
Setup

Unity Version 2019.4.2f1
MRTK Version 2.4

Target platform

WebGL 1.0

Additional context
In MixedRealityToolkitVisualProfiler.cs, you already bypass Graphics.DrawMeshInstanced() if defaultInstancedMaterial  == null, you coud just add the condition SystemInfo.supportsInstancing :
if (defaultInstancedMaterial != null && SystemInfo.supportsInstancing)
{
  frameInfoPropertyBlock.SetMatrix(parentMatrixID, parentLocalToWorldMatrix);
  Graphics.DrawMeshInstanced(quadMesh, 0, defaultInstancedMaterial, frameInfoMatrices, frameInfoMatrices.Length, frameInfoPropertyBlock, UnityEngine.Rendering.ShadowCastingMode.Off, false);
}
else
{
...
}

Fixed in 2.5 via https://github.com/microsoft/MixedRealityToolkit-Unity/pull/8613


Routes settings

Routes structure of the entire project

 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.

Thanks for the contribution


s/e/p not works for x.com on discord

It seems to be it works for twitter.com but not for x.com.
(It failed converting domain if it x.com)
Works: https://twitter.com/username/status/xxxx
Not Works: https://x.com/username/status/xxxx

This is because the find-and-replace only works to convert twitter -> twittpr. It won't work for x.com URLs.

then....you should state that to readme.md then everyone be happy.

It already said it did with Twitter links, as in, not with X.com links. It stated previously that your URL would become twittpr.com, which could never happen with any other domain. Either way, I changed the language to say twitter.com links to add clarity.

Thank you, that's much clear and understandable.


SKU-1028 # BUG: Sub-totals & Grand totals doesn't appear in downloade…

…d excel report. FIX: Add ExcelWorksheetBuilder  sub total and grand total implementation

Thanks!


Stashes list doesn't refresh on deletion

When I delete a stash it does that successfully but if I delete another one I get the error
Unable to delete stash. See output channel for more details

And in the GitLens output
[2020-11-25 17:51:56:758] Drop Stash
Error: Unable to delete stash; mismatch with stash number

Only when I click refresh on the stashes tab deleting a stash will work again

Hrm, I'm not experiencing this issue. So my guess is this has to do with an issue with file watching. Does this happen all the time? What OS are you on and VS Code version? Also is there anything special about your repo? Do other GitLens views auto-refresh properly? Does the VS Code SCM view update properly?

Also it might help to get logs. Please enable output channel logging by setting "gitlens.outputLevel": "debug" in your settings. This will enable logging to the GitLens channel in the Output pane. Once enabled, please reproduce the issue and attach the log from the GitLens channel.

OS: Linux x64 5.9.10-1-MANJARO
VSCode Version: 1.51.1
I don't think any gitlens view is being refreshed or changed when I do anything without refreshing the view myself (or going to any other tab then back to SC tab).
Having you mentioned if anything is special with the repo itself. I have the idea that it maybe because I have the repo opened in a code workspace with the repo root being one folder and children as other folders (children are normal folders not git repos).
I made a dummy repo with the .code-workspace file to be opened and reproduce the issue.
https://github.com/Ahmeed2m/gitlens-issue/

The delete logs are also in that repo  https://github.com/Ahmeed2m/gitlens-issue/blob/master/log

@Ahmeed2m Thank you so much for the test repo -- that helped a ton!
Can you please verify this fix in the latest insiders version?
You can install the insiders version from here.

Thank you @eamodio for the fix, I've used the insiders version all day yesterday and so far it seems to be working great in my workspace.


User Statistics Implementation

user statistical area is empty no data about statistics which aren't available given below

Subscribers
Views
Hearts
Support
Req/Res => complete, pending, cancelled

This issue is because i didn't linked statistics model with accounts model so accounts model is unable to access statistical data against some user 😂


Native Module can not be null  in ios

After installing the package and using the provider in the App.js i get Native Module can not be null ,
my package.json looks like this
[{
"name": "react-native-starter",
"version": "2.0.0",
"private": false,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"test:update": "jest -u",
"test:coverage": "jest --coverage",
"run:ios": "react-native run-ios",
"run:android": "react-native run-android",
"lint": "./node_modules/eslint/bin/eslint.js src",
"lint:fix": "./node_modules/eslint/bin/eslint.js src --fix",
"flow": "./node_modules/flow-bin/cli.js",
"e2e:build": "detox build --configuration ios.sim.debug",
"e2e:test": "detox test --configuration ios.sim.debug",
"postinstall": "patch-package"
},
"optionalDependencies": {
"fsevents": ""
},
"dependencies": {
"@react-native-community/datetimepicker": "^2.1.0",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-firebase/analytics": "^6.2.0",
"@react-native-firebase/app": "^6.2.0",
"@stripe/stripe-react-native": "^0.1.4",
"detox": "16.9.2",
"event-emitter": "^0.3.5",
"i18n-js": "^3.2.1",
"immutability-helper": "^3.0.1",
"jwt-decode": "^2.2.0",
"lodash": "^4.17.13",
"moment": "^2.24.0",
"patch-package": "^6.2.2",
"react": "16.8.3",
"react-native": "^0.59.9",
"react-native-calendars": "^1.22.0",
"react-native-dialog": "^5.6.0",
"react-native-geo-fencing": "^0.1.0",
"react-native-geocoding": "^0.4.0",
"react-native-gesture-handler": "1.0.17",
"react-native-gifted-chat": "^0.7.2",
"react-native-google-places": "^3.1.2",
"react-native-google-recaptcha-v2": "^1.0.4",
"react-native-iphone-x-helper": "^1.2.1",
"react-native-lightbox": "^0.8.0",
"react-native-linear-gradient": "^2.5.3",
"react-native-localize": "^1.0.4",
"react-native-maps": "0.25.0",
"react-native-modal": "^9.0.0",
"react-native-modal-datetime-picker": "^8.0.3",
"react-native-modal-dropdown": "^0.6.2",
"react-native-paper": "^2.12.0",
"react-native-range-slider": "^0.1.2",
"react-native-reanimated": "1.13.0",
"react-native-safe-area-context": "^3.1.9",
"react-native-safe-area-view": "^1.1.1",
"react-native-screens": "^2.0.0-alpha.7",
"react-native-snap-carousel": "^3.8.0",
"react-native-ui-lib": "^3.18.0",
"react-native-vector-icons": "6.3.0",
"react-native-webview": "^7.5.0",
"react-navigation": "^4.0.10",
"react-navigation-drawer": "^2.3.3",
"react-navigation-header-buttons": "^2.1.2",
"react-navigation-material-bottom-tabs": "^1.0.0",
"react-navigation-stack": "^1.10.3",
"react-navigation-tabs": "2.10.1",
"react-redux": "^6.0.1",
"recompose": "^0.30.0",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-promise": "^0.6.0",
"redux-thunk": "^2.3.0",
"rn-range-slider": "^1.2.8",
"standard-http-error": "^2.0.1",
"victory-native": "^31.0.0"
},
"devDependencies": {
"@babel/core": "^7.14.2",
"@babel/preset-flow": "^7.13.13",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"danger": "^7.0.2",
"detox": "12.9.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"eslint": "^5.9.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.6.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.92.0",
"jest": "^24.5.0",
"jsdom": "13.0.0",
"jsdom-global": "3.0.2",
"metro-react-native-babel-preset": "^0.53.1",
"plop": "^2.2.0",
"prettier": "^1.16.1",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.6.3",
"react-test-renderer": "16.8.3",
"sinon": "^7.1.1"
},
"jest": {
"preset": "react-native",
"transform": {
"^.+\.js$": "/node_modules/react-native/jest/preprocessor.js"
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/.{js,jsx}",
"!/node_modules/",
"!android/",
"!ios/",
"!assets/**"
],
"coverageDirectory": "jest_coverage",
"setupFiles": [
"./jest-setup.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/e2e/"
]
},
"rnpm": {
"assets": [
"./assets/fonts/"
]
},
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/ReactNativeStarter.app",
"build": "xcodebuild -UseModernBuildSystem=NO -project ios/ReactNativeStarter.xcodeproj -scheme ReactNativeStarter -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone XS"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/ReactNativeStarter.app",
"build": "xcodebuild -UseModernBuildSystem=NO -project ios/ReactNativeStarter.xcodeproj -scheme ReactNativeStarter -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 7"
}
},
"test-runner": "jest"
}
}
and my app.js looks like this
import { Provider } from 'react-redux';
import React from 'react';
import { View, ActivityIndicator, StyleSheet } from 'react-native';
import { PersistGate } from 'redux-persist/integration/react';
import { colors } from './src/styles';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import SafeAreaView from 'react-native-safe-area-view';
import { store, persistor } from './src/redux/store';
import AppView from './src/modules/AppViewContainer';
import { StripeProvider } from '@stripe/stripe-react-native';
export default function App() {
return (

<PersistGate
loading={
// eslint-disable-next-line react/jsx-wrap-multilines

}
persistor={persistor}
>

<StripeProvider
publishableKey="pk_test_XMgHs52h4JAHwF8vYVnnQDvR"
// merchantIdentifier="merchant.com.JasonsApp"
>

);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'white',
},
safeAreaView:{
flex: 1,
backgroundColor: colors.primary,
}
});
and my podfile looks like
Uncomment the next line to define a global platform for your project
platform :ios, '11.0'
target 'ReactNativeStarter' do
Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
rn_path = '../node_modules/react-native'
rn_maps_path = '../node_modules/react-native-maps'
Pods for ReactNativeStarter
pod 'Firebase/Core'
pod 'React', path: rn_path, subspecs: [
'Core',
'CxxBridge',
'DevSupport',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket',
'RCTPushNotification'
]
React Native third party dependencies podspecs
pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
pod 'DoubleConversion', :podspec => "#{rn_path}/third-party-podspecs/DoubleConversion.podspec"
pod 'Folly', :podspec => "#{rn_path}/third-party-podspecs/Folly.podspec"
pod 'glog', :podspec => "#{rn_path}/third-party-podspecs/glog.podspec"
If you are using React Native <0.54, you will get the following error:
"The name of the given podspec GLog doesn't match the expected one glog"
Use the following line instead:
#pod 'GLog', :podspec => "#{rn_path}/third-party-podspecs/GLog.podspec"
react-native-maps dependencies
pod 'react-native-maps', path: rn_maps_path
pod 'react-native-google-maps', path: rn_maps_path  # Unomment this line if you want to support GoogleMaps on iOS
pod 'GoogleMaps'  # Uncomment this line if you want to support GoogleMaps on iOS
pod 'Google-Maps-iOS-Utils' # Uncomment this line if you want to support GoogleMaps on iOS
pod 'react-native-geo-fencing', path: '../node_modules/react-native-geo-fencing'
pod 'react-native-google-places', :path => '../node_modules/react-native-google-places'
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
for DateTimePicker
pod 'RNDateTimePicker', :path =><EMAIL_ADDRESS>Pods for ReactNativeStarter
pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
pod 'react-native-webview', :path => '../node_modules/react-native-webview'
pod 'RNFBAnalytics', :path => '../node_modules/@react-native-firebase/analytics'
pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'
pod 'Firebase/Analytics'
pod 'react-native-geolocation', :path => '../node_modules/@react-native-community/geolocation'
pod 'react-native-safe-area-context', :path => '../node_modules/react-native-safe-area-context'
pod 'RNScreens', :path => '../node_modules/react-native-screens'
pod 'RNRangeSlider', :path => '../node_modules/rn-range-slider'
pod 'react-native-stripe', path: '../node_modules/@stripe/stripe-react-native'
target 'ReactNativeStarterTests' do
inherit! :search_paths
# Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# The following is needed to ensure the "archive" step works in XCode.
# It removes React & Yoga from the Pods project, as it is already included in the main project.
# Without this, you'd see errors when you archive like:
# "Multiple commands produce ... libReact.a"
# "Multiple commands produce ... libyoga.a"
targets_to_ignore = %w(React yoga)

if targets_to_ignore.include? target.name
  target.remove_from_project
end

if target.name == 'react-native-google-maps'
  target.build_configurations.each do |config|
    config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
  end
end
if target.name == "React"
  target.remove_from_project
end

end
react_project = Xcodeproj::Project.open("../node_modules/react-native/React/React.xcodeproj")
react_project.main_group["React/Views"].files.each do |file|
if file.path.match(/^RCTWebView/)
file.remove_from_project
end
end
react_project.save
end
target 'ReactNativeStarter-tvOS' do
Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
Pods for ReactNativeStarter-tvOS
target 'ReactNativeStarter-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
how can i resolve this issue any help would be great
](url)

Can you please update to a newer version of React Native and see if that resolves it?

Okay i will try this

I have the same issue as well

#241 helped me just now. Just open the Xcodeproject file with VSCode and search for LIBRARY_SEARCH_PATHS...
Then remove $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) and $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
Save and run your build.
The issue is that the READ ME for this library did not tell us to open the xcodeproject file with another text editor.
Well this was what got my problem solved a few seconds ago.
Cheers! 💰🥳

there is no such paths exists in the xcodeproject file

I am having the same issue and only on my standalone app. I use expo and everything works fine, after I run expo build: ios, and download the app through testflight or my simulator, it crashes when I try to launch it with the following error:
Terminating app due to uncaught exception 'ExpoFatalError', reason: 'Expo encountered a fatal error: Unhandled JS Exception: Invariant Violation: Native module cannot be null.'

Any help is appreciated!

I am having the same issue and only on my standalone app. I use expo management flow and everything works fine, after I run expo build: ios, and download the app through testflight or my simulator, it crashes when I try to launch it with the following error:
Terminating app due to uncaught exception 'ExpoFatalError', reason: 'Expo encountered a fatal error: Unhandled JS Exception: Invariant Violation: Native module cannot be null.'

I notice that I have to run pod install in ios folder, but the issue is, I am using expo management flow, which does not provide ios / android folder. I wonder if my only way is to eject? Or there are other ways to handle expo management flow with react native stripe?
Any help is appreciated!

After some trial with expo run:ios, kinda ejected from expo, I got rid of the error.

I am having the same issue and only on my standalone app. I use expo management flow and everything works fine, after I run expo build: ios, and download the app through testflight or my simulator, it crashes when I try to launch it with the following error:
Terminating app due to uncaught exception 'ExpoFatalError', reason: 'Expo encountered a fatal error: Unhandled JS Exception: Invariant Violation: Native module cannot be null.'

I notice that I have to run pod install in ios folder, but the issue is, I am using expo management flow, which does not provide ios / android folder. I wonder if my only way is to eject? Or there are other ways to handle expo management flow with react native stripe?
I am currently trying to use expo run:ios to see if I can modify ios folder. https://docs.expo.io/workflow/customizing/
Any help is appreciated!

@Avinashjain881 Have you tried to update RN version? Are you still facing this issue?

Closing due to inactivity.

@Avinashjain881 Have you tried to update RN version? Are you still facing this issue?

Yes after updating the RN version it worked.


Fix 'npm run cli' bug

before it was throwing an error
now it prints help and then exits with code 1

I'm so confused. Why does the imported yargs object have the same state as the one I modified in the CLI controller module? How does it now what message to print?
I've confirmed this works. I'm not sure why, but we don't have the time. Mergy mergy.


Add mini.css

I added my own Sass framework, mini.css to the list under frameworks.

Looks cool! Thank you 🎉


🌱Update owners

Remove alexander-demichev from owners

What this PR does / why we need it:
Remove @alexander-demichev from owners
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/approve
/lgtm
/sad


regenerate Thrift generated code using Thrift <IP_ADDRESS>

<IP_ADDRESS> is the latest release on the 0.9 series, and is reasonably straightforward to install.
Regenerating the code now will make it easier to develop further potential extensions to the cassandra-thrift API.
We may consider again regenerating this code using a more recent version of the Thrift compiler, as we are currently using libthrift-0.17.0

Closing in favor of https://github.com/palantir/cassandra/pull/577


Stuck

My bot has stopped catching pokemon and now just shows this

and claims that its walking forever
El Cap Mac OSX

i think softban. restart and if its there, come again.
@v4c

Ok Thanks, you were probably right it stopped oing it after a while

But normally it catches the softban

@NightScap3 Yeah it started again, you might be right about the softban, but normally it auto fixes that

its also stucking with fix autoban and i restart it 💯  and it works 😆


sample + fromPromise depends on order

It looks like the order of streams passed to sample matters if one or more of them are promises. In the second case forEach is never called.
Example:
  describe('most.js/sample-test', () => {
    it('works', (done) => {
      const stream = most.just(1);
      const promise = Promise.resolve(2);
      const sample = most.just(3);

      stream
        .sample((...args) => args, most.fromPromise(promise), sample)
        .forEach(value => assert.ok(value));
    });

    it('does not work', (done) => {
      const stream = most.just(1);
      const promise = Promise.resolve(2);
      const sample = most.just(3);

      stream
        .sample((...args) => args, sample, most.fromPromise(promise)) // order has changed here
        .forEach(value => assert.ok(value));
    });
  })

Is this supposed to work like that? I’ve tried it with multiple promises as well. It only works if all promises come first. As soon as one stream comes before one of the promises the stream never emits a value like above.

I’ve created a requirebin example, so that you can reproduce it.

That certainly is interesting, @maxhoffmann :)  Whenever there are multiple asynchronous mechanisms in play, things can get hairy.  My intuition is that in one case the sampler is ending before the promise fulfillment (or at least before the event that is triggered as a result of the promise's fulfillment arrives), and in the other case, it isn't.  What's not clear is why such a subtle change makes a difference!
Thanks for the requirebin.  I'll take a deeper look soon.

I've found the issue.  It is in the interaction between two asynchronous systems: Promises, which have their own internal scheduling mechanism, and most's Scheduler.  I won't get into details just yet (although it's pretty interesting, imho), but I'm prototyping a solution that looks, well, promising :) and could end up being an overall improvement to sample().

Also interesting is that I believe the "bug" here is exactly what @maxhoffmann said: that the two argument orderings behave differently.  IOW, if the two orderings both resulted in an empty stream (as it does currently with the promise second), I'm not sure I'd classify that as a bug, since promises force all callers to wait for the promise scheduling machinery.  It'd be reasonable just to say that Promise.resolve(x) simply "happens after" just(y) in all cases.  Or, iow, we'd just say that the just sampler always ends before Promise.resolve fires.
But since the two orderings do behave differently (and that's entirely unintuitive!), we need to make them behave the same.

I agree, the order of argument types resulting in different behaviours is easy to get wrong and unintuitive. Sounds like you are working on an interesting solution to this problem. Looking forward to see it!
Thanks for taking the time!

@maxhoffmann I just pushed the simplify-from-promise branch.  Any chance you can give it a shot in a real use case?  It seems to solve the issue in the simple requirebin example (which was immensely helpful, thank you!), but I want to make sure it addresses your situation.
In that branch, all four of these behave identically:
// Given:
var stream = most.just(1);
var promise = Promise.resolve(2);
var sampledStream = most.just(3);

// These are all empty.  IOW, promise parameter order doesn't matter.
stream.sample(Array, most.fromPromise(promise), sampledStream)
stream.sample(Array, sampledStream, most.fromPromise(promise))
stream.sample(Array, sampledStream, most.of(promise).await())
stream.sample(Array, most.of(promise).await(), sampledStream)

Interestingly, we had to make a decision about which "happens" first, just(123) or Promise.resolve(123).  We decided that just "happens before" Promise.resolve, at least from most's perspective.  The implication is that using just(x) to sample basically anything other than another just will always be empty.

@briancavalier Thanks Brian!
Quick feedback: I’ve run the branch against our tests and the one that was failing because of argument order is failing again. (It works with master as I moved the promise to the start) Order doesn’t seem to make a difference anymore. It fails either way.
I’ll try to reproduce a minimal test case.

Maybe I didn’t understand your last comment. The streams being empty means they’ll never emit an event?
This is a minimal test case I’d expect to work:
describe('most/sample-with-promise', () => {
  it('should emit an event with promise first', (done) => {
    const stream = most.just(1);
    const sampledStream = most.just(2);
    const promise = Promise.resolve(3);

    stream
      .sample(Array, most.fromPromise(promise), sampledStream)
      .forEach(actual => {
        assert.ok(actual);
        done();
      })
      .catch(done);
  });

  it('should emit an event with stream first', (done) => {
    const stream = most.just(1);
    const sampledStream = most.just(2);
    const promise = Promise.resolve(3);

    stream
      .sample(Array, sampledStream, most.fromPromise(promise))
      .forEach(actual => {
        assert.ok(actual);
        done();
      })
      .catch(done);
  });
});

The first one works with master. Using simplify-from-promise breaks both tests.

@briancavalier Actually I think I’ve used promises for a wrong reason and if both tests fail it’s fine for me.
My basic problem was that I needed to get a value from an already ended stream inside of flatMap. I tried using a promise to do this, but it’s better to get the value via combine first and then have it in the closure inside of flatMap.
At least I found an inconsistent behaviour this way. ;)

if both tests fail it’s fine for me

Ok, cool.  I think this turns out to be the most logical, consistent result.

it’s better to get the value via combine first and then have it in the closure inside of flatMap

Ah, I see.  It's usually better to accumulate the values you will need later, letting those flow through a stream, rather than later trying to reach back into the past.  It sounds like you got to a good solution :+1:

At least I found an inconsistent behaviour this way

Yes!  I really appreciate it!
I want to do a little more investigation to understand why the change in the simplify-from-promise works.  I'm not convinced it's the best solution, even though it does appear to have the desired effect!  So, it may be a few days before I can get a patch release out.

Sure, no rush. We don’t use promises anymore so this is not a crucial issue for us.
Thanks for your help!

I managed to write down why the two argument orderings behaved differently, and also why the change in the branch causes them to have the same behavior.  This is really down in the weeds, but I figured it might be interesting.  It also never hurts to record it somewhere for posterity :)
https://gist.github.com/briancavalier/a27ddc247dd118ae5508

Thanks for the gist! Was an interesting read and I think this is the way to go. Do you plan to merge this soon? Just wondering when I should close this issue. :)

Thanks for the nudge :)  Merged, and will do a release later today.

Ok, released 0.18.3

Thanks :)


Don't require Bundler if it's not available

I didn't go so far as to remove the require altogether but this fixes
usage of heapy from gem install in an environment with no Gemfile.
Fixes #19

Thanks! You’re on a roll!

@schneems I'm dumping heaps like nobody's business. 🚚💩


Handle NUMERIC type with a custom Number - fixes #70

I've addressed the feedback from the PR and simplified the internal of Numeric by just wrapping a non null Number

please review again :-)

ping @gunnarmorling @EmadAlblueshi

@EmadAlblueshi is that fine for merging ?


Sign in to Azure is stuck

Issue Type: Bug
When I want to connect my Azure AD account, I am stuck after I enter my credentials and login on Azure Login page and I don't get a successful callback to Azure Data Studio.
Azure Data Studio version: azuredatastudio 1.32.0 (4a45ba7cf20dd4129f1a08e5e776dfb33e3d1d1e, 2021-08-16T18:08:28.086Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.75GB (2.99GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

schema-compare
Mic
1.11.0

sql-database-projects
Mic
0.12.0

I have the same Issue at 2 Terminal Servers (Windows Server 2019).  At the moment I have no Idea why. Because I have a lot of other Servers there this problem is not exist. I have try reinstall the Application but that not change anything.

Here some more input from my side:
After login to Azure in the Browser:

I get a loop.
Than I open the calback link in the Developer Tools.

The site load in a loop for some minutes.
Than the Connection get close.

And in the Application I can see that error.

And this in the log.

@cssuh @kburtram
Any update on this?
This has been in the backlog for a year.

Hi @preethamrajk, we are working on this now, and plan to have it in our October release.

Still having the same issue @cssuh.
Don't think this has been fixed in the latest release from yesterday.
Version: 1.40.0 (system setup)
Commit: 3fbaa3de931ef433090fe3deb8c89cba99d7952b
Date: 2022-11-11T22:47:05.361Z
VS Code: 1.67.0
Electron: 17.4.11
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Hi @preethamrajk, can you please share the error you're seeing?

Adding logs from
.....\azuredatastudio\logs\20221117T105753\exthost1\output_logging_20221117T105758
[Verbose]: Starting login - []
[Verbose]: Fetching token - []
[Error]: Login failed - []
[Error]: Error: socket hang up - []

@preethamrajk Can you also please share your proxy settings?

Here it is
C:\WINDOWS\system32>SET | findstr "PROXY"
HTTPS_PROXY=http://<IP_ADDRESS>:9000
HTTP_PROXY=http://<IP_ADDRESS>:9000
NO_PROXY=localhost,<IP_ADDRESS>/8,*****.com.au,*****.net.au,*.australiaeast.azmk8s.io,*.australiasoutheast.azmk8s.io, login.docker.com

You also need to whitelist the following URLs:
https://management.azure.com
https://login.microsoftonline.com
you may need to whitelist additional URLs but this can sometimes vary on a case-by-case basis - in order to verify you aren’t blocking any URLs from going through, go to Help > Toggle Developer Tools and select the Network tab.  Here you will see any URLs that are getting blocked that you may need to whitelist to successfully add your account.

Hi @cssuh
Those URLs are already whitelisted by the Network guys. As you can imagine, the whole corp network would be crippled without access to these URLs.. 😃


Remove unnecessary role="img"

Note: Please transform - [ ] into - (NA) in the description when things are not applicable
Related issues

#2667
Description

Remove unnecessary role="img" on aria-hidden SVGs or <img>
Motivation & Context

This issue has been seen while fixing a11y audit:

aria-hidden images should not have a role
tags <img> are used for images only and should not have a role="img"

Types of change

Bug fix (non-breaking which fixes an issue)

Live previews

https://deploy-preview-2704--boosted.netlify.app/docs/about/brand/
https://deploy-preview-2704--boosted.netlify.app/docs/components/scrollspy/
https://deploy-preview-2704--boosted.netlify.app/docs/customize/color-palette/
https://deploy-preview-2704--boosted.netlify.app/docs/dark-mode/
https://deploy-preview-2704--boosted.netlify.app/docs/examples/download-app/

This branch has conflicts that must be resolved after the recent merges in the main branch

Apparently, thanks to your PR, we can remove one rule from vnu-jar.mjs → https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/2704/files#diff-4ccadc344c026b116648a6acac72d1d643ec8508cc92d477371734a13c0e7e80


Where are the videos?

Hi, sorry to have to make an issue but I’ve looked in the documentation and on the website and can’t find any links to the mentioned videos. Could someone help me please?

Hi @BaileyJM02, this repo is the source code for a video course that will be published by Packt Publishing. Unfortunately there have been some delays on the editing of the videos, so the course is not yet available. I will keep you updated once the course is online.

Is there a current ETA?

There have been some issues with editing that are beyond my control, but I'm thinking that it should probably be published by the beginnings of May. Best regards, and thank you for your interest.

https://www.packtpub.com/product/hands-on-microservices-with-go-video/9781788993999


chore: Upgrade configuration & dependencies

Waiting for https://github.com/komapper/komapper/issues/1296


feat(customProbes): inject custom probes as param for AstAnalyser

fix https://github.com/NodeSecure/js-x-ray/issues/221
Inject custom probes as param for AstAnalyser
const { AstAnalyser, JsSourceParser } = require("@nodesecure/js-x-ray");

const analyser = new AstAnalyser({
  parser: new JsSourceParser(),
  customProbes,
  skipDefaultProbes: true
});

Allow developers to inject new custom probe using the AstAnalyser

Purpose of this PR is to propose a fix/feat for the issue https://github.com/NodeSecure/js-x-ray/issues/221 by modifying the constructor of some of the relevant class such as (ProbeRunner, ASTAnalyzer, SourceFile) :

[x] code
[x] tests
[x] docs

I tried to keep it as simple as possible without modifying that much what was already done (i haven't change the ProbeRunner instanciation from SourceFile), but I'm open to suggestion.
Don't hesitate to give any feedback/suggestion/proposition to improve this PR
Result after (yes this probe below is perfectible ahah) :
const kIncriminedCodeSample = "const danger = 'danger';";

const customProbes = [
  {
    name: "customProbeUnsafeDanger",
    validateNode: (node, sourceFile) => [true]
    ,
    main: (node, options) => {
      const { sourceFile, data: calleeName } = options;
      if (node.declarations[0].init.value === "danger") {
        sourceFile.addWarning("unsafe-danger", calleeName, node.loc);

        return ProbeSignals.Skip;
      }

      return null;
    }
  }
];

const analyser = new AstAnalyser({
  parser: new JsSourceParser(),
  customProbes,
  skipDefaultProbes: true
});

const result = analyser.analyse(kIncriminedCodeSample);
console.log(result);

➜  js-x-ray git:(fix/221) ✗ node example.js
{
  idsLengthAvg: 0,
  stringScore: 0,
  warnings: [ { kind: 'unsafe-danger', location: [Array], source: 'JS-X-Ray' } ],
  dependencies: Map(0) {},
  isOneLineRequire: false
}

https://github.com/NodeSecure/js-x-ray/blob/master/index.js
We need to add theses new options to runASTAnalysis & runASTAnalysis

I have proposed a quick update of the readme, if you think it needs more details i can try create a dedicated .md file for the customProbe part ? and refer it in the readme briefly  ?

I have proposed a quick update of the readme, if you think it needs more details i can try create a dedicated .md file for the customProbe part ? and refer it in the readme briefly ?

The update is fine 👍 I don't think we need a dedicated doc for the moment

I have proposed a quick update of the readme, if you think it needs more details i can try create a dedicated .md file for the customProbe part ? and refer it in the readme briefly ?

The update is fine 👍 I don't think we need a dedicated doc for the moment

Thanks for the review, I have fix the little typo in the readme in latest commit, lmk if it seems good enough


Change mapping to centos for internal_tf

Using internal_tf for testing in convert2rhel we need to get centos distro instead of rhel one.

please update these two test cases and once @thrix gives us green here, we're good to merge:
FAILED tests/unit/test_testing_farm.py::test_chroot2distro_arch[epel-7-x86_64-rhel-7-x86_64-True]
FAILED tests/unit/test_testing_farm.py::test_chroot2distro_arch[epel-8-x86_64-rhel-8-x86_64-True]

hmm, I am not sure about this, I would rather see epel-8 tested on centos-8 on public TF ? I see this a major benefit that users can test epel-8 builds against RHEL nightlies? Note that for secrets, testing farm now supports passing secret environment variables, or is there some other reason why public TF cannot be used? (where the mapping is like this?)

@thrix, we can't use public TF because for conversions we need access to internal RH network - to access testing/staging RHSM server and to access internal RHEL repo mirrors directly.
There's no CentOS Linux chroot available in Fedora Copr, that's why we're using epel-X chroots.

@bocekm thanks for the explanation. Still, I believe sooner or later somebody will want to test epel-8 against RHEL. Could we make the switch optional via another setting? by default we map to rhel on internal-tf, optionally we can map to CentOS?

...or we could build against centos-stream in Copr and map that to RHEL internally
another possibility is that you'd be able to explicitly specify the mapping in packit's config so you could choose what you want to map and where
I'm personally LGTM on this as a short-term solution and figure out something better for the long-term

The possibility to choose the mapping myself in the upstream repo packit config sounds like most appealing to me. But I'll be fine with any solution that will allow me to run tests on CentOS Linux and having access to the Red Hat internal network.
I symphatize with Tomas' POV that considering you don't have anybody now who'd need the current epel-X to rhel-X mapping, you can temporarily change it per this PR to unblock us and implement a long term solution after that.


adding tests for google provider

Codecov Report

Merging #307 (bed7d02) into master (304d17c) will increase coverage by 0.94%.
The diff coverage is 88.46%.

@@            Coverage Diff             @@
##           master     #307      +/-   ##
==========================================
+ Coverage   84.60%   85.54%   +0.94%
==========================================
  Files          55       56       +1
  Lines        4377     4400      +23
==========================================
+ Hits         3703     3764      +61
+ Misses        674      636      -38

Impacted Files
Coverage Δ

quetz/testing/utils.py
85.00% <85.00%> (ø)

quetz/auth_google.py
80.00% <100.00%> (+22.85%)
:arrow_up:

quetz/testing/fixtures.py
97.01% <100.00%> (-2.23%)
:arrow_down:

quetz/database.py
94.73% <0.00%> (-5.27%)
:arrow_down:

quetz/main.py
88.44% <0.00%> (+0.36%)
:arrow_up:

quetz/dao_google.py
92.15% <0.00%> (+68.62%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 304d17c...bed7d02. Read the comment docs.

Codecov Report

Merging #307 (bed7d02) into master (304d17c) will increase coverage by 0.94%.
The diff coverage is 88.46%.

@@            Coverage Diff             @@
##           master     #307      +/-   ##
==========================================
+ Coverage   84.60%   85.54%   +0.94%
==========================================
  Files          55       56       +1
  Lines        4377     4400      +23
==========================================
+ Hits         3703     3764      +61
+ Misses        674      636      -38

Impacted Files
Coverage Δ

quetz/testing/utils.py
85.00% <85.00%> (ø)

quetz/auth_google.py
80.00% <100.00%> (+22.85%)
:arrow_up:

quetz/testing/fixtures.py
97.01% <100.00%> (-2.23%)
:arrow_down:

quetz/database.py
94.73% <0.00%> (-5.27%)
:arrow_down:

quetz/main.py
88.44% <0.00%> (+0.36%)
:arrow_up:

quetz/dao_google.py
92.15% <0.00%> (+68.62%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 304d17c...bed7d02. Read the comment docs.


[Bug]: Buy airtime transaction status not updated

Description
When I buy airtime for myself using Mpesa, the transaction status doesn't update and remains pending even after the airtime has been topped up.
Steps to reproduce

Open the Stax app

Click buy airtime

Buy and pay with Mpesa

Enter Pin

After the transaction is successful and airtime topped up, check the history tab

Expected result
After the airtime has been topped up, the transaction status should be updated to successful.
Actual result
the transaction status remains in a pending state.
Link to screenshots/screen recordings
https://drive.google.com/file/d/14K1BCbI4idrXnlPv90JLFReAuqKDDDKl/view?usp=sharing
Device name
Nokia 3.2
Android OS
11
Is your phone dual SIM or single SIM?
Dual SIM
Which telco are you using for this test?
Safaricom
Stax device ID or email address
ae3a4fb4d6502412

Related to #733


git help svn should briefly describe propset

git help svn does not mention propset. It does mention proplist and propget. This seems like an oversight.
$ git help svn
...
       proplist
           Lists the properties stored in the Subversion repository about a given file or directory.
           Use -r/--revision to refer to a specific Subversion revision.

       propget
           Gets the Subversion property given as the first argument, for a file. A specific revision
           can be specified with -r/--revision.
...

Interestingly, the generic git svn help does mention propset!
$ git svn
...
  propget          Print the value of a property on a file or directory
                     --revision, -r <num>
  proplist         List all properties of a file or directory
                     --revision, -r <num>
  propset          Set the value of a property on a file or directory - will be set on commit
...

It seems Documentation/git-svn.txt is missing text for propset.

Oops, wrong repository!


Automated Package Upgrade

:tada: This PR is included in version 25.4.43 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cannot hide header in Stack-navigation

I have tried this:
export default StackNavigator({   LoginPage: {      screen: LoginPage,       navigationOptions: {         header: {           visibile: false         },       },    },
I have tried this:
export default class LoginPage extends React.Component { static navigationOptions = {     header: {       visible: false,     }   };
I am also not sure how to implement the headerMode to be none
Also on an un related note I cant seem to use the onpress function for react-navigation in a component that I import to a different file. I import a form, to a scene I created. It looks like this:
THIS below is exported from CreateAccForm.js to CreateAcc
                    <Text style={styles.buttonText}>
                        LOGIN
                    </Text>
                </TouchableOpacity>  ```

This is the `CreateAcc.js`:

```<KeyboardAvoidingView behavior='padding' style={styles.container}>
              <CreateAccForm/>
              <View style={styles.accountLogin}>
                    <TouchableOpacity onPress={() => this.props.navigation.navigate('Forgot')}>
                        <Text style={{opacity: 0.9,color:'#34B3E4'}}>Forgot your password? </Text>
                    </TouchableOpacity>
                </View>
            </KeyboardAvoidingView>```

That touchableopacity text doesnt work just gives me an undefined obj

How'd you fix?

This is my Router.js the magic that does the trick is
{      headerMode: 'screen'
  LoginPage: {
    screen: LoginPage,
    navigationOptions: {
      header: { visible:false },
    },
   },
  Create: {
    screen: CreateAcc,
     navigationOptions: {
       title: 'Mentor',
       header:{
       titleStyle: { color: '#0077B5' }
       }
     }
   },
   Profile: {
     screen: Profile,
      title: 'Profile',
      header:{
       titleStyle: { color: '#0077B5' },
       },
   },
  Log:  {
    screen: Login,
    navigationOptions: {
       title: 'Mentor',
       header:{
       titleStyle: { color: '#0077B5' }
       }
     }
  },
  Forgot: {
     screen: ForgotPass,
     navigationOptions: {
       title: 'Mentor',
       header:{
       titleStyle: { color: '#0077B5' }
       }
     }
   },
   Feed: {
     screen: Feed,
     navigationOptions: {
       title: 'Mentor',
       header:{
       titleStyle: { color: '#0077B5' }
       }
     }
   },
   Settings: {
     screen: Settings,
      navigationOptions: {
        title: 'Mentor',
        header:{
       titleStyle: { color: '#0077B5' }
       }
      }
   },
  },
  {
    headerMode: 'screen'

  });```

Thanks for the update @Domthegrom  . For some reason, this code :
    export const Navigation = StackNavigator({
      Home: { screen: Purgatory },
      Start: {
        screen: GameStart,
        navigationOptions: {
          header: { visible:false },
        },
      }
    }, {
      navigationOptions: {
        headerMode: 'screen',
      }
    });

Returns this ..

Looks like there is an error in your render method of your start.js file or home.js. May I see the code for both of them? Check to see if your View isn't closed.

@Domthegrom Thanks for the reply.
I realized because I was on Beta6, it should now be written like this
          header: null,

So this prevents the error from showing, but alas.. the header still remains. It doesn't seem to respond to any props I add though, tintColor styles. It seems to ignore everything.

hmm, try removing the `headerMode: 'screen''.  @gotoAndBliss

@gotoAndBliss It helped me, thanks!

@Domthegrom about your TouchableOpacity. The reason why it is not working is that the function that you passed to onPress is not bound to the class in which TouchableOpacity exists. So to fixed that, you could define the function in the class and call it in the TouchableOpacity by binding the 'this' keyword to it.
eg. renderButton( ) { this.props.navigation.navigate('forgot') }
Then in the onPress of the TouchableOpacity:
onPress={ this.renderButton.bind(this) }
I hope it solves your problem and those of others.

I want to toggle header and I use following :
    header: (navigation.state.params.shouldIHide ? null : undefined)

Is it dependable?


javadoc needs example code

Here:
https://www.boost.org/doc/libs/develop/libs/beast/doc/html/beast/ref/boost__beast__async_base.html

Given that there's example code now, I assume this is resolved?


Unhandled 'error' event

I get this error when running gulp
$ gulp
[11:55:50] Using gulpfile /var/www/html/crepido/gulpfile.js
[11:55:50] Starting 'sass'...
[11:55:50] Starting 'js'...
[11:55:50] Starting 'static'...
[11:55:50] Starting 'build'...
[11:55:50] Finished 'build' after 1.17 ms
[11:55:50] Starting 'webserver'...
[11:55:50] Webserver started at http://localhost:8000
[11:55:50] Finished 'webserver' after 5.96 ms
[11:55:50] Starting 'watch'...
[11:55:50] Finished 'watch' after 11 ms
[11:55:50] Finished 'static' after 26 ms
events.js:112
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE <IP_ADDRESS>:8000
    at Server.setupListenHandle [as _listen2] (net.js:1361:14)
    at listenInCluster (net.js:1402:12)
    at GetAddrInfoReqWrap.doListen [as callback] (net.js:1517:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:72:10)

Here is package.json:
{
  "name": "Crepido",
  "version": "1.0.0",
  "description": "Create (kanban) boards to track users and projects from flat markdown files.",
  "main": "index.js",
  "private": true,
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [
    "tracker",
    "tasklist",
    "projects"
  ],
  "author": "Arshad Chummun<EMAIL_ADDRESS>(http://arshad.io/)",
  "repository": {
    "type": "git",
    "url": "arshad/crepido"
  },
  "license": "MIT",
  "dependencies": {
    "gulp": "~3.9.1",
    "gulp-data": "~1.3.1",
    "marked": "~0.3.17",
    "front-matter": "~2.3.0",
    "gulp-swig": "~0.8.0",
    "gulp-webserver": "~0.9.0",
    "gulp-sass": "~3.1.0",
    "gulp-concat": "~2.6.1",
    "gulp-uglify": "~3.0.0",
    "gulp-gh-pages": "~0.5.1"
  }
}

It seems your port 8000 is in use, try changing the port in gulpfile.js like so:
gulp.task('webserver', function() {
  gulp.src('public')
    .pipe(webserver({
      livereload: true,
      open: true,
      port: 8921
    }));
});

This error
Error: listen EADDRINUSE <IP_ADDRESS>:8000

means you had another process running on port 8000 when trying this out.


[Bug] Links broken

Please follow the general issue steps first:

[x] Bug
[ ] Enhancement
[ ] Feature Request

Bug reports:
The links on the Start the workshop page go to S3 access denied pages.

Fixed in c12073f8d77d7394348bf932cf9d9ed8ea3f031c, but seems not published.


Update ServerChannel class

Change names to same as in Guilded API.
Add models to corresponding methods.
Add missing fields.

We truly appreciate the time and effort you've invested in adding the requested features. Since we have already implemented these changes independently, we will be closing the pull request. Nevertheless, we value your effort and encourage you to continue contributing to the project in the future. Thank you for your participation!


New maintenance model: Distributed ownership

@msalzburg @mherold @nancy-cai @NikoRoberts
As of today PermanentRecords supports Rails v5 (Thanks to @msalzburg and @nancy-cai!)
All four of you have made contributions in the last year and you are all now (if you weren't before) maintainers of this gem. I encourage you to make contributions as you see fit and merge when you see fit (hopefully with review from someone else, but that's not a hard requirement).
I've configured GitHub actions to auto-deploy the gem to Rubygems according to whatever is inside the VERSION file. When you merge a PR that changes that file, a new version will be deployed.
I want to personally thank you for your contributions, both the large ones and the small ones. Little projects and little communities like this are what make open source so wonderful.

@JackDanger thanks a lot for the invite and the warm welcome!
Hi everybody!

Thanks @JackDanger
Nancy and I work at Airtasker which uses the gem. So firstly thank you for creating it. And secondly we hope we can continue to contribute.


How to use the command line to get the same information (cell number) displayed in the GUI

First of all, thank you very much for maintaining cellpose, it helps me to get things done quickly.This is a great job.
In my work I ran into a problem: how to get the same information (cell number) that I get after batch processing the pictures using the command line and get a single photo after segmenting it in the GUI.
Although the segmentation effect I get with the command line is the same as the GUI version, I have tried many methods with imageJ and can't get the same number of cells as the GUI version shows.
Here is what shows in the GUI.

This is the mask picture I got with the command line when batch processing, and the count result I got from imageJ (I have used many segmentation methods and can't match the GUI display).

Or is there any way to print the cell count information when batch processing images ?

hmm this is a very common request. what if there is an option to make a txt file in the --dir that outputs two columns: the name of each file and the number of ROIs?
regarding imageJ import, are you using the --save_outlines option?

I'd also be interested in this feature, were it to be added. We're hoping to export a list of ROIs from images directly from the Colab notebook. Currently, we're having to save to '_seg.npy', download, and load into the GUI to view the number of cells.

Sounds like this is related to #581? @carsen-stringer, let me know what you need to complete #643 and get this functionality added.


<class 'KeyError'>: 'extractDeck' after post-install restart of Anki

Starting Anki after installing IR pops up the following error which persists after reinstalling of Anki and IR including the deletion of the add-ons folder. No other add-ons are used.
Anki Version: Version 2.1.0beta37, Qt 5.9.2 PyQt 5.9
IR Version: v4.9.11
Windows 10

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.0beta37 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Windows 10
Flags: frz=True ao=True
Caught exception:
  File "aqt\progress.py", line 67, in handler
  File "aqt\main.py", line 120, in setupProfile
  File "aqt\main.py", line 261, in loadProfile
  File "anki\hooks.py", line 28, in runHook
  File "C:/Users/Stan/AppData/Roaming/Anki2\addons21\1081195335\main.py", line 60, in onProfileLoaded
    self.loadMenuItems()
  File "C:/Users/Stan/AppData/Roaming/Anki2\addons21\1081195335\main.py", line 103, in loadMenuItems
    self.settings.loadMenuItems()
  File "C:/Users/Stan/AppData/Roaming/Anki2\addons21\1081195335\settings.py", line 188, in loadMenuItems
    settings['extractDeck'])
<class 'KeyError'>: 'extractDeck'

Attempting to use Anki with IR causes further errors, such as
<class 'AttributeError'>: 'ReadingManager' object has no attribute 'shortcuts'

Let me know if this is still happening with the current version.
If it is, see if removing _ir.json from collection.media makes any difference.


"Context Not Found" for Dev Mode

When Dev Mode is restarting the application and one tries to test the application or endpoints, you may get a "Context Not Found" error page (from time to time).
Should consider handling this better to improve the experience.  Would like to see if we can address this ASAP too.
@kathrynkodama @ericglau @patricktiu

@yeekangc  Is this still an issue? Created 4 years ago and marked low priority over a year ago. I am inclined to close it.


Take retry function from dp-net

What
Take retry function from dp-net, with some tweaks

use a common retry function across Neptune functions
make retryTime configurable, allowing a more aggressive backoff if required
retry function from dp-net supports cancelled contexts

How to review

See if code changes make sense
Consider if its worth having a common retry function, at the expense of having to cast the results to their required type. (this was being done in some functions before, but not all)
Check tests pass

Who can review
Anyone

The code changes to generalise the sleep retries with exponential backoffs look good.
But I get an error in config_test: TestGetFailsByDefault. Apparently, the config is generated successfully if the provided errs channel is nil, but the test expects it to return an error.

This appears to have been happening due to us having local environment variables set (export GRAPH_DRIVER_TYPE=neptune). I have added a os.Clearenv() before the test to ensure local values do not change the behaviour.

The code changes to generalise the sleep retries with exponential backoffs look good.
But I get an error in config_test: TestGetFailsByDefault. Apparently, the config is generated successfully if the provided errs channel is nil, but the test expects it to return an error.

This appears to have been happening due to us having local environment variables set (export GRAPH_DRIVER_TYPE=neptune). I have added a os.Clearenv() before the test to ensure local values do not change the behaviour.

sorry I should have realised it was due to the environment


[do not merge] Play with hdf5

Coverage decreased (-0.3%) to 84.227% when pulling c6fe8683577de5a74e0666e82761dbf1aa8ffc63 on massich:play_with_hdf5 into f8cd39739f5f02cb8606ecb0f2f3aa4064a8eeb4 on tbeu:master.


Redis 5.0 with redis==3.2.0 doesn't update value sent by setex command

Version: redis==3.2.0 & Redis 5.0.3
Platform: CentOS 7.5
Description: I have a key-value, stored in Redis, e.g. "key1" : "value1".
From Python 3.6 using python module "redis" I change this pair using setex command, e.g.
client.setex("key1", TTLvalue, "value2")
and always get OK from redis-server.
But sometimes "key1" value isn't updated to "value2" and stay "value1".
Nothing special in any logs.
Ideas?

Sorry for the late reply on this. Looks like you're calling SETEX correctly. I don't believe this is a redis-py error.
Perhaps another thread/process is updating the value back to "value1"?

@dusze you could run a redis monitor command and verify that nothing else resets that value

No reply in a month and I'm very confident this isn't a redis-py issue. Closing this issue. If you believe this to be a redis-py issue, please reopen with additional information.


docs: source: Add --prefix=~/.local to New Source Tutorial

The setup instructions suggest installing dffml to the ~/.local directory when getting setup to do development/contributions. Since people making new sources will be doing development/contributions, I think we should make a note of the --prefix=~/.local flag in the new source tutorial.
People will probably want to install their new source in the normal production way that's currently listed, but it would be helpful to add a reminder for people first developing a source and testing it in development mode.

Good catch!


Using Wrapped Provider with React.createElement throws TypeError: Object [object Object] has no method 'toUpperCase'

Following the example here
https://github.com/rackt/react-redux#react-router-013
I'm using a wrapped provider on my React Router handler
 <Provider store={store}>
     {() => <Handler {...ReactProps} routerState={routerState} />}
</Provider>

If I pass this to React.renderToString it renders correctly.
if I pass it to React.createElement it throws an error
TypeError: Object [object Object] has no method 'toUpperCase'
site-0 (err): 2015-08-27 01:32 +00:00: TypeError: Object [object Object] has no method 'toUpperCase'
site-0 (err):     at autoGenerateWrapperClass (/opt/site/node_modules/react/lib/ReactDefaultInjection.js:53:19)
site-0 (err):     at Object.getComponentClassForElement (/opt/site/node_modules/react/lib/ReactNativeComponent.js:59:49)
site-0 (err):     at validatePropTypes (/opt/site/node_modules/react/lib/ReactElementValidator.js:361:45)
site-0 (err):     at Object.ReactElementValidator.createElement (/opt/site/node_modules/react/lib/ReactElementValidator.js:408:5)

I'm using some 3rd party middleware that passes the wrapped handler to
React.renderToString(React.createElement())
I suspect this is because React is trying to get a type for the anonymous function  {() => }
Do I have to use  an anonymous function here? can I wrap it in some other component or something?

Can you please show code in some more context? It would help to see the specific failing line completely.

<Provider>...</Provider> is already an element. Passing this to createElement doesn't really make sense to me.

I suspect this is because React is trying to get a type for the anonymous function {() => }

This has nothing to do with what's inside <Provider> I think. Doing React.render(React.createElement(<div />)) will also fail because <div /> is already an element.

I'm using some 3rd party middleware that passes the wrapped handler to
React.renderToString(React.createElement())

Um, why? :-)


PLS HELPP

Error: DanceEvent.cpp
./src/funkin/backend/scripting/events/DanceEvent.cpp: fatal error C1041: cannot open program database 'C:\Users\HEXTECH\Desktop\CodenameEngine-main\export\release\windows\ obj\obj\msvc1964-nc\vc.pdb'; if multiple CL.EXEs write to the same .PDB file, use /FS.
i had this problem while building

Error: DanceEvent.cpp ./src/funkin/backend/scripting/events/DanceEvent.cpp: fatal error C1041: cannot open program database 'C:\Users\HEXTECH\Desktop\CodenameEngine-main\export\release\windows\ obj\obj\msvc1964-nc\vc.pdb'; if multiple CL.EXEs write to the same .PDB file, use /FS.
i had this problem while building

don’t try and compile the same thing multiple times


SQLServerCallableStatement issue with BigDecimal scale/precision

Hi,when I using  SQLServerCallableStatement.execute(),it will be prompted to "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Table-valued parameter 20 (""), row 0, column 0: Data type 0x6C has an invalid precision or scale.",I think  it is caused by BigDecimal  with precision =18 and scale=8,hope can get help,looking forward to reply.

Hi @rabbit-mom. Can you provide any example code that could help us with fixing the issue?

@rabbit-mom since we did not hear back from you, will close this issue. Please feel free to reopen it once you have more details on this. Thank you!

Hi~I encountered this problem again , it throws exception with the message "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Table-valued parameter 7 (""), row 0, column 0: Data type 0x6C has an invalid precision or scale".My application scenario is As shown in the above picture.I use the "6.1.4.jre7-preview" version. I am desperately want to get your reply.Thanks!

I met a problem When I was using this framework(mssql-jdbc,version:6.1.4.jre7-preview),I'm a bit worried because I need online my  products,So Ask for your help.
Thanks very much!
在 2017-04-18 06:04:02，"Afsaneh Rafighi"<EMAIL_ADDRESS>写道：
Closed #235.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I met a problem When I was using this framework(mssql-jdbc,version:6.1.4.jre7-preview),I'm a bit worried because I need online my  products,So Ask for your help.
And I have asked questions on Github.The link is  https://github.com/Microsoft/mssql-jdbc/issues/235 .
Thanks very much!
在 2017-04-18 06:04:02，"Afsaneh Rafighi"<EMAIL_ADDRESS>写道：
Closed #235.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The error field  is in the red box.

@rabbit-mom can you share the input that is causing this exception? what is the table or store-procedure schema you are accessing? It will be helpful if you can share the code to reproduce it.

@rabbit-mom : Is this problem is reproducible? Can you share appropriate data/query/storeproc which can reproduce this problem.
Appreciate if you able to share data which can reproduce this problem. Give a try with our latest release 6.1.7-preview & let us know if you have similar problem or not.

Closing this issue since we did not hear back. @rabbit-mom feel free to open this once you have any updates. Thanks!


Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Got this error when I want to add the integration to HA.

Cool error!
Do you have any homeassistant logs?

Had installed an old version of HA.


fix: bump openrpc.json

:tada: This PR is included in version 1.0.10 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use upstream types and values for Configs

It was only bls12_377 that had this problem?
Anyways LGTM

It was only bls12_377 that had this problem?

Is not just bls12-377. Is just that I started the refactory from it. PR is not ready yet.

Anyways LGTM but CI benchmarks seem uphappy, not sure if they were happy before.

CI benchmarks never worked. I'll fix it


Improved formatting of tables

Improved formatting of tables in article.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@MikePlumleyMSFT PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Multiple inheritance from classes 'NSObject' and 'HybridNitroInAppBrowserSpec_base'

What's happening?
This implementation works fine with nitrogen v0.18.2 however it fails with nitrogen v0.19.0. tried removing the NSobject to no avail.

Reproduceable Code
class HybridNitroInAppBrowser : NSObject, HybridNitroInAppBrowserSpec, SFSafariViewControllerDelegate {
    private weak var safariVC: SFSafariViewController?

    func open(url stringUrl: String, options: NitroInAppBrowserOptions?) throws {
        guard let url = URL(string: stringUrl) else {
            throw InAppBrowserError.invalidURL
        }

        DispatchQueue.main.async { [weak self] in
            self?.presentSafariViewController(with: url, options: options)
        }
    }
    private func presentSafariViewController(with url: URL, options: NitroInAppBrowserOptions?) {
        let configuration = SFSafariViewController.Configuration()
        configuration.barCollapsingEnabled = false
        configuration.entersReaderIfAvailable = false

        let safariVC = SFSafariViewController(url: url, configuration: configuration)
        self.safariVC = safariVC
        self.safariVC?.delegate = self

        guard let presentingViewController = RCTPresentedViewController() else {
            print("ERROR: Unable to find presenting view controller")
            return
        }

        presentingViewController.present(safariVC, animated: true)
    }

    func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
        controller.dismiss(animated: true)
        self.safariVC = nil
        print("Safari view controller did finish")
    }
}

Relevant log output
nil

Device
iphone 16
Nitro Modules Version
0.19.0
Nitrogen Version
0.19.0
Can you reproduce this issue in the Nitro Example app here?
Yes, I can reproduce the same issue in the Example app here
Additional information

[ ] I am using Expo
[X] I am using Nitrogen (nitro-codegen)
[X] I have read and followed the Troubleshooting Guide.
[ ] I created a reproduction PR to reproduce this issue here in the nitro repo. (See Contributing for more information)
[X] I searched for similar issues in this repository and found none.

Yes, I can reproduce the same issue in the Example app here

Please create a PR modifying the code here to demonstrate that issue here in the example.

Ah I think I know what the issue is.
The problem is that you cannot inherit from multiple base classes at the same time, but in Nitro 19 I changed your HybridNitroInAppBrowserSpec to be a class instead of a protocol.
Hmm, tricky.
I think the solution would be for you to create another class (called HybridNitroInAppBrowserDelegate or something) which is an NSObject and SFSafariViewControllerDelegate, then add that as a class member inside of HybridNitroInAppBrowser.
So composition instead of inheritance.
Not really a Nitro issue per-say, but a breaking change for library authors.

so yes its gonna be more code (one more class that has presentSafariViewController and safariViewControllerDidFinish), but there's no way around it unfortunately because Swift does not support inheriting from multiple classes.
And I want to keep the *Spec a class, not a protocol, to have some defaults in there like the hybridContext.

Thanks @mrousavy got it to work. 🫡


deadlock: could not acquire callback lock

I got lots of following warning:
[warn] 28798#28798: *28921226 [lua] mlcache.lua:740: get(): could not acquire callback lock: timeout

The worker that raises the warnings, stops accepting new connections (blocks forever).

strace shows the deadlock

# strace -fs 100 -p <PID>
[pid 19819] futex(0x561dca1cd7e0, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid 19817] futex(0x561dca1cd7e0, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid 19816] futex(0x561dca1cd7e0, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
...

Accept queue is full for that worker.

# ss -tlpn
LISTEN 65537 65536 <IP_ADDRESS>:443 <IP_ADDRESS>:* users:(("nginx",pid=PID,fd=83),("nginx",pid=MASTER,fd=83))

Environment

Ubuntu: bionic (18.04)
Openresty: <IP_ADDRESS>
mlcache: 2.6.0
lrucache: 0.13

It sounds like a callback is doing I/O that is taking a very long time, perhaps timing out. Then another Lua threads also needs the callback (the same key is being retrieved), and it's waiting on the first callback instead of duplicating callback calls, which is a feature of this library. I would investigate why your L3 function is timing out, which only you can debug depending on what you do in it. I would also adjust the timeout value of all I/O done within the L3 callback to be shorter than the resty-lock (see the resty_lock_opts option).


Hello， when will u publish the code?

Sorry, I've been very busy lately and haven't had time to organize the code. However, I will publish the code by September 20th. I appreciate your understanding.

@vGuiGui6 The code has been published.


Improvements to the 1st tutorial

Regarding the very first tutorial: https://www.tensorflow.org/get_started/eager
You should add the import:
import tensorflow.contrib.eager as tfe;
and change the types for example_default to:
example_defaults = [[0.], [0.], [0.], [0.], [0]]  # set field types (the labels are integers: https://stackoverflow.com/questions/50184145/tensorflow-sparsesoftmaxcrossentropywithlogits-error)

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

All of these fields are N/A. This is a general improvement of the code for people who copy/paste the code from the tutorial.

I don't quite follow your suggestion.

I see that it was updated.


Another ArrayIndexOutOfBoundsException

2017-11-11 09:46:30 INFO  Controller:890 - received new valid block
2017-11-11 09:52:04 ERROR Controller:1037 - 136
java.lang.ArrayIndexOutOfBoundsException: 136
	at org.mapdb.Volume$ByteBufferVol.getDataInput(Volume.java:435)
	at org.mapdb.Volume$ByteBufferVol.getDataInput(Volume.java:315)
	at org.mapdb.StoreWAL.get2(StoreWAL.java:344)
	at org.mapdb.StoreWAL.get(StoreWAL.java:320)
	at org.mapdb.Caches$HashTable.get(Caches.java:246)
	at org.mapdb.BTreeMap.get(BTreeMap.java:602)
	at org.mapdb.BTreeMap.containsKey(BTreeMap.java:1506)
	at database.DBMap.contains(DBMap.java:238)
	at database.DBMap.contains(DBMap.java:248)
	at qora.block.Block.getHeight(Block.java:254)
	at qora.block.Block.orphan(Block.java:793)
	at qora.Synchronizer.synchronize(Synchronizer.java:65)
	at qora.Synchronizer.synchronize(Synchronizer.java:224)
	at controller.Controller.update(Controller.java:1034)
	at qora.BlockGenerator.run(BlockGenerator.java:184)
2017-11-11 09:52:04 WARN  Network:117 - Connection error : /<IP_ADDRESS> : 136
2017-11-11 09:52:04 INFO  Controller:193 - STATUS OK
| Last Block Signature: F2s97G7FKrt5B2Ld7sBos3MAGHwJxjz4yqMogft4Rdhst8rTExXchFxSKURFeFbpUDuByDNj97EiBMv25DHPa4i2d4bA5hZCp2tcP9GFs57F4o3LgT63UonmLipYH67e9L3VzT2jYLh97QuvyrfDwUuTX3smM5qhXajFQVHe4NjS866
| Last Block Height: 408875
| Last Block Time: 11/11/2017 9:46:30 AM
| Last Block Found 5m 34s ago.

Working backwards from innermost stack frame:
mapdb/Volume.java:434
        public final DataInput2 getDataInput(long offset, int size) {
            return new DataInput2(chunks[(int)(offset >>> chunkShift)], (int) (offset&chunkSizeModMask));
        }

offset >>> chunkShift equates to 136, which is the non-existent array index in chunks.
chunkShift seems to be 20 so chunks are 1MB in size?
So the offset is wrong when passed at mapdb/StoreWAL.java:344:
            DataInput2 in = (DataInput2) log.getDataInput(r[0]&LOG_MASK_OFFSET, size);

r[0] comes from the modified transaction HashMap (lines 333-334):
        //check if record was modified in current transaction
        long[] r = modified.get(ioRecid);

Is modified somehow out of sync?

cleared in reloadIndexFile but this shouldn't cause the issue above where there is a record
set to PREALLOC in preallocate() but also shouldn't cause issue above
set in put() line 228
set in update() line 416
set in compareAndSwap() line 477
"tombstoned" in delete() line 528

Is the log ByteBufferVol corrupted/reset outside of a write-lock by another thread?

logReset() only checks for structuralLock
logReset() called by:

rollback() - under full write locks
replayLogFile() twice - called by commit() - under full write locks
StoreWAL constructor

Does this situation only occur on Windows and hence something to do with mmap/Windows caching?
Is it possible to store more than chunkSize in a chunk when ByteBufferVol should put extra bytes into next chunk? (Maybe add assert()s to mapdb/Volume.java to test this)


Add PHPSpreadsheet (successor of PHPexcel) to Office section.

Also mark PHPexcel as unmaintained.

If PHPExcel is unmaintained then we might as well remove it in favour of PHPSpreadsheet. If you could update the PR I'll get it merged. Thanks.

@ziadoz Done. Also rebased this branch against master.

@mablae Thanks!


Has anyone created an interface for emacs yet?

Apparently emacs has two clients for LSP now.

Please see: https://github.com/kenkangxgwe/lsp-wl/wiki#gnu-emacs.
For eglot or lsp-bridge, the configuration should follow their documentations.

Feel free to provide your configuration in the Wiki


Shutdown fix

Move the contents of PgTempDB::shutdown into shutdown_internal and call
that from shutdown and drop.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 86.139%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
435

Relevant Lines:
505

💛  - Coveralls


Add integration between app environment provider & MS.Ext.Configuration in asp.net core projects

Closed by https://github.com/bit-foundation/bit-framework/commit/a7cbe2c987d26dd5b996c8681dd719ee5ded3082


Renaming entity classes and properties from Tenant to Organization

Fixes #426
Changed all DB related entities. Class names and properties modified. DbContext updated. Cascading changes to any uses of these classes or properties across the code base. All tests passing and was able to load the application, create, edit organizations and campaigns for those Organizations.
There is a migration in place which works if the whole DB is dropped first. Note ideal. The issue is a conflicting FK constraint. If dropping the Db and reloading is possible at this time that might be okay. Otherwise I can see if the migration can be manually tweaked so that possibly this can work on an existing Db.
I thought I would put this up and see what others think / recommend.

@stevejgordon Can you update this PR to fix the merge conflicts?  Thank you.

Can you also change the "TenantAdmin" security claim to be "OrgAdmin"? This is largely a database change.

@mheggeseth Note sure I've done things correctly in the merging sense since there are now a load of prior commits showing above. I rebased my local branch on the htbox master, fixed up some of the conflicts and made the claim change. Then pushed those changes up.
Please let me know if I need to do something different or if this looks okay now.

I think what you have here will work (at least GH says it will merge without issue), but I don't really understand why it shows a bunch of commits that are already on HTBox/master. Also, the diff includes those changes, so it's a little hard to see only the changes you made. Maybe try just making a new branch off HTBox/master and cherry picking just your changes on to that. If that works, you can just close this PR and open a new one for the new branch.

@mheggeseth No problem. Probably something I did! I've created a new branch which I hope should work and will submit a new PR shortly.


Modules that use X.X.X tags don't work with the opentofu registry

Problem Summary
Using this registry, when attempting to use a module such as stack-config, for which the tags are in format X.X.X instead of vX.X.X, the registry gives the wrong redirect URL
Try doing tofu init with the following configuration:
module "stack-config" {
  source  = "registry.opentofu.org/cloudposse/stack-config/yaml"
  version = "1.5.0"
}

and you will get the following error:
│ Error: Failed to download module
│
│   on main.tf line 24:
│   24: module "stack-config" {
│
│ Could not download module "stack-config" (main.tf:24) source code from "git::https://github.com/cloudposse/terraform-yaml-stack-config?ref=v1.5.0": error downloading 'https://github.com/cloudposse/terraform-yaml-stack-config?ref=v1.5.0': /usr/bin/git exited with 1:
│ error: pathspec 'v1.5.0' did not match any file(s) known to git

Reason:
The registry assumes that all modules are using vX.X.X tags (in this case v1.5.0), when some modules are actually using X.X.X (in this case 1.5.0)
We should make sure to return the correct tag in moduleDownload, we'd probably need to fetch releases again in order to figure out what's the actual tag (though that should be fine with the DDB cache)

I've done some background reading, and I can safely say that the v prefix on tags/releases is only optional for modules.
for providers this is mandatory.
Therefore I think we can do some conditional checking for module versions and not worry about providers


Init more than once per reset causes calibration issues and EEPROM read issues

BattOr should reset when it sees a new init in the middle of a run

BattOr now resets when it is not in the IDLE state when it sees an INIT.


[hotfix][tests] Hide output from config.sh

What is the purpose of the change
The TaskManagerHeapSizeCalculationJavaBashTest calls the calcTMHeapSizeMB.sh/calcTMNetBufMem.sh scripts and expects the result to be printed to stdout. These scripts also all config.sh which may echo messages that would result in a test failure, like the one below on AWS.
compareHeapSizeShellScriptWithJava(org.apache.flink.dist.TaskManagerHeapSizeCalculationJavaBashTest)  Time elapsed: 0.486 sec  <<< FAILURE!
org.junit.ComparisonFailure: Different heap sizes with configuration: {taskmanager.network.memory.fraction=0.1, taskmanager.memory.off-heap=false, taskmanager.memory.fraction=0.7, taskmanager.memory.size=-1, taskmanager.network.memory.max=1073741824, taskmanager.heap.mb=1000, taskmanager.network.memory.min=67108864} expected:<[]900> but was:<[Setting HADOOP_CONF_DIR=/etc/hadoop/conf because no HADOOP_CONF_DIR was set.]900>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.apache.flink.dist.TaskManagerHeapSizeCalculationJavaBashTest.compareHeapSizeJavaVsScript(TaskManagerHeapSizeCalculationJavaBashTest.java:275)
        at org.apache.flink.dist.TaskManagerHeapSizeCalculationJavaBashTest.compareHeapSizeShellScriptWithJava(TaskManagerHeapSizeCalculationJavaBashTest.java:110)

To prevent this from happening this PR suppresses the standard output from config.sh.

merging.


XCode 16 supported?

My usual setup working like a charm in XCode 15.4 is giving the following when I have switched to XCode 16:
/iOS 16.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libXCTestSwiftSupport.dylib' (no such file) 🔥 Injection failed to load. If this was due to a default argument. Select the app's menu item "Unhide Symbols".
I haven't changed or tried anything different in InjectionNext app itself?
Any advice on what to try?
Edit: I do know that running on device requires that XCTestSwiftSupport but I am trying with simulator...

Can you try the release candidate? This error should be suppressed in that version.

Argh sorry, I should have checked if there is some new version, yeah RC works as expected. Sorry for disturbance in the force.

As advised by @johnno1962 RC does not have this issue.


Wrong constant name with undefined constant error

When you're dealing with namespaces, things can be a little confusing. With this example, you'll see that I have a Tacos::Serializer constant clearly defined. When you try to compile this program, you'll get a undefined constant Tacos::Serializer error, and the program doesn't compile.
class Tacos::Serializer
  def render
    {meat: "chicken"}
  end
end

class Api::Tacos::Index
  def call
    Tacos::Serializer.new.render
  end
end

route = Api::Tacos::Index.new

The reason it doesn't compile is because it's actually in the wrong namespace, so really, it's Api::Tacos::Serializer that's undefined, but the error message doesn't tell you this. That seems like a bug to me.
Also related to https://github.com/crystal-lang/crystal/issues/7554 which is requesting better error messages, I think it would be great if this error could say something like (but not necessarily) this
in src/actions/api/tacos/index.cr:4: undefined constant Tacos::Serializer in Api

    Tacos::Serializer.new
     ^~~~~~~~~~~~~~~
    Did you mean ::Tacos::Serializer?

Ref:
https://github.com/luckyframework/lucky/issues/746

I've been bitten by this bug a few times. The error displays the constant I typed but not the one Crystal tried to resolve. This leads to a wild goose chase trying to find typos or wondering why the class isn't required, when in reality it is because Crystal was looking in another namespace.

Just for my amusement, I tried that example in Ruby. As is, it throws a uninitialized constant Tacos (NameError). Adding a module Tacos; end will throw uninitialized constant Api (NameError). So to get it to run in Ruby, I needed this:
module Tacos
end

module Api
  module Tacos
  end
end
class Tacos::Serializer
  def render
    {meat: "chicken"}
  end
end

class Api::Tacos::Index
  def call
    Tacos::Serializer.new.render
  end
end

route = Api::Tacos::Index.new
puts route.call

Which still fails in crystal.

The difference with Ruby is that I think Ruby considers module Foo; class Bar and class Foo::Bar as different things (in terms of namespace resolution inside that), which I find really confusing.
I'll see if I can improve the error message here (I wanted to improve the error messages in general but I don't think I'll have time for that).

Why don't you try to call an external namespace if it is needed?
class Tacos::Serializer
  def render
    {meat: "chicken"}
  end
end

class Api::Tacos::Index
  def call
    ::Tacos::Serializer.new.render
  end
end

Works as expected. ( https://play.crystal-lang.org/#/r/6qib )
Constants resolution works different in Crystal and Ruby.
And sometimes Crystal resolves constants better:
https://play.crystal-lang.org/#/r/6qid - this does'n work in Ruby.

@SlayerShadow Yes that works! :D The problem though is that the error message is wrong. Crystal says undefined constant Tacos::Serializer when it should say undefined constant Api::Tacos::Serializer because Tacos::Serializer is defined.
Also I love that we're all talking about a taco serializer :P

If somebody wants to tackle this, go ahead. I won't have time...

The problem is Tacos::Serializer in that context could refer to any of the following:

::Api::Tacos::Index::Tacos::Serializer
::Api::Tacos::Tacos::Serializer
::Api::Tacos::Serializer
::Tacos::Serializer

whichever is defined first. So we cannot simply replace Tacos::Serializer in the error message with a single fully qualified name.


37 improve reputation

Reputation pallet with basic implementation,

Can you merge univeresal-develop into this branch and resolve the conflicts? @f-gate


与Table Extended插件冲突

若启用插件Table Extended，那么本插件无法显示任何内容，而在关闭Table Extended插件后内容又可以正常显示了，应该是存在一些冲突，麻烦留意一下，感谢！

i am not sure what is being said in Chinese above, but it seems related to the fact that this plugin has a conflict with Table Extended and if that is enabled, the calendar wrapper doesn't show any tasks. This only happens after you reload the vault (i.e. not when you enable the plugin).