Allow returning a SyclEvent from kernels instead of always adding a wait.

Numba-dpex only allows synchronous execution of kernels by adding a wait call before returning from a kernel call. The limitation is a legacy of supporting NumPy arrays as kernel arguments.
Since, NumPy arrays as kernel arguments is deprecated in numba-dpex 0.20, we should be able to return dpctl.SyclEvent objects from a kernel instead of always calling wait.
Related #147 #769
Originally posted by @diptorupd in https://github.com/IntelPython/numba-dpex/issues/816#issuecomment-1433983402

@oleksandr-pavlyk @ZzEeKkAa @fcharras @beckermr
The initial design for the implementation of the feature can be as follows:

Make the dpctl.SyclEvent class recognizable and supported by Numba type inferencing, i.e., add support for typeof, unbox, box for the dpctl.SyclEvent type.
Define a syntax for passing and returning events from kernel function calls. An initial design can be as follows:

import numba_dpex as dpex
import dpnp
import dpctl

@dpex.kernel(nowait=True)
def foo(a,b,c):
    i = dpex.get_global_id(0)
    c[i] = a[i] + b[i]

q = dpctl.SyclQueue("gpu")
a = dpnp.ones(10, sycl_queue=q)
b = dpnp.ones(10, sycl_queue=q)
c = dpnp.zero(10, sycl_queue=q)

dep_events_list =[]
e1 = foo[dpex.Range(10), dep_events_list](a,b,c)
e2 = foo(dpex.Range(10), [e1]](c,b,a)
e2.wait()

In the snippet above, I am proposing adding a new flag to the kernel decorator called nowait. The nowait option will define the behavior of the kernel dispatch. If nowait is set to True the kernel will be dispatched asynchronously, i.e., returns an dpctl.SyclEventobject. If the option is set to False, then kernel dispatch mimics the current behavior where we apply a wait inside the kernel launch.
I also think the nowait default should be False and it should be explicitly set by users who want async execution.
Moreover, the lifetime management of the kernel arguments is deferred to users. It is their responsibility to keep the kernel arguments "alive" if they want to use the nowait=True option.
The proposal applies only to kernel decorated functions and dpjit will not support async execution for parfor nodes.

I assume the [e1] syntax in the kernel execution call for the second kernel tells the second kernel to wait for the first?

I assume the [e1] syntax in the kernel execution call for the second kernel tells the second kernel to wait for the first?

Yes, after these changes the kernel launch will take a dpex.Range or a dpex.NdRange object specifying the index space for the execution and an optional list of dependent events.
In my example, the second call to foo ensures that the second kernel launch adds a dependency on the event returned by the first call to foo.

I think delegating Python object lifetime management to the user is too restrictive, and sets naïve user up for crashes.  If a function needs to create a temporary to be used by a numba-dpex kernel, author must ensure that the temporary is available until  the kernel has completed its execution. Failure to do that causes a crash. The only means available to ensure the temporary buffer persists is to call e1.wait() before returning from the function.

It should be made very clear that user must ensure that USM allocations kernels are to process must not be deallocated sooner than all tasks associated with the submitted DAG of kernels complete execution.
We need to provide tools for users to accomplish this. Here are few ideas:

Wait for all tasks to complete, i.e. call sycl_event.wait()
User may return an object that contains return sycl_event as well as references to Python objects owning USM allocations, such as dpctl.tensor.usm_ndarray
dpctl.utils could expose a Python API to increment ref-counts of provided list of Python objects and schedule a host_task to provided sycl::queue that depends on provided  to list of dpctl.SyclEvent objects to decrement those ref-counts.

The latter is what dpctl.tensor implementations do. It would be up to the user which method to use.
It is a good idea to illustrate each of these uses with examples in some tutorial, on either numba-dpex or dpctl side.

Checklist on the steps needed to implement this feature:

[ ] 1. https://github.com/IntelPython/numba-dpex/issues/1137
[ ] 1.1. Implement unboxing of Python dpctl.SyclEvent to Numba syclevent type.
[ ] 1.2. Implement boxing Numba syclevent back to Python
[ ] 3. https://github.com/IntelPython/numba-dpex/issues/1138
[ ] 4. Manage reference to native sycl event so they are auto releasing(call wait()) immediately on no reference.
[ ] 5. Create design for dispatcher dependent events
[ ] 6. Make it possible for a kernel to return a SyclEvent
[ ] 7. Implement dispatcher dependent events

@ZzEeKkAa can this ticket be closed now after the merge of #1249?

Resolved with #1249 merge


Overwriting Origin + Role does not work

Describe the bug
Sometimes adding a role, after another role was added does not work
To Reproduce

Create blank character
add a role
add another role
delete role
add role => error

The problem seems to be fixable when the first role is applied again and then deleted
Version Numbers
Version Numbers
Foundry v12
IM 1.3.1

Cannot reproduce this, is this still an issue?

Tested it and it is fixed in 2.0.1


Update config file to point to correct branch for upgrade test framework

Description
This commit updates config file to point to correct branch for upgrade test framework.
Signed-off-by: Sumit Jaiswal<EMAIL_ADDRESS>Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.965%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
41850

Relevant Lines:
57356

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.965%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
41850

Relevant Lines:
57356

💛  - Coveralls


Option for hub pull-request to not immediately open the PR, but open the web page instead

This would allow me to review the diff before clicking the button to actually create the PR.

This is planned and on our roadmap. An alternative to writing the pull request message in the editor from command-line will be opening GitHub's web interface for creating the pull request. Thanks for the suggestion!


Mobile Responsive

Whats changed
Updated summary.tpl.html tailwind classes to better support mobile views and be more responsive.

Thanks for this contribution! However, things look a bit weird in desktop view.

Mobile

Tablet

Desktop

Still didn't look right for me, but found the issue. You'll have to run the following command after changing styles, since they are generated statically:
yarn build
yarn build:all:compress

It's not very well documented, so no worries for missing that part.
However, for iPad portrait mode view, the dashboard looks a bot too squeezed in my opinion. Perhaps wrap even a bit earlier or so? What do you think?

oh thanks for that.
hmm, i think i agree, it does look cramped. how about this?

Lets adjust the KPI spacing as well..
###Mobile

###Tablet

###Desktop

Love it! Thank you :+1:
Only thing still missing in terms of responsiveness is the settings page, I think. However, it would probably quite a hassle to get it mobile-friendly, while there's only little benefit to the user. Having dashboard, leaderboard and projects make look good on small screens is way more important anyway.
Relates to #137.

Love it! Thank you 👍
Only thing still missing in terms of responsiveness is the settings page, I think. However, it would probably quite a hassle to get it mobile-friendly, while there's only little benefit to the user. Having dashboard, leaderboard and projects make look good on small screens is way more important anyway.
Relates to #137.

Thanks!
From a quick skim, I think Leaderboard just needs a few spacing and text size adjustments for small screens, and Projects already look pretty good to me. Settings too, just needs a few spacing and text size adjustments. When I have time I can try and dig into it.


Feature request: the data range of axis -- X or/and Y can be changed dynamically

There are two use cases from our team:

The Y values are calculated based on user inputs.
There are multiple charts which are on top of each other with different X range. We want to show the chart one at a time based at run time based on the selection of other controls.

I have added new functionality to set the scales, plus an example page showing how to use it:
http://brunelvis.mybluemix.net/examples/scales.html
This requires the latest version of Brunel


Scikit-learn API

If I remember correctly, one of the reasons to use skorch was the similarity to the scikit-learn API.
However, in the rest of braindecode we lack support.
Should we add wrapper classes for our preprocessing functionality that inherit from TransformerMixin to allow for chaining everything in scikit-lean pipelines?
It could look similar to this:
https://gist.github.com/gemeinl/d64c014debb5f58e4feacb57a8656ed0

we could go towards sklearn transformers and pipelines
I don't have a strong opinion unless you show me how the code could
look like compared to how it is now.
On Fri, Aug 14, 2020 at 12:31 PM gemeinl<EMAIL_ADDRESS>wrote:

Assigned #154 to @agramfort.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Check out this gist that shows our "Basic trialwise decoding" example updated to use scikit-learn API:
https://gist.github.com/gemeinl/d64c014debb5f58e4feacb57a8656ed0

this is really nice ! do you see any potential limitation in this approach?
any computational overhead
or waste of computations?

Very nice example @gemeinl! I believe we had discussed using objects for windowers during the sprint? I think making full use of skorch would make a lot of sense.

So is this still open or have we implemented it? @gemeinl

So is this still open or have we implemented it? @gemeinl

What do you mean have we implemented it?
The code is in the notebook linked above. It was never merged into braindecode.
Should I do this? Where and how would I include this?

Hello, my colleagues and I would be really interested in this functionality. Also, having an example that shows how to use braindecode models in a Scikit-learn Pipeline in the documentation would be really nice in my opinion.

Hello @Ardillen66!
Good suggestion! Are you interested in building a tutorial or improving any of the tutorials in the library?
Braindecode is built on top of skorch. The fastest way to use the pipeline is to use the tutorial from skorch, using EEGClassifier or EEGRegression instead of the NeuralNet.
https://skorch.readthedocs.io/en/stable/user/quickstart.html#in-an-sklearn-pipeline
Please let me know if you have any other questions.

I think that a separate tutorial showing some of the other examples with a Pipeline or expanding the existing examples with how to achieve the same thing with a Pipeline would be ideal.
I am currently rather busy, but I would be happy to expand the documentation when I have the time.

Nice @Ardillen66!
So we'll wait when you have time. Probably one more section in the tutorial for the next version of the braindecode: https://braindecode.org/master/auto_examples/plot_hyperparameter_tuning_with_scikit-learn.html


[sdk] Update to Gecko SDK 4.2.1

This updates the gecko_sdk submodule to 4.2.1 and also updates the PAL in src/src
Known Issues

crypto.c changes were not pulled into the ot-efr32 PAL in src/src. See the Known Issues of https://github.com/openthread/ot-efr32/pull/482 for more details

@jwhui can you review this please?

@lmnotran , can you help rebase and resolve conflicts?

@jwhui Thanks for taking a look at the PR! You should be good to merge now


System.Reactive.xml copied to published output

Which library version?
4.4.1
What are the platform(s), environment(s) and related component version(s)?
Avalonia 0.10 beta6 ,net5.0 rc2, windows 10
What is the use case or problem?
Publishing my Avalonia app results in the 2.3M System.Reactive.xml in the build output https://github.com/AvaloniaUI/Avalonia/issues/4987 The file does not appear to be used or needed.
What is the expected outcome?
no xml files in the output
What is the actual outcome?
System.Reactive.xml in the output

@clairernovotny, do you know what's the standard way of dealing with packages that should have XML docs to help developers (IntelliSense) but these shouldn't get copied upon publication of the library or app that consumes the package?

Appears fixed


Fix date

Because I'm using the datepicker in localized website I came to realize a pretty annoying bug.
Basically the parsers and formatters bindable are conflicting and create weir behavior. For exemple, if I set the formatters.bind="{date: 'DD-MM-YYYY'}" it all works when until the field is blurred. Then the property set value from the formatter is replace by a value parsed again but withe the parsers value.
Hopefully it makes sense and this fix can be released soon.
I also added a fix to the theme where the picker needs a background property not connected to the default controls. It's better to keep this picker background in sync with other picker theme properties and have nice defaults that work well.

@bigopon @EisenbergEffect
Ready for review

I agree. I think the code looks fine, but I'd want @serifine to confirm that we aren't missing something by removing the parsers.

parsers is not anywhere else in the date picker code. Probably was left in for legacy purposes.
Let's wait for @serifine answer about this 👍

I'm not entirely sure why I put that in to be honest. Try removing it and
see if it still works as intended.
On Fri, Apr 3, 2020, 12:22 AM Ben Girardet<EMAIL_ADDRESS>wrote:

parsers is not anywhere else in the date picker code. Probably was left
in for legacy purposes.
Let's wait for @serifine https://github.com/serifine answer about this
👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aurelia/ux/pull/249#issuecomment-608235962, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJFKB55PW2XLPZJWCBFGOLRKVXC5ANCNFSM4L2TJGFQ
.

Looks good to me then. Thanks @serifine


Revisit apiVersion validation

apiVersion on line 246 in variables-object-use-determination.json.zip produces a warning

@wwlorey we have a few dupes on this issue. I'm going to close this one and will track the issue here:
https://github.com/microsoft/vscode-azurearmtools/issues/485
Thanks


JSON Schema doesn't allow headers for schema

Describe the bug
According to the documentation, you can pass headers to a schema url - and the feature itself actually works.
It's just that the provided json schema throws a validation error because it expects schema to either be a string or an array of strings
To Reproduce
set schema to
schema:
  - http://localhost:3000/graphql:
      headers:
        Authorization: foo

yaml schema validation against<EMAIL_ADDRESS>will report the issue as follows:

Expected behavior
the documented format should be allowed in the json schema
Environment:

OS: MacOS 11.5.2
GraphQL Config Version: 4.0.1
NodeJS: 16.9.1

Additional context

Experiencing the same issue

@benkroeger @paleite @zifeo @kevinalh @illarionvk @BasixKOR @frehner @franzwilhelm
Hey guys, sorry for a long time in fixing this problem.
This problem was finally solved in the alpha version<EMAIL_ADDRESS>I mentioned all of you because you had this problem, so you can test it on your configs, and maybe you have some suggestions for the next major of graphql-config? Please leave it in https://github.com/kamilkisiela/graphql-config/issues/626

Note: You can test this by using custom schema options on VS Code YAML extension like this:
"yaml.schemas": {
<EMAIL_ADDRESS>"graphql.config.*"
}


Make kid a relative DID URL

The DID/VC community generally used absolute DID URLs as kid in VC-JWTs but they are moving to relative to avoid faulty implementations that forget to match that the issuer is a prefix of kid. See https://github.com/decentralized-identity/jwt-vc-presentation-profile/blob/main/spec/spec.md#kid-jwt-header for example.
In our code, kid is the fragment value, so not an actual relative DID URL. This should be changed to to start with # to be consistent and avoid interop issues later on. This aspect is currently underspecified in the SCITT specs.
Note that DID resolution options, if any, are not meant to go into kid, so this is a restricted form of relative DID URL only allowing a fragment.

In our code, kid is the fragment value, so not an actual relative DID URL. This should be changed to to start with # to be consistent and avoid interop issues later on. This aspect is currently underspecified in the SCITT specs.

The VC spec you linked says "When relative DID URL is used as a kid, kid only contains a DID fragment", and did-core spec defines a DID fragment as "The portion of a DID URL that follows the first hash sign character (#)". From that, my understanding would be that the # symbol should not be included in the kid field, which is what we do today.

https://dev.uniresolver.io/
https://dev.uniresolver.io/1.0/identifiers/did%3Aion%3AEiClkZMDxPKqC9c-umQfTkR8vvZ9JPhl_xLDI9Nfk38w5w
- https://github.com/decentralized-identity/jwt-vc-presentation-profile/blob/main/spec/spec.md#wallet-holder

 {
    "kid" : "did:ion:EiDX...#key-1",
    "typ" : "JWT",
    "alg" : "EdDSA"
  }.

Related comment here: https://github.com/w3c/vc-jwt/issues/30#issuecomment-1320610056

@plietar The JWT VC spec I linked isn't precise enough. The term "fragment" is a bit ambiguous, but the fact that it's supposed to be a relative DID URL makes it clear that it should include #, because otherwise it wouldn't be a valid relative URI.
The general idea is that the issuer is a base URL representing the DID doc and the kid is a URL relative to the resolved DID doc.
I know it wastes one extra byte but treating it like a proper relative URL makes it easier to talk about it and allows for future extensions (e.g. parameters), if that should become a thing.
@OR13 That spec should be very clear about the syntax with examples, otherwise people mess it up again.

I have some WIP language that attempts to clarify this exact issue here:

https://transmute-industries.github.io/vc-jws/#producing
https://transmute-industries.github.io/vc-cose/#producing

The objective is to make obtaining the public key for a signature easy when the kid is an absolute or a relative (to iss) DID URL.


Ensure RNG has a different seed for each block

Each block that is added with a .generate() call should be generated using a different seed, ensure that this is done every time.

I'm concerned about this issue. The same seed can be used as long as the random number generator isn't reset between blocks.

The current implementation does not reset the seed for the PRNG underlying the random field that is being sampled. The only time this is accessed is during the initialization of the GenerateFluctuationField class.
If I recall correctly, the origin of this issue was the seeming correlation between individually generated blocks (really repeated patterns) in the fluctuation fields used in the examples. The reason for this is still not apparent to me. To clarify: once all blocks are generated, they should all be normalized together, correct? This is what happens in the code now and which results in the repeated features currently visible in the examples.
It's not clear to me where the issue is coming from, but I don't think the cause is the way the PRNG is being accessed.

As mentioned in the previous comment, the issue was indeed with data indexing. Changing the domain to be defined in ij indexation before passing to Plotly (column-wise, as the data is generated and loaded into Paraview) and converting the Paraview colormap used in the main graphic to a Plotly colormap, we recover plots with reasonable structure for both DRD and Mann-based fields:

Between this fix and the new high resolution graphics for #57, I believe this issue can be closed.


revise openyurt readme

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

/kind documentation
What this PR does / why we need it:
revise readme
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

@Fei-Guo

/lgtm
/aaprove


Enhance BackendMemory to provide more allocation options

Since TRITONSERVER_MemoryType can be derived from AllocationType it is redundant to pass both to the BackendMemory constructor.
Instead we can have a AllocationTypeToMemoryType() that maintains the mapping for the same and is called when needed.


Redesign ReportStream Website

Problem statement
User: As a prospective or existing user, when I visit the ReportStream website I want to be able to find information relevant to my needs for my role so that I don't have to contact a team member every time I have a question or need support material to make a decision or complete a task.
What you need to know
We can adapt some of previously revised (but not yet published) content work for this upcoming redesign so we don't have to reinvent the wheel.

Here's the Content Design folder that contains previously revised web copy prior to this current June 2022 redesign.

Here's the ReportStream Content Style Guide we adhere to for public-facing content

Acceptance criteria

Content adheres to ReportStream Content Style Guide
Content follows federal plain language guidelines
Design follows USWDS guidelines
User voices: Sender is an API user (phase out CSV uploader content), Receiver represents a public health dept
ReportStream is still unbranded, so we'll continue with the minimal design elements currently in use
New sections or content: support/help/contact/faqs; updates/what's new; guides; etc.

@RakshindaAslam here's the new Epic I created for "Redesign ReportStream website" - I've moved two tickets underneath this epic. Feel free to move any others you might feel belong here. Andrea and I will also add tickets to this epic as we find out more info wrapping up our IA ticket. Thanks! cc: @HeatherRienks

This is an old epic with old issues. We can repurpose it when we start redesigning the website.
Moving back to New items for now until we get to that point.


Decrypted secrets are not masked

The action is not masking decrypted secrets, it is extremely easy to read all the encrypted values.
IMHO, setSecret has to be called in action to mask all the properties.

Fixed in #6


Add test for uncovered condition in responsibleai_dashboard_input.py

Description
Add test for scenario when either of the features could be "None" when querying matrix filter end point.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1638 (099b5f1) into main (e4f894b) will decrease coverage by 13.43%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1638       +/-   ##
===========================================
- Coverage   89.01%   75.58%   -13.44%
===========================================
  Files         105       10       -95
  Lines        5489      258     -5231
===========================================
- Hits         4886      195     -4691
+ Misses        603       63      -540

Flag
Coverage Δ

unittests
75.58% <ø> (-13.44%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ibleai/responsibleai/managers/explainer_manager.py

...idgets/raiwidgets/responsibleai_dashboard_input.py

...is/erroranalysis/_internal/surrogate_error_tree.py

.../raiutils/data_processing/data_processing_utils.py

erroranalysis/erroranalysis/_internal/__init__.py

raiutils/raiutils/webservice/__init__.py

...i/responsibleai/managers/error_analysis_manager.py

raiwidgets/raiwidgets/interfaces.py

raiwidgets/raiwidgets/explanation_dashboard.py

...ranalysis/erroranalysis/_internal/cohort_filter.py

... and 85 more

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


Issue 718: feat: add uuid type

Resolution for issue 718: Introduce uuid type

Added type substitution for PostgreSQL uuid type

Tested using local executable, table creation succeeds with correct datatype.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Matthew Kilner 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.

I guess this is failing because the Kuery PR needs to land first.  You can push another commit to this PR that updates the Package.swift to point at a suitable fork/branch of Kuery with your changes, to get the CI to pass here - if you want.  Then, once the Kuery PR has landed you can revert the extra commit here.  Just a tip.

Codecov Report

Merging #48 into master will increase coverage by 0.44%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   74.21%   74.65%   +0.44%
==========================================
  Files           3        3
  Lines         512      513       +1
==========================================
+ Hits          380      383       +3
+ Misses        132      130       -2

Flag
Coverage Δ

#SwiftKueryPostgreSQL
74.65% <100%> (+0.44%)
:arrow_up:

Impacted Files
Coverage Δ

...es/SwiftKueryPostgreSQL/PostgreSQLConnection.swift
64.59% <100%> (+0.77%)
:arrow_up:

Continue to review full report at Codecov.

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


Sometimes EventManager properties disappear

OS
Windows 11 x64
Godot Version
v3.4.stable.official [206ba70f4]
Plugin Version
1.0 (lastest)
Issue description
Sometimes properties on EventMananger node vanishes for no reason.
https://user-images.githubusercontent.com/7025991/145495783-4c382600-3b1e-4122-9ecb-8587e3e47768.mp4
I found myself wasting time trying to replicate it but wasn't able to do it.
See: https://github.com/godotengine/godot/issues/43491#issuecomment-990441845 and https://github.com/godotengine/godot/issues/23316
Steps to reproduce
I wasn't enable to reproduce it. It happens sometimes but I can't find how or when this issue is triggered.
Workaround
For now, just reloading the editor seems to fix this.

Can't replicate with 1.4.3


Fix maskable icons

https://squoosh.app/icon-large-maskable.png is a 404. Chrome webapks now support maskable icons, so we should get this right.

I think this was a false alarm, actually (sorry).
First, due to copy/paste error, I mentioned https://squoosh.app/icon-large-maskable.png, but it should actually have been https://squoosh.app/assets/icon-large-maskable.png.
Second, I believe this was fixed recently in https://github.com/GoogleChromeLabs/squoosh/commit/63f607a3ead0052b4908134cedcb3f912bceab54, but I may not have seen the change on my machine yet due to an out-of-date service worker?
Anyway, seems to be working now, sorry for the false report.

No worries!


Build load API

Need an api path for loading a model to the UI. This could be broken into more requests if needed.
GET /models?id=42
RESPONSE: 200 OK
[
  id: 42,
  name: "Student Grade Predictions",
  description: "Predicts whether students will fail their next semester",
  accuracy: 0.82,
  parentId: 12,
  comments: [
    {
      id: 86,
      user: "anon",
      date: "2008-09-15T15:53:00.000000",
      text: "This is a good dataset."
    }
  ],
  factors: [
    {
      id: 65,
      originalName: "C(freetime)[T.5]",
      name: "Free time: very high"
      description: "free time after school",
      weight: 1.45,
      intercept: 0.2,
      balanced: false,
      comments: [
        {
          id: 87,
          user: "anon",
          date: "2008-09-15T15:53:00.120000",
          text: "This surprises me."
        }, {
          id: 88,
          user: "anon2",
          date: "2008-09-15T15:53:00.450000",
          text: "Why does it surprise you?"
        }
      ]
    }, {
      id: 66,
      originalName: "C(schoolsup)[T.yes]",
      name: "Educational Support"
      description: "extra educational support",
      weight: 1.45,
      intercept: 0.2,
      balanced: false,
      comments: []
    }
  ]
]

I added the following REST APIs (with django REST framework)

(GET/POST) /api/model                        : Retrieve or Add a model
(GET/POST) /api/factor                         : Retrieve or Add a factor
(GET/POST) /api/comment                   : Retrieve or Add a comment
(GET/POST) /api/user                            : Retrieve or Add a commet
(GET) /api/getfactors/?model_id=        : Retrieve all factors of a model
(GET) /api/getcomments/?factor_id=   : Retrieve all comments of a factor


No fragment support?

The "original" implementation by @HeinrichReimer supported adding custom fragments into the slides.
How about this one?

Hi @inphonica-soft! You can add your custom slide by extending SlideFragmentBase.


[release-1.21] Update Kubernetes to v1.21.5

Proposed Changes
Update Kubernetes to v1.21.5

Types of Changes
Kubernetes version bump

Verification

Linked Issues
https://github.com/k3s-io/k3s/issues/4004

User-Facing Change

Update Kubernetes to v1.21.5

Further Comments

Upstream is building with golang 1.16.8, can you ensure that the golang version gets bumped as well?


Add CRI to glossary

I've tagged this glossary entry as “fundamental”.
I did wonder if it's worth adding a new tag for glossary entries to do with containers. What do people think?

lgtm

/lgtm
/approve


FrameNet corpus reader overhaul

This adds support for accessing annotated corpus examples in the FrameNet database (lexicographic exemplar sentences + full-text documents). The sentences are loaded on demand, and are linked to the lexicon as appropriate. API methods .sents(), .annotations(), .exemplars(), .ft_sents(), and .docs() provide direct access. Pretty-print displays facilitate browsing the annotated sentences in the terminal. Tested on the recent 1.7 data release.
Fixes #1369, #1370, #1132, #1191, #1378

Thanks @nschneid.
Should I put the updated corpus in nltk_data/packages/corpora/framenet_v17?

Should I put the updated corpus in nltk_data/packages/corpora/framenet_v17?

Yes, please!

@nscheid A few tests are now failing, and I think this could be related to the PR. Could you please check it out?

@nschneid  A few tests are now failing, and I think this could be related to the PR. Could you please check it out?

@fievelk, where can I see the test results? Are these based on framenet_v17?

Now passes all tests with FrameNet 1.5. @stevenbird, is 1.7 in place? I don't see it at http://www.nltk.org/nltk_data/.

@nschneid I'm just waiting to receive the download link, after completing the application form. Since I'm not sure how long this will take, it would be great if you could send me your copy or give me a download link please.

You should be able to access it the same way as for 1.5.

@nschneid: it's there now

All tests are passing now with FrameNet 1.7.


Label dependabot PRs as ok-to-test by default

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Updates the configuration so any PRs opened by dependabot have the ok-to-test and kind/cleanup labels by default. This has saved maintainers some time in Cluster API projects, maybe it would be useful here too.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Sorry for all the repetition. As best I can tell, there isn't a way to set labels globally in dependabot.yml.

/lgtm
/approve


[Radio] Radio package prevents consumer applications from compiling without disabling ts checks of libraries

Bug report
index.d.ts has an error linking to "Radio" that prevents consumer applications from compiling rith tsc unless all library checks are disabled with skipLibCheck in the tsconfig file.
npx tsc --noEmit
node_modules/@radix-ui/react-radio-group/dist/index.d.ts:30:96 - error TS2307: Cannot find module 'Radio' or its corresponding type declarations.

30 export const RadioGroupIndicator: import("@radix-ui/react-primitive").ExtendedPrimitive<import("Radio").RadioIndicatorPrimitive, "span">;

node_modules/@radix-ui/react-radio-group/dist/index.d.ts:33:91 - error TS2694: Namespace '"/Users/hsbacot/dev/portal/node_modules/@radix-ui/react-radio-group/dist/index"' has no exported member 'RadioIndicatorPrimitive'.

33 export const Indicator: import("@radix-ui/react-primitive").ExtendedPrimitive<import(".").RadioIndicatorPrimitive, "span">;

Current Behavior

Expected behavior
tsc compiles projects using @radix-ui/react-radio-group successfully
Reproducible example
Not sure how to reproduce tsc in codesandbox
Suggested solution
This line produces
const RadioGroupIndicator = extendPrimitive(RadioIndicator, { displayName: 'RadioGroupIndicator' });

the following in index.d.ts
export const RadioGroupIndicator: import("@radix-ui/react-primitive").ExtendedPrimitive<import("Radio").RadioIndicatorPrimitive, "span">;

where "Radio" is not able to be found. I'd suggest looking into how the import for radio is inferred in the TS definition file
Your environment

Software
Name(s)
Version

Radix Package(s)
react-radio-group
0.0.17

React
n/a

Browser
n/a

Assistive tech
n/a

Node
n/a

npm/yarn
14.16.1

Operating System
macOS catalina
10.15.7

@hsbacot Are you able to reproduce this in the latest versions of the primitives? We have since removed the extendPrimitive utility and improved types.

I'll update and test this in the morning! TY @jjenzz

This is now fixed when compiled 😄 Thank you @jjenzz & team

whoop 🙌


SSHCommand not working for Set-Inform in Unifi

Hi,
Currently moving some Unifi devices over to a cloud controller sitting in DO. To do this, you need to run a set-inform command while SSH'd into the devices. It looks like this;
set-inform http://ip-of-controller:8080/inform
Name                           Value
----                           -----
PSVersion                      5.1.15063.909
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.909
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Function New-UnifiSSH {
    Param (
        [Parameter(ParameterSetName = 'DeviceIP',
            Position = 0,
            Mandatory,
            ValueFromPipeline,
            ValueFromPipelineByPropertyName)]
        [string[]]$deviceIP
    )
    Begin {
        Import-Module Posh-SSH
        $Pass = New-Object System.Management.Automation.PSCredential -ArgumentList ubnt, (Read-Host 'Please enter password' | ConvertTo-SecureString -AsPlainText -Force)
    }
    Process {

        $deviceArray = @()
        $deviceArray += $deviceIP

        $SSHSession = New-SSHSession -ComputerName $deviceArray -Credential $Pass

        Foreach ($Device in $SSHSession) {

            Invoke-SSHCommand -SSHSession $Device -Command "set-inform http://public-IP:8080/inform"

        }
    }#Process
    End {Get-SSHSession | Remove-SSHSession}
}#Function

Above is my small, itty bitty function. SSH works great and picks up both IP's that I'm testing with. Problem is, the command isn't running as I do not see the devices in the cloud controller. I don't get an error, but I do get an exit status of 127.
Any way to get around this? I've also tried with;
$Test = Invoke-SSHCommand -SSHSession $Device -Command "set-inform http://public-IP:8080/inform"
$Test.Output

UPDATE: I tried the same thing by using the Session ID instead, and I got an error stating that the command doesn't exist. However, it definitely does exist. Any fix for this?

Unifi uses a shell so so you will need to use a stream, they use a clone of VyOS so this function should help
https://gist.github.com/darkoperator/93fc457ca1c2de14c3a62a55d98020eb https://gist.github.com/darkoperator/93fc457ca1c2de14c3a62a55d98020eb

On May 21, 2018, at 3:58 PM, Mike Levan<EMAIL_ADDRESS>wrote:
UPDATE: I tried the same thing by using the Session ID instead, and I got an error stating that the command doesn't exist. However, it definitely does exist. Any fix for this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/210#issuecomment-390764531, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf0HsVzkia8EdIew__d0HvuNSQ_VHzWks5t0xxjgaJpZM4T_zJa.

$ alias set-inform='mca-cli-op set-inform'
This means that instead of "set-inform" you need to use "mca-cli-op set-inform"


afterEach has already deleted deps when using Jasmine instead of Mocha

beforeEach(function () {
  console.log(Object.keys(deps)); // -> [ 'dep1', 'dep2', 'step' ]
});

afterEach(function () {
  console.log(Object.keys(deps)); // -> [ 'step' ] :/
});

Just stumble over the same issue

Also reproduced - will take a look!

So it seems that this is occurring due to afterEach unshifting its callbacks onto its callback list - this matters because ngDescribe first runs the commands in your tests section and then adds a final afterEach which deletes keys in the dependencies object. Jasmine unshifts this, making the key deletion afterEach run first. Investigating a fix.
https://github.com/jasmine/jasmine/blob/750a9aac6d004a960fc752ce260600b68e06f711/lib/jasmine-core/jasmine.js#L2054

Mocha executes afterEach callback in order written, while Jasmine reverses the order.
describe('after each callbacks', function () {
  // just a dummy unit test to figure out how afterEach callbacks run
  it('passes', function () {});

  afterEach(function one() {
    console.log('one');
  });

  afterEach(function one() {
    console.log('two');
  });

  afterEach(function one() {
    console.log('three');
  });
  /*
    result

    Jasmine:
      'three'
      'two'
      'one'

    Mocha:
      'one'
      'two'
      'three'
  */
});

Sad


how can i make layer and move point parent layer ?

hi dear
can you help me about make layers ?
do i need to define feature set for every layer or one featureset enough for different layers ?
and after that when i add "point" to one of the layer i need to change the parent of the point layer
how can i move one or more point from one layer to another layer ?

Have a look at the documentation. It could be a little outdated but you should be able to understand how to create layers.
You need one featureset for each layer.
If you want to move points between layers you'll have to remove the point from the first layer and add it to the second.

how can i get the point coordinate for set on the new layer ?

Sorry, but I've got no idea what your question is supposed to mean.

i mean how can i pickup point coordinate on the layer for set it on new layer ?

this is my code ...
layer not change when i call this method
how can i do it ?
`        public void test(Coordinate coord,string ftype)
{
        foreach (var item in map1.Layers)
        {
            if (item.LegendText ==ftype)
            {
                int selectedIndex = map1.Layers.IndexOf(item);
                //map1.Layers.SelectLayer(index);

                //var selectedIndex = 0;

                ((Legend)map1.Legend).ClearSelection();
                map1.Layers[selectedIndex].IsSelected = true;
                map1.Layers.SelectedLayer = map1.Layers[selectedIndex];
                map1.Legend.RefreshNodes();
                label1.Text = Convert.ToString(selectedIndex);
            }

        }
        DotSpatial.Topology.Point point = new DotSpatial.Topology.Point(coord);
        IFeatureSet ifs = new FeatureSet(FeatureType.Point);

        IFeature currentFeature = ifs.AddFeature(point);
        //IFeature currentFeature = new Feature(DotSpatial.Topology.FeatureType.Point);
        //currentFeature.DataRow["ID"] = pointID;
        //currentFeature.DataRow["label"] = "point #" + pointID.ToString();
        DotSpatial.Symbology.CharacterSymbol pcs = new DotSpatial.Symbology.CharacterSymbol('o', "Webdings", Color.Black, 32);
        DotSpatial.Symbology.PointCategory pc = new DotSpatial.Symbology.PointCategory(pcs);
        //Sweep Character For Show Shape Heading
        pcs.Angle = 270;

        pc.Symbolizer.ScaleMode = ScaleMode.Simple;
        //pc.FilterExpression = "[ID]='" + currentFeature.DataRow["ID"].ToString() + "'"; // <-- this is extremely important.Here the point ID is set
        //pc.LegendText = currentFeature.DataRow["label"].ToString();
        pointScheme.AddCategory(pc);

        mpl.Symbology = pointScheme;
        mpl.ApplyScheme(pointScheme);

        _tempLayer = mpl;

        map1.MapFrame.DrawingLayers.Add(mpl);

        map1.MapFrame.Invalidate();
        map1.Invalidate();
        pointID++;
        map1.FunctionMode = FunctionMode.None;

    }`


environment.yml with different cuda and cudnn versions

Hello, I would like to know what should be changed in the environment.yml files if I installed different cuda and cudnn versions since cuda version 8.0 isnt compatible with ubuntu 18.04

CUDA v.10.1.103
-Cudnn v.<IP_ADDRESS>
-Tensorflow-gpu v.2.2

If anyone went through this and can help please do, Thanks in advance

Install the later pytorch version that supports later cuda should be okay

I get this error when running the line

conda env create -f environment.yml
after I have removed lines concerning cuda, cudnn, pytorch, and tensorflow

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/exceptions.py", line 1079, in __call__
    return func(*args, **kwargs)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda_env/cli/main.py", line 80, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda_env/cli/main_create.py", line 111, in execute
    result[installer_type] = installer.install(prefix, pkg_specs, args, env)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda_env/installers/conda.py", line 32, in install
    prune=getattr(args, 'prune', False), update_modifier=UpdateModifier.FREEZE_INSTALLED)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction
    should_retry_solve)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff
    force_remove, should_retry_solve)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 281, in solve_final_state
    ssc = self._run_sat(ssc)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
    return f(*args, **kwds)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 808, in _run_sat
    should_retry_solve=ssc.should_retry_solve
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated
    return f(*args, **kwds)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/resolve.py", line 1318, in solve
    self.find_conflicts(specs, specs_to_add, history_specs)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/resolve.py", line 347, in find_conflicts
    bad_deps = self.build_conflict_map(specs, specs_to_add, history_specs)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/resolve.py", line 507, in build_conflict_map
    root, search_node, dep_graph, num_occurances)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/resolve.py", line 369, in breadth_first_search_for_dep_graph
    last_spec = MatchSpec.union((path[-1], target_paths[-1][-1]))[0]
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/models/match_spec.py", line 481, in union
    return cls.merge(match_specs, union=True)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in merge
    reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/models/match_spec.py", line 475, in <lambda>
    reduce(lambda x, y: x._merge(y, union), group) if len(group) > 1 else group[0]
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/models/match_spec.py", line 502, in _merge
    final = this_component.union(that_component)
  File "/home/abdallahaymaan/anaconda3/lib/python3.7/site-packages/conda/models/match_spec.py", line 764, in union
    return '|'.join(options)
TypeError: sequence item 0: expected str instance, Channel found

$ /home/abdallahaymaan/anaconda3/bin/conda-env create -f environment.yml python=3.5
environment variables:
CIO_TEST=
CONDA_AUTO_UPDATE_CONDA=false
CONDA_DEFAULT_ENV=base
CONDA_EXE=/home/abdallahaymaan/anaconda3/bin/conda
CONDA_PREFIX=/home/abdallahaymaan/anaconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/home/abdallahaymaan/anaconda3/bin/python
CONDA_ROOT=/home/abdallahaymaan/anaconda3
CONDA_SHLVL=1
PATH=/home/abdallahaymaan/anaconda3/bin:/usr/local/cuda-10.1/bin:/usr/local
/cuda-10.1/NsightCompute-2019.1:/home/abdallahaymaan/anaconda3/bin:/ho
me/abdallahaymaan/anaconda3/condabin:/home/abdallahaymaan/.local/bin:/
usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
:/usr/local/games:/snap/bin
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
WINDOWPATH=1
 active environment : base
active env location : /home/abdallahaymaan/anaconda3
        shell level : 1
   user config file : /home/abdallahaymaan/.condarc

populated config files :
conda version : 4.8.2
conda-build version : 3.18.11
python version : 3.7.6.final.0
virtual packages : __cuda=10.2
__glibc=2.27
base environment : /home/abdallahaymaan/anaconda3  (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/abdallahaymaan/anaconda3/pkgs
/home/abdallahaymaan/.conda/pkgs
envs directories : /home/abdallahaymaan/anaconda3/envs
/home/abdallahaymaan/.conda/envs
platform : linux-64
user-agent : conda/4.8.2 requests/2.20.1 CPython/3.7.6 Linux/5.3.0-62-generic ubuntu/18.04.4 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
[y/N]:
Timeout reached. No report sent.

@abdallahaymaan Would you mind sharing the .yaml file you ended up using to get the environment to build?

@abdallahaymaan Would you mind sharing the .yaml file you ended up using to get the environment to build?

Hey! Did you find out the .yaml file?


Support of Cloud Stats plugin

Hello. Do you plan of support for Cloud Stats plugin, as an another docker plugins?

Could you provide link?

https://wiki.jenkins-ci.org/display/JENKINS/Cloud+Statistics+Plugin
Now, in jenkins startup log:
jenkins_1  | Aug 22, 2016 9:38:07 AM org.jenkinsci.plugins.cloudstats.CloudStatistics getIdFor
jenkins_1  | INFO: No support for cloud-stats-plugin by class com.github.kostyasha.yad.DockerComputer

@ogondza is it stable?

@olivergondza is it stable?

I do not expect breaking changes any time soon. Also, I would appreciate if you give it a try so i have feedback from different environment.

Could it be optional department?
On 23 Aug 2016 1:53 p.m., "Oliver Gondža"<EMAIL_ADDRESS>wrote:

I do not expect breaking changes any time soon. Also, I would appreciate
if you give it a try so i have feedback from different environment.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KostyaSha/yet-another-docker-plugin/issues/70#issuecomment-241695676,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOIu5vMXpfHzMALBqfxRMcqojjftJidks5qitEQgaJpZM4JooKg
.

It is hard to implement that way is it require you to implement interfaces for computer/node/etc. (see reedme). Why would you want to make that optional?

@olivergondza do you have any working reference implementation? Openstack-plugin?

yes, mainly https://github.com/jenkinsci/openstack-cloud-plugin/pull/71

@olivergondza CloudStatistics.ProvisioningListener provisioningListener = CloudStatistics.ProvisioningListener.get() please create static methods that will be easily import and have readable names i.e. public static getProvisionerListener()

@olivergondza icon in global settings sucks, need some image with cloud + stat chart!


Memory Leak: No way to remove/clean up entities from DraftEntity when they are no longer needed

Do you want to request a feature or report a bug?
It's a limitation of the current DraftEntity implementation, that no delete or cleanup api is provided to remove entities that are no longer needed in the global DraftEntity map, that results in a memory leak for our project that uses draft-js.
What is the current behavior?
It seems that DraftEntity has methods which add new entities to the global Map, but there is no way to remove (clean up) any entities which are no longer needed.
For our project, this becomes a memory leak for us, as we end up creating a lot of entities, but when the contents are no longer needed, we can't clean them up, meaning that the memory is still allocated.
What is the expected behavior?
Could you please provide an API to delete an entity from DraftEntity given the entity key? Or better yet, a public helper method which clears the entire global DraftEntity map entirely, to free all the memory?
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
We are using 0.11.4. I don't believe any previous version of draft-js has the ability to remove unused entities from DraftEntity.

@geoff604 I agree with you, It's a good utility function to have.

I found a workaround to clear the global entity map by doing the following:
`
import {
Entity
// ... other imports
} from "draft-js";
const Immutable = require('immutable');
const {Map} = Immutable;
// ...
// Do this on clearing once we are sure no more draft-js instances are needed
// Clears the global Draft entity map by initializing it to an empty Map.
// TODO: Since this is calling a draft-js private method, we need to update this to use a Public API
// if they provide one. The bug on their side is: https://github.com/facebook/draft-js/issues/2391
Entity.__loadWithEntities(Map());
`
The exposed private method Entity.__loadWithEntities() was added in commit:
https://github.com/facebook/draft-js/commit/13989e313da64392f72309d593669ff115348391
Until a public API is provided to clear the global entity map, we can call this private method to clear it, fixing our memory leak for now.
But as calling private methods is strongly discouraged, it would be great if a public API could be provided by the draft-js team to provide a similar functionality.
Also, as of May 13 2020, the change https://github.com/facebook/draft-js/commit/13989e313da64392f72309d593669ff115348391 is not in any recent draft-js release, so we need to wait for the next release of draft-js before this workaround can be easily done (without using our own custom, locally built, copy of draft-js.

Any progress? our team find also find memory leak :(

Yikes. Thanks for reporting this!

Yikes. Thanks for reporting this!

No worries! Thanks for looking into it :)

@geoff604 Thanks for the fix but after doing it we still see a memory leak when server rendering  in CharacterMetadata. The pool variable is also global, thus when rendering a lot of different contents the pool keeps growing.
When adding the following code to CharacterMetadata.js
    CharacterMetadata.cleanUp = function cleanUp(config) {
    pool = Map([[Map(defaultRecord), EMPTY]]);
  }

and calling it after calling Entity.__loadWithEntities(Map()); we see that everything was cleaned.


Revert UI and layout, leaderboard in-game to OW1

Created by: SametChan
If this is possible and would be great!

Created by: snappycreeper
That's impossible to do, overwatch doesn't let us edit the UI

Created by: MaxwellJung
It should be possible to make custom scoreboard, but I'm not sure if workshop let you disable the default scoreboard and lets you detect the tab key press.
Low priority enhancement for now.

Created by: SametChan

It should be possible to make custom scoreboard, but I'm not sure if workshop let you disable the default scoreboard and lets you detect the tab key press.
Low priority enhancement for now.

That is great, but about UI at ability and ultimate, stuff at OW1 should be everything back too, that is also possible?

moved from ow1_emulator_backup#597


Passing the field: min_instances does not get applied to the cloud function

TL;DR
Passing a min_instances of 1 does not modify the actual min instances of the cloud function.
Below step will not work:
    - id: 'deploy'
      uses: 'google-github-actions/deploy-cloud-functions@v0'
      with:
        name: 'my-function'
        runtime: 'nodejs12'
        min_instances: 1

It seems the root of this issue is that the Cloud Functions API does not have a minInstances defined in its spec: https://cloud.google.com/functions/docs/reference/rest/v1/projects.locations.functions#CloudFunction
Expected behavior
Correctly set the min_instances of the cloud function
Observed behavior
min_instances for the cloud function was set to 0
Action YAML
name: "Cloud Functions Deploy"

on:
  push:
    branches: [develop]
    paths:
      - functions/**

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        function:
          - test1

        include:
          - function: test1
            name: test1
            entry_point: test1
            min_instances: 1

    steps:
      - uses: actions/checkout@v2

      - name: install node v14
        uses: actions/setup-node@v1
        with:
          node-version: 14

      - name: yarn install
        run: yarn install

      - name: Typescript compiler
        run: yarn functions build

      - name: Setup GCP Service Account
        uses<EMAIL_ADDRESS>        with:
          credentials_json: ${{secrets.GOOGLE_CLOUD_GITHUB_SERVICE_ACCOUNT}}

      - uses: google-github-actions/deploy-cloud-functions@main
        with:
          name: ${{matrix.name}}
          event_trigger_type: ${{matrix.event_trigger_type}}
          event_trigger_resource: ${{matrix.event_trigger_resource}}
          entry_point: ${{matrix.entry_point}}
          runtime: nodejs14
          region: us-east4
          min_instances: ${{matrix.min_instances}}

Additional information
No response

It's not in the auto-generated docs, but it's present in the discovery doc.
What are you seeing as the value for minInstances when you query the function?

@sethvargo thanks, when I use gcloud functions describe [my_function] I do not get a minInstances key or value.  When I re-deploy the same function via google console with minInstances=1 and then run gcloud functions describe [my_function] I do see minInstances=1.

@jlazar the default gcloud output only includes a subset of fields. Try with --format=yaml or --format=json to see all fields.

@sethvargo providing my stripped down output below. After a few tests, I think this could be only an issue with the PATCH flow. If i delete my function and re-create with the minInstances params set; it will create properly. But if I omit minInstances on the initial create and then update to add, no luck. I believe it may need to be added to the updateMasks array here: https://github.com/google-github-actions/deploy-cloud-functions/blob/main/src/client.ts#L405
I am also seeing this same flow with the param: secretEnvironmentVariables. Create works, update (patch) does not
Cleaned output from gcloud functions describe foo --format=json
{
  "availableMemoryMb": 256,
  "buildId": "foo",
  "buildName": "foo",
  "entryPoint": "foo",
  "environmentVariables": {
    "ENV": "stg"
  },
  "httpsTrigger": {
    "securityLevel": "foo",
    "url": "foo"
  },
  "ingressSettings": "ALLOW_ALL",
  "name": "foo",
  "runtime": "nodejs14",
  "secretEnvironmentVariables": [...]
  "serviceAccountEmail": "foo",
  "sourceUploadUrl": "foo",
  "status": "ACTIVE",
  "timeout": "60s",
  "updateTime": "foo",
  "versionId": "2"
}

Yea, updateMasks is the issue. You're totally right.

Fixed in #260


README versions badge indicates support for Python 2.7, 3.5

I suspect this is because the most recent (non-release candidate) release was before we dropped support and that shields.io is keying off the package metadata for that release.

Before making the 1.0 release, we should probably tighten up the Trove classifiers too:
diff --git a/setup.py b/setup.py
index 711783f..e6567a7 100644
--- a/setup.py
+++ b/setup.py
@@ -70,9 +70,12 @@ setuptools.setup(
         release_status,
         "Intended Audience :: Developers",
         "Operating System :: OS Independent",
+        "Programming Language :: Python",
+        "Programming Language :: Python :: 3",
         "Programming Language :: Python :: 3.6",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
+        "Programming Language :: Python :: 3.9",
         "Topic :: Internet",
         "Topic :: Software Development :: Libraries :: Python Modules",
     ],


Merge Ratelimiter 1.x

Purpose
Merge Ratelimiter 1.x

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Feature] Add option to disable ddl in default database

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
If users don't create a database and create table directly, they will create all tables in the default database. From the perspective of permission control, we hope that each business can manage their tables based on the database. So we need to disable the ddl operation of the default database and force users to place their tables in the specified database
Solution
Add an option to disable ddl in default database
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

hi, @FangYongs , I would like to take this. Would you help assign it to me, thanks.


idempotent start

use case:
I'm using embedded-elasticsearch for tests, where some of the tests turn elasticsearch off to simulate errors, so that between any two tests i want to validate that the elasticsearch is back on again.
for that I use a reset method:
  def reset() = {
    embeddedElastic.start // theoretically idempotent
    embeddedElastic.deleteIndices
    embeddedElastic.createIndices
  }

I assume that the start() method in EmbeddedElastic is supposedly idempotent as far as the internal ElasticServer instance is concerned:  because I see that it's only calling the .start() method if it receives false on isStarted() :
    private void startElastic() throws IOException, InterruptedException {
        if (!elasticServer.isStarted()) {
            elasticServer.start();
        }
    }

however, isStarted() is implemented by optimistically, lock-free reading the started flag:
    boolean isStarted() {
        return started;
    }

and the started flag may have already been written to by another thread listening to the logs in signalElasticStarted():
    private void signalElasticStarted() {
        synchronized (startedLock) {
            started = true;
            startedLock.notifyAll();
        }
    }

I'm solving this locally by wrapping the EmbeddedElastic with a proxy that has idempotent ensureStarted() and ensureStopped() by means of its own started flag. I think this is a feature that is should move into EmbeddedElastic itself so that other users may enjoy mindlessly resetting the state of the server with no need to track who did what to it beforehand.

Hi :) Given that you have solution for this, can you submit pull request?


Dropbox API v1 retired

This library suggests install Dropbox SDK dropbox/dropbox-sdk, this library is not maintained any more of becase Dropbox has discontinued their V1 – API in June 2017.
Do you plan to include another library for backups in Dropbox?

We should be using https://github.com/kunalvarma05/dropbox-php-sdk

Did someone solve this? When I install the new budle (/kunalvarma05/dropbox-php-sdk) instead of the old I get Error: Uncaught LogicException: You need to install "dropbox/dropbox-sdk" right after load.


CreateDraftRelease is incorrectly called after draft is published

Calling CreateDraftRelease causes an exception when the build has been triggered by publishing the draft release using the GitHub web page.

Updated and released as 1.3.3


force dark mode and strip light mode colors

Description
i'd like to use dark mode only for my site and would like the option to remove all light mode colors instead.
Additional context
No response

Hello @mavrick,
I hope this resolve your issue :
https://ui.nuxt.com/getting-started/theming#dark-mode
https://tailwindcss.nuxtjs.org/examples/dark-mode


fix(unit test): Fix unit test issues

Add exception handling tests to ensure code robustness.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.bupt_rain 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.


Pagination control no longer working with Bootstrap 4 beta

I recently updated my code to use the latest version of Boostrap and the Pagination component is no longer drawing itself correctly. I get this (text only no borders etc)
Prev123456Next
I assume this is because the Pagination component has been rewritten using flexbox
https://getbootstrap.com/docs/4.0/migration/#pagination

I will focus on bootstrap4 after it is released out of beta. However from looking at the docs, in theory you should be able to use it by setting some properties on the pager for the needed css classes like this:
<cs-pager<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  cs-pagenumber-param="page"
  cs-pager-ul-class="pagination"
  cs-pager-li-current-class="page-item active"
  cs-pager-li-other-class="page-item"
  cs-pager-li-non-active-class="page-item disabled"
  cs-pager-link-current-class="page-link"
  cs-pager-link-other-class="page-link"
  asp-controller="YourController"
  asp-action="YourAction"></cs-pager>

Thanks for this, worked a treat.


New Queues Needed - Ubuntu.2204.arm64.open and Ubuntu.2204.arm64

As Ubuntu 18.04 is listed as EOL for regular support (though it is in extended support), we would like to have our customers move their workloads to Ubuntu 22.04 when possible.

Release Note Category

[X] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
Add Ubuntu 22.04 ARM queues to Helix

@AlitzelMendez is this something you can work on?

!33266 now merged; watching main build #20230821.04

should roll out 23 August

done 😁


Add deepSearch render variable, Add support for templates

Add deepSearch render variable, Add support for templates
DO NOT MERGE yet

Coverage decreased (-0.5%) to 98.396% when pulling 1705c785e77462da2096d6ee6ea66fd3fc81901f on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage decreased (-0.7%) to 98.233% when pulling 07877f8316c6d202f2e459052a7c1e2e1a2c301d on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage decreased (-0.7%) to 98.233% when pulling 8efb97b895ccf854a9e66e7163cc986200dedaf7 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage decreased (-0.7%) to 98.233% when pulling 0a56578611ac44590697e5a69056862f91eed88b on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.04%) to 98.947% when pulling bcbda44d1ce9039bed89cce25ad0bc4d7c6204ca on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.04%) to 98.947% when pulling 8a132b6d45df8af6488547ec3e803474b1c545c3 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.04%) to 98.947% when pulling 8a132b6d45df8af6488547ec3e803474b1c545c3 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.05%) to 98.955% when pulling e8901311680a921d04e7f440efdbe4e5e3146276 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.05%) to 98.955% when pulling e8901311680a921d04e7f440efdbe4e5e3146276 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.07%) to 98.973% when pulling 7062fc30a813c3f4d7188b0461f7c9b09940d8aa on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.07%) to 98.973% when pulling 2f2e3364dcd0322db04da365f94a549bae024f59 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

@heneryville Please check my PR

Coverage decreased (-0.1%) to 98.803% when pulling 54128dae6adcbde360fbc742008a5fcfbc24f3c8 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.07%) to 98.974% when pulling c8db1f8c17163fe9c264a3d78ab42a287514e47f on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.07%) to 98.974% when pulling 6bc9f4c203bf580675cf729b49173c211e77c26f on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.07%) to 98.978% when pulling 12c9bf16a657af4d689b48db9f6602960a81e44d on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.07%) to 98.978% when pulling 12c9bf16a657af4d689b48db9f6602960a81e44d on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.09%) to 98.992% when pulling 329967f0889d61a8a0a86c4cf392d4e205c82eae on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.09%) to 98.992% when pulling c35e97a72d385bcf7a8dffb83704f111bb03e10e on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.09%) to 98.992% when pulling d38df61900be3a0dde8c31cfb0dc65ec4e50aad0 on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

Coverage increased (+0.09%) to 98.992% when pulling 548991a5a0a8b5a4b75ed3eac47e626d06a61a2c on rmberrios:dev into c3ba758b7c3efe7ae9d92e5c63464195cacb15d4 on mediarain:dev.

@heneryville any more comments?


Does Cesium support multi textures in glTF?

I am not familiar with English, so I ask for an understanding.
As they said in a link,

As for TEXCOORD_10, I guess we have to allow it, else we end up permanently limiting the number of texcoord maps. It's easy enough for a "simple" reader that only supports single-digits here to mark the multi-digit ones as invalid, particularly if leading zeros are forbidden.

Does Cesium support multi textures in glTF 2.0? Can I use TEXCOORD_11?
Reason why I am asking this question is because 'glTF Validator' does not support 'TEXCOORD_10', and it says error. but the link insists it should be allowed.

Hi, unfortunately at this time Cesium only supports TEXCOORD_0.  At some point it would be great if Cesium supported a second, TEXCOORD_1 UV map in glTF (contributions welcome!).  But supporting more than 9 in a single material seems quite unlikely, even if the spec allows it.
In the future, please ask questions like this on the forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for tracking bugs and planning new features. Thanks!


podman: 3.1.0 -> 3.1.1

Motivation for this change
https://github.com/containers/podman/releases/tag/v3.1.1
Things done

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

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

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

Result of nixpkgs-review pr 119684 at 961ce1e1 run on aarch64-linux 1

2 packages built successfully:

podman
podman-unwrapped

1 suggestion:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/applications/virtualization/podman/default.nix:29:5:
   |
29 |     ./remove-unconfigured-runtime-warn.patch
   |     ^


pip install fails

I've just tried to install pywinauto through pip on a clean install of Python 3.6, and there's an installer error - is it calling the right version of PyWin32?:
`C:\WINDOWS\system32>pip install pywinauto
Collecting pywinauto
Downloading pywinauto-0.6.0.zip (495kB)
100% |████████████████████████████████| 501kB 1.6MB/s
Collecting six (from pywinauto)
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting pypiwin32 (from pywinauto)
Downloading pypiwin32-219.zip (4.8MB)
100% |████████████████████████████████| 4.8MB 223kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Steronydh\AppData\Local\Temp\pip-build-pblukrc3\pypiwin32\setup.py", line 121
print "Building pywin32", pywin32_version
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Steronydh\AppData\Local\Temp\pip-build-pblukrc3\pypiwin32`

Trying to install it manually, I've found PyWin32-220.win32-py3.6.exe cannot find the Python installation (although it's definitely there!).
Running the installer through easy_install also fails:
....
Installed c:\python36\lib\site-packages\pywin32-220-py3.6-win32.egg
Processing dependencies for pywin32==220
Finished processing dependencies for pywin32==220
Traceback (most recent call last):
File "c:\python36\lib\shutil.py", line 381, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\Users\Steronydh\AppData\Local\Temp\easy_install-q7d6wmn9\pywin32-220-py3.6-win32.egg.tmp\mfc140u.dll'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\python36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Python36\Scripts\easy_install.exe_main.py", line 9, in
File "c:\python36\lib\site-packages\setuptools\command\easy_install.py", line 2265, in main
**kw
File "c:\python36\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\python36\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "c:\python36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "c:\python36\lib\site-packages\setuptools\command\easy_install.py", line 410, in run
self.easy_install(spec, not self.no_deps)
File "c:\python36\lib\site-packages\setuptools\command\easy_install.py", line 669, in easy_install
rmtree(tmpdir)
File "c:\python36\lib\site-packages\setuptools\command\easy_install.py", line 2227, in rmtree
return shutil.rmtree(path, ignore_errors, onerror)
File "c:\python36\lib\shutil.py", line 488, in rmtree
return _rmtree_unsafe(path, onerror)
File "c:\python36\lib\shutil.py", line 378, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "c:\python36\lib\shutil.py", line 383, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "c:\python36\lib\site-packages\setuptools\command\easy_install.py", line 1677, in auto_chmod
six.reraise(et, (ev[0], ev[1] + (" %s %s" % (func, arg))))
TypeError: 'PermissionError' object is not subscriptable

Hi!
I have also tried to install pywin in couple of Windows 10 machines and get this error also
"File "C:\Users\Steronydh\AppData\Local\Temp\pip-build-pblukrc3\pypiwin32\setup.py", line 121
print "Building pywin32", pywin32_version
^
SyntaxError: Missing parentheses in call to 'print'
Now I can't try this great module. I would like to test GUI automation with this and learn Python also.

Hi guys. Seems that pywin32 package for python 3.6 is not released yet. There are some tickets about it. See, for example: https://sourceforge.net/p/pywin32/bugs/734/

But there's a Python 3.6 installer available here! https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/

I can't install it nor with pip neither with conda install. At least on my conda. As a workaround you may try to install it manually. Notice though that this version of pywin32 is a bit newer.

Wow! It seems pypiwin32 package was updated with build 220 wheels for Python 3.6 today!
So pip install pywinauto worked for me on clean Python 3.6 32-bit.
@steronydh sorry for late response. Just went back from the holidays trip. Hope it should work for you now.

Thank you vasily. I have to try again, and start to learn automation with Python.

Thanks, @vasily-v-ryabov it installs perfectly! Now to try using it. :)

Working well so far!

I tried first to pip install it in cmd as admin, it did not work. Then I tried it in  a normal cmd, it did something but I had some error (many red lines), in the third pip install in a normal cmd it worked. (python 3.6)


More external reader refinements

Rename org.pkl.core.Readers -> org.pkl.core.Closeables
Remove coupling between pkl.core.module/resource and pkl.core.messaging

I'd love to rein in the cyclic package dependencies between messaging, externalreader, resource, and module.
Is there time for me to investigate?

I'd love to rein in the cyclic package dependencies between messaging, externalreader, resource, and module.
Is there time for me to investigate before the 0.27 release?

We are planning on doing a release on Monday. When you think you can get a PR in for this?

We are planning on doing a release on Monday. When you think you can get a PR in for this?

I can send a PR (or give up) by tonight. Probably makes sense to first merge this PR.

I can send a PR (or give up) by tonight. Probably makes sense to first merge this PR.

Sounds good!


Apply CodePair Design System using Material UI Sync Plugin

Description:
Currently, the CodePair design system is being managed in Figma.
We are planning to apply this design system using the Material UI Sync Plugin.
Why:
Enhancing the user experience and consistency by applying a well-structured design system using a recognized plugin.

This issue can be resolved after https://github.com/mui/mui-design-kits/issues/382.

Hi, @devleejb the plugin development is currently on hold, we recommend using it only for basic overwrites and manually modify when it's wrong.

The MUI figma sync puglin is currently on hold. So, we have to search other solution.


IPV6 mac resolution not working

Describe the bug
IPV6 mac resolution is not working.
To Reproduce
test@ubuntu:$ getmac --version
getmac 0.9.2
test@ubuntu:$ getmac -6 "fd89:6ddf:345a:0:1c32:f2a:c402:3a79"
test@ubuntu:$ ndisc6 "fd89:6ddf:345a:0:1c32:f2a:c402:3a79"  wlan0
Soliciting fd89:6ddf:345a:0:1c32:f2a:c402:3a79 (fd89:6ddf:345a:0:1c32:f2a:c402:3a79) on wlan0...
Target link-layer address: A8:51:AB:0F:36:14
from fe80::465:dbcf:6472:189c
test@ubuntu:$ python -m getmac -v -dddd  -6 "fd89:6ddf:345a:0:1c32:f2a:c402:3a79"
DEBUG    Attempting to populate ARP table with UDP packet to fd89:6ddf:345a:0:1c32:f2a:c402:3a79:55555
DEBUG    Initializing 'ip6' method cache (platform: 'linux')
DEBUG    27 methods available: CtypesHost, ArpingHost, ArpFile, SysIfaceFile, FcntlIface, UuidLanscan, GetmacExe, IpconfigExe, WmicExe, ArpExe, DarwinNetworksetupIface, ArpFreebsd, ArpOpenbsd, IfconfigWithIfaceArg, IfconfigEther, IfconfigOther, IpLinkIface, NetstatIface, IpNeighborShow, ArpVariousArgs, UuidArpGetNode, DefaultIfaceLinuxRouteFile, DefaultIfaceIpRoute, DefaultIfaceRouteCommand, DefaultIfaceRouteGetCommand, DefaultIfaceOpenBsd, DefaultIfaceFreeBsd
DEBUG    6 type-filtered methods for 'ip6': ArpFile, ArpFreebsd, ArpOpenbsd, IpNeighborShow, ArpVariousArgs, UuidArpGetNode
DEBUG    4 platform-filtered methods for 'linux' (method_type='ip6'): ArpFile, IpNeighborShow, ArpVariousArgs, UuidArpGetNode
DEBUG    4 tested methods for 'ip6': ArpFile, IpNeighborShow, ArpVariousArgs, UuidArpGetNode
DEBUG    Current method cache: {'ip4': 'None', 'ip6': 'ArpFile', 'iface': 'None', 'default_iface': 'None'}
DEBUG    Current fallback cache: {'ip4': '[]', 'ip6': '[<getmac.getmac.IpNeighborShow object at 0xffff8af51840>, <getmac.getmac.ArpVariousArgs object at 0xffff8af51810>, <getmac.getmac.UuidArpGetNode object at 0xffff8af517b0>]', 'iface': '[]', 'default_iface': '[]'}
DEBUG    Finished initializing 'ip6' method cache
DEBUG    Attempting get() (method='ArpFile', method_type='ip6', arg='fd89:6ddf:345a:0:1c32:f2a:c402:3a79')
DEBUG    Method 'ArpFile' failed for 'ip6' lookup
DEBUG    Raw MAC found: None
DEBUG    getmac took 0.0070 seconds
test@ubuntu:$ ip neighbor show   "fd89:6ddf:345a:0:1c32:f2a:c402:3a79"
fd89:6ddf:345a:0:1c32:f2a:c402:3a79 dev wlan0 lladdr a8:51:ab:0f:36:14 router STALE
Expected behavior
IPV6 mac resolution for link-local addresses.
Call  ip neighbor show   if arp file failed
OR
Call ndisc6 https://www.remlab.net/ndisc6/ to do the discovery.
System info
(please complete the following information):

Ubuntu 22.04.2 LTS
Python 3.10.6
getmac 0.9.2

Yup, this is definitely a bug. ARP is v4-only, not sure why I marked it as supporting both v4 and v6. Fix is inbound.

Give 0.9.3 a whirl. If it's still broken, please feel free to reopen the issue.


Does it have full support for Xbox One?

How can I automate testing for anything running on Xbox One?

This is something we're investigating but don't have anything to share at this time.  Thanks.

@alvipeo you can upvote the ask for xbox support here.  Thanks!
https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/17164127-enable-winappdriver-for-xbox-and-mobile

ok, done. is that enough? ;)

yeah, thanks


fix: (spelling) scafold -> scaffold

There has been a spelling mistake for quite some time in the code project, this pull request aims to resolve the spelling mistake so people can use proper English in their code without confusion.

Pull request will be in draft as I need to fix compiling errors. Bear with me.

This is unfortunately a breaking API change and should wait until a new major release is made. Changing it now will break every library or program that currently uses pathfinder and modifies the allowed list of blocks to use.


Restrict modification of work items based on a user or group not implemented

Hi,
Picture related to this topic is the same as the Azure DevOps Services, however, on Azure DevOps Server you can't set up a rule based on user or group as a conditional filter. In this way, this picture is misleading. Rule composition reference shows the correct information. See https://docs.microsoft.com/en-us/azure/devops/organizations/settings/work/custom-rules?view=azure-devops-2019#rule-composition.

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

ID: 6b9a3085-d952-f4ba-e7c5-88e8ea7b3b29
Version Independent ID: fb29b46c-3b07-ec11-f731-78c1371eef33
Content: Grant or restrict access to select features - Azure DevOps
Content Source: docs/organizations/security/restrict-access.md
Product: devops
Technology: devops-security
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@mekr - Thank you for the feedback. I am correcting the article as you have noted.


update GitHub templates with improved instructions & consistency

Q
A

content fix?
sort of?

New article?
no

Related issues?
n/a

What's in this Pull Request?

too many don't seem to understand how GitHub does checkbox lists, so added some docs
added "delete this paragraph" to parts that are
docs for submitting issues / PR's and made all blockquote to easier read
updated PR template to be consistent with Issue template

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.github/ISSUE_TEMPLATE.md
:white_check_mark:Succeeded

.github/PULL_REQUEST_TEMPLATE.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Good changes, which we also need to get ported to other repositories from the consistency perspective... but let's start with these. Thx.


hormone and protein branches

We have a branch for circulating hormone level that has many children that are also proteins but do not appear under circulating protein level.
Need to review:
Should hormone level just be moved under protein - are there hormones that are not proteins?
Related are all peptides proteins?

Spreadsheet of relevant terms https://docs.google.com/spreadsheets/d/1YI22ciV6igGRq-6anFxeIZcruUZDCQhbb72sB4AbAxY/edit?usp=sharing

Basically the child terms are a mix of peptides. polypeptides and other chemicals. Just leave the branches as is


"/usr/local/var/run/cc-oci-runtime/proxy.sock" is a bad default path

/var/run/cc-oci-runtime/proxy.sock should probably be the default path, there's no way non-development setups will end up in /usr/local.
Of course, an even better option would be to be able to specify this path when creating the proxy object.
Which reminds me, we may want to rename that path to /var/run/clear-containers or /var/run/clearcontainers.

This is merged already.


Fix IDE0003 warnings

Removed warnings for fields from the ruleset since some of us like this.xyz notation for fields.
Fixed all other cases for methods, props and events.

So @DaEgi01 you removed warnings and still butchered my modules :) I am moderately unhappy.

@kvakvs whaa what happened? where was the butchering?


[Refactor] Removed struct Colors

Closes #5956

5956

@eviltofu that's a PR, do you mean to refer to closing an issue instead?

@eviltofu see earlier feedback: https://github.com/AlphaWallet/alpha-wallet-ios/pull/6339#pullrequestreview-1299119974

@eviltofu see earlier feedback: #6339 (review)

I don't know how to explain it simpler than Removes empty stub struct Colors { } or do you mean the title?

Use this for the commit message and PR:

Remove code that is no longer needed

The "why" is explained by "no longer needed".

@hboon Do I need to make more changes?


Adam implement details about tf.train.Adamoptimizer

Hello，recent days I want to implement a Adam optimizer to compare with the tf.train.Adamoptimizer ,I use the formula mentioned in A DAM : A M ETHOD FOR S TOCHASTIC O PTIMIZATION,(the end of the section 2), but when I use the optimizer to train language model, I found the update speed of trainable variables using original Adamoptimer is more fast than mine. I just wonder the implement details about the tf.train.Adamoptimizer , is there any improvement , or any other revised manners ? If you have some advice ,please !!!!

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


improvements/fixes in RawSILInstLowering and MemoryLifetimeVerifier

refactoring: Split MemoryLifetime.cpp/h into three separate files and rename MemoryDataflow -> BitDataflow.

MemoryLifetime contained MemoryLocations, MemoryDataflow and the MemoryLifetimeVerifier. Three independent things, for which it makes sense to have them in three separated files.

RawSILInstLowering: delete dead load instructions when lowering assign_by_wrapper

If only the init-closure is used and the setter-closure is dead, the argument to the setter partial_apply also needs to be delete - in case it's a load. Otherwise it would cause a memory lifetime failure.

MemoryLifetimeVerifier: fix the check for "empty" types.

MemoryLifetimeVerifier: also verify locations with trivial types.

@swift-ci test

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - 225dc7055b1598137dc1be45c6eb54c89e14e8bd

@swift-ci test macOS

@swift-ci test

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - b33f12b9e526b10eac5852029b028e238bbe016c

Build failed
Swift Test Linux Platform
Git Sha - b33f12b9e526b10eac5852029b028e238bbe016c

Build failed
Swift Test OS X Platform
Git Sha - b33f12b9e526b10eac5852029b028e238bbe016c

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - b33f12b9e526b10eac5852029b028e238bbe016c

Build failed
Swift Test OS X Platform
Git Sha - b33f12b9e526b10eac5852029b028e238bbe016c

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - b9c8e57d7a9a8584cca75cd9753ee3a8d6218322

@swift-ci smoke test macOS


[release-v1.7] Add new file permanently to config folder

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>The release-v1.7 branch was created BEFORE we corrected the patch for the new file in config/, done in:
https://github.com/openshift/knative-eventing/pull/1931/files
Before that patch the file was there, but not checked in / added, and hence a make RELEASE... removes the content from our artifacts, since it is not there

should we cherry pick this to release-v1.8?

/cherry-pick release-v1.8


Do not print the effective log level during normal use.

I noticed the log level was printed during use and without the verbose flag. It looks like a debugging leftover, so I decided to remove it. If intentional, feel free to close this PR.

Nice, thank you!


improvement of errors logging

Hi, I've improved the errors by adding a stack to them (change from "fmt" to "github.com/pkg/errors") and introduced one custom error type in the place where I found it useful. I also didn't want to add to verbose code. Please take a look and let me know if I can improve something.

Hi @katarzynakawala, Thanks for taking out time and doing this contribution. Also, both checks are failing, can please look into that. The lint check can be resolved by just running gofmt -s -w .. Can you confirm whether yast is building locally and all the tests using go test in tests folder are passing. I will review the code thoroughly in the morning.

thanks for the tips, I will work on it today evening as I realized that it logs stack to the terminal, which is definitely not helpful for the user. But it is a tricky one as I wanted to avoid logging and returning errors. As they should be handled only once according to good practices. Will have a thought.


needextract rendering is broken for child needs

For a need SOME_NEED which has a child need, this code
   .. needextract::
      :filter: id in ['SOME_NEED']

Doesn't render the child need correctly. Only the text of the child need is displayed, but not as a need.

Thanks for reporting.
In the last days I have wrapped my head around this, as problems occur already on concept/architecture level.
We can not simply render a child need again, as this would create a copy and then we have 2 identical needs with the same id.
So for needs, created via needextract there must be a solution to manipulate the rst-content and replace each child-need with a specific needextract for the need-id. Not sure if this is possible and will work in all cases.
Example:
Source of needs

.. req:: Test requirement
   :id: REQ_1

   Another, child requirement

   .. req:: Child requirement
     :id: REQ_1.1

      awesome child req.

   Some parent text

Extract of needs

.. needextract::
   :filter: id == "REQ_1"

Needed replacement for content of REQ_1
Another, child requirement

.. needextract::
   :filter: id == "REQ_1.1"

Some parent text

The problem with the not correct rendering is because of sphinx event system and the order, how directives gets resolved.
At first all needs get handled, then all other directives like needextract.
So if needextract introduces a new need, then this gets not handled, as the needed function does not get called again by sphinx.
I hope this gets fixed as well, when we replace a child-need with a needextract.
I will need some time to make some tests...

Any updates on this?

No, I'm not happy with my solution from above and I have the fealing that it would be very unstable, as I see a lot of corner cases.
But I have no better idea....

The solution in #525 seems to work really well and I was so wrong with my above analysis.


Add benchmark artifacts to .gitignore

I'm not very familiar with the policy on what we want to include in .gitignore. This seems fine to me, but I'd like to let @GMNGeoffrey or @ScottTodd make the final decision.
To provide a little more context: These are the local files we create when following the examples in the benchmark suites doc https://github.com/openxla/iree/blob/main/docs/developers/developing_iree/benchmark_suites.md#run-benchmarks

Additions to .gitignore are fine, but it might make more sense to have the scripts write files into another directory (e.g. the build directory or a system temp directory). Writing files into the source directory in general can get messy.

@pzread maybe putting them both in "${IREE_BUILD_DIR?}/e2e_test_artifacts" would be appropriate?

SGTM

SG – merging this with #13141.


Update sum.sh

Forgot to update this.
The 100 was for debugging purposes on my system to make the loop faster.

Thank you for your pull requests fixing all those bugs for the reason that I am not familiar with those languages.


Mouse doesn't work in Arch Linux

The mouse is said to work in the sidebar, but does not work at all in Xorg

You're probably missing a kernel module


Fixed #35700 -- Added AlterModelTable and AlterModelTableComment reductions.

Trac ticket number
ticket-35700
Branch description
Improve migration optimization for both of these operation types. I reported only AlterModelTable in the ticket but spotted AlterModelTableComment was missing when implementing, so I went ahead and added both at once.
Edit: I also checked that CreateModel.reduce() handles all other model operations, it seems so.
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[x] I have added or updated relevant tests.
[x] I have added or updated relevant docs, including release notes if applicable.
[x] I have attached screenshots in both light and dark modes for any UI changes.

Good idea! Perhaps we could even adopt copy.replace() from Python 3.13+, with a backport shim? I might give it a go after this is merged.


Optimize copy / assignment and size of json iterator

[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.]

Pull request checklist
Read the Contribution Guidelines for detailed information.

[ ]  Changes are described in the pull request, or an existing issue is referenced.
[ ]  The test suite compiles and runs without error.
[ ]  Code coverage is 100%. Test cases can be added by editing the test suite.
[ ]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

100 of 100 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 98.629%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
5655

Relevant Lines:
5655

💛  - Coveralls


Fix package.json

angular-base64 is a dependency. Remove grunt* modules as dependencies and set them as devDependencies. This is an effort to be able to install both this api-client and a related package as node modules as well as bower packages.

Fixed bac7334ab0f3120b58281ded1d441b2150177503


Setup and primary script will not execute

I am trying to use antidote on my account at work and I get the following errors after executing the shell:
/home/afore/.local/antidote/antidote.zsh:11: command not found: __antidote_setup
/home/afore/.zshrc:40: command not found: antidote

The section of my .zshrc file loading antidote is:
# source antidote
source $HOME/.local/antidote/antidote.zsh

# initialize plugins statically with ${ZDOTDIR:-~}/.zsh_plugins.txt
antidote load

Here is my path:
[afore@scooby4]~% echo $PATH
/opt/rh/rh-git29/root/usr/bin:/usr/local/scripts:/home/afore/local/bin:/home/afore/.local/bin:/usr/local/bin:/usr/bin:/home/afore/bin:/usr/local/sbin:/usr/sbin

Hey @andyfore. Thanks for using antidote. I'm not sure exactly how, but my best guess at what's happening is that your antidote install isn't correct somehow or has gotten messed up. Have you tried removing and cloning again?
rm -rf -- $HOME/.local/antidote
git clone --depth=1 https://github.com/mattmc3/antidote.git $HOME/.local/antidote

If you aren't comfortable with removing (rm), you could change that line to make a backup instead mv  $HOME/.local/antidote  $HOME/.local/antidote.bak. Then reload zsh.

Here is my path:

antidote is implemented as a Zsh function, so your path won't matter in successfully running antidote.
Let me know if this helps.

No dice.  I even downloaded the archive of the repo instead of using git to clone it.  I still get the same error.  When I turn on verbose debugging of zsh and source my rc file, I can see that the correct directory is being found for the script:
# source antidote
source $HOME/.local/antidote/antidote.zsh
+.zshrc:37> source /home/afore/.local/antidote/antidote.zsh
# shell prereq
if test -z "$ZSH_VERSION"; then
  shellname=$(ps -p $$ -oargs= | awk 'NR=1{print $1}')
  echo >&2 "antidote: Expecting zsh. Found '$shellname'."
  return 1
fi
+/home/afore/.local/antidote/antidote.zsh:2> test -z 5.0.2

if ! typeset -f __antidote_setup &>/dev/null; then
  autoload -Uz ${0:A:h}/functions/__antidote_setup
fi
+/home/afore/.local/antidote/antidote.zsh:8> typeset -f __antidote_setup
+/home/afore/.local/antidote/antidote.zsh:9> autoload -Uz /home/afore/.local/antidote/functions/__antidote_setup
__antidote_setup
+/home/afore/.local/antidote/antidote.zsh:11> __antidote_setup
/home/afore/.local/antidote/antidote.zsh:11: command not found: __antidote_setup

Thank you for this report. It was a tough bug to track down, but I think I've got it. I'll test a bit more, but then cut the 1.9.0 release with the fix.

I got the same error on a RHEL 7 system, looking at the code I understand that it is because my ZSH version is too old, but at no point did I get the message from __antidote_setup
"antidote: Unsupported Zsh version '$ZSH_VERSION'. Expecting Zsh >5.4.2.", I get the same output as https://github.com/mattmc3/antidote/issues/138#issuecomment-1614712660
I can open a new issue for that if necessary

I've added an earlier Zsh version check for the upcoming 1.9.1 release to address this.