[Question] How to Perform Route Bundling for Aligned Ports in A Line?

Is there any good method for route bundling to ports aligned in a line, where the orientation of the ports is the same as the direction that lines up the ports?
For example:
import gdsfactory as gf
c = gf.Component()
array1 = c << gf.components.grating_coupler_array(rotation=0, pitch=250)
array2 = c << gf.components.grating_coupler_array(rotation=90)
array2.drotate(90)
array2.dmove((-900,500))
gf.routing.route_bundle(c, array1.ports, array2.ports, sort_ports=True,on_collision=None)

How can I get the right routes without collision?

You should be able to get this by using the route_south or north utilities first. And yes, you are right, the bundle route cannot handle this case where the ports are lined up like this. The port bundle router assumes:
For start ports:
The ports can be projected (i.e. routed) to the bounding box first without errors. This means if you draw straight lines from the ports, you won't have any collisions until you arrive at the bounding box (given or defines by the points of all ports)
For end ports:
The ports build a line after projecting them onto the bounding box (same as with start ports, but they need to build a line)


Eliminate ParseError.

Another pseudo-extraction from https://github.com/microsoft/vcpkg-tool/pull/1210 ; this means that ExpectedL is the only ExpectedT that exists.

looks good to me!


Proof of concept for suggested restructuring.

WARNING: This is untested!
It's sole purpose is to demonstrate the restructuring I suggested. If you think it's a good idea to go in this direction, then I'd be glad to take a deeper look and create a proper pull request.

thank you for your work @noniq, code looks really nice. i tested it manually and one thing needs to be add, i put comment.
also i guess require 'fileutils' is not needed any more.
now only tests wait to be fixed and also we need to have test for this nasty bug - check content of resized files after build. Ill try to take care of those.

Thanks! I'll polish it up later today. For the tests I think the most reliable way would be to use MiniMagick to check the actual dimensions of the generated files. I could try to add such tests to this PR, if you approve.

I fixed the tests and splitted the PR into 3 commits. Should all be okay now. You can ignore the last commit if you want to keep the “reuse cached thumbnails on build” behaviour.

thank you for your work @noniq! i prefer not to reuse cache in build so will merge all code as is. i also checked on my local machine tests against ruby 2.3.0dev and all are green. Not sure why travis failed on that version.


FP mitigation for ice phishing bot

Seems like this address is being reported as a known scammer, but the metadata contains no info on what label was observed. Cant really find info on this address being flagged as a known scammer.
https://explorer.forta.network/alert/0x8b95fe9bf2c444fccee06ccf0207e0234ffe8da78799560c875179522d938ca6

@christian-forta, this specific alert uses the scam sniffer db (https://github.com/scamsniffer/scam-database/blob/59e6095b990cce26e53b7afebf4811e9873449c3/blacklist/address.json#L1205). Should we take any actions?

Could you just add attribution to the alert, so it's clear where the data
is coming from? Will help troubleshooting and getting FPs addressed.
On Fri, Jun 9, 2023, 1:35 AM Vxatz @.***> wrote:

@christian-forta https://github.com/christian-forta, this specific
alert uses the scam sniffer db (
https://github.com/scamsniffer/scam-database/blob/59e6095b990cce26e53b7afebf4811e9873449c3/blacklist/address.json#L1205).
Should we take any actions?
—
Reply to this email directly, view it on GitHub
https://github.com/NethermindEth/forta-starter-kits/issues/51#issuecomment-1584187355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYF4T46YBGFU7HELTPNAHP3XKLN3LANCNFSM6AAAAAAY7W52QM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@christian-forta, changed the Finding name on these alerts to mention that it's coming from ScamSniffer.


Automatic renewal for certificate inlcuding the www alias does not work correctly

I just realised, that the automatic renewal for the certificates that are requested with the www. alias does not work correctly.
The renewed cert is only valid for the domain.tld and not for www.domain.tld
You'll need to renew the certificate manually including the www. alias

Did you initially run letsencrypt from CLI or from Plesk UI?

Plesk UI

Since version 2.0 renew process retrieves alternative names from the previous certificate.
The issue is not actual anymore.


Default filesystem data source

Three changes:

renames filesystem_unified to filesystem, which is much nicer. I’ll keep filesystem_unified around.

removes filesystem_verbose, which I believe nobody uses anymore. I’ve never seen it in the wild, and it is so annoying to work with that I doubt anyone deliberately still uses it. The default data source has been filesystem_unified for ~5 years. Backwards incompatible.

removes obsolete code for a removed --datasource option in the create-site command.

:+1:


[Decode]Fix hevc decode issue

The “m_maxBsSize” is data of type “int”, and BitsDecoded() returns data of type “unsigned long long”, when the latter is large enough, the former minus the latter may get a positive number, although the former is smaller than the latter, which will causes no exception to be thrown(even if there is not enough data to read).

I'll fix it from innerSrc pr.


how reload paging when comment

i used ionic 2 and angular2 for build app
i used ng2-pagination for paging comment
when i post new comment. i used  this.comments.unshift(comment); for insert first comment
how in template will show this comment in first and page 1.
i must be next page 2 then pervious page 1 , it show that
i want  new comment show in first and in page1 , don't next page2 then pervious page1

Hi,
I'm not sure I completely understand the issue here. Do you mean that when you unshift() an item onto the array, it does not show up in the list until you switch to page 2 and then back to page 1?
I am currently doing a major refactor and will be adding many more tests, so I can include this as a test case.

"Do you mean that when you unshift() an item onto the array, it does not show up in the list until you switch to page 2 and then back to page 1?"
yes.
how fix it

Okay. As I said, I am working on this right now so I will add this case to my unit tests and update this issue once there is a fix.

thanks so much. when are you finish  update and fix it you can send for me in issue or you can note in github

Hi, please see the latest version (beta.1) - this should be working now.


Data Collector Programming link broken

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
https://docs.microsoft.com/en-us/sql/relational-databases/data-collection/data-collection?view=sql-server-2017
Link to article:
Tell us where exactly a problem occurs.
https://docs.microsoft.com/en-us/sql/relational-databases/data-collection/data-collection?view=sql-server-2017
Problem:
What's wrong with the article?
Broken Link:
Data Collector Programming
https://msdn.microsoft.com/library/53b4752b-055d-4716-b2bc-75b4cce84101

@MightyPen Can you take a look at this feedback?

@chanmmn Hello Chanmmn,
DevOps CeApex 51329 has been created, to take over the tracking, and the fix implementation, from this Issue 864:
.
https://ceapex.visualstudio.com/Engineering/_workitems/edit/51329
Bug 51329: MSDN article lacks needed Redirector to Docs
.
Thank you for posting this Issue.  I put a link to this Issue in 51329.
I am Closing this Issue now, to let 51329 process the remaining work.
GeneMi (MightyPen)
.
#please-close


User Story: As a user, I want to delete my post(s)...

API is complete but need to add a UI component.


Community logo not limited to image types only

While creating Top-level community, probably in other cases as well, you can use ANY file in the logo drag&drop area, as well in the Browse dialog.
Would be great to limit this functionality only to image types, as the file seems to be stored as bitstream anyway.

@artlowel or @atarix83 : I could use your advice on this ticket.  Is this something that is easily validated at the UI level, or should we be thinking about doing such validation on the backend (e.g. returning an error if an improper file format was uploaded)?
Either way, to me, this isn't super high priority...but if it's fixable quickly, I'm perfectly fine with scheduling for Beta 5.
This is also loosely related to #820 , as that ticket will likely require changing the library we are using for file uploads. So, a different library might make file type validation easier or harder.

To limit it for the browse dialog is easy. We can simply add an accept="image/*" attribute to the  <input type="file">. That way only images will be selectable in the browse dialog (although the user can choose to bypass this)
As for dropped files, that might be a bit harder. The lib we're using seems to have an undocumented feature to only allow certain mime types, but there are a lot of open issues surrounding it. It doesn't appear to allow wildcards at first sight so likely we would need an exhaustive list of mime types we'd consider images. So yes, perhaps when looking for a different lib in the context of #820, we should look for one that can just use the accept attribute of the <input type="file"> it's enhancing.

Moved to 7.1 alongside #820, as it looks like this might be better fixed once we select a new angular upload library.

Moved to 7.1 alongside #820, as it looks like this might be better fixed once we select a new angular upload library.


chore: updated mdx-js/react dependency

Description
Update @mdx-js/react to newest version, will fix the issue:  https://github.com/pedronauck/docz/issues/932

This is no longer necessary since the new v2


remove alaska

Motivation
Changes

[x] Ensured that you have rebased your branch with this repo's latest master branch.
[x] Ensured that relevant issues are linked, if this PR resolves any outstanding.
[x] Added a screenshot for all UI changes (you can drag the file into this edit box and it will be uploaded).
[x] Ensured that changes to auto-generated files have not been committed; in particular, *.html, *.csv and *.json files.

Thanks for the interest. We don’t want to remove Alaska, and even if we did, this is not the right way to do it — you would need to remove it from the Python script.


Serialize UUID for non-library modules

Pull Request Description
Missing ID's in IR meant that instrumentation wouldn't be applied for loaded modules. This is the reason why after a restart engine wouldn't send any expression updates.
Closes #8689.
Important notes
After the change
Kazam_screencast_00038.webm
The video somehow doesn't show that all nodes are loaded after the restart, but once I moved the screen they are there. This appears to be a bug in the recording somehow.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[ ] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

Should also fix https://github.com/enso-org/enso/issues/8941

Should also fix #8941

Yes, the problem is going to be fixed, but only after clearing local caches. That's not fully ideal.
Please change caches version ID as the serialized form for .ir files has changed and previous caches shall not be used.

I gave up on adding a unit test. It looks like UUIDs aren't added to IdentifierLocation by default in tests which makes it particularly hard to set it up without changing the parser. This change is really annoying and I already wasted too much time on it.


import figures from outside servers

Some of the doc figures (esp. Build_on_windows.md) access images from outside our own repository. We should import those.

All imgs are local now

Done!


Lookup activity for Azure Data Factory

Hello,
In the page for the lookup activity in ADF, the doccumentation claims that this component supports REST as a source. If we create a dataset which leverages a REST connector as a source, the dataset WILL NOT show up in the options for the source datasets in the lookup activity.
Since the dataset works if the connector used is an HTTP one instead, I assume this could be a mistake with the docs page. Consider removing REST as a source option from the docs or raise this with the ADF engineering team as a possible problem with the activity itself.

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

ID: ede89f3f-055a-b123-c081-8622a9035171
Version Independent ID: c4fe312f-71a6-fe9b-e301-6e69c14ca46d
Content: Lookup activity - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/control-flow-lookup-activity.md
Service: data-factory
Sub-service: orchestration
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

Thanks for pointing this out @pgr-lopes.  This article was updated now and no longer reports REST as a supported data source type for the Lookup activity.  #please-close


Previews with render_component fail when render_monkey_patch_enabled is set to false

We are running Rails 5.2.4 and recently tried to updated the gem to 2.18. When changing all render occurrences to render_component we realized Previews were raising a NoMethodError for render_component
Steps to reproduce

Create a Rails < 6.1 application (in our case is <IP_ADDRESS>)
Define that you don't want the render method monkey-patch

Rails.application.config.view_component.render_monkey_patch_enabled = false

Create simple component like this one:

class TestComponent < ViewComponent::Base
  def initialize(title:)
    @title = title
  end
end

<span title="<%= @title %>"><%= content %>

Create associated Preview like this one

def with_default_title
  render_component(TestComponent.new(title: "Test component default")) { "Hello" }
end

Go to

http://localhost:3000/rails/view_components/test_component/with_default_title

Expected
The method render_component should render the component because we have disabled render monkey-patch
Actual behavior
The preview raises an exception because render_component isn't defined in ViewComponent::Preview
Can be easily reproduced by using https://github.com/mixergtz/view_component_fix/

@joelhawksley This is a first approximation to solve this bug. I'm more than happy to work on feedback 😄

@juanmanuelramallo I'd love to get your ✅  on this PR, as you have owned a lot of the Previews work ❤

@juanmanuelramallo Thanks a lot for your feedback! Sorry for the delay, changes are ready :)

@juanmanuelramallo let me know when this looks good to you and I'll merge 😄

@joelhawksley Looking good! just left a non-blocking question

🎉


doc/meta: make meta.description consistent with contributing document

Description of changes
Make it consistent with our new requirements.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks for accepting the suggestions, @Aleksanaa and for merging, @infinisil, both much appreciated 🙂👍


Upgrade to more recent version of electron

Remove security vulnerabilities present in:
CVE-2018-1000136
CVE-2018-1000118

/cc @zeke

Thanks!

👋


Added config for food melting recipes (fixes #688)

Added config import to TconstructIMC.java
Added food melting recipes config option to en_us lang file and NC config file

This is a fix for #688, as a config option to disable those recipes is all that's needed. The default is to set all to true (thus not changing behavior at all), but setting them to false, will not register melting recipes for cocoa nibs, sugar and gelatin, thus allowing for the use of CraftTweaker to add custom recipes instead.

Managed to fix the issue by moving the registration of the recipes to a later time - thanks for the PR regardless :)


Bad security advice on Microsoft webpage

[Enter feedback here]
Some pretty bad security advice in step 2 of the below Microsoft web page where the author recommends organisations exempt .webex.com, .zoom.us, .zoom.com, .zoomgov.com from Defender ATP safe link re-write.   If a Microsoft customer was to follow that advice they would introduce a significant risk by making it relatively easy for a malicious party to send them email with crafted urls that can easily bypass any ATP protection (ie. an email containing a web link http://attack.zoom.us.malware.com would not be re-written.   ref:
https://docs.microsoft.com/en-us/microsoftteams/rooms/third-party-join#step-2-configure-office-365-threat-protection-and-link-rewrite

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

ID: 9c62081e-2421-80b9-8ba9-aaf8fd55e432
Version Independent ID: 5df3c5e5-978f-cfa7-9e5c-3cd7f65fa8ff
Content: Enable Teams Rooms devices to join third-party meetings - Microsoft Teams
Content Source: Teams/rooms/third-party-join.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

@wdeguara Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


How do I display the RSS feed chronoligically

I've added a few RSS feeds, but I want them to be displayed from most recent to oldest, and not the opposite.
I've considered the config file but couldn't find an attribute to do that.

This would be very handy. Preferable as a default, even. It might have something to do with these bits from includes/feedviewer/code.js
const lastUpdateFormat = "%A, %B %e, %Y at %l:%M %p";
...
var pubDateString = formatDate (item.pubDate, lastUpdateFormat) + "."; 	add ("
" + pubDateString + "
");
But that's just a mostly uneducated guess on my part.


[ISSUE?] For some reason the terminal gets stuck at Worker11

No errors, no anything.
Maybe it's because of my low-end computer?
Doesn't display no errors, nothing.
Maybe I have to wait...

Found out it's a dupe #20


Request textDocument/documentSymbol failed.   Unable to find document file:///

Environment data

Language Server version: <IP_ADDRESS>

OS and version: Linux m-PC 4.15.0-30deepin-generic #31 SMP Fri Nov 30 04:29:02 UTC 2018 x86_64 GNU/Linux

Python version (& distribution if applicable, e.g. Anaconda): Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux

Expected behaviour
The file name is quite normal, but still can't open?
Actual behaviour
Unable to find document file:///home/m/Documents/bottletest/hello.py

Logs

[Error - 下午4:27:58] Unable to find document file:///home/m/Documents/bottletest/hello.py
[Error - 下午4:27:58] Request textDocument/documentSymbol failed.
  Message: Object reference not set to an instance of an object.
  Code: -32000
   at Microsoft.Python.LanguageServer.Implementation.Server.HierarchicalDocumentSymbol(DocumentSymbolParams params, CancellationToken cancellationToken) in E:\A\_work\8\s\src\LanguageServer\Impl\Implementation\Server.Symbols.cs:line 37
   at Microsoft.Python.LanguageServer.Implementation.LanguageServer.DocumentSymbol(JToken token, CancellationToken cancellationToken) in E:\A\_work\8\s\src\LanguageServer\Impl\LanguageServer.cs:line 226
[Error - 下午4:27:58] Unable to find document file:///home/m/Documents/bottletest/hello.py
[Error - 下午4:28:02] Unable to find document file:///home/m/Documents/bottletest/hello.py
[Error - 下午4:28:02] Unable to find document file:///home/m/Documents/bottletest/hello.py
[Error - 下午4:28:03] Unable to find document file:///home/m/Documents/bottletest/hello.py
[Error - 下午4:28:03] Unable to find document file:///home/m/Documents/bottletest/hello.py
[Error - 下午4:28:04] Unable to find document file:///home/m/Documents/bottletest/hello.py
[Error - 下午4:28:05] Unable to find document file:///home/m/Documents/bottletest/hello.py

Code Snippet / Additional lnformation

from bottle import route, run, static_file, template

Unable to find document file:///home/m/Documents/bottletest/hello.py

Means there is no document in the document table and hence no analysis. By any chance, does it work if project is some other location?


Fix tests

use of non-existent time.get() method
default to owlrl reasoner in test_inference.py, which will probably require fixing the tests to match the actual results

it's super weird as I fixed this one and pushed at some point. Sorry I mixed it up and thanks for the fix.

Again, please do not merge in the fixes until we can verify that they are done. Did you notice that the build failed because TravisCI timed out? This branch was not ready to be merged


contour/envoy container images should come from CRD

The image version that is used for Contour/Envoy are taken from an command line arg to the operator, but the operator should be able to derive the information from the Contour-Operator CRD such than different instance of Contour can run their own version requested via the CRD.
Originally posted by @danehans in https://github.com/projectcontour/contour-operator/pull/44#discussion_r505921582

In config/manager/manager.yaml, we should be using environment variables such as CONTOUR_IMAGE and ENVOY_IMAGE, and interpolating those into the command like, something like the following:
      containers:
      - name: manager
        command:
        - /contour-operator
        args:
        - --enable-leader-election
        - --contour-image
        - "$(CONTOUR_IMAGE)"
        - --envoy-image
        - "$(ENVOY_IMAGE)"
        env:
          - name: CONTOUR_IMAGE
            value: oldX
          - name: ENVOY_IMAGE
            value: oldY

And in kustomization.yaml, we should replace the values for those variables:
spec:
  template:
    spec:
      containers:
        - name: manager
          env:
            - name: CONTOUR_IMAGE
              value: newX
            - name: ENVOY_IMAGE
              value: newY

Reference:  https://kubectl.docs.kubernetes.io/pages/reference/kustomize.html
@stevesloka, @skriss, @jpeach, does this approach look reasonable?

There should be an image field in the spec here: https://github.com/projectcontour/contour-operator/blob/main/api/v1alpha1/contour_types.go#L50
That value should be used for each instance of Contour to allow you to define what image of Contour/Endoy you'd like to run. It could be upstream images or custom depending on the user needs.

What is the use-case for upgrading Contour instances independently?  It seems like leaving it up to users to update the CRs could devolve into an unsupportable matrix of different (and possibly incompatible) Contour and Envoy versions.
One of the goals of the operator should be to handle these details.  In the most common case, a given release of contour-operator will know the corresponding releases of Contour and Envoy that the operator manages and should handle upgrading (or possibly downgrading) to the appropriate images.  As mentioned in #71, we'd like to synchronize projectcontour/contour-operator releases with projectcontour/contour releases.  If the user wants to upgrade Contour, the user should upgrade the operator to the appropriate release.

I'm in favor of keeping everything up to date, however, my only concern is that an upgrade of the operator automatically causes all instances of Contour/Envoy to upgrade at the same time as soon as the operator is upgraded.
Having the version in each instance CRD allows operators to decide when the update happens.
Maybe the automatic way is fine, but to me it doesn't seem obvious thats the behavior.
We'll also need to think about how the upgrade happens in the event a field is deprecated and how that piece is managed, etc.  If Contour processes a field that shouldn't be in the configmap it terminates.

Yeh, I'm also a bit non-plussed about the plan for versioning. It seems reasonable to me to version the deployment in the CRD, and that would let you run multiple Contour versions in parallel. I had assumed that keeping the image versions in the CLI flags was a transitional approach.

Supporting arbitrary versions of Contour and Envoy would be a challenge.  A simpler approach is for contour-operator to support some specific version x.y.z and to support upgrading from x.(y - 1) or downgrading from x.(y + 1).  If any migration is required, the operator only needs to have logic migration for ±1 y release.  This approach has worked well for us with OpenShift.  It does offer less flexibility to users who want to run multiple versions of the operand (Contour/Envoy), but if the user absolutely needs to be able to run an old or experimental version of Contour/Envoy, it is still possible to deploy it manually, without using the operator.  The alternative of having the operator support arbitrary Contour/Envoy releases would not be very supportable.

kustomize supports vars as a tuple of variable name, object reference and field reference within that object. Unless the operator's CLI args, i.e. CONTOUR_IMAGE, will be stored in a configmap, the vars feature is not applicable to the use case described in this issue. The only changes required are:
--- a/config/manager/manager.yaml
+++ b/config/manager/manager.yaml
@@ -25,8 +25,17 @@ spec:
       containers:
       - command:
         - /contour-operator
+        - --contour-image
+        - "$(CONTOUR_IMAGE)"
+        - --envoy-image
+        - "$(ENVOY_IMAGE)"
         args:
         - --enable-leader-election
+        env:
+        - name: CONTOUR_IMAGE
+          value: docker.io/projectcontour/contour:{VERSIONED_RELEASE_TAG}
+        - name: ENVOY_IMAGE
+          value: docker.io/envoyproxy/envoy:{VERSIONED_RELEASE_TAG}
         image: controller:latest
         name: manager
         resources:

VERSIONED_RELEASE_TAG will be set as part of the operator's release process.


Reset tenant cache

Having set configuration first time (e.g. cookie, oidc, etc), I didn't manage to invalidate it later. Research within existing and closed issues wasn't successful, therefore I decided to create new issue.
Tenant configuration is being changed during period of time: e.g. database connection, OIDC secrets, etc.
Is there any possible way to reset cache for specific tenant?
As enhancement, there should be simple service that could do it.

I found out how to clear whole cache.
Resolve IOptionsMonitorCache using DI, e.g. IOptionsMonitorCache<TOptions> monitorCache  where TOptions is OpenIdConnectOptions in case with OIDC and call Clear monitorCache.Clear();
There is monitorCache.TryRemove("NAME"), but all items contains unique names, e.g. 2GgPKVmFOyU9O2oTbA+1NLAJI40=oidc.
Having passed name as oidc, it will remove all caches which belong to oidc schema

Hi @chernihiv
You figured it out! Thanks for replying with your findings so that others can see.
As you saw passing in an option name (without specifying tenant) will remove that named option for all tenants from the cache. the options will get recreated next time they are needed for each tenant. Maybe I should add an API that will let you clear the option for a specific tenant only.

@achandlerwhite
It would be great.
I investigated further and figured MultiTenantOptionsCache out. It overrides methods of OptionsCache and uses AdjustOptionsName for name composing. Anyway, it won't work in my case with TryRemove if I compose option name using similar algorithm.
Therefore, it would be nice to have option to clear cache only for specific tenant, instead thousands.
Thank you for feedback.

Hi @achandlerwhite
Could you say why do we need to hash Tenant ID + Option Name in MultiTenantOptionsCache?
The only one thing I come up with is to receive proper Latin symbols (using base64), isn't?

Hi, if we just did tenantid + option name there is the potential for conflicts.
Imagine options named "option1" and "ption1" and tenants with ids "tenant1" and "tenant1o". Now suppose you have the tenant id + option name of "tenant1option". Is this tenant1 + option1 or is it tenant1o + ption1. Impossible to say because it matches both. The hash of tenant ID prevents these possible overlaps.
May I ask why you want to directly access the options cache? In normal apps that would be rare--you would use DI for IOptions and you would get the correct one based on the current tenant.
I could see that it would be useful to get options for a particular tenant other than the current one (similar to how if might be easier to clear them per your original post). I think I will add a way to do this.

Thanks you for full explanation, got it now, you are right.
I have multi tenant app, where each tenant have personal configuration, e.g OIDC. Therefore, I use extension method WithPerTenantOptions<OpenIdConnectOptions> to configure it per tenant (initialized first time and cached), however, configuration of OIDC per Tenant is hosted on separate server as microservices.
Having updated this configuration, I ought to reset cache per tenant to be up-to-date.
There are plenty workarounds, but it would be nice to have simple way to do it.


Feature/enable separating tokens in entries when quoted

This pull request includes a

[ ] Bug fix
[X] New feature
[ ] Translation

The following changes were made

updated tokenizer to accommodate quoted strings
enabled tokenizer to be customized with specific characters
added test cases
added the built files

Unfortunately this pull request contains files in the dist folder, and as a result there is a merge conflict. Because this pull request is also pretty old (our fault), we are closing this off.
If you are still interested in making this contribution, feel free to remove the dist changes from this pull request and leave a comment asking for this to be re-reviewed. Or make a new pull request from the same branch, and we'll try to get around to reviewing it this time.

Hey @kevin-brown,
I added a PR #5467 on this, reverting the commits for the built files on /dist.
Please have a look when you have time


Update vgg19.py

I have changed the vgg19.py,legacy/vgg19small.py files. In the init method of Vgg19 class, I have added allow_pickle=True to np.load() function so that errors like in #7  Can be solved as everyone try to load the model with the given weights

Hey @jeffin07, thanks for the effort! I'll do a quick review when I get time and then update on this.

Hey, sorry for the late response. I've now mentioned this PR in the known issues section in the README file (link). I have decided not to merge this for now since I have not recommended an exact NumPy version to the users.
In the known issues section linked above, I have asked users who would like to use a higher version of NumPy (which may have this issue) to check this PR out to see how they can fix the issue manually. Thank you for your contribution!


BlockKit Model fixes

I've been playing around with a Slack Bot in Rust, and have run into some serde problems with using Block Kit. I've added the relevant models that I'm using, and adjusted the existing placerholder properties to match the reference docs.

Added NumberInput
Added URLInput
Made placeholder optional across the models, since it doesn't seem to be required anywhere

Hey, thanks for the updates and fixes! They look good.
I'll do some clippy-related cleanups (not related to your changes, but updated clippy) and maybe there are missing From<> instances for the new elements after merging your PR.

Released in https://github.com/abdolence/slack-morphism-rust/releases/tag/v1.5.0


aws: Update pre-built AMI id for 0.11.0

Add pre-built AMI for testing

@stevenhorsman @yoheiueda @mkulke this should be a quick one. I added a 0.11.0 pre-built AMI to make it easier for folks to try CAA on AWS.


bugfix: returning None on non string input

A return keyword was missing in the language detection logic.

Many thanks!


[Bug]: nextjs app cannot be deployed if pnpm-lock.yarn was created with pnpm@8

Is there an existing issue for this?

[X] I have searched the existing issues

Example public repository
coolify
Description
deploying nextjs app worked great, but after upgrading pnpm to 8.x.x on the dev environment deployment fails as coolify builds the docker image with pnpm@6
Steps To Reproduce

upgrade pnpm to 8.x.x
deploment fails

Version
3.12.32

@hacknug  I use pnpm@7 and deployment works fine

Due to inactivity, I'm closing this issue. However, if the problem persists, please reopen the issue. Thanks!


[SPARK-25289][ML] Avoid exception in ChiSqSelector with FDR when no feature is selected

What changes were proposed in this pull request?
Currently, when FDR is used for ChiSqSelector and no feature is selected an exception is thrown because the max operation fails.
The PR fixes the problem by handling this case and returning an empty array in that case, as sklearn (which was the reference for the initial implementation of FDR) does.
How was this patch tested?
added UT

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2735/
Test PASSed.

Test build #95537 has started for PR 22303 at commit f5b0c4e.

Test build #95537 has finished for PR 22303 at commit f5b0c4e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95537/
Test PASSed.

Merged build finished. Test PASSed.

cc @jkbradley @srowen @yanboliang

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2739/
Test PASSed.

Test build #95546 has started for PR 22303 at commit 03f68aa.

Test build #95546 has finished for PR 22303 at commit 03f68aa.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95546/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2743/
Test PASSed.

Test build #95549 has started for PR 22303 at commit d8a94f2.

Test build #95549 has finished for PR 22303 at commit d8a94f2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95549/
Test PASSed.

Why is the unit test added for the ml package and not the mllib package?

Merged to master


Cesium-martini has stopped working against latest cesium 1.104.0 :(

@davenquinn We've been happily updating Cesium versions, and cesium-martini happily run against all the versions until two weeks ago, when cesium 1.104.0 came out.
Seems like Cesium finally made a breaking change. The errors below come from running the commands below on a clean pull from this git repo. Do you have any immediate insights from the errors that might help address cesium breaking backwards compatibility for cesium-martini? Your library has been crucial for our development, as I'm sure it's been for many others.
Note: The example UI in this repo actually stopped working on Cesium v 0.97.0, but our application kept working with with the dist files of cesium-martini compiled with Cesium 0.97. That is, when we used your library compiled against 0.97.0 we could keep updating Cesium in our application (up to 0.103.0 - we can't move to 0.104.0 regardless how we compile cesium-martini now).
Errors when we run:
rm -rf node_modules;npm install; npm run build; npm run dev
are:
ERROR in<EMAIL_ADDRESS>142:30
Module parse failed: Unexpected token (142:30)
File was processed with these loaders:
 * ./node_modules/source-map-loader/index.js
You may need an additional loader to handle the result of these loaders.
|   texturesLoaded: {
|     get: function () {
>       return this._gltfLoader?.texturesLoaded;
|     },
|   },
<EMAIL_ADDRESS>925:0-75 925:0-75
 @ ./node_modules/cesium/Source/Cesium.js
 @ ./examples/simple/index.ts

ERROR in<EMAIL_ADDRESS>150:30
Module parse failed: Unexpected token (150:30)
File was processed with these loaders:
 * ./node_modules/source-map-loader/index.js
You may need an additional loader to handle the result of these loaders.
|   texturesLoaded: {
|     get: function () {
>       return this._gltfLoader?.texturesLoaded;
|     },
|   },
<EMAIL_ADDRESS>938:0-75 938:0-75
 @ ./node_modules/cesium/Source/Cesium.js
 @ ./examples/simple/index.ts

ERROR in<EMAIL_ADDRESS>161:28
Module parse failed: Unexpected token (161:28)
File was processed with these loaders:
 * ./node_modules/source-map-loader/index.js
You may need an additional loader to handle the result of these loaders.
|
|     if (!defined(modelData) || resource.url !== modelData.url) {
>       if (defined(modelData?.modelPrimitive)) {
|         primitives.removeAndDestroy(modelData.modelPrimitive);
|         delete modelHash[entity.id];
<EMAIL_ADDRESS>97:0-85 97:0-85
 @ ./node_modules/cesium/Source/Cesium.js
 @ ./examples/simple/index.ts

ERROR in<EMAIL_ADDRESS>438:37
Module parse failed: Unexpected token (438:37)
File was processed with these loaders:
 * ./node_modules/source-map-loader/index.js
You may need an additional loader to handle the result of these loaders.
| function addAttributeInfo(provider, metadata, className) {
|   const { schema, statistics } = metadata;
>   const classStatistics = statistics?.classes[className];
|   const properties = schema.classes[className].properties;
|
<EMAIL_ADDRESS>518:0-101 518:0-101
 @ ./node_modules/cesium/Source/Cesium.js
 @ ./examples/simple/index.ts

ERROR in<EMAIL_ADDRESS>86:29
Module parse failed: Unexpected token (86:29)
File was processed with these loaders:
 * ./node_modules/source-map-loader/index.js
You may need an additional loader to handle the result of these loaders.
|   const { shaderBuilder, model } = renderResources;
|   const { structuralMetadata = {}, content } = model;
>   const statistics = content?.tileset.metadataExtension?.statistics;
|
|   const propertyAttributesInfo = getPropertyAttributesInfo(
<EMAIL_ADDRESS>944:0-97 944:0-97
 @ ./node_modules/cesium/Source/Cesium.js
 @ ./examples/simple/index.ts

This should now be fixed in 1.3.0! Sorry for the long delay.


Update deprecated get_global_step in example

WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/tensor_forest/client/random_forest.py:193: get_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version. Instructions for updating: Please switch to tf.train.get_global_step
thrown when running random_forest_mnist.py
updated to training_util.get_global_step() used elsewhere in the same file

Can one of the admins verify this patch?

Done, sorry for the delay!

Jenkins, test this please.

Jenkins, test this please.


Add scale_linear for preprocessing

The definition should be exactly the same as postprocessing.

Yes, I agree. I will add it in #59.

Fixed by #59.


Revert "GEODE-7727: modify sender thread to detect release of connect…

…ion (#4629)"
In internal tests, this commit was identified as causing deadlocks. Until the root cause can be discovered and addressed, we propose reverting the change.
This reverts commit 1a0d9769e482f49e0c725c0d6adc75d324f88958.
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Hi,
can you share some info regarding this internal tests, so we can speed up detection of problem in this PR?
Thanks

Hi,
can you share some info regarding this internal tests, so we can speed up detection of problem in this PR?
Thanks

Hi Mario,
The purpose of the internal test is to force async message queueing and confirm that no deadlocks occur. The test in question starts 6 servers with 5 regions in the cluster, each using a custom CacheListener that sleeps the thread for 2 ms when onCreate() is called with a particular event key in order to encourage queueing. Random events are delivered to the regions, including ones using the key that will trigger a 2ms sleep.
Each server is configured to run with 5 threads, conserve sockets is set to true, async distribution timeout is 5ms, async queue timeout is 60000ms and async max queue size is 10.
We consistently see the test hang when two members log that they are sleeping due to the onCreate() listener call. If only one member has logged that call then the test continues regardless of how many times its called, but as soon as a second member logs it, the test encounters problems and a hang is declared 5 minutes later.
We will continue to investigate this issue after the weekend, but I hope that the information here is helpful to you in the meantime.

Hi Donal,
thanx for info.
But if you have any failing tests, that are reason for revert, could you push them to community.
With current approach, it is hard to troubleshoot, and this way all will be transparent.
Regards.

Hi Donal,
thanx for info.
But if you have any failing tests, that are reason for revert, could you push them to community.
With current approach, it is hard to troubleshoot, and this way all will be transparent.
Regards.

Hi Mario,
Regrettably, I'm not able to share the actual test that caught this problem due to licensing issues; it's a proprietary test used as part of ensuring the product I work on is enterprise-ready. We've been trying to reproduce the issue in a DUnit test that can be shared with the community but haven't been able to do so yet, as the exact circumstances needed to cause it to show up are proving elusive.
I will be certain to let you know as soon as I have a way of reproducing the issue locally and will push any tests to a branch on my fork to allow debugging, as well as creating a Jira ticket with all the details.

Hi Donal,
thanx for info.
But if you have any failing tests, that are reason for revert, could you push them to community.
With current approach, it is hard to troubleshoot, and this way all will be transparent.
Regards.

A JIRA ticket has now been created for this issue, containing a test that reliably reproduces the issue: https://issues.apache.org/jira/browse/GEODE-7817
It turns out that the problem only presents itself when running the test with JDK 11, which is why it took so long to reproduce locally. Now that a reliable reproduction has been provided, I will be reverting the original change.


keyframe work started

Codecov Report

Merging #22 into master will increase coverage by 0.53%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   80.05%   80.59%   +0.53%
==========================================
  Files          11       11
  Lines         361      371      +10
  Branches       62       63       +1
==========================================
+ Hits          289      299      +10
  Misses         59       59
  Partials       13       13

Impacted Files
Coverage Δ

src/sheet.js
47.05% <100%> (ø)
:arrow_up:

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

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

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

Continue to review full report at Codecov.

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


Swap swagger-ui with swagger-ui-dist

The prebuilt version of swagger-ui is identical to the regular one but brings the benefit of faster webpack compilation and less npm dependencies so it npm installs will speed up too.

Interestingly webpack was a minute slower this run, will test locally.

Ok, build speed and output size back to normal. I don't really see a webpack speed improvement but I guess dropping 111 npm dependencies is still a net gain overall.


Add support for ESLint flat config

Is your feature request related to a problem?
ESLint has changed the default configuration style to flat config. Currently this extension does not work immediately.
Describe the solution you'd like
To use this extension in the latest ESLint versions, it should support flat config. A migration guide is provided by ESLint.

Attempts at using this with Flat Compat returns the below error:
Error: Key "plugins": Cannot redefine plugin "react" at .../sanity-cms/node_modules/@humanwhocodes/object-schema/src/object-schema.js:250:27

eslint.config.js settings tried the below with the same error each time

...compat.extends("@sanity/eslint-config-studio")
...compat.extends(resolve(__dirname, "node_modules/@sanity/eslint-config-studio")),

v5 uses the new flat config style 👍


Why do not you want?

Get rid of the musikcube-cmd stump in favor of a full-fledged musikcube.exe which will run as a full-fledged console application?
Compile statically and release as an archive for Linux?

НNY!

Good questions!

musikcube-cmd.exe is definitely not a stump, or wrapper, or special launcher anything like that. It is a fully fledged console application on Windows. It's compiled separately from musikcube.exe and does not depend on it in any way. Unfortunately, the Windows console is limited to 8 (or 16?) colors that the application cannot configure, so themes won't work -- that's why musikcube.exe is distributed with it; it allows users (like me) who want a better user experience to have that option.

I'd absolutely love to statically link against all dependencies on Linux, but I have not had success linking boost statically on Debian based distros (Debian, Ubuntu, Mint, etc). I receive error messages along the lines of relocation R_X86_64_PC32 against symbol '...' can not be used when making a shared object; recompile with -fPIC. From what I can tell, this is caused by the way boost is compiled (see: https://stackoverflow.com/a/34419321). Unfortunately, short of re-compiling boost on every version of every Debian-based distro we support, I'm not sure what else can be done.

the Windows console is limited to 8 (or 16?) colors that the application cannot configure, so themes won't work

True colors. Add themes to musikcube-cmd.exe, PLEASE. This is too hard to set console colors palette for player
`e]4;0;rgb:aa/bb/cc;1;rgb:.......`a

the Windows console is limited to 8 (or 16?) colors that the application cannot configure, so themes won't work

True colors. Add themes to musikcube-cmd.exe, PLEASE. This is too hard to set console colors palette for player
`e]4;0;rgb:aa/bb/cc;1;rgb:.......`a

Oh, cool! Thanks for making me aware of true color support in Command Host / Windows Terminal. I pushed a patch that will enable it in subsequent builds: https://github.com/clangen/musikcube/commit/d77bf3c8332f04ffe8fbd14c1662e96727430ae3

Thank you for musikcube-cmd.exe theming and for linux "standalone" builds.

@237dmitry if you see this, did the "standalone" Linux build work for you without issue? Just curious. :)

Musikcube for linux works without any problems. In any case, I didn't see any. ArcoLinux. Unpacked to /opt, symlinked to $PATH and launched.


 SortableTableHeader not compatible with sticky column

Platform: (desktop web)
Steps to reproduce:
See code sandbox

Setup table with sticky columns
Use SortableTableHeader

Expected Result: Should be sticky without issues

Actual Result: The header doesn't follow the sticky behavior

Please add either a screenshot or a video to help us quickly identify the issue.

Hi @CalvinChhour, this should be working now with v27.3.0. Let us know if you have any issues, and thanks again for reporting!

Looks like things are working on our end, thanks for the update and quick turnaround!


"swift-syntax will automatically update to version 509.0.1. However, automatic updates may cause compilation errors."

"swift-syntax will automatically update to version 509.0.1. However, automatic updates may cause compilation errors."

CI on macOS passed with swift-syntax 509.0.1.
It may work by deleting the cache.
(On the other hand, on Linux, there seemed to be an error.)
https://github.com/p-x9/ObfuscateMacro/actions/runs/8106670756

Supported swift-syntax version 510.0.0 on new release.
https://github.com/p-x9/ObfuscateMacro/releases/tag/0.5.0


[BUG] - build cmd to call isScriptWellFormed phase-1 check

Internal/External
Internal   if an IOHK staff member.
Area
Plutus    Related to Plutus Scripts (Alonzo).
Summary
When using cli's build cmd there's no feedback when using a plutus script that fails isScriptWellFormed. The MalformedScriptWitnesses error is seen on submit, so this is mostly a UX improvement. This check should be performed before phase-2 script evaluation.
Steps to reproduce
This can probably be recreated by attempting to use malformed script (edit the hex code of a valid script). But I found it this way:

Using a node build that prohibits the use of SECP builtin functions 950c4e222086fed5ca53564e642434ce9307b0b9
build a transction with a plutus V2 script that uses one of the SECP functions
Observe phase-2 error "Plutus script evaluation failed"

Expected behavior
Phase-1 error MalformedScriptWitnesses or some other indication of isScriptWellFormed failure
System info
Node version 950c4e222086fed5ca53564e642434ce9307b0b9

Had a chat with @JaredCorduan. This check could/should be performed in evaluateTransactionExecutionUnits

This is not a bug


[feature] [null support # 4] Support null in some default transform functions

Add default null support in some transform functions.

Codecov Report

Merging #10545 (6cb974a) into master (114a81e) will decrease coverage by 0.12%.
The diff coverage is 20.00%.

@@             Coverage Diff              @@
##             master   #10545      +/-   ##
============================================
- Coverage     27.90%   27.79%   -0.12%
  Complexity       58       58
============================================
  Files          2087     2087
  Lines        112306   112359      +53
  Branches      16918    16933      +15
============================================
- Hits          31340    31231     -109
- Misses        77869    78021     +152
- Partials       3097     3107      +10

Flag
Coverage Δ

integration1
24.32% <20.00%> (-0.05%)
:arrow_down:

integration2
24.18% <20.00%> (+0.02%)
:arrow_up:

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

Impacted Files
Coverage Δ

...ansform/function/NotOperatorTransformFunction.java
0.00% <0.00%> (ø)

...tor/transform/function/PowerTransformFunction.java
0.00% <0.00%> (ø)

...nsform/function/RoundDecimalTransformFunction.java
0.00% <0.00%> (ø)

...orm/function/SingleParamMathTransformFunction.java
0.00% <0.00%> (ø)

...form/function/TrigonometricTransformFunctions.java
0.00% <0.00%> (ø)

...orm/function/TruncateDecimalTransformFunction.java
0.00% <0.00%> (ø)

...main/java/org/apache/pinot/spi/data/FieldSpec.java
0.00% <0.00%> (ø)

...form/function/BinaryOperatorTransformFunction.java
21.93% <6.25%> (-0.86%)
:arrow_down:

...orm/function/LogicalOperatorTransformFunction.java
76.00% <66.66%> (+2.08%)
:arrow_up:

...ator/transform/function/CastTransformFunction.java
18.53% <100.00%> (+0.39%)
:arrow_up:

... and 3 more

... and 58 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@61yao can we take a look at ScalarFunctionTransformWrapper class as well.
A lot of those functions are used in the ingestion transformation where the probability of a value being null is quite high.
A lot of OSS users face the issue in that case and have to fill null values in the input stream OR create another derived column.

@61yao can we take a look at ScalarFunctionTransformWrapper class as well.
A lot of those functions are used in the ingestion transformation where the probability of a value being null is quite high.
A lot of OSS users face the issue in that case and have to fill null values in the input stream OR create another derived column.

Yeah. That one will be done in follow up PR. :)


Maven jar is not up to date

I need to get a KmsMasterKeyProvider based on an alias, not an ARN. I am unable to get this to work with the Maven jar (which goes back to March 2018) but I see a fix was put in for this issue in April 2018. Can you guys push the latest code up to Maven? Otherwise I can build it myself, obviously, but I'd prefer to stay in sync with you.

Closing because the main issue is apparently still unfixed; even though #21 is marked closed, there is a duplicate still open, #35 .


Add CP4MCM 2.1 and 2.2. versions

@chessbyte Please review.

I don't believe that IBM versions should exist in this repo.

Closing in favor of #15


What should happen when a user attempts to share a dataset that failed import or installation?

Nothing for failing installation as a dataset may have failed installation on some but not all target application databases, but for failing import we can do a cheap check to prevent shares.


feat: Add store code in backend

Raising as a draft for now so you can get eyes on it early.  I haven't tested it yet but just to get feedback on the general approach.

@benalleng I think this is ready for a proper review now.  I'm going to leave it as a draft for now since I don't want it merged yet (there's a step to migrate the database first before this can be merged).


tests: mnist tests failing due to images missing?

Related: #1264

logs_4808.zip

2023-02-08T06:37:23.3956144Z test_shell (MNIST.test_mnist.TestMNIST) ... Traceback (most recent call last):
2023-02-08T06:37:23.3965998Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/bin/dffml", line 8, in <module>
2023-02-08T06:37:23.3969940Z     sys.exit(CLI.main())
2023-02-08T06:37:23.3970408Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 272, in main
2023-02-08T06:37:23.3970844Z     result = loop.run_until_complete(cls._main(*argv[1:]))
2023-02-08T06:37:23.3972745Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
2023-02-08T06:37:23.3973199Z     return future.result()
2023-02-08T06:37:23.3973631Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 238, in _main
2023-02-08T06:37:23.3974006Z     return await cls.cli(*args)
2023-02-08T06:37:23.3974426Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 224, in cli
2023-02-08T06:37:23.3974801Z     return await cmd.do_run()
2023-02-08T06:37:23.3975464Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 201, in do_run
2023-02-08T06:37:23.3975867Z     return [res async for res in self.run()]
2023-02-08T06:37:23.3976314Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 201, in <listcomp>
2023-02-08T06:37:23.3976724Z     return [res async for res in self.run()]
2023-02-08T06:37:23.3977144Z   File "/home/runner/work/dffml/dffml/dffml/cli/ml.py", line 91, in run
2023-02-08T06:37:23.3977599Z     self.model, self.sources, update=self.update, keep_record=True
2023-02-08T06:37:23.3978082Z   File "/home/runner/work/dffml/dffml/dffml/high_level/ml.py", line 280, in predict
2023-02-08T06:37:23.3978530Z     sctx = await astack.enter_async_context(records_to_sources(*args))
2023-02-08T06:37:23.3979049Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 570, in enter_async_context
2023-02-08T06:37:23.3979480Z     result = await _cm_type.__aenter__(cm)
2023-02-08T06:37:23.3979956Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 170, in __aenter__
2023-02-08T06:37:23.3980374Z     return await self.gen.__anext__()
2023-02-08T06:37:23.3980819Z   File "/home/runner/work/dffml/dffml/dffml/util/internal.py", line 59, in records_to_sources
2023-02-08T06:37:23.3981211Z     async with sources as sources:
2023-02-08T06:37:23.3981681Z   File "/home/runner/work/dffml/dffml/dffml/util/asynchelper.py", line 75, in __aenter__
2023-02-08T06:37:23.3982113Z     await self.__stack.enter_async_context(item)
2023-02-08T06:37:23.3982595Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 570, in enter_async_context
2023-02-08T06:37:23.3983023Z     result = await _cm_type.__aenter__(cm)
2023-02-08T06:37:23.3983464Z   File "/home/runner/work/dffml/dffml/dffml/util/asynchelper.py", line 75, in __aenter__
2023-02-08T06:37:23.3984172Z     await self.__stack.enter_async_context(item)
2023-02-08T06:37:23.3984809Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 570, in enter_async_context
2023-02-08T06:37:23.3985227Z     result = await _cm_type.__aenter__(cm)
2023-02-08T06:37:23.3985671Z   File "/home/runner/work/dffml/dffml/dffml/source/dfpreprocess.py", line 246, in __aenter__
2023-02-08T06:37:23.3986105Z     self.source = await self.config.source.__aenter__()
2023-02-08T06:37:23.3986578Z   File "/home/runner/work/dffml/dffml/dffml/source/file.py", line 47, in __aenter__
2023-02-08T06:37:23.3986950Z     await self._open()
2023-02-08T06:37:23.3987354Z   File "/home/runner/work/dffml/dffml/dffml/source/file.py", line 87, in _open
2023-02-08T06:37:23.3987729Z     await self.load_fd(fd)
2023-02-08T06:37:23.3988136Z   File "/home/runner/work/dffml/dffml/dffml/source/csv.py", line 195, in load_fd
2023-02-08T06:37:23.3988538Z     async with self._open_csv(fd) as open_file:
2023-02-08T06:37:23.3989018Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 170, in __aenter__
2023-02-08T06:37:23.3989430Z     return await self.gen.__anext__()
2023-02-08T06:37:23.3989858Z   File "/home/runner/work/dffml/dffml/dffml/source/csv.py", line 86, in _open_csv
2023-02-08T06:37:23.3990248Z     await self.read_csv(fd, open_file)
2023-02-08T06:37:23.3990675Z   File "/home/runner/work/dffml/dffml/dffml/source/csv.py", line 121, in read_csv
2023-02-08T06:37:23.3991042Z     row[loadfile]
2023-02-08T06:37:23.3991474Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 135, in load_file
2023-02-08T06:37:23.3991935Z     self.parsers, self.async_exit_stack, filepath, base_dir=base_dir
2023-02-08T06:37:23.3992423Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 109, in load_file
2023-02-08T06:37:23.3992855Z     config_path, conf_dict = await _get_config(path)
2023-02-08T06:37:23.3993338Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 91, in _get_config
2023-02-08T06:37:23.3993788Z     parsers, exit_stack, temp_filepath, base_dir=base_dir
2023-02-08T06:37:23.3994273Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 76, in load_single_file
2023-02-08T06:37:23.3994753Z     return config_path, await parsers[filetype].loadb(path.read_bytes())
2023-02-08T06:37:23.3995308Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/pathlib.py", line 1214, in read_bytes
2023-02-08T06:37:23.3996101Z     with self.open(mode='rb') as f:
2023-02-08T06:37:23.3996533Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/pathlib.py", line 1208, in open
2023-02-08T06:37:23.3996900Z     opener=self._opener)
2023-02-08T06:37:23.3997404Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/pathlib.py", line 1063, in _opener
2023-02-08T06:37:23.3998015Z     return self._accessor.open(self, flags, mode)
2023-02-08T06:37:23.4005860Z FileNotFoundError: [Errno 2] No such file or directory: 'image1.png'

2023-02-08T06:46:12.3097962Z test_shell (test_quickstart.TestQuickstart) ... ok
2023-02-08T06:46:12.3098487Z
2023-02-08T06:46:12.3098743Z ======================================================================
2023-02-08T06:46:12.3099174Z ERROR: test_shell (MNIST.test_mnist.TestMNIST)
2023-02-08T06:46:12.3099859Z ----------------------------------------------------------------------
2023-02-08T06:46:12.3100313Z Traceback (most recent call last):
2023-02-08T06:46:12.3100892Z   File "/home/runner/work/dffml/dffml/examples/MNIST/test_mnist.py", line 77, in test_shell
2023-02-08T06:46:12.3101389Z     ["bash", sh_filepath("predict.sh")]
2023-02-08T06:46:12.3101974Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/subprocess.py", line 411, in check_output
2023-02-08T06:46:12.3102445Z     **kwargs).stdout
2023-02-08T06:46:12.3102925Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/subprocess.py", line 512, in run
2023-02-08T06:46:12.3103378Z     output=stdout, stderr=stderr)
2023-02-08T06:46:12.3104073Z subprocess.CalledProcessError: Command '['bash', '/home/runner/work/dffml/dffml/examples/MNIST/predict.sh']' returned non-zero exit status 1.
2023-02-08T06:46:12.3104481Z
2023-02-08T06:46:12.3104705Z ======================================================================
2023-02-08T06:46:12.3105154Z ERROR: test_shell_pytorch (flower17.test_flower17.TestFLOWER17)
2023-02-08T06:46:12.3105723Z ----------------------------------------------------------------------
2023-02-08T06:46:12.3106380Z Traceback (most recent call last):
2023-02-08T06:46:12.3106904Z   File "/home/runner/work/dffml/dffml/dffml/util/asynctestcase.py", line 114, in run_it
2023-02-08T06:46:12.3107424Z     result = self.loop.run_until_complete(coro(*args, **kwargs))
2023-02-08T06:46:12.3107999Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
2023-02-08T06:46:12.3108478Z     return future.result()
2023-02-08T06:46:12.3109005Z   File "/home/runner/work/dffml/dffml/examples/flower17/test_flower17.py", line 92, in test_shell_pytorch
2023-02-08T06:46:12.3109551Z     records = await CLI.cli(*cmd[1:-1])
2023-02-08T06:46:12.3110036Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 224, in cli
2023-02-08T06:46:12.3110465Z     return await cmd.do_run()
2023-02-08T06:46:12.3110929Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 201, in do_run
2023-02-08T06:46:12.3111399Z     return [res async for res in self.run()]
2023-02-08T06:46:12.3111907Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 201, in <listcomp>
2023-02-08T06:46:12.3112487Z     return [res async for res in self.run()]
2023-02-08T06:46:12.3112951Z   File "/home/runner/work/dffml/dffml/dffml/cli/ml.py", line 91, in run
2023-02-08T06:46:12.3113452Z     self.model, self.sources, update=self.update, keep_record=True
2023-02-08T06:46:12.3113976Z   File "/home/runner/work/dffml/dffml/dffml/high_level/ml.py", line 280, in predict
2023-02-08T06:46:12.3114494Z     sctx = await astack.enter_async_context(records_to_sources(*args))
2023-02-08T06:46:12.3115073Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 570, in enter_async_context
2023-02-08T06:46:12.3115569Z     result = await _cm_type.__aenter__(cm)
2023-02-08T06:46:12.3116088Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 170, in __aenter__
2023-02-08T06:46:12.3116567Z     return await self.gen.__anext__()
2023-02-08T06:46:12.3117073Z   File "/home/runner/work/dffml/dffml/dffml/util/internal.py", line 59, in records_to_sources
2023-02-08T06:46:12.3117540Z     async with sources as sources:
2023-02-08T06:46:12.3118036Z   File "/home/runner/work/dffml/dffml/dffml/util/asynchelper.py", line 75, in __aenter__
2023-02-08T06:46:12.3118524Z     await self.__stack.enter_async_context(item)
2023-02-08T06:46:12.3119056Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 570, in enter_async_context
2023-02-08T06:46:12.3119540Z     result = await _cm_type.__aenter__(cm)
2023-02-08T06:46:12.3120035Z   File "/home/runner/work/dffml/dffml/dffml/util/asynchelper.py", line 75, in __aenter__
2023-02-08T06:46:12.3120507Z     await self.__stack.enter_async_context(item)
2023-02-08T06:46:12.3121018Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 570, in enter_async_context
2023-02-08T06:46:12.3121491Z     result = await _cm_type.__aenter__(cm)
2023-02-08T06:46:12.3121972Z   File "/home/runner/work/dffml/dffml/dffml/source/file.py", line 47, in __aenter__
2023-02-08T06:46:12.3122399Z     await self._open()
2023-02-08T06:46:12.3122844Z   File "/home/runner/work/dffml/dffml/dffml/source/file.py", line 87, in _open
2023-02-08T06:46:12.3123271Z     await self.load_fd(fd)
2023-02-08T06:46:12.3123740Z   File "/home/runner/work/dffml/dffml/dffml/source/csv.py", line 195, in load_fd
2023-02-08T06:46:12.3124202Z     async with self._open_csv(fd) as open_file:
2023-02-08T06:46:12.3124715Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/contextlib.py", line 170, in __aenter__
2023-02-08T06:46:12.3125180Z     return await self.gen.__anext__()
2023-02-08T06:46:12.3125665Z   File "/home/runner/work/dffml/dffml/dffml/source/csv.py", line 86, in _open_csv
2023-02-08T06:46:12.3126112Z     await self.read_csv(fd, open_file)
2023-02-08T06:46:12.3126583Z   File "/home/runner/work/dffml/dffml/dffml/source/csv.py", line 121, in read_csv
2023-02-08T06:46:12.3127012Z     row[loadfile]
2023-02-08T06:46:12.3127586Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 135, in load_file
2023-02-08T06:46:12.3128121Z     self.parsers, self.async_exit_stack, filepath, base_dir=base_dir
2023-02-08T06:46:12.3128669Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 109, in load_file
2023-02-08T06:46:12.3129257Z     config_path, conf_dict = await _get_config(path)
2023-02-08T06:46:12.3129787Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 91, in _get_config
2023-02-08T06:46:12.3130306Z     parsers, exit_stack, temp_filepath, base_dir=base_dir
2023-02-08T06:46:12.3130855Z   File "/home/runner/work/dffml/dffml/dffml/configloader/configloader.py", line 76, in load_single_file
2023-02-08T06:46:12.3131401Z     return config_path, await parsers[filetype].loadb(path.read_bytes())
2023-02-08T06:46:12.3131972Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/pathlib.py", line 1214, in read_bytes
2023-02-08T06:46:12.3132518Z     with self.open(mode='rb') as f:
2023-02-08T06:46:12.3133097Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/pathlib.py", line 1208, in open
2023-02-08T06:46:12.3133543Z     opener=self._opener)
2023-02-08T06:46:12.3134045Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/pathlib.py", line 1063, in _opener
2023-02-08T06:46:12.3134520Z     return self._accessor.open(self, flags, mode)
2023-02-08T06:46:12.3135077Z FileNotFoundError: [Errno 2] No such file or directory: 'daisy.jpg'
2023-02-08T06:46:12.3135581Z
2023-02-08T06:46:12.3135807Z ======================================================================
2023-02-08T06:46:12.3136257Z ERROR: test_shell_sklearn (flower17.test_flower17.TestFLOWER17)
2023-02-08T06:46:12.3136824Z ----------------------------------------------------------------------
2023-02-08T06:46:12.3137262Z Traceback (most recent call last):
2023-02-08T06:46:12.3137768Z   File "/home/runner/work/dffml/dffml/dffml/util/asynctestcase.py", line 114, in run_it
2023-02-08T06:46:12.3138284Z     result = self.loop.run_until_complete(coro(*args, **kwargs))
2023-02-08T06:46:12.3138858Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
2023-02-08T06:46:12.3139334Z     return future.result()
2023-02-08T06:46:12.3139838Z   File "/home/runner/work/dffml/dffml/examples/flower17/test_flower17.py", line 56, in test_shell_sklearn
2023-02-08T06:46:12.3140301Z     records = await CLI.cli(*cmd)
2023-02-08T06:46:12.3140769Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 224, in cli
2023-02-08T06:46:12.3141206Z     return await cmd.do_run()
2023-02-08T06:46:12.3141665Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 201, in do_run
2023-02-08T06:46:12.3142114Z     return [res async for res in self.run()]
2023-02-08T06:46:12.3142601Z   File "/home/runner/work/dffml/dffml/dffml/util/cli/cmd.py", line 201, in <listcomp>
2023-02-08T06:46:12.3143061Z     return [res async for res in self.run()]
2023-02-08T06:46:12.3143533Z   File "/home/runner/work/dffml/dffml/dffml/cli/ml.py", line 91, in run
2023-02-08T06:46:12.3144024Z     self.model, self.sources, update=self.update, keep_record=True
2023-02-08T06:46:12.3144540Z   File "/home/runner/work/dffml/dffml/dffml/high_level/ml.py", line 288, in predict
2023-02-08T06:46:12.3145006Z     async for record in mctx.predict(sctx):
2023-02-08T06:46:12.3145521Z   File "/home/runner/work/dffml/dffml/model/scikit/dffml_model_scikit/scikit_base.py", line 184, in predict
2023-02-08T06:46:12.3146042Z     async for record in sources.with_features(self.features):
2023-02-08T06:46:12.3146564Z   File "/home/runner/work/dffml/dffml/dffml/source/source.py", line 202, in with_features
2023-02-08T06:46:12.3147036Z     "\n\nLooking for records with the "
2023-02-08T06:46:12.3147563Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/unittest/case.py", line 1112, in assertSetEqual
2023-02-08T06:46:12.3148069Z     self.fail(self._formatMessage(msg, standardMsg))
2023-02-08T06:46:12.3148692Z   File "/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/unittest/case.py", line 693, in fail
2023-02-08T06:46:12.3149210Z     raise self.failureException(msg)
2023-02-08T06:46:12.3149741Z dffml.source.source.NoRecordsWithMatchingFeatures: Items in the first set but not the second:
2023-02-08T06:46:12.3150265Z 'Haralick'
2023-02-08T06:46:12.3150616Z 'Histogram'
2023-02-08T06:46:12.3150981Z 'HuMoments' :
2023-02-08T06:46:12.3151219Z
2023-02-08T06:46:12.3151767Z Looking for records with the all of the following features: ['Histogram', 'HuMoments', 'Haralick']. But no records had all of them. Options for features are: set(). Searched 0 records.
2023-02-08T06:46:12.3152207Z
2023-02-08T06:46:12.3152540Z ----------------------------------------------------------------------
2023-02-08T06:46:12.3152971Z Ran 10 tests in 6626.170s

sir please elaborate the issue more @pdxjohnny @programmer290399

@pyther-hub I'm not sure yet what the issue is, some debugging may be required. The following should run one of the failing tests:
$ python -m unittest -v test_mnist.TestMNIST.test_shell

Likely a download URL may have changed

https://github.com/intel/dffml/files/4283897/train-labels-idx1-ubyte.gz" this was the URL link now it is not working, what is the new link or how should I make one of my own?


Change Horizon GUI to send src_tenant_id and segment_id to OSP for reachability tests.

Reviewer: @wolverineav @sarath-kumar
This PR changes Horizon GUI to send src_tenant_id and segment_id to OSP for reachability tests, as they are needed for unicode naming scheme.
Also displays the ID as part of source tenant/segment information in the GUI, as UUID based scheme allows duplicate names.
Code is ready for review, but Please DO NOT MERGE yet, wait for 4.7.3.

Refer to this link for build results (access rights to CI server needed):
https://jenkins.bigswitch.com/job/openstack_horizon_bsn_pull_req/171/

Refer to this link for build results (access rights to CI server needed):
https://jenkins.bigswitch.com/job/openstack_horizon_bsn_pull_req/176/

Refer to this link for build results (access rights to CI server needed):
https://jenkins.bigswitch.com/job/openstack_horizon_bsn_pull_req/178/

this is part of PR #141 . closing this.


Fix aws-vault server flags

what

$0 does not emit a helpful
Add sudo so the --server mode flag works without the aws-vault server& hack
Update aws-cli
Normalize AWS_VAULT_SERVER_ENABLED env
Add support for AWS_VAULT_SESSION_TTL

why

aws-vault appears to be having some trouble with --server mode; rather than rip it out entirely, we'll disable it by default for now

references

https://github.com/99designs/aws-vault/issues/339
https://github.com/99designs/aws-vault/issues/338
https://github.com/99designs/aws-vault/issues/335

/me wonders if there's a reproduce-able sample testcase where --server fails.


setup file is not quiet when run with gradle >5.1

When running the current version of the setup script from a gradle 5.1, you will get the following
:~/git/gradle-katas/task-creation$ ./setup.sh
[KATA] Setting up the kata
[KATA] ------
[KATA]
[KATA] Cleaning up old exercise
[KATA] Initializing new exercise

Select type of project to generate:
  1: basic
  2: groovy-application
  3: groovy-library
  4: java-application
  5: java-library
  6: kotlin-application
  7: kotlin-library
  8: scala-library
Enter selection (default: basic) [1..8]

Select build script DSL:
  1: groovy
  2: kotlin
Enter selection (default: groovy) [1..2] 1

Project name (default: exercise):
[KATA] Done!
[KATA]
[KATA] Don't forget to:
[KATA] 'cd exercise/'

If you change the utils.sh script to  gradle -q init --type basic --dsl groovy --project-name exercise 4.10 will not work.
Needs some querying to find out if you have version 4 or 5 of gradle and call accordingly.

Is this still relevant? Latest gradle version is 6.2.1. Do we want to support two major back?

@michaelin No we would like to support the latest.
And even if that makes some of the other things break, we will cross that bridge when we get there.


[2.9] remove upper limit on kube version for default annotations on extensions

Backport of https://github.com/rancher/dashboard/pull/11768

@mantis-toboggan-md can you add a milestone?


Finalize the WarmUp Handler

Finalize the WarmUp Handler

https://github.com/freelancing-solutions/GCP-Based-Database-as-a-Service/blob/ac31d7222e383fbe8bfed71c77f093a8d1fbbb2f/data_service/handlers/routes.py#L13

    """
        Use Context will create a database connection
        APP-Engine Warm UP Handler
        # TODO - Finalize the WarmUp Handler
    """
    pass

229b6fefb627c19b1aef71c9dfc93650a891f561

Closed in 7950f7a32295fce783fb9e46a239661671f8a1e8


feat: .Values.service.annotations added for LB tune up

In case when TLS is terminated by ELB service annotations needed to pass cloud provider's params.

Hi @alex-roman , thanks for this contribution! Do you think that #36 would solve this for you? (it aims to provide a broader way to setup the service)?

@dduportal Hi Damien, yes it could. Thanks for the heads up! Can you please update the table in readme.md in your PR accordingly to the new params. Really love the chart, traefik, and what you guys doing. Thanks for the job!


How to deploy rl in h1 real robot?

The latest version now supports deployment of G1, H1, and H1_2 on physical robot.

The latest version now supports deployment of G1, H1, and H1_2 on physical robot.

so the project not supports Go2 ? so sad ,why all humanoid is supported while no qudrauped


With Azure Monitor Query, how do we query classic Resource Mode AppInsights?

hi!
I want to integrate querying my app's AppInsight's directly into a monitoring service that watches my app.  I saw the code samples for how to query using the LogsQueryClient exposed in Azure.Monitor.Query and was able to setup a credential and get that working.
However our org hasn't migrated to the newer Resource Model, and still see this in our Application Insight's Properties tab.

I poked around in the surface area of the AzureMonitorQuery nuget package but couldn't figure it out.  Is it possible?
We could just query the Rest API but so far have been successful integrating using the SDKs for Azure Resource Manager, etc.

Hello @stowen-msft thanks for the feedback! wanted to understand the actual issue over here...
Are you trying to migrate and not able to use REST API?

Are you trying to use the REST API before migration and trying to do a log search?
Please add more details to the issue, such as any error logs or screenshots/

Hello @stowen-msft ,
Thanks for the response!
Please have a look at the below code snippet, might be helpful with your initial query!
using Microsoft.Azure.ApplicationInsights.Query;
public async Task<string> GetRecordCount(string OrderID, string environment, string keyVaultName)
        {

            string applicationId = KeyVaultService.GetKeyFromKeyVault(keyVaultName, "AIAppId-" + environment);
            string key = KeyVaultService.GetKeyFromKeyVault(keyVaultName, "AIAppSecretKey-" + environment);

            var credentials = new ApiKeyClientCredentials(key);
            var applicationInsightsClient = new ApplicationInsightsDataClient(credentials);
            var query = $"traces" +
                        $"| where customDimensions.prop__OrderID has " + "\"" + OrderID + "\"" +
                        $"| project " +
                        $"OrderID = tostring(customDimensions.prop__OrderID)" +
                        $"| summarize ['Count']= dcount(OrderID)";
            var response = await applicationInsightsClient.Query.ExecuteWithHttpMessagesAsync(applicationId, query);
            string count = "";
            // Parse result
            if (response.Response.IsSuccessStatusCode)
            {
                var result = await response.Response.Content.ReadAsStringAsync();
                var data = JsonConvert.DeserializeObject<Rootobject>(result);
                count = data.Tables[0].Rows[0][0].ToString();
            }
            return count;
        }

You need not make any changes to your application . Sending your Application Insights telemetry to a common Log Analytics workspace brings full access to all the features of Log Analytics while keeping application, infrastructure, and platform logs in a single consolidated location. Referece
Few related documents which I can suggest for the Workspace-based Application Insights resources!
Migrate to workspace-based Application Insights resources
Troubleshooting
Code-based application monitoring might give some help on the code examples.

As per our offline conversation with @stowen-msft , below is the summary.

We could migrate easily, There was no work needed to make our servers keep sending the data. Can easily query.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.

We migrated and that was completely painless!


Do Documentation Pass

Update the example library documentation to explain more about setup and config
Review config class and make clarity improvements

Done!


Ensemble Model failure handling

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #195
What are the significant changes in functionality due to this change request?
This extended the new "failure" handling in the JobHandler to the Ensemble model.
It addresses issue #195

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

I have reviewed this small PR. I do not have major comments on it. For me it is ready to go


[Refactor] Remove SYNC keyword for mv

What type of PR is this：

[ ] bugfix
[ ] feature
[ ] enhancement
[x] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #10965
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:disappointed: fail : 2 / 3 (66.67%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
2
3
66.67%
[1027]

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
3
3
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
3
3
100.00%
[]

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
3
3
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio backport branch-2.4


Integrate precise proofs update and removing salts

@vedhavyas comments are welcome on my prs even after merging, I will address critical stuff ASAP always.


Add eslint and pretttier

added root eslint and prettier config
added eslint extension for assemblyscript package
added lint ci

I haven't fixed errors as it would produce huge diff. My plan is to fix errors in separate PR.

Something to think about:
https://github.com/dotansimha/graphql-eslint


Update to use current version of Asana library

Is your feature request related to a problem? Please describe.
The current version of the Asana Python library is 5.x, but this app uses 1.x
Describe the solution you'd like
Update to the most recent version of the asana dependency.
Additional context
This is a substantial change and will require changes to how the client is instantiated as well as request data. See the digitization_tasks repository for an example.

Closed in 1c0abe7ee19ba6e38aaece2c7429380a5e038667


[Bug]: Compilation fails for some mapping constructors with query expression and lax access with check with union CETs

Description
$title.
Steps to Reproduce
The following works.
public function main() returns error? {
    json[] books = [];
    map<json>|error a = {
        items: from json item in books
                    let int id = 1
                    select {
                        price: check float:fromString(check item.itemBook.price)
                    }
    };
}

but the following doesn't
public function main() returns error? {
    json[] books = [];
    map<json>|error a = {
        items: from json item in books
                    let int id = 1
                    select {
                        price: check float:fromString(check item.itemBook.price),
                        id: id
                    }
    };
}

Affected Version(s)
2201.5.0
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Seems to work on U10 (and maybe earlier versions).


Added aria-label to editor content

Fixes #969

Description

Added: aria-label attribute to editor content

Checklist
- [ ] I have made corresponding changes to the documentation.
- [ ] I have updated the types definition of modified exports.
- [ ] I have verified the functionality in some of the neeto web-apps.

[x] I have added the necessary label (patch/minor/major - If package publish
is required).

Reviewers
@VarunSriram99 _a

@VarunSriram99 I have added "aria-label" to editor, please review the changes and let me know if more attributes are needed.

@gaagul can you add the proper aria-role labels as well?

@gaagul additionally adding a role, aria-disabled, aria-role and aria-controls (if applicable) is recommended so that the elements are more easily accessible.

@gaagul can you add the proper aria-role labels as well?

Is "aria-roledescription" = "editor"

@gaagul additionally adding a role, aria-disabled, aria-role and aria-controls (if applicable) is recommended so that the elements are more easily accessible.

By role did you mean the "aria-roledescription" ?

@gaagul can you add the proper aria-role labels as well?

Is "aria-roledescription" = "editor" enough or do you have something specific in mind?

@gaagul additionally adding a role, aria-disabled, aria-role and aria-controls (if applicable) is recommended so that the elements are more easily accessible.

By role did you mean the "aria-roledescription" ?

@gaagul
We can add the role attribute to specify the aria-role.
role="textbox" should be good enough. Adding roledescrption can be useful as well in case of screen readers.
We can also add in labels like
  role="textbox"
  aria-multiline="true"
  aria-labelledby="labelId"
  aria-required="true" (based on required value)
  aria-disabled="false" (based on disabled prop)
  aria-controls="controls-id" (optional for the toolbar controls)

We can also add in labels like

Thanks for the clarification, I will add the necessary labels.
@gaagul _a


unknown fields in module: help

Trying to use your docker container, but snmp_exporter gives me the 'unknown fields in module: help' error.
Edit: After replacing the snmp_exporter with the latest version all is OK

Hi @RubenN, they changed the code to include that module in the latest builds, I had to rebuild the container to fix this. Keep in mind that, as a common rule, the generator and snmp_exporter must match their version, you can find in my dockerhub repo a container for each build, so the container latest is equal to the container tagged v0.6.0

Closing this issue since it is resolved.


HBASE-24511 Ability to configure timeout between RPC retry to RS from…

… master

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 14s
Docker mode activated.

 Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
hadoopcheck
12m 47s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m 48s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 15s
The patch does not generate ASF License warnings.

39m 54s

Subsystem
Report/Notes

Docker
Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1861

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux 2dbe244eef72 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 89b7b5a7f9

whitespace
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/1/artifact/yetus-general-check/output/whitespace-eol.txt

Max. process+thread count
85 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 26s
Docker mode activated.

 Use git apply --whitespace=fix <<patch_file>>.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m  5s
the patch passed

+1 :green_heart:
compile
1m 17s
the patch passed

+1 :green_heart:
javac
1m 17s
the patch passed

+1 :green_heart:
shadedjars
6m 43s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 44s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
192m 16s
hbase-server in the patch passed.

222m 56s

Subsystem
Report/Notes

Docker
Client=19.03.11 Server=19.03.11 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1861

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 386520e8b279 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 89b7b5a7f9

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/testReport/

Max. process+thread count
3570 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m  9s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 51s
master passed

+1 :green_heart:
compile
0m 58s
master passed

+1 :green_heart:
shadedjars
6m  8s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 46s
the patch passed

+1 :green_heart:
compile
0m 57s
the patch passed

+1 :green_heart:
javac
0m 57s
the patch passed

+1 :green_heart:
shadedjars
5m 59s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 35s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
199m  3s
hbase-server in the patch passed.

226m 53s

Subsystem
Report/Notes

Docker
Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1861

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux b1ab26d74226 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 89b7b5a7f9

Default Java
1.8.0_232

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/testReport/

Max. process+thread count
3861 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1861/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


cannot access the gui at all in a multiplayer server but i can in a single player server

This issue occurs when only Valkyrien Skies and addons are installed and no other mods

[X] I have tested this issue and it occurs when no other mods are installed

Minecraft Version
1.19
Eureka version
v1.5.1-beta.2
VS2 version
v2.1.2-beta.1
Mod Loader
Forge
Issue description
I made a ship in singleplayer and it works, I can open the GUI and assemble.
However in a multiplayer server I cannot enter the gui at all right clicking it, sneak clicking it or any other way. Any ideas?
Issue reproduction
h
Logs
No response

My problem was because i had something in my hands. You need to clear your offhand and your main hand.


Possible bug in Filip's typePattern validation.

https://github.com/RWTH-EBC/FiLiP/blob/master/filip/models/ngsi_v2/base.py#L48
It says that you can only specify a type pattern if you haven't specified an entity id.
if values['type'] or values.get('typePattern', None):
    assert ((values['type'] and not values['typePattern']) or
                 (not values['id'] and values['typePattern'])), \
                "Type or pattern of the affected entities. " \
                "Both cannot be used at the same time."

I would have expected it to enforce that you can only specify a type pattern if you haven't specified a type id.
if values['type'] or values.get('typePattern', None):
    assert ((values['type'] and not values['typePattern']) or
                 (not values['type'] and values['typePattern'])), \             # change is on this line
                "Type or pattern of the affected entities. " \
                "Both cannot be used at the same time."

Sorry if you are already aware or I am wrong.

Yes, I think you are right. Could you assign yourself and fix that?

Yes, I think you are right. Could you assign yourself and fix that?

I don't have write access / collaborator status in this repository. I can make a fork, but I can't create a branch to fix the defect in.