Support dynamic registration to StatPages.

The cache stat module will register to StatPages after cache system
initialized. But there is not a mutex to protect the stat_pages[] array.
It will leads a rare crash when proxy.config.http.wait_for_cache is
false.

@zwoop There is no lable for StatPages. Which labels should I marked ?

We typically use "core" for various low level stuff :-).

@zwoop This is a candidate for 7.1.2.

[approve ci autest]

[approve ci freebsd]

@zwoop Please backport to 7.1.2, thanks.


WIP: multiarch support

As of right now:

apko build and build-minirootfs both only build tarballs for the current platform, ignoring whatever's in the YAML (with a warning)
apko publish defaults to all platforms*, unless the YAML specifies arch: [amd64,s390x,...], with an --arch=s390x,ppc64le,... flag to override that

Some open questions:

*what are "all platforms" in this case? I'm hard-coding to amd64,arm64,ppc64le,s390x currently, but that can be broader, and maybe dynamically fetched from...somewhere?

There's also an ongoing issue about arch-specific keyrings.

In Alpine parlance, I think all platforms would be:

x86
x86_64
aarch64
armv7
ppc64le
s390x
riscv64

But other distributions support more or less platforms.  However, I think most will be using this with Alpine-based distributions for now, so defaulting to those 7 seems reasonable.
Maybe @rvs has some input here?  I think EVE is the biggest consumer of multiarch Alpine images.

Hmm, this seems to reliably fail when building examples/nginx.yaml and nginx-rootless.yaml:
ERROR: unable to select packages:
  /bin/sh (virtual):
    provided by: busybox
    required by: nginx-1.20.2-r0[/bin/sh]
                 s6-<IP_ADDRESS>-r0[/bin/sh]
                 alpine-baselayout-3.2.0-r20[/bin/sh]
Error: failed to build layer image: failed to fixate apk world: failed to run /sbin/apk fix --root /tmp/apko-2109078717 --no-cache --update-cache --arch aarch64: exit status 4

If I move amd64 to the end of AllArchs, it works for amd64/aarch64, but then fails for whatever's now second. Is there something else I have to do to sequester these builds from each other?

Hmm, this seems to reliably fail when building examples/nginx.yaml and nginx-rootless.yaml:
ERROR: unable to select packages:
  /bin/sh (virtual):
    provided by: busybox
    required by: nginx-1.20.2-r0[/bin/sh]
                 s6-<IP_ADDRESS>-r0[/bin/sh]
                 alpine-baselayout-3.2.0-r20[/bin/sh]
Error: failed to build layer image: failed to fixate apk world: failed to run /sbin/apk fix --root /tmp/apko-2109078717 --no-cache --update-cache --arch aarch64: exit status 4

If I move amd64 to the end of AllArchs, it works for amd64/aarch64, but then fails for whatever's now second. Is there something else I have to do to sequester these builds from each other?

Each of these need to be built in their own roots, but I'm not seeing any code to loop over the arch list and build images individually.

Each of these need to be built in their own roots, but I'm not seeing any code to loop over the arch list and build images individually.

Thanks, that was exactly it!
The code to iterate archs and build arch-specific images is hereish: https://github.com/chainguard-dev/apko/pull/56/files#diff-dd36f582aabe1c6547458d485dd6cc334bb6cdeba1de577a1d0670007efba268R109
The problem was I was passing through the same workDir for all archs 💥

Hmm, this one I can't seem to reproduce myself. 🤔
I can run apko publish examples/nginx.yaml imjasonh/apko-multi for all the archs just fine: https://gist.github.com/imjasonh/5c74e01862b1ce30a3d3430a8a58beb5
In both cases each apk fix happens in a different root, e.g., working directory: /tmp/apko-2357205812/aarch64

The tekton task needs to be updated to use proot.  In the meantime, we should restrict it to --arch=x86_64.

The tekton task needs to be updated to use proot. In the meantime, we should restrict it to --arch=x86_64.

This got CI to pass at least 🎉

Also, the proot command line needs to add the -q /usr/bin/qemu-$ARCH option when emulation is necessary.

I started down this rabbithole but I kinda think I should stop and do it in another change. The default alpine:latest base image doesn't seem to include proot by default, so there's more to do there, and this change is already getting kinda big.

I started down this rabbithole but I kinda think I should stop and do it in another change. The default alpine:latest base image doesn't seem to include proot by default, so there's more to do there, and this change is already getting kinda big.

Agreed!  Lets follow it up outside of this MR :)

Looks okay except for the two things I pointed out and also the question about s390x root being used for aarch64 arch.


cannot 'rotx' or rotate view by dragging while animation caching

Open wave.visitput up a PC plot of pressureTurn on animation cachinghit play, let it run til all states are cached.Now, try to rotate the view by dragging or by typing 'rotx' into view 'command' line. Neither works.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 1322
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Low
Subject: cannot 'rotx' or rotate view by dragging while animation caching
Assigned to: -
Category: -
Target version: -
Author: Mark Miller
Start: 01/24/2013
Due date:
% Done: 0%
Estimated time:
Created: 01/24/2013 01:44 am
Updated: 02/19/2013 04:16 pm
Likelihood: 2 - Rare
Severity: 2 - Minor Irritation
Found in version: 2.6.0
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
Open wave.visitput up a PC plot of pressureTurn on animation cachinghit play, let it run til all states are cached.Now, try to rotate the view by dragging or by typing 'rotx' into view 'command' line. Neither works.
Comments:

This appears to be resolved now.


Remove Release Job, Fix CI Errors

CI is working now, activating merge queue and force CI is ok before merging.


Docs: Getting Started: No "Tabular" view

Following http://prometheus.io/docs/introduction/getting_started/.
Under ## Using the expression browser It says to navigate te the "Tabular" view under the "Graph" tab.
No such view is apparent.

Running prometheus 0.15.1 via the latest prom/prometheus docker image (ecebe0acff82)

Thanks, this was renamed a while ago in Prometheus, and the docs update was missed. Fix out in: https://github.com/prometheus/docs/pull/228


Updating the charm icon

The design team at Canonical would like to update charm icons to fit within the new circular format, as displayed in the current GUI.
This will improve how charms are displayed in the store, search results and on charm details pages.
I've attached a new version of the charm icon. If you're happy with this change, please could you update the icon and let us know when it's done.
girafe.svg.zip
Thanks

Hi Karl, I just did and pushed the change to my master branch. Should I request a pull from bigtop?

Hi Panagiotis,
Yes please.
Thanks,
Karl

Closing this as I just requested a pull, thank you for your help Karl!


change renderer name results in crash

To reproduce:

Open VAPOR, import the following file:
/home/shaomeng/data/Source/ROMS/Kauffman/b.n20.B1850CN.f09_g16.09.roms.ha.0001-02.nc
with its associated grid file.
Create a Image renderer. Enable it. Notice it has a name "Image" in the renderer table.
Type a new name for this renderer. For example, "haha". Press Enter.
Click on this renderer item. Vapor crashes.

Update on 12/20: This is still true. Seems pretty bad behavior, don't know why it got a postpone label?

Not sure when this got fixed but I currently am unable to change renderer names.


Broken URL in Understanding the Samples

In the documentation under Understanding the Samples there's a link to See the samples in action now! which just gives me a GitHub Pages 404 :(

Going out in the site update today.

@EisenbergEffect, it's (still | again) broken


Skip verifyFn on vote sending if a verified hash is provided

fixes #1371

Codecov Report

Merging #1376 (90994ce) into master (828364b) will decrease coverage by 8.76%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1376      +/-   ##
==========================================
- Coverage   50.51%   41.75%   -8.77%
==========================================
  Files         145      145
  Lines        7544     9365    +1821
==========================================
+ Hits         3811     3910      +99
- Misses       3066     4817    +1751
+ Partials      667      638      -29

Impacted Files
Coverage Δ

pkg/core/consensus/testing/node.go
0.00% <0.00%> (-93.55%)
:arrow_down:

...ore/consensus/blockgenerator/candidate/testutil.go
0.00% <0.00%> (-90.91%)
:arrow_down:

pkg/core/consensus/testing/utils.go
0.00% <0.00%> (-75.61%)
:arrow_down:

...core/consensus/blockgenerator/candidate/genesis.go
0.00% <0.00%> (-69.24%)
:arrow_down:

...nsensus/blockgenerator/candidate/blockgenerator.go
0.00% <0.00%> (-64.29%)
:arrow_down:

pkg/gql/query/transactions.go
12.60% <0.00%> (-53.38%)
:arrow_down:

pkg/rpc/client/session.go
21.42% <0.00%> (-47.15%)
:arrow_down:

pkg/util/nativeutils/eventbus/eventbus.go
57.14% <0.00%> (-42.86%)
:arrow_down:

pkg/rpc/client/client.go
3.73% <0.00%> (-36.61%)
:arrow_down:

pkg/core/consensus/reduction/aggregator.go
56.25% <0.00%> (-35.06%)
:arrow_down:

... and 166 more

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 b9da6ad...90994ce. Read the comment docs.


Gradient or derivative of vector grid function on a surface mesh

Is there a way to compute the gradient/derivatives of a vector grid function defined on a 2D surface embedded in 3D space? I am trying to compute principal stretches on a surface mesh from a given displacement field but I cannot figure out how to compute the displacement gradient.
I have a triangular surface mesh in 3D space with a displacement vector u at each node and I need to compute the principal stretches at the same nodes. To do this I first need to compute the displacement gradient H=grad(u) (which is a 3x3 matrix) at each node. Once I have this the stretches are just the eigenvalues of C=F^T*F where the deformation gradient F=H+I. I tried computing grad(u) using GetDerivative and DerivativeIntegrator but I am having some trouble getting this to work.

Update: After some more thinking I've realised that the above is not quite correct because the stretches are defined locally on the surface and not in the global 3D space.
I have as input the displacement vector field U(x,y,z) = (u,v,w) defined at the nodes of a surface. I need to calculate the two principal stretches tangent to the surface at each node and output these as vectors in the global coordinate system.
This is an outline of what I would like to do:

Compute derivatives of the displacement with respect to the local surface coordinates, i.e. H=grad(U) = d(u,v,w)/d(s,t) (3x2 matrix).
Compute the local deformation gradient F = I + H (3x2 matrix).
Compute the deformation tensor C = F^T * F (2x2 matrix).
Compute the eigenvalues and eigenvectors of C (the principal stretches are the square root of these).
Interpolate the eigenvalues and eigenvectors from the Gauss points to the nodes.
Map the eigenvectors from the tangent coordinate space (s,t) to the global coordinate space (x,y,z).

Is it possible to implement these steps in MFEM? If so, what would be the best approach to do this?

Hi @benzwick,
Sorry for the late reply.
The simplest approach is probably to define a custom coefficient, either derived from class Coefficient (scalar), or class VectorCoefficient. This coefficient will take the displacement GridFunction as a parameter, similar to this class: https://github.com/mfem/mfem/blob/9a73c2d94c5ecff6dd64c9f7f575e55da0b250cf/fem/coefficient.hpp#L518-L520
Inside the virtual method Eval, you can use the method GridFunction::GetVectorGradient to compute the gradient on the surface. This gradient will be 3x3 where the rows are gradients of the (u,v,w) displacement components which are 3D vectors that are tangential to the surface. Since all 3 rows are in the tangential plane, you have G.n = 0 where G is the gradient matrix and n is the surface normal. In other words, G has an eigenvalue 0 with corresponding eigenvector n. In any case, I believe you can use this G to compute the principle stretches you need.
After this custom coefficient is defined, you can project it on any GridFunction, with a method like GridFunction::ProjectCoefficient(Coefficient &coeff) (if you define a scalar coefficient) or GridFunction::ProjectCoefficient(VectorCoefficient &vcoeff).


feat(32): support multiple subcollections of the same type

Add a name identifier to all collections and subcollections.

All collections have the same base interface. Subcollections have additional data for indexing.

Change the way collections/repositories are stored/fetched.
Update other classes to interact to new Metadata interactions.

:tada: This issue has been resolved in version 0.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⭐ Webhook options

⭐ Feature description
Be able to specify some optional webhook parameters like health API or any other additional options in future
🌈 Your view
Same API as for Bot (BotOption) but for webhook listening
🧐 Code example
No response

Added in v0.15.1


docs: fix invalid links in markdown files

Description
Fix invalid links as reported in the latest run of Link Check -> https://github.com/asyncapi/website/actions/runs/2287946694
successful run-> https://github.com/KhudaDad414/website/actions/runs/2299975752

@KhudaDad414 👀

Is this still an issue or does everything looks good? @KhudaDad414 and @alequetzalli

Is this still an issue or does everything looks good? @KhudaDad414 and @alequetzalli

Not sure @Dule-mart, but for now we are waiting on @KhudaDad414 to be able to get back to us. 😀👍🏽 He needs to resolve conflicts in his branch too.

Alright, will be waiting to hear from @KhudaDad414
On Wed, 13 Jul 2022 at 04:09, Alejandra Quetzalli @.***>
wrote:

Is this still an issue or does everything looks good? @KhudaDad414
https://github.com/KhudaDad414 and @alequetzalli
https://github.com/alequetzalli
Not sure @Dule-mart https://github.com/Dule-mart, but for now we are
waiting on @KhudaDad414 https://github.com/KhudaDad414 to be able to
get back to us. 😀👍🏽 He needs to resolve conflicts in his branch too.
—
Reply to this email directly, view it on GitHub
https://github.com/asyncapi/website/pull/756#issuecomment-1182713609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH4ASUQBTAEJJVGZ2LAHEBTVTYXNVANCNFSM5VQ3PQRA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sorry for being a little late 😆 . I think this PR is ready to be merged.

@akshatnema @alequetzalli Could you rereview? I see that you have been active in this PR and ideally you would like to do another review :)

@akshatnema @alequetzalli Could you rereview? I see that you have been active in this PR and ideally you would like to do another review :)

Sorry, I'm not free right now if you want the review urgently. If this PR remains open till Saturday, I'll review it on weekend.

@magicmatatjahu @KhudaDad414 @akshatnema another round of review would be appreciated.

/rtm

/rtm


noarch, pypi, pip, template

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


rename fromPromise to from

I had "fromPromise" in my code which is correctly fixed by rxjs-tslint
from : import {fromPromise} from 'rxjs/observable/fromPromise'
to : import {fromPromise} from 'rxjs';
Problem is this is not available and renamed to from
Can we here be more smarter and rename it by the way ? :)

The migration will update your code to rxjs 6 RC https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md#600-terrific-rc3-2018-04-11. fromPromise resides in rxjs in this version.

I'm using rc3 and can't see fromPromise, it seems replaced by from. see:https://github.com/ReactiveX/rxjs/blob/master/src/index.ts

@istiti good catch!

@mgechev by the same way use throwError instead _throw which not exist anymore in rxjs


chore(elastisearch): update resources' apiVersion to v1

Both PodDisruptionBudget and PodSecurityPolicy resources are unavailable on apiVersion v1beta1 since Kubernetes 1.25+. Upgrading them to v1 solves the issue.

[x] Chart version not bumped (the versions are all bumped and released at the same time)
[x] README.md updated with any new values or changes

[x] Not applicable

[x] Updated template tests in ${CHART}/tests/*.py

[x] Not applicable

[x] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

[x] Not applicable

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Hi @pandres95, Thanks for opening this PR.
It will be handled by #1420


Update docsite.

The current docsite link is out of date: http://digitalriver.github.io/react-atlas/ update the docsite to use styleguidist.

Fixed by mag in: 24a4498f560aeba8109996f9e4c9633e03bb8185


Custom Element are not compatible with firefox

ns.newElement function call window.customElements but this function isn't available when using firefox or internet explorer, that what MDN says:
https://developer.mozilla.org/en-US/docs/Web/Web_Components/Custom_Elements#Browser_compatibility
why not use existing html elements for better crossbrowser compatibility?

I have removed the code for  as the Shadow DOM spec is stabilizing on . I've also added an example Custom Element that uses Shadow DOM, , and Stamp for templating.
While the Custom Elements example will require a polyfill to run on all browsers, Stamp itself should run on all browsers w/o a polyfill as long as they support the
I've cut a v2.0.0 release with these changes.


added suse quickstart

This is missing the sidebar link, but I'll add it in on a subsequent PR.

You know, I merged this before realizing that it wasn't proper MD for Docusarus. I will fix that too.


Add files via upload

HTML CheatSheet By Me###
This code is ready to use as a fragment or component of your html code.

You need to download prism to create these type of websites.


Move to FsProjects

We would like to move this library to FsProjects.
@forki can you do the move? @mausch will do whatever you need to complete the move.
Thanks !

@mausch I think you need to make me a member or administrator. Then transfer ownership to me. I'll then transfer it to fsprojects.

@forki thanks! Just sent you an invite

Ok accepted. You should now be able to transfer it to me
Mauricio Scheffer<EMAIL_ADDRESS>schrieb am Fr., 8. Mai 2020,
19:59:

@forki https://github.com/forki thanks! Just sent you an invite
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mausch/Fleece/issues/74#issuecomment-625940994, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOANBC7BL742RTWLH25L3RQRB6JANCNFSM4M4EPJSQ
.

Done, it's https://github.com/fsprojects/Fleece now :tada:

ah looks like you were able to transfer it directly. Now I'm adding a mainainers group. Please let me know who should be in there?

Yeah not sure what I clicked there :-)
Anyway @gusty and @wallymathieu for sure, and of course it's up to them to decide if they want to add anyone else!
Cheers

ok done. thanks everyone. Next steps:

please add a section about current maintainers in ReadMe
decide if you want to add a CoC (please do)


in train() function have an option to discard states for memory purposes

have the option to discard all, save all, or a list of times to save


use github_output over github_env

https://github.com/instructlab/ui/actions/runs/12165643601/job/33931228650 should have ran, I believe this is because of github_output vs github_env

If this passes tests I will insta-merge


Update networks.md configuration & add initial feature matrix

split mainnet and testnet into dedicated files
separate "how to" information from configuration
retain networks.md with pointers to the new files
add feature support matrix

Benefits:

separate instructions from configuration
prepare for addition of L2 with its own config

This is now ready for review, given the Council approval of the feature matrix cc @fordN @Jannis

Done, thanks so much @fordN!


What if i want to go call account service from order service

currently i'm inside repository of order service and want to call function written in repository of account service how can i do this ??

Use an account client. https://github.com/tinrab/spidey/blob/72ed153260af51491d7749ba09559f5e9c8c550c/order/server.go#L25
You could pass it to order service and execute RPC there.


face authentication using custom dataset

Hi All,
I have trained set of images for which  am able to create .pkl file.  Now i need to authenticate with single image.  Tried with existing code(classifier.py) but could not able to achieve the same.
Pls suggest the way forward
Thanks
vij

can i undergo facial authentication based on the above approach. pls suggest

Hey,
Check this out. This is based on facenet.
Link


Repostory name is confusing

Its pretty hard to understand how to use it with pure dart. Perhaps the repo name should be dart_rust_bridge and more focus on using direct with dart and also flutter integration should be seperated?

Its pretty hard to understand how to use it with pure dart

Could you please discuss a bit more about what is hard to understand, maybe we can update doc etc to solve that

Perhaps the repo name should be dart_rust_bridge and more focus on using direct with dart and also flutter integration should be seperated?

But we should not change names ;)

Close since inactivity, but feel free to reopen if you have any questions!


A black window is opened briefly when opening one file against Blob Container/ADLS Gen2/File Share/ADLS Gen1

Storage Explorer Version: 1.23.0-dev
Build Number: 20220107.2
Branch: main
Platform/OS: Windows 10
How Found: ad-hoc testing
Regression From: Previous release (1.22.0)
Steps to Reproduce

Expand one storage account -> File Shares.
Create a file share -> Upload one .txt file -> Open the file.
Check whether a black window is opened briefly when opening the file.

Expected Experience
No black window is opened briefly.
Actual Experience
A black window is opened briefly.
Here is the record:

Additional Context
This issue doesn't reproduce on Mac & Linux.

Verified this issue on the latest build main/20220111.1. Fixed.


Add "revert to draft" button for approved step by steps

Once a step by step has been approved, content designers may wish to make minor edits without having to get 2i approval again.
This PR therefore makes two changes:

Editing an approved step by step will not change the status to draft
Adds a "revert to draft" action for approved step by steps (with warning prompt)

Example action:

Example warning:

Trello card: https://trello.com/c/eS79gejo

I've added a new feature test.  As far as I can work out, it's not actually possible to test the contents of the confirmation dialog.  In any case, we'd just be testing a built-in Rails feature anyway.

I'm quite surprised your test is passing - I'd expect you to have to explicitly confirm the modal dialog, like we do in managing_steps_spec.rb:
    accept_confirm do
      click_on "Delete", match: :first
    end

We aren't confirming the dialog for "Discard changes" either: https://github.com/alphagov/collections-publisher/blob/af7809bba8597c0b393d6201d2da391fae89094f/spec/features/managing_step_by_step_pages_spec.rb#L443


Adds blacklist token feature as separate subapp

Builds off work submitted by @avimeir and the discussion at https://github.com/GetBlimp/django-rest-framework-jwt/issues/89

Tested this in a local project by logging into my app with a distant expiring JWT_EXPIRATION_DATE, issuing a POST to /api/v1/auth-token-blacklist/ with the token, and then attempting to access the api (navigated to another page with api call). A 401 Unauthorized is issued and I am logged out of my ember app as expected... Let me know if anyone has input.. seems like nice feature

Should this package include an admin.py for the default black list token implementation? Should the JWTBlackListToken model include any other fields like the actual token value?

@erichonkanen nice work!
I'd add the exp claim to the model, so that we can later clean-up the DB by removing all expired tokens.

@avimeir thanks! should the exp be a DateTimeField or CharField? I know the format it comes in as is seconds since epoch

def jwt_blacklist_set_handler(payload):
    """
    Default implementation that blacklists a jwt token.
    """
    jti = payload.get('jti')
    exp = datetime.fromtimestamp(payload.get('exp'))

    return models.JWTBlackListToken.objects.create(jti=jti, expires_at=exp)

Made it DateTimeField and just converted

Hmm ran into issue testing, I added pytz requirement but it seems the test environment doesn't pick it up? How can I configure the test environment to use it? Should the package use the requirements.txt at installation? Also, running ./runtests.py locally shows import error for rest_framework.authenticators import OAuth2Authentication

I ran into the same OAuth2Authentication issue, solved it by forcing an older version of DRF:
djangorestframework==2.4.3

I think that it happens because OAuth2Authentication was taken out of DRF and is now a separate package: http://jpadilla.github.io/django-rest-framework-oauth/

@jpadilla ran into issue with testing, it seems like this should have popped up before but the tests/test_authentication has a call to rest_framework.authentication.OAuth2Authentication and that was moved to your 3rd party package, I adjusted the repo to use that but when running tox locally and through git I get a confusing error:
  Using cached setuptools-9.1-py2.py3-none-any.whl
Collecting Django==1.7.1
  Using cached Django-1.7.1-py2.py3-none-any.whl
Collecting djangorestframework-oauth==1.0.1
  Using cached djangorestframework_oauth-1.0.1-py2.py3-none-any.whl
Collecting djangorestframework==2.4.4
  Using cached djangorestframework-2.4.4.tar.gz
Collecting pytest-django==2.6.1
  Using cached pytest_django-2.6.1-py2.py3-none-any.whl
Collecting pytz==2014.10
  Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting django-oauth2-provider>=0.2.4 (from djangorestframework-oauth==1.0.1)
  Using cached django-oauth2-provider-<IP_ADDRESS>.tar.gz
Collecting django-oauth-plus>=2.2.1 (from djangorestframework-oauth==1.0.1)
  Using cached django-oauth-plus-2.2.6.tar.gz
    /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'test_requires'
      warnings.warn(msg)
Collecting oauth2>=1.5.211 (from djangorestframework-oauth==1.0.1)
  Using cached oauth2-1.5.211.tar.gz
    Traceback (most recent call last):
      File "<string>", line 20, in <module
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

      File "<string>", line 20, in <module

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/9r/gp7xyl_j0l3flcwp78j7mjcr0000gn/T/pip-build-2ki3xq96/oauth2

If you have any ideas on that or comments on the code updates (lots of incremental commits), let me know.. functionally this is all tested and working locally except for the tox build

Resolved tox error by making test oauth dependency for py27 only (didnt notice that lib doesnt support py3)...
If anyone wants to review this that'd be great, last piece is unit tests

hey Im running into issue with writing tests where I cant seem to load the JWTBlackListToken model into the test database and so I see:
OperationalError: no such table: rest_framework_jwt_jwtblacklisttoken

having read this, the runtests.py file looks foreign to me and I can't figure out how to load that model? I tried copying it from rest_framework_jwt/models.py into tests/models.py, tried overriding the utiils handlers for jwt_blacklist_get/set_handler, tried adding tests/test_settings.py
any suggestions?
class BlacklistTokenAuthenticationTest(TestCase):
    urls = 'tests.test_authentication'

    def setUp(self):
        self.csrf_client = APIClient(enforce_csrf_checks=True)
        self.username = 'jpueblo'
        self.email =<EMAIL_ADDRESS>        self.user = User.objects.create_user(self.username, self.email)

        api_settings.JWT_ENABLE_BLACKLIST = True
        api_settings.JWT_BLACKLIST_GET_HANDLER = test_utils.jwt_blacklist_get_handler
        api_settings.JWT_BLACKLIST_SET_HANDLER = test_utils.jwt_blacklist_set_handler

    def test_post_blacklisted_token_failing_jwt_auth(self):
        """
        Ensure POSTing over JWT auth with blacklisted token fails
        """
        payload = utils.jwt_payload_handler(self.user)
        token = utils.jwt_encode_handler(payload)

        auth = 'JWT {0}'.format(token)
        response = self.csrf_client.post(
            '/jwt/', {'example': 'example'},
            HTTP_AUTHORIZATION=auth, format='json')

        msg = 'Token is blacklisted.'

        print "RESPONSE: ",response
        self.assertEqual(response.data['detail'], msg)
        self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)
        self.assertEqual(response['WWW-Authenticate'], 'JWT realm="api"')

@erichonkanen I think you'll need to include rest_framework_jwt to INSTALLED_APPS in tests/conftest.py.

@jpadilla thanks that worked... another issue is when writing test for authentication, I was debating how to blacklist the token. I ended up just importing the default implementation's model and creating a token object for the test token which effectively blacklists it:
class BlacklistTokenAuthenticationTest(TestCase):
    urls = 'tests.test_authentication'

    def setUp(self):
        self.csrf_client = APIClient(enforce_csrf_checks=True)
        self.username = 'jpueblo'
        self.email =<EMAIL_ADDRESS>        self.user = User.objects.create_user(self.username, self.email)

        api_settings.JWT_ENABLE_BLACKLIST = True

    def test_post_blacklisted_token_failing_jwt_auth(self):
        """
        Ensure POSTing over JWT auth with blacklisted token fails
        """
        payload = utils.jwt_payload_handler(self.user)
        token = utils.jwt_encode_handler(payload)

        # Create blacklist token which effectively blacklists the token.
        JWTBlackListToken.objects.create(jti=payload.get('jti'),
                                         created=now(), expires=now())

        auth = 'JWT {0}'.format(token)
        response = self.csrf_client.post(
            '/jwt/', {'example': 'example'},
            HTTP_AUTHORIZATION=auth, format='json')

        msg = 'Token is blacklisted.'

        self.assertEqual(response.data['detail'], msg)
        self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)
        self.assertEqual(response['WWW-Authenticate'], 'JWT realm="api"')

However I also had thought of trying to just set e.g.:
api_settings.JWT_BLACKLIST_GET_HANDLER = True

but no matter if I put that line in setUp() or in the test method, it still uses the rest_framework_jwt.utils version.

@jpadilla added the rest of unit tests. if there are any other changes that need to be made let me know. I'll update docs tonight and then it should be finished

@jpadilla updated documentation, should be good to go unless you or anyone else watching has changes/suggestions.. thx

I'm by no means trying to discourage this PR.
I just want to make on statement.. If you're using JWT's as SSO. If you have another service that's got a shared secret/cert/etc... and can validate the JWT without having to make a request back to the "auth service", you're going to have to create a way to centrally store these blacklisted JWT's, and then add the overhead of EVERY request needing to ask the central auth service, if this JWT is blacklisted or not.
For single service sites, I have no problem with this, it's a fine idea. I just want anyone who's following along to know that this won't work/scale if you're doing SOA.
That being said I'm going to try and implement the refresh token as outlined by Auth0. https://auth0.com/docs/refresh-token
Will hopefully have an initial bare bones PR ready to go in  a couple days and hoping for some strict and constructive criticism.

@fxdgear very interesting point you bring up... This PR was result of this discussion/issue that came up and it indeed tries to implement the concept of "jti" per the json spec (another link).
I don't have experience with SOA's personally that's something new to me... I feel like having this as an optional feature in this lib with the ability to implement the get/set on your own as overall good. I'm wondering if there are any changes though other than clear statement on the docs regarding SOA? it seems like blacklisting an auth token could be a relatively common thing for sites with stricter auth rules

@erichonkanen I just think it's worth noting, for anyone who looks to implement this feature. Like I said, I don't think it's a bad idea. I am just in the situation where I need to be able to "invalidate" a JWT, but that same JWT is useable across a variety of services, and I don't want to have to make extra calls between services on every single request.
So the route I'm gonig to take is:

Submit a PR to create the ability to have "Long lived" refresh tokens
Change the expire time of my refresh tokens to be say 15 minutes.
All consumers of my API will have to safely store the refresh tokens.
All consumers of my API will be able to get a new JWT without having to store the user/name password locally.

@fxdgear ok gotcha. I'll update the documentation to point that out... thanks for the input!

@erichonkanen hey question I'm trying to get the unittests to run. but I'm running in to errors about
There is no South database module 'south.db.sqlite3' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS.

South isn't in the installed apps :( Did you run into this at all?

@erichonkanen I made this suggestion in my PR: https://github.com/GetBlimp/django-rest-framework-jwt/pull/94#issuecomment-88949043
maybe move the blacklist into it's own "subapp" so that the creation of the DB table doesn't happen by default, and it's only created when the rest_framework_jwt.blacklist is added to installed apps.

@fxdgear regarding the south error, I'm not sure what would cause that? are you running the ./runtests.py from within a virtualenv in /django-rest-framework-jwt/ ?
Regarding moving it into a subapp, I think that could be an option but id like to hear feedback from a few others first... As it is right now, the blacklist feature (and therefore the default implementation with the JWTBlacklist model) aren't installed/activated unless a user sets JWT_ENABLE_BLACKLIST to True (default is False).
Def open to more input

I can run the tests in Tox so doesn't matter much :/ but yes I was running ./runtests.py in the virtualenv. I ran python setup.py develop and pip install -r requirements.txt to make sure that any missing requirements were installed.
And I'm open to suggestions too. I just think that, even if the JWT_ENABLE_BLACKLIST is False, the DB tables still get created.

@fxdgear hmm yeah that's weird about the south issue..
I see what you mean, for some reason I was thinking they weren't created unless you added "rest_framework_jwt" to installed apps but yeah django just detects the models file and installs them... I think that would be fine moving it to a subapp

@fxdgear I updated this PR to separate the blacklist token into a subapp as you advised.. seems to work nicely. I also added a note to the blacklist section of the docs but if you have more informative verbiage I can add regarding SOA let me know and I'll update it.
@jpadilla this is ready to go whenever you get a chance to run through it... thanks!

getting import error when I separated the utils/view into blacklist app:
ImportError: Could not import 'rest_framework_jwt.blacklist.utils.jwt_blacklist_get_handler' for API setting 'JWT_BLACKLIST_GET_HANDLER'.

Made updates, separated all blacklist related and tests passing...

@jpadilla resolved issues/merge conflicts, should be good to go... thx

@jpadilla do you have an estimate if/when this will be merged?

@fxdgear hola, I'm involved in a new side project that is looking into using microservice architecture.. I'm just learning about it etc but one of my partners suggested not using django at all meanwhile I'm promoting using rest framework etc.. I'm wondering if you could share any more info about your use case or the stack/architecture you use since you must be using django for something<EMAIL_ADDRESS>thanks!

@avimeir @erichonkanen I'll try to review this and other pending PRs during this and next week.

@jpadilla ok awesome sounds good! did you go to pycon? watched a video from talk that mentioned jwt / rest framework etc

@erichonkanen mind rebasing this again?

@jpadilla sure, do I just submit a new PR for it?

@erichonkanen just fetch upstream remote, rebase, and push.

@jpadilla ran git rebase, fixed conflicts but Im noticing this effectively made a 2nd copy of every commit now at the front.. is this expected or did I do it wrong? Ive mostly just used rebase to squash commits in the past...

@erichonkanen oh snap, could you perhaps squash all of this into one commit then?

Cleaned commit history and submitted in new PR

How can i implement this feature @erichonkanen ?


Update the merge script to handle github issues

Describe the enhancement requested
The merge script should handle github issues
Component(s)
Developer Tools

Issue resolved by pull request 2
[https://github.com/amol-/arrow/pull/2]

Issue resolved by pull request 4
https://github.com/amol-/arrow/pull/4

Issue resolved by pull request 5
https://github.com/amol-/arrow/pull/5

Issue resolved by pull request 6
https://github.com/amol-/arrow/pull/6


fix(config): Allow scoped applications in the package name.

This modifies the logic that was used to determine if an applications package name was valid.  Previously, nodeshift would error when using scoped packages.  Since @org/pkg is valid in npm,  this is now valid with nodeshift.  scoped package names will be updated to org-pkg for the Openshift Objects the CLI creates.

fixes #538

Coverage increased (+0.001%) to 98.643% when pulling e043a5210c76e2ccac21bc2d916a8545a6684e91 on lholmquist:538-scope-package-validation into 4206d3b21ca71f0b6178c4502d005ea8b3ffbdbd on nodeshift:master.


feat: add whats inside screenshots for nerdlet and launcher

This feature adds the screenshots for the what's inside section of the nerdpack preview.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: brammerl:x: New Relic CLINew Relic CLI seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add r usage example

Add proof of concept example for using the Python client from within R.
Important things to note:

The Python client is the officially-supported method. This is a use-at-your-own-risk situation. See README for if that's clear or not.
Python still needs to be installed in order to use this, since it calls Python from within R. It's not a replacement runtime - it's an interface wrapper.
This is implemented as a Vagrantfile and provisioning script just to show what the pre-requisites and environment requirements are. This is one possible configuration using Ubuntu 16.04 and Python 2.7.12, but there are many other possible ways to fulfill the requirements. It is not an exhaustive instruction manual.

Click “view file” to see the formatted version of the README.

LGTM. Tested locally and runs without issue. Still not convinced we should ship this out with a vagrant setup (feels like using a sledgehammer for a push-pin) but I suppose if we want it to work with very high reliability I can see the reasoning.

Yeah, I agree. Wouldn't normally, but I ran into a couple problems with Python versions and went through a few iterations. So I created one for myself and then figured maybe someone else could benefit from it - take the working example and compare to their own setup. Specifically because it's intended as more of a proof-of-concept than a polished product, I don't think it's bad form to include it for reproducibility's sake.
One thing I did just do is re-shuffle the README so actually using it in R is split out and comes up above trying to run the vagrant example. More important thing first. See if that's any better.


TabBar with padding not functioning as expected

Expected result
When selecting a tab in a scrollable TabBar, if possible, the tab glides to the center of the TabBar.
Actual result
If the TabBar is scrollable and its padding parameter is specified, the TabBar does not take the padding into account when selecting a tab and glides to an off-centered position.
(tested in Android, not sure about iOS/Web)

GIF of the issue

Steps to reproduce

Select a tab in a TabBar with padding

Sample code
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => MaterialApp(
    home: DefaultTabController(
      length: 12,
      child: Scaffold(
        appBar: AppBar(
          title: Text('App demo'),
          bottom: TabBar(
            padding: EdgeInsets.symmetric(horizontal: 24),
            isScrollable: true,
            tabs: [
              for (int i = 0; i < 12; i++) Tab(text: 'Tab ${i+1}'),
            ],
          ),
        ),
        body: TabBarView(
          children: [
            for (int i = 0; i < 12; i++) Container(),
          ]
        ),
      ),
    ),
  );
}

Logs
[√] Flutter (Channel stable, 3.0.4, on Microsoft Windows [Version 10.0.19043.2006], locale en-US)
    • Flutter version 3.0.4 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (3 months ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\Jet_g\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code, 64-bit edition (version 1.71.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.48.0

[√] Connected device (4 available)
    • SM A136U1 (mobile) • R5CT12A42CV • android-arm    • Android 12 (API 31)
    • Windows (desktop)  • windows     • windows-x64    • Microsoft Windows [Version 10.0.19043.2006]
    • Chrome (web)       • chrome      • web-javascript • Google Chrome 105.0.5195.127
    • Edge (web)         • edge        • web-javascript • Microsoft Edge 105.0.1343.42

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @jwseph, you appear to be on an older version of flutter. Kindly upgrade to the latest version of flutter to see if you still experience this issue.
If you do, please provide the updated output of flutter doctor -v.
Thank you

I upgraded to the latest version of Flutter, but the issue still persists.

Here are my updated logs.
[√] Flutter (Channel stable, 3.3.3, on Microsoft Windows [Version 10.0.19043.2006], locale en-US)
    • Flutter version 3.3.3 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18a827f393 (5 days ago), 2022-09-28 10:03:14 -0700
    • Engine revision 5c984c26eb
    • Dart version 2.18.2
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\Jet_g\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code, 64-bit edition (version 1.71.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.48.0

[√] Connected device (4 available)
    • SM A136U1 (mobile) • R5CT12A42CV • android-arm    • Android 12 (API 31)
    • Windows (desktop)  • windows     • windows-x64    • Microsoft Windows [Version 10.0.19043.2006]
    • Chrome (web)       • chrome      • web-javascript • Google Chrome 105.0.5195.127
    • Edge (web)         • edge        • web-javascript • Microsoft Edge 105.0.1343.42

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

@jwseph I can reproduce this issue on the latest stable and master channels with provided sample code.

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.3, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.3.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18a827f393 (10 hours ago), 2022-09-28 10:03:14 -0700
    • Engine revision 5c984c26eb
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (4 available)
    • SM T225 (mobile)           • R9JT3004VRJ                          • android-arm64  • Android 12 (API 31)
    • iPhone 14 Pro Max (mobile) • 332079AF-E895-4685-910E-7B1E18B0C6B8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.4.0-37.0.pre.14, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.4.0-37.0.pre.14 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35afe1bdac (45 minutes ago), 2022-10-03 18:41:23 -0700
    • Engine revision 83c68740e3
    • Dart version 2.19.0 (build 2.19.0-268.0.dev)
    • DevTools version 2.17.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Labeling this issue for further investigation/insight from the team.


Fix updating NotBefore and NotAfter for updated certificates on Routes and Secrets

Fixes: https://github.com/tnozicka/openshift-acme/issues/17
@germansosa @andrewklau could you please test it if this will fix https://github.com/tnozicka/openshift-acme/issues/17. sorry about that. (I am planing to write extended tests for renewals so this doesn't happen.)

@tnozicka this doesn't appear to fix the issue :(

Although it does fix https://github.com/tnozicka/openshift-acme/issues/17; it still fixes a bug - merging it


reset the console color

updated to netcoreapp 2.0
CLI is now color, and the color was not reset on exit.

What is preventing you from updating to 2.0?
When I run it in 2.0 everything runs fine.
I get a compiler warning because SCrypt hasn't been updated to 2.0, but that's it.
Will you accept the PR is I remove coreapp 2.0?

Yes, I will.

removed all but resetting the console color.


[language][prover] Add more tests vector

Motivation

To test the vector support of Move Prover

Test Plan

cargo test

:umbrella: The latest upstream changes (presumably 2366f73e09bf92789de3e06193ca6d7732c43b53) made this pull request unmergeable. Please resolve the merge conflicts.


Exception: Element not found. (Exception from HRESULT: 0x80070490)

I'm having an issue with all method called from this class. Every method throws an Exception System.Error Element not found. (Exception from HRESULT: 0x80070490).
e.g Method for creation TPM VirtualSmartCard
SmartCardProvisioning cardProvisioning = await SmartCardProvisioning.RequestVirtualSmartCardCreationAsync(firendlyName, adminKey, pinPolicy);

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

ID: af3d4915-eda2-8a16-7c02-21c0e17f87ff
Version Independent ID: 3c41840c-75cd-8523-9945-107970ea64ae
Content: SmartCardProvisioning Class (Windows.Devices.SmartCards) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.devices.smartcards.smartcardprovisioning.yml&version=GBlive&_a=contents
Product: uwp
Git Login: eliotcowley
Microsoft Alias: elcowle

Hi, @simovic1. Thanks for filing this issue, and my apologies for the very long delay in responding.
This feels like a support question about the product, rather than feedback about the documentation (since there's nothing that I can action, as things stand). You got here by clicking Send feedback about > This page. If instead you click Send feedback about > This product, then you'll be taken to the Windows developer feedback site (more info about that below).
Here are all of the developer support resources, for completeness.

The Windows developer feedback site is the right place to lobby for a change, a feature, or to make a suggestion.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.

If you receive assistance via any support resource, and you believe that information would help us improve the docs, then please come back and let us know.
Thanks!
Steve


add landscape scroll on click

As @Gnuk suggested, I removed the domain part of my previous PR as it's just related to the primary part and there's no use to make the domain aware of this.

Thanks @DamnClin :D


Add Byzantine Test where we have a dishonest leader

Closes #3515

This PR:

Uses byzantine trait in testing framework to create a dishonest leader that will replace proposed QC with a QC from a previous view
This PR does not:

Key places to review:

tests/tests_1/test_with_failures_2.rs I added the integration test at the bottom to test dishonest leader

I see that your adding the expected views to fail but I think it's missing the most important part.  The check you have just says it's ok to have a failed view if it's expected.  I think for byzantine tests we want the check to also make sure that we don't succeed in a view we expected to fail.  Maybe improving the safety task with this can be a follow up


Update GCP agents to current Go versions

Update GCP agents to current Go versions

Import ebuilds from COS (Container Optimized OS)
Patch for compatibility with our eclass
Replace oem-gce contents
Remove unused ebuilds

TODO:

Quality Assurance (ask a GCP user to test the image)
Check if we need to introduce an enable-os-login service that users can mask
Check if we need /var/ -> /var/lib patch (we do), and figure out if we want to patch it use a symlink.

How to use
[ describe what reviewers need to do in order to validate this PR ]
Testing done
[Describe the testing you have done before submitting this PR. Please include both the commands you issued as well as the output you got.]

[ ] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
[ ] Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Quality Assurance (ask a GCP user to test the image)

I think kola spawn could be of use for that when started the same way Jenkins starts kola run

I think we need to add an ExecStartPre to one of the services to clean up state created from the old setup-oem.service.
It had this:
ExecStart=-/usr/bin/ln --symbolic --force /usr/share/gce/hosts /etc/hosts
ExecStart=-/usr/bin/ln --symbolic /usr/share/gce/google-cloud-sdk.sh /etc/profile.d/google-cloud-sdk.sh

Maybe remove /etc/profile.d/google-cloud-sdk.sh but what about /etc/hosts? Would the new software set it up or doesn't it need a special setup anymore? If it should be reverted to Flatcar's defaults then the removal would have to be done in the upperdir but since this is not recommended during use, one can rather rely on the duplicate cleanup logic in the initrd and reset the file by copying from /usr/share/flatcar/etc/hosts so that after a reboot this manual upcopy should be gone.

Quality Assurance (ask a GCP user to test the image)

I think kola spawn could be of use for that when started the same way Jenkins starts kola run

I did try kola spawn, and tested the oslogin functionality but I'm not confident that i managed to cover everything. I'm not super familiar with GCP.

I think we need to add an ExecStartPre to one of the services to clean up state created from the old setup-oem.service. It had this:
ExecStart=-/usr/bin/ln --symbolic --force /usr/share/gce/hosts /etc/hosts
ExecStart=-/usr/bin/ln --symbolic /usr/share/gce/google-cloud-sdk.sh /etc/profile.d/google-cloud-sdk.sh

Maybe remove /etc/profile.d/google-cloud-sdk.sh but what about /etc/hosts? Would the new software set it up or doesn't it need a special setup anymore? If it should be reverted to Flatcar's defaults then the removal would have to be done in the upperdir but since this is not recommended during use, one can rather rely on the duplicate cleanup logic in the initrd and reset the file by copying from /usr/share/flatcar/etc/hosts so that after a reboot this manual upcopy should be gone.

Yes, we need to think a bit more about what happens when upgrading.


Abnormal API Usage Alert template config name is confusing

Description:
For AbnormalTierUsageAlert we have used the term Abnormal API Usage in documentation as well as at some places of the code level. This should be changed to Abnormal Tier Usage in order to reduce the confusion.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
2.0.0, 2.1.0
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Closing the issue as this is older than 3 years. Please reopen if the issue is valid still.


User .on('load') instead of .load().

.load is deprecated since jQuery 1.8. We are currently on jQuery 3.2.1.

Nice, merged, thanks @hackerkid!
Also @cory2067 FYI, since this is something we apparently missed in the jQuery 3 migration; do you think it's possible there's other deprecated syntax we should be looking for?


Truncate long lines in repr of Dataset.attrs

When loading from NetCDF, Dataset.attrs often has a few long strings, which may even have embedded newlines (eg a multi-paragraph summary or references section).  It's lovely that these are available, but they tend to make the repr very long and poorly formatted - to the point that many Jupyter notebooks begin by discarding the attrs, which makes it rather pointless to store or display metadata at all!
Given that these values are already truncated at 500 characters (including the indicative ..., but not the start point), I propose that they should instead be truncated to 80 characters including the indentation and key (as values are).  For the sake of pretty-printing, this should also replace newlines or tabs with spaces and truncate early if an empty line is encountered.
Another solution would be add appropriate indentation following newlines or wrapping, so that the structure remains clear.  However, I think that it is better to print a fairly minimal representation of the metadata by default.
>>> xr.open_dataset('http://dapds00.nci.org.au/thredds/dodsC/uc0/rs0_dev/20170215-stacked_sample/LS7_ETM_NBART_3577_15_-40.ncml')

<xarray.Dataset>
Dimensions:  (time: 246, x: 4000, y: 4000)
Coordinates:
  * y        (y) float64 -3.9e+06 -3.9e+06 -3.9e+06 -3.9e+06 -3.9e+06 ...
  * x        (x) float64 1.5e+06 1.5e+06 1.5e+06 1.5e+06 1.5e+06 1.5e+06 ...
  * time     (time) datetime64[ns] 1999-07-16T23:49:39 1999-07-25T23:43:07 ...

Attributes:
    date_created: 2017-03-07T11:57:26.511217
    Conventions: CF-1.6, ACDD-1.3
    history: 2017-03-07T11:57:26.511307+11:00 adh547 datacube-ncml (1.2.2+23.gd1f3512.dirty) ls7_nbart_albers.yaml, 1.0.6a, /short/v10/datacube/002/LS7_ETM_NBART/LS7_ETM_NBART_3577_15_-40.ncml, (15, -40)  # Created NCML file to aggregate multiple NetCDF files along the time dimension
    geospatial_bounds: POLYGON ((148.49626113888138 -34.828378308133452,148.638689676063308 -35.720318326735864,149.734176111491877 -35.599556747691196,149.582601578289143 -34.708911907843387,148.49626113888138 -34.828378308133452))
    geospatial_bounds_crs: EPSG:4326
    geospatial_lat_min: -35.7203183267
    geospatial_lat_max: -34.7089119078
    geospatial_lat_units: degrees_north
    geospatial_lon_min:<PHONE_NUMBER>39
    geospatial_lon_max:<PHONE_NUMBER>11
    geospatial_lon_units: degrees_east
    comment: -	Ground Control Points (GCP): new GCP chips released by USGS in Dec 2015 are used for re-processing
-	Geometric QA: each product undergoes geometric assessment and the assessment result will be recorded within v2 AGDC for filtering/masking purposes.
-	Processing parameter settings: the minimum number of GCPs for Ortho-rectified product generation has been reduced from 30 to 10.
-	DEM: 1 second SRTM DSM is used for Ortho-rectification.
-	Updated Calibration Parameter File (CPF): the latest/cu...
    product_suite: Surface Reflectance NBAR+T 25m
    publisher_email<EMAIL_ADDRESS>    keywords_vocabulary: GCMD
    product_version: 2
    cdm_data_type: Grid
    references: -	Berk, A., Anderson, G.P., Acharya, P.K., Hoke, M.L., Chetwynd, J.H., Bernstein, L.S., Shettle, E.P., Matthew, M.W., and Adler-Golden, S.M. (2003) Modtran 4 Version 3 Revision 1 User s manual. Airforce Research Laboratory, Hanscom, MA, USA.
-	Chander, G., Markham, B.L., and Helder, D.L. (2009) Summary of current radiometric calibration coefficients for Landsat MSS, TM, ETM+, and EO-1 ALI sensors. Remote Sensing of Environment 113, 893-903.
-	Edberg, R., and Oliver, S. (2013) Projection-Indep...
    platform: LANDSAT-7
    keywords: AU/GA,NASA/GSFC/SED/ESD/LANDSAT,REFLECTANCE,ETM+,TM,OLI,EARTH SCIENCE
    publisher_name: Section Leader, Operations Section, NEMO, Geoscience Australia
    institution: Commonwealth of Australia (Geoscience Australia)
    acknowledgment: Landsat data is provided by the United States Geological Survey (USGS) through direct reception of the data at Geoscience Australias satellite reception facility or download.
    license: CC BY Attribution 4.0 International License
    title: Surface Reflectance NBAR+T 25 v2
    summary: Surface Reflectance (SR) is a suite of Earth Observation (EO) products from GA. The SR product suite provides standardised optical surface reflectance datasets using robust
physical models to correct for variations in image radiance values due to atmospheric properties, and sun and sensor geometry. The resulting stack of surface reflectance
grids are consistent over space and time which is instrumental in identifying and quantifying environmental change. SR is based on radiance data from the...
    instrument: ETM
    source: LANDSAT 7 ETM+ surface observation
    publisher_url: http://www.ga.gov.au

OK, I'm not opposed to this. Truncating at 500 characters was basically a minimal sanity check -- we could certainly go further than this.
Anyone else have opinions here about sane default behavior? I don't work with files with lots of long attributes.

As long as we can explicitly obtain the attrs data if necessary truncating the data for the repr makes sense.  Note that appending a set of characters like ... to the end of it would be useful to indicate that the string continues but is only partially displayed.

I am in favor of truncating the attrs too.

Sounds like there is support here.
@Zac-HD Any interest in putting together a pull request? See here for the existing logic: https://github.com/pydata/xarray/blob/b3fc6c4e4fafdf4f075b791594633970a787ad79/xarray/core/formatting.py#L255

Sure, I'd be happy to.  The above example will look much nicer, especially in wrapping environments:
<xarray.Dataset>
Dimensions:  (time: 246, x: 4000, y: 4000)
Coordinates:
  * y        (y) float64 -3.9e+06 -3.9e+06 -3.9e+06 -3.9e+06 -3.9e+06 ...
  * x        (x) float64 1.5e+06 1.5e+06 1.5e+06 1.5e+06 1.5e+06 1.5e+06 ...
  * time     (time) datetime64[ns] 1999-07-16T23:49:39 1999-07-25T23:43:07 ...

Attributes:
    date_created:           2017-03-07T11:57:26.511217
    Conventions:            CF-1.6, ACDD-1.3
    history:                2017-03-07T11:57:26.511307+11:00 adh547 datacube...
    geospatial_bounds:      POLYGON ((148.49626113888138 -34.828378308133452...
    geospatial_bounds_crs:  EPSG:4326
    geospatial_lat_min:     -35.7203183267
    geospatial_lat_max:     -34.7089119078
    geospatial_lat_units:   degrees_north
    geospatial_lon_min:<PHONE_NUMBER>39
    geospatial_lon_max:<PHONE_NUMBER>11
    geospatial_lon_units:   degrees_east
    comment:                -    Ground Control Points (GCP): new GCP chips ...
    product_suite:          Surface Reflectance NBAR+T 25m
    publisher_email<EMAIL_ADDRESS>    keywords_vocabulary:    GCMD
    product_version:        2
    cdm_data_type:          Grid
    references:             -    Berk, A., Anderson, G.P., Acharya, P.K., Ho...
    platform:               LANDSAT-7
    keywords:               AU/GA,NASA/GSFC/SED/ESD/LANDSAT,REFLECTANCE,ETM+...
    publisher_name:         Section Leader, Operations Section, NEMO, Geosci...
    institution:            Commonwealth of Australia (Geoscience Australia)
    acknowledgment:         Landsat data is provided by the United States Ge...
    license:                CC BY Attribution 4.0 International License
    title:                  Surface Reflectance NBAR+T 25 v2
    summary:                Surface Reflectance (SR) is a suite of Earth Obs...
    instrument:             ETM
    source:                 LANDSAT 7 ETM+ surface observation
    publisher_url:          http://www.ga.gov.au


Add some information about where you can get money to help make repairs

Money for lead abatement
Money for accessibility improvements
CDBG
MassSave


Keep Ray on top missing for Windows

Describe the bug
It seems that https://spatie.be/docs/ray/v1/the-ray-desktop-app/discovering-the-ray-app#keep-ray-on-top is missing for the Windows app.
It clearly seems like a bug to me if you advertise a feature (without mentioning exceptions) and not having the functionality available.
I have no option to disable the window being always on top which can be frustrating.
Versions
Ray version (you can see this in "About Ray"): <IP_ADDRESS>
Expected behavior
I'd expect the toggle feature on the view menu like shown in the screenshot.
Screenshots

Desktop (please complete the following information):

OS: [e.g. macOS] Windows 10 20H2 (Build 19042.928)

Hey @Morgy93, you can toggle the float-on-top using the second button from the right in the menubar (screenshot is on Mac, but it should be the same on Windows).

Great idea to also have it in the View menu, we'll consider adding this!

Holy... I'd never ever thought that the icon would be responsible for that.
@AdrianMrn You should also update the docs, because then it's not well documented + other screenshots show way different functionality / ui elements.

Thanks for clarification anyway!

Yeah, the app went through some UI changes since those were made 😅
I've written it down and will improve this!


Updated order of projects in the new project dialog

Addresses #9460

@aspnet-hello triage

@aspnet-hello triage https://dev.azure.com/dnceng/public/_build/results?buildId=159571&view=logs&jobId=f31c9f97-4411-58e7-49ac-fc73f645e6b6

This comment was made automatically. If there is a problem contact ryanbrandenburg.
I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2306

This comment was made automatically. If there is a problem contact ryanbrandenburg.
I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2306


Duplicate key allowed in map

According to the YAML spec (https://yaml.org/spec/1.2/spec.html#id2802432), one of "maps" properties is to possess unique keys.
Discovered a bug that yamerl allows multiple keys when map is proplist and/or {detailed_constr, true} is set.
I have a PR to address the bug along with a test coming soon.

I would like to see this change merged. Is there any update for this issue? @dumbbell?

Thanks for the direct ping, I don't get other notifications apparently...
After looking at the patch, it needs some improvements. For instance, it only works if the key is a scalar in detailed_constr mode. I will look into it in the coming days and keep you posted.

@dumbbell Is there an update on this issue? Anything that can be done to help with this?

Thank you for the ping, I copmpletly forgot about this and missed again the latest change made by @slezakattack... Working on this right now!

Awesome! Thank you. Any chance that could be added to a release?

Yes. I'm waiting a day or two for answers on other issues/pull requests, then I will cut a release.

@flurin: I just published yamerl 0.9.0 to Hex.pm.
Thank you for your patience!

Excellent, thank you!

Oh no!  I realize I'm late to the party here but we were relying on the duplicate key "feature" when in detailed_const mode to (ab)use the yaml syntax and create a much (c)leaner dsl for our purposes.
Is there any chance that you would consider wrapping these new changes under a configuration switch, to still support the old behavior while keeping the new behavior as default?  Something like {allow_dupkeys , true} @dumbbell
I feel that it is reasonable in detailed_const mode to support invalid yaml.  As I see it this provides a complete view of the document even if it is invalid in this way, which the developer can use or discard as needed.

Yes, I can introduce that option, @bobkocisko. I filed an issue for that (#52).

Thank you!


Update jshint to fix regression

There were a few regressions with the 2.9.1 jshint release that are fixed with the latest release

Reinstall the module without cache and you should get the version


chore: generate client types

Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

This pull request introduces a new feature to generate a title for a conversation and update the conversation with the generated title.
Code Changes:

Added a new GenerateTitle type, which consists of a title field of type string.
Modified the DefaultService class to include a new method, generateTitleV1ConversationsConversationIdGenerateTitlePost, which generates a title for a conversation.
Updated the import statements in DefaultService.ts to include the new GenerateTitle model.
Added AgentToolMetadata as an import and a new field in the UpdateAgent type.

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

Please upload report for BASE (main@ff74df2). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #335   +/-   ##
=======================================
  Coverage        ?   86.08%
=======================================
  Files           ?      174
  Lines           ?     6512
  Branches        ?        0
=======================================
  Hits            ?     5606
  Misses          ?      906
  Partials        ?        0

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


Building to Quest results in WebAWS error

Hi!
When I'm trying to build my main project to the Quest (which usually worked well on pre-UXF builds), I get the error below re AWSDynamoDB.
In the Rig I haven't selected AWS, and I've run the 'SetupWizard - Select Android VR' option.
After receiving this error, I've tried removing the Library folder, but no change.
I also deleted the AWS plugin from the UXF/Plugins folder, but also no change.
I'm still on 2.3.6, but AFAIK .7 didn't have any changes that might address this.
What might cause this issue?
Thanks,
Maarten
Building Library/Bee/artifacts/Android/d8kzr/libil2cpp.so failed with output:
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_Setup_mA4ACCDF69FDF93A7DB6D48B7AADC0B7CA8270A61': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15735: undefined reference to DDB_Setup'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_CreateTable_mBEC1D8220C73DDE2D9C6868EEE477792D4B13CE9': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15772: undefined reference to DDB_CreateTable'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_PutItem_mAE56450BF66EEE64A056201160BE97B1B9A26B7F': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15809: undefined reference to DDB_PutItem'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_BatchWriteItem_m0A1C15D7D2A59806347427CBD2F1C681B762867B': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15842: undefined reference to DDB_BatchWriteItem'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_GetItem_m2B7D409CD47CE169E2B44CBA3C05F38BB80868B3': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15879: undefined reference to DDB_GetItem'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_Cleanup_mABFB23399CCD6BAE5115EDD6C3EF70194FD2D33F': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15904: undefined reference to DDB_Cleanup'
Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_GetUserInfo_m4A712105369BE2445004E7285CAD9177145113FB': /Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15913: undefined reference to GetUserInfo'
/Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15913: undefined reference to GetUserInfo' Library/Bee/artifacts/Android/d8kzr/uxnc_UXF.o: In function WebAWSDynamoDB_DDB_Cleanup_mABFB23399CCD6BAE5115EDD6C3EF70194FD2D33F':
/Users/mrstruijk/Current Unity Projects/Trauma/Trauma/Library/Bee/artifacts/Android/il2cppOutput/cpp/UXF.cpp:15904: undefined reference to `DDB_Cleanup'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:462)

I had this issue too and ended up manually removing all WebAWSDynamoDB scripts as I was not using that platform anyway.
That did the trick for me building for Quest.
Goodluck, Jeroen

Is this with Unity 2021? In general I suggest using only LTS builds of Unity, as these are the most stable, and what I develop UXF against.In the meantime, you can delete the WebAWSDynamoDB script, and I will see if I can replicate it. Jack  From: Jeroen De mooijSent: 17 February 2022 11:08To: immersivecognition/unity-experiment-frameworkCc: SubscribedSubject: Re: [immersivecognition/unity-experiment-framework] Building to Quest results in WebAWS error (Issue #109) I had this issue too and ended up manually removing all WebAWSDynamoDB scripts as I was not using that platform anyway.That did the trick for me building for Quest.Goodluck, Jeroen—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>
Thanks for the speedy replies @thefirstfloor & @jackbrookes !
Yes, I've been developing in 2021. Back when I started I figured that during the life-cycle of this program, 2021 would become LTS. I figured that this was a safer bet (since only upgrading within 2021) than to upgrade from 2020 to 2021 when the LTS-clock struck :). You would do differently?
I've deleted the WebAWSDynamoDB script, and building works like a charm again!
Thanks for the advice guys

I'll keep this open to see if I can find a better fix

Hi,
I have been facing the same issue as described above and have tried removing the WebAWSDynamoDB script. However, I get a new error when building to the Quest:
You are trying to replace or create a Prefab from the instance 'Web AWS DynamoDB' that references a missing script. This is not allowed.
Please change the script or remove it from the GameObject.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

I cannot seem to find what kind of instance is being replaced/created or where. Any suggestions?
Thanks!
Amar

Probably you deleted the script(s) that was living on a prefab, now Unity complains about that.
That prefab might be somewhere in the UXF hierarchy in your project.

But how do I know which one it is?

I can't replicate this issue: Can anyone who has this issue take a look at the settings when clicking on the AWSJS plugin? (Assets\UXF\Plugins\AWSJS.jslib) They should look like this.

Released a new version which may help fix this: https://github.com/immersivecognition/unity-experiment-framework/releases/tag/2.4.3


fixed bug with sort row

if a column was set to "hidden", the row set aside for sorting/filtering was still adding a column.

released in v1.12.3. Thank you for your help!


Incompatibility with CPP

Modules with the CPP extension do not work with fixWarnings and warnings from these modules persist after being fixed.

fixed by 88c3c80af031229bd4bf26972c8f8c3025fef87c


Go through the list of Clickhouse errors and see what should be retried

Is your feature request related to a problem? Please describe.
We should go through the full list of error codes to see what make sense to retry.
See: https://github.com/ClickHouse/ClickHouse/blob/master/src/Common/ErrorCodes.cpp

List of codes that - I will not retry on
code 3 and 4 this error is usually when you insert data into ClickHouse, but he expects to get more data so i would remove it from the list
59 - query
60 - if someone dropped the table or it is the wrong name of the table - I will not retry
62 - query syntax no reason to retry if the query is wrong you can do anything about it - I will not retry
73 - if we send an unknown format this is a bug
81 - same as 60, but for db
82 -
89 - we are using the wrong compression it's a bug


How can I deny certain file extensions?

It is possible to deny serving different file types?

not yet, but i do plan on adding this ability at some point.. PRs welcome..

implemented in the new version.. feedback welcome!
$ npm install -g<EMAIL_ADDRESS>


Add additional xss payloads

A number of clever xss attack vectors have surfaced recently.  Include them in sleepy puppy.

Title says "xss payloads" but the comment is about attack vectors.
A neat payload would be something similar to http://superlogout.com/ or http://adultcatfinder.com/
+1 for more attack vectors though.


[DOCS] - contributing.MD

Description
Add a contributing.MD file that explains all there is to know about contributing to the project (and the maintainers preferences)
This will probably be forever in progress as we learn and thrive xD
Screenshots
No response
Additional information
No response

Still in progress by me

No need for an issue for this one, spamming the issues tab. closing now


enable multithreaded optimization

In principle straightforward, but pagmo by default assumes problems are cheap to copy and particularly in a multi-threaded scenario it makes a lot of copies.
Our setup involves copying the model which is not so cheap, so ideally would be good to avoid many unnecessary copies.

resolved by #787


 --count 10 --temperature 0 --timing
This branch
loaded weights in 2380.07 ms, 13.48 GB loaded at 5.66 GB/s
Hello.
enqueue in 330.22 ms
total 887.98 ms, 1.13 tok/s, 18.83 GB/s, param 15.18 GB/s
 I
enqueue in 182.48 ms
total 185.18 ms, 5.40 tok/s, 72.87 GB/s, param 72.79 GB/s
'
enqueue in 161.80 ms
total 165.91 ms, 6.03 tok/s, 81.34 GB/s, param 81.24 GB/s
m
enqueue in 147.75 ms
total 151.88 ms, 6.58 tok/s, 88.86 GB/s, param 88.75 GB/s
 a
enqueue in 147.57 ms
total 151.68 ms, 6.59 tok/s, 88.98 GB/s, param 88.87 GB/s

enqueue in 162.20 ms
total 166.34 ms, 6.01 tok/s, 81.14 GB/s, param 81.03 GB/s
2
enqueue in 148.70 ms
total 152.75 ms, 6.55 tok/s, 88.36 GB/s, param 88.24 GB/s
0
enqueue in 151.88 ms
total 156.05 ms, 6.41 tok/s, 86.50 GB/s, param 86.38 GB/s
 year
enqueue in 171.88 ms
total 175.97 ms, 5.68 tok/s, 76.71 GB/s, param 76.60 GB/s
 old
enqueue in 153.78 ms
total 157.88 ms, 6.33 tok/s, 85.50 GB/s, param 85.38 GB/s
 male
output validated

Master
loaded weights in 2422.06 ms, 13.48 GB loaded at 5.56 GB/s
Hello.
enqueue in 345.56 ms
total 982.70 ms, 1.02 tok/s, 17.02 GB/s, param 13.72 GB/s
 I
enqueue in 206.61 ms
total 209.24 ms, 4.78 tok/s, 64.49 GB/s, param 64.42 GB/s
'
enqueue in 153.88 ms
total 158.01 ms, 6.33 tok/s, 85.41 GB/s, param 85.31 GB/s
m
enqueue in 169.73 ms
total 173.81 ms, 5.75 tok/s, 77.64 GB/s, param 77.55 GB/s
 a
enqueue in 154.73 ms
total 158.84 ms, 6.30 tok/s, 84.97 GB/s, param 84.86 GB/s

enqueue in 171.65 ms
total 175.82 ms, 5.69 tok/s, 76.77 GB/s, param 76.66 GB/s
2
enqueue in 160.64 ms
total 164.85 ms, 6.07 tok/s, 81.87 GB/s, param 81.76 GB/s
0
enqueue in 158.37 ms
total 162.63 ms, 6.15 tok/s, 83.00 GB/s, param 82.88 GB/s
 year
enqueue in 175.09 ms
total 179.39 ms, 5.57 tok/s, 75.25 GB/s, param 75.14 GB/s
 old
enqueue in 163.71 ms
total 168.01 ms, 5.95 tok/s, 80.35 GB/s, param 80.23 GB/s
 male
output validated

This change has been discussed before. It's more complex and isn't true in all versions of Python. Won't merge.

There's a fast path for lists into tuples.
https://github.com/python/cpython/blob/main/Objects/abstract.c#L2012 credit: @tim-becker

There's a fast path for lists into tuples.
https://github.com/python/cpython/blob/main/Objects/abstract.c#L2012 credit: @tim-becker


[VITE] isBot crashes the server in 2.4.1 if isbot is over v4

Reproduction
https://stackblitz.com/edit/remix-run-remix-vwrwea
System Info
System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M1
    Memory: 198.97 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    bun: 1.0.3 - ~/.bun/bin/bun
  Browsers:
    Chrome: 120.0.6099.129
    Safari: 17.2.1
  npmPackages:
    @remix-run/dev: ^2.4.1 => 2.4.1
    @remix-run/eslint-config: ^2.4.1 => 2.4.1
    @remix-run/express: ^2.4.1 => 2.4.1
    @remix-run/node: ^2.4.1 => 2.4.1
    @remix-run/react: ^2.4.1 => 2.4.1
    vite: ^5.0.10 => 5.0.10

Used Package Manager
npm
Expected Behavior
Server should start with isbot since it's being used as part of entry.server.ts.
Actual Behavior
isbot is being used in entry.server.ts, when upgrading to 2.4.1 and using:
app.all(
  "*",
  createRequestHandler({
    // @ts-expect-error
    build: viteDevServer
      ? () => viteDevServer.ssrLoadModule("virtual:remix/server-build")
      : await import("./build/server/index.js"),
  }),
);

server won't start and crashes with àTypeError: vite_ssr_import_4.default is not a function`

Fix is simple:

It just took half an hour to debug, maybe you want to update ìsbot`dependency to latest version and adjust the starter? If it has already been done, sorry for this and pls disregard.

Thanks for the fix ! Undofortunately, the expected type seems to have changed for the isbot function. In entry.server.tsx, request.headers.get() returns string or null, but isbot() expects string
export default function handleRequest(
  request: Request,
  responseStatusCode: number,
  responseHeaders: Headers,
  remixContext: EntryContext,
) {
  return isbot(request.headers.get("user-agent") ?? "") // Add ?? "" to fix the type error. Hopefully it doesn't break anything
    ? handleBotRequest(
        request,
...

This is resolved by #8385 - you can install isbot@3 in your package.json for now to use with the internal entry.* files.

Resolved by #8385 and will be available in the next release

nah it's fine I've handled the dependancy import manually!


ARROW-5762: [JS] Align Map type impl with the spec

This PR closes ARROW-5762 by aligning the Map implementation with the spec, enabling its inclusion in the integration tests.
Feature-wise, the biggest change is to the Struct and Map rows. Row is now an abstract base class extended by StructRow and MapRow.
Row implements JS's native Map interface (and will pass row instanceof Map checks). To align with JS Maps, the Symbol.iterator return type changes from IterableIterator<TValue> to IterableIterator<[TKey, TValue]>.
Struct fields are uniform and known in advance, whereas Map fields vary by row. The StructRow will still take advantage of the Object.create() technique to create fast instances using a single StructRow instance as its prototype.
However MapRow must either be dynamic or have its fields defined on construction, so I've changed MapRow to return an ES6 Proxy if available (supported everywhere except IE11) and fall back to Object.defineProperties() if not.
cc @wesm @emkornfield @TheNeuralBit @domoritz

Codecov Report

Merging #5371 into master will increase coverage by 1.98%.
The diff coverage is 72.85%.

@@             Coverage Diff             @@
##           master    #5371       +/-   ##
===========================================
+ Coverage   87.57%   89.56%    +1.98%
===========================================
  Files        1041      102      -939
  Lines      151814     6603   -145211
  Branches     1447     1495       +48
===========================================
- Hits       132958     5914   -127044
+ Misses      18492      678    -17814
+ Partials      364       11      -353

Impacted Files
Coverage Δ

js/src/Arrow.ts
100% <ø> (ø)
:arrow_up:

js/src/visitor/jsonvectorassembler.ts
100% <ø> (ø)
:arrow_up:

js/src/util/vector.ts
97.05% <100%> (+1.22%)
:arrow_up:

js/src/data.ts
91.66% <100%> (ø)
:arrow_up:

js/src/vector/base.ts
89.13% <100%> (ø)
:arrow_up:

js/src/visitor/vectorassembler.ts
82.85% <100%> (ø)
:arrow_up:

js/src/ipc/metadata/message.ts
93.26% <100%> (ø)
:arrow_up:

js/src/vector/struct.ts
100% <100%> (+22.22%)
:arrow_up:

js/src/visitor/get.ts
100% <100%> (ø)
:arrow_up:

js/src/visitor/vectorloader.ts
98.79% <100%> (ø)
:arrow_up:

... and 950 more

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 6a2a3de...3a0eca9. Read the comment docs.


:bug: [fix] Fix a bug of not-localized menus of Packages-menu and View-menu

I fixed a bug for the issue #299.

I added the GitHub menus of View menu to template/ and all locale's menu_{darwin, linux, win32}.cson.
I added the Packages menus to template/ and all locale's menu_{darwin, linux, win32}.cson.

I close this. And after review, I issue Pull Request again, later.


[Documentation] docs/requirements.txt is out-of-sync with what CI builds use

docs/requirements.txt pins Sphinx 2.4.4 but the CI pipelines use the latest versions of breathe/sphinx/etc.
Reporter: David Li / @lidavidm
Note: This issue was originally created as ARROW-13354. Please see the migration documentation for further details.

I think we can close this because this is no longer the case as of https://github.com/apache/arrow/commit/3f7f245e780067614880fd80cc73ec20d31c1c7b and the local developer setup is in sync with the setup in CI.


IE9: Unable to get value of the property 'dispatch': object is null or undefined

It seems like redux-thunk is broken in IE9, because I keep getting Unable to get value of the property 'dispatch': object is null or undefined. I'm using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and applying my reducers normally:
let store = createStore(
  reducers,
  applyMiddleware(loggerMiddleware, thunkMiddleware)
)

Perhaps it's coming from here?

Is there something obvious that I'm doing wrong?

Never mind—the issue arose because I was trying to dispatch an action from within the constructor. I moved it to componentDidMount and it works fine in IE9.


Fix sequencing issue stop procedure of database slice (#6138)

Pull request opened by the merge tool on behalf of #6138

Merged into branches iso6 in 0e95bd87c6df216c53115b89ca695774c6ba2b78


Find a Store homepage require appropriately sized banner

Description:  There is a banner slot on the Find a Store default page which is currently filled with a banner of inappropriate dimensions
How to duplicate: Navigate to the Find a Store home page

seeing this right now

We won't display a banner in our sample store, but we have to fix this slot so it displays banner properly.


Make default polyalgs respect autodiff

Test failure unrelated. @avik-pal can you handle that? It should just be a quick ambiguity fix

Why wasn't this caught by the @testitem "No AD" begin tests?