Could not resolve type id 'http' into a subtype of [simple type, class io.dropwizard.jetty.ConnectorFactory]: known type ids = [ConnectorFactory]

I am using the gradle to build the Dropwizard Application, it works fine until I run it.
My build.gradle is here:
apply plugin: 'java'
apply plugin: 'application'

project.ext {
    title = 'DWSample'
    baseName = 'DWSample'
    mainClass = 'com.hjess.dwsample.MainApp'
    version = '1.0.0'
}

task copyData(type:Copy) {
    from 'src/main/conf'
    into 'build/libs'
}

task release(type: Jar, dependsOn: 'copyData') {
    manifest {
        attributes 'Implementation-Title': project.ext.title,
                'Implementation-Version': project.ext.version,
                'Main-Class': project.ext.mainClass
    }
    baseName = project.ext.baseName + project.ext.version
    from {
        configurations.compile.collect {
            it.isDirectory() ? it : zipTree(it)
        }
    }
    with jar
}
repositories {
    mavenCentral()
}
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile group: 'io.dropwizard', name: 'dropwizard-core', version: '1.1.4'
}
tasks.withType(JavaCompile) {
    options.encoding = "UTF-8"
}

My yaml:
server:
  applicationConnectors:
    - type: http
      port: 8080

the release task can build a fatJar, then I run it, got an error:
E:\DWSample\server\build\libs>java -jar DWSample1.0.0.jar server main.yaml
main.yaml has an error:
  * Failed to parse configuration at: server.applicationConnectors.[0]; Could not resolve type id 'http' into a subtype of [simple type, class io.dropwizard.jetty.ConnectorFactory]: known type ids = [ConnectorFactory]
 at [Source: N/A; line: -1, column: -1] (through reference chain: com.hjess.dwsample.MainConf["server"]->io.dropwizard.server.DefaultServerFactory["applicationConnectors"]->java.util.ArrayList[0])

BTW, It works fine on Dropwizard 0.9.2 but got this error on v1.1.4

Your YAML file is hard to read. Is really everything written on one line? Could you please edit your question so that code/configuration is displayed as it is in your files?

@WeJoy You have to properly create an Uber-JAR and merge service files.
Also see http://www.dropwizard.io/1.1.4/docs/getting-started.html#building-fat-jars
There's the Gradle Shadow plugin which can be used for this.

Well, the problem is solved by using https://github.com/johnrengelman/shadow, Thanks for help!
Codes here
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
    }
}

apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'

project.ext {
    baseName = 'DWSample'
    mainClass = 'com.hjess.dwsample.MainApp'
    version = '1.0.0'
    classifier = 'release'
}

shadowJar {
    mergeServiceFiles()
    mainClassName = project.ext.mainClass
    baseName = project.ext.baseName
    classifier = project.ext.classifier
    version =  project.ext.version
}

task release(type: Copy, dependsOn: 'shadowJar') {
    from 'src/main/conf'
    into 'build/libs'
}

repositories {
    mavenCentral()
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    def dwVersion = '1.1.4'
    compile group: 'io.dropwizard', name: 'dropwizard-core', version: dwVersion
}

tasks.withType(JavaCompile) {
    options.encoding = "UTF-8"
}

I'm using dropwizard 0.9.2 and facing this issue. I've been successfully running my application without using any shadow plugin.  But suddenly it stopped working and I face the same issue while trying the run the jar file.
Running jar : java -jar ProjectName-1.0-SNAPSHOT.jar server  configuration.yml
Here's my gradle file
group 'myGroup'
version '1.0-SNAPSHOT'

apply plugin: 'groovy'
apply plugin: 'java'

sourceCompatibility = 1.8

repositories {
    maven { url 'http://myArtifactory/jcenter' }
}

dependencies {
    compile 'org.codehaus.groovy:groovy-all:2.3.11'
    compile 'io.dropwizard:dropwizard-core:0.9.2'
    compile "org.glassfish.jersey.core:jersey-client:2.21"
    compile group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version: '2.22.2'
    compile group: 'org.json', name: 'json', version: '20090211'
    compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
    compile group: 'org.mongodb', name: 'mongo-java-driver', version: '2.10.1'

    testCompile group: 'junit', name: 'junit', version: '4.12'
}

task fatJar(type: Jar) {

    manifest {
        attributes 'Implementation-Title': 'ProjectName',
                'Implementation-Version': version,
                'Main-Class': 'mypackage.DropWizardApplication'
    }
    baseName = project.name
    from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
    with jar
}

0.9.2 is good without shadowJar, any version above is not.

Any ideas appreciated
Using 1.3.5  shadowjar/gradle and I'm getting  (getting the same thing when I use gradle jar alone)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.fasterxml.jackson.module.afterburner.util.MyClassLoader (file:/Users/xxxx/git/myfitnesspal/build/libs/myfitnesspal-1.0-SNAPSHOT-all.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.module.afterburner.util.MyClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
io.dropwizard.configuration.ConfigurationParsingException: out/production/resources/mypal.yaml has an error:

Failed to parse configuration at: server.applicationConnectors.[0]; Could not resolve type id 'http' as a subtype of [simple type, class io.dropwizard.jetty.ConnectorFactory]: known type ids = [] (for POJO property 'applicationConnectors')
at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: org.xxx.myfitnesspal.config.MyFitnessPalConfiguration["server"]->io.dropwizard.server.DefaultServerFactory["applicationConnectors"]->java.util.ArrayList[0])

with config snippet:
server:
softNofileLimit: 1000
hardNofileLimit: 1000
applicationConnectors:
- type: http
port: 8080


Pointers' deallocation responsability

Running valgrind on test that encounter failures revealed some double-free.
One example concerns the sourceuri attribute of mal_updateheader. In test/malzmq_pubsub_app/src/pubsub_app_mypublisher.c this attribute is provided from mal_endpoint. Thus, the effective char arry is owned both by mal_updateheader and mal_endpoint and when they both deallocate the pointer, unpredictable behaviour occurs.
MAL/C has to decide a logic for such situation.
Does the *_set_* method transfer the responsibility to the callee object or does it remains to the caller, in which case the callee has to duplicate the received object ?

Just because:

memory should be carefully deallocated
it should be possible to provide const object that cannot be deallocated
then I feel the most sustainable approach is to systematically clone all received objects.

The MAL/C logic means that the responsibility for the deallocation belongs to the containing object. In order to avoid useless copies, the get methods do not duplicate the elements they return. So if these elements are used by a set method, it is the user's responsibility to explicitly duplicate these elements.
In order to facilitate the detection of possible issues by the compiler the use of const objects on the get methods will be generalized.

The use of const qualifier is not easy. For example, in the description of this issue the returned URI is often used to initialize the uri_from field of a MAL message. To avoid too many recopies the message object allows to specify if this URI is his responsibility. The use of the qualifier const would destroy this optimization.
As a result, the signature of the get methods will evolve but not systematically.


How to reset MathJax instance welly both V2 and V3

Issue Summary
I need to reset MathJax instance in order to re-render the page with same instance, however I tried lot ways, it always ends up some issues.
For version 2, I use this workaround to do the reset job:
<script src="//cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_CHTML"></script>

MathJax.Hub.Queue(
  ['PreProcess', MathJax.Hub],
  ['resetEquationNumbers', MathJax.InputJax.TeX],
  ['PreProcess', MathJax.Hub],
  ['Reprocess', MathJax.Hub]
);

It works fine for re-rendering page, but sometimes I will get:
Uncaught Error: Can't make callback from given data
    USING http://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_CHTML:19
    Push http://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_CHTML:19
    Queue http://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_CHTML:19

Related to issue#2935
For version 3, already tried following reset functions:
MathJax.startup.document.state();
MathJax.texReset();
MathJax.typesetClear()

But it will end up to:
Label 'eq:m1' multiply defined

For the temporary workaround, I can re-render labels without getting any error by:
<script<EMAIL_ADDRESS>
MathJax.startup.output.clearCache();
MathJax.startup.getComponents();

If this will be ok?
But if I change to use svg on Chrome 105(without change anything else):
<script<EMAIL_ADDRESS>
Will always get:
tex-mml-svg.js:formatted:39500 Error: MathJax retry
    at e.retryAfter (tex-mml-svg.js:formatted:41256:25)
    at L (tex-mml-svg.js:formatted:20310:110)
    at c (tex-mml-svg.js:formatted:16727:31)
    at e.parse (tex-mml-svg.js:formatted:14673:31)
    at t.parse (tex-mml-svg.js:formatted:12635:50)
    at t.parse (tex-mml-svg.js:formatted:15329:63)
    at t.controlSequence (tex-mml-svg.js:formatted:13186:23)
    at t.parse (tex-mml-svg.js:formatted:14507:39)
    at t.parse (tex-mml-svg.js:formatted:12635:50)
    at t.parse (tex-mml-svg.js:formatted:15329:63)

Steps to Reproduce:

Clone docsify-latex, enter into repo folder
Modify docs/index.md with following text:

When $a \ne 0$, there are two solutions to $ax^2 + bx + c = 0$ and they are $\ref{eq:m1}$

$$
x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\tag{M1}\label{eq:m1}
$$

This equation $\eqref{eq:m1}$ is very important.

Click to switch to /#/example page, then switch back to /#/
Start the server to review via:

cd docs && python -m SimpleHTTPServer 3000

or
npm i docsify-cli -g
docsify serve docs

You can see the result

For version 2:

Replace MathJax v3 script to v2, do same steps as v3.

Technical details:

MathJax Version: 2,7.9, 3.2.2
Client OS: Windows 10
Browser: Firefox

Supporting information:
Check this commit:
https://github.com/scruel/docsify-latex/commit/136fe8c5950543107644281fdc4577c47aa7cd96#diff-ee52eacc98a34424ac3b8149882469d47619cc1e6c05e00d86bbba97c11d714d

I am not able to reproduce the errors you are seeing in either version 2 or version 3.  The page renders fine after switching to the example and back.
The MathJax.texReset() command should reset the labels, but perhaps there is a timing issue with when you are calling this, or that your typesetting code is being called more than once.  I don't know how docsify works, and don' have the time to work that out myself.
The issue you are having with the callbacks in v2 is probably the one I mentioned in one of your other issues where the v2 configuration hasn't been loaded when your code tries to use MathJax.InputJax.TeX.
I'm not sure why you are doing the preprocessing twice.  In fact, I'm not sure why you don't just to a single
MathJax.Hub.Queue(['Typeset', MathJax.Hub]);

call.
So I'm not sure what to tell you, here, as I can't reproduce the issue you seem to be having.

I'm not sure why you are doing the preprocessing twice
Need to parse the numbers of equations in the page

I am not able to reproduce the errors
Might I already fixed some issues after I published this issue, I will leave more comments about how to reproduce remain issues to save ours time.

I'm not sure why you are doing the preprocessing twice
I don't know either why I did that x), and the following code works fine:

MathJax.Hub.Queue(
  ['resetEquationNumbers', MathJax.InputJax.TeX],
  ['PreProcess', MathJax.Hub],
  ['Reprocess', MathJax.Hub]
);

I'm not sure why you don't just to a single call.
Because docsify limited plugins' behavior, see https://github.com/mathjax/MathJax/issues/2926, I have to queue and escape the content to prevent the escaping by docsify, which will cause \$ $x$ to $ $x$, which will produce the wrong result.

Hi all, just curious, do we have any updates on this issue? I'm also getting the
tex-chtml.js:1 Uncaught Error: MathJax retry

issue.


Scene Inventory: Add subsetGroup column

Brief description
This adds a subsetGroup column to the Scene Inventory / Manager.
Description
We tend to group publishes in the Loader (shortcut: ctrl + g) to sometimes label things as "extras" or even group them to be "deprecated".
By showing the column in the Manager this is now also much easier to trace to that information.

Additional info
Code might be a bit messy - so please double check.
The "icon" for the group is the default group icon. Originally in Avalon groups could be configured on the project to allow custom icons per groups, etc. but that's currently not supported in OpenPype as far as I know. Thus I had chosen for now to just hardcode the icon.
This would be extra useful as soon as better UX for filtering is added to tools - then we could also filter by subset group, etc.
Testing notes:

Load some content with and without subset groups.
Check the scene inventory

@mkolar How about solely updating the header column's name but keeping it the same in the code? :) Somehow I feel subsetGroup keeps it linked to the original data attribute name and describes what it is exactly. Or do you feel group is clear enough and one should now that these relate to the subset instead of the version or representation?

@mkolar are you ok with current state?


Fix Bigtable to work with GrpcChannelOptions

(This is a reminder for myself, more than anything else.)
Currently in GAX, GcpCallInvokerPool accepts an IEnumerable<ChannelOption> rather than a single GrpcChannelOptions - which is somewhat reasonable, as it's Grpc.Core-specific. But we don't have any public way of converting from a GrpcChannelOptions to a List<ChannelOption>.
Gax.Grpc.Gcp can't have access to the code in Gax.Grpc, because that's internal... we may want an additional project for this. It's all somewhat tricksy. We need to work this out soon.

I think I'd expect Spanner to have a similar problem. I thought we were using Gax.Grpc.Gcp for that as well, but I may be wrong.

The GAX side of this is fixed in https://github.com/googleapis/gax-dotnet/pull/392

Fixed in #4267.


Add ember.js README to autodocs.json

For Ember, we're going to want to build a doc parser that handles all of their docs. I'm working on that parser, which should cover a lot of the really large libraries.
I think the most important libraries we can add now are those who have their full APIs declared in a Github readme, or Github Wiki.

Okay, perfect mate. :+1:


Transparency variable in ViewInfo/Entity

Sometimes it is needed to draw something more transparent. Plasma gas for example #342

OpenGL implementation:
glColor4f(1, 1, 1, 0.5);
glBindTexture(GL_TEXTURE_2D, sprite[imageH][imageW]);


Add support for redirects.

 Mainly I just edited things until the flake8 built into my editor stopped yelling.
I'll add some comments in the code about specific changes I made.
PS: The unified diff for this ended up not being very helpful. You'll probably want to look at it with the split diff.

Looks good :thumbsup: Gonna merge it now :)


Add Frontmatter option to exclude page from flexsearch indexing

Is your feature request related to a problem? Please describe.
FlexSearch currently indexes sites based on the presence of a title. Excluding a site requires removing its title, which breaks the breadcrumb navigation.
Describe the solution you'd like
Introduce a "searchExclude" frontmatter option to prevent specific sites from appearing in search results.
Describe alternatives you've considered
Open to suggestions for other methods to exclude sites from search results.
Additional context
Need to exclude large legal texts like privacy policies and imprints, which are frequently indexed but should not be displayed at all.

The feature has been added to v0.21.8. You can set searchExclude = false in the frontmatter to exclude an individual page from the search index. You may need to restart your hugo server and refresh your browser to ensure the JavaScript file is loaded correctly.

Wow, thank you for your quick implementation. However, I've come across a bug related to the file structure which includes: content/a.md, content/b.md, and content/c.md. I can exclude a.md and b.md from search results using "searchExclude: true", but I cannot do the same for c.md. The issue seems to hinge on the alphabetical ordering of files and how the flexsearch module uses .add to index pages. Specifically, if the last page in alphabetical order has "searchExclude: true" set, it results in incorrect JavaScript code generation. This issue affects the search functionality across the entire site, including subfolders like content/posts. I was able to reproduce this bug using different filenames and after each change, I restarted the server and cleared the browser cache/reloaded the page.

You're right - I adjusted the list filtering to fix this. I released a new version v0.21.9, hopefully everything works as expected now?

Now works as expected. Thanks!


Improve handling of multilib packages in yum_package

Description

When yum_package is used to install a package, and there is already a package with the same name but different architecture installed on the system, and the package version that yum_package chooses for the new package is different than the version of the already installed package, the yum command generates an multilib version error and chef-client aborts.  This PR makes two behavioral changes that help prevent yum_package from triggering errors regarding multilib version conflicts when calling out to yum in this situation.

When yum_package searches for candidates to satisfy an :install action that has no version constraints, it tries to install the latest version of the package available.  The first part of this PR makes yum_package prefer those candidates with versions that match any installed packages that have the same name (but different architectures).

When yum_package is handling packages in the same :install action (i.e. yum_package [ 'pkg.arch1', 'pkg.arch2', 'other-packages...' ]), yum_package only passes those packages that are not installed on the system to yum for installation.  The second part of this PR identifies when the version chosen for the new package is incompatible with the version of the installed package and instructs yum to install both packages in this case.  When told to install both packages, yum responds by updating the installed package to the same version as the new package being installed, avoiding a conflict.

There is an edge case where if a user sets protected_multilib=0 in their YUM configuration, yum will install different versions of multilib packages without generating an error.  The yum documentation discourages this configuration wherever protected_multilib is discussed.  If a user has this configuration, the first part of this PR will detect it and resort to always choosing the most recent version of installation candidates.  The second part of this PR, however, does not have visibility into the YUM configuration; it will sill update an installed package to maintain version consistency with new packages being installed when both packages are defined in the resource's package list.
Related Issue

Resolves #10485
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

This PR is not yet ready to merge.  I am creating it show work done on #10485, and to facilitate discussion.

@karmix - you still planning on updating this?

Things to think about (notes really for me in this issue post hashing this out for an hour):
If "foo.x86_64" and "foo.i686" have versions 1.0, 2.0 and 3.0 and "bar" depends on "foo.i686 < 3.0" and foo-1.0.i686" is installed then 3.0 is unsolvable, while advancing both to 2.0 is possible, and installing only "foo-1.0.x86_64" should hopefully always be possible.
I also want to validate what happens if we simply don't add the candidate version to the yum command if the new_resource.version is nil since that would presumably leave it up to yum install as to how it wants to do its depsolving.  Phil mentioned this may fail before something like rhel 7.3.
I am fairly worried that we may wind up going down the route of needing to write a depsolver in the package provider and want to avoid something like that.
The problem that we have right now at its most abstract level is that the candidate_version we are returning is just the latest one that we can install, we get no information on if that solves against the current set of installed RPMs.  Stated that way the right thing to do feels more like we need to ask the python API not for the latest version but for the latest version which can be installed against the set of RPMs.  That shouldn't require any surgery to the superclass (and would also make it work the way that Phil wants which is to not upgrade the existing installed version of the alternative RPM).
The problem with that solution however is if we're doing a multipackage upgrade of both arches then we need to let the to-be-installed RPMs float when we solve for each individual RPMs candidate_version.  So the python API would have to get a list of all the packages being installed/upgraded along with their requested version pins when asking for each candidate_version.   It may be better at that point to do one request to solve the whole solution.
The :upgrade case should also carefully be considered, we can't just solve the :install case.
I don't like extracting the whole target_version API into a method and then subclassing and calling super on the entire mess.  That should get inverted and the main loop should have a hook added which is normally empty (or false or nil or something suitable like that) which is then overridden by the subclass.  The subclass should never be overriding the main behavior there, that is creating an inheritence mess making it even more difficult to work on the superclass and opens up violating Lisikov Substitution.
And the definition of done needs to include tests, and they need to cover pretty much all those use cases.  So that means we need multiarch library mock packages added to the integration tests, we need to have install, upgrade and downgrade tests written which exercise the use cases where the version is either pinned or floating and the alternative package is installed at different versions.
And given how complicated all this is already, I'm not sure how much I honestly care about the "protected_multilib=0" case.  At a certain point I'm okay with people having to write an execute resource with an rpm -q guard.  Yeah, actually that's the correct answer there, its okay for the yum_package provider to not handle literally every single use case generated by arbitrarily complicated and officially discouraged configuration.

Another bit of horribleness to consider is the case where the installed secondary arch version is on a version which is not available for the arch which is being requested.  So 'foo-1.0.i686' was installed on an image a long time ago, that is brought up and we want to install 'foo.x86_64' but the only available version is 2.0 and 1.0 of both library versions has been removed from mirrors.  This is the use case which leans me more towards the side where if 'foo.x86_64' is not installed, then it should be installed to the latest version, with upgrades of any other dependencies being allowed.

Testing on RHEL8 I'm not fairly confused because it seems to work:
With libtevent-0.9.39-2.el8.x86_64 installed running:
yum install libtevent.i686

Results ultimately in the 32-bit version being installed to the latest version without the 64-bit version being upgraded, although yum upgrades the glibc in the process:
Upgraded:
  glibc-2.28-101.el8.x86_64               glibc-common-2.28-101.el8.x86_64               glibc-langpack-en-2.28-101.el8.x86_64               libtalloc-2.2.0-7.el8.x86_64

Installed:
  glibc-2.28-101.el8.i686                    libtalloc-2.2.0-7.el8.i686                    libtevent-0.10.0-2.el8.i686                    libxcrypt-4.1.1-4.el8.i686

Complete!

# rpm -qa | egrep libtevent
libtevent-0.9.39-2.el8.x86_64
libtevent-0.10.0-2.el8.i686

The RHEL8 DNF docs on the yum-to-dnf-compatibility chart list protected_multilib as "removed"
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/considerations_in_adopting_rhel_8/software-management_considerations-in-adopting-rhel-8

That suggests to me that while YUM docs may discourage that setting that it seems DNF has abandoned that viewpoint.
This now seems a lot to me like the allow_downgrade problem as well and there's an easy solution which is to set protected_multilib=0
Amusingly enough I find this problem referenced on this "The tar pit of Red Hat overcomplexity" page:
http://www.softpanorama.org/Commercial_linuxes/RHEL/index.shtml#Pretty_convoluted_RPM_packaging_system_which_creates_problems

Oh, that makes more sense.  RHEL 8 uses dnf, and it looks like dnf dropped this multilib mess long ago (https://github.com/rpm-software-management/dnf/commit/f7dd24e10fdc6d1edc7b0924af0201dfb114223b).  This issue only exists on systems that still use yum.  dnf packages are handled by the dnf provider, which has its own helper.  I don't believe these changes should affect the behavior of the dnf provider in any way.

Yeah, chef handling every single edge case to provide a yummy perfect abstraction over all the package providers sounds good in principle, but in practice that is terrible software design.  The allow_downgrade mess is a testament to that.  The code here is going to have to be maintained and adds complexity to something which is already nuclear-reactor-grade complicated.  The solution of protected_multilib=0 is vastly simpler and makes that exception just go away.  I don't normally like to tell people how to run their infrastructure, but this is one time where I think its more than worth it.  It looks like RedHat already jettisoned that concept into the Sun, so that's the best solution for everyone.


laanna

@AntoCrasher First stage of verification passed, official domain is lannaist.ac.th as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@AntoCrasher Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Feature/rendering policy impl

@kaishh @pshirshov do you also have any suggestion for margins, pads, truncating (i.e. Python syntax [:1])


Fixed bugs based on UX feedbacks

Please check SCRD-2138 for details.

Please apply submit this as a pull request into the new repo at ArdanaCLM/ardana-installer-ui


New alt-bans for logged on players don't kick

Accounts A and B are pearled. The player logs in C. The new alt list is passed to PrisonPearl, which decides that C should be alt banned. C is never kicked from the server though. C eventually logs off and attempts to log back in a few minutes later and is properly prevented from logging in by the alt-ban.
We need to figure out why new alt-bans don't cause an active player to be kicked.

Does pp report that x players were now banned.

Relevant log entries from the player's session.
00:00:00 [INFO] XYZ[/z.z.z.z:zzzz] logged in
00:00:01 [INFO] [PrisonPearl] banning XYZ for having N imprisoned alts
00:00:01 [INFO] [PrisonPearl] XYZ still banned for having N imprisoned alts
00:01:20 [INFO] XYZ lost connection: Disconnected

Added log lines for their next login up in the previous comment.

@erocs With the new namelayer can you see if this changes.

Status on this?

This should be fixed once prisonpearl integrates Civcraft/CBanManagement

not sure if this got fixed, it must at least take effect on restart.

From first hand experience I can confirm that this works, so I'll close it.


Generating a library produces wrong destination directory in prod

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Area
- [ ] devkit
- [x] schematics

Versions

npm: 6.0.0
node: 8.11.2
Windows: 10
Repro steps
I am using v6.0.7 of the CLI, when a library is e.g. ng generate library button, the generated ng-package.prod.json has the path "../../dist/lib" for the dest path instead of the library name
{
  "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
  "dest": "../../dist/lib",
  "lib": {
    "entryFile": "src/public_api.ts"
  }
}

Generate library
Desired functionality

Should use library's name
{
  "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
  "dest": "../../dist/${libraryName}",
  "lib": {
    "entryFile": "src/public_api.ts"
  }
}

Mention any other details that might be useful

What versions of packages are you using? I am using the ~0.7.0-beta.2 and when doing
ng generate library button

the dest option is populated correctly as expected ie
  "dest": "../../dist/button",

@alan-agius4 It happened after I updated CLI to 6.0.7
"@angular-devkit/build-angular": "~0.6.0",
"@angular-devkit/build-ng-packagr": "~0.6.0",
"@angular/cli": "^6.0.7",
"@angular/compiler-cli": "^6.0.0",
"@angular/language-service": "^6.0.0",

This has since been fixed and will be included in the next release.


UI/Qt+WebDriver: Add a --use-default-settings option

This option makes the browser UI ignore any previous user settings and use its defaults. If any settings are changed, they are not saved on exit.
Setting this flag is useful when running WPT tests, as it ensures the tests run in a consistent environment.

wouldn't it be better to add something like --use-wpt-mode that will ensure browser has settings assumed by WPT, instead of assuming defaults will work as expected?

I'm not sure this PR is 100% necessary for running WPT tests reliably now that I have a separate PR (#651) to set the viewport size correctly. I think it would be useful to have an option to override the default settings with settings from a .ini file or similar. Doing this for the Qt chrome is straightforward, but a mechanism that would work for both Qt and AppKit would be non-trivial.
I'm going to close this for now, but I'd be happy to revisit this in the future.


Migrate some guava Function usages to jdk Function

See commit messages

Codecov Report

Merging #5221 into master will decrease coverage by 0.06%.
The diff coverage is 84%.

@@             Coverage Diff             @@
##             master   #5221      +/-   ##
===========================================
- Coverage     82.56%   82.5%   -0.07%
  Complexity    11023   11023
===========================================
  Files          1332    1332
  Lines         45034   45032       -2
  Branches       5655    5647       -8
===========================================
- Hits          37182   37152      -30
- Misses         5224    5263      +39
+ Partials       2628    2617      -11

Impacted Files
Coverage Δ
Complexity Δ

...src/main/java/io/crate/analyze/ParamTypeHints.java
80% <ø> (ø)
5 <0> (ø)
:arrow_down:

...te/analyze/relations/StatementAnalysisContext.java
85.71% <ø> (ø)
10 <0> (ø)
:arrow_down:

...src/main/java/io/crate/analyze/DeleteAnalyzer.java
89.18% <ø> (ø)
7 <0> (ø)
:arrow_down:

...o/crate/analyze/ValuesAwareExpressionAnalyzer.java
78.57% <ø> (ø)
4 <0> (ø)
:arrow_down:

...c/main/java/io/crate/analyze/ParameterContext.java
92.68% <ø> (ø)
18 <0> (ø)
:arrow_down:

...reference/sys/check/node/AbstractSysNodeCheck.java
82.35% <ø> (ø)
8 <0> (ø)
:arrow_down:

.../crate/analyze/expressions/ExpressionAnalyzer.java
91.37% <ø> (ø)
20 <0> (ø)
:arrow_down:

.../src/main/java/io/crate/analyze/where/DocKeys.java
82.92% <100%> (ø)
7 <0> (ø)
:arrow_down:

...a/io/crate/operation/collect/RowShardResolver.java
100% <100%> (ø)
10 <0> (ø)
:arrow_down:

...ava/io/crate/analyze/InsertFromValuesAnalyzer.java
90.51% <100%> (ø)
54 <0> (ø)
:arrow_down:

... and 28 more

Continue to review full report at Codecov.

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


Repo transfer

Looks good to me.
You can just do a final check of my changes and we are good.

All looks good to me. If you agree then we can merge it.

Looks good. Let's merge it. Thank you for all the work!


Error: cannot open USB device: Operation not supported or unimplemented on this platform

First, thank you for your work in creating and maintaining Fluxengine.  I hope to use it to read some PianoDisc floppies (apparently, they are very much like Amiga floppy format.)
I have built the board, programmed it successfully, and am trying to use the 'fluxengine' command in Windows 7 Professional.  I am using the prebuilt client, version 4.61.  However, I keep getting the error shown in the title of this message:
'Error: cannot open USB device: Operation not supported or unimplemented on this platform'
I have tried multiple USB ports and cables and am using the microusb connector, not the programming connector.  It seems the hardware is not detected by the fluxengine client; in fact, in 'Device Manager', under 'Other Devices' the a device is listed called 'FluxEngine' that appears regardless of the USB port I plug the hardware into.  Any hints?  Thank you in advance!

I have never seen that message before --- but I haven't tried this on W7...
There is, however, a very similar error message that appears on Linux if you run the client without permissions to access the USB subsystem. Are you running as a user with administration privileges?

I believe so.  After your suggestion, I enabled the administrator account (RMB on computer > manage > Local Users and Groups > Users > RMB on Administrator > Properties > uncheck 'account is disabled' > apply.)  I then switched user to the administrator account and ran CMD to get a command prompt.  Then issued the command 'c:\net user administrator /active:yes' for good measure.  I still get the same error whether logged into the 'user' or 'administrator' account.  If it is helpful, previous versions of the fluxengine client gave a different error message: 'Error: cannot find the FluxEngine (is it plugged in?)'


Input display appears delayed by 1 line after lots of rapid output

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate. It may be related to #571

Windows 10:
1.4.3:

gist

N/A
Is Vanilla

Issue
After lots of rapid commandline output, the display of my inputs appears to be delayed by one line. I can still enter commands in to the terminal, and if I press Enter, they are executed. However, anything I enter into the prompt is not displayed until I press Enter.
This may be related to #571, however the rendered does not appear to crash on my machine.
This is reproduced by doing the following:
python
while True:
  print('hello')
<Enter>
<wait a few seconds>
<ctrl+c>
<observe odd behavior>

Will be fixed by Hyper v2, using xterminstead of hterm
I juste tested your HTR on xterm and there is no problem.

Ah great, thank you. I've confirmed this my end too.

@chabou How do I switch my Hyper to use xterm instead of hterm?

@petertdinh clone this repo, run git checkout xterm and follow the directions in the readme to compile from source 👍  Hop into the community slack ->  if you get stuck, need help or just wanna chat 👋

Since you confirmed Xterm fixed your issue, @brucedjones, and we've now launched v2, this should be fixed! I'm going to go ahead and close this, but please re-open if the issue still persists.
Thanks for the submission! 🙌


Getting error "timeout waiting for bus free"

Hi,
When I'm trying to run the gateway_mfr application, I keep getting the following error:
[   80.877565] i2c i2c-0: i2c_pxa: timeout waiting for bus free
[   81.261564] i2c i2c-0: i2c_pxa: timeout waiting for bus free
Although I see the ECC608 device using i2cdetect and pointing the app to the right bus using:
./gateway_mfr --device ecc://i2c-0:60?slot=0 info

Discussion also started in Discord.. moved there

@madninja  discord requires phone number so many of us can not follow discussions taking place there.

Perhaps @wildloveil can post the resolution once he/she figures out the underlying configuration issue


Use oneof variants to encode optional fields

In proto3 files all non-primitive fields are optional by default. This makes it very tricky for clients to know if there are actual optional fields in messages.
An example of this is MilestoneInfo, where milestoneId and milestoneTimestamp are optional to indicate, for example that there was no milestone in the network yet.
A solution to this would be to use different definitions to differentiate between these cases, together with oneof fields.
As a temporary fix, we should add comments to the .proto file: #68.

Is this really a good idea? That means we will have super ugly switch cases everywhere in the go code.
I know that @alexsporn is absolutely no fan of this.

I can see pros and cons for both sides. Maybe having sufficient documentation would also be enough.


pubsub fails with error from gax

Looks like a recent update to google-gax is broken with pip. https://github.com/googleapis/gax-python/issues/152.
I was getting this error
Traceback (most recent call last):
  File "/tracking_sub/worker_sub_pool.py", line 19, in <module>
    from google.cloud import pubsub
  File "/usr/local/lib/python3.4/dist-packages/google/cloud/pubsub/__init__.py", line 27, in <module>
    from google.cloud.pubsub.client import Client
  File "/usr/local/lib/python3.4/dist-packages/google/cloud/pubsub/client.py", line 28, in <module>
    from google.cloud.pubsub._gax import _PublisherAPI as GAXPublisherAPI
  File "/usr/local/lib/python3.4/dist-packages/google/cloud/pubsub/_gax.py", line 19, in <module>
    from google.cloud.gapic.pubsub.v1.publisher_client import PublisherClient
  File "/usr/local/lib/python3.4/dist-packages/google/cloud/gapic/pubsub/v1/publisher_client.py", line 30, in <module>
    from google.gax import api_callable
  File "/usr/local/lib/python3.4/dist-packages/google/gax/__init__.py", line 49, in <module>
    with open('%s%sVERSION' % (CUR_DIR, os.path.sep), 'r') as version_file:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.4/dist-packages/VERSION'

I'm using version 0.22.0 google-cloud-pubsub==0.22.0
I was able to fix this problem by including a previous version of google-gax in my requirements.txt file.  google-gax==0.15.1
Could google-cloud-pubsub also use a versioned package of google-gax and other packages to avoid similar problems in the future?

Makes sense, thank you!

Thanks for understanding! (And filing)


[Meta] Refactors of React hooks

Search Terms
refactor, react, hooks

Suggestion
Provide a series of refactors about react hooks.

Use Cases
In my recently works. I have alway Wrap function, value declarations, expressions into React.useMemo or React.useCallback.
And I must find all the depends on the selection. And always missing some deps. It's not a good experience.
Could we provide some refactors to wrap something into well-known react hooks?
I'm not sure where's the bar of patterns we are allowed. but we have already had something like 'react-jsx'.

Examples

const Comp = props => {
  const value = props.a + props.b;

  const handleClick = () => {
    console.log('foo', value)
  }

  return
<SomeHeavyComponent value={value}/>

}

When I select props.a + props.b, convert into

React.useMemo(() => props.a + props.b, [props.a, props.b]);

When I select handleClick  or the lambda, convert into

const handleClick = React.userCallback() => {
  console.log('foo', value)
}, [value])

When I select <SomeHeavyComponent value={value}/>, convert into

React.useMemo(() => (<SomeHeavyComponent value={value}/>), [value])

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

awesome, looks good to me


Several Integration tests failing against GCP

The block-prod-prio test seems to be failing. From the code it looks like this test might not be run and this failure could be the reason why. I need to check with O(1).
Also, the delegation, snarkyjs, zkapps, zkapps-nonce and zkapps-timing tests are failing for different reasons. This might just be a timeout.

The block-prod-prio fails anyway and this is why it is excluded from running. I think it's because the terraform version was upgraded a while ago and it no longer allowed duplicate secrets, which this tests demands as multiple block-producers share the same account. There's a line in test_executive.sh which skips if this is the test name.

The delegation test times out on the compatible branch.

The zkapps test passes on berkeley, so it looks as if there may be a problem.

Need to rebase onto mf-develop and see if tests are still failing.


Use jbuilder for JSON

We should use https://github.com/rails/jbuilder for generating the JSON that's sent to clients.

If we're going to rely a lot on JSON data being passed around then yeah, seems like a good way to enforce standardization.
Another piece of software to look at is http://railscasts.com/episodes/322-rabl
Always good to have alternatives.

I added Jbuilder in the project. We still need to discuss exactly how it should be used.

The two "problematic" methods (staff_plan_json on clients and users) have been modified to use Jbuilder. Closing this now.


Start-ChiaHarvesterWatcher (Attempted to divide by zero)

Hello
Im getting this error for each logfile when trying to run Start-ChiaHarvesterWatcher
RuntimeException: C:\Users\jsk\Documents\PowerShell\Modules\PSChiaPlotter\1.0.18\PSChiaPlotter.psm1:491
Line |
491  |              $harvesterActivity = [pscustomobject]@{
        |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        | Attempted to divide by zero.

So the only time that the function really has a chance to divide by zero is when calculating the FilterRatio which divides the eligible plots by total plots. I have seen total plots show up as zero if the harvester is not setup correctly (not adding any paths to plots), could this be possible in your case?
This is the line that could be causing the issue if you total plots is equal to zero "FilterRatio = $Matches[2] / $Matches[6]"

Hmm, good question. Everything seems to be working, I regularly see plots passing the filter, and i see about 6 tries pr minutes.
This is from my log:
2021-05-30T15:44:51.903 harvester chia.harvester.harvester: INFO     1 plots were eligible for farming 79052fbebf... Found 0 proofs. Time: 0.33700 s. Total 149 plots 2021-05-30T15:45:00.295 harvester chia.harvester.harvester: INFO     0 plots were eligible for farming 79052fbebf... Found 0 proofs. Time: 0.39802 s. Total 149 plots 2021-05-30T15:45:11.038 harvester chia.harvester.harvester: INFO     0 plots were eligible for farming 79052fbebf... Found 0 proofs. Time: 0.32812 s. Total 149 plots
All my plots are on a network share though. From chia.exe plots show: \<IP_ADDRESS>\plots
Can that be the issue?

I'm running across this too, but with less plots (currently 32). The plots are on a shared drive as well.

@phpfrog has added a try and catch block for this property to prevent it the error. I have merged his pull request so this should be fixed in the latest release.


[material-ui][Autocomplete] React keys being passed directly to JSX without using spread

Steps to reproduce

import Ellipsis from "components/shared/ellipsis";

import { SearchOutlined as SearchIcon } from "@mui/icons-material";
import { SearchProps } from "interfaces/components/apihub.interface";
import { TextField, Autocomplete, Divider, Stack, Typography, Box, IconButton } from "@mui/material";

const Search = ({ searchResult, onInputChange, onValueChange, value, inputValue, getEndpoint, isOptionEqualToValue }: SearchProps) => (
  <Autocomplete
    fullWidth
    value={value}
    options={searchResult}
    inputValue={inputValue}
    onChange={(e, newValue) => onValueChange(newValue)}
    onInputChange={(e, newInputValue) => onInputChange(newInputValue)}
    filterOptions={(options) => options} // Return all options without filtering
    isOptionEqualToValue={(option, value) => isOptionEqualToValue(option, value)}
    getOptionLabel={(option) => (typeof option === "string" ? inputValue : option.title)}
    renderOption={(props, { title, description, id }) => (
      <Box component="li" mb={1} {...props}>
        <Stack onClick={() => getEndpoint(id)}>
          <Stack direction="row" justifyContent="space-between" alignItems="flex-end" spacing={1} sx={{ width: "100%" }}>
            <Typography maxWidth="80%" fontSize=".8em" noWrap sx={{ textTransform: "uppercase" }}>
              {title}
            </Typography>
          </Stack>

          <Divider sx={{ width: "90%", my: 1, alignSelf: "flex-end" }} />

          <Ellipsis lines={2} display="block" variant="caption" color="text.secondary" sx={{ mt: 0.5, ml: 2 }}>
            {description}
          </Ellipsis>
        </Stack>
      </Box>
    )}
    // renderInput={(params) => <TextField {...params} placeholder="Start typing to search" inputProps={{ ...params.inputProps }} />}

    renderInput={(params) => (
      <TextField
        sx={{ mt: 2 }}
        {...params}
        label={
          <Stack direction="row">
            <IconButton aria-label="mongodb" component="span" sx={{ mt: -1 }}>
              <SearchIcon />
            </IconButton>
            Start typing to search endpoints
          </Stack>
        }
      />
    )}
  />
);

export default Search;

Current behavior
Error happens once server returns matching results. Adding key to <Box component="li" mb={1} {...props}> does not solve the issue
Expected behavior
No response
Context
Warning: A props object containing a "key" prop is being spread into JSX:
let props = {key: someKey, component: ..., mb: ..., tabIndex: ..., role: ..., id: ..., onMouseMove: ..., onClick: ..., onTouchStart: ..., data-option-index: ..., aria-disabled: ..., aria-selected: ..., className: ..., children: ...};
<ForwardRef(Box) {...props} />
React keys must be passed directly to JSX without using spread:
let props = {component: ..., mb: ..., tabIndex: ..., role: ..., id: ..., onMouseMove: ..., onClick: ..., onTouchStart: ..., data-option-index: ..., aria-disabled: ..., aria-selected: ..., className: ..., children: ...};
<ForwardRef(Box) key={someKey} {...props} />
at Autocomplete (webpack-internal:///(app-pages-browser)/./node_modules/@mui/material/Autocomplete/Autocomplete.js:511:85)
at Search (webpack-internal:///(app-pages-browser)/./components/apihub/search/Search.tsx:17:11)
at SearchContainer (webpack-internal:///(app-pages-browser)/./components/apihub/search/SearchContainer.tsx:13:11)
at div
at eval (webpack-internal:///(app-pages-browser)/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
at Box (webpack-internal:///(app-pages-browser)/./node_modules/@mui/system/esm/createBox.js:36:76)
at div
at eval (webpack-internal:///(app-pages-browser)/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
at Grid (webpack-internal:///(app-pages-browser)/./node_modules/@mui/system/esm/Stack/createStack.js:160:24)
at div
at eval (webpack-internal:///(app-pages-browser)/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
at Box (webpack-internal:///(app-pages-browser)/./node_modules/@mui/system/esm/createBox.js:36:76)
at div
at eval (webpack-internal:///(app-pages-browser)/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
at Grid (webpack-internal:///(app-pages-browser)/./node_modules/@mui/material/Grid/Grid.js:387:89)
at div
at eval (webpack-internal:///(app-pages-browser)/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
at Grid (webpack-internal:///(app-pages-browser)/./node_modules/@mui/material/Grid/Grid.js:387:89)
at div
at eval (webpack-internal:///(app-pages-browser)/./node_modules/@emotion/react/dist/emotion-element-43c6fea0.browser.esm.js:60:66)
at Box (webpack-internal:///(app-pages-browser)/./node_modules/@mui/system/esm/createBox.js:36:76)
at EndpointsIntro (webpack-internal:///(app-pages-browser)/./components/apihub/endpoints/EndpointsIntro.tsx:18:11)
at main
at EndpointsContainer (webpack-internal:///(app-pages-browser)/./components/apihub/endpoints/EndpointsContainer.tsx:17:92)
at ConnectFunction (webpack-internal:///(app-pages-browser)/./node_modules/react-redux/dist/react-redux.mjs:875:74)
at InnerLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:242:11)
at RedirectErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:73:9)
at RedirectBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:81:11)
at NotFoundBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/not-found-boundary.js:84:11)
at LoadingBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:340:11)
at ErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/error-boundary.js:161:11)
at InnerScrollAndFocusHandler (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:152:9)
at ScrollAndFocusHandler (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:227:11)
at RenderFromTemplateContext (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/render-from-template-context.js:16:44)
at OuterLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:359:11)
at InnerLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:242:11)
at RedirectErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:73:9)
at RedirectBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:81:11)
at NotFoundBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/not-found-boundary.js:84:11)
at LoadingBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:340:11)
at ErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/error-boundary.js:161:11)
at InnerScrollAndFocusHandler (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:152:9)
at ScrollAndFocusHandler (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:227:11)
at RenderFromTemplateContext (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/render-from-template-context.js:16:44)
at OuterLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:359:11)
at div
at ApiHubLayout (webpack-internal:///(app-pages-browser)/./components/layouts/apihub-layout/ApihubLayout.tsx:11:11)
at InnerLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:242:11)
at RedirectErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:73:9)
at RedirectBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:81:11)
at NotFoundErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/not-found-boundary.js:76:9)
at NotFoundBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/not-found-boundary.js:84:11)
at Suspense
at LoadingBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:340:11)
at ErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/error-boundary.js:161:11)
at InnerScrollAndFocusHandler (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:152:9)
at ScrollAndFocusHandler (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:227:11)
at RenderFromTemplateContext (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/render-from-template-context.js:16:44)
at OuterLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:359:11)
at SWRConfig (webpack-internal:///(app-pages-browser)/./node_modules/swr/dist/_internal/index.mjs:571:13)
at ThemeProvider (webpack-internal:///(app-pages-browser)/./node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js:42:5)
at ThemeProvider (webpack-internal:///(app-pages-browser)/./node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js:59:13)
at Providers (webpack-internal:///(app-pages-browser)/./components/providers/Providers.tsx:19:11)
at ProvidersContainer (webpack-internal:///(app-pages-browser)/./components/providers/ProvidersContainer.tsx:20:13)
at ConnectFunction (webpack-internal:///(app-pages-browser)/./node_modules/react-redux/dist/react-redux.mjs:875:74)
at SnackbarProvider (webpack-internal:///(app-pages-browser)/./node_modules/notistack/notistack.esm.js:1491:24)
at Provider (webpack-internal:///(app-pages-browser)/./node_modules/react-redux/dist/react-redux.mjs:1049:3)
at AppRouterCacheProvider (webpack-internal:///(app-pages-browser)/./node_modules/@mui/material-nextjs/v13-appRouter/appRouterV13.js:26:13)
at RootProviders (webpack-internal:///(app-pages-browser)/./components/providers/RootProviders.tsx:19:11)
at body
at html
at RedirectErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:73:9)
at RedirectBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/redirect-boundary.js:81:11)
at NotFoundErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/not-found-boundary.js:76:9)
at NotFoundBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/not-found-boundary.js:84:11)
at DevRootNotFoundBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/dev-root-not-found-boundary.js:33:11)
at ReactDevOverlay (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/internal/ReactDevOverlay.js:84:9)
at HotReload (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/react-dev-overlay/hot-reloader-client.js:307:11)
at Router (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:182:11)
at ErrorBoundaryHandler (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/error-boundary.js:114:9)
at ErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/error-boundary.js:161:11)
at AppRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/app-router.js:538:13)
at ServerRoot (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/app-index.js:129:11)
at RSCComponent
at Root (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/app-index.js:145:11)
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.

Browser used is chrome

  Output from `npx @mui/envinfo` goes here.

  System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.5 - C:\Program Files\nodejs\npm.CMD
    pnpm: Not Found
  Browsers:
    Chrome: Not Found
    Edge: Chromium (122.0.2365.80)
  npmPackages:
    @emotion/react: ^11.11.4 => 11.11.4
    @emotion/styled: ^11.11.0 => 11.11.0
    @mui/base:  5.0.0-beta.38
    @mui/core-downloads-tracker:  5.15.12
    @mui/icons-material: ^5.15.12 => 5.15.12
    @mui/lab: ^5.0.0-alpha.167 => 5.0.0-alpha.167
    @mui/material: ^5.15.12 => 5.15.12
    @mui/material-nextjs: ^5.15.11 => 5.15.11
    @mui/private-theming:  5.15.12
    @mui/styled-engine:  5.15.11
    @mui/system: ^5.15.12 => 5.15.12
    @mui/types:  7.2.13
    @mui/utils:  5.15.12
    @types/react: ^18 => 18.2.47
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^5 => 5.3.3

Search keywords: next.js autocomplete

Hey @Chukwu3meka; thanks for opening the issue! Can you provide a reproducible CodeSandbox for better troubleshooting?

Adding key to <Box component="li" mb={1} {...props}> does not solve the issue

Is this what you tried? <Box component="li" mb={1} {...props} key={props.key}> @Chukwu3meka

Hi, I have the same issue. I tried @mj12albert's suggestion but it doesn't work for me.
Some of the implementations I have tried and have the same problem:
First

// Error
Warning: A props object containing a "key" prop is being spread into JSX:
  let props = {key: someKey, tabIndex: ..., role: ..., id: ..., onMouseMove: ..., onClick: ..., onTouchStart: ..., data-option-index: ..., aria-disabled: ..., aria-selected: ..., className: ..., children: ...};

React keys must be passed directly to JSX without using spread:
  let props = {tabIndex: ..., role: ..., id: ..., onMouseMove: ..., onClick: ..., onTouchStart: ..., data-option-index: ..., aria-disabled: ..., aria-selected: ..., className: ..., children: ...};

Second

// Same error

Third

// Error
Warning: Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.
But I don't have element with repeated id

Fourth
renderOption={(props, option, { selected }) => {
    const customKey = `${option.id} ${option.name}`
    return (

 // Same error

Code
<Autocomplete
  disableCloseOnSelect
  fullWidth
  getOptionLabel={(option) => option.name}
  groupBy={(option) => option.wellnessArea.name}
  multiple
  options={getWellnessCategoriesData?.getWellnessCategories || []}
  renderInput={(params) => (
    <TextField
      {...params}
      helperText={
        t.completeProfilePage.wellnessCategories.categoriesHelperText
      }
      label={t.completeProfilePage.wellnessCategories.categoriesLabel}
      placeholder={
        t.completeProfilePage.wellnessCategories.categoriesPlaceholder
      }
      variant="outlined"
    />
  )}
  renderOption={(props, option, { selected }) => (

      <Checkbox
        checked={selected}
        checkedIcon={checkedIcon}
        icon={icon}
        style={{ marginRight: 8 }}
      />
      {option.name}

  )}
  size="medium"
/>


Implement all supported color spaces in Compose

See ColorSpaces. We implemented part of them in DesktopImageAsset.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Type errors

I've got a React Audio Player doing this:
onLoadedMetadata={e => {
  onSetDuration(e.currentTarget.duration);
}}

It works but TypeScript complains that duration doesn't exist on e.currentTarget.
Currently all of the events are being typed as Event. The DefinitelyTyped entry types the events as  React.SyntheticEvent<HTMLAudioElement, Event>. This is probably more accurate right?

Use "onDurationChange" intead of "onLoadedMetaData" for changing duration state.


Reduce token expiration seconds may cause the whole platform unusable

What happened:
Once we reduced the option TokenExpirationSeconds for keystone fron 86400(1hour) to 1hour, the whole platform becomes unsuable.
Environment:

OS (e.g. cat /etc/os-release):
Kernel (e.g. uname -a):

This got fixed by https://github.com/yunionio/cloudpods/pull/12258


m1/2 gpu support

Feature request
it seems that it just support Nvidia gpu and chatglm/chatglm2 can't run under apple silicon env
Motivation
No response
Other
No response

+1 for this!
CPU works, but GPU only models are currently looking for NVidia GPUs which are not supported on the mac.

I can enable chatglm on CPU, but there is really no point since the inference are just way to slow to run on CPU anw

@aarnphm Is there any chance of GPU support for the Mac on Metal? Tensorflow and Pytorch already support Metal (not sure of how extensively though) Since the Mac shares memory with the VRam, it would be much more viable running a LLM locally as the other alternative is buying a professional NVidia Card.

Support metal is irrelevant of this. Metal won't make model inference faster unless we implement the attention layer in bare metal code

thanks for the feedback, much appreciated!


Ticket assignment case sensitiveness

A user with email<EMAIL_ADDRESS>can't see on his user profile page the tickets correctly assigned to him to the email<EMAIL_ADDRESS>

#393 is the same issue.


Adds api's to get list of namespaces and deployments

This PR adds the api's which helps autotune UI to populate the namespaces and deployments on selection by the user.
Signed-off-by: bharathappali<EMAIL_ADDRESS>

@dinogun @msvinaykumar I have resolved the conflicts and pushed the changes. Can I please get it reviewed?

LGTM


Add social meta tags

Closes https://github.com/covid-projections/act-now-packages/issues/169

Looks good to me with a couple nits. And I'm also a bit tempted to merge all 3 components into one. But I don't feel strongly. So feel free to leave it as-is or run it by Pablo or Chelsi or something.
Also, can you remove "Closes #169" since I think we need to also update the template repo to use these components before we close that issue (or you could create a separate issue for using it in the template repo if you prefer). Thanks!

Thank you! I discussed merging these 3 components into one with Pablo but we figured it will be cleaner and more readable separated.
As for updating the template repo, I'll create a separate issue.


fix dirty behaviour for items with persisted taggings

Fixes #811.
If item contains persisted taggings dirty methods will not work for the newly instantiated object:
item = Item.create(tag_list: 'a')
item = Item.find(item.id)
item.tag_list = 'b, c'
item.tag_list_changed? # => false

Root cause of this is the custom_contexts method returning all taggings contexts instead of only the custom ones, in result the process_dirty_object method is not called if any persisted tagging exist for the item for that context
this is similar to #723 and #728 but based on the current codebase and only addressing this specific issue with minimal impact to other/unrelated functionalities. The custom_contexts method is only used as a guard for process_dirty_object and preventing duplicates in add_custom_context and this behaviour is not affected, so this should be safe to merge
NOTE: the failures in Travis build are not related - it should all pass after #880 is merged

+1
Definitely agree that the expected behavior of item.tag_list_changed? should return true when new items are added to the tag_list and has not been saved. Confirmed this branch fixes the current behavior.

+1 would love to see this fixed

seems to be fixed in latest versions and no longer relevant after dropping support for AR <5

No support, no problem


Rename image/video stories

Some minor adjustments to the naming of the "video media" & "image prop" stories

awesome 🌟


Track expense - "Uncaught (in promise) AbortError" console error when dismissing tutorial

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

**Version Number:**9.0.59-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5192358&group_by=cases:section_id&group_id=309130&group_order=asc
Issue reported by: Applause Internal Team
Action Performed:

Navigate to https://staging.new.expensify.com/
Log in with a new Gmail account
Navigate to FAB - Track expense
Click away to dismiss the modal

Expected Result:
Console error shouldn't be showing.
Actual Result:
"Uncaught (in promise) AbortError" console error when dismissing tutorial video modal.
Workaround:
Unknown
Platforms:

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/f6f07024-2987-43d7-8694-5de75f5b33d5

View all open jobs on GitHub

Not reproducible

Proposal
Please re-state the problem that we are trying to solve in this issue.
"Uncaught (in promise) AbortError" console error when dismissing tutorial video modal.
What is the root cause of that problem?

When we open the training video modal, it calls:

https://github.com/Expensify/App/blob/005b618cd940982f979b04b07b10fd621459afe5/src/components/VideoPlayer/BaseVideoPlayer.tsx#L369
It will update the currentlyPlayingURL state. Because currentlyPlayingURL is one of the dependencies in useEffect:
https://github.com/Expensify/App/blob/005b618cd940982f979b04b07b10fd621459afe5/src/components/VideoPlayer/BaseVideoPlayer.tsx#L330
it calls:
https://github.com/Expensify/App/blob/005b618cd940982f979b04b07b10fd621459afe5/src/components/VideoPlayer/BaseVideoPlayer.tsx#L329

The shareVideoPlayerElements has a logic to play the video:

https://github.com/Expensify/App/blob/191564c8eb5f74dabae3adc01aefb9e9033c2185/src/components/VideoPlayerContexts/PlaybackContext.tsx#L68-L70
The function playVideo is the async function, and if we remove the video from the document when the play video function is still in progress, the error is triggered: "AbortError: The play() request was interrupted because the media was removed from the document.".
What changes do you think we should make in order to solve the problem?

We can update:

https://github.com/Expensify/App/blob/005b618cd940982f979b04b07b10fd621459afe5/src/components/VideoPlayer/BaseVideoPlayer.tsx#L329-L330
        shareVideoPlayerElements(videoPlayerRef.current, videoPlayerElementParentRef.current, videoPlayerElementRef.current, isUploading || isFullScreenRef.current || isLoading);
    }, [currentlyPlayingURL, shouldUseSharedVideoElement, shareVideoPlayerElements, url, isUploading, isFullScreenRef, isLoading]);

the 4th param in the shareVideoPlayerElements function is to prevent autoplay. By adding isUploading || isFullScreenRef.current || isLoading, we can make sure we only call play video function once the video is loaded successfully.
What alternative solutions did you explore? (Optional)

Thanks @jacobkim9881 - I'm testing now too.

@strepanier03 One tip to reproduce the bug is to use the slow 4g network and try to do step 4 (dismiss the modal) when the video is still loading

In dev, the error modal is displayed as well:
https://github.com/user-attachments/assets/85e6fc28-9c91-41c8-bda0-846594695898

The issue is still appeared in dev, staging and prod:
https://github.com/user-attachments/assets/4548e305-ef23-469c-b3b9-1fd53c0ba34a

The issue is still reproducible @strepanier03, can you help check again once you have a chance:
https://github.com/user-attachments/assets/4548e305-ef23-469c-b3b9-1fd53c0ba34a


Add kubenet namenode topology plugin

Please see README.md for the overall context.

@cvpatel Thanks for the review. Addressed the comments. PTAL.

Addressed remaining review comments. PTAL.

Thanks @cvpatel for the review!
@foxish I wonder if you'd want to take a look at this change. Please let me know if you do by end of tomorrow. Otherwise, I'd like to merge this by end of this week. Thanks!

Merging this soon.


barcode endpoint needs to be updated to accommodate the non-requestable ReCAP location

See<PHONE_NUMBER>1454 in the barcode endpoint with the 'scsb' at the end.
https://bibdata.princeton.edu/barcode/32101076551454/scsb
The new non-requestable locations (xmd, xmgr, etc.) need to be accommodated for sending the ReCAP-specific information to SCSB for accessions.

These two methods need to be aware of the new locations: https://github.com/pulibrary/bibdata/blob/e216a5573c858569ab133ae3821c9b0bb445c1e1/app/adapters/alma_adapter/alma_item.rb#L164-L182.

The methods attached to https://github.com/pulibrary/bibdata/blob/e216a5573c858569ab133ae3821c9b0bb445c1e1/app/adapters/alma_adapter/alma_item.rb#L184 also need to be addressed.

@mzelesky Are the new locations considered "supervised use"?

The new non-requestable ReCAP locations are:
xgr
xcr
phr
xrr
xmr

xmr will have the same restrictions as xm.  Similar for all locations above.


Bump timeout of waiting for PVC to be created

This failed with a timeout in one case where we saw that CDI created the
PVC a few micro-seconds later.
What this PR does / why we need it:
In the following run we look at timestamps and see in the build.log:
STEP: Collecting Logs for failed test 08/29/22 16:00:37.941
If we look at the CDI cdi-deployment logs we will see:
{"level":"info","ts":1661788837.3098347,"logger":"controller.datavolume-controller","msg":"Creating PVC for datavolume","Datavolume":"kubevirt-test-default1/test-datavolume-jr8qtf7js2pt"}
1661788837.3098347 is Monday, August 29, 2022 4:00:37.309 PM GMT. Later on the PVC is in Pending state, so it was successfully created. If we had waited a bit longer, the test wouldn't have failed.
Release note:

NONE

Similar code merged with #8545

(Also, that one catches that the missing part is time.Second, whereas this PR does not)

Note the flake still occurs after my PR though a lot less:
https://search.ci.kubevirt.io/?search=4643&maxAge=48h&context=1&type=bug%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job
Should we be concerned that it takes CDI more than 30 seconds to create the PVC?


Small language cleanups related to JS native load specs

Review by @gzm0

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3421/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4490/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3422/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4491/
Test PASSed.

Done for your other comments.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3430/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4500/
Test PASSed.

Feel free to change the two positions at your own discretion.

I don't understand this. What are you talking about?

I don't understand this. What are you talking about?

The error report positions I commented on (and I missed in my first review); you may change them to the annotations or leave them as they are and merge this PR to keep moving ahead as it is a minor thing.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3441/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4514/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3449/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4522/
Test PASSed.


feat(PE-6516): ant registry class

Wondering if we want to list this in the README/docs yet. Its 2 functions, register and accessControlList that are on the class.
Currently not tested, need to deploy an ant registry to do so.
Note the accessControlList method comment - should we rename to getANTsByAddress?

please add e2e tests with our existing registry

:tada: This PR is included in version 2.1.0-alpha.8 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Current org is not being set with API tokens

While playing with keyless signing, I was getting consistent "missing org" errors in the different API calls.
After some debugging, I noticed that requireCurrentOrg method is not finding it, although the claim is present in the context.
It looks like the context value is not being set in the robot account / api token middlewares (I confirmed that WithCurrentAPITokenAndOrgMiddleware is only called in the user token middleware)

Some findings:

WithCurrentUserAndOrgMiddleware is in charge of setting the organization from the membership and store it in the currentOrgCtxKey{} key in the context. This key is used in the requireCurrentOrg method. This middleware is only run in user token contexts
In the other side, WithAttestatiWithAttestationContextFromRobotAccount does a similar thing for robot accounts and API tokens, but instead, takes the OrgID from a claim and stores it in a RobotAccount object in the currentRobotAccountCtxKey{} context key.
Only non-attestation APIs can use requireCurrentOrg. Attestation APIs should use CurrentRobotAccount method instead.
The issue comes from the fact that I was wronly using requireCurrentOrg in a new attestation API. So we can close this task, but we should be aware of this when we refactor API permissions.


flutter/engine googlebot is spamming with dup messages

example https://github.com/flutter/engine/pull/25382
on other reps, this doesn't seem to be the case
https://github.com/flutter/flutter/pull/79852
https://github.com/flutter/website/pull/5582

@nt4f04uNd in the PR you mentioned in flutter/engine, it seems like the bot is working as intended, the OP did not sign the CLA. In the other examples, the OP's DID sign the CLA within a week.

two bots are spamming with identical messages - that's the issue. reopen

two bots are responding with identical messages - that's the issue. reopen

ahh, I see what you mean, you're right.

@godofredoc it looks like we might have two separate Google CLAbots configured for the engine repo, one with the account https://github.com/googlebot and the other https://github.com/apps/google-cla

Took a look and we have "Google CLA" as an application and "https://cla.developers.google.com/api/github/webhook" as a webhook.
@Hixie can I disable/delete the webhook?

So long as we have a working clabot at the end of it, sounds good to me. :-)

ok, I disabled the webhook and we are still getting CLA:yes label in the PRs through the github app.

ok, I disabled the webhook and we are still getting CLA:yes label in the PRs through the github app.

thanks!


[Remote File][Linux] Brackets crashes when user tries to locate the remote file in OS

Description
Brackets crashes when user tries to locate the remote file in OS
Steps to Reproduce

Launch brackets 1.13.
Press ctrl+shift+O for win and cmd+shift+O for mac.
Quick open modal bar will open.
Enter a network url that supports http or https. Example: https://www.google.com/
Right click on file in working set in file tree.
Context menu will appear.
Click on Show in OS.

Expected behavior: Brackets should not crash and user should be given a message that file could not be found.
Actual behavior: Brackets crashes when user tries to locate the remote file in OS
Versions
Linux Ubuntu 16.04 64 Bit
Release 1.13 build 1.13.0-17668

@ayushrathi15 this is fixed on the latest brackets-shell and should be available on the release branch.

Working fine now.
Verified in latest build - Release 1.13 build 1.13.0-17693.


Support for 'High on Life'?

Hi,
a support for High on Life would be dope.
I can support you with XBGP and Steam save games if required.

Sure, zip up SystemAppData\wgs under the correct folder in %LocalAppData%\Packages and provide the name of the containing folder, and I'll take a look. Also the Steam save would be nice.

Here you go. Thanks for looking into it.
High On Life.zip

Done in ad9c6ac.
Check out the newest release.

Btw. it works on Steam. Just tried it. Thanks and have a nice afternoon.


Update the quest code to give more useful names to structure members

This could be possibly merged with devilutionX if they find it useful

I think I figured out why the members don't have any more meaningful name: these members are used differently based on the quest. So it's not possible to assign them a meaningful name... I guess more proper names would be "scratch" or "qspec" for "Quest Specific"... But qvar is good enough.


subset of cursor keys randomly stop working

Issue Type: Bug
When using the editor, a subset of arrow keys still stop working. For example, sometimes arrow right and delete stop working, but the rest still function.
The only apparent way to clear the state is to restart Visual Studio Code.
This happens very infrequently and I cannot reproduce it at will. Sometimes I will go for months without a reproduction.
VS Code version: Code 1.61.0 (ee8c7def80afc00dd6e593ef12f37756d8f504ea, 2021-10-07T18:11:58.853Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
32.00GB (12.69GB free)

Process Argv
--crash-reporter-id bf630b71-a464-49ff-98a3-dfd0c541fb6a

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

go-group-imports
ale
1.1.4

go
gol
0.28.1

vscode-docker
ms-
1.17.0

python
ms-
2021.10.1317843341

vscode-pylance
ms-
2021.10.0

jupyter
ms-
2021.9.1001312534

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.3

remote-containers
ms-
0.202.1

vscode-commons
red
0.0.6

vscode-yaml
red
0.23.0

When this reproduces, please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire.
check what VS Code detects and what command is invoked.

If you are having trouble understanding the output, please feel free to paste here and I can try to help.

it reproduced again, but toggling the keyboard shortcuts troubleshooting unjammed it, so nothing useful came out.

@PaulForgey-Discovery Thank you for following up. Please keep an eye out and if you find some hints / steps that might reproduce please don't hesitate to reach out. Thanks again!


Allow sets to be passed in the transition decorator

It's quite handy to be able to pass in a set of transitions, currently you have to do @transition(source=list(some_set_of_transitions)). Can we just pass the set in directly?

+1 for this issue

Generally, a unit test is always helpful - helps to understand better what will improve, and how to use it.


fix: OPENRESTY_PREFIX=xxx no such file or directory

When use sudo OPENRESTY_PREFIX=xxx, the terminal will print 'OPENRESTY_PREFIX=xxx: no such file or directory' on CentOS7's bash.
Signed-off-by: Wenyu Huang<EMAIL_ADDRESS>

 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.

When using sudo OPENRESTY_PREFIX=xxx, the terminal will print 'OPENRESTY_PREFIX=xxx: no such file or directory' on CentOS7's bash.
Signed-off-by: Wenyu Huang<EMAIL_ADDRESS>
Maybe the sudo in your env is a wrong wrapper that can't detect the env var.
The current script works well in the CI: https://github.com/api7/apisix-build-tools/blob/7fbbde6bdbd5b1c6404a5c610b38be5344503e6f/.github/workflows/package-apisix-base-rpm-el7.yml#L32
I think it would be better to make the sudo in your env work well like others, instead of modifying existing code to adapt it.

When using sudo OPENRESTY_PREFIX=xxx, the terminal will print 'OPENRESTY_PREFIX=xxx: no such file or directory' on CentOS7's bash.
Signed-off-by: Wenyu Huang<EMAIL_ADDRESS>
Maybe the sudo in your env is a wrong wrapper that can't detect the env var. The current script works well in the CI:
https://github.com/api7/apisix-build-tools/blob/7fbbde6bdbd5b1c6404a5c610b38be5344503e6f/.github/workflows/package-apisix-base-rpm-el7.yml#L32
I think it would be better to make the sudo in your env work well like others, instead of modifying existing code to adapt it.

Ok, Maybe I use starship in my terminal, which causes this problem.


Bug fixes for import requests and imports that have a schema root

Added a fix that allows the extra request headers and options to keep passing through for all imports/includes. This is necessary for servers which require basic authentication or other special parameters for every request.
Added a fix to properly handle import/include files that start with a schema element.
Bumped the version for you to allow quick publishing.

Also fixed a large number of unit tests which were broken before, but went unnoticed due to schemas not importing correctly.

Hey @OuranosSkia,
thanks a lot for this PR - we appreciate it a lot and it seems that a lot of effort was made in order to make all these changes.
I left a few comments in the code which are related mostly to unneccesary changes (mostly formatting/whitespaces) which I kindly ask you to revert, as we want to keep our history clean.
Other than that, I'll also have to ask you for a few things (which are explained in our Guidelines for Submitting a Pull Request)

Please, add accompanying tests for your code changes too, so that it's guaranteed we don't override any of your work accidentialy in the future.
Please, once you've done the reverts/changes squash all your commits into a single one (links to an excellent guide on how to do this (by GitHub) are givein in our Guidelines)
Please, please, please:  do not close a pull request due to a request to rebase

Thanks a ton!

I addressed the comments and squashed commits. As far as tests, the existing tests should be sufficient to make sure my changes do not get reverted. In fact, making these changes brought about the issue that the existing tests were in fact broken.
The long xsd files are xsd's that are referenced in the existing tests, but did not exist in the codebase at all. Due to the number of tests which used these xsd files and the fact that I did not know the explicit purpose of each test, I thought it prudent to leave the xsd's in their full form. I also thought this prudent since I put them in a common location instead of duplicating them for each test which used them.
Let me know if you have any more questions or comments!

Thanks a lot for your effort :+1:
Regarding the "new" xsd files I guess we'll just integrate 'em and see how far we'll get :smiley:

Thanks!


[TEST][WIP][][SQL] Introduction of error handling mechanism in SQL Scripting

What changes were proposed in this pull request?
Previous PRs introduced basic changes for SQL Scripting. This PR is introducing error handling mechanism to handle the errors that can arise while using SQL Scripting language.
Why are the changes needed?
The intent is to add the possibility for user to handle SQL errors in a custom defined way..
Does this PR introduce any user-facing change?
No.
How was this patch tested?
There are tests for newly introduced parser changes:
SqlScriptingParserSuite - unit tests for execution nodes.
Was this patch authored or co-authored using generative AI tooling?
No.

Hi, @miland-db . You may want to open a PR to your forked repository . It will give you the GitHub Action test results in the same way. Both uses your GitHub Action resources in any way.
Given the over-one-month idle time, let me close this test-wip PR.


Bash if statement [: missing `]' error 54 line

I've got bug from docker-compose when I started it. I've just added space

Oh... I don't understand why I never saw this. It never failed for me.
Thanks, I'm waiting for you to sign the Mattermost CLA. More information on this other PR comment https://github.com/mattermost/mattermost-docker/pull/171#issuecomment-329997685

@pichouk  Thank you . So, I've just signed it: https://docs.google.com/spreadsheets/d/1NTCeG-iL_VS9bFqtmHSfwETo5f-8MQ7oMDE5IUYJi_Y/pubhtml?gid=0&single=true


ApiRequester.simpleRequest() sets unsafe headers causing Chrome to report "Refused to set unsafe header"

I'm using Rpc package and it uses http.BrowserClient to send API requests to the server.
However on each POST request, Chrome reports two errors saying:
Refused to set unsafe header "user-agent"
Refused to set unsafe header "content-length"

These two headers are not allowed to be set in a browser as per http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method.
It would be great if Rpc requests from the client skipped setting the headers that are not allowed by the browsers.

As Tristan mentioned you can work around this for the moment by wrapping the client and have the wrapper remove the two headers before sending the request.

Didn't mean to close the issue.

I am trying to work around this issue. I have a Client which extends the http.BrowserClient and I am trying to unset the headers:
  Future send(var request) {
    request.headers['authorization'] = 'Bearer ${this.key}';
    request.headers['Cookie'] = null;
    request.headers['user-agent'] = null;
    request.headers['content-length'] = null;

    return super.send(request);
  }

The Authorization header gets set correctly but the other three are not overwritten. I am not sure what I'm doing wrong?

@Sgoettschkes The issue might be that the entry is still in the map, since setting the value to null doesn't remove the entry from the map:
void main() {
  print({'key' : 'value'});
  print({'key' : 'value'}..['key'] = null);
  print({'key' : 'value'}..remove('key'));
}

will print
{key: value}
{key: null}
{}

@mkustermann And you save me again :) Using remove works, thanks!

I am using the Stubs client generated with command pub run rpc:generate client -i lib/server/api.dart -o lib/client and the error commented in this issue is occuring:

Is there a workaround?

The workaround is is basically described above: Wrap the underyling browser-based http client and remove the 2 headers before sending it further.
For background knowledge: The generated api client libraries try to supply as much information to the underlying http.Client as they can, which includes the user-agent and the content-length headers (which are very useful for some http clients). Though in the browser case the http client is not allowed to override these headers, because the browser sets them itself.
@jakobr-google I think the easiest solution would be to allow the generated client libs to accept a boolean whether to set these headers, or have a wrapping-http-client for people to use. Would you be interested in looking into this?


How to make it work on Android?

Hi,
thank you for the great example. I tried it an it works quite well in the editor. I was wondering if this can be made to work for Android and how?

Hi @userqt,
this library doesn't work on android. You have to additionally use another library.
You can check out the asset store: https://assetstore.unity.com/?q=Bluetooth&orderBy=1 . Many of those also work on iOs.
If you want a open source solution you can check out the active project https://github.com/Velorexe/Unity-Android-Bluetooth-Low-Energy or the archived project https://github.com/seiji/unity-bluetooth . That's at least what I found after a google search.

Thank you, I will take a look.

Actually there is already an issue for android support: https://github.com/adabru/BleWinrtDll/issues/12
So closing this as duplicate. Please feel free to comment on the other issue's thread 👍


High Response times - Rating items is failing

Hello,
As of my writing, the API is having large response times. I'm getting 15+ seconds on a https://api.trakt.tv/sync/watched/shows call.
Ratings are also not applying and failing.
Please look into this issue.
Thanks

see #133


⚠ Nebulance has degraded performance

In 395cab7, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 1499 ms

Resolved: Nebulance performance has improved in 8bb1d26 after 6 minutes.


Artifactory collector changes

Artifactory collector changes

Save binary artifact ; ARTIFACT_BASED
Changed timestamp from string to long (millis)

ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project artifactory-artifact-collector: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/HygieiaBuildDeploy/Hygieia/collectors/artifact/artifactory/src/main/java/com/capitalone/dashboard/collector/DefaultArtifactoryClient.java:[269,76] incompatible types: long cannot be converted to java.lang.String
[ERROR]

:(

@devopslabinc  get latest core changes and rebuild Hygieia.


Screwdriver Firmware - Pin Gripper Motors

Tightening cycle seems fine, test motor loosening cycle.
Decide if the loosening also need to have sync stop when jammed.

Close via bc0d5d2fa1ecc80bb5a436ba0566fdedd3b4a87e


drivers: serial: stm32: report only unmasked irq

Fix #5298
irq_is_pending function returned TXE/RXNE flag status
even if IRQ was masked, which led to enless loop
in uart_pipe when no TX was performed. Fix by reporting status only when
IRQ is unmasked.
Signed-Off-by: Erwan Gouriou<EMAIL_ADDRESS>

Curious how is it that TX flag is set at this point?

TXE is TX empty, so always set when no TX

TXE is TX empty, so always set when no TX

Ah, makes sense.


Improve shuttle-runtime out-of-date hint

Description of change

Hey there! This change just adds a copy-paste friendly command for when the
shuttle runtime is out of date. It looks something like cargo add shuttle-runtime@{version}.
This lets the user quickly copy-paste the given line, instead of having to
manually edit Cargo.toml. Note that if the user is using other shuttle
crates (ie shuttle-aws-rds, shuttle-rocket, etc), this copy-paste line will
not update those, and the user will have to update them by manually editing
Cargo.toml. I didn't add shuttle-* crates to the cargo update
command, because that would install every crate, even if the user isn't using
them.
Maybe someone on the team knows if it's easy enough to tell which shuttle-*
crates a project is using, and then we can amend the command to explicitly
include those crates?

Thanks for the initiative!
I have thought about this as well, and so far I've had the idea of adding a cargo-shuttle command that uses cargo-edit under the hood to update all shuttle dependencies simultaneously. It's not fully thought through, so there might be rough edges. (I will create an issue for it soon)
For this PR, I think we can add the cargo add command as a suggestion by extending the last sentence: ..., or run cargo add shuttle-runtime@{}

uses cargo-edit under the hood to update all shuttle dependencies simultaneously

Ahh this would be nice.
I'll modify the PR to amend the final sentence

Ah, sorry for the formatting bug. Is there anything else required for this PR to be merged?

The CI errors look like they're network related?:
https://app.circleci.com/pipelines/github/shuttle-hq/shuttle/5569/workflows/268d4039-b446-4d17-9d54-9170e439b5c2/jobs/138073:
#!/bin/bash -eo pipefail
~/.cargo/bin/sccache --start-server

sccache: Starting the server...
sccache: error: Timed out waiting for server startup

Exited with code exit status 2

CircleCI received exit code 2

https://app.circleci.com/pipelines/github/shuttle-hq/shuttle/5569/workflows/268d4039-b446-4d17-9d54-9170e439b5c2/jobs/138089:
     Running tests/integration/main.rs (target/debug/deps/integration-4644d55ee736d30c)

running 3 tests
test run::needs_docker::rocket_postgres ... ignored
INFO: Targeting non-standard API: http://shuttle.invalid:80
INFO: Targeting non-standard API: http://shuttle.invalid:80
waiting for '/home/circleci/project/examples/poem/postgres' to start up...
waiting for '/home/circleci/project/examples/poem/mongodb' to start up...
    Building /home/circleci/project/examples/poem/mongodb
    Building /home/circleci/project/examples/poem/postgres
      Failed to fetch crates
      Failed to fetch crates
run test for '/home/circleci/project/examples/poem/postgres' exited early. Did it fail to compile/run?
error: test failed, to rerun pass `-p cargo-shuttle --test integration`

Caused by:
  process didn't exit successfully: `/home/circleci/project/target/debug/deps/integration-4644d55ee736d30c needs_docker --nocapture` (exit status: 1)

Yeah, don't worry about them. All looks good now. Thanks!


build failure,how to fix it?

hi.
root@AR:/usr/local/kyle.marek-spartz.org# .stack-work/dist/i386-linux/Cabal-<IP_ADDRESS>/build/site/site build
it shows:
[ERROR] Hakyll.Core.Compiler.Require.load: css/combined.css (snapshot _final) was not found in the cache, the cache might be corrupted or the item you are referring to might not exist
root@AR:/usr/local/kyle.marek-spartz.org# ls
404.md colophon.md	   kyle-marek-spartz-org.cabal	README.md
about.md	  css		   LICENSE.md			robots.txt
build_css.sh	  echo_sitemap.sh  new_post.py			salem
build_cv.sh	  favicon.ico	   now.md			_site
build_sitemap.sh  files		   posts			site.hs
_cache		  images	   presentations		stack.yaml
check.sh	  keybase.txt	   publications			templates
root@AR:/usr/local/kyle.marek-spartz.org#
root@AR:/usr/local/kyle.marek-spartz.org# ls css
default.css  site.css  syntax.css
root@AR:/usr/local/kyle.marek-spartz.org#
indeed there is no combined.css file in /usr/local/kyle.marek-spartz.org/css/,
how to fix it?
thank you.

I run site deploy, which runs the deployCommand from the site.hs. You probably do not want to do this, as it will try to deploy the website... Instead, use the portions of https://github.com/zeckalpha/kyle.marek-spartz.org/blob/master/site.hs#L250 that you need, probably just ./build_css.sh && pushd presentations && ./build.sh && popd && ./build_cv.sh && ./build_sitemap.sh

Closing, feel free to reopen if that doesn't work.

oh,i see.
root@AR:/usr/local/kyle.marek-spartz.org# cat build_css.sh
cat css/syntax.css css/default.css css/site.css > css/combined.css
root@AR:/usr/local/kyle.marek-spartz.org# cat css/syntax.css css/default.css css/site.css > css/combined.css
root@AR:/usr/local/kyle.marek-spartz.org# .stack-work/dist/i386-linux/Cabal-<IP_ADDRESS>/build/site/site build
this time,it succeeded


Refactor lookups

This one unifies lookup and from_name by making lookup a wrapper around from_name. In particular lookup was always "eager" but this PR changes the behavior such that lookup is now lazy. This introduces subtle changes, e.g.

Note that from_name was always lazy and wasn't possible to use previously outside of app initialization – the only use case was basically things like stub.xyz = Dict.from_name("foo") and then use stub.xyz to refer to the dict once the app was hydrated.
Why are we doing this? This is a precursor to a larger change we deprecate both lookup and from_name and replace them with two other methods. If we don't merge lookup and from_name, then we will end up with 2*2 different methods. So I think it's preferable to merge lookup and from_name even though they are slightly different – the similarities are far greater imo.

This passes all integration tests, merging it.


Need to add documentation for new FormatFile command

Need to add documentation for the new FormatFile command.

I added documentation for the command.   Close the issue.


A fatal error has been detected by the Java Runtime Environment:

Please provide a brief summary of the bug
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0000754755db61f8, pid=2207, tid=2208

JRE version: OpenJDK Runtime Environment Temurin-17.0.10+7 (17.0.10+7) (build 17.0.10+7)
Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (17.0.10+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
Problematic frame:
C  [libwebkit2gtk-4.0.so.37+0xdb61f8]

Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/rajkumar/core.2207)

If you would like to submit a bug report, please visit:
https://github.com/adoptium/adoptium-support/issues
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Did you test with the latest update version?

[X] Yes

Please provide steps to reproduce where possible
No response
Expected Results
Progam is able to execute.
Actual Results
Noted as above
What Java Version are you using?
12
What is your operating system and platform?
Ubuntu 18.04
How did you install Java?
No response
Did it work before?
Yes

Did you test with other Java versions?
No response
Relevant log output
No response

See #1060


Implement command-line interface

Please, subj. :)
E.g.
youtrack --add issue --project CM
--view issue
--command issue [command]
--filter "[request command]"
etc.

@SAnCherepan can you try to implement this? :)