The Pull requests review time is too long

I have submitted two pull requests but they won't accepted for a long time.
Please take a look at Pull requests and accept them.
Thanks.

Yes, I apologize. I am going through them now and updating the site.


[CDN] Add cli support for AFD SKU

Description

Add cli support for AFD SKU
Testing Guide

az afd endpoint
az afd custom-domain
az afd origin-group
az afd origin
az afd route
az afd rule-set
az afd rule
az afd security-policy
az afd secret
History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.


Added support to eu-central-1 region in S3

Adds support of "eu-central-1" region to S3 file system. Lets Priam work in Frankfurt AWS region.

Dolphy17, would you create a PR to the 2.x branch?
I plan to eliminate the need to have both 3.x and 2.x. I want to only have 2.x (for Cassandra 2.x versions) but I need to implement fetching the Cassandra version first (once you know the version, you can execute the applicable code).

Sure, I can do it. Would you also like me to add support for the other european region as well "eu-west-1"?
Also, I think I forgot to add unit tests, are there any present for the US regions?


[Chore] Add more features

What needs to be done

[x] Add lodash for utility
[ ] Add common util classes
[x] Add material-ui love
[x] Add storybook with composition
[x] Add build-config script
[ ] Add common react providers
[x] Add local forage
[ ] Add common material theme to common-react
[ ] Add lighthouse checks for internal
[x] Add typedoc or compodoc (which ever works with storybook
[x] Update storybook with plugins

Additional context
More may be added in the future

common-util interfaces:

document-with-id
common-logger
get-id

Other libraries to add:

gh-codespaces
script-loader (???)


Create user variables

Once the butt official repository supports returning streaming/recording/duration statuses, show them as user variables.
A dummy implementation can be found in the display-variables branch.

This is now fixed by https://github.com/bitfocus/companion-module-danielnoethen-butt/commit/89cecdfab1e31ce37d3dcaa516f9f3a9ff3cdffd. A note about variables being experimental is added to the help section.


Loss computation target

Hello, shouldn't the target in the loss function be the input image, instead of the noise?
https://github.com/bwconrad/decoder-denoising/blob/1bfa5838df193069df4ffe7465f9039f49a4f7f1/src/model.py#L122
Since the task is denoising, it would be more intuitive. Also, the final predicted image is not computed anywhere.

Thank you for the clarification! My intended models have this direct skip connection from the input, so I suppose the result would be the same, but I will try both approaches anyway!


Add Series.rank

This PR adds Series.rank - https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.rank.html?highlight=rank#pandas.Series.rank

Codecov Report

Merging #516 into master will decrease coverage by 2.85%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master     #516      +/-   ##
==========================================
- Coverage   93.73%   90.87%   -2.86%
==========================================
  Files          30       30
  Lines        4133     4144      +11
==========================================
- Hits         3874     3766     -108
- Misses        259      378     +119

Impacted Files
Coverage Δ

databricks/koalas/missing/series.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/series.py
93.18% <91.66%> (-0.05%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.58% <0%> (-73.59%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/conftest.py
87.87% <0%> (-9.1%)
:arrow_down:

databricks/koalas/__init__.py
76.31% <0%> (-7.9%)
:arrow_down:

databricks/koalas/utils.py
97.29% <0%> (-2.71%)
:arrow_down:

databricks/koalas/frame.py
92.45% <0%> (-1.95%)
:arrow_down:

databricks/koalas/namespace.py
88.23% <0%> (-1.69%)
:arrow_down:

Continue to review full report at Codecov.

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


Query Gurobi attributes from JuMP model

I would like to query the optimality gap after my solver has completed execution. The Gurobi website indicates that this is an attribute of the solution (https://www.gurobi.com/documentation/6.5/refman/mipgap.html), but I can't see how to query this from a JuMP model (or, for that matter, from a Gurobi Model).

General support is about to drop: https://github.com/JuliaOpt/Gurobi.jl/pull/247
But for now,
using JuMP, Gurobi
model = Model(with_optimizer(Gurobi.Optimizer))
# ...
optimize!(model)
MOI.get(model, MOI.RelativeGap())

The JuMP docs should be updated.


XMP and IPTC image metadata support

Hej. First of all thanks for this amazing project!
As said in #12651 the new metadata package supports XMP and IPTC metadata. Would be really nice to have this feature therefore I created this issue.
Is there any update / plan on this topic?

Is there any update / plan on this topic?

Not really. The main challenge with this, as I remember back when I implemented the new library, was how to represent all these tags in a data structure. This gets incredible confusing when you start looking into it; grouping the tags by their source (EXIF, XMP, IPTC) may be fine in Adobe Lightroom, but I'm not sure it's very user friendly from Hugo ... But as I said, I have not thought about this lately.

I fully get your point. It really gets complicated if you think about it.
I thought maybe we could do some sort of guessing logic (for the most-used properties) and include a raw section so the user can, if they want to, fall back to it. But I’m not sure if a guessing logic of any sort is a good idea. You could do something like checking EXIF first and if null, checking IPTC and if that’s also null, taking the XMP property. But this could get a bit confusing if there are different values set in those sources. If well-documented and communicated, though, this might be a reasonable compromise.
But maybe you or someone else has a better idea^^
Anyway, I’m looking forward to it :smile:


Create camel-openimaj for face detection

With face detection we can respond to humans at the webcam, for example;
from("webcam:cam1?motion=true").to("openimaj:face-detection").
filter(body().isInstanceOf(DetectedFace.class)).log("Human detected");

Awesome!

BTW Does openimaj supports some other interesting graphic analysis patterns?

We might find object detection/recognition/tracking useful in general.
Would also be nice to have hand gestures to control things, and to count vehicles, people etc.
Aside from graphics it does feature extraction from audio too, although with Xuggler which is no longer maintained, in fact OpenIMAJ hasn't released since last year.
Which reminds me, there's a similar library called OpenCV/JavaCV, before I add any more Producers to camel-openimaj I'll explore JavaCV as well, maybe this component is deleted/deprecated before it's released. :)

Does OpenIMAJ support hands gestures?

I might have mixed that feature up with the JavaCV, besides the Kinect I don't think it's supported if at all.
For basic hand gestures there's also the Hover board for Raspberry/Arduino

Can we consider it done? The basic version is functional already, right?

Yeah I guess, can do the R&D for javacv later.

On 08 Nov 2015, at 21:48, Henryk Konsek<EMAIL_ADDRESS>wrote:
Can we consider it done? The basic version is functional already, right?
—
Reply to this email directly or view it on GitHub.

Cool. Thanks!


Add conditional for alternate donut title

Signed-off-by: Zack Layne<EMAIL_ADDRESS>Add conditional for alternate default donut text as seen below:

/lgtm
/hold

/unhold
/unhold


SS 2015 020

Is the branch definition okay like this? This issue should only apply to this particular branch afaik.
  versions: [3.1.14-rc1]

I'm unsure about the notation for one particular branch so I'll close this for now.


Make role management against multi tenant and tenant separation

Hi @neozhu ,
Please try making Make role management against multi tenant and tenant separation. So multiple organizations can use the same app with separation ,then it will be a great project with all white labelling and all kind of.

LOL. I was just entering here to write exactly the same thing :))

It's already quite a great project (especially for something free). As mentioned in most issues, you can also submit a PR

I appreciate your feedback and encourage everyone to contribute to the project. I will continue to work on it and make it even better.


Remove ToTokens for vec, slice, arrays

These make it too easy to write code that compiles but does not do what you wanted, when you meant to write a repetition. Users should write out the repetition themselves.
quote! { [ #(#vec,)* ] }

👍
This has bitten me quite a few times!

👍 this has also bitten me, very good change.


allow other supported algorithms to be used

not just HS256

again apolgoies for the delay, is this ready to go (has it been tested)? looks okay to me.

it is ready :)
we are already using it internally


GraphQL API authentication

This PR adds token-based authentication mechanism to our GraphQL API. I've used two packages:

django-graphql-jwt - provides authentication mutations
django-graphql-extensions - provides authentication decorators that can be used to restrict access to resolvers and mutations

Fixes #1711
Authentication mutation were added to the storefront's API for now, but I'm wondering if they shouldn't be available in both APIs.
Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] Python code quality checks pass: pycodestyle, pydocstyle, pylint.
[ ] JavaScript code quality checks pass: eslint.

Note: it seems JWT_VERIFY_EXPIRATION defaults to False.

@patrys We can enable it. What expiration time should we set?

I don't have a strong preference but I feel that issuing irrevocable credentials is asking for trouble. Invalidating JWT tokens is not trivial:

simple expiration is the easiest
blacklisting particular tokens is possible but not trivial (you likely don't keep a list of all issued tokens, the most practical approach would be to filter based on user ID and expiry date but that relies on the expiration date being set)
rotating secrets would invalidate all tokens in existence but will affect unrelated mechanisms relying on the SECRET_KEY (invalidating things like password reset links, signed cookies etc.)

@patrys For now, I'd go with the simplest approach. However, I'm not sure what time delta is adequate here. The default 5 minutes seems very short, but that's the default also in PyJWT that is used underneath. Also, what do you think about exposing those mutations only in the storefront's API? I'm wondering if it should stay only there or be duplicated in both APIs.

Exposing them in one endpoint but not another will complicate the client design as the implementation would require two separate Apollo/Relay clients (and in most cases both schemas).

I've tested JWT_VERIFY_EXPIRATION and it works as expected with the default settings which I believe are proper - token has to be refreshed every 5 minutes, but it expires anyway after 7 days from the first authentication. JWT_VERIFY_EXPIRATION is set as env variable.

Related changes for the client: https://blog.beeaweso.me/refreshing-token-based-authentication-with-apollo-client-2-0-7d45c20dc703


React pagination controller overlaps with the swiper wrapper

Swiper Version: 6.4.15

What You Did
Hey 👋
I'm struggling to understand how the pagination works in React.
I'm trying to move out of the wrapper the pagination controller to avoid the ugly overlap that you can see in
https://codesandbox.io/s/swiper-react-fork-forked-4ujyh?file=/src/App.js
I'm thinking to change the swiper-container switching all the classes to the flexbox model and override the position: absolute of the pagination which causes the ugly overlap.
 Is it possible that there isn't a simpler way??? (I don't want to use css min-height because I need that the component is responsive).
Why the swiper container doesn't use the flexbox model instead of rely on the position: absolute css rule?
Where am I going wrong?
Expected Behavior
The pagination controller doesn't overlap with the swiper wrapper
Actual Behavior
The pagination controller overlaps with the swiper wrapper

If you need to move it outside then create custom

 and pass its CSS selector to pagination.el element.
Or just add padding-bottom to .swiper-container element.


Remove @_implementationOnly annotations

These annotations produce warnings when compiling swift-syntax without library evolution using Swift ≥5.10.
Replace them by private import when compiling using Swift ≥5.11.
Mirrors https://github.com/apple/swift-syntax/pull/2429
Checklist

[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines

@swift-ci please test

@swift-ci please test

@natecook1000 can you review? (sorry I can't add you as a reviewer here)

Is there a reason to use private instead of internal?
Additionally could we use an upcoming feature flag instead of conditional compilation?

I wasn't sure if there was a specific reason to prefer private other than minimally scoped imports. Given the context of the swift-syntax comment, this changes lgtm, but I'll wait for Nate to do the final approval

@swift-ci please test


x/tools/gopls: suddenly stops working

Description
Edited code in a single file. Gopls suddenly stopped reporting any errors. I could not get gopls to function again, and had to reload. Unfortunately, I could not reproduce the problem even when I went through the same editing steps that I remembered.
gopls.log. Note: Scrubbed of textDocument/didOpen notifications, as this is a private repo.
Build info
golang.org/x/tools/gopls master
<EMAIL_ADDRESS>h1:CAqIXUMd9mH3t2O1DRj2IWu0Zh75A4fWPA+YjJOmXdE=
<EMAIL_ADDRESS>h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
<EMAIL_ADDRESS>h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
<EMAIL_ADDRESS>h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ=
<EMAIL_ADDRESS>h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
<EMAIL_ADDRESS>h1:8emZwJTManptbFnp36i5fbhO/1vUs3rfnh5e3Th8HEQ=
<EMAIL_ADDRESS>h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
<EMAIL_ADDRESS>h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U=
<EMAIL_ADDRESS>h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=

Go info
go version go1.14 darwin/amd64

From what I can tell in your log, it looks like you switched branches, which caused gopls to reload a lot of packages by their package path. My guess is that the files in the github.com/sanity-io/gradient/pkg/security test package did not exist on the original branch, and they were treated like file creations, resulting in https://github.com/golang/go/issues/38423. See the error message:
 [Error - 11:36:31 AM] 2020/05/05 11:36:31
	message="failed to load workspace packages, skipping diagnostics"
	error=github.com/sanity-io/gradient/pkg/security [github.com/sanity-io/gradient/pkg/security.test] has no metadata
	snapshot=241
	directory=file:///Users/alex/Projects/Sanity/gradient

gopls then appeared to be stuck because no new diagnostics were not being propagated.

Ah, that's possible. I wasn't switching branches, though; I was rebasing, which I guess can trigger the same problem.

The test that supposedly repros this problem is enabled -- do we think the bug is fixed?

Yeah, I think at this point enough things have changed that bugs in watching files will appear in different ways than this case.


Blueprint API probably slow, created ticket to track, unrelated to this PR's context:
CB-19944

retest this please!


Improve readibilty of export button

Because the export button has a rather dark color, it is hard to read it. Another color scheme should be used.

The Button-Group style could be adopted for all form buttons. I did that for the OAuth management as well. Should be available in the plugin CSS, too.


Could you realese the code and data for training CMU-MoCap and AMASS datasets?

Hi,
I am very interested in your work. Could you realese the code and data for training CMU-MoCap and AMASS datasets? Thank you very much!

@HitBadTrap We referred to the BelFusion.


Fix typing issues

This should fix an issue I was having with latest pyright 😊
Not sure if Prefetch in django is actually generic (I'm using django types), that's why I put it behind quotes 😊

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c0e9851) 87.16% compared to head (4594935) 87.16%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #418   +/-   ##
=======================================
  Coverage   87.16%   87.16%
=======================================
  Files          36       36
  Lines        3101     3101
=======================================
  Hits         2703     2703
  Misses        398      398

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


TileLooper calculates wrong number of required tiles when map repetition is disabled

Issue Type
[x] Bug
Description and/or steps/code to reproduce the problem
TileLooper.loop calculates mTiles, which represents which tiles are currently visible on the screen.
TilesOverlay.OverlayTileLooper.initialiseLoop uses this mTiles to calculate the total numbers of tiles and calls mTileProvider.ensureCapacity to ensure the MapTileCache is big enough to hold all the tiles.
This works fine for maps which have set isHorizontalMapRepetitionEnabled and isVerticalMapRepetitionEnabled to true (horizontalWrapEnabled and verticalWrapEnabled set to true in TileLooper).
However, when isHorizontalMapRepetitionEnabled and/or isVerticalMapRepetitionEnabled is set to false mTiles may be incorrect and thus resulting in a wrong cache-size in MapTileCache.
Example:
Set isHorizontalMapRepetitionEnabled and isVerticalMapRepetitionEnabled to false.
When zoomed out on zoom level 1 we get the following mTiles = Rect(-1, -2 - 2, 3) while we should get Rect(0, 0 - 1, 1).
Thus MapTileCache increases its cache-size to 24 instead of 4.
Environment
If it's a bug, version(s) of android this affects:
All
Version of osmdroid the issue relates to:
6.1.17

I just tested and it doesnt' seems a bug.
You're right when saying "if MapRepetition(s) are enabled then MapTileCache has a wrong value" but the "wrong valu" is "just" its Capacity.
No any Tile is loaded for not-visible Tiles (those that could be repeated) as you can show in "TileLooper.java" in "loop(...)" method: Tiles are handled/generated only if "horizontal/vertical wrap is Enabled OR the tile is within indices view boundaries".
My example at zoom 1:

mTiles: Rect(-1, -2 - 1, 1) which means a viewport of width=2 and a height=3 for a total of (2+1)*(3+1)=12 tiles (with 1 extra tile summed)
Overshoot (setting "osmdroid.cacheTileOvershoot") was set (default?) to "12" for me
mTileCache.mCapacity = 12 (tiles included extra tiles) + 12 (for overshoot) = 24 total cache Capacity
in "TileLooper.loop(...)" method the final "handleTile(...)" method is called only for ONE tile (the only one displayed which owns whole world), so for 23 cycles the nested FORs are skipped without do nothing

TileCache Capacity is NOT current cache Size but only "how much items it CAN handle before require a re-hashing of items".
On my display 12 (3*4) seems to be the minumum Cache size and Capacity, so it's not a big deal if 11 Tiles are cached at Zoom 1 (which is rarely or just temporarily used) because usually those will be overwritten quickly at higher zoom levels.

You are absolutely correct with your assessment. The bug doesn't cause loading more tiles than needed.
But setting a higher capacity than needed leads to keeping more tiles in memory than would otherwise be required.
In the long run the issue might not be as problematic, because when the user zooms in he may eventually cause a viewport which leads to the same capacity as the current bug.

Tiles are just retained in the minimum Cache size, so if at Zoom 1 only one is required the other cached tiles are just "there as they were". In fact in my test 11 tiles were of simple Water (because I come from an higher zoom) and only one is about the whole world.
Maybe would you like to let Cache to be down-sized to 1 in that specific situation?
I'm not sure how much ppl are using maps by having only one single Tile provided with whole word and the rest of them filled with black color.....


No icon for python and (possibly) more languages

Hey, just noticed this bug and investigated what is going on.
The tabline not show icons for python buffers, while for lua for example they are perfectly fine.
Turns out that 'nvim-web-devicons' requires extension, not a filetype while getting the icon. For lua it just happens to be the same thing.
Concretely, https://github.com/jose-elias-alvarez/buftabline.nvim/blob/cbc4839330a12b3ecfd48c415f890d1f3ed3431c/lua/buftabline/buffers.lua#L95 should have the extension, not filetype as the second argument. This can be easily tested that for "py" it returns the proper icon, but for "python" it is empty.

Nice catch! You're exactly right. I don't use devicons myself, so I tested it briefly using a Lua file, a .zsh file, and a Vimscript file... all of which worked, but only as a coincidence.
Should be fixed in 98f0f302a71a0fca190dff999e3e15103c128b2b. Let me know.

yup, now works OK, thanks!


CC2531 router not connecting to CC2531 cordinator

I tried and flash CC2531_router_2020_09_29 std version as the diag-usb one.
PANID:1A62,Ch:11,Join:1 is only thing I see via usb diag - Join:1 is when I Permit to Join on cortinator, when I dont I see 0. So it does see the network but can't join it.
I don't see any router (as new device) in zigbee2mqtt (<IP_ADDRESS>) panel nothing in logs.
The router is flashing red 1flash per second. I tried SW1 and SW2, reseting, reinit joining, chaining mode, and still nothing.
The coordinator is also cc2531 flashed with CC2531_DEFAULT_20190608/CC2531ZNP-Prod.hex, working fine with zigbee2mqtt (<IP_ADDRESS>)
I tried to stand next to coordinator with router no difference. This is the only network here (previously there was one with zigbee gateway but I disconnected it and all the devices was moved to my new coordinator)
What more I can do to make it work?
I tried procedure from: https://github.com/Koenkk/zigbee2mqtt/issues/4445
I remove every zigbee device I had, disable and enable permit to join, nothing, restarted zigbee2mqtt permit to join, nothing, restarted HA, permit to join, nothing.
Edit: I tried to flash SOURCE_ROUTING version of cordinator that didn't change anything. Also I have extra few cc2531 laying around and flashed those as router, also that didnt help - all behavior the same.  I change MAC address of the first router just to be 100% that its not something with that, nothing. Currently I dont have any device - i removed them.

looks like zigbee2mqtt without devices.js is not able to recognize cc2531 router. after adding proper devices.js to data_path and adding zigbee_shepherd_devices: true to config the cc2531 is recognized as cc2530 and interview correctly.

What is the proper device.js?

Newbie with this. Same problem with cc2531 with antenna.  Flashed with CC2531_router_2020_09_29. Can someone give some info about syntax to add devices.js to data_path and what 'proper' device.js should be. Thank's in advance

looks like zigbee2mqtt without devices.js is not able to recognize cc2531 router. after adding proper devices.js to data_path and adding zigbee_shepherd_devices: true to config the cc2531 is recognized as cc2530 and interview correctly.

Hi, can you tell us how you do that? "adding proper devices.js to data_path". Thank you

sorry, been some time ago, it used to be this file: https://github.com/Koenkk/zigbee2mqtt/blob/3fdfc6f57f18d26a20a69619c5b51eb5d6d407b2/lib/devices.js I had to add CC2531 to this file to be able to use it, but its been quite some time and im unsure if this is also solution for same problem with current software.

I've got the same thing going on in 2023.
I've got a CC2531 USB stick with 20211115 version of CC2531ZNP-Prod.hex and it's working for Zigbee devices.
I got another CC2531 USB stick and loaded it with the 2020_09_29 version of router-cc2531-std.hex.
The CC2531 USB board with router firmware in it blinks the red LED once per second when powered up - indicating it's in pairing mode.  I put the CC2531 USB stick into pairing mode from inside Home Assistant and the messages show it's waiting for devices to pair.  The CC2531 USB board with router firmware never pairs!
So, I loaded the CC2531 USB stick with the 2020_09_29 version of router-cc2531-diag-usb.hex.
I put the CC2531 USB board with router firmware into a USB port on my Windwos 10 machine and a COM5 port showed up in the Windows Device Manager....good.
When I open PUTTY to view the serial port info, I see this over and over.
PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

I'm not sure what to do to force it to pair with the CC2531 USB coordinator??

I've got the same thing going on in 2023 that @bigretromike had in December 2020.
I've got a CC2531 USB stick with 20211115 version of CC2531ZNP-Prod.hex and it's working for Zigbee devices.
I got another CC2531 USB stick and loaded it with the 2020_09_29 version of router-cc2531-std.hex.
The CC2531 USB board with router firmware in it blinks the red LED once per second when powered up - indicating it's in pairing mode.  I put the CC2531 USB stick into pairing mode from inside Home Assistant and the messages show it's waiting for devices to pair.  The CC2531 USB board with router firmware never pairs!
So, I loaded the CC2531 USB stick with the 2020_09_29 version of router-cc2531-diag-usb.hex.
I put the CC2531 USB board with router firmware into a USB port on my Windwos 10 machine and a COM5 port showed up in the Windows Device Manager....good.
When I open PUTTY to view the serial port info, I see this over and over.
PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

I'm not sure what to do to force it to pair with the CC2531 USB coordinator??

@mrneutron42 Your device may try to connect to a router or another coordinator with a higher signal level.
Try to move your device closely to the coordinator.

During this setup testing the router is 7 feet away from the coordinator and there are no physical obstructions.
I am sure this is not an RF signal strengh problem.  I'd say the focus needs to be on the software and firmware.
For example, is there are interoperation problem with the 2 versions of cooridinator and router firmware I've got loaded?

I got another CC2531 USB stick and loaded the 2020_09_29 version of router-cc2531-diag-usb.hex into it.
SAME results - it has the constant red LED blinking (join mode) but it never joins the CC2531 coordinator's Zigbee network, after clicking the "Add Devices via this device" button in the ZHA Home Assistant.

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

PANID:F5B,Ch:15,Join:0

Last time I played with my device the issue was also that it had that internal antena (print on mobo, not real wire antena) and the range was very small (1-3meters in plain sight), that was also issue that would prevent me from joining zigbee devices.

RF strength isn't likely my problem.  I'm using the the USB units with the SMA connector and external antenna.

Both the USB CC2531 coordinator and the USB CC2531 cordinator has the external antenna.
And cooridinator is easily communicating with the IKEA TRADFRI repeaters that are 5-10 meters away.


Export and import part of graph

Description
When you are doing tutorials it is good to be able to show what should be done in small code snippets. In code it is usually just a code snippet that the user can just copy and past into the code they are learning. I think something simular would be good to have here to.
Implementation ideas
I think it can be good if you can select part or all the nodes and export them to json/xml or some other format. Then when you do tutorial you can have a screen shot of the nodes but you can also have a copy of it that the user can just copy and paste into there project.
This can also help if you want to have small snippets for different tasks like camera movement, key inputs and so on.
If you can have the CTRL+V to add the nodes that you have copied would be great. I think this need a lot of discussion to get right thought, how to handle variables, function, macros and so on.

This is a neat idea, though we'll have to see how best to do this.  We're currently re-evaluating the documentation system to think about not only multi-version but also multilingual support, and that could dictate the code needed to do this from a documentation perspective, so I'd prefer we delay until we have a defined foundation for documentation.

Yes I have seen the discussion and I agree that this should be a part of the redesign of the documentation.


feat(stream): change approx_percentile to accept an array of quantiles rather than a single one

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
We can share state for approx_percentile to save space. To achieve this, we change the implementation of approx_percentile into approx_percentile(quantiles double[], relative_error double) within group (order by COLUMN).
In a future release we can support approx_percentile(quantile double, double) via the optimizer + project to make it more user friendly.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Porbbaly won't merge.

I’ve thought about it further. I don’t think we need to reuse state, because the bottleneck is hardly on the storage side typically. Rather it is in the cache implementation. When user have 100K buckets for instance, the iteration can become expensive. So it’s a matter of optimizing the cache.
It doesn’t seem as though user will complain about state reuse. We have other cases with large state which are not shared, e.g. min/max/approx count as well.
This is because the interface of approx_percentile now becomes complicated for the user. They have to declare an array of quantiles, rather than a single quantile, and have to do the projection manually. Sure we can let the optimizer rewrite separate approx percentiles into project + approx percentile array agg. But then it leads to complexity in the FE.
Down the road, if space really becomes a concern for the user, it’s okay to introduce approx_percentile_agg at that point in time, to let them have state reuse.
To summarize there’s two drawbacks of making approx_percentile support state sharing:
Either we make the user interface complicated (approx percentile with an array of percentiles)
Or we make the optimizer complicated (have to solve approx percentile and make them share state, and use project to rewrite the plan)
The only benefit is saving space occupied by exponential buckets, which is most cases is not much. Approx Percentile computation is not bottlenecked by state sharing.
This trade-off doesn’t seem worth it to me.


Master builds not available anymore

Please update the readme or publish a new version again.

Thanks for letting us know @levrik,looks like https://kap-artifacts.now.sh/master is down (404) @karaggeorge and @sindresorhus. As a workaround for now you can clone master from GitHub.

This was fixed here: https://github.com/wulkano/kap-artifacts/commit/a82336736cea25ba05e5b459ad73ec63a9f92759


Navigate to asset type management screen

As system administrator I would like to see a list of Assets and their type so I can quickly see what assets and types are available

@dpdavids Take a look at http://eco-assets.seekingtangents.com/administration/asset-types to see what the initial version of this looks like.


feat: CSPM-1261 Filtering out ASG and terminated instances

@edmundcong, could we update this branch with latest changes and resolve merge conflict in this PR.
I'm planning to check out my changes for https://plerion.atlassian.net/browse/CWPP-1034 from this branch.

Should we close this PR @edmundcong since we are same thing in #35 ?

Closing this PR as the same change is covered by https://github.com/plerionhq/plerion-asset-counter/pull/35


mypy: Use sqlalchemy-stubs

Looks reasonable to me; posted one comment but feel free to merge after addressing that.


Feat/cognito custom email sender

Summary | Résumé
Cognito custom email sending lambda. Note duplication had to be made to avoid a heavy refactor of the app module which will have to be done at some point in the future. Production environment terragrunt configurations have not been made because there is a PR open for the release which will cause conflicts. So I will push a commit to configure the production environment once this PR has been merged to develop and into the release PR
Test instructions | Instructions pour tester la modification
Unfortunately localstack cannot really be configured here without the pro version.

According to the plan the user pool will not be destroyed 😲

According to the plan the user pool will not be destroyed 😲

Yup I was surprised as well ! Seems to be just the user attributes its mostly sensitive about

LGTM :)

Thanks for the quick feedback loop! Great catches and suggestions !


Add dpoulopoulos as member

Contributions:

https://github.com/kubeflow/manifests/pull/2233
https://github.com/kubeflow/manifests/pull/2251
https://github.com/kubeflow/manifests/pull/2252
https://github.com/kubeflow/manifests/pull/2288

Sponsors:

@vkoukis
@StefanoFioravanzo

Test:
dimpo@vox  ·  internal-acls/github-orgs  ·   add-dpoulopoulos-as-member                                                                                 v3.8.1 [athena]
❯ pytest test_org_yaml.py
============================================================================================== test session starts ==============================================================================================
platform linux -- Python 3.8.1, pytest-8.3.2, pluggy-1.5.0
rootdir: /home/dimpo/git/internal-acls/github-orgs
plugins: anyio-3.7.1
collected 1 item

test_org_yaml.py .                                                                                [100%]

=============================================================================================== 1 passed in 0.28s ===============================================================================================

+1
/lgtm

@jbottum @terrytangyuan @andreyvelich Any of you could help?

/lgtm

/ok-to-test

@jbottum @terrytangyuan @andreyvelich Can you approve Dimitris membership?

/lgtm
/approve


Markdown Links no longer working

Involved feature
Markdown Links
Steps to reproduce
Send a message with test markdown links.
Expected behavior
test markdown links is rendered.
Actual behavior
[test markdown links](https://refined.chat/markdown-links) is rendered
System configuration
Browser (include version): Google Chrome Version 75.0.3770.142 (Official Build) (64-bit)
Extension version: Refined v2.2.18

I'm unable to repro... which is not a bad thing, it means they kept the API there and we should be able to fix it.
Unfortunately, without a repro I can't work on a fix. Have you tried refreshing slack?

welp, I should get it soon enough :) I also heard colleagues talk about Slack doing architecture modifications to their web app.
If you have errors there, yeah... but I'm going to guess that there are none (and that they replaced the function I'm monkey patching).

Ok, sounds good -- fwiw, you're correct that there are no javascript errors.

I was able to reproduce the issue... I'm ashamed to admit that even if you clearly stated you were using Chrome, I tried to get a repro on Firefox 🤦♂
It works on Firefox, it's broken on Chrome. I'll work on fixing it this weekend.

it doesn’t look amazing :( https://twitter.com/g3rv4/status/1152629175108460545
it certainly seems like they are actively making it really hard for extensions to mess with their site

I'm continuing the development of the extension in private :( read more about it on my blogpost


Just looking for clarification on usage

Is it my understanding that you have to manually add each site to the "blacklist" in order for this to work? I think I am confused about the terminology of "blacklist" in this context.
Also, I recommend considering removing the language blacklist or whitelist because they unintentionally relay an inappropriate racial undertone.  Some alternatives to consider that I feel are easier for the layperson to understand regardless of your stance on the matter.
Exclude List
Allow List
Block List
Allow List
Reject List
Permit List
Minus List
Plus List
Exclusions
Inclusions

@seandfeeney,

Also, I recommend considering removing the language blacklist or whitelist because they unintentionally relay an inappropriate racial undertone.

Fair point, the language of the README has been changed.

Is it my understanding that you have to manually add each site to the "blacklist" in order for this to work? I think I am confused about the terminology of "blacklist" in this context.

TL;DR:
By default the extension doesn't do anything. When you come across a site that is blocking copy/cut/paste, click on the extension's button (optionally adjust the pattern) then click the "Save" button, at that point copy/cut/paste functionality should be working.
Longer version
So there aren't really any "blacklists" and "whitelists," the extension is either active or inactive for the URL you are visiting, by default it is inactive. There also isn't a list of sites where the extension is active and another list where the extension is inactive. Instead, there's only a list of patterns and the extension is active if the current URL matches any of those patterns, by default there are no patterns which is why the extension is inactive by default.
When the extension is active then it intercepts copy/cut/paste events before the page does and forces the browser's default behavior for those events. You activate the extension by adding patterns to the extension's settings that match the URL of the pages you want it to be active. For instance, if you add a pattern of .* then the extension will always be active but you will have a poor browsing experience when you are on sites that do useful things with those events (like GitHub turning a file paste into a file upload).
When the extension is inactive (as in there are no patterns that match the current URL) and you click on the extension's icon button, it will open a popup where you can add patterns and it will be populated with one that matches the domain of the current URL. Generally speaking, the suggested pattern will be sufficient and so all you need to do is click on the "Save" button in the popup; at that point the extension will be active and it will reactivate any time you visit a URL with that domain.
When the extension is active and you click on the extension's icon button, the popup will be populated with all patterns that match the current URL. If you remove all the matching patterns and click save, then that will deactivate the extension.
Caveat
If a site is also blocking the keyboard shortcuts associated with copy, cut or paste, this extension does not circumvent that, you will need to right click or use the browser's Edit menu to accomplish those tasks.

Anyone please do answer me this!!
Will the site owner or someone know??
If I paste text ...in the site where paste is blocked???
And 1 more doubt if i on extension and paste later on I off extension than someone shall know this also??

@acino1answers I'm sorry, I'm not quite able to understand the problem you are experiencing.
Can you open a new issue, specifying the site you are having trouble with and any other details about what you are seeing?

Hello sir!!
I have no issues with app!!
I just have one small question!!
Please do answer this!!
If I use the extension and paste the text .
Will the site owner know that I pasted the text ???...
Example
-- there is some site name "A"
So site  "A" had blocked the option paste ,so now I used the extension and
pasted the text....
So will the site owner aware of my actions??
Thing is I got online exam!!
And I am not that fast on keyboard..
And the site where I write exam don't allow me to paste!!!
So if I paste using the extension will anyone know????
On Tue, 15 Jun, 2021, 9:29 pm Jacob Swanner, @.***>
wrote:

Closed #112 https://github.com/jswanner/DontFuckWithPaste/issues/112.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jswanner/DontFuckWithPaste/issues/112#event-4892641021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUPP4U3NNQVOPRGL3OOLNKDTS52GDANCNFSM4YPPP5UQ
.

If I use the extension and paste the text . Will the site owner know that I pasted the text ???...

Most likely not. If you used the keyboard shortcut for initiating the "paste" event (ctrl-v/cmd-v), they could have event listeners registered for those and record that activity (I've never noticed a site that does that, but it's theoretically possible). If you trigger "paste" from the Edit menu or from context menu (right click) then no, if the site had event listeners for "paste" events this extension prevents the site from receiving those events.

I checked my exam site there is no such events...when I inspected elements!!
https://ks.wjx.top/m/30040783.aspx
That's my sample test ..
If you have a minute could u please confirm it !!!
It's been so hard since lockdown even I know the answers I can't type
within the time limit!!!
Please do have a look at my exam site
Thank you so much!!!
On Tue, 15 Jun, 2021, 11:35 pm Jacob Swanner, @.***>
wrote:

If I use the extension and paste the text . Will the site owner know that
I pasted the text ???...
Most likely not. If you used the keyboard shortcut for initiating the
"paste" event (ctrl-v/cmd-v), they could have event listeners registered
for those and record that activity (I've never noticed a site that does
that, but it's theoretically possible). If you trigger "paste" from the
Edit menu or from context menu (right click) then no, if the site had event
listeners for "paste" events this extension prevents the site from
receiving those events.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jswanner/DontFuckWithPaste/issues/112#issuecomment-861720024,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUPP4U2X4LNH3OOMQMCH2QDTS6I43ANCNFSM4YPPP5UQ
.


Theme is lost when closing/reopening the app

This is from beta feedback on the app:
Bug: If you select a dark theme and close the application, a light theme will be displayed when you open it.

@zulipbot claim


Resonse structure of /items, /donor/history and /recipient/history

The response structure currently for this 3 routes are being sent in default column structure name, we need to update it in these format:
{
itemId: 1,
itemName: 'rice1',
itemQuantity: 1,
itemDescription: 'left over rice',
itemZipCode: '27606',
itemCity: 'raleigh',
itemDonorId: '1',
itemCategory: 'food',
donorEmail<EMAIL_ADDRESS>}

Updated the response structure as required.


Add Segment to the qiskit documentation page

Requires some investigation, but would be great to add segment tracking to the sphinx theme layout.html.
Set up should be dynamic enough to handle each qiskit repo pulling in the layout.html
(description updated 22 Aug by @javabster)

Events being considered for segment instrumentation:

Page views (by default)
"Is this page helpful Y/N" (CTA clicked)


Menus have 1px gap between navbar and menu list

Version: master 2.2 (11/27/18
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Open any menu from the nav bar (global menu or security menu for example).
Notice that there is a 1px gap between the nav bar and the menu item list.

Result:
1px gap between nav bar and menu list

https://github.com/rancher/ui/pull/2451

Version: master 2.2 (11/30/18)
Confirmed fixed. Additionally tried to break things by changing browser window dimensions, etc and it still works.


Add metric to count number of sync calls

What this PR does / why we need it:
Adds a Prometheus metric to count the number of Sync() calls for each controller
Which issue this PR fixes: fixes #1001
Special notes for your reviewer:
Each controller struct holds a metrics field, following the existing field in the certificates controller struct.
However since Default can be accessed globally and is the same as each of these metrics fields, I am not sure if it is actually needed.
Release note:

Adds `ControllerSyncCallCount` prometheus metric to count sync calls from each controller

Looks good! 😄
/lgtm
/approve


how to get client.crt and client.key

I already got ca.crt and client.ovpn, but didn't find client.crt and client.key. Anyone can advise?

You shouldn't need any file except the .ovpn file: the certificates and keys are in that file and don't need to be extracted. What client app are you using?

IP phone with VPN. If using openvpn,  the phone menu asks to upload four files: ovpn, ca.crt, client.crt and client.key

@Lakerway so you need to extract them from the .OVPN file they are all there! =)

@cfcolaco found all in ovpn. thanks!

no worries @Lakerway
Closing Issue then.
If you have further issues just shout, I will reopen the issue.
Have fun! =)


How to retrieve custom options inside of a compiler/protogen plugin?

hi all - I'm writing a template-based protoc plugin using the framework provided by compiler/protogen, and after a fair bit of digging and experimentation I've been unable to figure out how to retrieve the value of custom options during execution. Since I'm building a protoc plugin (which I don't want to recompile for every protobuf input) I can't use the generated go code (notably the E_* vars), and I also don't have a Message such as is used the example in the March blog post announcing the new protobuf go API
Here's as close as I've been able to come:
sample option file:
syntax = "proto3";

package example;

option go_package = "examples/options/proto;option";

import "google/protobuf/descriptor.proto";

extend google.protobuf.MessageOptions {
  optional string example_annotation_string = 1000;
  optional int32 example_annotation_int32 = 1001;

}

message Foo {
  option (example.example_annotation_string) = "hello";
  option (example.example_annotation_int32) = 1234;

  int32 id = 1;
}

... and a simple main.go of a plugin written in go:
package main

import (
	"fmt"
	"google.golang.org/protobuf/compiler/protogen"
	"google.golang.org/protobuf/types/pluginpb"
)

func main() {
	protogen.Options{
	}.Run(func(gen *protogen.Plugin) error {

		gen.SupportedFeatures = uint64(pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL)

		for _, sourceFile := range gen.Files {
			if !sourceFile.Generate {
				continue
			}

			// setup output file
			outputfile := gen.NewGeneratedFile("./out.txt", sourceFile.GoImportPath)

			// pull out the particular message we know is in the file for this example
			options := sourceFile.Messages[0].Desc.Options()

			// how to get the custom options values out of the "options" protoreflect.ProtoMessage?
			// just print the value to prove they are in there
			outputfile.P(fmt.Sprintf("Options value is:%v",options))

		}
		return nil
	})
}

the output is:
Options value is:1000:"hello" 1001:1234

While this proves the data is present in the "options" descriptorpb.MessageOptions... how can I use the API to read it? This data does not appear in the result of descriptorpb.MessageOptions.GetUninterpretedOption().

The Options method returns a proto.Message, which you need to type assert to one of the descriptorpb.XXXOptions types.
import (
    "google.golang.org/protobuf/proto"
    "google.golang.org/protobuf/types/descriptorpb"
    option "examples/options/proto"
)

options := sourceFile.Messages[0].Desc.Options().(*descriptorpb.MessageOptions)
ext1 := proto.GetExtension(options, option.E_ExampleAnnotationString).(string)

BTW, "examples/options/proto" is a poor choice for a Go package path. It should generally be something like github.com/user/project/... or company.com/project/....

Thanks @dsnet. I've gotten this to work if I use the generated E_ExampleAnnotationString var as you describe, but as noted in my original question I'm aiming to do this without having to recompile my protoc plugin for each new input -- my use case is a template-based generator similar to https://github.com/moul/protoc-gen-gotemplate (which uses the old protobuf go library in clearly unsupported ways) so custom options are not known at the protoc plugin's compile time.
The new protobuf go library makes almost everything I need to access quite easy -- but the one piece of information in the .proto files that I don't seem to be able to access (without compiling the generated go modules into my protoc plugin as you suggest) is the value of custom options.
I did another unsuccessful experiment along these lines: in order to avoid recompiling my protoc plugin I attempted passing the protogen.Message to a go plugin that was compiled with the generated go code (ie E_ExampleAnnotationString) -- a reasonable separation of concerns between a generic protoc plugin and a go plugin familiar with one project's custom options -- but the go plugin's code is not able to retrieve the custom option information out of the protogen.Message, I assume because the info on the options was not saved into the Message structure internals in the protoc plugin because the generated code's init() function didn't run in the protoc plugin (only in the go plugin it called).
(thanks also for the note on my go package path -- I was indeed being lazy in putting together my example)

I see, can you try obtaining them dynamically through reflection?
options := sourceFile.Messages[0].Desc.Options().(*descriptorpb.MessageOptions)
options.ProtoReflect().Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool {
    if !fd.IsExtension() {
        continue
    }
    fmt.Println(fd, v)
    // Make use of fd and v based on their reflective properties.
    return true
})

Actually, I don't think the above will work since the compiled binary will not know about any dynamically created extensions that are passed at runtime. You'll need to create a protoregistry.Types at runtime that knows the type information for all the extensions seen at runtime.
{
	// The type information for all extensions is in the source files,
	// so we need to extract them into a dynamically created protoregistry.Types.
	extTypes := new(protoregistry.Types)
	for _, file := range gen.Files {
		registerAllExtensions(extTypes, file.Desc)
	}

	for _, sourceFile := range gen.Files {
		if !sourceFile.Generate {
			continue
		}

		// The MessageOptions as provided by protoc does not know about
		// dynamically created extensions, so they are left as unknown fields.
		// We round-trip marshal and unmarshal the options with
		// a dynamically created resolver that does know about extensions at runtime.
		options := sourceFile.Messages[0].Desc.Options().(*descriptorpb.MessageOptions)
		b, err := proto.Marshal(options)
		if err != nil {
			panic(err)
		}
		options.Reset()
		err = proto.UnmarshalOptions{Resolver: extTypes}.Unmarshal(b, options)
		if err != nil {
			panic(err)
		}

		// Use protobuf reflection to iterate over all the extension fields,
		// looking for the ones that we are interested in.
		options.ProtoReflect().Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool {
			if !fd.IsExtension() {
				return true
			}
			fmt.Println(fd, v)
			// Make use of fd and v based on their reflective properties.
			return true
		})
	}
}

func registerAllExtensions(extTypes *protoregistry.Types, descs interface {
	Messages() protoreflect.MessageDescriptors
	Extensions() protoreflect.ExtensionDescriptors
}) {
	mds := descs.Messages()
	for i := 0; i < mds.Len(); i++ {
		registerAllExtensions(extTypes, mds.Get(i))
	}
	xds := descs.Extensions()
	for i := 0; i < xds.Len(); i++ {
		extTypes.RegisterExtension(dynamicpb.NewExtensionType(xds.Get(i)))
	}
}

Thanks @dsnet - very tricky! I confirmed that the simple Range() solution doesn't work as you expected, and that the Marshal-Unmarshal one does. I stuck my completed example in this repo for posterity.
Many thanks!

Great to hear!
Anything left to do here? This is the first time I've seen a plugin implementation that needed to dynamically reinterpret the options based on the set of input sources it is operating on. It's cool to see that the new API is able to support this advanced use case. The old API had no hope for accomplishing this.

I believe I'm all set, many thanks.
Definitely an impressive use of the new reflection abilities. FWIW, while digging around I found two other examples while digging of people facing a similar same issue - this stackoverflow question (to which I posted your solution, a link to this issue and my repo) and the stringMethodOptionsExtension and similar methods inside the protoc-gen-gotemplate project, which appear to be attempting an awkward (given the lack of reflection) version of a similar solution to yours using the old API.

Hi, is it possible to dynamically register field options similar to https://github.com/golang/protobuf/issues/1260#issuecomment-751517894?


Get COMP airdrops.

Makes compound handler can get COMP airdrops, fix #32.

Please also change the test cases, make sure you have not broken the CI

Sure!


Add 'view books' use case to developer guide

Resolves #76

Codecov Report

Merging #81 (8d0e9e4) into master (e69639a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #81   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix: emit 'drilldown' event in drillDown function

PR includes

[x] fixed #229
[ ] add / modify test cases
[ ] documents, demos

Sorry to interrupt you, but any progress on this repository? @lvisei

Good CR!

It seems that I misunderstand your reply, sorry.


Make sample more robust

#sign-off

@roygara can you help merge to master branch?

I sent mail to Stephen Tramer and Doug Erickson asking them to merge. cc @roygara

thanks, @erickson-doug and @twooley


Needs the step for the Microsoft.AspNetCore.Authentication.Twitter Nuget Package

At the top of this document you should put the step that people need to include the Nuget Package. You do this on the Facebook documentation but not on Twitter.

Add the Microsoft.AspNetCore.Authentication.Twitter NuGet package to the project.

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

ID: cb577d84-a06b-4d3e-a1c4-92c8a97a85aa
Version Independent ID: 528fcbb8-5b0f-8340-743f-df612319a229
Content: Twitter external sign-in setup with ASP.NET Core
Content Source: aspnetcore/security/authentication/social/twitter-logins.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Dup of #13300

@wadepickett  can you get that added today? You don't need to do  #13300 today.

OK, I will get this done today, thanks.  I am also assigned to get getting over 11K SEO issues sorted out for all .NET areas at the moment so have been jumping back and forth a bit, sorry.  Let me get this Twitter one though, I want to finish it, thanks.

@wadepickett  early next week is OK.

Updating for 3.0 twitter auth Nuget package right now so it matches the 3.0 overview and starter project, publishing, then updating to 3.1 for overview and rest of social auth afterwards.   The RTW 3.1 Twitter package just released requires ASP.NET Core 3.1


Setup basic infrastructure for CC&Cs

Expected Behavior
There is a e.g. folder layout containing short README.md explaining the structure and purpose.

Basic layout done (for now).


Question about cido and cido-base

I found that the difference between the file cido and cido-base is whether to display "import". I would like to ask how this is done. I want to learn to integrate the ontology that is reused as a whole. thanks.

You can use our merged cido version which does not have the seperate imported files.
However, we don't always make the merged cido version.
To open the cido-base in a correct way, the best thing to do is to download the GitHub repository as a whole and open the cido-base there bacause it needs to import the other owl files with the file directory structure.

Could you tell me what tool was used to build the merged cido? I am curious about this.

I used Protege OWL editor, which has a function to merge. I think you can use some other tools for it as well. ROBOT may do the trick.

Thank you for your prompt reply, I will try to use these tools.

Great. I will then close the issue. Let us know if you need more support. Best.


Criterion rework step 2

Second step of the "criterion rework".
Warning: This step breaks the client's criterion API.
Instead of creating a criterion type (which defined the kind, inclusive or exclusive), then adding ValuePairs and then "instantiating" a criterion with that type, the client now simply create a criterion in 2 steps: each kind has its own method (createExclusiveCriterion/createInclusiveCriterion) and takes a name as argument. The client than adds ValuePairs to this criterion before starting the parameter framework.
More simplification to come.

@clero please review.

license updates done.

Coverage decreased (-0.04%) to 69.94% when pulling 4f6f898bc0940ffdb4db7e76ceb1999c6f5aa09a on dawagner:criterion-rework-step-2 into 2ddf4119c7729c3d0652badc5a3647dc35df8f62 on 01org:next.

Coverage decreased (-0.04%) to 69.94% when pulling 66144c4a95ef1dd03881a449c13ba29153b4fcd8 on dawagner:criterion-rework-step-2 into 2ddf4119c7729c3d0652badc5a3647dc35df8f62 on 01org:next.

:+1:


[Fix][Script] Fix lose jvm option when jvm_options file not end with \n

Purpose of this pull request
This PR fix when jvm_client_options or jvm_options file not end with \n, can not get the last jvm options.

Does this PR introduce any user-facing change?
no

How was this patch tested?
tested in local

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

cc @LeonYoah @liugddx @Carl-Zhou-CN bring from #6564


[Request] 1.18.2 backport

Is it possible to backport this mod to 1.18.2?

a 1.18.2 port is in development.

1.18.2 backport has been released


QR Code Generator

It is a niche tool that is used to generate different types of QR Codes. Depending on your purpose, you can use our generator to create QR Codes to open a website, view a PDF file, listen to music, watch Youtube videos, store image files, connect to a WiFi network, and much more.

this project is already present in the repo


Client/Agent communication

Hello everyone! I am trying to build a shared memory custom transport between client and agent. I have two circular queue with 16 element each, where the first one handle CLIENT -> AGENT comm, and the second one AGENT -> CLIENT comm.
Because of a small delay, the client is the first to run and start to publish the "create session" messages and fill the queue. After a while the Agent start to take the "create session" messages, but it find 16 of these.

This can lead to a sync problem into communication? or the library internally manage the duplicate?
When the queue is full, my transport send 0 byte. In this case the client keep trying to send the buffer or will it be lost?

Thank you for the reply! I still have a problem with this type of communication. Now the problem is in the recv function:
eprosima::uxr::CustomAgent::RecvMsgFunction my_custom_transport_read = [&](
        eprosima::uxr::CustomEndPoint* source_endpoint,
        uint8_t* buffer,
        size_t length,
        int timeout,
        eprosima::uxr::TransportRc& transport_rc) -> ssize_t
{
    ...
}

The lenght parameter is a huge number (something like 655000). Maybe because the Packet-oriented mode communication need some parameter to be set? (For example: the parameter UCLIENT_PROFILE_STREAM_FRAMING should be turn off?)
Which are the parameters to set for a Packet-oriented mode communication?

Are you creating a stream-oriented transport or a packet-oriented transport?

In packet mode, the buffer passed to the read function is exactly 65535 Bytes length. In this mode, you are intended to read a packet, ensure that it fits in the buffer length, and copy it to the buffer. You should return the length of the packet read.

Yes I am using the packet-oriented mode. So in case the real message from client is 31 byte,  from Agent side I must read and return 65535 byte buffer?

no, just copy your 31 bytes in uint8_t* buffer and return 31.

So far it worked, thank you! another question: I need the client to indefinitely try to establish a session with the agent. With stream-oriented mode I just change the parameters as following:
    "microxrcedds_client": {
        "cmake-args": [
            "-DUCLIENT_PROFILE_UDP=OFF",
            "-DUCLIENT_PROFILE_TCP=OFF",
            "-DUCLIENT_PROFILE_DISCOVERY=OFF",
            "-DUCLIENT_PROFILE_SERIAL=OFF",
            "-UCLIENT_PROFILE_STREAM_FRAMING=OFF",
            "-DUCLIENT_PROFILE_CUSTOM_TRANSPORT=ON",
            "-DUCLIENT_MAX_SESSION_CONNECTION_ATTEMPTS=500",
            "-DUCLIENT_MIN_SESSION_CONNECTION_INTERVAL=1000"
        ]
    }

But now I switch to Packed oriented mode and it seems to ignore those parameters. The Client make these attempts really quick and close the transport after around 10 sec. How can I achieve indefinitely (or long)  establish session attempts?

The client will try to connect to the agent UCLIENT_MAX_SESSION_CONNECTION_ATTEMPTS times and each try will take at most UCLIENT_MIN_SESSION_CONNECTION_INTERVAL milliseconds. So you are doing it correctly. The default values are 10 attempts of 1000 ms each, so your client is trying to reach the agent for 10 seconds.
Are you sure that you are applying correctly the CMake arguments? It seems that it is taking the default ones.

Are you sure that you are applying correctly the CMake arguments? It seems that it is taking the default ones.

Yes, it's weird because with framing-oriented mode everything was working. Than after I switched to packet-oriented mode, it change behavior.

In order to keep trying, I recommend calling the init function iteratively until it connects instead of increasing those values.

Thank you for the advice. I don't understand clearly this one, from where the init function is called?

Could you provide code for replicating this error?

Ok, I fixed the [RTPS Error]. The issue was read a fixed size byte instead of just the bytes available. But know I have the following log and the communication stop after create the participant:
AGENT:
[1636627277.926915] info     | Root.cpp           | set_verbose_level        | logger setup           | verbose_level: 6
[1636627277.927943] info     | main.cpp           | operator()               | Custom Micro XRCE-DDS Agent INIT function | SHM_CUSTOM
[1636627277.927988] info     | CustomAgent.cpp    | init                     | Custom agent status: opened | SHM_CUSTOM agent running
[1636627277.934125] debug    | CustomAgent.cpp    | recv_message             | [==>> SHM_CUSTOM <<==] | client_key: 0x00000000, len: 24, data:
0000: 80 00 00 00 00 01 10 00 58 52 43 45 01 00 01 0F 58 51 F4 2D 81 00 FC 01
[1636627277.938407] info     | Root.cpp           | create_client            | create                 | client_key: 0x5851F42D, session_id: 0x81
[1636627277.938557] info     | SessionManager.hpp | establish_session        | session established    | client_key: 0x5851F42D, address: ID: 0
[1636627277.938758] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 19, data:
0000: 81 00 00 00 04 01 0B 00 00 00 58 52 43 45 01 00 01 0F 00
[1636627277.938846] debug    | CustomAgent.cpp    | recv_message             | [==>> SHM_CUSTOM <<==] | client_key: 0x5851F42D, len: 44, data:
0000: 81 80 00 00 01 07 22 00 00 0A 00 01 01 03 00 00 13 00 00 00 00 01 00 00 0B 00 00 00 76 69 74 69
0020: 73 5F 6E 6F 64 65 00 00 00 00 00 00
[1636627278.019786] info     | ProxyClient.cpp    | create_participant       | participant created    | client_key: 0x5851F42D, participant_id: 0x000(1)
[1636627278.020088] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 14, data:
0000: 81 80 00 00 05 01 06 00 00 0A 00 01 00 00
[1636627278.020174] debug    | CustomAgent.cpp    | recv_message             | [==>> SHM_CUSTOM <<==] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 01 00 00 00 00
[1636627278.020179] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 01 00 00 00 80
[1636627278.338294] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 00 00 00 00 80
[1636627278.338323] debug    | CustomAgent.cpp    | recv_message             | [==>> SHM_CUSTOM <<==] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 01 00 00 00 00
[1636627278.538301] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 00 00 00 00 80
[1636627278.538336] debug    | CustomAgent.cpp    | recv_message             | [==>> SHM_CUSTOM <<==] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 01 00 00 00 00
[1636627278.738387] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 00 00 00 00 80
[1636627278.738420] debug    | CustomAgent.cpp    | recv_message             | [==>> SHM_CUSTOM <<==] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 01 00 00 00 00
[1636627278.938469] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 00 00 00 00 80
[1636627279.138603] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 00 00 00 00 80
[1636627279.338657] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 00 00 00 00 80
[1636627279.538734] debug    | CustomAgent.cpp    | send_message             | [** <<SHM_CUSTOM>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 00 00 00 00 80
...

There is something wrong with the log? I am using packet-oriented mode.

Could you provide code for replicating this error?

I am so sorry @pablogs9, but I can't share all code. I am using shared memory transportation with an hypervisor and it is complex to share all library that I am using.

With those logs, it seems that there is nothing wrong. You are creating the session, the agent acknowledges the session, and the participant is created. The final messages are heartbeats and acknack.
Does it stop completely? What is your client code functionality?

I have already tested the client app with serial transportation and it work. I just have one publisher and one subscriber. When I switched to this new custom transport, the client enter in the spin loop and never reply to Agent anymore:
	while(1){
		rclc_executor_spin_some(&executor, RCL_MS_TO_NS(100));
	}

It should be an error handling the messages in the transport layer.

Thank you so much for the support! Was my transport fault, now it works.


Controller Visualization: Implement Mole Pattern Visualization

We should try to use the column Event with the events Mole Spawned and Mole Hit / Mole Expired together with columns MoleIndexX and MoleIndexY to identify when to show moles  on the wall (color them green vs grey) in the Controller Visualization.

Alright, I'm starting to code the different features we're going to need.
However I don't have a .CSV containing mole states. could you send me one?

@aldsanms try cloning
https://github.com/bastianilso/WhackAMoleWinterTest2022
and open the  wamwinter22_analysis.R script.   Be aware that the dataset contains data from multiple sessions though. You can filter the data by doing:
MoleData = D %>%  filter(Participant == 0, Condition == "Test Condition 2")

feel free to take this code and put it inside your own script, or copy over the RDA file.

Today I successfully uploaded mole state data with the wamwinter22_analysis.R.
I can now display the moles and have them change color with a transition based on the values present in the data.
Is missing a mole on the .CSV generated by the wamwinter22_analysis.R , I have generated them several times and the result is the same.
https://user-images.githubusercontent.com/73821252/196958972-7d3017c0-74ce-42f8-87a4-d7028dadee6a.mp4
My code doesn't follow the real time present in the data yet, the laser and the appearance/disappearance of moles are not fully in sync.

@aldsanms if a mole was not activated it may not be present in MoleIndexX and MoleIndexY. But we have columns to log how large the grid was, which you can use to render the number of walls in X and Y directions called WallColumnCount and WallRowCount. Hope this helps.

@aldsanms What is the status on this issue, do you have work left to do regarding the mole pattern visualization? Let me know if all bugs have been cleared and I will close this issue.


chore: use panic instead of assert

These constructs are equivalent (though we do need to pass a format string to panic), but this nicely avoids the weirdness of having to return some default value after the assertion fails (panic returns std::zeroed).

@Thunkar originally spotted this in https://github.com/AztecProtocol/aztec-packages/pull/8438 (where I sneakily introduced a commit)


UI glitch

https://github.com/DJ-Raven/flatlaf-dashboard/assets/82273319/4e963210-1d15-4b69-b754-13aec0b5c4e6
https://github.com/DJ-Raven/flatlaf-dashboard/assets/82273319/cd6579c9-778c-4dd4-aa6d-499b4762f8b7
can you helf me how can i fix this issue

@anuragsgupta What jdk you are using. I thing you issue same as this : https://github.com/JFormDesigner/FlatLaf/issues/700
You can test it with jdk 8 or 11

You can try with latest version of 21


code beauty: src/utils/promise.js should be called src/utils/sequence.js to reflect it's content.

The name promise.js gives the false hint, that it contains some sort of polyfill for Promise or some other code, which gives a Promise-like functionality.

fair enough! 7f9d99a3342d1dd0c5c29ce211a0bc5912c34886


Migrate to null safety

Any plans to do that?

👌 asap

😆 Already migrated and published, version 0.3.0


Reproject watershed polygon to WGS84 before regionmask

This PR reprojects the Watershed shape selected from GUI from Pseudo Mercator to WGS84 to be compatible with the other boundary files used.
I have tested this on the HUB. I picked the "Carrizo Plain" watershed and works fine for 3km and 9km, but the 45km returns the "Insufficient Gridcells" assertion. I guess that is because the watershed is in 1 cell and not getting the centroid? Or some similar behavior (not majority?). Is this the behavior we want or should we work on having it return any cells it intersects instead?
Please test this in your own environments as well. Thanks.

Hi @elehmer - I've tested this on the Hub, and it works fine for the 9km and 3km data resolution for the Carrizo Plain watershed. When testing with 3km res, I also got the "insufficient gridcells" error, so I tried with a slightly larger watershed (Big-Navarro-Garcia) which passes app.retrieve() but fails upon basic map plotting with this error:
WARNING:param.dynamic_operation: Callable raised "AxisError('axis 1 is out of bounds for array of dimension 1')". Invoked as dynamic_operation(numpy.datetime64('1980-09-01T00:00:00.000000000'), 'Historical Climate', 'cesm2', height=400, scale=1.0, width=400, x_range=None, y_range=None) WARNING:param.dynamic_mul: Callable raised "AxisError('axis 1 is out of bounds for array of dimension 1')". Invoked as dynamic_mul(numpy.datetime64('1980-09-01T00:00:00.000000000'), 'Historical Climate', 'cesm2') WARNING:param.dynamic_mul: Callable raised "AxisError('axis 1 is out of bounds for array of dimension 1')". Invoked as dynamic_mul(numpy.datetime64('1980-09-01T00:00:00.000000000'), 'Historical Climate', 'cesm2') WARNING:param.dynamic_operation: Callable raised "AxisError('axis 1 is out of bounds for array of dimension 1')". Invoked as dynamic_operation(numpy.datetime64('1980-09-01T00:00:00.000000000'), 'Historical Climate', 'cesm2')
with AxisError: axis 1 is out of bounds for array of dimension 1 as well.
Potentially related to the "one cell" issue by another name?

The hvplot documentation is not very detailed unfortunately. But looks like the quadmesh function does not like a 1 dimensional array - it assumes that it will be at least 2 cells wide in an axis. Which is a bad assumption since a 1 cell axis is still an axis. Arg! I guess we could put a test on the quadmesh to not run if the axis only has 1 cell.

Made a note about handling the one-gridcell in the card about determining the type of plot to make, but seems like a side issue that should not hold up this PR.

Yes, I'd actually just like to fix this issue by reprojecting and then serving the data ourselves. Maybe using ArcGIS Server? I have a server running. Or convert to geojson and stash somewhere?

Yeah the dimensionallity thing is annoying, but as I said on slack climakitae shouldn't care where the spatial dims are 0,1,2 dims. But we can add some logic in the notebooks to handle the weird 1d situation.


Add delete expired

2021-02-18T11:16:14.679Z        INFO    collector       delete expired  {"Satellite ID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Piece ID": "Z32XG7VD3SXEOYR7DHENSWZ2XAJ4F3PHQPSTVYUZRBIFHEQO2CKA"}

The delete metric seems to be rather irrelevant because delete expired is also a succesful delete so delete failed basically never happens anyway.


How to custom the size of the images or the files uploaded

Laravel Version: 5.6
Voyager Version:1.1
PHP Version: 7.2
Database Driver & Version: phpmyadmin
Hey  , i got an issue , whenever i try to upload a file that its size is bigger than 3Mb i found that ,it s not uploaded , please how can i custom the sizes of the files and images i upload .
thank you

There's a php.ini config limiting the size of uploads. You need to change that.
Nothing to do with Voyager

thank you man !


graph_mobilenet QASYMM8  speed test  abnormal

add test time code:  https://github.com/ARM-software/ComputeLibrary/blob/master/examples/graph_mobilenet.cpp#L116
    void do_run() override
    {
        struct timeval start, end;

        // Run graph
        for (int i = 0; i < 10; ++i) {
          graph.run();
        }

     	gettimeofday(&start, NULL);
        // Run graph
        for (int i = 0; i < 50; ++i) {
          graph.run();
        }
        gettimeofday(&end, NULL);

        int timeuse = 1000000 * ( end.tv_sec - start.tv_sec ) + end.tv_usec -start.tv_usec;
	printf("\ntime: %f ms\n", timeuse/50000.0);
    }

after built ...
adb push graph_mobilenet  data/local/tmp
adb shell
cd data/local/tmp
./graph_mobilenet --threads=4

Threads : 4
Target : NEON
Data type : F32
Data layout : NHWC
Tuner enabled? : false
Tuner file :
Fast math enabled? : false

time: 123.174700 ms

But
./graph_mobilenet --threads=4 --type=QASYMM8

Threads : 4
Target : NEON
Data type : QASYMM8
Data layout : NHWC
Tuner enabled? : false
Tuner file :
Fast math enabled? : true

time: 1960.270360 ms

Compared with F32 MobileNet, QASYMM8 MobileNet model should take less time, right ?
Please help!
Thanks

Hello @WenguoLi,
Yes performance of the QASYMM8 is not optimized for mobilenet in 18.08 for NEON. We have improved performance a lot and will part of the next release.
Hope this helps.

Thanks, @GeorgeARM.

Closing this issue @WenguoLi. Reopen if the issue persists on the next release. Thank you for your questions and useful help.


dockerTools: Fix loop typo.

Motivation for this change
Typo in the layer extraction logic causes only a single layer to be de-duplicated, rather than all layers.
Things done

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

[ ] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

LGTM


[Bug]: Not showing fields in custom PDF after uploading PDF

Expected Behavior
When uploading the 5e character sheet PDF, a window appears that shows all the fillable fields on the PDF. This is what I'm expecting to happen when working with my Quest RPG character sheet PDF.
Current Behavior
When uploading the Quest RPG PDF, I see a blank window with none of the fillable fields present in the PDF. There is the print button at the bottom, but nothing else.
Steps to Reproduce

Upload my Quest RPG character sheet PDF.
See the blank window.

Context
The PDF I am working with is the official digital character sheet that I edited using Affinity Publisher. I then used docfly.com to create the fillable fields.
I am using Brave browser.
Quest Character Sheet.pdf
Version
0.24.1
Foundry VTT Version
11.313
Operating System
Ubuntu
Browser / App
Other
Game System
Quest 0.2.2
Modules Disabled

[X] I can confirm that disabling all of my other modules doesn't fix this issue.

If I understand well you are trying to use 5e mapping with a game system that is not 5e and with a PDF template that is not the one for 5e.
If this is correct, the behavior is not a bug since there is no mapping for the system you are trying to use and for sure not for the PDF you are trying to use so in this case is normal that it will not show anything.
You will need to create mapping for that system/pdf

No. Sorry for the confusion. In my 5e world, the mod works great. I have another world for the Quest RPG system for which I have written a mapping system. If I use the official character sheet for Quest RPG, I can get it to work, but it does not have fillable fields for character abilities, so I created a a custom PDF form so my players could see this (its basically the only reason I wanted the printed sheet in the first place). When I upload the custom PDF, I get the attached screen.

can you attach both mapping and pdf template you are using?

Yes, and sorry I hadn't put it in the original post. This is my first time doing this... I appreciate your help.
Here's the PDF (the weird fillable field naming convention is a carry over from the original sheet):
Quest Character Sheet.pdf
Here's the mapping (I intend to add in ability descriptions to the paragraph fields, but have not gotten that far yet):
[
    /* ---------- Biography ----------*/
        {"pdf": "HP", "foundry": @system.maxhp },
        {"pdf": "Name", "foundry": @name },
        {"pdf": "AP", "foundry": @system.ap },
        {"pdf": "Gender1", "foundry": @system.pronouns },
        {"pdf": "Age", "foundry": @system.age },
        {"pdf": "Height", "foundry": @system.height },
        {"pdf": "Clothing1", "foundry": @system.role },
        {"pdf": "Notes", "foundry": @system.notes },
        {"pdf": "undefined_13", "foundry": @system.dream },
        {"pdf": "undefined_12", "foundry": @system.community },
        {"pdf": "but my", "foundry": @system.ideal },
        {"pdf": "side can get in my way", "foundry": @system.flaw },
        {"pdf": "undefined_5", "foundry": @system.featurebody },
        {"pdf": "undefined_6", "foundry": @system.featureface },
        {"pdf": "undefined_7", "foundry": @system.featurevibe },
        {"pdf": "undefined_8", "foundry": @system.style1 },
        {"pdf": "undefined_9", "foundry": @system.style2 },
        {"pdf": "undefined_10", "foundry": @system.style3 },
        {"pdf": "undefined_11", "foundry": @system.home },

    /* ---------- Abilities ----------*/

        {"pdf": "Abilities01", "foundry": @system.itemTypes.ability[0].name},
        {"pdf": "Abilities02", "foundry": @system.itemTypes.ability[1].name},
        {"pdf": "Abilities04", "foundry": @system.itemTypes.ability[3].name},
        {"pdf": "Abilities05", "foundry": @system.itemTypes.ability[4].name},
        {"pdf": "Abilities06", "foundry": @system.itemTypes.ability[5].name},

    /* ---------- Inventory ----------*/

        {"pdf": "Inv01", "foundry": @system.itemTypes.item[0].name},
        {"pdf": "Inv02", "foundry": @system.itemTypes.item[1].name},
        {"pdf": "Inv03", "foundry": @system.itemTypes.item[2].name},
        {"pdf": "Inv04", "foundry": @system.itemTypes.item[3].name},

        ]

I see this is now tagged as not an issue, but as a question. This doesn't seem accurate to me. I have been able to get this module to work with DnD 5e as I have said. I understand how to make it work. It is a bug because it is not working with my supplied PDF template with the Quest RPG system.


FCI solver for PBC systems?

Hi,
It is my pleasure of contacting pyscf developers for the first time.
I was wondering if you have any modules to execute FCI for pbc systems.
Simply applying the ordinary fci solver does not seem to be appropriate, and I would really appreciate if there is any way to run the calculation properly.
For example, I have tested something like the following, but obviously the fci solver does not work with periodic cells well...
import pyscf.pbc.gto as pbcgto
from pyscf.pbc import df as pdf
from pyscf.pbc import scf as pbchf

L=3
cell = pbcgto.Cell()
cell.build(unit = 'B',
           a = [[L,0,0],[0,1,0],[0,0,1]],
           atom = 'H 0 0 0; H %.5f 0 0'%(L/2),
           dimension=1,basis="sto-3g")

nkpoints = 4
myhf = pbchf.KRHF(cell)
myhf.kpts = cell.make_kpts([nkpoints,1,1])
myhf.with_df = pdf.GDF(cell)
myhf.kernel()

from pyscf import fci
cisolver = fci.FCI(cell, myhf.mo_coeff[0])
cisolver.kernel()

You can check issue #315.

Thanks Zhihao, indeed my question is overlapping with this issue.
Using pbchf.RHF instead of pbchf.KRHF allowed me to run gamma-point simulation (correction of madelung constant required).


Wrong (as non persistent) command to enable IPv6 forwarding in Dual-stack support with kubeadm documentation

In the "Before you begin" section of k8s doc. page "Dual-stack support with kubeadm" (link here) it is said

For each server that you want to use as a node, make sure it allows IPv6 forwarding. On Linux, you can set this by running run sysctl -w net.ipv6.conf.all.forwarding=1 as the root user on each server.

This is not wrong but, if doing like that, the net.ipv6.conf.all.forwarding=1 setting does not survive a node reboot. To make this change persistent the following instructions should be provided instead (mimicking the info provided in Kubernetes Documentation / Getting started / Production environment / Container runtimes / Install and configure prerequisites / Enable IPv4 packet forwarding; note the -a flag has been added to the tee command below):
# sysctl params required by setup, params persist across reboots
cat <<EOF | sudo tee -a /etc/sysctl.d/k8s.conf
net.ipv6.conf.all.forwarding = 1
EOF
# Apply sysctl params without reboot
sudo sysctl --system
Verify that net.ipv6.conf.all.forwarding is set to 1 with:
sysctl net.ipv6.conf.all.forwarding

/language en

/assign


I had my first dose of covidshield on 31-03-2021 at lucknow at lucknow on paid basis. My second dose was due on 10th. On 13th may I sheduled for 2nd dose at UPHC Jiamau, lucknow but the registration showed me first dose only. I got my second dose at scheduled centre but my certificate is not downloading.

Describe the bug
Please do not enter any personal information, for COWIN / registration / certificate related issues login to https://www.cowin.gov.in/home and report issue
A clear and concise description of what the bug is (only DIVOC api / module).
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Am facing the same issue


Bug in numba recipe: zipping tuples.

Reporting a bug

[X] I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/main/CHANGE_LOG).
[X] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

Hi!
Interested to literal_unroll 2 tuples in parallel, I could read about it in the recipe page how-to-zip-several-tuples
I ran the code provided:
from numba.extending import overload
from numba import types
from numba.extending import intrinsic
from numba.core.cgutils import unpack_tuple

def tuple_zip(*args):
    return tuple(zip(args))

@overload(tuple_zip)
def tuple_zip_ovrl(*args):
    return tuple_zip_intr

@intrinsic
def tuple_zip_intr(tyctx, *tys):
    if len(tys) > 1:
        tys = types.StarArgTuple(tys)
    elif len(tys) == 1:
        raise ValueError("Only one argument received. Tuples to be zipped must be passed as individual arguments")
    nitems = min((x.count for x in tys))
    tuples = [types.Tuple(inner_ty) for inner_ty in zip(*tys)]
    ret = types.Tuple(tuples)
    from numba.core.cgutils import unpack_tuple
    def codegen(cgctx, builder, sig, args):
        assert len(args) == 1  # it is a vararg tuple
        args_tup = unpack_tuple(builder, args[0])
        values = []
        for i in range(nitems):
            inner_vals = [builder.extract_value(x, i) for x in args_tup]
            inner_tup = cgctx.make_tuple(builder, tuples[i], inner_vals)
            values.append(inner_tup)
        return cgctx.make_tuple(builder, sig.return_type, values)
    sig = ret(tys)
    return sig, codegen

# With the example.

from numba import literal_unroll, njit

@njit
def f1():
    return 1

@njit
def f2():
    return 2

@njit
def f3():
    return 3

@njit
def f4():
    return 4

a = (f1, f2)
b = (f3, f4)
c = (f1, f4)

@njit
def foo(a, b):
    for x in literal_unroll(tuple_zip(a, b, c)):
        f, g, h = x
        print(f()+g()+h())

foo(a, b)

This results in the following error.
  File ~/mambaforge/lib/python3.10/site-packages/numba/core/dispatcher.py:409 in error_rewrite
    raise e.with_traceback(None)

TypingError: No implementation of function Function(<function tuple_zip at 0x7f691777f2e0>) found for signature:

tuple_zip(Tuple(type(CPUDispatcher(<function f1 at 0x7f68fcd3be20>)), type(CPUDispatcher(<function f2 at 0x7f68fcd3beb0>))), Tuple(type(CPUDispatcher(<function f3 at 0x7f68fcdcc670>)), type(CPUDispatcher(<function f4 at 0x7f68fcdcc8b0>))), Tuple(type(CPUDispatcher(<function f1 at 0x7f68fcd3be20>)), type(CPUDispatcher(<function f4 at 0x7f68fcdcc8b0>))))

There are 2 candidate implementations:
      - Of which 2 did not match due to:
      Overload in function 'tuple_zip_ovrl': File: ../../../../../../tmp/ipykernel_242589/1025763216.py: Line 9.
        With argument(s): '(Tuple(type(CPUDispatcher(<function f1 at 0x7f68fcd3be20>)), type(CPUDispatcher(<function f2 at 0x7f68fcd3beb0>))), Tuple(type(CPUDispatcher(<function f3 at 0x7f68fcdcc670>)), type(CPUDispatcher(<function f4 at 0x7f68fcdcc8b0>))), Tuple(type(CPUDispatcher(<function f1 at 0x7f68fcd3be20>)), type(CPUDispatcher(<function f4 at 0x7f68fcdcc8b0>))))':
       Rejected as the implementation raised a specific error:
         AssertionError: Implementation function returned by `@overload` has an unexpected type.  Got <intrinsic tuple_zip_intr>
  raised from /home/yoh/mambaforge/lib/python3.10/site-packages/numba/core/typing/templates.py:814

During: resolving callee type: Function(<function tuple_zip at 0x7f691777f2e0>)
During: typing of call at /tmp/ipykernel_242589/1025763216.py (61)

I am clearly not a superstar with numba. I would think that the error is in providing different names in decorated functions is the trouble. Is it?
Thanks for your help.
Have a good day,
Best s

Hello,
Removing the overloading part, and correcting the sample (seems to have not been tested, below code works.
from numba.extending import overload
from numba import types
from numba.extending import intrinsic
from numba.core.cgutils import unpack_tuple

@intrinsic
def tuple_zip(tyctx, *tys):
    if len(tys) > 1:
        tys = types.StarArgTuple(tys)
    elif len(tys) == 1:
        raise ValueError("Only one argument received. Tuples to be zipped must be passed as individual arguments")
    nitems = min((x.count for x in tys))
    tuples = [types.Tuple(inner_ty) for inner_ty in zip(*tys)]
    ret = types.Tuple(tuples)
    from numba.core.cgutils import unpack_tuple
    def codegen(cgctx, builder, sig, args):
        assert len(args) == 1  # it is a vararg tuple
        args_tup = unpack_tuple(builder, args[0])
        values = []
        for i in range(nitems):
            inner_vals = [builder.extract_value(x, i) for x in args_tup]
            inner_tup = cgctx.make_tuple(builder, tuples[i], inner_vals)
            values.append(inner_tup)
        return cgctx.make_tuple(builder, sig.return_type, values)
    sig = ret(tys)
    return sig, codegen

# With the example.

from numba import literal_unroll, njit

@njit
def f1():
    return 1

@njit
def f2():
    return 2

@njit
def f3():
    return 3

@njit
def f4():
    return 4

a = (f1, f2)
b = (f3, f4)
c = (f1, f4)

@njit
def foo(a, b, c):
    for x in literal_unroll(tuple_zip(a, b, c)):
        f, g , h= x
        print(f()+g()+h())

Closing this as this is not an issue with the Numba documentation in this repository and PRs have been opened to fix the documentation in the repository that hosts the docs containing the noted bug.


Heroku

Hello ! i'm trying to deploy the project to heroku, have you tried this before? is there any issues? Thanks!

@wilguevara I've done it without issues. I combined it with the signaling server (https://github.com/andyet/signalmaster) in a single Node app: back-end for signaling, front end for SimpleWebRTC. No problems getting it to run.
Good luck!

@jlengstorf me too, by the way thanks for your reply!


Implementing encoding functionality

Refer encode.py from starknet_abi. Use abi_types and execptions to implement it.

assign

Closing this as completed via #14


Bubble are not showing on Android 9.0 Devices

Hi,
I use bubble actions in our App, that works fine on below 9.0 devices, when i run my app on Android 9.0 Device (M1 A2 Lite) all things fine but Bubble Actions are not showing.
Thanks

Yes.

i am facing same issue, when we will get update @SamThompson

Please help @SamThompson we really like your creationn

I solved the problem thanks to this post: https://stackoverflow.com/a/52561294
I manually imported the library then I edited the class BubbleActionOverlay. Instead of dragShadowBuilder I created another object using the class MyDragShadowBuilder() which is in the post I linked.

According to @pnkram 's answer yes, it worked, all what you need is to create this class:
`package com.samthompson.bubbleactions;
import android.graphics.Point;
import android.view.View;
public class MyDragShadowBuilder extends View.DragShadowBuilder {
@Override
public void onProvideShadowMetrics(Point outShadowSize, Point outShadowTouchPoint) {
    outShadowSize.set(1,1);
    outShadowTouchPoint.set(0,0);
}

}`
Then from BubbleActionOverlay class you need to replace these two lines:
private DragShadowBuilder dragShadowBuilder; dragShadowBuilder = new DragShadowBuilder();
by these two lines:
private MyDragShadowBuilder dragShadowBuilder; dragShadowBuilder = new MyDragShadowBuilder();

According to @pnkram 's answer yes, it worked, all what you need is to create this class:
`package com.samthompson.bubbleactions;
import android.graphics.Point;
import android.view.View;
public class MyDragShadowBuilder extends View.DragShadowBuilder {
@Override
public void onProvideShadowMetrics(Point outShadowSize, Point outShadowTouchPoint) {
    outShadowSize.set(1,1);
    outShadowTouchPoint.set(0,0);
}

}`
Then from BubbleActionOverlay class you need to replace these two lines:
private DragShadowBuilder dragShadowBuilder; dragShadowBuilder = new DragShadowBuilder();
by these two lines:
private MyDragShadowBuilder dragShadowBuilder; dragShadowBuilder = new MyDragShadowBuilder();


Update upgrade-party-gab.md

Section "Run the templates", step 9:
It's required to run first the pipeline ElectronicAddress (Party Electronic Address) before executing the pipeline PostalAddress, due the first pipeline create a container named "electronicaddress" which is required by the second pipeline

:white_check_mark: Organization membership check passed
Requester is not a member of the MicrosoftDocs organization.


Error - System.ArgumentOutOfRangeException: Length cannot be less than zero

I am using MySQL and the following statement is giving an error
_dataContext.Attendance.Where(a => a.AttendanceId >= 1850).BatchDelete();
System.ArgumentOutOfRangeException: Length cannot be less than zero. (Parameter 'length')
at System.String.Substring(Int32 startIndex, Int32 length)
at EFCore.BulkExtensions.SQLAdapters.SQLServer.SqlServerDialect.GetBatchSqlReformatTableAliasAndTopStatement(String sqlQuery, DbServer databaseType)
at EFCore.BulkExtensions.BatchUtil.GetBatchSql(IQueryable query, DbContext context, Boolean isUpdate)
at EFCore.BulkExtensions.BatchUtil.GetSqlDelete(IQueryable query, DbContext context)
at EFCore.BulkExtensions.IQueryableBatchExtensions.GetBatchDeleteArguments(IQueryable query)
at EFCore.BulkExtensions.IQueryableBatchExtensions.BatchDelete(IQueryable query)
Receiving the same error when using BatchUpdate.
Using version 6.5.6 with EFCore 6.0.12 and .Net 6
What may be reason?

Any Updates on this? I am facing the same problem when I execute BatchDelete(). I am using Mysql.

None, till now

Batch ops will probably be deprecated since EF as of v7 now supports it natively with ExecuteUpdate and ExecuteDelete.
Library focus in now on Bulk (CRUD + SaveCh.) methods.
So best to upgrade to EF7 and use ExecuteDelete.

Fixed with latest v.