Can't open, close or toggle Drawer

I will try to gather more information on the reasons and maybe a replicable demo, but for now, here is a rough briefing:
Since some update (not sure if RN 0.61 or a specific version of react-navigation / react-navigation-drawer) the following methods have zero effect:

navigation.openDrawer()
navigation.closeDrawer()
navigation.toggleDrawer()

Also dispatching the actions as these methods work internally like navigation.dispatch(DrawerActions.openDrawer()) also doesn't work.
My current versioning:
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

So I've found the root of my issue, which is that my navigator stacks inside the drawer route config have the following config:
...
navigationOptions: {
  drawerLockMode: "locked-closed",
},

However, I am pretty sure that used to just disable opening / closing the drawer with gestures, I used to toggle it programatically (by calling navigation.toggleDrawer() or similar). Can anyone confirm or clarify, please? Thank you! 🙏

Thanks for finding the cause :) I spent way too long trying to figure out what was wrong...
This really should have been mentioned as a breaking change in a changelog if it was an intended change. This seems like a regression though as the docs haven't changed and still mention gestures only: https://facebook.github.io/react-native/docs/drawerlayoutandroid.html#drawerlockmode.
@satya164 was there a reason this was closed without any comments?

Hey @OzzieOrca!
What was the reason of this issue? Is it possible to openDrawer if lock-closed is set to createDrawernavigator?

It's been a while... If my memory is correct, I had a drawer with
navigationOptions: {
  drawerLockMode: "locked-closed",
},

and calling openDrawer worked fine.
I assume after upgrading react-navigation (it'd take some research to figure out which version) openDrawer stopped working.
It makes sense that "locked-closed" would block gestures but it's weird that it also blocks the programatic API. Removing "locked-closed" fixed things. I think our need to avoid gestures had gone away and this was fine for our use case. But if there are multiple gesture components on the screen, someone may want to prevent gestures but still open the drawer programmatically.

@OzzieOrca Thanks for a quick response! Yeah, you're right, locked-closed doesn't work with openDrawer in react-navigation v4.
The workaround is to use edgeWidth. If edgeWidth is set to 0, then the drawer won't be swiped from the left.
The problem here is, that in my case edgeWidth should be different for different screens. It would be quite easy to implement this if edgeWidth would be defined in navigationOptions.
Unfortunately, it's specified as a default prop and I cannot get the navigation prop to check the current screen. Maybe you know, what can be the solution?

Nope I have no solution for you 🙁 We were fine with re-enabling gestures as the requirements changed and we removed gestures on our main page. edgeWidth sounds interesting. This seems like a regression that slipped through but I assume it's probably not high priority for the react-navigation team.


chore: prepare release 0.17.2

Nothing meaningful changed so I'm just changing the changelog version as the 0.17.1 wasn't released as stable.
Commits kept in https://github.com/excalidraw/excalidraw/tree/dwelle/0.17.2-commits so we can use this branch later if we need to release 0.17.3

@excalibot trigger release


TLS issue

Hi
Firstly, thank you for the awesome work with this repo.
I am stuck in my process of creating a cluster.
The script runs fine until it gets to the: "TASK [k8s-setup : Create kube-apiserver to kubelet RBAC]" part.
Error im getting:
"fatal: [<IP_ADDRESS> -> <IP_ADDRESS>]: FAILED! => {"attempts": 10, "changed": true, "cmd": ["/usr/local/bin/kubectl", "--kubeconfig=/etc/kubernetes/admin.conf", "apply", "-f", "/tmp/apiserver-to-kubelet-rbac.yml"], "delta": "0:00:00.074493", "end": "2018-09-06 14:30:49.764857", "msg": "non-zero return code", "rc": 1, "start": "2018-09-06 14:30:49.690364", "stderr": "unable to recognize "/tmp/apiserver-to-kubelet-rbac.yml": Get https://:8443/api?timeout=32s: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config\nunable to recognize "/tmp/apiserver-to-kubelet-rbac.yml": Get https://:8443/api?timeout=32s: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config", "stderr_lines": ["unable to recognize "/tmp/apiserver-to-kubelet-rbac.yml": Get https://:8443/api?timeout=32s: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config", "unable to recognize "/tmp/apiserver-to-kubelet-rbac.yml": Get https://:8443/api?timeout=32s: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config"], "stdout": "", "stdout_lines": []}"
Im also getting this error whenever i try to use kubectl
Unable to connect to the server: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
So it would seem that the issue is that nothing can invoke the command kubectl
Please, any help will be greatly appreciated

found the issue, it was because i did not specify a ip in the all.yaml under the vip entry

So what IP you end up using, the first master or a random one?


Roll Flutter Engine from d138750764ef to 7b525ca942fa (2 revisions)

https://github.com/flutter/engine/compare/d138750764ef...7b525ca942fa
2022-09-19<EMAIL_ADDRESS>Roll Skia from d2020ca0dcdd to c523e5ad7ca8 (1 revision) (flutter/engine#36243)
2022-09-19<EMAIL_ADDRESS>[Impeller] Implement Color blend mode (flutter/engine#36120)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Is it possible to use lume CLI to use the cms config to build the site?

I'd like to run deno task lume cms --build or something similar to build the site using the CMS configuration (storage configuration). My goal here is not to run the CMS, but to use its configuration for fetching the artifacts for lume to use to perform a build.
It looks like the CMS lume adapter wants to use lume config (_config.ts) to build the site, and then use the CMS with src storage to watch files for changes to rebuild lume.
I'd like to try to;

Use lume CMS configuration to fetch all document, collection, etc from storage
Use lume CLI to build the site using the data from the first step

Lume allows to add pages dynamically from the _config.ts file, I guess that could be possible.
The problem I see is the cms content, is stored as a context variable in the Hono instance, I don't know if there's a way to access to this data from outside.

I'll keep pondering this as well as well. It seems like adding an option to CMS configuration to run an async bootstrap which populates the CMSContent documents, collections and uploads.
Here's what I'm thinking;

Document : Iterate over all document configs fetching each from storage and populate documents.
Collection : Iterate over all collection configs, and the iterate over the collection async iterator and fetch all documents inside the collection, then populate collections.
Upload : Iterate over all upload configs, and the iterate over folders and fetch all uploads much like the template does, then populate uploads.

Okay, I've moved the content creation to a different function initContent(), so you can get it without init Hono:
const content = cms.initContent();

const { documents, collections, uploads } = content;

for (const document of Object.entries(documents)) {
  console.log(await document.read());
}

for (const collection of Object.entries(collections)) {
  for (const { name } of collection) {
    const document = collection.get(name);
    console.log(await document.read());
  }
}

for (const upload of Object.entries(uploads)) {
  for (const { name } of upload) {
    const file = upload.get(name);
    console.log(await file.readFile());
  }
}

A minor fix to your example code here.. the for (const { name } .... lines should be for await (const { name } .... and this fetches all of the data for all of my documents, collections and uploads! Sweet.
I was poking around the lume repo trying to make more sense about how I'd use these within a _config.ts... or are you thinking something like;

Fetch and write all of the files locally in a path
Configure the lume build to use that path
Build the site

Edited my previous comment with your fix.
Lume allows to create pages dynamically in the _config.ts. file with the site.page() function:
site.page({
  url: "/final-url/",
  layout: "/post.vto",
  title: "Title of the post",
  // ...
});

One idea is to iterate the cms content to create pages for each document.
Another idea is using a generator page to create all pages out of the _config.ts. More info: https://lume.land/docs/core/multiple-pages/


Error running the scanner github action

Below is the error running the Github action. We did not change anything in the action.  Did a transitive dependency change. The error indicates we did not get a JSON payload back
{
  message: 'Unexpected token T in JSON at position 1',
  status: undefined,
  stack: 'SyntaxError: Unexpected token T in JSON at position 1\n' +
    '    at JSON.parse (<anonymous>)\n' +
    '    at /home/runner/work/_actions/mitchspano/sfdx-scan-pull-request/v0.1.15/dist/index.js:1:12983\n' +
    '    at Generator.next (<anonymous>)\n' +
    '    at /home/runner/work/_actions/mitchspano/sfdx-scan-pull-request/v0.1.15/dist/index.js:1:12738\n' +
    '    at new Promise (<anonymous>)\n' +
    '    at o (/home/runner/work/_actions/mitchspano/sfdx-scan-pull-request/v0.1.15/dist/index.js:1:12485)\n' +
    '    at cli (/home/runner/work/_actions/mitchspano/sfdx-scan-pull-request/v0.1.15/dist/index.js:1:12871)\n' +
    '    at /home/runner/work/_actions/mitchspano/sfdx-scan-pull-request/v0.1.15/dist/index.js:1:13250\n' +
    '    at Generator.next (<anonymous>)\n' +
    '    at /home/runner/work/_actions/mitchspano/sfdx-scan-pull-request/v0.1.15/dist/index.js:1:12738',
  output: undefined
}

      - name: Run SFDX Scanner - Report findings as comments
        uses<EMAIL_ADDRESS>        with:
          pmdconfig: ruleset.xml
          severity-threshold: 3
          strictly-enforced-rules: '[{ "engine": "pmd", "category": "Performance", "rule": "AvoidDebugStatements" }]'
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Are you able to reproduce this issue? I am using v0.1.15 with no issues

closing due to inaction and inability to reproduce


adding tables to mirgator

We forgot to add the new tables to the migrator script

For now I wanna keep the "old" metrics tables, .. some users still might find it interesting/important
but the migration needs to create these two new tables


luci-proto-wireguard: make AllowedIPs optional

From #5307
Honestly, I haven't tested this because I'm not sure how to build openwrt.  In theory it should work because I have tried removing the AllowedIPs lines from /etc/config/network and the wireguard interface worked fine.
So I think this commit should fix it without any side effects... but I would appreciate if someone would test it or help me test it.

Ok, I tested this change by editing making the edits in /www/luci-static/resources/protocol/wireguard.js on a working  openwrt device.
I was able to delete all AllowedIPs for one peer in the GUI.  After saving and applying, I checked/etc/config/network and confirmed that the list allowed_ips lines were gone.

cc @danrl  @zx2c4 @feckert
AllowedIPs has been a required field since 2016 when danrl introduced the wireguard protocol support into LuCI with #852.
Discussion about it has also been in #4047
Not sure if it should be required or optional, so I am CCing more knowledgeable people...
More explanation from the author in issue #5307

LGTM.
Indeed, I was under the impression this is a required field back when I implemented the LuCI part of the stack. Thanks for the fix and providing the detailed scenario in he other thread, Kevin.

@keith24 From my point of view, there is nothing to be said against it.
This option is also optional for the proto handler https://github.com/openwrt/openwrt/blob/master/package/network/utils/wireguard-tools/files/wireguard.sh
Therefore I am merging this now

Should this be backported to 21.02?  (the 21.0.20 release tagging will likely happen tomorrow)
Ps. If it is backported, the commit title might be sanitised.

Should this be backported to 21.02? (the 21.0.20 release tagging will likely happen tomorrow)

done https://github.com/openwrt/luci/commit/71fe35ce69b9dbbd3e4ae2d6e1cae12809c01e10

Ps. If it is backported, the commit title might be sanitised.

@hnyman damn, I overlooked that, sorry :-) you're absolutely right.


to_json in rails project is slow

Maybe we can switch to Oj.dump instead? See benchmark

See the discussion in #118. The recommended way to use Oj in Rails is to use the oj_mimic_json gem.


"Silberling" Standard Box 130 for all electronic building blocks from the 70's

Make a standard small box 130 x 95  mms for the "hobby" electronic building blocks

One FrameElectronicBlock
One FrameElectronicBlockConnector
One FrameControlLight
Two AxisDial
SmallPartsBox for cables

Started, currently blocked by documentation activities

Building Kits/hobby/ElectronicBlockBoxBase.scad
Generic Box, parametrized Module with support for OpenSCAD Customizer
Boxes for all h4 and hl electronic building block created


feat: add positioning to Toasts

📑 Description

Added positioning parameter to Toast.
Small changes to layout in order to be able to copy the example toast from Flowbite.com
Extended Toast documentation to be in line with Flowbite.com

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed
[x] My pull request is based on the latest commit/version

ℹ Additional Information
Removed w-fit class from Button as it was conflicting with the possibility of adding w-full to buttons.

Thanks for your PR.
I got a flu and not able to sit in front of computer more than 5 min.
I will have a look at this once I'm recovered.
I'd like to ask you a favor, if you can.
I get an issue time to time and if you can comment or reply to it, it will be helpful.


Gradle Improvements

Move org/json to a gradle dependency
Include JUnit as a gradle dependency
Allow tests run  as part of a gradle build ie gradle test

:+1:


Avoiding double slash when setting the target installation path

When installing bats in my local env, I used /usr/local/ as argument for install.sh.
The generated path for bats installation was /usr/local//bin/bats.
I've just added a very simple logic in install.sh script to avoid this double slash, supporting both with and without trailing slash in the specified path.

Multiple slashes should not matter. Did you run into any problems?

@ztombol It would not hurt having a cleaner implementation either

@ztombol bats is installed with no problems. The only issue is the prompted message:
Installed Bats to /usr/local//bin/bats

As @RomanSaveljev said, this is more about a cleaner implementation and a more polished output.

Oops! I missed that path is echoed back to the user.
Good job! :+1:


ENH: Enable alias lookup and units lookup

Purpose
This Pull request make it possible to:

Search standard_name aliases.
Search (only) canonical units
It also adds a text box that explains how advance searches (regular expressions and logical linked word list) can be used to query the table.

This PR resolves

https://github.com/cf-convention/cf-convention.github.io/issues/59 (alias search)
#200 #27 (units search)

Technical notes

The changes include a refactoring of the javascript code to make it more readable/maintainable (sorry for the reviewers).
The implementation is rudimentary javascript without any library, so not the prettiest but it's lightweight.
To reduce the amount of changes introduced by this PR we could remove:

The python script generate_html.py that I used to generate the html (needed to create the demonstrator).
The html itself, in case a dedicated tool will be used to generate it by the CF team.

Hi @JonathanGregory, I'm not sure you are the right person to ping here but I would like to make sure this PR get some attention.

Dear @japamment
In the last commits:

I modified the (current) xls to include the alias search feature in it.
I added a small python script to transform the xls into a html.
I also added the resulting html to illustrate the script results.

It seems to work as intended, I was able to test locally the html and the alias search was working fine.
I will remove the python script and the html once we agree on the implementation.
Unfortunately, I'm not sure I will find time to work on unit search (#200) in the near future so I would prefer to merge/close this PR with only these changes.

I realize that the current state of the PR include some refactoring (such as extracting the js in a separate file) that might make it hard to review and may be unwanted.
If they are, I can revert those changes.

Hi @bzah
I've taken a look at the pull request - I'm not an expert on xsl code but have tried the Demonstrator and am happy with the results it is producing.
I have one comment about the PR as it stands: I think we don't actually need the Data/generate_html.py script. In the current workflow, the xslt script is initiated using a make file, for example, cf-convention.github.io/Data/cf-standard-names/81/makefile. If it is invoked with
make cf-standard-name-table
it first runs the xsltproc command, then a small python script inject-area-type-link.py which, as the name suggests, adds a url to the description of the area_type standard name to point to the area_types table. There is no need to specify a version number as all the processing takes place in the same subdirectory tree (81 in my example).
I plan to rationalise the way that the standard name processing works (the current setup pre-dates our use of GitHub for the website) but for the purposes of this pull request I think it is better to stay consistent with our current workflow.

Is there anything I can do to help this PR move forward ?
If you are looking for an experienced JS dev to review it, I can ask around to try to find someone willing to do it.

Dear Abel @bzah
Thanks for your patience. I suppose it would be most useful if someone familiar with the existing code reviewed the modification. But if that can't be arranged, I think it should be safe to merge now, since it's already been well-tested. Does anyone object?
Cheers
Jonathan

@JonathanGregory @bzah
I think the original code was written by someone at PCMDI back in about 2006 and it hasn't been changed much since then, so I'm not sure we'll really find a JS expert who is all that familiar with it. My own feeling is that we should merge this change now as it seems to do everything we need. I can then readily incorporate it into the standard names workflow.
Cheers
Alison

@japamment @bzah and I all think it's OK to merge now. Separately Alison has explained that the code was originally written at PCMDI long ago, before we moved to GitHub, so it's unlikely the original author could review it. I will merge this change on Thursday (6th) if no-one objects. I won't do it tomorrow because our US colleagues may not be working today (Tuesday 4th).


do not assert on external_ip not found, instead log and return

fixes #1917

the real error happens because ssl certs are missing. closing this for now


Socket creation leaks file descriptors

Version of neli
0.7.0-rc2
Does the documentation specify that neil's behavior is correct?
No.
Does there appear to be a mistake in the netlink documentation based on the kernel code?
No.
Describe the bug
Creating new sockets seems to slowly leak file descriptors.
To Reproduce
Steps to reproduce the behavior:
loop {
    let socket = NlRouter::connect(NlFamily::Generic, None, Groups::empty());
}

Expected behavior
I would expect dropping NlRouter to clean up and close file descriptors.
Additional context
Long running process that creates new NlRouter instances stop working after open file limit is reached.
lsof -p 765069 2> /dev/null
COMMAND PID    USER   FD      TYPE  DEVICE SIZE/OFF     NODE NAME
netlink 765069 user  cwd       DIR  253,1     4096  17732909 /home/user/netlink
netlink 765069 user  rtd       DIR  253,1     4096         2 /
netlink 765069 user  txt       REG  253,1 27632920  20945955 /home/user/netlink/target/debug/netlink
netlink 765069 user  mem       REG  253,1  2216304  31727755 /usr/lib/x86_64-linux-gnu/libc.so.6
netlink 765069 user  mem       REG  253,1   940560  31727758 /usr/lib/x86_64-linux-gnu/libm.so.6
netlink 765069 user  mem       REG  253,1   125488  31722342 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
netlink 765069 user  mem       REG  253,1   240936  31727752 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
netlink 765069 user    0u      CHR  136,2      0t0         5 /dev/pts/2
netlink 765069 user    1u      CHR  136,2      0t0         5 /dev/pts/2
netlink 765069 user    2u      CHR  136,2      0t0         5 /dev/pts/2
netlink 765069 user    3u  a_inode   0,14        0        55 [eventpoll]
netlink 765069 user    4u  a_inode   0,14        0        55 [eventfd]
netlink 765069 user    5u  a_inode   0,14        0        55 [eventpoll]
netlink 765069 user    6u  netlink             0t0 101896854 GENERIC
netlink 765069 user    7u  netlink             0t0 101900301 GENERIC
netlink 765069 user    8u  netlink             0t0 101898862 GENERIC
...clip...
netlink 765069 user 1021u  netlink             0t0 103272955 GENERIC
netlink 765069 user 1022u  netlink             0t0 103298799 GENERIC
netlink 765069 user 1023u  netlink             0t0 103280090 GENERIC

Hi @ollipa! I think there are two things at play here.
One piece is that you're using the library in a way that was not intended. There really should only need to be at most one NlRouter per protocol that you're using in netlink. They are intentionally designed to handle all messages for a given protocol, multicast included. I think you're missing out on some of the benefit if you're creating an NlRouter for each request.
That being said, there is also a bug here. Dropping an NlRouter should clean up the message processing thread which it does not currently do. Because the NlSocket is wrapped in an Arc which has one reference owned by the processing thread, the socket is never dropped.
I can fix the bug on my end, but I'd strongly recommend designing your usage of NlRouter to keep them alive for as long as possible. I don't anticipate that you will get good performance if you spin them up and shut them down a lot.

I'm working on the fix now. Hope to get it working in a couple of days.


#1203 slider improving label positioning and width

Fixes a few issues in https://github.com/adobe/react-spectrum/issues/1203
Moves the label value to the edge when on top and align start when a side label.
Default width is 192px.
Changed the width on the width and label overflow stories.
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Test all the slider stories, specifically the value stories, the the label side, the label overflow, and the custom width stories.
🧢 Your Project:
RSP

Discussed where the default width should be set and it should be on the track. This is how other labeled form components like TextField are done, with it on the input and not the container wrapping the label and the input. The custom width should go on the container.


Not collecting more than 1000 listings?

Not sure if this is a bug or what, but after 1000 listings have been collected for a certain call, the queries stop. For example, if I try to request the top 2000 listings in /r/learnprogramming, I see this in debug mode:
[debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=2000. ratelimitRemaining: 599 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1900&after=t3_4d1etw. ratelimitRemaining: 598 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1800&after=t3_4ckgb4. ratelimitRemaining: 597 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1700&after=t3_3v17bs. ratelimitRemaining: 596 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1600&after=t3_3pjrqc. ratelimitRemaining: 595 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1500&after=t3_52h90d. ratelimitRemaining: 594 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1400&after=t3_4lwus2. ratelimitRemaining: 593 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1300&after=t3_4b49co. ratelimitRemaining: 592 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1200&after=t3_3w4vzw. ratelimitRemaining: 591 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1100&after=t3_52o33q. ratelimitRemaining: 590 [debug] Received a 200 status code from a `get` request sent to https://oauth.reddit.com/r/learnprogramming/top?raw_json=1&count=9999&limit=1000&after=t3_4256ur. ratelimitRemaining: 589
And then it just stops. As you can see, the limit param is still at 1000, meaning there are 1000 more listings that I still have not received. Digging into the code I found that the query.after value was not being set on the last call which caused the queries to stop, however I'm not sure what exactly that implies. Am I missing something here?

Thanks for the report. I'm pretty sure this is actually a limitation of reddit's API; it only allows pagination up to a certain point, and after that it no longer allows you to view more pages (although it still allows you to view submissions if you have the permalink).
As a demo of the usual pagination behavior, see this link: https://www.reddit.com/r/learnprogramming/top.json?limit=1&t=all
Note that there are keys for "after": "t3_4q6tae", "before": null. (This is the top post on the front page of the sub, so the ID might be different if a new post reaches the top.) This indicates that in the next request, you can add that as a querystring param to get the next results:
https://www.reddit.com/r/learnprogramming/top.json?limit=1&t=all**&after=t3_4q6tae**
That will return another response with an after key, and so on. However, once you get past a certain point, reddit returns after: null. At this point, you can't fetch anything else (putting an after param there manually yields an empty response like this), so snoowrap stops fetching things and returns all the submissions that it has accumulated so far.

Awesome explanation, thank you @not-an-aardvark. Shame that we are limited in this way...I was hoping to grab a huge dataset to use for some ML fun.

I'm going to close this issue since it seems to be resolved, but feel free to continue the discussion.


Handle recurring payments starting with pn_result > 1

PayFlow Pro does not return recurring payments older than five years. So, for old recurring subscriptions, the first recurring payment returned by the API won't start at pn_result1.
Since the while loop ends as soon as a pn_result\d is found, it never finds any recurring payments for these old subscriptions.
This change fixes parse_parameters to search over all pn_result\d items and process each in order.

Thank you very much for this contribution. It took me awhile to get things set up to review this locally.


Use as name rather than module name in NAMING ERROR message

This usage of variable `toString` is ambiguous.

316|                 g (v `mul` (fromInt 10)) (denominator x) n (toString u ++ ".")
                                                                 ^^^^^^^^
Maybe you want one of the following?

    Basics.toString
    Data.Integer.toString

I've imported Data.Integer as I in this file so I would like it to say I.toString so I just write that in, otherwise I see this message and go off to write Data.Integer.toString and that's wrong

Not sure what to fix without an http://sscce.org/, so it makes sense to close this one. If you can reproduce it, open a new issue with the relevant code snippet.
@rtfeldman, feel free to do this kind of thing!


Is it possible debug one language when other Language Server is installing.

How can I know how long will this finished:

'Installing Kotlin Language Server'

I can't debug on device now, because of this installing didn't finished.

Can I stop it ?

Because my project didn't include Kotlin part, it's just java for android part.

So, is it possible debug with flutter even when other Language Server is installing ?

Restart computer not solve this. it still become  Installing.
Is it possible to show progress (like percent:  20%) ?    I waiting for a while now, but I don't know when it can be finished.

By some one's help,  I disabled the extensions:  Kotlin & Kotlin Language.   Then this downloading stopped.   Temp solve my proglem.

@jerryzhoujw please report installing issue against the Kotlin extension you are using.


COMPILATION ERROR:pulsar-kafka-compat-client-test

Describe the bug
pulsar-kafka-compat-client-test: Compilation failure
detail:[ERROR] /Users/liyi/workspace_java/github/myrepo/pulsar/tests/pulsar-kafka-compat-client-test/src/test/java/org/apache/pulsar/tests/integration/compat/kafka/PulsarKafkaProducerThreadSafeTest.java:[24,41] 找不到符号
[ERROR]   符号:   类 PulsarKafkaProducer
[ERROR]   位置: 程序包 org.apache.kafka.clients.producer
To Reproduce
Steps to reproduce the behavior:

Go to 'pulsar/tests/pulsar-kafka-compat-client-test'
Enter the command mvn package

Expected behavior
The module build successfully.
Screenshots

Desktop (please complete the following information):

OS: macOs Mojave 10.14.6

Additional context

branch 2.4

did you build the dependent modules ?

Yes, I did. Steps to build dependencies:

cd pulsar
mvn clean -U install -Dmaven.test.skip=true

and the result is success.

Looks good no issue then.

No, the problem is still there.
My second snapshot means the dependencies without testing can be built successfully.
But the module pulsar-kafka-compat-client-test still can't build successfully as you can see in my first snapshot.

you are not passing the right command
mvn -pl tests/pulsar-kafka-compat-client-test package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.classifier: osx-x86_64
[INFO]
[INFO] ------< org.apache.pulsar.tests:pulsar-kafka-compat-client-test >-------
[INFO] Building Apache Pulsar :: Tests :: Pulsar Kafka Compat Client Tests 2.5.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/tests/integration/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/tests/integration/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/tests/tests-parent/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/tests/tests-parent/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar/2.5.0-SNAPSHOT/maven-metadata.xml (604 B at 714 B/s)
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client-admin/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-admin/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-admin/2.5.0-SNAPSHOT/maven-metadata.xml (792 B at 812 B/s)
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client-api/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-api/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-api/2.5.0-SNAPSHOT/maven-metadata.xml (790 B at 700 B/s)
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-common/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-common/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-common/2.5.0-SNAPSHOT/maven-metadata.xml (786 B at 866 B/s)
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-kafka/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client-kafka/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-kafka/2.5.0-SNAPSHOT/maven-metadata.xml (792 B at 913 B/s)
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client-kafka-compat/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-kafka-compat/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client-kafka-compat/2.5.0-SNAPSHOT/maven-metadata.xml (624 B at 707 B/s)
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/pulsar-client/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/pulsar-client/2.5.0-SNAPSHOT/maven-metadata.xml (786 B at 830 B/s)
Downloading from central: https://repo1.maven.org/maven2/org/apache/pulsar/buildtools/2.5.0-SNAPSHOT/maven-metadata.xml
Downloading from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/buildtools/2.5.0-SNAPSHOT/maven-metadata.xml
Downloaded from apache.snapshots: https://repository.apache.org/snapshots/org/apache/pulsar/buildtools/2.5.0-SNAPSHOT/maven-metadata.xml (783 B at 941 B/s)
[INFO]
[INFO] --- git-commit-id-plugin:3.0.0:revision (git-info) @ pulsar-kafka-compat-client-test ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ pulsar-kafka-compat-client-test ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ pulsar-kafka-compat-client-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/a.ahmed/workspace/incubator-pulsar/tests/pulsar-kafka-compat-client-test/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ pulsar-kafka-compat-client-test ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ pulsar-kafka-compat-client-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/a.ahmed/workspace/incubator-pulsar/tests/pulsar-kafka-compat-client-test/src/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ pulsar-kafka-compat-client-test ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ pulsar-kafka-compat-client-test ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ pulsar-kafka-compat-client-test ---
[INFO] Building jar: /Users/a.ahmed/workspace/incubator-pulsar/tests/pulsar-kafka-compat-client-test/target/pulsar-kafka-compat-client-test.jar
[INFO]
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ pulsar-kafka-compat-client-test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.372 s
[INFO] Finished at: 2019-11-03T00:30:08-07:00
[INFO] ------------------------------------------------------------------------

@kevenYLi can you try the command that @aahmed-se points out?

FYI. It is an issue when you are using a version of maven which is older than 3.5. You can fix the issue by upgrading maven to be newer than 3.5.


raspberry pi media server

sorry guys to open ticket for my question , but I'm trying to let my raspberry pi connected client, share media files from storage connected to raspberry pi , I've already install NAS server but its not beautiful as your file manger lib , can you advise me how to use your lib for such media server

Hi.. You will need to install an apache or nginx server on your raspberry (of course with php).
Also you can do it only with php built server (for dev purposes) http://php.net/manual/en/features.commandline.webserver.php


Add ApeSwap Matic-BNB

Moo Ape MATIC-BNB
Vault = 0xB9dA6EdEeF7e3db24265EcFBeBF4e06B7c7A455f
Strat = 0x7c118E94cC65621db5FA0e38BDC111E81A9Bb72D
Want = 0x29A4A3D77c010CE100A45831BF7e798f0f0B325D
The contract was tested in this order: Deposit ,Harvest, Panic, Withdraw 50%, unpause, deposit, harvest, transferOwnership to multisig as suggested by Weso and Roman

Perfect. Congrats on the first vault!!


Replace the pkg_resources plugin discovery system

As noted in:
https://gist.github.com/ssteinbach/42b3fbccff60ad2409c9178272406c9a
and:
https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/928
There are problems with the pkg_resources based plugin discovery system.  That said, its very convenient.  We should consider replacing that system with a solution, possibly from here:
https://packaging.python.org/guides/creating-and-discovering-plugins/#using-package-metadata

@ssteinbach this can be closed, no?


Drag and drop with WASM target

(not sure if a bug or feature request)
Bevy version
bevy = "0.9.0"
What you did
I have a drag and drop system reading form FileDragAndDrop.
fn file_drop(
    mut dnd_evr: EventReader<FileDragAndDrop>,
    asset_server: Res<AssetServer>,
   /// etc.
) {}

This works perfectly fine for native targets: whenever I drag-and-drop a JSON, it takes it and processes it.
However, when compiled for WASM, the browser (tried in firefox, chromium) takes control of the drag and drop, rendering the JSON on screen.
What went wrong

what were you expecting?
I was expecting the FileDragAndDrop event to be triggered as with the native targets.
what actually happened?
The event is never triggered, the browser takes control of drag and drop.

Additional information
Maybe there's a way to disallow this behavior on the browser via Javascript without touching anything in Bevy?

Maybe there's a way to disallow this behavior on the browser via Javascript without touching anything in Bevy?

Yes. You'll need to register a drag-and-drop handler, which prevents default handling. Default = handled by browser ;)
For example:
document.body.addEventListener('drop', event => event.preventDefault());

I don't know if that's enough to get it working inside Bevy, though. It might work, but Bevy may also still need its own browser handler for dropping into its render target.

I tried that but didn't work either sadly, in the sense that my browser keeps showing me the JSON.
I rebuilt it with this hook before running the app (which I don't know if matters):
    #[cfg(target_arch = "wasm32")]
    console_error_panic_hook::set_once();

And noticed that it spits out this in the console after dropping the correct file:
Script terminated by timeout at:
real@https://carrascomj.github.io/shu/pkg/shu.js:195:18
FrameRequestCallback*getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c/<@https://carrascomj.github.io/shu/pkg/shu.js:431:37
handleError@https://carrascomj.github.io/shu/pkg/shu.js:227:18
getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c@https://carrascomj.github.io/shu/pkg/shu.js:430:84
winit::platform_impl::platform::event_loop::runner::Shared<T>::apply_control_flow::h4310295b2dc8cb41@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[1961]:0x3c53dd
winit::platform_impl::platform::event_loop::runner::Shared<T>::run_until_cleared::h96a95571071dd3fa@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[2891]:0x44fbf2
winit::platform_impl::platform::backend::timeout::AnimationFrameRequest::new::{{closure}}::h48db19324c0934f9@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[15688]:0x66e422
<dyn core::ops::function::FnMut<()>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h1d1be59b561114ca@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[19394]:0x69940b
__wbg_adapter_34@https://carrascomj.github.io/shu/pkg/shu.js:218:10
real@https://carrascomj.github.io/shu/pkg/shu.js:203:20
FrameRequestCallback*getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c/<@https://carrascomj.github.io/shu/pkg/shu.js:431:37
handleError@https://carrascomj.github.io/shu/pkg/shu.js:227:18
getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c@https://carrascomj.github.io/shu/pkg/shu.js:430:84
winit::platform_impl::platform::event_loop::runner::Shared<T>::apply_control_flow::h4310295b2dc8cb41@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[1961]:0x3c53dd
winit::platform_impl::platform::event_loop::runner::Shared<T>::run_until_cleared::h96a95571071dd3fa@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[2891]:0x44fbf2
winit::platform_impl::platform::backend::timeout::AnimationFrameRequest::new::{{closure}}::h48db19324c0934f9@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[15688]:0x66e422
<dyn core::ops::function::FnMut<()>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h1d1be59b561114ca@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[19394]:0x69940b
__wbg_adapter_34@https://carrascomj.github.io/shu/pkg/shu.js:218:10
real@https://carrascomj.github.io/shu/pkg/shu.js:203:20
FrameRequestCallback*getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c/<@https://carrascomj.github.io/shu/pkg/shu.js:431:37
handleError@https://carrascomj.github.io/shu/pkg/shu.js:227:18
getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c@https://carrascomj.github.io/shu/pkg/shu.js:430:84
winit::platform_impl::platform::event_loop::runner::Shared<T>::apply_control_flow::h4310295b2dc8cb41@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[1961]:0x3c53dd
winit::platform_impl::platform::event_loop::runner::Shared<T>::run_until_cleared::h96a95571071dd3fa@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[2891]:0x44fbf2
winit::platform_impl::platform::backend::timeout::AnimationFrameRequest::new::{{closure}}::h48db19324c0934f9@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[15688]:0x66e422
<dyn core::ops::function::FnMut<()>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h1d1be59b561114ca@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[19394]:0x69940b
__wbg_adapter_34@https://carrascomj.github.io/shu/pkg/shu.js:218:10
real@https://carrascomj.github.io/shu/pkg/shu.js:203:20
FrameRequestCallback*getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c/<@https://carrascomj.github.io/shu/pkg/shu.js:431:37
handleError@https://carrascomj.github.io/shu/pkg/shu.js:227:18
getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c@https://carrascomj.github.io/shu/pkg/shu.js:430:84
winit::platform_impl::platform::event_loop::runner::Shared<T>::apply_control_flow::h4310295b2dc8cb41@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[1961]:0x3c53dd
winit::platform_impl::platform::event_loop::runner::Shared<T>::run_until_cleared::h96a95571071dd3fa@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[2891]:0x44fbf2
winit::platform_impl::platform::backend::timeout::AnimationFrameRequest::new::{{closure}}::h48db19324c0934f9@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[15688]:0x66e422
<dyn core::ops::function::FnMut<()>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h1d1be59b561114ca@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[19394]:0x69940b
__wbg_adapter_34@https://carrascomj.github.io/shu/pkg/shu.js:218:10
real@https://carrascomj.github.io/shu/pkg/shu.js:203:20
FrameRequestCallback*getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c/<@https://carrascomj.github.io/shu/pkg/shu.js:431:37
handleError@https://carrascomj.github.io/shu/pkg/shu.js:227:18
getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c@https://carrascomj.github.io/shu/pkg/shu.js:430:84
winit::platform_impl::platform::event_loop::runner::Shared<T>::apply_control_flow::h4310295b2dc8cb41@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[1961]:0x3c53dd
winit::platform_impl::platform::event_loop::runner::Shared<T>::run_until_cleared::h96a95571071dd3fa@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[2891]:0x44fbf2
winit::platform_impl::platform::backend::timeout::AnimationFrameRequest::new::{{closure}}::h48db19324c0934f9@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[15688]:0x66e422
<dyn core::ops::function::FnMut<()>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h1d1be59b561114ca@https://carrascomj.github.io/shu/pkg/shu_bg.wasm:wasm-function[19394]:0x69940b
__wbg_adapter_34@https://carrascomj.github.io/shu/pkg/shu.js:218:10
real@https://carrascomj.github.io/shu/pkg/shu.js:203:20
FrameRequestCallback*getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c/<@https://carrascomj.github.io/shu/pkg/shu.js:431:37
handleError@https://carrascomj.github.io/shu/pkg/shu.js:227:18
getImports/imports.wbg.__wbg_requestAnimationFrame_4181656476a7d86c@https://carrascomj.github.io/shu/pkg/shu.js:430:84
[shu.js:195:18](https://carrascomj.github.io/shu/pkg/shu.js)

(It can be seen at https://carrascomj.github.io/shu)
I cannot access my filesystem either, but I think that's a WASM issue.

Looks like a bug that needs to be fixed and then an example created for :)

Could you check if you can get it to work with Winit (without Bevy) in WASM? Bevy just forward those events.
Also, the event from Winit gives a PathBuf on drop (https://docs.rs/winit/latest/winit/event/enum.WindowEvent.html#variant.DroppedFile) and as you noticed, there is no file system access in WASM. Not sure how that is supposed to work.

I checked just with winit (see dropdown below).
Running cargo run produces the desired behaviour, printing the path name on drop.
Running cargo run --target wasm32-unknown-unknown spits out a link like in the bevy case. Also like in the bevy case, dropping a file on the browser (firefox) get the browser to render the file (also running the snippet to prevent default behavior).
From that, I guess you are right in that it is a winit issue. For achieving the desired outcome, given the limitations of wasm and the filesystem, I believe I need to do the following:

Write a #[wasm_bindgen] function that can be called from javascript that deserializes the desired file like in here.
Write an event handler on the javascript side that calls that function to send the data.
Back in rust, the function could either write it somewhere and produce a FileDragAndDrop event (hacky) or access directly a Resource where the data should be put.

Is there some example of running custom #[wasm_bindgen] to interact with bevy's runtime? I think that's the trickiest part and I don't understand WASM super well. Maybe it would be good to note in FileDragAndDrop API docs or in the example that it won't work on WASM.

Winit example
use winit::{
    event::{Event, WindowEvent},
    event_loop::{ControlFlow, EventLoop},
    window::WindowBuilder,
};

fn main() {
    let event_loop = EventLoop::new();
    let window = WindowBuilder::new().build(&event_loop).unwrap();

    event_loop.run(move |event, _, control_flow| {
        *control_flow = ControlFlow::Wait;

        match event {
            Event::WindowEvent {
                event: WindowEvent::CloseRequested,
                window_id,
            } if window_id == window.id() => *control_flow = ControlFlow::Exit,
            Event::WindowEvent {
                event: WindowEvent::DroppedFile(path),
                window_id,
            } if window_id == window.id() => println!("File {:?} dropped in {:?}", path, window_id),
            _ => (),
        }
    });
}

I managed to make it work with a channel. Instead of emitting a FileDragAndDrop event, I am directly modifying the Resource that I was using for file input in a listener system.
After getting a lot of help, I have written down a stripped down version that may be useful for others as explained in https://github.com/bevyengine/bevy/discussions/6871.


Configuration not being saved

Describe the bug
I'm running the Portenta_H7_WiFi example and no matter what I do, when I open the browser and set the SSID and password and press Save it just stays there....
Steps to Reproduce
run Portenta_H7_WiFi example, connect to the SSID on your phone, go to the webpage <IP_ADDRESS>, write your SSID and password and hit SAVE
Expected behavior
The configuration should be saved
Actual behavior
nothing happens
Information

Arduino IDE version 1.8.19
Library version 1.6.0

Hi @dddhhhrrr
It's running normally here, so the issue is possibly your board issue (hardware, firmware, core version, etc.). Ask for help on Arduino Forum if necessary.
1. No Config Data => Config Portal at <IP_ADDRESS>
Start Portenta_H7_WiFi on PORTENTA_H7_M7 with Portenta_H7 WiFi
WiFiMulti_Generic v1.1.1
WiFiManager_Portenta_H7_Lite v1.6.0
[WG] Hostname=Portenta-Controller
Flash Size: (KB) = 2048.00
FlashIAP Start Address: = 0x80A0000
LittleFS size (KB) = 1280.00
LittleFS Mount OK
LittleFS Flag read = 0xd0d04321
Flag read = 0xd0d04321
No doubleResetDetected
Saving DOUBLERESETDETECTOR_FLAG to DRD file : 0xd0d01234
Saving DRD file OK
SetFlag write = 0xd0d01234
[WG] bg: isForcedConfigPortal = false
[WG] bg:Stay forever in CP:No ConfigDat
[WG] clearForcedCP
[WG] SaveCPFile
[WG] OK
[WG] SSID=WIFI_GENERIC_51F485,PW=MyWIFI_GENERIC_51F485
[WG] IP=<IP_ADDRESS>,CH=1
F
Your stored Credentials :
Blynk Server1 = account.duckdns.org
Token1 = token1
Blynk Server2 = account.ddns.net
Token2 = token2
Port = 8080
MQTT Server = mqtt.duckdns.org
Stop doubleResetDetecting
Saving to DRD file : 0xd0d04321
Saving DRD file OK
LittleFS Flag read = 0xd0d04321
ClearFlag write = 0xd0d04321
FFFF[WG]
h:UpdLittleFS
[WG] h:Rst

2. Config Data saved => working normally, even after power off-on
Start Portenta_H7_WiFi on PORTENTA_H7_M7 with Portenta_H7 WiFi
WiFiMulti_Generic v1.1.1
WiFiManager_Portenta_H7_Lite v1.6.0
[WG] Hostname=Portenta-Controller
Flash Size: (KB) = 2048.00
FlashIAP Start Address: = 0x80A0000
LittleFS size (KB) = 1280.00
LittleFS Mount OK
LittleFS Flag read = 0xd0d04321
Flag read = 0xd0d04321
No doubleResetDetected
Saving DOUBLERESETDETECTOR_FLAG to DRD file : 0xd0d01234
Saving DRD file OK
SetFlag write = 0xd0d01234
[WG] CCSum=0x1518,RCSum=0x1518
[WG] CrCCsum=0x1de6,CrRCsum=0x1de6
[WG] Valid Stored Dynamic Data
[WG] ======= Start Stored Config Data =======
[WG] Hdr=PORTENTA-H7-WIFI,SSID=HueNet1,PW=12345678
[WG] SSID1=HueNet,PW1=12345678
[WG] BName=Portenta_H7_M7
[WG] i=0,id=sv1,data=new-account.duckdns.org
[WG] i=1,id=tk1,data=token1
[WG] i=2,id=sv2,data=new-account.ddns.net
[WG] i=3,id=tk2,data=token2
[WG] i=4,id=prt,data=8080
[WG] i=5,id=mqt,data=new-mqtt.duckdns.org
[WG] WiFi connected after time: 1
[WG] SSID:HueNet,RSSI=-37
[WG] IP address:<IP_ADDRESS>
[WG] b:WOK
Stop doubleResetDetecting
Saving to DRD file : 0xd0d04321
Saving DRD file OK
LittleFS Flag read = 0xd0d04321
ClearFlag write = 0xd0d04321
H
Your stored Credentials :
Blynk Server1 = new-account.duckdns.org
Token1 = token1
Blynk Server2 = new-account.ddns.net
Token2 = token2
Port = 8080
MQTT Server = new-mqtt.duckdns.org


Products dropdown wasn't wide enough

it had a side scroll bar and it bothered me

This also closes #146

can you rebase off master?

I'll sync with you on rebasing on our call :)


⚠ ku-s has degraded performance

In 65a8a01, ku-s ($KU_API_STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 6703 ms

Resolved: ku-s performance has improved in 5902223.


Session TTLs With Redis

Thanks for the awesome product!  Quick question, my session is set to expire in the web.xml as 240 (4 hours).   When I look at a sample session key TTL in redis, I see something like:

TTL "85224AE603537F71E315227034067D18"
(integer) 21965

so 6 hours in Redis.  I saw a previous post where the web.xml session timeout was not being honored but sounded like that was fixed with a 1.9.X version and I'm using 2.1.1.
Any known issues with the redis TTL not in sync with the session timeout defined in the web.xml?
Thanks much,
Greg

Is the session timeout / maxInactiveInterval defined in server.xml/context.xml? This one would be preferred over web.xml.

No, was just the web.xml, thanks very much, I'll take a look at defining in the server or context.xml


delete project

Lol what? @TaylanTatli close this yeah.

@libeclipse He made this by mistake, I think. :smile:

Finally,  i work out the mistake.:smile:


resolver vs verifier APIs: user defined IDs and request-response array order

I am playing with the verifier api you mentioned in #62,

GNverifier is a faster version of resolver.globalnames.org and it has its own api:
https://apidoc.globalnames.org/gnames

I see a major difference with https://resolver.globalnames.org/api
In resolver, as suggested in documentation, I was adding an id for each of the names in my list:
my-id-1|Parus major
my-id-2|Corvus corax
my-id-2|Ciconia ciconia
...

I suppose those ids were necessary because there is no guarantee that the results array will be sorted in the same order as the requested names. Correct? Or perhaps they were not strictly necessary because order was guaranteed anyway?
In https://apidoc.globalnames.org/gnames I don't see an option for setting these identifiers anymore.
Does this mean the order in the verifier API response is guaranteed to match the same order of names sent in request? (using either GET or POST methods)

resolver.globalnames.org is going to be retired somewhere in 2023 or the end of 2022.

Although I am still starting to use these APIs, it looks like resolver has many more optional parameters than verifier.
with_context, with_vernaculars, with_canonical_ranks
Are these going to be present in verifier as well?  Or just going to be removed because nobody uses them?
Thanks

@abubelinha, good points

You are right, the ID is removed because the order of results in gnames API query is guaranteed. I should add it to the documentation. Howerver, in gnverifier command line app, if more than 5000 names are processed in a file, the order of 5000 chunks is random by default. If order is important in gnverifier, the app has to run using 1 job. I think for most of the usecases a name-string is an OK ID by itself, so I decided to remove a minor inconvenience of inventing ID for every verified name.
Yes, not all options are moved to gnames yet. I am not going to retire resolver and http://gni.globalnames.org until the functionality of gnames/gnverifier is compatible. I am adding with_context and faceted search (gni feature) to gnames as we speak, with_vernaculars will be added as well. The with_canonical_ranks option is outdated: before there was only one canonical form returning, now there are 3 -- full (with canonical ranks and hybrid signs for named hybrids), simple (without ranks, and hybrid signs only for hybrid formulas), stemmed with letters normalization and removed suffixes.

One thing I understood, I should not provide v1 for gnames API yet, to follow semantic versioning for API as well. So I am going to downgrade it to /api/v0 until gnames, gnmatcher and gnverifier reach stable v1 for their command line apps. My plan is to let resolver to exist for about a year after new system reaches v1.
GNparser already reached v1 in January 2021. So I am thinking to retire v0 API some time in 2022. When GNverifier & Co. have v1, I will start the process of retirement for GNI and Resolver. The reason of not keeping them running is simple. Every API requires human resources for maintenance, and I think it is better to spend my resources on making new systems better, than on trying to keep aging software from bugs, security risks and incompatibility with 'changing universe'.

Thanks @dimus
So, POST api calls with thousands of names are safe without identifiers. That was it.
I am not interested in using any of the with_xxx options I mentioned. I just asked to be sure not to start using anything that is going to be removed.
Thanks a lot !!

When GNverifier & Co. have v1, I will start the process of retirement for GNI and Resolver

I suppose that GNI is Global Name Index ... which I have just discovered and looks very interesting.
Do I need to credentials to use its API?
The Help and API links in the top right both lead me to an "invalid request" pages, but it might be because I have not created an account.

GNI is the very first take to make a verification for Global Names from about 13 years ago. Its database is not updated, and its code runs on ancient acrhitectures. I might need to 'sunset' it earlier just because of something like a hardware failure. So please use it with caution and understanding that it might disappear suddenly. I am implementing faceted search for gnames this week ( which will also have abbreviated genus feature).


CircleCI: comment out caches, debug for k8s start

Few people found problems with the cache - comment out until we have time to investigate,
will likely enable it first on a non-blocking job, and create them only on master builds.
There are reports of k8s not starting properly sometimes, adding few more debug statements.

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
32a0a0a0841a3a99219b8d54cfdaf88486b0e23b
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
32a0a0a0841a3a99219b8d54cfdaf88486b0e23b
link
/test istio-unit-tests

prow/istio-presubmit.sh
32a0a0a0841a3a99219b8d54cfdaf88486b0e23b
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
32a0a0a0841a3a99219b8d54cfdaf88486b0e23b
link
/test istio-presubmit

prow/istio-unit-tests.sh
a9b051e2adbc61402c2757f5894464e181a53f84
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a9b051e2adbc61402c2757f5894464e181a53f84
link
/test istio-unit-tests

prow/istio-presubmit.sh
a9b051e2adbc61402c2757f5894464e181a53f84
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

can you please be mindful not to add vendor/ to your commits
I wonder what we need to do so it doesn't happen when people switch branch etc

It seems like every time I switch branches I still have to do actions to make vendor/ consistent.  "make pull" alone isn't sufficient.  What works for me is to 'cd' into vendor/ and do a "git fetch", but I have no idea on what the more ideal/appropriate solution might be.

I know costin doesn't use make pull; I'd really like to see though when would make pull not be sufficient ? what happens exactly

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
a9b051e2adbc61402c2757f5894464e181a53f84
link
/test istio-presubmit

prow/istio-unit-tests.sh
d635280fa8deab07a09043ed514dd2bebe5564e4
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
d635280fa8deab07a09043ed514dd2bebe5564e4
link
/test istio-unit-tests

prow/istio-presubmit.sh
d635280fa8deab07a09043ed514dd2bebe5564e4
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I did make pull, also git checkout origin/master vendor
Seems to be ok now. Next time it happens I'll try to automate it.

for future reference: I wrote up how to fix a PR with vendor change that shouldn't have any:
https://github.com/istio/istio/wiki/Vendor-FAQ#i-did-something-and-now-my-pr-has-a-vendor-change-how-do-i-fix-it-
@mattdelco  WDYT ^ ?

I'm not quite following what benefit the remote operations provide.  If vendor gets messed up then I usually grab the larger and simpler hammer of "rm -rf vendor; git checkout vendor" (and possibly add the Gopkg.* if I ran the wrong depend that tried to modify these).  Sometimes this alone is sufficient (actually, I'm not sure about that statement), other times I run "make push", and other times I have to still do do the "git pull" under vendor/.   The closest trend I've been able to establish is that if a branch hasn't pulled vendor/ before then things are more apt to work okay than if I use a branch where I have set up vendor/ and vendor/ has advanced to a newer commit.  I'm not sure if this is because "submodule-sync" is always passing "--init" to "git submodule update".  I haven't tried running the command without the --init (as suggested in the FAQ) to see if that's also resolves what I've been using "git pull" for under vendor/.
Is there any harm to adding a "git submodule update" or "cd vendor/ ; git pull" as a 3rd command to submodule-sync (beside the runtime overhead and not knowing for sure yet if these actually improve any use cases)?

@mattdelco the issue with rm -rf vendor; git submodule sync is that it will still use the vendor in your branch, and that's the problem that costin and other step in when they accidentally "add" vendor to their PR, the faq entry above aim to provide a fool proof recipe on how to undo that and recover after the damage is done.
But i guess it's clearly not clear - mind editing the faq or letting me know how I can make it clearer?
In general there should never be change to vendor unless it's part of a vendor update (Gopkg.* + vendor + vendor-istio PR should go all at once) - I wonder if adding those 3 to .gitignore would help?

ps: submodule-sync already does submodule update; it doesn't do git pull because that actually would break when vendor-istio's master is ahead of istio (or you try to build something older, or in a branch) and does create vendor changes when not in detached head mode

@costinm your debug is showing: https://circleci.com/gh/istio/istio/39425
does it give you a clue what's happening ?

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
0982aecf66c1a235d48a6957d753eadc6cea171f
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I'm probably not sufficiently knowledgeable about git to be the best person to update the FAQ--I'm still experimenting and trying to make sense of git's behaviors.  I now see I that the question is about a PR rather than a local client.  After the "Should I merge changes in vendor/?" and before the "my PR has a vendor change" should probably be an analogous "my local tree has a vendor change" question.
I'm on the fence about how much should be revised in DEV-GUIDE.md, like whether it should more proactive warn/advise vs. just hope that people can usually be blissfully ignorant of what's going on with vendor/ .  The "Adding dependencies" section can probably be revised -- the 1st paragraph says "commit them along with your code" while the last says "commit ... through a separate PR".  I realize that people may not want to delete the content while the submodule is still on probation, but a strikethrough format qualifier on the 1st 3 paragraphs might be useful [or maybe comment out if there's not a straightforward way to do that in html] ).

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
0982aecf66c1a235d48a6957d753eadc6cea171f
link
/test e2e-simple

prow/istio-unit-tests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test istio-unit-tests

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-unit-tests.sh
1121ece5d90249c3427cd5367a71b89ddd752c41
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

add /var/lib/localkube/localkube.err to artifacts while we're at it ?

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-unit-tests.sh
1121ece5d90249c3427cd5367a71b89ddd752c41
link
/test istio-unit-tests

prow/istio-presubmit.sh
1121ece5d90249c3427cd5367a71b89ddd752c41
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-presubmit.sh
1121ece5d90249c3427cd5367a71b89ddd752c41
link
/test istio-presubmit

prow/istio-unit-tests.sh
664ccd4f24b0dc7c40d83f3867a74f6d798c99f8
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-unit-tests.sh
664ccd4f24b0dc7c40d83f3867a74f6d798c99f8
link
/test istio-unit-tests

prow/istio-presubmit.sh
664ccd4f24b0dc7c40d83f3867a74f6d798c99f8
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-presubmit.sh
664ccd4f24b0dc7c40d83f3867a74f6d798c99f8
link
/test istio-presubmit

prow/istio-unit-tests.sh
c39e01287446e4f617d0da285e6e7c502aea2015
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-presubmit.sh
664ccd4f24b0dc7c40d83f3867a74f6d798c99f8
link
/test istio-presubmit

prow/istio-unit-tests.sh
31990b67f7fe9db0d54ed7accb4b89217e376b19
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-unit-tests.sh
31990b67f7fe9db0d54ed7accb4b89217e376b19
link
/test istio-unit-tests

prow/istio-presubmit.sh
31990b67f7fe9db0d54ed7accb4b89217e376b19
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-presubmit.sh
31990b67f7fe9db0d54ed7accb4b89217e376b19
link
/test istio-presubmit

prow/istio-unit-tests.sh
263b374761d133c5b0c244ceed192f4af5802ae5
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-presubmit.sh
31990b67f7fe9db0d54ed7accb4b89217e376b19
link
/test istio-presubmit

prow/istio-unit-tests.sh
fa44de9cd0d65e5c633eca41fc450a980a67e269
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-unit-tests.sh
fa44de9cd0d65e5c633eca41fc450a980a67e269
link
/test istio-unit-tests

prow/istio-presubmit.sh
fa44de9cd0d65e5c633eca41fc450a980a67e269
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-presubmit.sh
fa44de9cd0d65e5c633eca41fc450a980a67e269
link
/test istio-presubmit

prow/istio-unit-tests.sh
7a386f0113deda50916d0959c7c204e05dd5aadc
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-unit-tests.sh
7a386f0113deda50916d0959c7c204e05dd5aadc
link
/test istio-unit-tests

prow/istio-presubmit.sh
7a386f0113deda50916d0959c7c204e05dd5aadc
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-presubmit.sh
7a386f0113deda50916d0959c7c204e05dd5aadc
link
/test istio-presubmit

prow/istio-unit-tests.sh
3df498cfe0da10263b8a31ff09728a4fa80314ea
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
15b8e2d70403ca353a1455b97795701d395b7a95
link
/test e2e-simple

prow/istio-unit-tests.sh
3df498cfe0da10263b8a31ff09728a4fa80314ea
link
/test istio-unit-tests

prow/istio-presubmit.sh
3df498cfe0da10263b8a31ff09728a4fa80314ea
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm


HostPort and container ports for Google Container VM  Docker image do not work

I was able to start a container vm cos-stable-65-10323-69-0. using Google Deployment Manager.
When I specify the docker image to be started in the gce-container-declaration metadata key for resource type compute.v1.instanceTemplate, the docker container starts correctly when the  compute engine vm instance boots but the host and container ports passed as parameters are not being used
in running the docker image.
manifest = {
        'apiVersion': 'v1',
        'kind': 'Pod',
        'metadata': {
            'name': context.env['name']
        },
        'spec': {
            'containers': [{
                'name': context.env['name'],
                'image': context.properties['dockerImage'],
                'ports': [{
                    'hostPort': context.properties['hostPort'],
                    'containerPort': context.properties['containerPort']
                }],
            }]
        }
    }

HostPort and containerports are not being used while running the docker image as a result the docker container ends up running on 8080 port and not the hostport passed as a parameter
Is this a known issue or is some setting being missed out ?

I have created a gist  for your reference.
Both host and container ports values are the same but still the docker container ends up running on 8080 and not the specified host ports for the deploy.py

Thanks.
Could please check in cloud console the configuration for the instance_template and see if it has port 8080 or port 8083? We see that we sent 8083 in the request.

These are values inside the instance_template rest reference

with hostnetwork set to true
"value": "apiVersion: v1\nkind: Pod\nmetadata:\n  name: vmanohar-websocket-vm\nspec:\n  containers:\n  - image: gcr.io/google-containers/nginx\n    name: vmanohar-websocket-vm\n    ports:\n    - containerPort: 8083\n      hostPort: 8083\n  hostNetwork: 'true'\n"

without hostnetwork tag
"value": "apiVersion: v1\nkind: Pod\nmetadata:\n  name: vmanohar-websocket-vm\nspec:\n  containers:\n  - image: gcr.io/google-containers/nginx\n    name: vmanohar-websocket-vm\n    ports:\n    - containerPort: 8083\n      hostPort: 8083\n"

In both the cases the docker container still ends up running in a default port and not 8083

It seems that the problem is inside GCE, rather than DM. We will keep you posted.

sure thanks.

hi @vagababov  just wanted to check with you if you have any updates ..

hi no updates, we've pinged the team again.

We've talked with the team and they said "hostPort support is not yet implemented".


Add update step to poetry builds

poetry shell only dropped me into a virtual env. I had to run poetry update to build the dependencies. Based on the documentation this looks like expected behavior.
@brianhelba Does this reflect your experience?

I don't think poetry shell is necessary at all for these sequences of commands. Anything run via poetry run ... will be run in the context of the project's virtual environment.
poetry shell should only be necessary if one was invoking other commands directly.

Fair enough, so remove shell but keep the added install, correct?

Assuming that poetry run ... doesn't implicitly run a poetry install on its first invocation, then that seems to be correct. I'm not personally very familiar with Poetry, so if I were doing this, I'd very these facts by just running it manually.

It does not, which is why I created this PR. I was unable to run the project based on the readme instructions.


⚠ Bofrost.be has degraded performance

In 3b3fe08, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1576 ms

Resolved: Bofrost.be performance has improved in ddcec81.


Fix user must 'check again' (refresh) on final page to get final email currently

Change it to send final email on its own.
Probably has to be handled in the remote signer entrypoint. Have to:

(May not have to do this one) Save signatures of local signers to redis when they sign (in originating interview).
Save user contact info in redis (in originating interview).
Save originating interview url in redis so it can be sent in final message.
Maybe save final signed PDF in redis too.
Check in remote signer entrypoint (when cosigner has signed) for other signatures to see if everyone has signed.
If they have, send final communication to the user.

Could possibly be handled by #111 instead (at least for MVP) - if user gets notifications when anyone signs, that might be good enough for now for the same purpose.

Just wanted to comment this is still a bug. Merged #162  and fix for #71 and it still exists.

What are your thoughts on what I said in the comment previous to yours, @mariahjr ?

Resolved- decision made. For MVP will not fix the sending final email without check again button clicked. Using workaround of user is notified each time someone signs from #111


Is it possible to add Hysteria client support ?

Is it possible to add Hysteria client support or rewrite a new gui client?
https://github.com/HyNetwork/hysteria
Thanks!

Please kindly send a feature request to Leaf since Maple is just a VPN front-end of it.

Yes, and is it possible to use Maple as a VPN front-end for Hysteria ?
Because Hysteria already listens to socks5 port in windows, and also Hysteria has windows binary releases. This scenarios is a bit like v2rayN including v2fly core or xray core windows binary releases.

If you are referring to the Hysteria client written in Go, then it would be impossible because the Go runtime is not tailored for UWP environment. That is why Maple uses Leaf, which is a pure Rust library, instead of v2ray-core or Clash as its core component.


Xcode build error: Module 'image_picker' not found

When I build or archive my app in XCode (after: flutter build iOS --release):
#import "GeneratedPluginRegistrant.h"
#if __has_include(<image_picker/FLTImagePickerPlugin.h>)
#import <image_picker/FLTImagePickerPlugin.h>
#else
**@import image_picker; <<<<<<<< ERROR: Module 'image_picker' not found**
#endif

dependencies:
  image_picker: ^0.6.5+1
flutter doctor -v
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en-GB)
    • Flutter version 1.17.1 at /Users/alexander/dev/libs/flutter
    • Framework revision f7a6a7906b (2 days ago), 2020-05-12 18:39:00 -0700
    • Engine revision 6bc433c6b6
    • Dart version 2.8.2
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/alexander/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • ANDROID_HOME = /Users/alexander/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/alexander/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.3.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.1

[✓] Connected device (1 available)
    • envoi • 05ababad76243cda41b6e2b14f8d2ab5150eca6e • ios • iOS 13.4.1

• No issues found!

DOESN'T HELP ME:
pods repo update
rm -rf ios/Pods ios/Podfile.lock
flutter clean
flutter run

But when I am running my app in debug mode - all is good.
Help me please!

Did you try upgrading image_picker to v 0.6.6+1 ?

Yes. I used 0.6.6 first.

Hi @en-v
can you please upgrade the plugin to the latest version
and provide your flutter run --release --verbose
Thank you

Sure! Plugin upgraded.
flutter run --release --verbose &> _RES.TXT
This is huge log %) more than 3500 lines.
App launched normally.
After:
flutter clean
fluter build ios

Result:
Xcode build done.                                           81.4s
Built /Users/alexander/dev/ecoapp/build/ios/iphoneos/Runner.app.

Then I open Xcode & launch Product > Archive
@import image_picker; [ Module 'image_picker' not found ]

Hi @iapicca
What do you think about it?

Not able to reproduce locally but since it was  mentioned archive with Product > Archive, labeled the issue

Hi!
I found how to solve this issue (fkn Xcode!!!!)
https://github.com/flutter/flutter/issues/43986#issuecomment-576942084

apples-MacBook-Pro:ios apple$ pod install
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8

Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 4 dependencies from the Podfile and 5 total pods installed.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig in your build configuration (Flutter/Release.xcconfig).

how to solve this . When i open the code xcode  Module image_picker' not found.

export LANG=en_US.UTF-8
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
".profile" 1L, 24C
i have added this line in .profile

/Users/apple/Downloads/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.3 19D76, locale en-IN)
• Flutter version 1.20.3 at /Users/apple/Downloads/flutter
• Framework revision 216dee60c0 (12 days ago), 2020-09-01 12:24:47 -0700
• Engine revision d1bc06f032
• Dart version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/apple/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• iPhone 11 Pro Max (mobile) • BE83A7FA-6A4D-4AD7-9855-0A436B5789D9 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
• No issues found!
Process finished with exit code 0

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Unordered Frames when using multiple threads

Hi, I have compiled openh264 to web-assembly using emscripten but the decoder is very slow with single thread. So I increased thread count  using  pDecoder->SetOption(DECODER_OPTION_NUM_OF_THREADS, &iThreadCount);. But it seems you can only create threads in main ui thread. So I added -s PROXY_TO_PTHREAD flag to emscripten and created multiple threads and also a new decoder instance for each thread. After that I started splitting encoded data packet into multiple nal units and feed it into each decoder instance. But than I started getting frames in unordered fashion. I tried rearranging frames by the order with which the nal units were stored but the frames are still unordered and also some of the frames are repeated. The encoded bit stream contains only I- frames so there should be no inter frame compression. I don't know what I am missing any help would be greatly appreciated!

here is the fork: https://github.com/kickback-space/H264-ClientDecoder
result from the current fork attached
https://user-images.githubusercontent.com/17133963/148114785-2ccc66d9-b07f-4069-8526-6f1550a15c65.mp4

if it was the result from unity package, it is impossible to fix it.
but if you can provide the source code, it will be better to fix by me.

@stkghost it's not an issue with the unity package, problem is the decoder.

example unity build & js client https://www.freelancer.com/users/l.php?url=https:%2F%2Fdrive.google.com%2Ffile%2Fd%2F1aB0q5e56N9BleOswoN5VcBv5Q2Sz6R8f%2Fview&sig=b077f1f6c2aa30822cd6e209ad672051b0fbeff84a5935bd724f0ca2c2008196
1- Run uNvEncoder.exe (If it crashes run it as admin)
2- open cmd at /ClientBuild
3- Run npm install
4- Run node main.js
5- Open chrome and go to http://localhost:8000/wsPlayer
6- Click Play
7- Control player from UnityApp using WASD keys
Modify JsCode from WsPlayer.html

I don't think it is the encoder that is causing this issue. Because I am able successfully decode the same file using single thread.  But just in case I am using NVENC to encode rendered frames in unity. This is the unity source code  uNvEncoder

This issue may be related to https://github.com/cisco/openh264/pull/3707
Similar glitch in ffplay with openh264 has been fixed.


Enable deprecation: models-key-mismatch

models-key-mismatch
Introduced in: v0.16
In the last week, raised by: 34 projects (<1%)
This is a tricky one: We actually removed this deprecation warning in v0.20, when we removed the patch_nodes method. But the to-be-deprecated functionality is still supported.
https://github.com/dbt-labs/dbt/blob/745ae3e64ac03fedb19228b31252fea05eb0ed37/core/dbt/contracts/graph/manifest.py#L685-L691
I'd like to re-add the conditional check for whether a non-model (a seed, snapshot, etc) is specified under the models: key, and start raising a clear exception for this in v1.0. This may require some work with @gshank to find where this logic has moved in v0.20+.
Once done, we can also remove this from the list of active deprecations, since it's no longer referenced anywhere in the code!
Originally posted by @jtcohen6 in https://github.com/dbt-labs/dbt/issues/2798#issuecomment-919998174

@gshank can you help point me to where this logic moved to in v0.20+?

@emmyoop Some details and a quick reproduction case, based on what we discussed earlier:
Create a seed, seeds/my_seed.csv:
id
1

Then define properties for it under a models block:
# models/whatever.yml
version: 2
models:
  - name: my_seed
    description: "This is my very cool seed"

In previous versions of dbt (e.g. v0.19), we raised a deprecation warning for this:
* Deprecation Warning: "my_seed" is a seed node, but it is specified in the
models section of models/schema.yml.

To fix this warning, place the `my_seed` specification under the seeds key
instead.
This warning will become an error in a future release.

For backwards compatibility, though, we'd still apply the description to my_seed.
As of v0.20, we removed the deprecation warning, but continued with the previous backwards-compatible functionality, by applying the description to the seed. In effect, we un-deprecated the feature.
dbt --no-partial-parse ls -s my_seed --output json --output-keys description
{"description": "This is my very cool seed"}

In v1.0, I'd like to:

stop applying the properties to resources of the wrong type (i.e. ignore my_seed under models)
raise a warning that we found a resource by that name, of the wrong type, and to please move it under the right key instead


Grpc: native build fails because of missing 'org.bouncycastle.openssl.PEMParser' in basic app

Bug description
Go to https://code.quarkus.io/ and generated app based only on camel-grpc.
The native build fails with:
UnresolvedElementException: Discovered unresolved type during parsing: org.bouncycastle.openssl.PEMParser

Native build should succeed. App based on quarkus grpc builds in native successfully.

Duplication of https://github.com/apache/camel-quarkus/issues/5382


Memory problem?

Hi, i am facing some memory problem with this plugin, when i enabled this plugin , the minecraft server memory stats shows the memory rise up very fast (slope almost verticle), when i disabled this plugin, the memory stats slope is like y=x.
The problem is that tps becomes unstable , i tried to use timings to check and i found out that packet event maybe making the server lag. I tried to disable some of the enchantments but seems not working. I am using default config that generates when the game load.
Versions :

Minecraft Server Version: paper 168 1.15.2
Plugin Version: v1.8 Dev Build v8

Issue
Timings:
https://timings.aikar.co/?id=69673c97b2384a2886523fcc839a1c02
Tps drop and tps loss when crazyenchantment is enabled (using plugman)
Screenshots

There has been some work to the enchantment optimization in the current Jenkins builds. You could try those out and see if it helps.
https://jenkins.badbones69.com/

There has been some work to the enchantment optimization in the current Jenkins builds. You could try those out and see if it helps.
https://jenkins.badbones69.com/
I upgraded to the latest jenkins build, however i saw this bug :<

Just fixed: 81d66bc534458ee7f6e70e5e1c4e3d066fea2c06

Just fixed: 81d66bc
Hi, the error message is gone which is nice.
The memory problem have little bit better i think, however this is the memory graph when im using

Minecraft Server Version: paper 184 1.15.2
Plugin Version: v1.8 Dev Build v8 #127
Is still not that good :< , the graph below shows that i have 22~ players and the memory still rise up so fast.
I guess this plugin needs a lot of listener to make enchantment works. I saw each time when a player join, the memory become much steeper, (timings shows playerjoinevent somhow lag.)
Please continue to optimize the plugin, thank you

Just fixed: 81d66bc
New bug found seems like :<

Could you try the newest build and let me know if it still errors.

Could you try the newest build and let me know if it still errors.

Unfortunely, i cannot catch up your update since im opening my server almost 24/7
I updated the latest build #131 this morning (UTC+8HK time) and you released #132-#134 🤔 within 10 hours , is good to have new update tho, but i may need to try tomorrow after update the latest snapshot

#134 have problem

Could you try the newest build and let me know if it still errors.
serious problem
tps 9

found this bug happens when citizen sentinel npc took crazy enchantment weapon and use it for attacking others
eg sword.

Just pushed a possible fix for the NPE from getEnchantmentsOnItem.
Commit: ab39823d3e775403876ba307b819a204f73a8c18
This should fix the citizen's NPE.
087ede7bd510b936221cb6a6b077bb3a4427df99

Just pushed a possible fix for the NPE from getEnchantmentsOnItem.
Commit: ab39823
This should fix the citizen's NPE.
087ede7

got very big problem
spam error message until disabled plugin

could you pastbin the log as it isnt showing the error there.

could you pastbin the log as it isnt showing the error there.

i send the entire log to you then.
it reaches pastebin limit and i can't paste it , instead
https://drive.google.com/file/d/1at_g7nhTzaIhoLf0xhMd0aScLeHYGn3t/view?usp=sharing

Do you know when this happens?

Do you know when this happens?

No, If i have found this problem again, i post here then.
However, this is not the main problem that i want to raise in this thread :(
The problem that im always concerning is the Ram usage and how it make TPS low :(

Do you know when this happens?

Got something new bug ? happening 🤔

Do you know when this happens?
got new bug
CE # 142


feat(FIR-28715): Firebolt new version compatibility

In order to rename Username/Password we had to migrate to the new connection dialogue format.

verified no breaking changes and this connector works with both 1.0 and 2.0


Add conversionReviewVersions for the webhook in CRD

The CRD manifest generate using kustomize is getting rejected with validation error from api server:
error validating data: ValidationError(CustomResourceDefinition.spec.conversion.webhook): missing required field "conversionReviewVersions" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion; if you choose to ignore these errors, turn validation off with --validate=false

As per https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#request conversionReviewVersions is a required field when creating apiextensions.k8s.io/v1 custom resource definitions. Webhooks are required to support at least one ConversionReview version understood by the current and previous API server.

NHC does not use a conversion webhook, we only have 1 CRD version so far. The manifest you are editing should not be used, it's commented out in the kustomize config, see https://github.com/medik8s/node-healthcheck-operator/blob/main/config/crd/kustomization.yaml#L11
How did you run into the error? 🤔

Closing because inactive. In case you still think we need this, please create an issue with some details on how you  run into the error. Thanks!
/close