Cannot find module d3 or its corresponding type declarations

Describe the Bug
After updating to v10, builds fail because it fails to find d3 or d3-transitions
node_modules/react-flow-renderer/dist/esm/types/general.d.ts:2:56 - error TS2307: Cannot find module 'd3' or its corresponding type declarations.

2 import { Selection as D3Selection, ZoomBehavior } from 'd3';
                                                         ~~~~

node_modules/react-flow-renderer/dist/esm/utils/graph.d.ts:1:42 - error TS2307: Cannot find module 'd3' or its corresponding type declarations.

1 import { Selection as D3Selection } from 'd3';
                                           ~~~~

node_modules/react-flow-renderer/dist/esm/utils/graph.d.ts:15:128 - error TS7016: Could not find a declaration file for module 'd3-transition'. 'C:/monolith/packages/hub/node_modules/d3-transition/src/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/d3-transition` if it exists or add a new declaration (.d.ts) file containing `declare module 'd3-transition';`

15 export declare const getD3Transition: (selection: D3Selection<Element, unknown, null, undefined>, duration?: number) => import("d3-transition").Transition<Element, unknown, null, undefined>;
                                                                                ~~~~~~~~~~~~~~~

I'm using Vite v2.6.4 to build the package.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Install react-flow-renderer
run tsc && vite build
Build  fails

Expected behavior
Build with no errors
Screenshots or Videos
No response
Platform
react-flow-renderer: v10.3.14
vite:  2.6.3
react: 18.2.0
Additional context
No response

I can't reproduce this. My steps:

create new project with  npm create vite@latest
npm install --save react-flow-renderer
add basic example
run tsc && vite build - there are no issues

@types/d3 is part of the devDependecies.

+1
@moklick You need to set skipLibCheck: false in project's tsconfig.json, so that type check can be performed on node_modules. As error is with distributed production types, @types/d3 needs to be a production dependency for react-flow-renderer,

added @types to dependencies in v10.3.15

@moklick - Seems that while adding the @types in V10.3.15 you forced everyone to install @types/react and @types/react-dom v18 which is not compatible with React v16.
As this is a breaking change, this should be either reverted back to the previous state (devDependency) or the entire change should be part of a major version bump.
For now I am going to freeze my application on the previous version to mitigate the problem I'm seeing

Hi @moklick , It is not necessary to include the react and react-dom types because they are peer dependencies that should be installed by consuming projects.

@barneaoren @sushantdhiman Thanks! This is fixed in v10.3.16


Hashtags In Profile

Users able to add Hashtags by typing in the hashtag block on the profile page, instead of adding it in AboutMe
Users able to see other users who share similar interests as them
Users can go check out other user(who share similar hashtags)'s profile page easier from their own profile pages

@donnelldebnam Hey Donnell, thanks for the review. It works on my end, can you try mvn clean, then do the following process?

Create User1 and User2
Log into User1 and add hashtag "x"
Log into User2 and add hashtag "x"; under the hashtag section of User2's profile, a link to User1's profile should appear, same for User1's profile.

Let me know if it works, thanks!

@jiayiw6 Ok nowwww I see, lol. So since it says "Hashtags" I was submitting like "#Hashtag" , which in this case doesn't return a match even if 2 users submit the same thing, idk why. Should we make a way to handle this? Like maybe a simple way would be to check for the symbol before we set the content, i.e. "If  string.contains ("#"), hashtagContent = string.substring(1)". I wanna say I added it into one of my branches before but it needed to be added to the tests also...

Yes!! I do remember you added that to your branch (very good idea), I will
add that to the current branch. What do you think of the feature? Do you
think it's worth adding?
(it doesn't work with hashtag signs because I check for haha tags both
ways, from the user to hashtag end and from the hashtag to user end; but
this is an easy fix, just one line in jsp)
On Tue, Jul 17, 2018, 5:19 PM Donnell Debnam Jr<EMAIL_ADDRESS>wrote:

@jiayiw6 https://github.com/jiayiw6 Ok nowwww I see, lol. So since it
says "Hashtags" I was submitting like "#Hashtag" , which in this case
doesn't return a match even if 2 users submit the same thing, idk why.
Should we make a way to handle this? Like maybe a simple way would be to
check for the symbol before we set the content, i.e. "If string.contains
("#"), hashtagContent = string.substring(1)". I wanna say I added it into
one of my branches before but it needed to be added to the tests also...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/donnelldebnam/CodeU-Spring-2018-29/pull/90#issuecomment-405731583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYQ2KpTfjIHmwGQB50Sjqj-m4H-sqaSoks5uHlThgaJpZM4VSOED
.

@jiayiw6 Yeah, definitely worth adding; I think it's a great feature! In my PR addressing frontend stuff (#88 ), I actually made a div talking about the feature on the homepage lol

@donnelldebnam I am so happy to hear that! I will push out a new commit for the # fix and use isNullOrWhitespace()

@jiayiw6 Sounds great. I'll go ahead and approve and you can just merge when you're ready

@jiayiw6 Sounds great. I'll go ahead and approve and you can just merge when you're ready

@donnelldebnam Thank you Donnell! I pushed a fix, the feature work for me and I am ready to merge. If you don;t mind, can you take one last look so I don't overlook anything? thanks!

@jiayiw6 Yup, it's working for me. The way you cleaned the hashtags is more efficient and covers more test cases. Nice work!

@donnelldebnam Thanks! Appreciate all your help and feedback! I have my last mock interview tonight; I will make time tmr to review the PRs and final polishes.

@jiayiw6 Awesome. Good luck!!


Deprecate this fork

This fork was used by Firecracker to be able to consume custom versioned kvm-bindings through https://github.com/firecracker-microvm/kvm-bindings
Firecracker now uses cargo [patch] to directly patch the custom kvm-bindings, so this custom fork of kvm-ioctls is no longer needed.
It is now deprecated and not maintained anymore.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

CI is failing because this repo needs an update to work with latest vmm-sys-util. But since we're deprecating this fork, I've just disabled CI checks and don't plan on maintaining this any further.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Revert "Add suppressions to sanitizers for bazel builds"

Reverts grpc/grpc#15645
Unfortunately, it creates some issues on import that we'll have to solve before we can do this...

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


Fix the windows CI

https://github.com/uutils/procps/actions

This issue has been fixed in the meantime, the CI is green on main.


Error install in latest version

I installed the latest version, but I got this error

Which OS you are using I will try to reproduce on that?

thank you for your replay, i am install on VPS(ubuntu)

@zinminphyo0 i am using VPS(ubuntu) and it works fine for me. check the images below.

it's working now, problem from my VPS, Thank you so much

hello can you please tell me what you did with your vps, Im facing this as well on my vps, thanks

@counterterrorismp are you following proper installation steps and one more thing is that ghauri will only work with python >= 3.6


[stable/openldap] Support setting container image log level

Is this a new chart
No
What this PR does / why we need it:
The osixia/openldap-docker image contains a significant amount of startup machinery and automation. Without increasing the log level, it can be very hard to ascertain what the container is doing, or why it's doing it. This change provides a tunable for setting the container log level.
Which issue this PR fixes
N/A, general improvement
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test
/lgtm


How to setup reverse proxy in WHM/Cpanel for websockets?

Please someone help me how to setup this with reverse proxy on cpanel and whm panel for SSL

cPanel is not recommended for this. You should be able to get a VPS running on DigitalOcean or so, these are much more flexible than closed-ended environments like shared hosting.

cPanel is not recommended for this. You should be able to get a VPS running on DigitalOcean or so, these are much more flexible than closed-ended environments like shared hosting.


Time range in api urls to limit check results, Vagrant provisioning fixes

Coverage increased (+0.1%) to 96.008% when pulling 305925a5c86e67eec3d27e8e16b5e1e41060da09 on MAAS-1967 into cdc2561127dcc27354b74b6fce8e766fe697c369 on master.


Make caniuse into a Progressive Web App

I'd like caniuse to be turned into a PWA. For me, this would mostly be useful for "installing" it on my Android phone. It'd also be really cool though if it could download (and periodically update) the feature support data; then, if I don't have connectivity, I can still search for feature availability. This would require two main changes:

[ ] Adding a service worker (along with some level of caching)
[ ] Adding a PWA manifest

+1
Related #1756 "Offline support for caniuse.com"


add workaround to exlude cluster-autoscaler-status.configmap.yaml

hi @pieterlange , I'd like to contribute a workaround that I face when using kube-backup at work.
the problem is cluster-autoscaler-status.configmap.yml always changing and thus always be committed to the backup repo.
The problem with that it makes tons of commits and hard to see when real changes happen. thus in this commit I'd like to exclude cluster-autoscaler-status.configmap.yml so it wont be pushed. thank you

@pieterlange hi, any news regarding this PR ?


More test cases for tokenization

more test cases for pythainlp.tokenize

Coverage increased (+1.9%) to 74.167% when pulling 16ddc42ad20574806651b97b123325c0a5a66ea8 on bact:dev into 694dbf7b68772d7676fd95d377c71ab35c0774a8 on PyThaiNLP:dev.

AppVeyor failed because of network connection error- the TNC server did not respond in time.

80% แล้ว!


Features always run in alphabetical order even when order=random

My test suite crashes PhantomJS about ⅔ of the way through the run on a hosted continuous integration service. In order to debug this, I want to try running my scenarios in a random order, so I turn to the --order=random option, which is explained as

Shuffle scenarios before running.

What I expected:

Scenarios run in random order

What I observed:

Scenarios run in random order within a feature
But features always run in alphabetical order

i.e.:
Feature: 1

  Scenario: 1B      # features/1.feature:6
    Then do nothing # features/step_definitions/steps.rb:1

  Scenario: 1A      # features/1.feature:3
    Then do nothing # features/step_definitions/steps.rb:1

Feature: 2

  Scenario: 2A      # features/2.feature:3
    Then do nothing # features/step_definitions/steps.rb:1

  Scenario: 2B      # features/2.feature:6
    Then do nothing # features/step_definitions/steps.rb:1

Feature: 3

  Scenario: 3B      # features/3.feature:6
    Then do nothing # features/step_definitions/steps.rb:1

  Scenario: 3A      # features/3.feature:3
    Then do nothing # features/step_definitions/steps.rb:1

6 scenarios (6 passed)
6 steps (6 passed)
0m0.012s

Randomized with seed 8565

The documentation only discusses a single feature, so I don't know whether this is the intended behaviour. It wasn't the behaviour that I expected.
The Randomizer filter does indeed shuffle the scenarios, but a later filter (I haven't investigated exactly which one or ones) in Cucumber::Runtime#filters groups the scenarios by feature and orders the features alphabetically by file path.
Complete randomisation can be achieved by moving the Randomizer filter to the last position in the filter chain in the filters method, which gives the kind of result I expected:
Feature: 1

  Scenario: 1A      # features/1.feature:3
    Then do nothing # features/step_definitions/steps.rb:1

Feature: 2

  Scenario: 2B      # features/2.feature:6
    Then do nothing # features/step_definitions/steps.rb:1

  Scenario: 2A      # features/2.feature:3
    Then do nothing # features/step_definitions/steps.rb:1

Feature: 1

  Scenario: 1B      # features/1.feature:6
    Then do nothing # features/step_definitions/steps.rb:1

Feature: 3

  Scenario: 3A      # features/3.feature:3
    Then do nothing # features/step_definitions/steps.rb:1

  Scenario: 3B      # features/3.feature:6
    Then do nothing # features/step_definitions/steps.rb:1

6 scenarios (6 passed)
6 steps (6 passed)
0m0.011s

Randomized with seed 38210

Personally, I think that complete randomisation is more useful than randomisation only within features, but, whichever is chosen, it would be very useful for the behaviour across multiple features to be specified.
I'd be happy to work on this if there's a consensus on what the desired behaviour is.

Well spotted @threedaymonk, this is not the indented behaviour.
I like to think it's a regression :) maybe caused by the changes made to resolve #901 but as you rightly pointed out the acceptance test for random only uses a single feature so we can't easily tell if this ever worked properly.
I'd be delighted if you could help work on this. It seems like you have a pretty good handle on how to do it but do let me know if you need any help, either with a mention in here or grab me on Twitter or in the gitter chatroom.

moving the Randomizer filter to the last position in the filter chain in the filters method

As the Randomizer filter is of the kind that it does not pass the test cases on until done is called, it cannot be moved to the last position in the filter chain, since other filters (like the Quit filter) relies on that the test cases is not buffered up after them in the chain. Since it looks like the LocationsFilter is the problem in this case, either it is moved to before the Randomizer filter in the chain. Or the Randomizer filter is moved to directly after the selection filters (TagFilter, NameFilter' and LocationsFilter`). To first select and then randomize seems reasonable.

@brasmusson Thanks, that's very useful.


add pokpong.net to webring

Desktop:

Mobile:

@MCPETH Thanks, and welcome to the webring!

Thank you very much nakub :)))


通过vue.use注册的插件在不同的组件里怎么给插件传不同的参数

What problem does this feature solve?
通过vue.use注册的插件在不同的组件里怎么给插件传不同的参数
What does the proposed API look like?
vue.use

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.


Docker 18.03.1-ce routing mesh not working

TLDR
@fcrisciani I have read and understood how mesh is working using ingress network and ingress_sbox on docker_gwbridge and using a custom overlay network for services.
Read a lot of stuff and checked everything out (see docker-support.log) I cannot reach the published external port. To avoid side effects my firewallD is not running on the swarm cluster.
Issue type
Installing nginx with replica 1 cannot be accessed via the published port 80, suppose
routing mesh is not working
Expect
Can access published port for every node with w3m http://localhost
Got
Cannot load http://localhost
OS Version/build
Kernel: 4.4.x
OS: Ubuntu 18.04 LTS
Arch: arm64
Docker: 18.03.1-ce
API version
Client:
Version: 18.03.1-ce
API version: 1.37
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:16:22 2018
OS/Arch: linux/arm64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: 9ee9f40
Built: Thu Apr 26 07:14:27 2018
OS/Arch: linux/arm64
Experimental: true
Steps to reproduce
- Create named volume
   docker volume create --opt type=none --opt device=/gluster/run/test --opt o=bind test

- Create overlay network
   docker network create --driver=overlay --subnet <IP_ADDRESS>/16 --gateway <IP_ADDRESS> --attachable weave

- Create docker service
docker service create --name=nginx --network weave --mount src=test,dst=/config -e PGID=1000 -e PUID=1000 -p 80:80 -p 443:443 -e TZ=Europe/Berlin lsioarmhf/nginx-aarch64

Diagnostic log
See https://gist.github.com/giminni/1ab53616d6529baeace0f2e6d2eac65a

@gimini can you try: curl -4 http://localhost configuration looks good

@fcrisciani here the result
$curl -v -4 http://localhost

Rebuilt URL to: http://localhost/
Trying <IP_ADDRESS>...
TCP_NODELAY set
connect to <IP_ADDRESS> port 80 failed: Connection refused
Trying <IP_ADDRESS>...
TCP_NODELAY set
connect to <IP_ADDRESS> port 80 failed: Connection refused
Failed to connect to localhost port 80: Connection refused
Closing connection 0

@giminni does it work if you do curl inside the container?

@fcrisciani If I use the docker_gwbridge ip address of the container <IP_ADDRESS> not <IP_ADDRESS> it works
url -v -4 http://<IP_ADDRESS>

Rebuilt URL to: http://<IP_ADDRESS>/
Trying <IP_ADDRESS>...
TCP_NODELAY set
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80 (#0)

GET / HTTP/1.1
Host: <IP_ADDRESS>
User-Agent: curl/7.58.0
Accept: /

< HTTP/1.1 200 OK
< Server: nginx/1.12.2
< Date: Tue, 10 Jul 2018 16:20:17 GMT
< Content-Type: text/html
< Content-Length: 988
< Last-Modified: Sat, 07 Jul 2018 23:47:45 GMT
< Connection: keep-alive
< ETag: "5b415121-3dc"
< Accept-Ranges: bytes
<

Welcome to our server

@fcrisciani I can access the vip address from the ingress_sbox shell
/$ sudo ip netns exec ingress_sbox sh
iptables -n -v -L -t mangle
Chain PREROUTING (policy ACCEPT 154 packets, 17089 bytes)
pkts bytes target     prot opt in     out     source               destination
0     0 MARK       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:80 MARK set 0x100
0     0 MARK       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:443 MARK set 0x100
Chain INPUT (policy ACCEPT 154 packets, 17089 bytes)
pkts bytes target     prot opt in     out     source               destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
Chain OUTPUT (policy ACCEPT 174 packets, 13945 bytes)
pkts bytes target     prot opt in     out     source               destination
9   815 MARK       all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>          MARK set 0x100
Chain POSTROUTING (policy ACCEPT 174 packets, 13945 bytes)
pkts bytes target     prot opt in     out     source               destination
curl -4 http://<IP_ADDRESS>
<html>
    <head>
        <title>Welcome to our server</title>

from the host it matches the DOCKER_INGRESS
Chain PREROUTING (policy ACCEPT 2111 packets, 142K bytes)
 pkts bytes target     prot opt in     out     source               destination
11016  661K DOCKER-INGRESS  all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            ADDRTYPE match dst-type LOCAL

and that direct it to the ingress namespace:
Chain DOCKER-INGRESS (2 references)
 pkts bytes target     prot opt in     out     source               destination
    0     0 DNAT       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:443 to:<IP_ADDRESS>:443
    0     0 DNAT       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:80 to:<IP_ADDRESS>:80

Now as the packets pass through the ingress_sbox they are getting marked:
# nsenter --net=/var/run/docker/netns/ingress_sbox iptables -w1 -n -v -L -t mangle
Chain PREROUTING (policy ACCEPT 8 packets, 672 bytes)
 pkts bytes target     prot opt in     out     source               destination
    0     0 MARK       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:80 MARK set 0x10d
    0     0 MARK       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:443 MARK set 0x10d

and then IPVS is load balancing them to the backend container:
# nsenter --net=/var/run/docker/netns/ingress_sbox ipvsadm -l -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
FWM  269 rr
  -> <IP_ADDRESS>:0                Masq    1      0          0

Did something changed between your new analysis and the support.sh? I can see that from the support the backend is <IP_ADDRESS> while in your last dump it is instead <IP_ADDRESS> and also the firewall marker are not matching, 256 (0x100) instead of 269 (0x10D)

@fcrisciani
I uploaded the new diagnostic log and executed w3m http://localhost, got not response, tried http://<IP_ADDRESS> (nginx-1) it was successful
I looked inside the ingress sandbox, the counters are always zero
Here my findings:
``
$ iptables -vnL -t nat
Chain PREROUTING (policy ACCEPT 8 packets, 480 bytes)
pkts bytes target     prot opt in     out     source               destination
8   480 DOCKER-INGRESS  all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            ADDRTYPE match dst-type LOCAL
8   480 DOCKER     all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            ADDRTYPE match dst-type LOCAL
Chain INPUT (policy ACCEPT 8 packets, 480 bytes)
pkts bytes target     prot opt in     out     source               destination
Chain OUTPUT (policy ACCEPT 28 packets, 1887 bytes)
pkts bytes target     prot opt in     out     source               destination
10   807 DOCKER-INGRESS  all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            ADDRTYPE match dst-type LOCAL
0     0 DOCKER     all  --  *      *       <IP_ADDRESS>/0           !<IP_ADDRESS>/8          ADDRTYPE match dst-type LOCAL
Chain POSTROUTING (policy ACCEPT 27 packets, 1827 bytes)
pkts bytes target     prot opt in     out     source               destination
1    60 MASQUERADE  all  --  *      docker_gwbridge  <IP_ADDRESS>/0            <IP_ADDRESS>/0            ADDRTYPE match src-type LOCAL
0     0 MASQUERADE  all  --  *      !docker0  <IP_ADDRESS>/16        <IP_ADDRESS>/0
0     0 MASQUERADE  all  --  *      !docker_gwbridge  <IP_ADDRESS>/16        <IP_ADDRESS>/0
Chain DOCKER (2 references)
pkts bytes target     prot opt in     out     source               destination
0     0 RETURN     all  --  docker0 *       <IP_ADDRESS>/0            <IP_ADDRESS>/0
0     0 RETURN     all  --  docker_gwbridge *       <IP_ADDRESS>/0            <IP_ADDRESS>/0
Chain DOCKER-INGRESS (2 references)
pkts bytes target     prot opt in     out     source               destination
0     0 DNAT       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:8443 to:<IP_ADDRESS>:8443
0     0 DNAT       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:8080 to:<IP_ADDRESS>:8080
18  1287 RETURN     all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0`

@giminni the default gw network is mainly for north/south communication than for exposing services.
We should focus on the path that I was describing before. trying to see where the packet is not passing.
For the stats what about the host, there is where the translation starts

I use w3m http://localhost trying to reach port 80
See activity flow from docker host on table nat for  chain OUTPUT to DOCKER-INGRESS to POSTROUTING

Chain OUTPUT (policy ACCEPT 1094 packets, 85015 bytes)
pkts bytes target     prot opt in     out     source               destination
821 68143 DOCKER-INGRESS  all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            ADDRTYPE match dst-type LOCAL
0     0 DOCKER     all  --  *      *       <IP_ADDRESS>/0           !<IP_ADDRESS>/8          ADDRTYPE match dst-type LOCAL

Finally looking the stats for ipvs I got no activity

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port               Conns   InPkts  OutPkts  InBytes OutBytes
-> RemoteAddress:Port
FWM  256                                 0        0        0        0        0
-> <IP_ADDRESS>:0                        0        0        0        0        0
-> <IP_ADDRESS>:0

Looking at DOCKER-INGRESS chain got counts on RETURN not for port 80

Chain DOCKER-INGRESS (2 references)
pkts bytes target     prot opt in     out     source               destination
0     0 DNAT       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:443 to:<IP_ADDRESS>:443
0     0 DNAT       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:80 to:<IP_ADDRESS>:80
1507  116K RETURN     all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0

Going now to ingress sandbox on table mangle I see activity on all chains, but packet counter for port 80 is zero.

Chain PREROUTING (policy ACCEPT 560 packets, 54320 bytes)
pkts bytes target     prot opt in     out     source               destination
0     0 MARK       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:80 MARK set 0x100
0     0 MARK       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:443 MARK set 0x100
Chain INPUT (policy ACCEPT 560 packets, 54320 bytes)
pkts bytes target     prot opt in     out     source               destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
Chain OUTPUT (policy ACCEPT 560 packets, 54320 bytes)
pkts bytes target     prot opt in     out     source               destination
0     0 MARK       all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>          MARK set 0x100
Chain POSTROUTING (policy ACCEPT 560 packets, 54320 bytes)
pkts bytes target     prot opt in     out     source               destination

@giminni I tried the steps that you mentioned at the top on an x86, ubuntu 18.04 instance but I'm not able to reproduce with a vanilla nginx instance, and debugging iptables from github is really tedious.
There is definitely something that is blocking that traffic, you need to do tcpdump on each step and see where does it stops.
So far seem does not even arrive to the bridge in the ingress-sbox. you should be able to enter the namespace: nsenter --net=/var/run/docker/netns/ingress_sbox and do tcpdump on the interface with ip <IP_ADDRESS>. if the traffic does not even arrive there, no point to check further in the chain.

@fcrisciani thx for instruction
strange is that it works with mode=host.
Can this be a problem with kernel 4.4? and can you show me a working iptables -vnL -t nat on the host and iptables -vnL -t mangle on ingress_sbox?
I am testing using hping3 localhost -p 80 on the host and tcpdump -i eth1 on ingress_sbox without success

@giminni ingress is exposing TCP ports, ICMP is not going to work.
This is the output of the machine that I tested:
working.txt
This is the tool to get the output: docker run -v /var/run:/var/run  --network host --privileged dockereng/network-diagnostic:support.sh > working.txt
Test:
docker network create -d overlay --attachable weave
docker service create --name=nginx --network weave  -p 80:80 -p 443:443 -e TZ=Europe/Berlin nginx

I am not using ping I use hping3

Checking port: Here hping3 will send a Syn packet to a specified port (80 in my example).
hping3 -V -S -p 80 localhost
Output from hping3 is:
sudo hping3 -V -S -p 80 -s 30000 loca
lhost
using lo, addr: <IP_ADDRESS>, MTU: 65536
HPING localhost (lo <IP_ADDRESS>): S set, 40 headers + 0 data bytes

on ingress_sbox I got:

IP <IP_ADDRESS>.30000 > <IP_ADDRESS>.http: Flags [S], seq<PHONE_NUMBER>, win 512, length 0
IP <IP_ADDRESS>.http > <IP_ADDRESS>.30000: Flags [R.], seq 0, ack<PHONE_NUMBER>, win 0, length 0

and I see that SYN is working

@fcrisciani
Here my lsmod output:
I have iptables and xtables, can this be the root of my problems?

Module                  Size  Used by
ip_vs_rr               16384  2
xt_ipvs                16384  2
ip_vs                 110592  5 ip_vs_rr,xt_ipvs
xt_REDIRECT            16384  1
nf_nat_redirect        16384  1 xt_REDIRECT
xt_nat                 16384  13
xt_tcpudp              16384  15
veth                   16384  0
vxlan                  40960  0
ip6_udp_tunnel         16384  1 vxlan
udp_tunnel             16384  1 vxlan
iptable_mangle         16384  2
xt_mark                16384  3
ipt_MASQUERADE         16384  3
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
nf_conntrack_netlink    36864  0
iptable_nat            16384  3
nf_conntrack_ipv4      24576  6
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
xt_addrtype            16384  5
iptable_filter         16384  2
xt_conntrack           16384  5
nf_nat                 20480  4 nf_nat_redirect,nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
nf_conntrack          126976  7 ip_vs,nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,nf_conntrack_ipv4
overlay                45056  1
snd_soc_rockchip_hdmi_dp    16384  0
snd_soc_rockchip_i2s    16384  4
snd_soc_rockchip_spdif    16384  2
rockchip_saradc        16384  0
ip_tables              24576  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               32768  11 xt_ipvs,xt_mark,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,xt_nat,iptable_filter,xt_REDIRECT,iptable_mangle,xt_addrtype
autofs4                40960  0
dw_hdmi_i2s_audio      16384  0

@giminni do you have any overlap between your host interfaces and the container network?
who is replying with the RST?

@fcrisciani No overlap
my overlay network is encrypted and has a class B mask
<IP_ADDRESS>/16 and does not collide with ingress <IP_ADDRESS>/16

@fcrisciani  looking around what could be the root cause, can it be that some mandatory netfilter kernel module are missing?
Here my findings:

uname -a
Linux box 4.4.126-rockchip-ayufan-239 #1 SMP Sun May 27 18:38:24 UTC 2018 aarch64 aarch64 aarch64 GNU/Linu

zcat /proc/config.gz |grep IP_VS*
CONFIG_IP_VS=m
# CONFIG_IP_VS_IPV6 is not set
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12
# CONFIG_IP_VS_PROTO_TCP is not set
# CONFIG_IP_VS_PROTO_UDP is not set
# CONFIG_IP_VS_PROTO_AH_ESP is not set
# CONFIG_IP_VS_PROTO_ESP is not set
# CONFIG_IP_VS_PROTO_AH is not set
# CONFIG_IP_VS_PROTO_SCTP is not set
CONFIG_IP_VS_RR=m
# CONFIG_IP_VS_WRR is not set
# CONFIG_IP_VS_LC is not set
# CONFIG_IP_VS_WLC is not set
# CONFIG_IP_VS_FO is not set
# CONFIG_IP_VS_OVF is not set
# CONFIG_IP_VS_LBLC is not set
# CONFIG_IP_VS_LBLCR is not set
# CONFIG_IP_VS_DH is not set
# CONFIG_IP_VS_SH is not set
# CONFIG_IP_VS_SED is not set
# CONFIG_IP_VS_NQ is not set
CONFIG_IP_VS_SH_TAB_BITS=8
CONFIG_IP_VS_NFCT=y
# CONFIG_VIDEO_ROCKCHIP_VPU is not set
# CONFIG_SND_SOC_ROCKCHIP_VAD is not set
CONFIG_USBIP_VHCI_HCD=m
# CONFIG_ROCKCHIP_VENDOR_STORAGE is not set

find /lib/modules/4.4.126-rockchip-ayufan-239/ -name ip_vs* -print
/lib/modules/4.4.126-rockchip-ayufan-239/kernel/net/netfilter/ipvs/ip_vs.ko
/lib/modules/4.4.126-rockchip-ayufan-239/kernel/net/netfilter/ipvs/ip_vs_rr.ko

@fcrisciani I got it running using endpoint-mode dnsrr and --publish mode=host,published=80,target=80
Now why is it not running in endpoint-mode vip?? Still thinking of missing kernel stuff

@giminni it is running because you are using mode=host, so there is no ingress being used, the service will be accessible only on that node and not from the rest of the cluster.
I don't think can be related to a module because else commands to configure would have failed.
I'm still curious to understand who was sending the RST, that is key I guess, because means that the packet instead of being routed to the container is replied by someone else, and discovering why will explain the reason it is not working.
can you do a ifconfig on the host?

@fcrisciani Here my ifconfig

$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::42:abff:fee1:3219  prefixlen 64  scopeid 0x20
ether 02:42:ab:e1:32:19  txqueuelen 0  (Ethernet)
RX packets 1232  bytes 69108 (69.1 KB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 2863  bytes 12452492 (12.4 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker_gwbridge: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::42:42ff:fe3a:7f4c  prefixlen 64  scopeid 0x20
ether 02:42:42:3a:7f:4c  txqueuelen 0  (Ethernet)
RX packets 29892  bytes 3210739 (3.2 MB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 24157  bytes 2855395 (2.8 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet a.b.c.43  netmask <IP_ADDRESS>  broadcast a.b.c.255
inet6 fe80::b0c9:a2ff:fefe:3ecf  prefixlen 64  scopeid 0x20
ether b2:c9:aa.bb.cc.dd txqueuelen 1000  (Ethernet)
RX packets 17828072  bytes<PHONE_NUMBER> (2.0 GB)
RX errors 0  dropped 711690  overruns 0  frame 0
TX packets 15890583  bytes<PHONE_NUMBER> (1.7 GB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
device interrupt 40
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet x.y.z.19  netmask <IP_ADDRESS>  broadcast x.y.z.255
inet6 fe80::b0c9:a2ff:fefe:3eef  prefixlen 64  scopeid 0x20
ether b2:c9:ww.xx.yy.zz  txqueuelen 1000  (Ethernet)
RX packets 35830  bytes 2149800 (2.1 MB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 222  bytes 15628 (15.6 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
device interrupt 188
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet <IP_ADDRESS>  netmask <IP_ADDRESS>
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1  (Local Loopback)
RX packets 3428114  bytes 302476107 (302.4 MB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 3428114  bytes 302476107 (302.4 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
veth1f20832: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet6 fe80::448a:99ff:fe44:5816  prefixlen 64  scopeid 0x20
ether 46:8a:99:44:58:16  txqueuelen 0  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 39  bytes 2806 (2.8 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
veth37a5581: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet6 fe80::98b8:2bff:fee7:2866  prefixlen 64  scopeid 0x20
ether 9a:b8:2b:e7:28:66  txqueuelen 0  (Ethernet)
RX packets 9  bytes 3028 (3.0 KB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 41  bytes 3327 (3.3 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

@fcrisciani
Finally I could run the service using the ingress mesh network.
It was a multiple combination of missing kernel modules, had to compile my own one for arm64v8 and reading the doc I recognized that I need a /24 overlay network otherwise the port gets not published.
Thx for support.

@giminni I was hoping you could share the modules you were missing. I have a very similar board (pine64 vs your rock64) and I am seeing the exact problems you are. I am trying to find where I can compare kernel modules to find missing ones but I have running into issues.

Same situation here... @giminni any chance you share what you did?

@marianopeck
I ended up getting it working using an Armbian build that contained the correct modules. This goes for both Docker Swarm and Kubernetes. Here is my write up on it (comments at bottom)

Hi @tylerwight  thanks, yeah, I saw your workaround too. In fact, I just finished flashing and I am now gonna try to install Docker. This is the image I downloaded and I am running on a Rock64

hi @giminni ,
I encounter the same issue. Can you share the list of missing modules?

FYI. I have exact problem and have managed to fix the issue by finding the missing modules and recompile/enable them in kernel:

Download the script
wget https://github.com/moby/moby/raw/master/contrib/check-config.sh -- chmod 0755 check-config.sh

Locate your kernel config, if you don't know where it is, ask

Run the script
./check-config.sh <kernel config path>
missing modules are likely the cause

@hueyvle which modules were you missing and which did you have to recompile to get this working please?
I have the same problem in the OP, and I am missing the following in Network Drivers:
CONFIG_BRIDGE_VLAN_FILTERING
Latest vanilla Raspbian, same local switch between swarm nodes, all nodes listening on port 4789, 2377 and 7946, no host firewall enabled. Still unable to access containers except directly pointed to the host it's running on - pulling my hair out!


Release 0.13.5-newapi

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


Placeholder at uri first level

The idea is to fulfil a requirement where the first part of the uri path (what would be the "group" directory in the folder structure) is a dynamic path param. Something like:
localhost:3001/{apiVersion}/somethingElse.
The request has been made by @anabella-spinelli-olx.
The demo part is included but tests are not made.
Eg. http://localhost:3001/pu/1/available
The real file changes are.

demo/index.js
lib/controller/MockController.js
lib/defaults/options-defaults.js

Thanks @yael-lorenzo-olx,
but it's already fixed with: a7ab599

Hi, I saw it previous my PR but could not run with the config I had. I will try again. Thanks for the quick reply!

Okay. If my fix will not help feel free to create a new issue with a description and your config.

I have made an empty value of urlPath: '' in options-defaults.js and made a folder named #{po} under rest folder such as you have defined the place holder concept under products in the demo folder. Is there something else.
I am trying to get it working on localhost:3001/{any value but products | search } with GET

It seems you try to get a response with url http:localhost:3001/:something.
Currently that's not possible because that is not an usual implementation of an rest api.
Usually you have an path part which describes the version number http:localhost:3001/rest/v1 and a part which defines the response like users/:userId. You can compare it with SQL SELECT * FROM users WHERE id = 'userId';. In your example the first level placeholder is po which don't help me to find your idea.
Example with swagger: http://petstore.swagger.io/
Can you describe what po means? Did I missed a case where a dynamic first level URI part is needed?

Hey again, po does not have a meaning, it is "product object" variable shortener.
In my PR it is possible what you describe.
The requirement is this first comment
I understand the idea of what you describe regarding normal behavior.
We have a provider which API url starts with a version number. We would love to manage any version number.
The issue is that we dont know the version of the api provided.
The scenarios in the DEMO folder that we can cover are intially are

http://localhost:3001/unkown_version_number/variable_value (this will match our requirement)
http://localhost:3001/products/1234 (also working from your initial demo)
The other examples you wrote 👍

File structure:

#{po}

GET

...

#{otherVar}

GET

...

products

...

search ...

The logic would be, if the unkown_version_number != from any first folder declared as static, the mock under this folder would be used.
So, with http://localhost:3001/v13/definitions
The first path I am interested in is v13.
Does it match any folder in ( #{po}, products, search )?
No.
The #{po} must be used.  And that is all.
As wee see it, we cannot use more than one variable "folder".
Sub folders continue with the logic you have already implemented.
Is it a little bit clearer?


fix: deprecated usage of 'class' keyword

Just changed them to AnyObject as Xcode suggests according to Swift changes

Should be fixed with one of the recent pull requests


Service Times

Adjust process and scan service time to include Frontier and Noritsu.

Adjusted. @digijim, how will we change the "equation" to reflect Noritsu and Frontier? Right now there is only one service time calculated.

If we do end up offering a faster TAT on Noritsu scans, perhaps a new line could be added to the Service Times page: "You quite possibly could receive your order one day sooner by ordering Noritsu scans!"

Recap of our conversation: No need to worry about this for now. Eventually we'll have separate TATs for each scanner. We'll cross that design bridge when we find it. 😎


This section is missing any information describing how to connect and execute the SQL...

... or if this s for getting data into or out of databricks or both.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ecfca52d-a392-f63c-ffe1-268d4c480cee
Version Independent ID: 4010709b-99e5-f0ed-adb4-8f9cc3899862
Content: Azure Databricks for SQL developers - Azure Databricks - Workspace
Content Source: databricks/spark/latest/spark-sql/index.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@StingyJack You have checked this link Queries in SQL Analytics, which describes how to connect and execute the SQL queries in SQL Analytics.

Hope this helps.

@CHEEKATLAPRADEEP-MSFT  SQL developers are used to having a database driver, sql query analyzer or Sql management studio, and a connection string, and being able to query the db directly in adhoc fashion.
That's the missing info.

@StingyJack  Thanks for the feedback! Your feedback has been shared with the content owner for further review.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to address your issue and apologize for the delayed response. We are closing this issue, but if you feel that it's still a concern, please let us know directly at<EMAIL_ADDRESS>#please-close

We are closing this issue, but if you feel that it's still a concern, please let us know

I asked for some basic instructions on how to connect.  If this has been addressed by an update to the document - or it is an poor or ignorant question - just say so. An unnecessary apology and then just leaving someone hanging like this is as bad as having stalebot blindly close an issue that you were unable to find time for. Its like answering a support call, placing the caller on hold, then just hanging up after having them on hold for an hour.  It doesnt make the problem they needed help with go away, it just creates more problems than if you left the caller on hold indefinitely.

Invalid command: '#please-close'. Only Microsoft employees can use this command.

Speaking of stalebot, this is the one instance where a bot that handles GH issues actually does the right and ethical thing of not closing the issue.

@StingyJack We've created an internal work item (DOC-6995) to incorporate your suggestions. The requested updates have not yet been made. The timeline for resolution varies based on resourcing. We are closing this issue for now, but feel free to comment here as necessary.
#please-close

#please-close

@StingyJack We've created an internal work item (DOC-6995) to incorporate your suggestions. The requested updates have not yet been made. The timeline for resolution varies based on resourcing. We are closing this issue for now, but feel free to comment here as necessary.

Since I cannot see your internal work item how am I supposed to know if or when this is done?

We'll post an update here when the issue is resolved.


Can a OneNote taskpane support SSO?

I have tried creating a new taskpane and including a WebApplicationInfo element in the manifest using the same credentials as my Word/Excel/PPT add-in and set the taskpane to load the same url.
When I open the taskpane in onenote after uploading the add-in manually I see the following error in the console:
TypeError: Office.auth is undefined
However as far as I can tell from the doco here: https://learn.microsoft.com/en-us/javascript/api/office/office.auth?view=common-js this should be available to me?
I would like my taskpane to be able to use the same authentication mechanisms for OneNote as the other office apps.

Hi, @Admiral-Skye !
Did you solve the issue?

Sadly no


Bug: ServiceException: An error occurred (ServiceException) when calling the Invoke operation

Background
Observed crash in apps function related to invoking the rule processor:
Traceback (most recent call last):
File "/var/task/app_integrations/main.py", line 39, in handler
app.gather()
File "/var/task/app_integrations/apps/app_base.py", line 438, in gather
while (self._gather() + self._sleep_seconds() <
File "/var/task/app_integrations/apps/app_base.py", line 423, in _gather
exec_time = Decimal(timeit(do_gather, number=1))
File "/usr/lib64/python2.7/timeit.py", line 237, in timeit
return Timer(stmt, setup, timer).timeit(number)
File "/usr/lib64/python2.7/timeit.py", line 202, in timeit
timing = self.inner(it, self.timer)
File "/usr/lib64/python2.7/timeit.py", line 100, in inner
_func()
File "/var/task/app_integrations/apps/app_base.py", line 412, in do_gather
self._batcher.send_logs(self._config['function_name'], logs)
File "/var/task/app_integrations/batcher.py", line 53, in send_logs
if self._send_logs_to_stream_alert(source_function, logs):
File "/var/task/app_integrations/batcher.py", line 114, in _send_logs_to_stream_alert
Qualifier='production'
File "/var/runtime/botocore/client.py", line 317, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 615, in _make_api_call
raise error_class(parsed_response, operation_name)
ServiceException: An error occurred (ServiceException) when calling the Invoke operation (reached max retries: 4): An error occurred and the request cannot be processed.

Desired Change
Investigate what's going on and probably not cause a hard crash :)

any update on this issue? I encounter this issue today on our app as well.


Fix check is crawlera response

very nice work, just a question here, is Crawlera deprecating the X-Crawlera-Version header? If so, could you please point that out here and add it to the documentation?
This should definitely be added as a new version as well, so we are missing the bump.

Hey @eLRuLL It is not being deprecated, the latest release has a bug that is returning an empty value for the X-Crawlera-Version header


Wildcard based packet filtering isn't working as expected

Summary of Bug
Packet filtering wildcards are not working as expected, for eg. the below wilcard PortId 'transfer*' is matching 'ft-transfer'.
policy = 'allow'
list = [
    ['transfer*', 'channel-1'],
]

Version
v0.13.0
Failing test
#[test]
fn packet_filter_regex() {
    let allow_policy = r#"
            policy = 'allow'
            list = [
              ['transfer*', 'channel-1'],
            ]
            "#;

    let pf: PacketFilter = toml::from_str(allow_policy).expect("could not parse filter policy");
    assert!(!pf.is_allowed(
        &PortId::from_str("ft-transfer").unwrap(),
        &ChannelId::from_str("channel-1").unwrap()
    ));
}

Acceptance Criteria
The above test must pass or we should clarify what the wildcard means/matches; the documentation describes the wildcard ica* as all identifiers starting with ica -> https://github.com/informalsystems/ibc-rs/blob/master/config.toml#L206-L212
#             Optionally, each element may also contains wildcards, for eg. 'ica*'
#             to match all identifiers starting with 'ica' or '*' to match all identifiers.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Looks like we forgot to anchor the regex with ^ and $


I was expecting to get keys similar to what array returns:
>>> (foreach [k v @[1 2 3]] (println k v))
0 1
1 2
2 3
nil

I fixed this now.

I fixed this now.

I fixed this now.

Great, I'm going to refactor the encode function asap. Maybe implement the decode function also if I find the time tonight.

I fixed this now.

Great, I'm going to refactor the encode function asap. Maybe implement the decode function also if I find the time tonight.

@jenshaase It seems there is a bug in the fix for this.
When I run (foreach [k v (set 1 2 (set 1 2))] (println k v)), I get:
>>> (foreach [k v (set 1 2)] (println k v))
0 1
0 2
nil

Shouldn't it be?
0 1
1 2
nil

@jenshaase It seems there is a bug in the fix for this.


Finalizer support in GDScript

There are often times when coding that some code needs run before a function returns, regardless of how it returns. Examples of this can include unlocking mutexes, or closing database connections. What I propose is support in GDScript for finalizers. There are a couple ways that I have seen this done in other languages:

try/finally blocks. In Java, for instance, you can do something like:

try {
     // Do a thing
} finally {
    // Clean up the thing
}

This works well for langauges like Java that have first class exceptions, but it might be a little heavy handed and verbose for GDScr ipt, since Exceptions aren't really a thing here.

Python-like with statements. GDScript is Python-like, so this might be a feasible approach, but this would make working with 3rd party libraries (especially native libs) a PITA since not all "closeables" could be relied on to implement this, requiring the developer to implement a wrapper class before this could be used. Maybe there is a cleaner way to implement this though. If you have an idea, I am all ears.

Golang's defer keyword. I find Go's defer statement the most elegant approach to this problem, personally. In Go, you could do something like the following:

func foo() (string, error) {
    defer func() {
        fmt.Println("blaz")
    }()
    defer bar()
    var err error
    // something returns an error
    if err != nil {
        return "", err
    }
   return "foo", nil
}

func bar() {
    fmt.Println("bar")
}

In this example, when foo is called, the first thing it does is "defer two function calls (one anonymous, and one declared). These defererd functions are pushed onto a stack and when the function returns, whether it returns when err != nil or at the end of the function body (before the function actually returns), it pops off each defered function from the stack, and calls it.
This is an elegant approach that is simpler to implement than the others, but there is one issue with this approach in regards to GDScript. Without functions being first class objects, and the ability to create closures, the usefulness of this approach is fairly limited, as having to define defered functions externally means you don't always have necessary variables in scope. When working with pointers, you can get around this by taking a c-like approach and passing the instance in as a function parameter and modifying it from the deferred function, but for value types like int, you don't have this luxury, unless there is a way of creating a reference to the value type and passing that in?
I'm opening this up for discussion here, but I think this would be a huge boon for the language and depending on the approach, could be rather simple to implement.

You already have ‘call_deferred’.
‘’’gdscript
func foo():
call_deferred(“bar”)
call_deferred(“baz”, 1, true)
return 0
‘’’
But I wonder if this common method had some sintax shugar just like ‘get_node’ has ‘$’:
‘’’gdscrip
func foo():
defer bar()
defer baz(1, true)
return 0
‘’’

FYI, you can currently do this by creating a RAII container class, although it's a bit verbose.
For example, here is it for an Image lock:
# Instance one of these
class ImageLock:
    var image = null
    func _notification(what):
        if what == NOTIFICATION_PREDELETE:
            # Unlock in destructor, called automatically if instance goes out of scope
            image.unlock()
            # BTW, we may need an overridable `_predelete` function for this

If lambdas were in GDScript we could write only one RAII class that calls any clojure we want. No need for extra keywords.
One more reason to have lambdas. Good.

@hilfazee By lambdas do you mean actual lamdas? Like one-liners? Or do you just mean anonymous functions as first class objects? If the former, that's not enough in my opinion. If the latter, I agree we should have this, but I don't necessarily see it as a requirement, more as an enhancenent. To me, first class functions are somewhat orthogonal to this discussion.

@hilfazer I think we are talking about the same thing, just arguing semantics. :)
I agree, that being able to do something like:
func foo():
    defer func():
        print("inner!")
    return true

would be nice. :)

By the way, they're called closures, not clojures. Clojure is a variant of lisp.

@akien-mga what should be the next step here? Everyone seems to be mostly on the same page. I vaguely remember "first class function" support being listed in a previous Patreon survey (though I haven't seen in mentioned since then). Is this already on the roadmap? is there more discussion needed? What can we do to get the ball rolling on this?

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Merge ol.style.Circle and RegularShape together

As I suggested in https://github.com/openlayers/ol3/pull/6144#issuecomment-261542842, 95% is common. Both classes could be merged.

I like all the red.
I still think it makes sense for the renderers to render circles.  It also makes sense to move the responsibility for regular shape rendering.  In addition, as @tchandelle mentions in https://github.com/openlayers/ol3/pull/6144#issuecomment-261542842, both circle and regular shape should get the same high DPI treatment.  So I think this change makes sense before either of these other efforts proceed.


Suggestions Integrate angular-datatables

Hey everyone, I think this project is very good. If you can integrate angular-datatables, it is really perfect.

I'm submitting a problem
Current behavior

Expected behavior
try with-options

Minimal reproduction of the problem with instructions
Can't bind to 'dtOptions' since it isn't a known property of 'table'. ("
  <nb-card-body>

][dtOptions]="dtOptions" class="row-border hover">

"): ng:///TablesModule/WithOptionsComponent.html@7:21
Can't bind to 'dtOptions' since it isn't a known property of 'table'. ("
  <nb-card-body>

][dtOptions]="dtOptions" class="row-border hover">

"): ng:///TablesModule/WithOptionsComponent.html@7:21
Can't bind to 'dtOptions' since it isn't a known property of 'table'. ("
  <nb-card-body>

][dtOptions]="dtOptions" class="row-border hover">

Environment

- node version:v10.10.0
- angular version:6.0
- angular-cli version:6.0
- jquery version:3.3.1
- datatables version:1.10.19
- angular-datatables version:7.0.0

I fork project ngx-admin ;
try to integrated angular-datatable
read  getting started
But there are exceptions
project code
Please help me

set app.module.ts
improt DataTablesModule.forRoot(),
set tables.module.ts
imports  DataTablesModule


Error cs0103 the name 'x' does not exist in the current context

I have shared my setup(attached images) , I can't found the problem
JIC , I have all the necessary dependencies

The code looks correct.
What platform are you targeting? And which version of the c# compiler are you using?

sure, I'm using "dotnet 2.1.4" on macos hight sierra with visual studio comunity 2017 , I'm targeting on .net core 2.0 with the default version (c# 7.1 the latest)

This doesn't seem to be an issue with FluentValidation....I think there's possibly something wrong with your environment.
I'm running on High Sierra and this compiles fine (I tried with VS Code rather than VS for mac). A few things things I'd suggest checking:

Does this happen on a command line build? Or only in VS?
Does this happen with older versions of dotnet? I'm currently running an older version (2.0.0) on my mac (and I have the latest preview build on my windows box)
I'm going to assume that if you try compiling in windows it works fine?
Does the same thing happen using expression trees when you don't have FluentValidation installed? Eg, does this compile?

public class Person { public string Name {get;set;} }

public class ExpressionTest {
  public ExpressionTest() {
     RuleFor<Person, string>(x => x.Name);
  }

 public void RuleFor<T, TProperty>(Expression<Func<T,TProperty>> expression) {
 }

}

Sure thanks a lot for your time

Thanks for your time I will work more on that and I will come back with you


GitHub/workflows/release

This PR adds a GitHub workflow utilizing this action: https://github.com/marketplace/actions/rust-release-binary
After this is merged main should be git tagged.  The tag should match the cargo version - I wonder if there is a way to sync git tags to cargo version?
With the tag in place, creating a Release on GitHub should trigger this action which will:

build x86 binaries for Windows, Mac and Linux
copy the LICENSE and README.md to a folder named mcumgr-client-<target>-x86 then zip it
get a SHA256 checksum of each zip
upload the zips and checksums to the release page

The workflow took between 1-2 minutes for me.
See an example of what the release page will look like here: https://github.com/JPHutchins/mcumgr-client/releases/tag/0
And logs from the run: https://github.com/JPHutchins/mcumgr-client/actions/runs/6821898796
Note that I have only minimally tested (AKA executed) the linux and windows binaries.
TODO: get "Apple Silicon" builds working.  I was not able to cross-compile from x86 Linux.  Apparently, if GitHub x86 mac runners are using MacOS >= 11, I can get this working.  More information: https://github.com/rust-lang/rust-analyzer/issues/6732

Thanks! Would be nice if the Mac version is built as well. We are using both x86 and M1 Macs, so would be best to build a universal binary, which runs on both architectures, if possible:
https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
I guess there are some projects which manage to build Mac versions, to see how they do it.

Not sure, if it helps, I don't have much experience with github actions, but I asked ChatGPT for it, and looks like it is possible to run it on a Mac, and then use the "lipo" to create an universal binary. Would this work?
jobs:
  release:
    runs-on: macos-latest
    strategy:
      matrix:
        include:
          - target: x86_64-apple-darwin
          - target: aarch64-apple-darwin
    steps:
      - uses: actions/checkout@v2
      - name: Install Rust
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Build for ${{ matrix.target }}
        uses<EMAIL_ADDRESS>        with:
          args: build --release --target ${{ matrix.target }}
      - name: Combine Binaries into Universal Binary (Only on x86_64)
        if: matrix.target == 'x86_64-apple-darwin'
        run: |
          lipo -create -output "target/universal/release/your_binary_name" "target/x86_64-apple-darwin/release/your_binary_name" "target/aarch64-apple-darwin/release/your_binary_name"
      - name: Upload Universal Binary
        uses: actions/upload-artifact@v2
        with:
          name: your-binary-universal
          path: target/universal/release/your_binary_name

@Frank-Buss OK, looks like we've got a build!  LMK if you have a chance to test it.
logs: https://github.com/JPHutchins/mcumgr-client/actions/runs/6828314215/job/18572200702
test release: https://github.com/JPHutchins/mcumgr-client/releases/tag/test6
I dislike how the files are being zipped without a parent directory, so I'm going to refactor this to remove the<EMAIL_ADDRESS>dependency and manually pack the release zips in the workflow.  I will also remove the macos build from the ubuntu runner since it's being built on macos.
Should I upload the macos-x86 and macos-aarch64 zips or rely on that macos-universal "just working"?

Nice, thanks! I tested it on my M1 and works. So I guess we don't need the 2 separate files.
Good idea to manually pack the files. You are right, should have a parent directory. And I think also doesn't need to have the target/universal/release/mcumgr-client directory, because they are separate zip files anyway for each architecture.

@Frank-Buss This is looking OK now!  Here's the latest example: https://github.com/JPHutchins/mcumgr-client/releases/tag/test12

Very nice, thanks!


[Question]: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0

What is your question?
I found an error when executing flutter clean -> flutter build apk ,  but it does not directly terminate the build. Instead, it will be packaged successfully. I want to know what impact this situation will have?
no issues were found during the use of the successfully built application

This is the kotlin version written by my android/build.gradle
I upgraded it from 1.7.10 to 1.8.10 a few days ago because use the latest dependency requires 1.8.0 or higher, so I upgraded it , similar to https://github.com/fluttercommunity/plus_plugins/issues/2018

This is my pubspec.yaml dependency

Checklist before submitting a question

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I am using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

same here

The same error occurred when I set ext.kotlin_version = '1.9.10'

@shinexoh I had the same problem using these dependencies below
device_info_plus: ^9.1.0
package_info_plus: ^4.2.0
share_plus: ^7.0.2

I managed to get around it by making the following adjustments
In android/build.gradle
ext.kotlin_version = '1.8.22'
dependencies {
        classpath 'com.android.tools.build:gradle:7.4.0'
}

But if it doesn't work, you can try the solution to this issue too
https://github.com/flutter/flutter/issues/130412


Arch arm nrf cleanup soc headers

This pull-request attempts to eliminate inclusion cycles in Zephyr builds for nRF SOCs, due to soc.h including kernel_includes.h

cycles are formed as kernel_includes.h ends up including soc.h again, via arch.h, arm_mpu.h etc.
cycles imposed restrictions on inclusion order (see #8629)

We want to get rid of the above. From now own, including soc.h shall only bring in HAL definitions specific to the SOC, including CMSIS.
Ideally, this clean-up should be done in all SOCs.
Note, that by removing kernel_includes.h, several source files (particularly in the BLE nRF subsystem) needed to explicitly include kernel-util headers.

Codecov Report

Merging #8661 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8661      +/-   ##
==========================================
- Coverage    64.3%   64.29%   -0.01%
==========================================
  Files         440      440
  Lines       42093    42093
  Branches     7046     7046
==========================================
- Hits        27066    27065       -1
- Misses      11827    11828       +1
  Partials     3200     3200

Impacted Files
Coverage Δ

samples/philosophers/src/main.c
96.87% <0%> (-1.57%)
:arrow_down:

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 7c9a1f0...ee27288. Read the comment docs.

Sanity check script has been run entirely and successfully for Nordic pca10028, pca10040, and pca10056 boards.


Implement changie changelog

Overview
Use changie to automate the changelog

Description:
Related issue(s):
Related code pull request(s):
Related link(s): #97

Checklist

[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] README.md updated and added information about my change
[ ] CHANGELOG.md updated and added information about my change

If you don't create a changelog entry you would get a message on your PR:


[Bug]

Describe the Bug
 My discord will not open
To Reproduce

Expected Behavior
 Whenever i open my discord, it says a fatal javascript error has occurred
Screenshots

Discord Version
 Stable
Additional Context
 Just Please help

Please change the name to something that describes the error better. Maybe something like "InconsistentInstallerState crash on startup"

Reinstall Discord, this is not something that BD touches.


Add joy example for circle row

I have added the example for a row of 3 circles drawn using Joy.Shape as required by this issue.

I've made some minor changes to the existing code. LGTM!

@nikochiko , I hope this resolves all the issues

@kushalpokharel this looks good to me. Can you please resolve conflicts with main so this can be merged?


add 64-bit arch to build to fix white screen

I only get a white screen when I open either the 32-bit version or 64-bit version that I build from source. I thought it could be related to this which is why I compiled a 64-bit version. I thought you might include my work, in case someone else may want it.

I don't have Windows to test this so I will take your word for it.

The compilation works just fine. But, I still get a white window when I open adminMongo. Do you know why that would be?

Hello sir,
m facing same issue .. my electron app going to run 365 days 24 hours...previously i was using ia32 package on 64bit... now m using x64 on 64 bit
see following cmd....
electron-packager . --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/win/icon.ico --prune=true --out=release-builds --version-string.CompanyName="CompanyName" --version-string.FileDescription=CE --win32metadata.requested-execution-level=requireAdministrator --version-string.ProductName="project_name"
will it be useful ?
please help

The compilation works just fine. But, I still get a white window when I open adminMongo. Do you know why that would be?

solved problem??
i updated electron --- v4.0.6
m using 64bit windows OS
Packaging app for platform win32 x64 using electron v1.7.16-- command while packaging
blank white screen after one day..
Please Help


Remove { priority } constructor option

New constructor signature await new Config(path, { mode, sandbox })

@tshemsedinov  Can I take this issue?

Sorry, it's done, take nest from https://github.com/search?p=1&q=label%3Ametacontribute&type=Issues


Disable Responsive design

Hello @ all ...
Has anyone here a tip to disable fast the Responsive design?
thanks & greets

Just don't include the bootstrap-responsive.css file in the . Easy peasy

Just remove the extra CSS :). In the docs it's in a separate file, and in the customized download, it's at the end of the file.


Local email

Make SMTP optional in dev env, this can help the newbies be able to start the service without much configuration.

Thank you!


Sync Modal lists already saved Extensions

Describe the bug in current situation
GIVEN a user has already saved (i.e., synced) the extension(s) to the request
AND the user adds another extension in AXIS
AND the user clicks the sync button
WHEN the user clicks the 'Review Changes from AXIS'
THEN the user will see the new extension listed
AND the user will see the already synced extensions listed

Link bug to the User Story
#1540
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Low.  Confusing for the user, but does the stale extensions listed are not saved again to the request.
Chance of Occurring (high/medium/low/very low)
Unknown
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to a request in AXiS
Add an extension
Go to the same request in Flow
Click the Sync button
Click 'Review Changes from AXIS' in the sync modal
Click 'Save Changes'
See the extension added to the request
Add another extension in AXIS
7.Click the Sync button
Click 'Review Changes from AXIS' in the sync modal
See the new Extension listed
See the previous stale extension still listed.
Click 'Save Change'
See that only the new extension is added to the request (i.e. the stale extensions are not duplicated)

Actual/ observed behaviour/ results
Expected behaviour
GIVEN an extension or any synced data has already been saved to a request
WHEN the user syncs new data
AND clicks 'Review Changes from AXIS' in the sync modal
THEN the previously synced extensions will no longer be listed
AND only the new extension will appear
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

Hi @aparna-aot - looks good to me!

Thanks @aparna-aot - the issue appears to be correct, and I like the addition of the red text when our app has an extension but AXIS does not.
One thing I noticed, and I'm not sure if its because of the RFD issue - but it seems the sync is now still pulling extensions, but its just showing a blank field:

It has no impact on the extension log or LDD - but it might be confusing for users. Given that, I am going to put this back in review to see if we can fix that little piece

Update - this issue will be fixed when #1905 goes to TEST - adding a dependency to this. This should be retested when 1905 is released to test

Confirmed fixed with #1905 - nice work @aparna-aot !


Add cycle detection with panic

Fixes https://github.com/aws-controllers-k8s/community/issues/1327
Description of changes:
The majority of our code-generator templates and methods rely on our custom resource properties being represented as DAGs. That is, they can recurse through their children until they reach primitive values at the base. Without a major refactor, it is not possible to support a cyclic field reference. This pull request adds logic to detect a cycle as we are iterating over new fields and will panic to tell the user about the limitation.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Nice improvement!

Nice improvement!


Can't download library-all.js from CDN

Hey guys,
I've tried to download the library-all.js resp. library-all-dbg.js files from CDN. It works for latest but not for earlier releases:
Works: https://sapui5.hana.ondemand.com/resources/sap/m/library-all.js
404: https://sapui5.hana.ondemand.com/1.46.11/resources/sap/m/library-all.js
I assume this is not intended since the library-all.js are also included in the downloadable SDKs... I'd need these files since they are pretty convenient for code completion. Could they be filtered by accident on the server? Just guessing...
BR
Chris

Aargh - and we would like to get rid of those dinosaurs :-(
Well, maybe it's worth to discuss what exactly makes the library-all.js files so convenient? Or, asking it differently, did you try the library-preload.js files and don't they give the same result? They contain the same code, but it's packaged slightly different.
Is execution of the code necessary for your code completion scenario? That IMHO would be the main difference between library-all.js (immediately executing all modules) and library-preload.js (not executing any of the modules).

Hm, I guess not. library-preload.js should be fine to get the completion work (will try).
The one think it won't do is get you the related JSDoc. The complete docs are contained in library-all-dbg.js. I don't see a library-preload-dbg.js which would be of course meaningless at runtime :)
Any alternatives for that purpose? Otherwise it would be great if someone could check on why they are not downloadable from CDN.

Sorry, should have answered that second part of the question already.
The "latest" (or active) version is somewhat special and created from a different artefact (because it requires a server side part that handles the multi-version support). So it's more unintentional that the "latest" version contains the library-all.js files rather than that it is unintentional that the named versions don't contain it.
The availability of JSDoc comments is indeed an issue and the individual *-dbg.js files are the only alternative currently (they're also referenced by the source maps).
I guess for an answer, we first have to make up our minds if we want to support that use case with special bundles or not.
One more question: how do you use the files currently: download and then? Would it be an option to offer a download that creates an "all" file on the fly (not promising anything)? What IDE are you targeting?

I recently create the small tool ui5-schemas that downloads the schema files and links them in WebStorm. It works like a charm. Now I was planning to extend the support to JS. Therefore the library-all-dbg.js files would have been the perfect choice :/
So if you can provide a way to produce such a downloadable file (if on the fly or however) it would be really awesome!

After thinking about this for a while, using the sourcemap files as entry point seemed promising.
Each of our bundles comes with a sourcemap file, each sourcemap contains an array of URLs that point to the contained "-dbg.js" files.
If executability of the result is not a must, then building a library-all-dbg file boils down to a series of requests (first sourcemap, then "-dbg" sources) and a final join.
See https://jsbin.com/deriyomona/edit?html,console for an example how this could look like in a modern browser (tested with Chrome). For NodeJS it should work similarly (replace fetch with requestand migrate from promises to callbacks).
Basically, developer tools with sourcemap support execute the same sequence of requests in the background when loading the original sources for our minified library-preload.js bundles.

Hm... Sounds like a workable solution. I will try that approach. A little more work then just downloading a file though...
Thanks
Chris


Improvement suggestion

I suggest an update to the app that allows the injection of a script when generating the payload.
A pre-made script that allows the payload to ask for permission to open in the background, so that the target can use the smartphone without having to use the payload, so we can access the payload through xhunter.

Update the payload first


Commissioning Zigbee End Devices  (CON-1296)

Describe the question/query that you have
I have the zigbee gateway devkit. After following the steps in Zigbee Bridge example, I was able to flash and commission the zigbee bridge and it can now be added as a hub in Alexa as well as in Rainmaker App.
Even after adding the zigbee bridge, when I try to add zigbee devices in Alexa, it says "Your device needs a hub to connect to Alexa". I am not sure how can I add the zigbee end devices to work with the matter-zigbee_bridge example.
Additional context
`I (25792) esp_matter_attribute: ********** W : Endpoint 0x0000's Cluster 0x00000030's Attribute 0x00000000 is 0 **********
E (25792) zigbee_bridge: Unable to Update Bridge Device, ep: 0, cluster: 48, att: 0
I (25792) chip[EM]: <<< [E:46470r S:42275 M:76736135 (Ack:162606593)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:09 (IM:InvokeCommandResponse)
I (25802) chip[SVR]: Commissioning completed successfully
I (25802) chip[DIS]: Updating services using commissioning mode 0
I (25802) chip[DIS]: CHIP minimal mDNS started advertising.
I (25812) chip[DIS]: Advertise operational node 072A1D9FE6478F71-038E815F96662240
I (25822) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'; instance name: 072A1D9FE6478F71-038E815F96662240.
I (25822) chip[DIS]: mDNS service published: _matter._tcp
I (25822) chip[SC]: SecureSession[0x3fca43d8, LSID:42274]: State change 'kActive' --> 'kPendingEviction'
I (25832) chip[BLE]: Releasing end point's BLE connection back to application.
I (25832) app_main: Commissioning complete
I (25832) esp_matter_core: Commissioning Complete
I (25832) app_main: Commissioning window closed
I (25832) NimBLE: GAP procedure initiated: stop advertising.
I (25832) NimBLE: GAP procedure initiated: terminate connection; conn_handle=1 hci_reason=19
I (25852) chip[DL]: Write request/command received for CHIPoBLE TX CCCD characteristic (con 1 ) indicate = 0
I (25852) chip[DL]: CHIPoBLE unsubscribe received
I (25852) chip[DL]: BLE GAP connection terminated (con 1 reason 0x216)
I (25862) chip[DL]: BLE deinit successful and memory reclaimed
E (25862) chip[BLE]: no endpoint for unsub recvd
I (25862) esp_matter_core: BLE Disconnected
I (25932) chip[EM]: >>> [E:46470r S:42275 M:162606594 (Ack:76736135)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (25942) chip[EM]: >>> [E:46471r S:42275 M:162606595] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:08 (IM:InvokeCommandRequest)
I (25942) esp_matter_command: Received command 0x00000009 for endpoint 0x0000's cluster 0x0000003E
I (25942) chip[ZCL]: OpCreds: Received an UpdateFabricLabel command
I (25962) chip[FP]: Metadata for Fabric 0x1 persisted to storage.
I (25972) chip[EM]: <<< [E:46471r S:42275 M:76736136 (Ack:162606595)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:09 (IM:InvokeCommandResponse)
I (25982) chip[EM]: >>> [E:46471r S:42275 M:162606596 (Ack:76736136)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (25992) chip[EM]: >>> [E:46472r S:42275 M:162606597] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:02 (IM:ReadRequest)
I (26002) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000028's Attribute 0x0000FFFC is 0 **********
I (26002) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000028's Attribute 0x0000FFFD is 3 **********
I (26002) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000028's Attribute 0x00000005 is (empty) **********
I (26012) chip[EM]: <<< [E:46472r S:42275 M:76736137 (Ack:162606597)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (26052) chip[EM]: >>> [E:46472r S:42275 M:162606598 (Ack:76736137)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (26062) chip[EM]: >>> [E:46473r S:42275 M:162606599] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:02 (IM:ReadRequest)
I (26062) chip[EM]: <<< [E:46473r S:42275 M:76736138 (Ack:162606599)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (26082) chip[EM]: >>> [E:46473r S:42275 M:162606600 (Ack:76736138)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (26092) chip[EM]: >>> [E:46474r S:42275 M:162606601] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:02 (IM:ReadRequest)
I (26102) chip[EM]: <<< [E:46474r S:42275 M:76736139 (Ack:162606601)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (26132) chip[EM]: >>> [E:46474r S:42275 M:162606602 (Ack:76736139)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (28202) chip[EM]: >>> [E:46475r S:42275 M:162606603] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:06 (IM:WriteRequest)
I (28212) chip[EM]: <<< [E:46475r S:42275 M:76736140 (Ack:162606603)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:07 (IM:WriteResponse)
I (28232) chip[EM]: >>> [E:46475r S:42275 M:162606604 (Ack:76736140)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0000:10 (SecureChannel:StandaloneAck)
I (28232) chip[EM]: >>> [E:46476r S:42275 M:162606605] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:03 (IM:SubscribeRequest)
I (28242) chip[DMG]: Final negotiated min/max parameters: Min = 1s, Max = 300s
I (28252) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x0000001F's Attribute 0x0000FFFC is 0 **********
I (28252) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000028's Attribute 0x0000FFFC is 0 **********
I (28262) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000028's Attribute 0x0000FFFD is 3 **********
I (28262) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000028's Attribute 0x00000005 is (empty) **********
E (28262) chip[DMG]: Error retrieving data from clusterId: 0x0000_0028, err = b
I (28272) chip[EM]: <<< [E:46476r S:42275 M:76736141 (Ack:162606605)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (28472) chip[EM]: >>> [E:46476r S:42275 M:162606606 (Ack:76736141)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:01 (IM:StatusResponse)
I (28472) chip[IM]: Received status response, status is 0x00
I (28472) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000030's Attribute 0x0000FFFC is 0 **********
I (28472) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000030's Attribute 0x0000FFFD is 1 **********
I (28482) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000030's Attribute 0x00000000 is 0 **********
E (28482) chip[DMG]: Error retrieving data from clusterId: 0x0000_0033, err = b
I (28492) chip[EM]: <<< [E:46476r S:42275 M:76736142 (Ack:162606606)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (28532) chip[EM]: >>> [E:46476r S:42275 M:162606607 (Ack:76736142)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:01 (IM:StatusResponse)
I (28542) chip[IM]: Received status response, status is 0x00
I (28542) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x0000003C's Attribute 0x0000FFFC is 0 **********
I (28542) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x0000003C's Attribute 0x0000FFFD is 1 **********
I (28552) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x0000003E's Attribute 0x0000FFFC is 0 **********
E (28552) chip[DMG]: Error retrieving data from clusterId: 0x0000_003E, err = b
I (28562) chip[EM]: <<< [E:46476r S:42275 M:76736143 (Ack:162606607)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (28772) chip[EM]: >>> [E:46476r S:42275 M:162606608 (Ack:76736143)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:01 (IM:StatusResponse)
I (28772) chip[IM]: Received status response, status is 0x00
I (28782) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x0000003E's Attribute 0x0000FFFD is 1 **********
E (28792) chip[DMG]: Error retrieving data from clusterId: 0x0000_003E, err = b
I (28802) chip[EM]: <<< [E:46476r S:42275 M:76736144 (Ack:162606608)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (28872) chip[EM]: >>> [E:46476r S:42275 M:162606609 (Ack:76736144)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:01 (IM:StatusResponse)
I (28872) chip[IM]: Received status response, status is 0x00
I (28882) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000036's Attribute 0x0000FFFC is 0 **********
I (28882) chip[ZCL]: Node is currently connected to Wi-Fi network with BSSID:
I (28882) chip[ZCL]: The current type of Wi-Fi security used: 4
I (28882) chip[ZCL]: The current 802.11 standard version in use by the Node: 3
I (28892) chip[ZCL]: The channel that Wi-Fi communication is currently operating on is: 4
I (28892) chip[ZCL]: The current RSSI of the Node’s Wi-Fi radio in dB: -50
I (28892) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000036's Attribute 0x0000FFFD is 1 **********
I (28902) chip[EM]: <<< [E:46476r S:42275 M:76736145 (Ack:162606609)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:05 (IM:ReportData)
I (28962) chip[EM]: >>> [E:46476r S:42275 M:162606610 (Ack:76736145)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0001:01 (IM:StatusResponse)
I (28962) chip[IM]: Received status response, status is 0x00
I (28962) chip[EM]: <<< [E:46476r S:42275 M:76736146 (Ack:162606610)] (S) Msg TX to 1:038D91DEAB9EE1C1 [8F71] [UDP:<IP_ADDRESS>:5541] --- Type 0001:04 (IM:SubscribeResponse)
I (28972) chip[DMG]: Registered a ReadHandler that will schedule a report between system Timestamp: 0x000000000000739A and system Timestamp 0x0000000000050392.
I (28982) chip[EM]: >>> [E:46476r S:42275 M:162606611 (Ack:76736146)] (S) Msg RX from 1:038D91DEAB9EE1C1 [8F71] --- Type 0000:10 (SecureChannel:StandaloneAck)
`

You should setup a light bulb on ESP32-H2 following https://github.com/espressif/esp-matter/tree/main/examples/zigbee_bridge#22-setup-zigbee-bulb-on-esp32-h2. If the light bulb is in the same channel as the Zigbee bridge, it will joining the Zigbee network and an endpoint will be added to the bridge.

@wqx6 Is it not possible to add some other end devices ? I have some Vetaar zigbee devices from Anchor (smart plug, dimmer).

Firstly, you should figure out what pair method your zigebee end-devices are using to join a Zigbee network. Are the devices using steering/install-code/touch-link to join the network? Our Zigbee bridge are using steering to add a Zigbee device by default. If the end-devices are using other pair mode, you should also change the pairing mode on the Zigbee bridge. Please raise issue on https://github.com/espressif/esp-zigbee-sdk if you have any issues on adding Zigbee device to Zigbee gateway.
Note that currently the zigbee bridge supports only on-off light zigbee end devices, if you want to add more device types, you need to add the device types support in zigbee_bridge.cpp
once you have added the device to the network, you can read the data model with the Bridge and create the dynamic endpoint for the zigbee device.

Thanks for this information. I will try to add the zigbee light to the gateway and also find the pairing method being used.


Support the use of IConvertible or providing a Converter when binding an object?

http://msdn.microsoft.com/en-us/library/system.iconvertible(v=vs.110).aspx

Not gonna do this. We convert and bind all the base types anyway.


Border/Shadow/Scrollbar appear on Content/Menu right side after clicking on Button/Item

Short description of the problem:

Border/Shadow/Scrollbar appear on Content/Menu right side after clicking on Button/Item
Only appear on real device
Android only

Steps to reproduce:

Start a sidemenu project
Add a button with no action
Build apk and click on button running on device

Which Ionic Version? 1.x or 2.x
2.rc1
Plunker that shows an example of your issue
Since this is only happen on real device, here's the screen recording: http://gifyu.com/image/S26Q

Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.38
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v6.9.1
Xcode version: Xcode 8.0 Build version 8A218a

Hello, thanks for using Ionic! Unfortunately I am not seeing this on any of my Android devices. What version of Android are you testing with?

Hi, I'm testing it on Android 6.0.1, facing the same issue on ionic v1 but it goes away when I set $ionicConfigProvider.views.transition('platform'); in app.js but no luck with v2 when I set pageTransition: 'platform' in app.module.ts. I did try and error with 'ios', 'android', 'md' but no luck either.

Hello. After further research it looks like this issue is a duplicate of https://github.com/driftyco/ionic/issues/6416. Because of this I am going to be closing this issue for now. Thanks!


fix: GH-ISSUE #3142

To fix https://github.com/go-swagger/go-swagger/issues/3142

Hi @dadgar,
I think this PR can solve the issue you mentioned in #3142.
Could you please help to test it? Thanks!

After this PR is merged, the test case Test_GenerateClient  should be passed:
go test -timeout 30s -run ^Test_GenerateClient$ -tags development -count=1 ./generator/...


51 - Improve documentation

Improved structure and contents of documentation.
Close #51.

The layout of the documentation in the end is a bit weird. In the navigation pane, things show up as 'submodule' and MSMetaEnhancer.libs packages - I think it would be nice to have the actual documentation would follow the package structure
Documentation
|-Application
|-Services
|-CIR
|-CTS
|-...
|-Utils
|-...
|-Curator
|-Spectra
But it actually creates something like this:

@hechth I think this has been the case before. This PR is a solid improvement of the docs and I will create a new issue to track your concern.


Not working when generating static pages

Much appreciated for the work in this module.
Although it works on SPA & SSR, it doesn't work when you statically generate pages. Any fix for this? Thanks

Hi, @paulgv
Expressions in a template are evaluated on running generate command so detecting a user agent is not possible.
You can use defaultUserAgent option to specify user-agent on the time.
https://github.com/nuxt-community/device-module#options

This didn't work for me. Logging fromthis.$device.isMobile from npm run generate still returns false. I ended up using window.matchMedia in a process.client conditional block to solve my specific task.


Tracking: Identity

Is your feature request related to a problem?
Current implementation of the indentity is so far really bad and therefore I would like to propose a new way of doing/handling identity:
Technical background:

[ ] Implement multichain @subsquid identity indexer (for Kusama, Basilisk, Moonriver, Acala, Astar).
[ ] fetch data from indexer instead of connecting to chain - That's why you see hundreds of connection logs on the landing page
[ ] Cache the data for at least 3 days - indentity does not change much.

Vue:

[ ] rewrite into a smaller pieces (may fixed by #3749)
[ ] turn off that hover on the phone :)

Describe the solution you would like
~
Just a 🧠 dump, will process after 🇪🇸
Describe alternatives you have considered
~
Screeenshots
No response
Are there opened related issues?
No response


Expression Validation

currently there is an unimplemented _validate_expression method in the client that should validate a query's on and where clause according to the patterns laid out here https://mixpanel.com/docs/api-documentation/data-export-api#segmentation-expressions
this method is commented out in pretty much every query call in the client. I'll give it a go if I have some free time sometime soon.

That would be awesome! Thanks.


req command doesn't work with providers

....therefore if your implementation is in a provider, it won't be found.  I believe I was told in a past PR that EVP_PKEY_asn1_find_str() was to be deprecated.

Good catch.  It's not very hard to adapt it, PR coming up!

Refactoring is in #15400, currently in draft

@levitte , should I mark this as closed or will you?

@anhu, it will happen automatically when #15400 is merged, since the commit there has "Fixes #15388" in it


Alert displayed without being invoked

Adding <?= \hail812\adminlte\widgets\Alert::widget(); ?> into the content layout, the alert widget is displayed in each page without actually to have invoked to setFlash session method, while the Yii2 alert widget only is showed when a setFlash message is invoked.

You need to create your own custom Widget Alert to incorporate your requirements. That one is not controlled by default session configuration


❓ Is it possible to use a frame processor plugin to process a static image?

Question
The frame processor plugins can process video frames. I wonder if it is possible to use a frame processor plugin to process a static image from the camera or from the album. Since a frame processor is a native module, can we add an extra method like processImageFile to a plugin?
What I tried
No response
VisionCamera Version
2.14.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

I tried to enable both the module and the plugin.
@Override
    public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
        List<NativeModule> modules = new ArrayList<>();
        modules.add(new VisionCameraDynamsoftLabelRecognizerModule(reactContext));
        VisionCameraDLRPlugin plugin = new VisionCameraDLRPlugin();
        plugin.setContext(reactContext);
        FrameProcessorPlugin.register(plugin);
        return modules;
    }

Then I got the following error:
Native module VisionCameraDynamsoftLabelRecognizer tried to override VisionCameraDynamsoftLabelRecognizerModule. Check the getPackages() method in MainApplication.java, it might be that module is being created twice.

I removed the line in MainApplication.java, which seems to make it work:
packages.add(new VisionCameraDynamsoftLabelRecognizerPackage());


Update contact info. in README

Update contact info. in README
Signed-off-by: Saravanakumar<EMAIL_ADDRESS>

This change is

@jarrpa, I fully agree!


What is the intent for having LightGBMClassificationModel, LightGBMClassifier? How are they different?

The question is all there is actually.
I am having to build the model using LightGBMClassifier but I cannot predict. For prediction I save as a native model then I use LightGBMClassificationModel
I am struggling to understand the need for the two modules? Can you help me understand the idea behind the two modules?

Good question!
LightGBMClassifier trains a model and LightGBMClassificationModel is the model. The difference is that the former is a SparkML Estimator and the latter is a SparkML Transformer.
See this for more info:
https://spark.apache.org/docs/latest/ml-pipeline.html#pipeline-components
Feel free to re-open if this doesn't answer your Q


New Reserved Instance Type - 1-Year Convertible Instance

now Reserved Instances Offering class 'Convertible' supports 1-year term, which seems to be more expensive than usual RI (Offering class 'Standard');
it would be great to have those prices for comparison as well.
I'll try to find some time to put PR for that, or at least help anyone who can do that quickly.
https://aws.amazon.com/blogs/aws/ec2-convertible-reserved-instance-update-new-1-year-cri-merges-splits/

thank you!


Team 2  alasdair branch

Averts divide by zero edge case if a tower's fire rate is reduced to 0 shots per second. If TowerCombatTask attempts to set it's fireRateInterval to 1/0, it will instead be set to 0.
TowerUpgraderComponent is now part of all towers made, not just weapon towers.

Looks good, nice pick up of the edge case


Chromium does not persist sorting order in HTML report

Describe the bug
When sorting the coverage report by a column in Chromium, clicking on a module report and then going back results in the table being sorted by the default order (name) again.
To Reproduce

What version of coverage.py are you using? The output of coverage debug sys is helpful
5.1
What commands did you run?
coverage html -d tests/htmlcov

Chromium Version: 81.0.4044.122
Expected behavior
Sorting order is persisted after navigation
Additional context
Does work in Firefox. Maybe related to #611

The sorting is persisted in Chrome.  Do you know what the difference is here between Chrome and Chromium?

No idea, but it might be something else.
Where is the sorting order supposed to be persisted? On the "Local Storage"? Because the Application Tab in the F12 menu doesn't show any values there.

I can't be certain, but I think this is fixed with #1066.  Let me know if the problem persists.

This is now released as part of coverage 5.3.1.


How do I install Maximo with oc commands / yaml?

Update readme to include how to deploy Maximo using oc commands instead of using a bash script.

This has been resolved.


Version 3.1 windows support, time to test and performance

I made a new 3.1 branch with work of @Meijuh
Please @alaarman can you test if it works under Linux + Windows and if the performance is stable, the RNG of the load balancer in the -mc tools has been changed for Windows compatibility.
We also need to fix the Travis build so it works.

where is it?

https://github.com/utwente-fmt/ltsmin/tree/3.1

all works fine