Update travis Node.js version & remove io.js

Looks like there are issues with contextify. Unfortunately, @brianmcd hasn't update the project in a while and it's not been working with iojs 3.0 either. Anyone know of any alternatives?

We can wait for Lodash 4 (#611) and then we won't need that test relying on contextify.

@demohi Can you merge in master to your branch? It should now run correctly under 4.0.0. I've tested locally and want to double-check against Travis.

@timdorr    I merged tha.

Looks like there's an upstream fix in webpack-dev-server (and socket.io) that isn't been released yet. It should fix all those npm build errors in Travis. But it runs, so it's good for now.


walkthrough of policies doesn't match current portal experience

Hubs tab doesn't exist in policy creation in the portal

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

ID: b0ea3309-d7f5-ee4e-9d8c-ab21a7315208
Version Independent ID: b0e1fb1e-307f-5162-383c-c7e5c8d9ab1d
Content: Tutorial: Secure your virtual hub using Azure Firewall Manager
Content Source: articles/firewall-manager/secure-cloud-network.md
Service: firewall-manager
GitHub Login: @vhorne
Microsoft Alias: victorh

Thanks for the feedback! We are currently investigating and will update you shortly.

@vhorne Could you take a look at this? Thanks!

Article updated
#please-close


Add 'b' to the prefix to compare Bytes literals

Bytes literals are always prefixed with 'b' or 'B'; they produce an instance of the bytes type instead of the str type. They may only contain ASCII characters; bytes with a numeric value of 128 or greater must be expressed with escapes.

https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals
https://stackoverflow.com/questions/6269765/what-does-the-b-character-do-in-front-of-a-string-literal

@googlebot I signed it!

Happened to hit this issue, ttc_utils.ttcfile_extract does not work on Python3, and confirmed this PR fixes.

@kojiishi Also notice this pull request #531
Your tool contextual-spacing is very nice.

Thanks for the feedback!

@kojiishi Also notice this pull request #531

Looked at #530, pip install -r requirements.txt works for me on Ubuntu, probably Mac-only issue?

Your tool contextual-spacing is very nice.

Thanks!

Thanks for the feedback!

@kojiishi Also notice this pull request #531

Looked at #530, pip install -r requirements.txt works for me on Ubuntu, probably Mac-only issue? I don't see problems in the PR but I'm not an owner of this repo.

Your tool contextual-spacing is very nice.

Thanks!

It happens on Python 3.9.


docs: Update metadata and sma docs

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?

Issue Number:
Fix #3639
Fix #3640
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

New Imports

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

Codecov Report

Merging #3661 (2210dd8) into main (a7bcd55) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3661   +/-   ##
=======================================
  Coverage   47.29%   47.29%
=======================================
  Files         112      112
  Lines        9177     9177
=======================================
  Hits         4340     4340
  Misses       4463     4463
  Partials      374      374

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 a7bcd55...2210dd8. Read the comment docs.


Allow to consume binary message content

There is no way to consume a raw content of the message.
Message content may not always be a JSON.
Converting message content to string is hardcoded in https://github.com/lanetix/node-lanetix-amqp-easy/blob/b2665d3a03fda6828938d99e2716b501a3860a49/index.js#L123.
It can be solved by adding deserialize config option with default to msg.content.toString() ex.
function consume (queueConfig, handler) {
   var options = defaults({}, queueConfig || {}, {
      exchangeType: 'topic',
      exchangeOptions: {durable: true},
      parse: JSON.parse,
      queueOptions: {durable: true},
      prefetch: 1,
      arguments: {},
      deserialize: function(msg) { return msg.content.toString() }
   })

   ...

          .then(function () {
            function parse (msg) {
              return function () {
                try {
                  msg.payload = options.parse(options.deserialize(msg))
                  //msg.json = options.parse(msg.content.toString())
                  return handler(msg, ch)
                } catch (err) {
                  console.error('Error deserializing AMQP message content.', err)
                }
              }
            }

  ...

Oh that's a very good idea. One tweak though: we already accept that parse option, so we should probably just change that so that it accepts a Buffer instead of a string and cut a new major version.
@rpieciorak do you have the time to submit a PR for this? It may take me a little while to get to this. Thanks!

I did not proposed that solution in my first comment because it would be a breaking change, but if changing current API is acceptable then I think that parse should accept a raw message.
Message properties may contain important information about how to parse a message ex. content-type.
I can make a PR after I come back from my vacations.

That sounds great, @rpieciorak!
The amount of people that will need to change their code to upgrade to the new API should be fairly small since parse is not used very extensively. As a result, changing the parse API to accommodate your use case should be fine.

Published as v5.0.0


Adding a new storage property

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Storage

@microsoft-github-policy-service agree company="Microsoft"
From: microsoft-github-policy-service[bot] @.>
Sent: Wednesday, November 13, 2024 3:19 PM
To: Azure/azure-rest-api-specs @.>
Cc: Diaa Fathalla @.>; Mention @.>
Subject: Re: [Azure/azure-rest-api-specs] Adding a new storage property (PR #31537)
@DiaaFathallahttps://github.com/DiaaFathalla please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term "You" includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement ("Agreement") is agreed to by the party signing below ("You"),
and conveys certain license rights to Microsoft Corporation and its affiliates ("Microsoft") for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
"Code" means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
"Project" means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org/).
"Submit" is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as "Not a Submission."
"Submission" means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase "Submission
containing materials of a third party:" followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project's written
guidelines concerning Submissions.
Your Employer. References to "employer" in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term "You" in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-rest-api-specs/pull/31537#issuecomment-2475020719, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6UJOVH6KQU5EVIVLKP6FKD2APM7DAVCNFSM6AAAAABRXSU5ECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZVGAZDANZRHE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

/azp run

    "isSmbOAuthEnabled": {

Replace boolean/switch properties with a more meaningful enum whenever possible.
A boolean will forever have two valid values (true or false). A string enum type is always preferred. Also, properties should always provide better values just than True and False. For example two switches "isTypeA" and "isTypeB" should be replaced with one enum "type": [A, B, DefaultType].

Refers to: specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json:3104 in 5630a6f. [](commit_id = 5630a6ff990172260c0caca79a4d22696758fa2c, deletion_comment = False)

Choose a PR Template description and add a description to this pr to have the Purpose of PR and due diligence sections added


Expose version

Addresses #17572
This PR adds a programmatic API to retrieve the version of gRPC. This method is already in use within numpy and is described in detail in PEP 396.

@lidizheng
As discussed offline, our API tests as currently written will not work with objects named with leading underscores.
I've added documentation. Sphinx doesn't seem to have an automatic function for documenting globals such as this, so I've manually documented it in the restructured text. Please let me know if you have a better approach.

@gnossen I think the way you did it is valid. Alternatively, you can use autoattribute module in reStructuredText doc here...

@lidizheng Thanks for the tip about the relative import for kokoro.
@lidizheng @ericgribkoff Any comments before merge?


Bug: complex conjugation not rendered

Where does the issue happen?
https://learn.qiskit.org/course/basics/quantum-circuits#quantum-16-0
What is the content issue?
In section 2.1 of this Python notebook:
https://github.com/Qiskit/platypus/blob/main/notebooks/basics/quantum-circuits.ipynb
There are a number of uses of \overline{...} to indicate complex conjugation.
But these are missing from the website version here:
https://learn.qiskit.org/course/basics/quantum-circuits#quantum-16-0
Screenshots

Additional information
No response

Just to add a datapoint, these do appear for me in the textbook version of the page, but only in Firefox (ver. 109.0.1) and Chrome (103.0.5028.0).

but are missing in Safari (16.3):

Ah, yeah, sorry, my bad, I should have specified that this was on Safari.

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


Using Weapons Doesn't Block Offhand Placement

Describe the bug
When firing some weapons, the offhand can still be used.
When using something like the Flint Duster, this means you'll constantly place torches as you're mining, which can be quite annoying.
To Reproduce
Steps to reproduce the behavior:

Launch the game
Place a stack of torches in your offhand
Spawn the Flint Duster
Dig a tunnel with it
See torches placed constantly

Expected behavior
To not have the offhand get used while actively using the other-hand weapon
Screenshots

Crash Reports & Logs
Not Applicable
Version Info (please complete the following information):

QuiverBow: Restrung 0.4.1
Forge <IP_ADDRESS>60
Minecraft 1.12.2

Additional context
None, really.

Weapons allow right clicks to pass through to the off-hand when they're on cooldown. The intent is that holding two weapons causes them to alternate fire. However that code path isn't even being executed in this scenario, so I'm not yet sure what's causing the observed behaviour.


Support IE Mobile

Support IE Mobile (Windows Phone 8.1+)

Is there an issue open for this at Jira?  You can open one here, or I can create one.
The issue - or description of the issue here that I will create - should provide some information about why this is needed.  Eg, which browser version, library, etc does this new user agent show up in?

There is no issue opened for this at Jira, you create one if you want to, I won't do it.
Here is the issue description:
We've used weinre library and the code is executed in webview on various mobile platforms (iOS, Android and WindowsPhone). It works fine on iOS and Android but not on WindowsPhone as IE (11) does not support overriding of standard storage functions.
All values set as storage properties are cast to String. As a result, localStorage getItem, setItem and removeItem functions are no more functions and thus, we can no longer use localStorage once weinre got initialized.
By digging into our code, it led us to weinre library code, then we found it came from this line un "weinre.web/modules/weinre/common/HookLib.coffee".
The test originally made to avoid this issue on IE was made for the Desktop version of IE but did not take the Mobile version into account that's why I just suggested to add "IEMobile" to this condition.
WindowsPhone uses a slightly different version of IE 11.
Let me know if you think this fix is appropriate.

@sgrebnov I believe you added this bit of code way back when; anything else we need to look out for here?

I've opened https://issues.apache.org/jira/browse/CB-10886
Also, just wanted to let you know there are better tools than weinre available now.  Info here, but honestly not sure what the state of debug on Windows phones is currently:
http://people.apache.org/~pmuellr/weinre/docs/latest/

Thank you.
You're right for WindowsPhone (for example), Visual Studio is well suited to debuggued webviews but it actually requires to use Visual Studio itself. Our web dev work on Unix machines and use Weinre for remote debugging. This way they can debug the same webview piece of code executed on different webview from different mobile platforms.

Thanks for the PR, but we are deprecating weinre and we won't do more releases, so we won't merge this. Sorry


[RTM] store scratch directories in artifacts

This PR increases the verbosity of our tests by generating workflow graphs and saving scratch directories (however this is only restricted to txt rst svg and html files to save time).
Saving scratch comes at increaseing test time to 9 minutes.

I managed to bring it down to 6 minutes. This is ready to merge.


[BUG] app-debug-androidTest.apk not fully rebuildable

Information

Apktool Version (apktool -version) - Latest.
Operating System (Mac, Linux, Windows) - Windows.
APK From? (Playstore, ROM, Other) - Custom.

 Let Android Studio build the APKs.

Decode the test APK.

$ apktool d app-debug-androidTest.apk -f
I: Using Apktool 2.6.0 on app-debug-androidTest.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Michael\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

Rebuild the test APK.

$ apktool b
I: Using Apktool 2.6.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes4 folder into classes4.dex...
I: Checking whether resources has changed...
I: Building resources...
W: Error copying file: resources.arsc
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...

Decode the rebuilt test APK again.

$ apktool d app-debug-androidTest.apk
I: Using Apktool 2.6.0 on app-debug-androidTest.apk
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes4.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

Show the content of it.

$ ls app-debug-androidTest
apktool.yml  original  smali  smali_classes2  smali_classes3  smali_classes4  unknown

In step 2, a warning is produced that the resources.arsc couldn't be copied succesfully and this seems to be actual problem.
As you can observe in the final output, the AndroidManifest.xml is missing among other things. If you look inside the res folder of the original APK, you will notice that only an empty public.xml file is present. I suppose that Android Studio is generating this test APK in an optimized way, which may not allow further modifications to the resources, e.g. the manifest. If you don't decode the resources (apktool d -r) and rebuild it that way, it works. So I am curious, is this actually a bug of apktool or does Android Studio assume that the test APK shouldn't be modified at all? Moreover, should apktool may throw an error instead of the warning when the resources can't be copied/encoded properly?
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
APK
If this APK can be freely shared, please upload/attach a link to it.
app-debug-androidTest.zip
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? YES
If you are trying to install a modified apk, did you resign it? YES
Are you using the latest apktool version? YES

I took a look at this and the root issue I see is this packed resources.arsc finally just has next to no contents.
➜  2738 aapt d --values resources app-debug-androidTest.apk
Package Groups (1)
Package Group 0 id=0x7f packageCount=1 name=com.example.abcquiz.test
➜  2738

Like the file is entirely empty, so there are no resources for Apktool to attempt to disassemble. So I'm going to close this as I don't believe there is anything Apktool can do here given the source application.
➜  2738 xxd resources.arsc
00000000: 0200 0c00 8001 0000 0100 0000 0100 1c00  ................
00000010: 1c00 0000 0000 0000 0000 0000 0001 0000  ................
00000020: 1c00 0000 0000 0000 0002 2001 5801 0000  .......... .

So to close, I believe since Apktool is throwing a warning (not failing) given no resources. This is intended behavior.

@auermich93 - do you have the source project you did to generate this?

Sorry @iBotPeaches,  I didn't get that notification although you tagged me. I have attached the source code.
ABCQuiz-master.zip


Remove ability to watch multiple namespaces (its either all or one namespace)

Currently the framework allows to watch either all-namespaces or one namespaces, but also a list of namespaces. The problem is that when we watch a list of namespaces we create a informer for each namespace. This however would anyways complicate things with informers (InformerEventSource), so the reconciler would also need to create informers for each namespace. This is problematic, since we can now configure watched namespaces for the controller, but not supported this for the informers at all. What could also cause confusion.
We should consider/discuss the remove this functionality. So the operator will either watch all or just one namespace. This will mainly simplify the implementation.
From organisational perspective, usually platform teams deploy operators for the whole cluster. Would it be too hard requirement to deploy the operator for each namespace, if for some reason somebody decides that a production operator needs to handle only selected namespaces.

would be good to hear opinions: @metacosm @adam-sandor @andreaTP @lburgazzoli

It would definitely simplify things so I'm in favor of it and I indeed haven't run into use cases where this was needed. Maybe @shawkins or @ppatierno might, though?

+1 to watch either a single namespace or all

it's fine to watch a single namespace or all.
But, thinking about OLM and future development, we should have an additional layer of filtering (e.g. by labels)

I gather since it's accounted for in OLM that some users have pushed for it, but we have not needed to use that feature.

But, thinking about OLM and future development, we should have an additional layer of filtering (e.g. by labels)

AFAIK, in 1.x there were a way to add a label selection when configuring a controller.

it's fine to watch a single namespace or all.
But, thinking about OLM and future development, we should have an additional layer of filtering (e.g. by labels)

filtering by labels is already there.

I think this issue is also about the permission, currently it is also possible to filter even by namespace *.
So if we want to 100% sure that the operator does not have access to other namespaces (thus cluster wide permissions) this might be a useful feature.

not using the capabilities of Kubernetes API but a custom filter, that receives all the events but filters out the ones which are not for a desired namespace. This is not that nice since there can be lot's of events received unnecessarily.

Indeed, we need to take into account the permission aspects where for many organization giving cluster-wide permissions to an operator is a no-go…

Posted this on Operators channel on Kubernetes Slack: https://kubernetes.slack.com/archives/CAW0GV7A5/p1642511565114100

The dependent resource branch deals with this (it has added some generalization around generating informers for each namespace)… As much as I would like to remove this feature since it simplifies things, I think we need to keep it because it helps users who don't want to or cannot deploy their operator with cluster-wide access…

As mentioned in the slack in that case it's deployed in every namespace (what is not great, not terrible). But I agree to leave this, if it don't complicate things too much.

As mentioned in the slack in that case it's deployed in every namespace (what is not great, not terrible).
How is that done, though, if you have dynamically created namespaces in a multi-tenant environment? Or do you need an operator to automatically deploy your other operator to your namespaces? :)

Not sure what you mean by dynamically. In my experience, usually a product team does not have the rights to create namespaces. But the platform team creates for them upfront. In that case event the team could deploy the operator to their namespace(s), if they have the permissions.

Not sure what you mean by dynamically.

Consider the OpenShift sandbox use case for example: you sign up, the platform generates a couple of namespaces for you automatically, there's no manual process involved here.

Hope I'm not too late.
In our organization, the cluster is multi-tenant and each tenant has only access to a few namespaces. The one given to the tenant and the ones the tenant is able to create on its own.
We can't deploy cluster wide operator.
Currently, we do not use Informer and like @ppatierno we do periodic reconciliations and fetch dependent resource each time.
While it should be possible for some scenario to deploy one controler per namespace, we have some use cases where it will not be possible :

the reconciler watches CR in many namespaces and dependent resources are in those namespaces, but not necessarly the same as the CR. (Think of an operator syncing resources between namespace). We should be able to create an informer for each target namespaces.
the reconciler watches CR in one namespaces and should watch for dependent resources in namespaces target by the CR spec. In this case, dependent namespaces to watch are known dynamically from the CR. We should be able to register/unregister informer based on the content of primary cache.

Last case can be mitigated by configuring the operator to watch each namespace a dependent resource is expected to be. The operators must have right on the namespace, so there is already some configuration involved. It would just be an optimization to not create informer on non used namespace.
What I would want to do is something like
var namespaces = context.getConfigurationService().getConfigurationFor(this).getEffectiveNamespaces();
        return namespaces.stream()
                .map(namespace -> new InformerEventSource<>(
                        client.resources(FooDependent.class).inNamespace(namespace).runnableInformer(0),
                        t -> ...,
                        x -> ...,
                        true))
                .collect(Collectors.toList());

* the reconciler watches CR in many namespaces and dependent resources are in those namespaces, but not necessarly the same as the CR. (Think of an operator syncing resources between namespace). We should be able to create an informer for each target namespaces.

This use case should be covered by the dependent resources work. If you look at the tomcat sample, you'll see that the TomcatReconciler defines dependent resources, one for a Deployment and another for a Service:
https://github.com/java-operator-sdk/java-operator-sdk/blob/06893df73395a5a2c9d5803c24663159960c53a3/sample-operators/tomcat-operator/src/main/java/io/javaoperatorsdk/operator/sample/TomcatReconciler.java#L26-L32
Since these dependent resources are Kubernetes-one, the SDK automatically generates an InformerEventSource for them that you can further configure using the KubernetesDependent annotation as seen here:
https://github.com/java-operator-sdk/java-operator-sdk/blob/06893df73395a5a2c9d5803c24663159960c53a3/sample-operators/tomcat-operator/src/main/java/io/javaoperatorsdk/operator/sample/DeploymentDependentResource.java#L12-L15
In the above situation, we're configuring the informer to filter events based on the specified label selector (so that our event source only triggers our TomcatReconciler for events targeting Deployments with the given label) but you can also specify a list of namespaces using the namespaces field on the KubernetesDependent annotation, which is what you would use to address your use case. You would specify the list of namespaces for which the SDK needs to listen for dependent events.

* the reconciler watches CR in one namespaces and should watch for dependent resources in namespaces target by the CR spec. In this case, dependent namespaces to watch are known dynamically from the CR. We should be able to register/unregister informer based on the content of primary cache.

That's an interesting use case that is not currently covered by the dependent resources work. Would you mind opening an issue to describe the use case in greater detail?

Last case can be mitigated by configuring the operator to watch each namespace a dependent resource is expected to be. The operators must have right on the namespace, so there is already some configuration involved. It would just be an optimization to not create informer on non used namespace.
What I would want to do is something like
var namespaces = context.getConfigurationService().getConfigurationFor(this).getEffectiveNamespaces();
        return namespaces.stream()
                .map(namespace -> new InformerEventSource<>(
                        client.resources(FooDependent.class).inNamespace(namespace).runnableInformer(0),
                        t -> ...,
                        x -> ...,
                        true))
                .collect(Collectors.toList());

Unless I'm misunderstanding what you're saying, I believe this is covered by the KubernetesDependent annotation and its namespaces field… I would be interested in hearing your feedback to see if it matches your needs…

@metacosm @scrocquesel As we discussed before the dependent resources (what is in incubation phase now has this support). But this should be also "elegantly" supported without the dependent resources.

I would suggest that we wait before extracting this feature because I think this makes sense pretty much only in the context of dependent resources. So I would suggest people try it out and let us know how it works for their use cases before investing efforts in extracting that feature and backporting it to the older 2.0.x branch.

I would suggest that we wait before extracting this feature because I think this makes sense pretty much only in the context of dependent resources. So I would suggest people try it out and let us know how it works for their use cases before investing efforts in extracting that feature and backporting it to the older 2.0.x branch.

Why wouldn't it make sense without dependent resources? The lower level API's are meant to be more generic then dependent resources.

* the reconciler watches CR in many namespaces and dependent resources are in those namespaces, but not necessarly the same as the CR. (Think of an operator syncing resources between namespace). We should be able to create an informer for each target namespaces.

This use case should be covered by the dependent resources work. If you look at the tomcat sample, you'll see that the TomcatReconciler defines dependent resources, one for a Deployment and another for a Service:
https://github.com/java-operator-sdk/java-operator-sdk/blob/06893df73395a5a2c9d5803c24663159960c53a3/sample-operators/tomcat-operator/src/main/java/io/javaoperatorsdk/operator/sample/TomcatReconciler.java#L26-L32
Since these dependent resources are Kubernetes-one, the SDK automatically generates an InformerEventSource for them that you can further configure using the KubernetesDependent annotation as seen here:
https://github.com/java-operator-sdk/java-operator-sdk/blob/06893df73395a5a2c9d5803c24663159960c53a3/sample-operators/tomcat-operator/src/main/java/io/javaoperatorsdk/operator/sample/DeploymentDependentResource.java#L12-L15
In the above situation, we're configuring the informer to filter events based on the specified label selector (so that our event source only triggers our TomcatReconciler for events targeting Deployments with the given label) but you can also specify a list of namespaces using the namespaces field on the KubernetesDependent annotation, which is what you would use to address your use case. You would specify the list of namespaces for which the SDK needs to listen for dependent events.

Yes, looking at the code, it does. Is there an easy way to tell to watch the same namespace as the primary controler ? I think that in the vast majority of use case, dependent resources will be in the same namespaces as the primary resource. So, by default, I would link both configuration. In Quarkus, there is an application.properties to configure namespace of the a controler, and this will avoid to configure the same value twice.

* the reconciler watches CR in one namespaces and should watch for dependent resources in namespaces target by the CR spec. In this case, dependent namespaces to watch are known dynamically from the CR. We should be able to register/unregister informer based on the content of primary cache.

That's an interesting use case that is not currently covered by the dependent resources work. Would you mind opening an issue to describe the use case in greater detail?

I'll do.

Last case can be mitigated by configuring the operator to watch each namespace a dependent resource is expected to be. The operators must have right on the namespace, so there is already some configuration involved. It would just be an optimization to not create informer on non used namespace.
What I would want to do is something like
var namespaces = context.getConfigurationService().getConfigurationFor(this).getEffectiveNamespaces();
        return namespaces.stream()
                .map(namespace -> new InformerEventSource<>(
                        client.resources(FooDependent.class).inNamespace(namespace).runnableInformer(0),
                        t -> ...,
                        x -> ...,
                        true))
                .collect(Collectors.toList());

Unless I'm misunderstanding what you're saying, I believe this is covered by the KubernetesDependent annotation and its namespaces field… I would be interested in hearing your feedback to see if it matches your needs…

Yes, adding event source for each namespace in the Informer does the trick.

This should be closed because there are users who depend on the ability to watch only some namespaces.


bug: upsert panics with UUID PK

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
panic: interface conversion: driver.Value is []uint8, not uuid.UUID

goroutine 1 [running]:
ent-id-repro/ent.(*UserCreate).sqlSave(0xc0000aa720, {0x76aa18, 0xc0000a8300})
        /src/ogen/ent-id-repro/ent/user_create.go:123 +0x18b
ent-id-repro/ent.(*UserCreate).Save(0xc0000aa720, {0x76aa18, 0xc0000a8300})
        /src/ogen/ent-id-repro/ent/user_create.go:53 +0x1bc
ent-id-repro/ent.(*UserUpsertOne).ID(0xc000010060, {0x76aa18, 0xc0000a8300})
        /src/ogen/ent-id-repro/ent/user_create.go:304 +0xa5
main.run({0x76aa18, 0xc0000a8300}, 0xc000126000)
        /src/ogen/ent-id-repro/main.go:41 +0x4fa
main.main()
        /src/ogen/ent-id-repro/main.go:59 +0xe5
exit status 2

Expected Behavior 🤔
Upsert works
Steps to Reproduce 🕹

type User struct {
	ent.Schema
}

func (User) Fields() []ent.Field {
	return []ent.Field{
		field.UUID("id", uuid.New()),
		field.String("name").Unique(),
	}
}

id, err := client.User.Create().
	SetID(uuid.New()).
	SetName("foo").OnConflict(
	sql.ConflictColumns("name"),
	sql.ResolveWithNewValues(),
UpdateNewValues().
ID(ctx)

Steps:

field.UUID("id", uuid.New()),
OnConflict + UpdateNewValues
panic

Repro repo: ernado/ent-issue-2057-repro

user_create.go#L123
user_create.go#L53
user_create.go#L304

Your Environment 🌎

Tech
Version

Go
1.17

Ent
0.9.1

Database
PostgreSQL

Driver
github.com/lib/pq

No worries, and sorry for the inconvenience. I hope to release a new version next week.
Thanks, and it's great to see you here again 😃

I also faced the same problem, but it was solved , Thank you
note
$ go get -u entgo.io/ent@HEAD


Provide a Link and Screenshot of your favorite GDSC Tweets

Follow the instructions in the README.md file to complete this task.

I did just that sir


Update verifySignature

The previous version of verifySignature was not working, here is working version

 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.


Draft goals

Document the goals of the conformance program and start gathering important ideas that will need to be part of the standard.
Inspiration:

Prometheus https://github.com/cncf/prometheus-conformance
Kubernetes https://www.cncf.io/certification/software-conformance/
Crossplane https://github.com/cncf/crossplane-conformance
https://github.com/argoproj/argo-conformance-program/blob/main/README.md

Notes from committee meeting 9/16. The decision was made to move forward in creating the standard.
Do we think a conformance program is merited?

[Henrik] conformance done right will help, done wrong will harm
[Hong] Don’t want to feel rushed on this
Is there an impact on graduation, this may be too much and a mixed-signal
Argo brand wasn’t built in a month, it took 4 years.
User experience is very important and unique
(Jann) The value to Kubernetes for conformance is you know your manifests will run, the API is clear and works. Is this a use case that exists for Argo?
[Hong] GitOps engine is more straightforward for certification, Argo is more than just the API
[Dan] Anyone can take and fork Argo, the name is a carrot we can use to ensure interoperability
[Hong] if anyone forks it could bring bad impressions onto the project
[Jann] Amazon or Google could offer Workflows but call it their own thing. Conformance can drive additional resources into the project. We’ve seen this in Codefresh and Redhat.
[Hong] Argo brand is more important than our brand, someone could take Argo and meet conformance but not contribute back
[Henrik] Intuit wants Argo to be strong and to grow the community, this is why we OSS in the beginning. We want to make sure the brand is maintained and the distributions that come out are Argo. I’d like some requirements to maintain some level of contribution to the project, something like 2 members on the project
[Hong] How expensive to maintain conformance?
[Henrik] usually conformance is tied to a version or a year. The CNCF provides legal resources to take action when people fall out of compliance. Trademark is one of the biggest things they have
[Hong] need to make sure we’re clear on the value, and enforcement. Jesse and I are more conservative on this. Ok to work on the proposal, want to make sure it’s strong enough to actually present. It can’t be thrown together. If we put something up that’s not beneficial it could drive people away.
[Hong] I’m more concerned about the use of the name, Prometheus is a certification more so than permission to use the name.
[ ] What are the sacred cows
#1 Good for the community
CNCF Member
API Compatability
User Interface consistency ****
Potentially underlying code consistency, is there a way to enforce this? What do we get and give up?
Contributions to the community

Conformant products are required to be up-to-date with latest stable argo releases.


bed files for available tissues are not found by the registry

@6cdb55b Fixed a problem with creation of tissue ids (e.g. kidney (EN_ENH, F5_ENH)).
The operation inserted source ids (EN_ENH) from dict.keys() which has unpredictable order. Since new registry instance (and tissue map) is created at every request (see #6) tissue ids between UI and registry got out of sync.


Deployment of Litmus through ArgoCD is causing Chaos Workflows to remain in a Pending State, thereby preventing them from running.

What happened:
I've deployed Litmus on a Google Kubernetes Engine using ArgoCD with helm charts litmus[3.8.0] and litmus-agent[3.8.2]. Although all my workloads are operating properly without any errors or issues, I'm encountering a problem where all my Chaos experiment runs remain in a pending state and never transition to the running state.
GKE Version: 1.27.14-gke.1042001
Argocd Version: v2.10.9+c071af8
Chaos-Experiments Image

Subscriber Logs

The logs from the Subscriber clearly indicating that the experiment is being created, however, it does not proceed to the running state.
What you expected to happen:
I want the experiments to execute seamlessly, without getting stuck in a queued or pending state.
Where can this issue be corrected? (optional)

How to reproduce it (as minimally and precisely as possible):
I manually triggered the workflow using the kubectl apply command, after removing the "workflows.argoproj.io/controller-instanceid: " label. As a result, the experiment ran smoothly. However, this information was not logged in the Litmus user interface.
Anything else we need to know?:
When I run the deployment locally using a direct Helm installation, everything works correctly. However, I encounter issues when deploying via ArgoCD, specifically with experiments getting stuck. I would appreciate if you could attempt to replicate this problem by deploying through ArgoCD.

hi @Vineeth-varma did you get this issue https://github.com/litmuschaos/litmus/issues/4786 while installing via argocd ?


Fix failing CI tests

MKL_jll v2024.0.0 fails to compile on several systems I've tried. Package dependencies should be set up to prevent installation, but resolving versions occasionally fails and installs this version anyway.

If possible I would try to avoid using the separate Project.toml file in the test directory. Although the Julia docs makes it seem like this is the newer recommended method, it breaks all the time. Every other package I've seen on github still uses the old format with the [extras] field so I would suggest still doing that. You should be able to specify versions in the usual way in the [deps] section.
What is the problem with the new MKL? Is this a problem that everyone is having?

I've pinned MKL_jll.jl < 2024 within the main Project file now, which was thankfully possible with all existing dependencies.
I believe what's happening is that the main dependencies resolve MKL_jll@v2024 via LinearSolve.jl.
Requiring MKL.jl for tests should downgrade MKL_jll<v2024 as per compat entries for MKL.jl, but that doesn't appear to happen.


4张各12G的显卡仍然CUDA out of memory

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 112.00 MiB. GPU 0 has a total capacty of 10.75 GiB of which 105.62 MiB is free. Including non-PyTorch memory, this process has 10.65 GiB memory in use. Of the allocated memory 10.49 GiB is allocated by PyTorch, and 1.63 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

我看模型文件很小啊。是不是还需要设置什么一个环境变量才能把4张卡都用起来？
先谢过各位了！

请提供下pytorch版本和推理代码

@iceflame89 就是README里的代码。我换成了int4量化版后可以用了，可能还确实是显存不够吧。谢谢您！

@CanvaChen 所以要是能支持多显卡就好了


[bug] failed to scan j2objc-annotations-1.3.jar

Describe the bug
Failed to scan [*/.m2/repository/io/grpc/grpc-alts/1.30.0/j2objc-annotations-1.3.jar] from classloader hierarchy
java.io.IOException: java.lang.reflect.InvocationTargetException
To Reproduce
Steps to reproduce the behavior:

mvn spring-boot:run
See tomcat.util.scan.StandardJarScanner log

it seems to be related to spring dev tools

it seems to be related to spring dev tools


chore: switch to ruff

Move to using Ruff.

Ups, sorry, I just pushed something. Can you rebase on main?

Sure, but let me fix my typo first. :)


Autocomplete for Find Type

It would be great if find type in the atom plugin for Dart supported autocomplete. Right now, I have to type a search term and press Enter which will show me results in the right window pane:

Find file on the other hand has autocomplete and is all kinds of wonderful:

Makes sense - we should try and hook into whatever list filtering they're doing.


training dataset with images

Hello, can you provide a download link of trai ning images?

Mat I know if there is any updates to this? I tried matching the name of the JSON files to the PDF files but they don't seem to match.


Need help

Installed all acc your advice and all went fine. but when start your moule i got this:

All pathes seems right:

what is wrong, canyou help

Installed all acc your advice and all went fine. but when start your moule i got this:  All pathes seems right:  what is wrong, canyou help

Looks like you missed the prerequisit for the dns module.
If on linux host execute:
PWSH Install-Module "DnsClient-PS"
Than you should be able to start the module

Hi Martijn,
works so far:
Puted your adapted yaml in the evcc.yaml
But when i start evcc application i get first this message:
Fehler beim Starten. Überprüfe deine Konfiguration und starte neu.
While parsing config: yaml: line 53: did not find expected '-' indicator
And when i move - name… to the left i get this:
Fehler beim Starten. Überprüfe deine Konfiguration und starte neu.
While parsing config: yaml: line 55: mapping values are not allowed in this context
Please, can you help one more time?
Mit freundlichem Gruß
Best regards
Gerd Kötter
Von: Martijn (Scriptkiddie) van Geffen @.>
Gesendet: Sonntag, 22. Dezember 2024 17:13
An: MartijnvanGeffen13/Volvo4evcc @.>
Cc: Blomquist10 @.>; Author @.>
Betreff: Re: [MartijnvanGeffen13/Volvo4evcc] Need help (Issue #36)
Installed all acc your advice and all went fine. but when start your moule i got this: All pathes seems right: what is wrong, canyou help
Looks like you missed the prerequisit for the dns module.
If on linux host execute:
PWSH Install-Module "DnsClient-PS"
Than you should be able to start the module
—
Reply to this email directly, view it on GitHub https://github.com/MartijnvanGeffen13/Volvo4evcc/issues/36#issuecomment-2558505914 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIL2HVOHPMTLEYVFTLMXNL2G3QHVAVCNFSM6AAAAABUBWM62GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGUYDKOJRGQ .
You are receiving this because you authored the thread.Message ID: @.***>

sure,
Can you post the relevant part of the Yaml code here how you have it atm.

You mean this file
Mit freundlichem Gruß
Best regards
Gerd Kötter
Von: Martijn (Scriptkiddie) van Geffen @.>
Gesendet: Sonntag, 22. Dezember 2024 21:34
An: MartijnvanGeffen13/Volvo4evcc @.>
Cc: Blomquist10 @.>; Author @.>
Betreff: Re: [MartijnvanGeffen13/Volvo4evcc] Need help (Issue #36)
sure,
Can you post the relevant part of the Yaml code here how you have it atm.
—
Reply to this email directly, view it on GitHub https://github.com/MartijnvanGeffen13/Volvo4evcc/issues/36#issuecomment-2558589884 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIL2HV6XTENIPVYANOY6YL2G4O4JAVCNFSM6AAAAABUBWM62GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGU4DSOBYGQ .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AWIL2HWBNBUOII65Q7PTQW32G4O4JA5CNFSM6AAAAABUBWM62GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUYQD53Y.gif Message ID: @.*** @.***> >

Note if you reply via mail the images dont load ,
I see your post but not the content

Thank's Martijn, this is my christmas gift from you, i'm really happy

Good to hear,  and enjoy.
You might also want to check out the integrated weather module, its described in the wiki. I am running with it for weeks now must say its pretty good. Hardly have to touch the solar / snell buttons anymore

Closing this issue as resolved


ROX-25822: Query nvd cvss for vuln report

This PR adds nvd cvss field to vuln report
Tested these changes by manually dwnloading report when nvdcvss filter is set to truwe and when filter is set to false
RHACS_Vulnerability_Report_Test_09_October_2024_false.csv
RHACS_Vulnerability_Report_Test_08_October_2024 2_true.csv
User-facing documentation

[ ] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change

change me!

/retest


Switch Mixer tracing package to use jaeger library.

What this PR does / why we need it:
This PR switches Mixer from using the openzipkin tracing library to the jaeger tracing library for tracing Mixer functions.
This switch accomplishes a few key items:

Adds Mixer support for Jaeger backends
Removes the need for a custom fork of the OpenZipkin library
Adds better flag support for tracing control
Enables development of Jaeger adapter (library conflict with OpenZipkin library).

It deprecates the --traceOutput flag and replaces it with several additional flags:

zipkinURL,
jaegerURL
logTraceSpans

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Fixes https://github.com/istio/old_mixer_repo/issues/1352
Special notes for your reviewer:
Release note:

Add Jaeger support to Mixer.

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

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

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

/retest all

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

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

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

PTAL.

@jmuk can you ensure that this branch has the good memory characteristics that we fixed for openzipkin-go ? If that checks out this is great.

Tried a bit, I don't see any memory issues like the ones in openzipkin-go.

Note that with this PR we are using a an actively developed library that support both Jaeger and zipkin. This is great!
/lgtm

/retest all

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test istio-pilot-e2e

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

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test istio-pilot-e2e

prow/e2e-smoke.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test e2e-smoke

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

/retest

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test e2e-smoke

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

/retest

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test e2e-smoke

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

/retest

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test e2e-smoke

prow/istio-presubmit.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test istio-presubmit

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

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test e2e-smoke

prow/istio-presubmit.sh
9ae75679fc03353bc9df15c9b99696fd2b6de7bd
link
/test istio-presubmit

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

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
2024105a43802e5c6af96542025e4de23e439506
link
/test e2e-smoke

prow/istio-presubmit.sh
2384adc24135b7cafbe01192b9f3976150e89c76
link
/test istio-presubmit

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

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
ad99ff08c2d9290c0a89d2575c7a8fdccfa270d2
link
/test e2e-smoke

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

/test e2e-smoke

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
ad99ff08c2d9290c0a89d2575c7a8fdccfa270d2
link
/test e2e-smoke

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

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
ad99ff08c2d9290c0a89d2575c7a8fdccfa270d2
link
/test e2e-smoke

prow/istio-presubmit.sh
9878a6452f0e0d7b0e584728994ca1eadc1fb617
link
/test istio-presubmit

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

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
df9b289e40dc22ae8a18f057c35850a0b742b084
link
/test e2e-smoke

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

@douglas-reid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
df9b289e40dc22ae8a18f057c35850a0b742b084
link
/test e2e-smoke

prow/istio-pilot-e2e.sh
df9b289e40dc22ae8a18f057c35850a0b742b084
link
/test istio-pilot-e2e

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

/lgtm


Missing BITFIELD_RO support

Seems that predis is missing BITFIELD_RO support. It was added since Redis 6.0
https://redis.io/commands/bitfield_ro/
Currently an exception is thrown:
[Predis\ClientException]
  Command `BITFIELD_RO` is not a registered Redis command.

You can use $client->executeRaw(['BITFIELD_RO', 'foo']); in the meantime.


A completed file

This could use some more context. I want to see the schedules syntax in context of a complete file.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2ea2c851-bd1e-cddc-b4d0-e9f4112b8565
Version Independent ID: 07c23fdd-14b5-985b-1c63-3f26f3a216ad
Content: Configure schedules to run pipelines - Azure Pipelines
Content Source: docs/pipelines/process/scheduled-triggers.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @steved0x
Microsoft Alias: sdanie

Here is an example:
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger: none # No CI triggers

schedules:
- cron: '0 0 1 * *'
  displayName: Daily midnight build
  branches:
    include:
    - main
    - releases/*
    exclude:
    - releases/ancient/*

pool:
  vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
  displayName: 'Run a one-line script'

- script: |
    echo Add other tasks to build, test, and deploy your project.
    echo See https://aka.ms/yaml
  displayName: 'Run a multi-line script'


Write a GO program to check even or odd number

Description
Write a GO program to check even or odd number
Input  : 3
Output : Odd Number

How to contribute

Save the solution in check_even_or_odd_number.go file
Add check_even_or_odd_number.go file in check-even-or-odd-number folder

!assign

Hey @TechnicalAmanjeet,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


Support entry labels

Fetched entries expose labels set on the back-end.
When logging, labels can be passed in explicitly to the log_text, log_struct, or log_proto methods.  If not passed, any default values configured on the logger instance will be used.
See: #1566.

LGTM. 7 commits seems like a lot?

7 commits seems like a lot?

Two of the commits are bugfixes for already-merged-to-logging-api code. :(

You can do with the commits as you see fit. You are go to merge on my end.

I merged as-is after aborting a rebase where I tried to clean it up.


[Feature] Crafting System

Feature Ticket 1:
Description
We will implement a user interface which allows a user to open and close a menu from a crafting table.  The menu will allow users to take steel and wood resources to craft a sword.
SubFeatures

Menu that will allow users to interact with the crafting system.
Logic behind crafting that allows users to combine items
Visual design of crafting table, system, wood and steel.

This ticket relies on the user class being implemented and on the user being allowed to interact with objects. It will also rely on the user inventory existing.
Milestones
List of sub-features you intend to have done and in Master by the end of the sprint.

Visual design of crafting table, system, wood and steel Goal 1(Aug. 20)
Logic behind crafting items Goal 2(Aug. 23)
Visual menu for crafting system that user can get from crafting table Goal 3(Aug. 26)
Menu that will allow users to interact with the crafting system. Goal 4 (Aug. 28)

Completion Deadline: Aug. 30
Extras (optional)

More weapons
Interaction with users inventory

Documentation
Members

Rohan Kollambalath (@rkoll55)
Ly Phung (@lyphng )
Yingzheng Cai (@Rey-666 )
Aadya Bhatia (@abhat0 )

@notalie @BozenX

Looks Good!


CQRS with EF6 Code First

Folks,
I am creating CQRS architecture for my web api. Is it possible to set up CQRS with EF6 code first approach? If Yes, then our cqrs domains will work as my entities for code first , Or we have to create separate entities for this?
Thanks

welcome,  my english is a little , so write code answer .
step one: create Actor sub class
class User extends Actor { ... }
class Transfer extends Actor {... }

step two:    register Actor class into domain.
const Domain = require("cqrs");

const domain = new Domain();

// register User Actor into the domain object.
domain.register(User).register(Transfer);


fix: concurrency issues with fail and addr

Description
cargo test were sometimes failing due to concurrency issue that are covered and backed by nextest.
This PR fixes the issue regarding the addr already in used discovered by @iljakuklic
It also fixes a concurrency issue with fail.
Why it does not fail on the CI ?
We're using nextest, which is a more advance and more performant test runner. Clusterisation/concurrency are handled differently between cargo-test and nextest.
What to do
We can either enforce having both nextest and cargo-test tested on the CI or advertise that we only support nextest.

Supporting both can be slower on a day to day as we'll have to replicate some logic provided by nextest or ignore some tests.
Not providing cargo-test full support can lead users to not understand why some tests are failing.

My two-cents is that we could define clearly (in the README) that tests should be run with nextest, in order to not slow down the development and keep the important feature of nextest.
PR Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added or updated tests that comprehensively prove my change is effective or that my feature works

Works well for me (with nextest)

Looks fine to me.

My two-cents is that we could define clearly (in the README) that tests should be run with nextest, in order to not slow down the development and keep the important feature of nextest.

Agreed on this btw.

Will create a ticket to upgrade the README or even create a CONTRIBUTING doc


Render CMake build summary on STATUS log level

Our Debian CI did not show the build summary, unlike the macOS CI and local builds. This happens because CMake itself on Debian appears to hide log output below STATUS level by default for whatever reason.
:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions
Check that it now renders in CI.

I should have known you would change it. You missed the compiler messages. Sorry for the late notice.

Damnit. Will change.


[WIP] ci/github: Ensure postsubmit verify/publish uses correct checkout

The initial implementation of this only allowed untrusted runs to checkout specific commits - ie untrusted code
This was due to the fact that the trusted ci run have access to secrets and permissions and therefore they should not be allowed to run anything other than the the current branch head (ie where the workflow was checked out)
The problem with this is that the target branch (ie main, release/v... ) can have moved on since the commit the ci that is being tested/run landed
This PR allows trusted code to checkout specific commits

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@wbpcode one thing i realised is that we can use the github event on/check_run rather than having azp triggering the gh workflow
this doesnt simplify much the need to properly treat un/trusted code, mostly that has the same issues
it does simplify the overall workflow, removes the needs for any additional creds to trigger

this should be fixed by #29925


Update ##How to backport instructions

Update missing parts/commands in backporting instructions.

/lgtm

/lgtm


offline_access with FilePicker

Hello,
Since offline_access is not allowed through implicit grants, does that mean that the user would need to first authorize the application (response_type=code) then they can use the FilePicker?

hi @exp0nge are you using the JS FilePicker or a native app like iOS/Android?

@daboxu I used the JS file picker. I ended up using the oauth interface then showing the file picker. I'm not sure why the file picker only supports implicit grants. I know opening in a new window became mandatory.

@exp0nge thanks for the info, you are right, we made decision on using the implicit flow because the picker was designed for the single page web application.

I guess I'll close this. I wish the picker was more flexible.


Support line jumps when migrated from Gliffy

Asked in DID-2446
When gliffy file is manually DnD directly into drawio editor or/and File > Import, line jumps are missing.
Tested in diagrams.net online 14.8.0 and draw.io 9.6.2
gliffy 2446.zip

Will be added to the next release


⚠ 366.ru has degraded performance

In 82e1249, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 3041 ms

Resolved: 366.ru performance has improved in 89f7776.


NodeJS Code Samples From Discovery

This commit stages initial support for creating NodeJS code samples
from Discovery.

Could @garrettjonesgoogle take a look at the generation code and @tbetbetbe at the generated Node sample?

PTAL @garrettjonesgoogle

Generation code LGTM

@tbetbetbe Please take a look

Please resolve #17 then update this PR to reflect the changes it recommends.

Saw LGTM on https://github.com/googleapis/toolkit/pull/18 . I'll update this one as well.

@tbetbetbe PTAL.

LGTM


Request to Add Product in Start Svelte

Hello,
I am Maheshwari Shukla from the GeekyAnts team.
We are tech enthusiasts & love the open-source community.
We ourselves have built many open source products, which you can check here.
One of our recent open-source contributions is in Svelte.
We have a website named Start Svelte where we add open source UI's or apps so that it can help other developers.
Let me know if you are interested to showcase your product on our open-source website.
If yes, then I request you to add MIT Licence in your repo.
Looking forward to hearing from you.

Sorry for the delay, feel free to use this project as you like.
I have already updated the license.


Fix customfield reactive bug and clean code

Clean Editor component to use computed property instead of editing props directly.
Remove useless console.log.
Add cloneDeep when getting custom fields to avoid reactive model bug in editing view

Splited into two PR: https://github.com/pwndoc-ng/pwndoc-ng/pull/392 and https://github.com/pwndoc-ng/pwndoc-ng/pull/393


Option to automatically namespace static data

Expands usage to allow for a single configuration option, namespaced: boolean, so that all static data will be namespaced into $static component property.
This is solely to avoid conflicts with other options and reactive data (same name, for instance), and helps you to remember which data is or isn't reactive.
Also, tried to add type definitions for TypeScript users, but my knowledge is not enough to extend Vue types.
Example usage with option and namespace:
import VueStatic from 'vue-static';

Vue.use(VueStatic, {
  namespaced: true
});

<template>
  <div>
    Reactive data: {{ normalData }}
    Static data: {{ $static.nonChangingValue }}
  </div>
</template>

<script>
export default {
  data() {
    return {
      normalData: 'this will be reactive'
    };
  },
  static() {
    return {
      nonChangingValue: 'this will not'
    };
  }
}
</script>

Thank you, good idea and clean code.


[AutoPR alertsmanagement/resource-manager] AlertsManagement RP Public preview Swagger Spec

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3431

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/2253


Fix the LocationTest unit tests

Hadoop 2.0-alhpa doesn’t support “x” mode in file permission.

LGTM


I'm not able to install pyvsc package, it fails when handling the pyboolector module

Hello,
I'm trying to install this new package "pyvsc", but it generates an error that I can't seem to shake.
c:\Users\hawan\Downloads\emacs_dir\emacs\bin>  pip install pyvsc
pip install pyvsc
Collecting pyvsc
Using cached pyvsc-<IP_ADDRESS>66255343-py2.py3-none-any.whl (160 kB)
Collecting pyboolector>=3.2.2
Downloading PyBoolector-<IP_ADDRESS>30105.5.tar.gz (21 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 1
[7 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\hawan\AppData\Local\Temp\pip-install-6efnoabb\pyboolector_302b91c0cf0c4a7eb673d33dc9dba1bf\setup.py", line 14, in
with open(cmakelists_txt, "r") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\hawan\AppData\Local\Temp\pip-install-6efnoabb\CMakeLists.txt'
[end of output]
In reading posts associated with pyboolector,  I also tried installing pyboolector seperately, but I get the same error:
c:\Users\hawan\Downloads\emacs_dir\emacs\bin>   -m pip install pyboolector
**I'm not versed in the installation flow...any help is much appreciated.
my environment info:

Windows 11
python  3.11.1
**

I think PyBoolector might only have binaries built for Linux and Mac, while Windows will have to build from source. Hence why it's grabbing a tar.gz rather than the whl file. I'm guessing something with cmake is wrong or not installed, or perhaps something with the windows build process is broken?
Source and pre-built wheel/binaries for Linux/Mac:
https://pypi.org/project/PyBoolector/<IP_ADDRESS>30105.5/#files

@alwilson, @mahawana, Yes, pre-built binaries are currently only available for Linux and Mac. Unfortunately, Boolector currently depends on using mingw/msys compilers on Windows, and pre-built binary packages for Python require that the Visual Studio compiler be used.
@mahawana, you could try compiling Boolector and its Python extension on Windows using the instructions provided by the Boolector project. This should allow you to use PyVSC.

@mahawana upgrade your pip
pip install --upgrade pip
https://github.com/Boolector/boolector/issues/175


ETH and Token Streaming Challenge

Closes #4
Summary

Based on answers to my previous questions, my suggestion is to simplify the challenge to be only ETH streaming for level 1 and maybe consider adding a level 2 challenge that involves partial withdraws and allows for streams of any ERC20s
Based the thematic challenge description around The StreamWeavers and novel asset allocation mechanisms
Stream contract only handles ETH and allows for multiple accounts to be granted access to streams, but is still pretty simple and straightforward
Simple withdraw method that always pulls the max amount available as controlled by cap and time since last withdrawal

Based on answers to my previous questions, my suggestion is to simplify the challenge to be only ETH streaming for level 1 and maybe consider adding a level 2 challenge that involves partial withdraws and allows for streams of any

This is a great idea to make a level 2 challenge that adds all those features. I'll add an issue for it so I don't lose your idea.


Design: Make UsbBus::alloc_ep less convoluted

It might be a good idea to track endpoint types and such outside UsbBus, and have a config_ep method too. Allocation needs to be in the driver crate to some extent to account for hardware diffences (namely endpoint count, type and memory constraints).
The optional ep_addr parameter is a hack that allows for endpoint 0 to be reserved, and additionally if somebody wants to implement a USB device that uses a specific endpoint address (e.g. to work with a badly written driver for some existing hardware).
This ties in to compile-time device and descriptor generation if/when that is implemented.

New issue: #21


Disabling groups is not working with second checkbox

Hi,
looks like the checkbox for authLDAPGroupEnable has creeped in twice.
The first one has the handling to hide the options for groups, so if I disable groups at the top, the options for groups (including the second checkbox to enable them) is hidden away.
But, that checkbox is still ticked and submitted, so groups remain enabled.
The only way to disable groups is to first uncheck the option at the bottom, then uncheck the same option at the top.
This fixes the issue by removing the bottom one of those checkboxes.

Thanks @EmTeedee!
I'll have a look at this tomorrow! (Tight scedule today :wink:)


Design Updates

Came across this site from a friend of mine and noticed the ask for design updates, please let me know your thoughts and how we can bring this to life. Not familiar with Hugo personally but very familiar with Jekyll, happy to help write some of the code if there is a good pointer to understanding Hugo structure and the like. Just a first pass on the design and have not gotten a chance to sort out the break points just yet, but a start non the less. Link to the Figma design below:
https://www.figma.com/file/2CzhQx7Q4xrjZ8O4gGKMRj/helpukraine.guide?node-id=1%3A137

Hi naher, thanks a lot! If you know jekyll, hugo should feel familiar to you, their docs are  a bit criticized for mixing reference and tutorial, but I think if you already know the basic idea of having a content folder with markdown, a layout folder with template-fragements which get nested, static/asset folders to hold css/js and images and a generator executable combining all of these into html, I think you should do okay.  Below are some links to get you started

https://gohugo.io/getting-started/quick-start/
https://retrolog.io/blog/creating-a-hugo-theme-from-scratch/


update contracts.dd to reflect DIP1009

I edited this on github, but then was unable to compile the docs it to check its final appearance in html (See here for why<EMAIL_ADDRESS>). At any rate, I'm hoping this can be looked at, in particular by @tgehr for accuracy.
Also, the grammar spec is in a different file and still needs to be changed.

But it failed to build due to trailing whitespace. I fixed that for you.
Much appreciated.

Okay, I added the grammar changes as well, but I'll need to wait for the DAutoTest to finish to check the html appearance.

Uh, the DAutoTest failed for the commits after adding the grammar files, but I don't know why.

Wow, the build log is quite an explosion of errors. I'm not sure how to diagnose!
I'm wondering if it's somehow actually testing the grammar to see if it's valid within dmd.

ping @CyberShadow

I got as far as realizing that the successful build also spews the errors. It spews about twice as much as the failed build. The failed build ended seemingly arbitrarily when it built LaTex, about halfway through the process.

Uh oh, you have angered the PDF generator :)
It seems to complain about this line somewhere:
            main(string[] args) { ... }

It's not part of this diff, so it's likely that some bit of syntax went through unescaped in the Latex intermediary file, which in turn caused some tag to not be properly closed (or prematurely closed).
The next step would be to hunt which part of this diff causes the problem, and add escapes as necessary.

I got as far as realizing that the successful build also spews the errors.

Nope, it doesn't - go to the DAutoTest page, click on the link by "Base result", then see the log linked there - there are lots of PDF warnings, but it ultimately succeeds.

go to the DAutoTest page, click on the link by "Base result", then see the log linked there - there are lots of PDF warnings, but it ultimately succeeds.

Yes, it succeeds. The failed build fails about halfway through. Search for "LaTeX Warning: Hyper reference `MAIN' on page" on the successful build, and you'll see it appears halfway through, whereas that's the line that caused the failed build to fail. Baffling! Anyway, I made two tiny edits and now have to wait again on the results.

Why don't you build it locally and see where the error is coming from?
Might be a bit faster then waiting..

Why don't you build it locally and see where the error is coming from?
Might be a bit faster then waiting..

I couldn't build it. See the first comment in this PR: https://github.com/dlang/dlang.org/pull/2339#issue-180730844

The next step would be to hunt which part of this diff causes the problem, and add escapes as necessary.

This is hard for me, because I couldn't get it to build on my machine, so I was forced to use DAutoTest. The instructions in CONTRIBUTING.md failed when "make -f posix.mak html" errored with:
"...
make[1]: Nothing to be done for `all'.
.generated/stable_dmd-2.078.2/dmd2/osx/bin/dub build --compiler=.generated/stable_dmd-2.078.2/dmd2/osx/bin/dmd --root=ddoc &&
mv ddoc/ddoc_preprocessor .generated/ddoc_preprocessor
Invalid source/import path: /Users/zach/dlang/dmd/src/dmd
Invalid source/import path: /Users/zach/dlang/dmd/generated/dub
Running pre-generate commands for dmd:frontend...
/bin/sh: ./config.sh: No such file or directory
Command failed with exit code 127
make: *** [.generated/ddoc_preprocessor] Error 2"

I remembered seeing something odd, i.e. naked '( )' in the existing class and struct invariant grammars, instead of $(LPAREN) and $(RPAREN). Let's see if that fixes it.

It seems to complain about this line somewhere: main(string[] args)

That line appears in struct.dd as part of a big commented-out section in a $(COMMENT ...). Line 406. Maybe the $(COMMENT) macro has something to do with it?

Should be fixed by #2340

I could be doing something wrong, but with that pull it still isn't reading the dub.sdl file for me:
"...
make[1]: Nothing to be done for `all'.
.generated/stable_dmd-2.078.2/dmd2/osx/bin/dub build --compiler=.generated/stable_dmd-2.078.2/dmd2/osx/bin/dmd --root=ddoc &&
mv ddoc/ddoc_preprocessor .generated/ddoc_preprocessor
No package file found in /Users/zach/dlang/dmd/, expected one of dub.json/dub.sdl/package.json
make: *** [.generated/ddoc_preprocessor] Error 2"

If it's another crazy problem with paging or whatever that causes it to break on a completely innocent-looking spot, then I don't think there's much I can do rather than suggest to drop PDF generation, or switch to a different method to generate it, like rendering+printing HTML in a headless browser.

I think the failure is related to this https://github.com/dlang/dlang.org/pull/2363#issuecomment-401639993

Your main error here is using \lstinline in the argument of another command, like most verbatim constructs that does not work. You almost got away with it except in the last case, the page break happens inside a listings block so you end up calling listings recursively inside itself and things go wrong.

https://tex.stackexchange.com/questions/229113/another-extra-or-forgotten-endgroup
However, I don't know how to fix it either. Probably breaking the Grammar sections into individual pieces could help...

I think the failure is related to this #2363 (comment)

So this makes it compile:
diff --git a/spec/function.dd b/spec/function.dd
index 685d597e..1b7b10e8 100644
--- a/spec/function.dd
+++ b/spec/function.dd
@@ -52,7 +52,11 @@ $(GNAME InOutX):
     $(D ref)
     $(RELATIVE_LINK2 return-ref-parameters, $(D return ref))
     $(D scope)
+)
+
+$(H4 $(LNAME2 grammar, foo))

+$(GRAMMAR
 $(GNAME FunctionAttributes):
     $(GLINK FunctionAttribute)
     $(GLINK FunctionAttribute) $(I FunctionAttributes)

So as mentioned just splitting up the grammar section in multiple pieces...
I pushed a more specific commit that splits the grammar up in multiple parts to your PR. Feel free to modify it, it's just a suggestion.

It passes. That is all that matters at this point. Thank you.

One last concern. Maybe we should squash into two commits, with the split being at where the grammar finally passed the pdf generation, for future reference?

Good idea.

Erm, I think I botched my pull. My git skills are clouded...

I tried to merge the existing dlang.org in my local machine before pushing it. But now there are 66 files changed, all in the last commit... hmmm...

For reference, the only files this pull is supposed to change are:
spec/contracts.dd
spec/class.dd
spec/expression.dd
spec/function.dd
spec/struct.dd

Okay, making progress. I got it down to 2 unwanted files in the pull...

Alright, I don't want my poor git skills to delay it. If you can reduce it to 2 commits do it. It currently pulls the master branch into it as the 2nd to last commit. Sorry about my git skills.

No worries. Fixed it for you ;-)

Thanks :)


Make #unsubscribe functional when both block-based subscribers and listener objects are used

Reproduction script:
#!/usr/bin/env ruby

require 'bundler/inline'

gemfile do
  source 'https://rubygems.org'

  gem 'dry-events', require: 'dry/events', path: '.'
end

class Monitor
  include Dry::Events::Publisher["Monitor"]
end

monitor = Monitor.new

AGGREGATOR = []

class Listener
  def on_test(event)
    p "listener: #{event}"
    AGGREGATOR << event
  end
end

listener = Listener.new
monitor.register_event(:test)

monitor.subscribe(:test) do |event|
  p "block #{event}"
  AGGREGATOR << event
end
monitor.subscribe(listener)

monitor.publish(:test, foo: "bar")

begin
  monitor.unsubscribe(listener)
rescue => e
  p e
  # => #<NoMethodError: undefined method `receiver' for #<Proc:0x000000010389a2e8 bin/console:29>>
end

Since Proc instances do not have a receiver, in case the same bus instance is subscribed to with a block and an event listener object, #unsubscribe raises an exception unless the target listener object exists and precedes the block-based subscribers in the #listeners hash.

Hi, is there any chance this gets merged in foreseeable future?

Hi @Aerdayne, yes, I'll try and get this looked at in the next little while.


Sample service to connect to twilio with Dapr for bindings

Hi Team,
I am working on POC for Dapr bidnings. I am able configure Dapr with Kafka,RabbitMQ .
I want to develop POC on Twilo with Dapr binding . Please provide any link which contains sample service to connect to Twilo.

https://letmebingthatforyou.com/?q=dapr twilio :)
You can also check this sample: https://github.com/dapr/samples/tree/bf1f30ad423d24ab24e34d462e5e98b9326abd56/dapr-distributed-calendar

Thank you so much for the reply.
I will try out these examples.

You are welcome.


⚠ Jenkins Plugins Artifactory has degraded performance

In bff4306, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1295 ms

Resolved: Jenkins Plugins Artifactory performance has improved in e41736e after 29 minutes.


Don't store node names as a joined string

This stores the node names as an array of strings instead of a joined string. It is preparatory work for fixing https://github.com/lezer-parser/lezer/issues/35 (and depends on the corresponding change in lezer.

 Also, I don't really see how this PR helps with that.

This doesn't help directly, but I have a future change that lets you export Typescript instead of Javascript, and then you can do:
const nodeNames = ["foo", "bar", "baz"] as const;
type NodeName = typeof nodeNames[number];

This change is a precursor to that.
I think that would be worth doing even if it isn't integrated into the parser type, since user code still might want to do things like iterate over all of the node names, or use NodeName in their code.

Iterating over node types can be done with nodeSet.types. This string is purely internal and only intended for deserialize.

Right, but you can't get a static type of all the node names from nodeSet.types because they need to be written down as a const array in the source code in order for Typescript to understand them statically.


Neither sampling nor rescoring works with a hsoftmax network (runtime errors relating to NoneType)

Thanks for creating theanolm! I tried to use it for rescoring in an ASR system, but I ran into the following problems/errors:
I've trained with:
theanolm train nn_final3_gpu.h5 --training-set final3.train --validation-file final3.val --architecture lstm400 --learning-rate 0.01 --optimization-method adam  --vocabulary-format words --vocabulary words_man_vocab.txt
So using the predefined vocabulary of the ASR model and using a network "lstm400", which is almost identical to the example h_softmax network in the docs, just smaller:
input type=word name=word_input
layer type=projection name=projection_layer input=word_input size=100
layer type=dropout name=dropout_layer_1 input=projection_layer dropout_rate=0.2
layer type=lstm name=hidden_layer_1 input=dropout_layer_1 size=400
layer type=dropout name=dropout_layer_2 input=hidden_layer_1 dropout_rate=0.2
layer type=tanh name=hidden_layer_2 input=dropout_layer_2 size=400
layer type=dropout name=dropout_layer_3 input=hidden_layer_2 dropout_rate=0.2
layer type=hsoftmax name=output_layer input=dropout_layer_3

I can train the network and I see decreasing perplexities.
When I try to sample from it, I get the following error message:
theanolm sample --num-sentences 10 nn_final3_gpu.h5
Using gpu device 0: GeForce GTX TITAN Black (CNMeM is enabled with initial size: 80.0% of memory, cuDNN Version is too old. Update to v5, was 4004.)
Reading vocabulary from network state.
Number of words in vocabulary: 419231
Number of word classes: 419231
Building neural network.
Restoring neural network state.
Building text sampler.
Un unexpected RuntimeError exception occurred. Traceback will be written to debug log. The error message was: Trying to read output distribution, while the output layer has produced only target class probabilities.

"Trying to read output distribution, while the output layer has produced only target class probabilities." So somehow theanolm thinks that I'm using word classes but I don't? self.output_layer.output_probs is None and I can see that it is being set that way when target_class_ids is not None in network/hsoftmaxlayer.py. But I don't use word classes. Also, I can see that no. of word classes is the same as no. of words. Maybe this is related to the problem?
Rescoring/decoding also expects output_probs to be defined and doesn't work because it is None.
Is this the correct way of training/using a network with h_softmax? Or is this a bug in theanolm?

Hi, thanks for reporting. You're using it correctly, but there's a change I made, regarding how the target class IDs (the classes that will be predicted) will be passed to the output layer, that apparently causes sampling not to work with hierarchical softmax. The problem is that hierarchical softmax doesn't produce the full output distribution, unless required (for sampling). I don't know why rescoring and decoding doesn't work. When doing rescoring and decoding, only target word probabilities are needed, and I'm currently using TheanoLM to decode lattices, also with hierarchical softmax. But let me fix this bug first.
TheanoLM doesn't think that you're using word classes - If you don't use word classes, each word will still be put in its own class.

The previous commit seems to fix the problem with sampling. Can you pull the latest version from Git and test if it works for you? Please reopen the issue if you still have problems with rescoring or decoding.

Oh wow, thanks for your fast response! I can confirm that sampling works now with the latest version. I will try lattice decoding later today.

Still having trouble to decode from a lattice:
theanolm decode --lattices exp/2xnew_train_newphn_i180_l4_c300_RMSProp_learn0.001_clip5.0_dropout0.0_unitfix_adddeltafalse/decode_KA3_test2/lat.1.gz --beam 10 data/lm/nn/nn_final3_gpu.h5
Reading vocabulary from network state.
Number of words in vocabulary: 419231
Number of word classes: 419231
Building neural network.
Restoring neural network state.
Building word lattice decoder.
An unexpected AttributeError exception occurred. Traceback will be written to debug log.
An unexpected AttributeError exception occurred. Traceback will be written to debug log. The error message was: 'NoneType' object has no attribute 'readlines'
2017-01-12 14:28:27,759 exception_handler: Traceback:
2017-01-12 14:28:27,759 exception_handler: File "/home/bmilde/.local/bin/theanolm", line 85, in
main()
2017-01-12 14:28:27,759 exception_handler: File "/home/bmilde/.local/bin/theanolm", line 57, in main
args.command_function(args)
2017-01-12 14:28:27,759 exception_handler: File "/home/bmilde/.local/lib/python3.4/site-packages/theanolm/commands/decode.py", line 185, in decode
lattices.extend(args.lattice_list.readlines())
The solution is rather simple, above line 185 one just needs to add a check if lattice_list is not None:
if arsg.lattice_list is not None:

Thanks. I always use --lattice-list, so I haven't noticed that bug. I'll add the fix.
Yes, I convert lattices first to SLF. (I use convert_slf_parallel.sh in the same directory.)


Feature Request: Client support for multiple applications registering from 1 process

I would like Eureka to support multiple services hosted within the same JVM,
which would allow the eureka-client to register all of them instead of the current 1 app per process model (The singleton design prevents me from creating multiple DiscoveryClients in the same JVM).
I would like to know if others may require such feature, in order to decide how to proceed with bridging this gap.
Thanks,
Elad.

This may now be possible thanks to the DI-refactoring work introduced in recent versions. You may still be stuck by the following issue though: https://github.com/Netflix/eureka/issues/554

Is there an example how code looks like to do that multi register?

Issue #554 have been addressed, so it is now possible to create multiple instances of DiscoveryClient (with their own configs) and achieve multiple registration from the same process. Note that to do this the server would have to not use Guice to create the clients.

Could you please give it a sample, thanks


scrollviewer will auto scroll to top when activate the window

Describe the bug
when I scroll down the scrollviewer and open other program and re-open the window by tab+alt or click the icon in taskbar
the scrollviewer will return to top automatically.
sometimes in the window I click white space it will scroll to top too.
Steps to reproduce the bug

create packaged project
create new Window
set the new window to modal:presenter.IsModal=true;
Activate the new window
create some textbox and a grid and add many controls to the grid
alt+tab or click white space of your desktop
re alt+tab or click the icon in taskbar to open.
you will find the bug
if you first create the control to the grid and you click the white space in the window it will scroll to top too.
if you close the modal window the original button (or other control) can not be clicked and you have to wait some seconds.

Expected behavior
1.do not scroll
2.when I close the modal the parent window control can clicked.
Screenshots

NuGet package version
None
Windows version
No response
Additional context
No response

@ljzj2 when the window gets activated, focus lands on the last focused element in that window. If the last focused element is scrolled away, then it will be brought into focus. Is that what you are seeing? That is by design.
If that is not the case, please attach the repro project.

@ranjeshj  not only window gets activated. If I just scroll to bottom then click the white space. it will auto scroll to top too.

@ljzj2 yes, that is the same case where the scrollviewer gets focus and puts focus on the first focusible element. That is by current design.