[Feature] Add array function of array_contains_all

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

> select c1, c2, array_contains_all(c1, c2) from t2;
+------------+----------+----------------------------+
| c1         | c2       | array_contains_all(c1, c2) |
+------------+----------+----------------------------+
| [1,2,3]    | [1]      |                          1 |
| NULL       | [1]      |                       NULL |
| [1,2,3]    | NULL     |                       NULL |
| [1,2,null] | NULL     |                       NULL |
| [1,2,null] | [null,1] |                          1 |
| NULL       | [null,1] |                       NULL |
| [1,2,null] | [null]   |                          1 |
| [1,2,3]    | [4]      |                          0 |
| [1,2,3]    | [1,4]    |                          0 |
| [1,2,3]    | [1,2]    |                          1 |
+------------+----------+----------------------------+

[FE PR Coverage check]
:heart_eyes: pass : 0 / 0 (0%)

@choury Thank you for your contribution.
For has_any, starrocks has array_overlap function which has the same functionality as has_any.
For has_all function, to keep the array function with the same name format, I think it is better to use function name starts with array_. How about array_contains_all ?
@wangsimo0 @Dshadowzh Could you give some advice?

About function naming:

ClickHouse
Hive
Presto/Trino
Spark/Databricks
snowflake
Apache Druid

hasAny
/
arrays_overlap
arrays_overlap
arrays_overlap
/

hasALL(array, array)
array_contains(array, object)
all_match(array, fucntion)
/
array_contains(array, object)
array_contains(array, object)

StarRocks's function naming used to follow the order: MySQL > Hive > the others.
array_overlap and array_contains is supported

@Dshadowzh Does starrocks have a mechanism of function alias already?

@Dshadowzh Does starrocks have a mechanism of function alias already?

Yeah, you can write alias in the vectorized_functions.py definition.
But for this case, I'm not sure if we should keep compatible with Clickhouse. Because besides clickhouse, no other system has the same function name has_all.
So I think if you want to keep compatible with clickhouse, you can make this alias in your own repo?

@imay Function name has been changed to array_contains_all

[FE PR Coverage check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_fe_unittest


graphql subscriptions and mutations

I have a query where I can see, how to use mutations and subscriptions, I've been looking but I couldn't find it, maybe I'm doing it wrong.
Thank you so much :)

    return Mutation(
      options: MutationOptions(
        document: DELETE_NETWORK_MUTATION_DOCUMENT,
        operationName: DELETE_NETWORK_MUTATION_DOCUMENT_OPERATION_NAME,
      ),
      builder: (runMutation, result) {
...
        runMutation(
          DeleteNetworkArguments(
            networkId: networkFrag.id,
          ).toJson(),
        );


[FLINK-22001] Add tests for DefaultJobMasterServiceProcess

These tests should cover the common cases.

Merged.


feat: integrate codspeed

Replaces the existing cachegrind benchmark CI workflow with an integration with codspeed.io.
View online.

crash not related to this PR. will fix it in other PR.


[iOS]: Update Swift.package

Description
fix #2732

Would I use this link to login my trust wallet and be able to see my balance...that what am trying to do and it hard I want to be able to just see my balance on my trust wallet and I'll give the person $500 bitcoins


Julia 1.4.1

Syntax changes so that the package works on Julia 1.4.1 (and probably on 1.1, 1.3). Also, unzip was changes to InfoZIP.jl.

Dear Aaaron,
thanks for your letter. Random is needed for shuffle(), LinearAlgebra is needed for norm().
Best, Ivan
Prof. dr. sc. Ivan Slapničar
Sveučilište u Splitu / University of Split
FESB
R. Boškovića 32
HR-21000 Split
Hrvatska / Croatia
Phone: + 385 21 305893
Ured/Office: B803

Šalje: Aaron Windsor<EMAIL_ADDRESS>Poslano: 3. svibnja 2020. 18:02
Prima: aaw/IncrementalSVD.jl<EMAIL_ADDRESS>Kopija: Ivan Slapničar<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Predmet: Re: [aaw/IncrementalSVD.jl] Julia 1.4.1 (#12)
@aaw commented on this pull request.

In src/IncrementalSVD.jlhttps://github.com/aaw/IncrementalSVD.jl/pull/12#discussion_r419123365:

@@ -1,6 +1,6 @@
module IncrementalSVD

-using ProgressMeter
+using ProgressMeter, InfoZIP, Random, LinearAlgebra
I understand why you added InfoZip here, but why add Random and LinearAlgebra?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/aaw/IncrementalSVD.jl/pull/12#pullrequestreview-404632729, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACCGXMFDFOBFOWG2WUOF2QLRPWIQZANCNFSM4MXN2ARQ.

Keeping tempdir is no problem.
Prof. dr. sc. Ivan Slapničar
Sveučilište u Splitu / University of Split
FESB
R. Boškovića 32
HR-21000 Split
Hrvatska / Croatia
Phone: + 385 21 305893
Ured/Office: B803

Šalje: Aaron Windsor<EMAIL_ADDRESS>Poslano: 3. svibnja 2020. 18:02
Prima: aaw/IncrementalSVD.jl<EMAIL_ADDRESS>Kopija: Ivan Slapničar<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Predmet: Re: [aaw/IncrementalSVD.jl] Julia 1.4.1 (#12)
@aaw commented on this pull request.

In src/movielens_dataset.jlhttps://github.com/aaw/IncrementalSVD.jl/pull/12#discussion_r419123376:

@@ -8,7 +8,7 @@

Both datasets have ratings in the range 1.0-5.0.
function load_movielens_dataset(zipfile_name, archive_dir, split_ratio=0.10)

temp_dir = tempdir()

temp_dir = "." # tempdir()

I'd like to keep tempdir() here. Can you revert this line or add some way of overriding it if you need a directory other than tempdir() (like passing a parameter temp_dir=nothing that is set to tempdir() if nothing is passed)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/aaw/IncrementalSVD.jl/pull/12#pullrequestreview-404632741, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACCGXMD4XPQEYK2O3EAK6ULRPWIRFANCNFSM4MXN2ARQ.

In the original, unzip is called twice, once for each file.
InfoZIP.unzi extracts the entire zip file at once.
Does that make sense?
Prof. dr. sc. Ivan Slapničar
Sveučilište u Splitu / University of Split
FESB
R. Boškovića 32
HR-21000 Split
Hrvatska / Croatia
Phone: + 385 21 305893
Ured/Office: B803

Šalje: Aaron Windsor<EMAIL_ADDRESS>Poslano: 3. svibnja 2020. 18:02
Prima: aaw/IncrementalSVD.jl<EMAIL_ADDRESS>Kopija: Ivan Slapničar<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Predmet: Re: [aaw/IncrementalSVD.jl] Julia 1.4.1 (#12)
@aaw commented on this pull request.

In src/movielens_dataset.jlhttps://github.com/aaw/IncrementalSVD.jl/pull/12#discussion_r419123396:

@@ -20,11 +20,7 @@ function load_movielens_dataset(zipfile_name, archive_dir, split_ratio=0.10)
ratings_file_name = joinpath(temp_dir, archive_dir, "ratings.dat")
if !isfile(movie_file_name)
println("Extracting movie data...")

   run(`unzip $download_path $(archive_dir)/movies.dat -d $temp_dir`)

It looks like you're removing lines 23-27 when I think you should be just replacing line 23 with "InfoZIP.unzip(...". Can you fix?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/aaw/IncrementalSVD.jl/pull/12#pullrequestreview-404632752, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACCGXMEIMXU5P5TUZ6EPJPDRPWIRTANCNFSM4MXN2ARQ.

Sure!
Prof. dr. sc. Ivan Slapničar
Sveučilište u Splitu / University of Split
FESB
R. Boškovića 32
HR-21000 Split
Hrvatska / Croatia
Phone: + 385 21 305893
Ured/Office: B803

Šalje: Aaron Windsor<EMAIL_ADDRESS>Poslano: 3. svibnja 2020. 18:02
Prima: aaw/IncrementalSVD.jl<EMAIL_ADDRESS>Kopija: Ivan Slapničar<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Predmet: Re: [aaw/IncrementalSVD.jl] Julia 1.4.1 (#12)
@aaw commented on this pull request.

In src/movielens_dataset.jlhttps://github.com/aaw/IncrementalSVD.jl/pull/12#discussion_r419123411:

@@ -41,6 +37,7 @@ function load_movielens_dataset(zipfile_name, archive_dir, split_ratio=0.10)
user_to_index = Dict{AbstractString, Int32}()
ratings_count = countlines(ratings_file_name)
progress = Progress(ratings_count, 1, "Loading ratings ")

println(ratings_file_name)

Can you remove this println?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/aaw/IncrementalSVD.jl/pull/12#pullrequestreview-404632765, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACCGXMCVV7AUVZ5ERRY23QDRPWIR7ANCNFSM4MXN2ARQ.

Thanks for the fixes!

You are welcome. It was a pleasure! It is a great package. I am using it in my Applied NLA Course.


Some updates

Updates CI pipeline to use 8.2 as must, experimental 8.3 and use 8.1 for the tools
Update the list of included hyphenation patterns

The inspection completed: ****


feat(tutorial): complete step 1

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

created pull request TP


Hash generating

BCrypt is hashing my text into "*0" string.

Just tested it myself and getting the same result.

Doing something like bcrypt_digest("string", bcrypt_salt(100)) will output something similar to that.
Read the documentation, as it gives you a link advising you to check how many log rounds to use.

http://security.stackexchange.com/questions/17207/recommended-of-rounds-for-bcrypt

I'm doing something like this:
bcrypt_digest(password, accountData["members_pass_salt"])
where password is a variable with text from textfield, and members_pass_salt is a salt from IP.B 4.0 mySQL table. So, I think IP.B DevTeam know how to use this log rounds :). But it doesn't matter now, I used callRemote function to bcrypt my passwords in php.


(FEATURE) - on parse of new URLS, be able to set folder

In my findings I found that if a URL is parsed in a document from a HREF, it will create a sub document in the parents directory that was defined at creation time;
scrape({
  directory: '/path/to/save'
})

I have created https://github.com/gabrielcsapo/node-timecapsule and the way it works is caching every URL as its own directory, with timestamped sub directories.
I have been using this module and was wondering if it was inline with the direction of this project to be able to change the directory of the directory that the modules are being saved to.
I know there is https://github.com/s0ph1e/node-website-scraper#resourcesaver, but that section doesn't allow the static URL that was changed from the prior.

Hi @gabrielcsapo
I'm not sure that I completely understand your question. Could you please share some example of desired behavior?
If you need to change directory in runtime - you can create your custom resourceSaver
If you need to change subdirectory which is generated for resource - you can create custom filenameGenerator function (you can use default filename generator as example)

@s0ph1e apologies so I was thinking of scenario like the following;

http://www.google.com

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Google</title>
    </head>
    <body>
        <a href="/about"> About </a>
    </body>
</html>

When node-website-scraper goes to scrape the data from /about I was wondering if it would be possible to change the location and the link to point to another directory like ${hash}/about. The href would have to have to point to the new directory also.
I might sound rambling, but hopefully I make sense 🙈

@gabrielcsapo I think it can be implemented with custom filenameGenerator. It should be something like this
function myFilenameGenerator(resource, options, occupiedFileNames) { /*
  here you can copy existing implementation
  and update logic of generating subdirectory name for resource
  https://github.com/s0ph1e/node-website-scraper/blob/9e21caa04ba1e963b80d7f005e450442d30457ee/lib/filename-generator/by-type.js#L13
 */}

scrape({
  urls: urls,
  directory: directory,
  filenameGenerator: myFilenameGenerator
})

Hope it helps

Thank you I will try this!

@s0ph1e so I am getting a directory structure like this if I try to change the folder path, but what I am looking to do, is on resource, if it from a different domain then the url I am scraping, it will store it in a different folder.

I have a work in progress branch that is located here https://github.com/gabrielcsapo/node-timecapsule/blob/wip/index.js#L52, I thought it might be too much to post in the code, but a sample snippet is
function generateFilename (resource, options, occupiedFileNames) {
   var preferredFilename = resource.getFilename();
   var urlFilename = scrapeUtils.getFilenameFromUrl(resource.getUrl());
   var filename = preferredFilename || urlFilename || options.defaultFilename;

   var resourceType = resource.getType();
   var extension = scrapeUtils.getFilenameExtension(filename);

   if (!extension && typeExtensions[resourceType]) {
       extension = typeExtensions[resourceType][0];
       filename += extension;
   }
   const url = resource.getUrl().replace(filename, '');
   const hashUrl = url.indexOf('://') > -1 ? url.substring(url.indexOf('://') + 3, url.length) : url;
   const hash = new Buffer(hashUrl).toString('base64');
   const date = moment().format('Y-M-D-h:mm:ss:a');

   if(!self.cached[resource.getUrl()]) {
       self.cached[resource.getUrl()] = `${hash}/${date}`;
   }

   return `${self.cached[resource.getUrl()]}/${filename}`;
}

@gabrielcsapo
Resource is saved in directory/filename where:

directory - root directory name, from directory option
filename - path to resource inside directory, generated by filenameGenerator. using custom filename generator you can change only filename part, not directory

but what I am looking to do, is on resource, if it from a different domain then the url I am scraping, it will store it in a different folder

do you mean changing directory part?

Yes @s0ph1e, Is it possible to change the directory from the generate filename function?

@s0ph1e sorry 🙈 my logic was wrong, I didn't want to do this after all.


tsuru

Open source Platform as a Service (PaaS) based docker.
https://tsuru.io/
https://github.com/tsuru/tsuru

Thanks for your contribution :smile:
PaaS section created...


Sqlite explain plan log efficiency

Reduce overhead of sqlite explain plan logging.
Partial fix for #1921
Very rough
`initial
real    3m26.159s
user    3m23.611s
sys     0m1.920s
capture program & operations by reference
real    3m7.704s
user    3m6.264s
sys     0m0.754s
use Vec instead of HashSet for results
real    1m24.922s
user    1m24.317s
sys     0m0.562s
check logging enabled before cloning result
real    1m17.668s
user    1m17.047s
sys     0m0.521s
`

Appreciate the cleanup here, I may wait on merging #1946 until 0.7.0 because I'm not sure how it will interact with null inference but it's nice to get some kind of performance win anyway.


Update osqp version

v0.6.1.dev0 is not found anymore in https://github.com/oxfordcontrol/osqp/tags.

@kenji-miyake sorry, I didn't see this PR and just pushed #5 . Thank you so much!

@esteve No problem, thank you!


Do we still need clean-babel-cache?

I suppose it's relevant only for messages and env. Investigate.

Yep. It was fixing some weird caching, and removing has no perf impact.


Show non-tenant groups in Set Ownership group dropdown

Purpose or Intent
When setting the ownership of a Cloud Instance, the group drop down should only contain non-tenant groups.
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1364945

@miq-bot add_label ui, bug

@h-kataria please review.

Is this true?
how does someone assign "no group" which really means - the tenant only group

How does someone assign "no group"  -- not quite sure. See @kbrock, we're really just humble
UI people trying to fix UI problems :smile: I don't entirely understand the semantics of the tenant
groups here.
I know that whenever a tenant is created, a group for this tenant is also created under the cover.
Now the original problem here was that when this tenant is renamed in the UI, the group ownership
screen still shows the old tenant name, not the updated one. This is easy to explain, since what
we're presenting in the UI is not the tenant name, but the tenant group name (which doesn't get
updated when the tenant name changes).
The intended fix here then was to get rid of the tenant groups in the ownership screen and present
just the non-tenant groups.

@mzazrivec that makes sense.
Just putting out there that sometimes someone wants to change the tenant, but not assign to a group. so they assign to the tenant's default group.
There used to be a 'remove from groups' before.
But you can't say "no one owns this". Someone has to own this. A tenant owns this (and not some group within it)

@mzazrivec, @h-kataria, implemented suggestions, please review.

Looks good.

Darga Backport conflict
$ git cherry-pick -x -m 1  217a282
error: could not apply 217a282... Merge pull request #10720 from bmclaughlin/no-tenants-in-set-ownership
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

$ git status
On branch darga
Your branch is up-to-date with 'upstream/darga'.
 to mark resolution)

	both modified:   app/controllers/application_controller/ci_processing.rb
	both modified:   spec/controllers/application_controller/ci_processing_spec.rb

$ git diff

diff --cc app/controllers/application_controller/ci_processing.rb
index f67ddb5,cda6640..0000000
--- a/app/controllers/application_controller/ci_processing.rb
+++ b/app/controllers/application_controller/ci_processing.rb
@@@ -76,24 -84,24 +76,30 @@@ module ApplicationController::CiProcess

    DONT_CHANGE_OWNER = "0"

 -  def build_ownership_info
 +  # Build the ownership assignment screen
 +  def ownership_build_screen
      @users = {}   # Users array for first chooser
 -    klass = get_class_from_controller_param(params[:controller])
 -    Rbac.filtered(User).each { |u| @users[u.name] = u.id.to_s }
 -    record = klass.find(@ownership_items[0])
 -    user = record.evm_owner if @ownership_items.length == 1
 -    @user = user ? user.id.to_s : nil
 +    rbac_filtered_objects(User).each { |u| @users[u.name] = u.id.to_s }
 +    record = @edit[:klass].find(@edit[:ownership_items][0])
 +    user = record.evm_owner if @edit[:ownership_items].length == 1
 +    @edit[:new][:user] = user ? user.id.to_s : nil            # Set to first category, if not already set

 -    @groups = {} # Create new entries hash (2nd pulldown)
 +    @groups = {}                    # Create new entries hash (2nd pulldown)
      # need to do this only if 1 vm is selected and miq_group has been set for it
++<<<<<<< HEAD
 +    group = record.miq_group if @edit[:ownership_items].length == 1
 +    @edit[:new][:group] = group ? group.id.to_s : nil
 +    rbac_filtered_objects(MiqGroup).each { |g| @groups[g.description] = g.id.to_s }
++=======
+     group = record.miq_group if @ownership_items.length == 1
+     @group = group ? group.id.to_s : nil
+     Rbac.filtered(MiqGroup.non_tenant_groups).each { |g| @groups[g.description] = g.id.to_s }
++>>>>>>> 217a282... Merge pull request #10720 from bmclaughlin/no-tenants-in-set-ownership

 -    @user = @group = DONT_CHANGE_OWNER if @ownership_items.length > 1
 +    @edit[:new][:user] = @edit[:new][:group] = DONT_CHANGE_OWNER if @edit[:ownership_items].length > 1

 -    @ownershipitems = klass.find(@ownership_items).sort_by(&:name)
 -    @view = get_db_view(klass == VmOrTemplate ? Vm : klass) # Instantiate the MIQ Report view object
 +    @ownershipitems = @edit[:klass].find(@edit[:ownership_items]).sort_by(&:name) # Get the db records that are being tagged
 +    @view = get_db_view(@edit[:klass] == VmOrTemplate ? Vm : @edit[:klass])       # Instantiate the MIQ Report view object
      @view.table = MiqFilter.records2table(@ownershipitems, @view.cols + ['id'])
    end

diff --cc spec/controllers/application_controller/ci_processing_spec.rb
index 79ac778,bbc2fb2..0000000
--- a/spec/controllers/application_controller/ci_processing_spec.rb
+++ b/spec/controllers/application_controller/ci_processing_spec.rb
@@@ -196,15 -201,20 +196,15 @@@ describe ApplicationController d

      before do
        @vm_or_template = FactoryGirl.create(:vm_or_template)
 -      @ownership_items =<EMAIL_ADDRESS> -      @params = {:controller =>'vm_or_template'}
 -      @user = nil
 +      @edit = {:ownership_items =><EMAIL_ADDRESS>:klass => VmOrTemplate, :new => {:user => nil}}
      end

-     it "lists all groups when (admin user is logged)" do
+     it "lists all non-tenant groups when (admin user is logged)" do
        login_as(admin_user)
 -      controller.instance_variable_set(:@ownership_items, @ownership_items)
 -      controller.instance_variable_set(:@_params, @params)
 -      controller.instance_variable_set(:@user, @user)
 -
 -      controller.build_ownership_info
 +      controller.instance_variable_set(:@edit, @edit)
 +      controller.ownership_build_screen
        groups = controller.instance_variable_get(:@groups)
-       expect(groups.count).to eq(MiqGroup.count)
+       expect(groups.count).to eq(MiqGroup.non_tenant_groups.count)
      end

      it "lists all users when (admin user is logged)" do
@@@ -223,15 -237,6 +223,18 @@@
        expected_ids = [great_grand_child_tenant.user_ids, grand_child_tenant.user_ids].flatten
        expect(expected_ids).to match_array(users.values(&:id).map(&:to_i))
      end
++<<<<<<< HEAD
 +
 +    it "lists all groups that are related to descendants tenats strategy" do
 +      login_as(grand_child_user)
 +      controller.instance_variable_set(:@edit, @edit)
 +      controller.ownership_build_screen
 +      groups = controller.instance_variable_get(:@groups)
 +      expected_ids = [great_grand_child_tenant.miq_group_ids, grand_child_tenant.miq_group_ids].flatten
 +      expect(expected_ids).to match_array(groups.values(&:id).map(&:to_i))
 +    end
++=======
++>>>>>>> 217a282... Merge pull request #10720 from bmclaughlin/no-tenants-in-set-ownership
    end
  end

@bmclaughlin Please run the same cherry-pick command locally, resolve conflicts, validate, and make a Darga PR from it. /cc @dclarizio

@simaishi https://bugzilla.redhat.com/show_bug.cgi?id=1364945 has multiple version flags

Darga BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1374695
@miq-bot remove_label bugzilla needed

Darga Backport details:
$ git log

commit f23cfd02bf870447c6d4528e332bf0bd7c179abe
Merge: 070847f 3be3ba9
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Mon Sep 12 17:00:57 2016 -0400

    Merge pull request #11199 from bmclaughlin/darga-no-tenants-in-set-ownership

    [DARGA] Show non-tenant groups in Set Ownership group dropdown


buggy sometimes

for the stamp game, fractions and checkerboard, sometimes cant drag bars or pie halves, bead bars etc. not a browser issue coz sometimes it works.. just doesnt work during 10am-2pm GMT+8. Otherwise, great apps

Good afternoon @sharama333,
This project started out as a kinda hack-a-thon and I am currently working on cleaning it up for performance and reliability.
Would you be able to let me know what browser you are using? Due to time and budget constraints we can only support the latest versions of chrome/firefox :(

I used firefox, chrome, safari for the IOS. stamp game worked with the IOS,
the rest didnt. The apps respond better to windows. Yesterday, everything
worked fine on windows especially fractions. no issue on lag.
Also, thank you very much for your apps. My 6 year old who goes to a
montessori school loved them and asked us to buy you coffees.
On Thu, Aug 27, 2020, 4:08 AM Menachem Hornbacher<EMAIL_ADDRESS>wrote:

Good afternoon @sharama333 https://github.com/sharama333,
This project started out as a kinda hack-a-thon and I am currently working
on cleaning it up for performance and reliability.
Would you be able to let me know what browser you are using? Due to time
and budget constraints we can only support the latest versions of
chrome/firefox :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Virtual-Montessori/montessori-tools/issues/43#issuecomment-681096968,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQWYRLI32H7KVFJZFCNIXZDSCVTTPANCNFSM4QISGJKA
.


[objc] Turn interfaces into protocols

Every member must be @required for .NET.
Issues:

unless all members of the .NET interface can be mapped to ObjC we cannot subclass (the protocol) or even correctly conform to a protocol;

E.g.

object GetFormat(Type formatType) would be hard to conform to from ObjC

PR merged https://github.com/mono/Embeddinator-4000/pull/191


Add testcontainers module

The job jet-contrib-pr-builder of your PR failed (log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file

PR closed by Hazelcast automation as no activity (>3 months). Please reopen with comments, if necessary. Thank you for using Hazelcast and your valuable contributions

The job jet-contrib-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file


Config Generator

Crafting a configuration profile is tedious, difficult to get right, and the documentation for all the keys is difficult to write.
We could host a config generator site on santa.dev as a form with instructions for each key that then produces a valid plist config. This will require a fair bit of JavaScript but GH pages supports hosting JS files so this should be OK.
As well as a form being much simpler to use, we can document each key in-line with the form.

Agreed on this being a barrier to entry. On this note, there is a community-led (life-support-maintained) 'full' app project called Profile Creator and another 'fat' app iMazing profile-editor that make the experience more palatable, but 'prior art' for it being in a web page is (similarly zoomed in on a specific use case) 'dock master' https://techion.com.au/blog/2015/4/28/dock-master (it was 2015, maybe we can cut them some slack on naming 😅).


Make the value linear with 90deg at the bar

This should happen here.
I fixed it on my side by having this Styled-Components selector:
.ps-rl.bar-wrap-inner > div:first-child > div:not([class='handle']) {
  background-image: ${({ color }) => force90degLinear(color)} !important;
}

And the force90degLinear function looks like this:
function force90degLinear(color: string): string {
  return color.replace(
    /(radial|linear)-gradient\([^,]+,/,
    'linear-gradient(90deg,'
  );
}

Before
After

Please create a PR and I'll merge it.

Added your function, I never noticed this behaviour and I like this fix a lot. Will be included in next version.


Proxy storage slots EIP

New EIP for standardising proxy storage slots. I'm opening in it locally on this repo to discuss internally, until we are ready to share with the rest of the community. This EIP is to be pushed together with the Terminal team, who were pushing for EIP1822.

Closed PR to open directly on Ethereum/EIPs.


added fullscreen and overlay fullscreen to modal

Added options für fullscreen and overlay fullscreen modal.
https://fomantic-ui.com/modules/modal.html#overlay-full-screen

Thanks for the PR.
Release in v0.15.0.

Hey @nightswinger ,
would it be possible to roll out version v0.15.0?
Thank you very much in advance.

Sorry for neglecting.
I just released v0.15.0.


Failed to derive borsh ser/de in a recursive data structure

Minimal example:
#[derive(BorshSerialize, BorshDeserialize)]
enum A {
    X,
    Y(Box<A>),
}

gives compilation error:
error[E0275]: overflow evaluating the requirement `Box<A>: BorshSerialize`
 --> src/main.rs:3:10
  |
3 | #[derive(BorshSerialize, BorshDeserialize)]
  |          ^^^^^^^^^^^^^^
  |

serde, can handle this case, btw

serde, can handle this case, btw

Any plan to support this anytime soon?

@vantessel I believe the original motivation died out and there is currently no champion to implement it. I am happy to review a PR if anyone is ready to contribute the implementation, just make sure you read the discussion in PR #96 that did not get through.


Rate Control not update after Property Changed

hi @NaBian  rate control not update after propertychanged but if we focus control with mouse, it can be update

can you provide a simple demo? together with #346

@NaBian  please check this project
HandyControlProject1.zip

@NaBian , @DinoChan  commit fixed this issue (tnx bro👍)


Embedding of media content

We could use Iframely or just oEmbed (Pownce!) to display content from linked pages.

Let's go with oEmbed and see it it satisfies.


Spring Webflux controller not return response

executing the following endpoint that invokes ServiceBusSenderAsyncClient.sendMessage, registers the message in serviceBus, but the controller does not return the response "create message". The execution does not propagate the return of sendMessage in the flow.
any suggestion
@RestController
@RequestMapping("/producer")
public class ProducerController {
@Autowired
private ServiceBusSenderAsyncClient client;
@GetMapping
@ResponseStatus(HttpStatus.CREATED)
public Mono test() {
ServiceBusMessage message = new ServiceBusMessage("test");
return client.sendMessage(message)
.flatMap(aVoid -> Mono.just("create message"));
}
}

@yiliuTo could you please follow up with @kuroshan?

Hi @kuroshan , ServiceBusSenderAsyncClient#sendMessage method returns a Mono<Void>, so you could use then instead of flatMap, for example
    @GetMapping
    @ResponseStatus(HttpStatus.CREATED)
    public Mono test() {
        ServiceBusMessage message = new ServiceBusMessage("test");
        return client.sendMessage(message)
                     .then(Mono.just("create message"));


getJSDocTags ... Debug Failure. False expression.

I get this exception when trying to migrate an existing JS app to TS.
/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:63860
                throw e;
                ^

Error: Debug Failure. False expression.
    at getJSDocTags (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:10302:22)
    at getFirstJSDocTag (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:10309:24)
    at Object.getJSDocType (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:10286:19)
    at getContextualSignature (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:33934:32)
    at checkFunctionExpressionOrObjectLiteralMethod (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:36773:43)
    at checkExpressionWorker (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:37696:28)
    at checkExpression (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:37629:42)
    at checkBinaryLikeExpression (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:37246:29)
    at checkBinaryExpression (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:37238:20)
    at checkExpressionWorker (/home/burton/projects/polar-bookshelf/node_modules/typescript/lib/tsc.js:37717:28)

.. I imagine I have malformed JSDoc tags that I need to resolve but I can't find out which one is causing the problem. I went through and looked at the last .js file from my app it's printing and removed the JSDoc and that didn't resolve the problem.
It would be nice if TSC didn't choke but even just better error handling so I can fix this myself would be nice.

TypeScript Version:  2.9.2
Search Terms:
getJSDocTags " Debug Failure. False expression."
Code
I'm not sure
Expected behavior:
Don't generate this error but at least show me where the problem is happening.
Actual behavior:
Playground Link:
Related Issues:

The bug is happening due to a jsdoc comment somewhere in your program. You might be able to narrow it down by making a clone of your repository and deleting files until the error no longer happens, then narrow down the particular file that was responsible. Or if you can, you could just share a link to the project.

Duplicate of #25067?

May be -- @burtonator Be sure to test with typescript@next to ensure it's not already fixed.

Fixed on 3.0.0-rc!

@andy-ms just seeing this in our project as well, but we're stuck at 2.7.2 due to the deps of @angular/cli. Any idea if there's a way to work around this?

@mcblum The original issue is #24963. You should be able to fix it by separating duplicate assignments a = b = c into b = c; a = b;.

@andy-ms thanks for the reply. so these issues appear to be related to dependencies of the project. I've created a Pastebin. If you have any ideas, it would be much appreciated!
https://paste.laravel.io/f617665b-bfd9-44fd-96ba-b296cb8b3d5e

@mcblum Maybe you could avoid compiling your node_modules with TypeScript and use type declarations instead?

Also, I don't see any errors running tsc auth0.js --noEmit --strict --allowJs with<EMAIL_ADDRESS>installed, so your build tool may not be using the TypeScript version you think it is. Try getting a repro that just uses tsc.

@andy-ms interesting. I ran ng --version and it shows 3.0.1. When you say avoid compiling, what exactly does that mean? At the moment we're using the standard Angular CLI build process - to be honest, I'm not sure what it's doing behind the curtain.

You're getting compile errors in files that TypeScript wouldn't normally compile -- by default it doesn't type-check the contents of node_modules unless there's a .d.ts file. I'm not an angular user so you may need to look for an angular help forum.


Review immunity

Description of change
Review immunity for evidence and enforcement.
Story Link
https://trello.com/c/wXL4JGUa
Screenshots

Merging this myself because Evangelos isn't working today.


User-reported unhelpful error message

Program: https://code.world/#PHGMn1__k8ICYG4iZ49dQ5A
Comment:
Both examples given on your site do not work!
even import CodeWorld gives error
Line 4, Column 1-16: error:
Could not find module CodeWorld
Perhaps you meant to use http://code.world/haskell
Line 115, Column 7-18: error: This arrow can't be used here.
Not helpful?
To compare a negative number, add a space between < and -.
Line 116, Column 7-27: error: This arrow can't be used here.
Not helpful?
To compare a negative number, add a space between < and -.
Line 116, Column 14-17: error:
Not helpful?
• Missing punctuation before this expression.
Perhaps you forgot a comma, an operator, or a bracket.
• To apply a function, add parentheses around the argument.
For example: Follow(zoom)
Line 116, Column 30-46: error: This arrow can't be used here.
Not helpful?
To compare a negative number, add a space between < and -.
Line 116, Column 57-60: error:
Not helpful?
• Missing punctuation before this expression.
Perhaps you forgot a comma, an operator, or a bracket.
• To multiply, please use the * operator.
For example: scaled * zoom
• To apply a function, add parentheses around the argument.
For example: scaled(zoom)
https://code.world/doc.html?shelf=help/haskell.shelf#1
https://code.world/doc.html?shelf=help/haskell.shelf#2
Message:
program.hs:4:1-16: error:
    Could not find module CodeWorld
    Perhaps you meant to use http://code.world/haskell

Same as other report.


Deploy script getting stuck at Waiting for Operator to register custom resource definitions

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.1+912792b", GitCommit:"912792b", GitTreeState:"clean", BuildDate:"2020-06-16T03:51:52Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
prometheus-kubernetes   master ●  ./deploy
Enter desired namespace to deploy prometheus [monitoring]:
Creating monitoring namespace.
4Error from server (AlreadyExists): namespaces "monitoring" already exists

AWS
GCP
Azure
Custom
Please select your cloud provider:
Deploying on custom providers without persistence
Setting components version
Enter Prometheus Operator version [v0.39.0]:

Enter Prometheus version [v2.19.1]:
Enter Prometheus storage retention period in hours [168h]:
Enter Prometheus storage volume size [40Gi]:
Enter Prometheus memory request in Gi or Mi [1Gi]:
Enter Grafana version [7.0.5]:
Enter Alert Manager version [v0.16.1]:
Enter Node Exporter version [v1.0.1]:
Enter Kube State Metrics version [v1.5.0]:
Enter Prometheus external Url [http://<IP_ADDRESS>:9090]:
Enter Alertmanager external Url [http://<IP_ADDRESS>:9093]:
Do you want to use NodeSelector to assign monitoring components on dedicated nodes?
Y/N [N]:
Do you want to set up an SMTP relay?
Y/N [N]:
Do you want to set up slack alerts?
Y/N [N]:
Removing all the sed generated files
Deploying Prometheus Operator
serviceaccount/prometheus-operator created
clusterrole.rbac.authorization.k8s.io/prometheus-operator created
clusterrolebinding.rbac.authorization.k8s.io/prometheus-operator created
service/prometheus-operator created
deployment.apps/prometheus-operator created
Waiting for Operator to register custom resource definitions............
Also I would like to know where are the CRD yaml files?

fixed in https://github.com/camilb/prometheus-kubernetes/commit/e95af0312d540d484ca0d5a2114462c7131a7a28


 I would like to know if it is possible to make a resource pack that would recognize whether you are looking at an entity and understand what kind of entity it is. and it would also be cool if this resource pack calculated the distance to the entity. I will be grateful if you help me

hi, regarding this request, I think the use of datapack is more appropriate than resourcepack.
which would be appropriate to use scoreboard to display the status in the actionbar etc. and in this case, resource packs would allow for richer expressions to be applied


How could I customize my own logging information?

What is the problem this feature will solve?
The existing logger is only available for pre-defined scalars, such as loss, lr, etc.
How could we log other customized information?
I cannot find any tutorials about it, thought I think it is very important for users.
What is the feature you are proposing to solve the problem?
The existing logger is only available for pre-defined scalars, such as loss, lr, etc.
How could we log other customized information?
I cannot find any tutorials about it, thought I think it is very important for users.
What alternatives have you considered?
No response

The logging information is defined by LoggerHook https://github.com/open-mmlab/mmcv/blob/master/mmcv/runner/hooks/logger/text.py. In MMDet 2.x, is is inconvenient to log something you want. We have enhance that in MMDet 3.x, where you can find related tutorials in MMEngine here


Make type type safe?

I started working on this, adding a sum type that covers all the valid type attributes for input, but then I realised that isn't really going to work unfortunately, as the type attribute is also usable with button, command, embed, object, script, etc.
Do we have any ideas for how something like this might work? Or is it not really worth the pain to make a "truly" type safe representation of HTML?

I think there are lots of ways to make this work, what's the goal? A single type attribute which can cover all possible "types" of types (input, script, object, etc.)?

I guess ideally there would be different types - one covering everything would be a bit strange as you'd have mime types (for script) mixed in with checkbox and the like for input.

Well, not full mime types exactly, but you know - text/css, javascript, and so on.

We should use different functions for each of these cases. We could possibly use a mutli-param type-class but that would be gross.

We should use different functions for each of these cases.

Yeah, mimeType, inputType, etc. Doesn't have to match HTML naming convention exactly.

Resolved by #172


[silverstripe] Automate releaseDate, support and eol retrieval

Based on https://www.silverstripe.org/software/roadmap/.

Expected diff:
diff --git i/releases/silverstripe.json w/releases/silverstripe.json
index 7f4ec1a..0901b73 100644
--- i/releases/silverstripe.json
+++ w/releases/silverstripe.json
@@ -1,5 +1,30 @@
 {
-  "releases": {},
+  "releases": {
+    "5.1": {
+      "name": "5.1",
+      "releaseDate": "2023-10-17",
+      "support": "2024-04-17",
+      "eol": "2024-10-17"
+    },
+    "5.0": {
+      "name": "5.0",
+      "releaseDate": "2023-05-04",
+      "support": "2023-10-17",
+      "eol": "2024-04-17"
+    },
+    "4.13": {
+      "name": "4.13",
+      "releaseDate": "2023-04-26",
+      "support": "2024-04-30",
+      "eol": "2025-04-30"
+    },
+    "4.12": {
+      "name": "4.12",
+      "releaseDate": "2022-12-19",
+      "support": "2023-04-26",
+      "eol": "2023-10-26"
+    }
+  },
   "versions": {
     "5.1.6": {
       "name": "5.1.6",


Delete unused files

be/src/runtime/string_buffer.hpp
be/src/util/types.h
be/test/runtime/string_buffer_test.cpp

The three files are not used and remove them.

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

#2825

@Ccuurryy
Firstly thank you for you contribution.
You should also delete the corresponding ./runtime/string_buffer_test.cpp line in be/test/CMakeLists.txt file.

@imay
Sorry to forget that,I push it again

@Ccuurryy You'd better not to remove file util/types.h, because some other files also use the class.

@Ccuurryy
Since util/types.h is no longer needed, these dependencies need to be removed as well
be/src/exprs/slot_ref.cpp:28:#include "util/types.h"
be/src/exprs/anyval_util.h:29:#include "util/types.h"
be/src/exprs/vectorized/function_helper.h:8:#include "util/types.h"
be/src/column/fixed_length_column_base.cpp:14:#include "util/types.h"
be/src/runtime/vectorized/statistic_result_writer.cpp:12:#include "util/types.h"
be/src/runtime/mysql_table_writer.cpp:43:#include "util/types.h"
be/src/runtime/export_sink.cpp:37:#include "util/types.h"
be/src/runtime/memory_scratch_sink.cpp:40:#include "util/types.h"
be/src/runtime/raw_value.h:30:#include "util/types.h"
be/src/runtime/raw_value_ir.cpp:24:#include "util/types.h"
be/src/runtime/file_result_writer.cpp:35:#include "util/types.h"
be/src/runtime/mysql_result_writer.cpp:35:#include "util/types.h"
be/src/runtime/raw_value.cpp:29:#include "util/types.h"
be/src/storage/types.h:51:#include "util/types.h"
be/src/util/types.h:3://   https://github.com/apache/incubator-doris/blob/master/be/src/util/types.h
be/src/util/arrow/row_batch.cpp:47:#include "util/types.h"
be/src/exec/plain_text_builder.cpp:14:#include "util/types.h"

@Ccuurryy  you should rebase main branch

some file need change
be/src/runtime/raw_value.h:201
+#include "util/unaligned_access.h"

-    case TYPE_DECIMALV2:
-        return reinterpret_cast<const PackedInt128*>(v1)->value == reinterpret_cast<const PackedInt128*>(v2)->value;
+    case TYPE_DECIMALV2: {
+        int128_t r = unaligned_load<int128_t>(v2);
+        int128_t l = unaligned_load<int128_t>(v1);
+        return r == l;
+    }

There are some other areas that also need similar modifications
be/src/runtime/raw_value.h:152:        return reinterpret_cast<const PackedInt128*>(v1)->value < reinterpret_cast<const PackedInt128*>(v2)->value;
be/src/runtime/raw_value.h:155:        return reinterpret_cast<const PackedInt128*>(v1)->value < reinterpret_cast<const PackedInt128*>(v2)->value;
be/src/runtime/raw_value.h:209:        return reinterpret_cast<const PackedInt128*>(v1)->value == reinterpret_cast<const PackedInt128*>(v2)->value;

Then you should format your code.


Pedestrian Navigation Generation Issue in Custom Map

Hello everyone,
I'm encountering a problem with pedestrian spawning in my custom map.
I’ve imported a new .xodr and .fbx file into CARLA and followed the tutorial (https://carla.readthedocs.io/en/latest/tuto_M_generate_pedestrian_navigation/) to create the pedestrian navigation file.
However, when I run generate_traffic.py, no pedestrians are spawning.
I have a question about the placement of my .bin file. My custom map is located at /home/going/carla/Unreal/CarlaUE4/Content/THI/Maps. Since there wasn’t a Nav folder there, I created one and placed the .bin file inside.
Additionally, I also put the .bin file in /home/going/carla/Unreal/CarlaUE4/Content/Carla/Maps/Nav, where the default CARLA town .bin files are stored.
Does anyone have any suggestions on what I should do next?
CARLA Version: 0.9.14
OS: Ubuntu 20.04
Thanks,
Rony

Hi,
generate_traffic.py is using spawn points to spawn the actors.
If the spawn point is slightly to low, the walker will fall through the floor.
Make sure your floor is at z=0.0 or even better a little below zero (z=-0.01)
About file sorting, I made a folder for each kind of content type.
Content/Carla
Content/my_map
Content/my_vehicle
...

You can place everything you need for you map in the folder your created. As long as you add your map to the package setting, it should work.
I sorted it that way have make it easier to switch Carla versions. You still need to add your own actors to the Carla blueprints if you have a new Carla installation.

Hi @PatrickPromitzer
In my case, I can spawn pedestrian in my custom map as i tired to spawn and it spawns. But the issue for me is that it is taking the spawn points (as far as I understood) from the .bin file from the Nav folder.
In the generate_traffic.py I think this line https://github.com/carla-simulator/carla/blob/0ce355916231d37caaf77a7328707277e7fd23ac/PythonAPI/examples/generate_traffic.py#L272 calls the location to spawn. Unfortunately it returns None and nothing is spawned.
Thats why I got doubt with the .bin file of the custom map.

If you open the Unreal engine Editor, you can see red lines above the roads (default Maps).
Each red dot above the road is a spawn point.
I don't know if the .bin file does something, because for me it looks like It is a Map setting.
(I can be wrong)

@PatrickPromitzer
I need to spawn the pedestrians instead of the vehicle. Normally for spawning the vehicle, there are spawn points available. But based on the tutorial --> https://carla.readthedocs.io/en/latest/tuto_M_generate_pedestrian_navigation/
We need a navigation file for the pedestrian. I guess there is issue with that file and that's why its not spawning.

I didn't know that, my bad.
The.bin file should be in the same folder as your Map file.
If your map is in
/home/going/carla/Unreal/CarlaUE4/Content/THI/Maps

the .bin file should be in
/home/going/carla/Unreal/CarlaUE4/Content/THI/Maps/Nav

@PatrickPromitzer
Yes, I put the Nav file inside my map file. But somehow its not detecting or access it.

You could try using a .bin file of a default map, and check if it can be loaded.
You could rule out the file having a problem.

Hello! Are you sure your bin file is valid? @ronyshaji It seems your bin file is not correct, Maybe the obj you are using to generate the bin file is not valid.
TIP: Remember to delete the carlaCache. The cache can be found at "HOME\carlaCache" or "USERPROFILE\carlaCache", depending on OS.

@Blyron Is there any way to check the .bin file? I already cleared the carlaCache, but still can't able to use the .bin file.

https://youtu.be/mHiUUZ4xC9o?si=RQTcxYVURndlu3Y5&t=662 Look at this. Maybe is helpful

Hi @ronyshaji. I had a similar issue, but my pedestrians would spawn and then be destroyed due to collision errors. In my case, the generate_traffic.py was the cause. I found if I remove the all_actors[i].go_to_location(world.get_random_location_from_navigation()) call on line 335, pedestrians could spawn and randomly walk around the custom map.


CSV bug fixes

We've encountered two different and related issues on WaitForCSVOnNamepsace:

First one is the watcher's ResultChan() with the watch interface implemented by API machinery that can error or stop the channel with no traces of it leading to nil pointer to the CSV that we're trying to read.
Second one is that this operation has no timeout and can hold indefinitely.

NOTE TO REVIEWERS: the code is configured to wait for 1 minute only. Operators that take more than that to have a succeeded CSV will have their status as failed. We need to get to a consensus on timeout delay here if you don't agree with that. But be aware that 1 minute is quite agressive.

/lgtm


added pre-commit format check

Fixes #9702
This will only run if you run npm install/ci since husky needs to install for the hook to kick in, but I included a check for prettier as well anyway.
An alternative option is to add the file .git/hooks/pre-commit, but that wouldn't be stored in the repo

Codecov Report

Merging #9932 (d8ce27f) into main (86ee170) will increase coverage by 0%.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           main   #9932   +/-   ##
====================================
  Coverage    63%     63%
====================================
  Files       203     203
  Lines      9834    9834
  Branches   1566    1566
====================================
+ Hits       6242    6243    +1
+ Misses     3093    3091    -2
- Partials    499     500    +1

Impacted Files
Coverage Δ

src/platform/errors/types.ts
77% <0%> (-4%)
:arrow_down:

...c/platform/errors/kernelPortNotUsedTimeoutError.ts
100% <0%> (+33%)
:arrow_up:


Remove MPN link article from Azure Lighthouse documentation

MPN linking is a feature independent from Azure Lighthouse. This has been confirmed with Lighthouse Product Team.
This document has caused several Support misroutes, creating bad customer experiences.
Besides, MPN is already documented under more applicable services such as Billing and Partner Center:
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/link-partner-id
https://learn.microsoft.com/en-us/partner-center/link-partner-id-for-azure-performance-pal-dpor

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

ID: c18aa685-4ce8-dfca-9d66-e2b72362c368
Version Independent ID: 6bf01896-11a1-8429-f59a-6476a4aee745
Content: Link your partner ID to track your impact on delegated resources - Azure Lighthouse
Content Source: articles/lighthouse/how-to/partner-earned-credit.md
Service: lighthouse
GitHub Login: @JnHs
Microsoft Alias: jenhayes

Hi @juagliet, I'll contact you directly to discuss this.
#please-close


Load config.json from CONFIG_JSON environment variable

Let me know if you think one better approach

I think this is a greate ideia, but it will better if you change to integrate in the server core instead of a "parallel" process

Yes I agree, I will update soon


FFG Scraper

Download squadbuilder.fantasyflightgames.com/api/cards and /api/api-metadata
Process upgradeTypes and ship icons from api-metadata
translations.json in scripts folder provides translations from <ffg_text> to [xws_text] ( becomes [Jam])
yarn ffgscrape runs entire workflow, writes data in place.

Example diff from running scrape:
https://github.com/jychuah/xwing-data2/commit/c46ab7d382180a136448ca75a64f16e97091d061
Note that scraping detected missing variable cost for Angled Deflectors:
https://github.com/jychuah/xwing-data2/blob/fb097ddd9c084b1d3bd0935f818c4e52e2b8bbbf/scrape.output#L721

Thanks! I don't have time to look at this this evening. I can look at this tomorrow.

Thanks a lot for this! ❤
I am on holidays which is why it took so long to check it out and merge it.


Question: manually setting a window as inactive

Environment: neovim.
I'm using vim-tmux-focus-events, and I'd like to use that to make all windows in an instance of neovim that's in an inactive pane of tmux turn to the inactive color theme for the status line.
I know that I can do this manually by setting all the elements of my vim-airline theme's palette to inactive on FocusLost back to their proper colors on FocusGained, but I've been wondering if it's possible to do this in a less manual way.
(I'm half expecting the "is this window active" property to be too deeply ingrained into how vim/neovim works, but I don't really know much about that, hence a question here.)

There is a FocusLost autocommand. Doesn't that work for you? Does calling :call airline#update_statusline_focuslost() do what you want?


[WIP]: Add the command 'gateway install' to install the ingress gateway

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@houshengbo: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
72630ad053e92a6add6d51b17cc21c84876b72b4
link
/test release-notes_istio

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

@houshengbo: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
72630ad053e92a6add6d51b17cc21c84876b72b4
link
/test release-notes_istio

gencheck_istio
72630ad053e92a6add6d51b17cc21c84876b72b4
link
/test gencheck_istio

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

@houshengbo: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
72630ad053e92a6add6d51b17cc21c84876b72b4
link
/test gencheck_istio

release-notes_istio
146e7a4834c7e14e8f8a8c673d079b090447d4f2
link
/test release-notes_istio

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

@houshengbo: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
80b63644fc2a4a7c84776d82bf6a30e34e124fb0
link
/test release-notes_istio

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

@houshengbo: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
80b63644fc2a4a7c84776d82bf6a30e34e124fb0
link
/test release-notes_istio

lint_istio
80b63644fc2a4a7c84776d82bf6a30e34e124fb0
link
/test lint_istio

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

@houshengbo: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
80b63644fc2a4a7c84776d82bf6a30e34e124fb0
link
/test release-notes_istio

lint_istio
80b63644fc2a4a7c84776d82bf6a30e34e124fb0
link
/test lint_istio

gencheck_istio
80b63644fc2a4a7c84776d82bf6a30e34e124fb0
link
/test gencheck_istio

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

@houshengbo: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
80b63644fc2a4a7c84776d82bf6a30e34e124fb0
link
/test lint_istio

gencheck_istio
342cd2c062398f7b185e632cadf08580e430646f
link
/test gencheck_istio

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

@houshengbo: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
342cd2c062398f7b185e632cadf08580e430646f
link
/test gencheck_istio

lint_istio
342cd2c062398f7b185e632cadf08580e430646f
link
/test lint_istio

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

@houshengbo: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
342cd2c062398f7b185e632cadf08580e430646f
link
/test gencheck_istio

lint_istio
342cd2c062398f7b185e632cadf08580e430646f
link
/test lint_istio

integ-multicluster-k8s-tests_istio
342cd2c062398f7b185e632cadf08580e430646f
link
/test integ-multicluster-k8s-tests_istio

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

The design doc is here: https://docs.google.com/document/d/1Rmp9B3DDypgMCau-YAqidx_r3qvKLZj6jUX-t22zj84/edit?ts=5fa915aa#heading=h.xw1gqgyqs5b.

@houshengbo I am a bit confused since I don't see how that design doc relates to this PR?

Even without the long term plan to separate gw installation from the install manifest, I'm not sure why we'd need a specific command for gw, since these are already included in IstioOperator. Some kind of doc would be ideal, otherwise could you provide some rationale in this PR?


Keyboard support

Should be really nice to have keyboard support for next and prev

+1

+1

+1

+1


Add pre-commit

Now that this project is becoming more active and hopefully more of a community effort we should add black formatting via pre-commit.

Close via #83


Not working continuously

I am using this code , it dose not works continuously, it only steps one , then i have press it again for further . and so
// setting ageRangeSlider
AgeRangeSlider.minimumValue=18;
AgeRangeSlider.maximumValue=75;
AgeRangeSlider.lowerValue=25;
AgeRangeSlider.upperValue=35;
AgeRangeSlider.continuous=YES;
AgeRangeSlider.minimumRange=3;

AgeRangeSlider.tintColor=[Global getColorFromHexString:@"FF719B"];
[AgeRangeSlider addTarget:self action:@selector(AgeRangeSliderValueChanged) forControlEvents:UIControlEventValueChanged];

Hey! I had the same problem, because of handling pan on the parent view of slider subview. Just move pan handler to another subview.

Hello !
I have a no [pan gesture attached with that page . But i have a side menu ,
but i have disabled it in that page .
That have a back button in top left corner not a slide menu icon .
So, what you think that the problem may be now ?
Thanks
On Fri, Jul 10, 2015 at 1:07 PM, Pavel Razumovskiy<EMAIL_ADDRESS>
wrote:

Hey! I had the same problem, because of handling pan on the parent view of
slider subview. Just move pan handler to another subview.
—
Reply to this email directly or view it on GitHub
https://github.com/muZZkat/NMRangeSlider/issues/49#issuecomment-120280706
.

--
Regards,
Rehmak Natiq
+92<PHONE_NUMBER>
Senior Developer at Digicare Computer Consultants
IOS Developer at AppCrates

Hi!
I don't know what it can be.

I am facing the same problem. Did anyone find a solution.


Improving logging

Right now, we're logging DroneCore logs on console. Generally its a practice to dump all the debug logs to a file. We could save them onto say, build/default/logs/dronecore.log.
Then, a user may simply run on a terminal:
tail -f build/default/logs/dronecore.log
So, we can add more debug/info logs in the code (as it won't collide with application console logs) which are really helpful to analyze issues. For ex: say, arming/takeoff fails. We can easy look into logs to see whether all the necessary things went well or not.
PS: As discussed in Slack, we're planning to add this in future (not right now).

Additionally, we should add a method to specify the log level.

Implemented, see example https://github.com/mavlink/MAVSDK/tree/main/examples/log_callback.


fix syntax highlight

I was looking at the track homepage (atm only visible to maintainers at the moment) and I noticed a couple of issues

the logo is not displayed (which I guess it's understandable, since I dont remeber loading it anywhere)

the code snippet does not have syntax highlights (chapel should be supported from highlights.js)

any pointers on how to debug / fix this are very welcome

There's a step in the new track checklist called Prepare for launch. The first item there is to request a track icon. Once that's done, the logo will show up on the track about page.
I'm not sure about the snippet. The value is set correctly in the config.json from what I can tell (https://github.com/exercism/chapel/blob/main/config.json#L16).
I submitted Hello, World, and there's no syntax highlighting on the code there, either.

@ErikSchierboom do you know if there's an extra step to get the highlighting working?

mmm, I don't see chapel in highlightjs demo: https://highlightjs.org/static/demo/
but it is listed in the list of supported languages: https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md
when I used it in a web page a few years ago, I vaguely remember that I had to choose what languages to download, maybe the website needs to reinstall it with chapel included? Don't know, just a wild guess

That's a good guess, @lucaferranti. We'll try that, unless @ErikSchierboom knows something different!

but it is listed in the list of supported languages: https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md

Well yes, but only via a plugin: highlightjs-chapel
Looking at that page, it doesn't seem to have an NPM package (confirmed by https://www.npmjs.com/search?q=chapel).
We need that in order to have the syntax highlighting work on the website, so either we:

Get the people writing that plugin to publish to NPM
Fork and publish yourselves

Get the people writing that plugin to publish to NPM

That would be ideal. @lucaferranti Would you see if you're able to get in touch with them?

Would you see if you're able to get in touch with them?

yes, I will do that.

fwi, the syntax highlight plugin should get registered soon https://github.com/chapel-lang/highlightjs-chapel/pull/11

@ErikSchierboom the highlightjs-chapel repo is now registered as npm plugin: https://www.npmjs.com/package/highlightjs-chapel
can we support syntax highlight for chapel now? Let me know if anything else is needed from my side

Thanks, we'll look into it!

@ErikSchierboom, @iHiD  it seems the syntax highlight works partially.
The code snippet in the about page is correctly highlighted

and when solving exercises the tests on the right side are also correctly highlighted

However, it seems that syntax highlight does not work in the text editor itself

could you take a look?

That's because the online editor uses CodeMirror, so you'd have to create a CodeMirror language plugin for the syntax highlighting to work in the online editor.

Oh maan, I didn't know that.
Do all other tracks have a CodeMirror plugin? If not, how do people find usability of the track without syntax highlight in the editor? Do you have any feedback on that?

Many tracks have a CodeMirror plugin, yes, but not all. We don't have any feedback on how students perceive their learning experience without syntax highlighting.


restrictions on chatgpt in group.

Hi,
Thanks for the awesome project!
I have 3 question;

how to set different language than english in the bot ? to be the official language if someone interactive with the bot.
how to make list for allowed people inside group, and how set $0.3 per account for public usage (not more than 5-10 conversation).
how to set bitcoin + monero for payments in the bot ?

Thanks.

The original author has a paid version for that; this repository isn't that same code. You will have to build in that functionality yourself.


Giving up jni crate in favor to jny-sys

Since currently different alternatives to jni crate can be used for interfacing with java runtime I propose avoid jni wrappers in favor low level jni-sys types.

Fixed by #9


[BUG] NDS query 16 fails on EMR 6.8.0 with AQE enabled

Describe the bug
When running NDS query 16 on EMR 6.8.0 with AQE enabled, the following exception is encountered:
py4j.protocol.Py4JJavaError: An error occurred while calling o192.collectToPython.
: java.lang.UnsupportedOperationException: WholeStageCodegen (2) does not implement doExecuteBroadcast
        at org.apache.spark.sql.errors.QueryExecutionErrors$.doExecuteBroadcastNotImplementedError(QueryExecutionErrors.scala:1924)
        at org.apache.spark.sql.execution.SparkPlan.doExecuteBroadcast(SparkPlan.scala:331)
        at org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.$anonfun$doExecuteBroadcast$1(AdaptiveSparkPlanExec.scala:500)
        at org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.withFinalPlanUpdate(AdaptiveSparkPlanExec.scala:506)
        at org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.doExecuteBroadcast(AdaptiveSparkPlanExec.scala:499)
        at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeBroadcast$1(SparkPlan.scala:226)
        at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:251)
        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
        at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:248)
        at org.apache.spark.sql.execution.SparkPlan.executeBroadcast(SparkPlan.scala:222)
        at org.apache.spark.sql.execution.exchange.BaseOutputAdapterExec.doExecuteBroadcast(Exchange.scala:136)
        at org.apache.spark.sql.execution.exchange.BaseOutputAdapterExec.doExecuteBroadcast$(Exchange.scala:135)
        at org.apache.spark.sql.execution.OutputAdapterExec.doExecuteBroadcast(OutputAdapterExec.scala:35)
        at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeBroadcast$1(SparkPlan.scala:226)
        at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:251)
        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
        at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:248)
        at org.apache.spark.sql.execution.SparkPlan.executeBroadcast(SparkPlan.scala:222)
        at org.apache.spark.sql.execution.SubqueryBroadcastExec.doExecuteCollect(SubqueryBroadcastExec.scala:77)
        at org.apache.spark.sql.execution.AsyncSubqueryExec$$anon$2.doCompute(basicPhysicalOperators.scala:931)
        at org.apache.spark.sql.execution.AsyncSubqueryExec$$anon$2.doCompute(basicPhysicalOperators.scala:928)
        at org.apache.spark.sql.execution.AsyncDriverOperation.$anonfun$compute$1(AsyncDriverOperation.scala:73)
        at org.apache.spark.sql.catalyst.QueryPlanningTracker$.withTracker(QueryPlanningTracker.scala:107)
        at org.apache.spark.sql.execution.SQLExecution$.withTracker(SQLExecution.scala:224)
        at org.apache.spark.sql.execution.SQLExecution$.withTracker(SQLExecution.scala:216)
        at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withExecutionId$1(SQLExecution.scala:199)
        at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:245)
        at org.apache.spark.sql.execution.SQLExecution$.withExecutionId(SQLExecution.scala:196)
        at org.apache.spark.sql.execution.AsyncDriverOperation.compute(AsyncDriverOperation.scala:67)
        at org.apache.spark.sql.execution.AsyncDriverOperation.$anonfun$computeFuture$1(AsyncDriverOperation.scala:53)
        at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:267)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

Note that when the default datasourceV2 is used for Parquet, this exception is not encountered.  Additionally, NDS query 16 on CPU with AQE does not fail.
Environment details (please complete the following information)
EMR 6.8.0 which is using Spark RAPIDS 22.06 jar
DatasourceV1 is enabled for Parquet with this setting: spark.sql.sources.useV1SourceList=parquet

Will retry with spark.rapids.sql.debug.logTransformations set to get more information

SQL plan for query 16 failure on EMR with AQE enabled

@NVnavkumar this looks similar to #7037, would be interesting to see if the fix for that would also apply here.

I back-ported the commits in #7037 in EMR and now the error trace is different as follows:
failed: java.lang.ClassCastException: [Lorg.apache.spark.sql.catalyst.InternalRow; cannot be cast to org.apache.spark.sql.execution.joins.HashedRelation
	at org.apache.spark.sql.execution.SubqueryBroadcastExec.doExecuteCollect(SubqueryBroadcastExec.scala:77)
	at org.apache.spark.sql.execution.AsyncSubqueryExec$$anon$2.doCompute(basicPhysicalOperators.scala:931)
	at org.apache.spark.sql.execution.AsyncSubqueryExec$$anon$2.doCompute(basicPhysicalOperators.scala:928)
	at org.apache.spark.sql.execution.AsyncDriverOperation.$anonfun$compute$1(AsyncDriverOperation.scala:73)
	at org.apache.spark.sql.catalyst.QueryPlanningTracker$.withTracker(QueryPlanningTracker.scala:107)
	at org.apache.spark.sql.execution.SQLExecution$.withTracker(SQLExecution.scala:224)
	at org.apache.spark.sql.execution.SQLExecution$.withTracker(SQLExecution.scala:216)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withExecutionId$1(SQLExecution.scala:199)
	at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:245)
	at org.apache.spark.sql.execution.SQLExecution$.withExecutionId(SQLExecution.scala:196)
	at org.apache.spark.sql.execution.AsyncDriverOperation.compute(AsyncDriverOperation.scala:67)
	at org.apache.spark.sql.execution.AsyncDriverOperation.$anonfun$computeFuture$1(AsyncDriverOperation.scala:53)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:267)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
	at org.apache.spark.sql.execution.adaptive.AdaptiveExecutor.checkNoFailures(AdaptiveExecutor.scala:154)
	at org.apache.spark.sql.execution.adaptive.AdaptiveExecutor.doRun(AdaptiveExecutor.scala:88)
	at org.apache.spark.sql.execution.adaptive.AdaptiveExecutor.tryRunningAndGetFuture(AdaptiveExecutor.scala:66)
	at org.apache.spark.sql.execution.adaptive.AdaptiveExecutor.execute(AdaptiveExecutor.scala:57)
	at org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.$anonfun$getFinalPhysicalPlan$1(AdaptiveSparkPlanExec.scala:237)
	at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:779)
	at org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.getFinalPhysicalPlan(AdaptiveSparkPlanExec.scala:236)
	at org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.withFinalPlanUpdate(AdaptiveSparkPlanExec.scala:509)
	at org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.executeCollect(AdaptiveSparkPlanExec.scala:471)
	at org.apache.spark.sql.Dataset.collectFromPlan(Dataset.scala:3932)
	at org.apache.spark.sql.Dataset.$anonfun$collect$1(Dataset.scala:3161)
	at org.apache.spark.sql.Dataset.$anonfun$withAction$2(Dataset.scala:3922)
	at org.apache.spark.sql.execution.QueryExecution$.withInternalError(QueryExecution.scala:552)
	at org.apache.spark.sql.Dataset.$anonfun$withAction$1(Dataset.scala:3920)
	at org.apache.spark.sql.catalyst.QueryPlanningTracker$.withTracker(QueryPlanningTracker.scala:107)
	at org.apache.spark.sql.execution.SQLExecution$.withTracker(SQLExecution.scala:224)
	at org.apache.spark.sql.execution.SQLExecution$.executeQuery$1(SQLExecution.scala:114)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$7(SQLExecution.scala:139)
	at org.apache.spark.sql.catalyst.QueryPlanningTracker$.withTracker(QueryPlanningTracker.scala:107)
	at org.apache.spark.sql.execution.SQLExecution$.withTracker(SQLExecution.scala:224)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$6(SQLExecution.scala:139)
	at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:245)
	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$1(SQLExecution.scala:138)
	at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:779)
	at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:68)
	at org.apache.spark.sql.Dataset.withAction(Dataset.scala:3920)
	at org.apache.spark.sql.Dataset.collect(Dataset.scala:3161)
	at com.databricks.spark.sql.perf.Query.$anonfun$benchmarkInternal$10(Query.scala:152)
	at com.databricks.spark.sql.perf.Benchmarkable.measureTimeMs(Benchmarkable.scala:117)
	at com.databricks.spark.sql.perf.Benchmarkable.measureTimeMs$(Benchmarkable.scala:115)
	at com.databricks.spark.sql.perf.Query.measureTimeMs(Query.scala:36)
	at com.databricks.spark.sql.perf.Query.benchmarkInternal(Query.scala:148)
	at com.databricks.spark.sql.perf.Query.$anonfun$doBenchmark$1(Query.scala:84)
	at com.databricks.spark.sql.perf.Query.withSparkListener(Query.scala:263)
	at com.databricks.spark.sql.perf.Query.doBenchmark(Query.scala:84)
	at com.databricks.spark.sql.perf.Benchmarkable$$anon$1.run(Benchmarkable.scala:81)

I think this issue is similar as in #7037, but not exactly the same.

@NVnavkumar this looks like it could be #7133 where we need to convert the GPU broadcast to a hashed relation but we're computing rows instead.

I've done some more investigation. It looks like this is happening with some interaction with DPP. One caveat is that when spark.rapids.sql.debug.logTransformations is set to true, it still does not log the transformations on the WARNING level, so it is currently behaving as if that flag is turned off. I was able to get output from spark.rapids.sql.explain=ALL though:
*Exec <HashAggregateExec> will run on GPU
  *Expression <AggregateExpression> sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
    *Expression <Sum> sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
      *Expression <UnscaledValue> UnscaledValue(cs_ext_ship_cost#763) will run on GPU
  *Expression <AggregateExpression> sum(UnscaledValue(cs_net_profit#768)) will run on GPU
    *Expression <Sum> sum(UnscaledValue(cs_net_profit#768)) will run on GPU
      *Expression <UnscaledValue> UnscaledValue(cs_net_profit#768) will run on GPU
  *Expression <AggregateExpression> count(distinct cs_order_number#752) will run on GPU
    *Expression <Count> count(cs_order_number#752) will run on GPU
  *Expression <Alias> count(cs_order_number#752)#4398L AS order count#4359L will run on GPU
  *Expression <Alias> MakeDecimal(sum(UnscaledValue(cs_ext_ship_cost#763))#4399L,17,2) AS total shipping cost#4360 will run on GPU
    *Expression <MakeDecimal> MakeDecimal(sum(UnscaledValue(cs_ext_ship_cost#763))#4399L,17,2) will run on GPU
  *Expression <Alias> MakeDecimal(sum(UnscaledValue(cs_net_profit#768))#4400L,17,2) AS total net profit#4361 will run on GPU
    *Expression <MakeDecimal> MakeDecimal(sum(UnscaledValue(cs_net_profit#768))#4400L,17,2) will run on GPU
  *Exec <ShuffleExchangeExec> will run on GPU
    *Partitioning <SinglePartition$> will run on GPU
    *Exec <HashAggregateExec> will run on GPU
      *Expression <AggregateExpression> merge_sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
        *Expression <Sum> sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
          *Expression <UnscaledValue> UnscaledValue(cs_ext_ship_cost#763) will run on GPU
      *Expression <AggregateExpression> merge_sum(UnscaledValue(cs_net_profit#768)) will run on GPU
        *Expression <Sum> sum(UnscaledValue(cs_net_profit#768)) will run on GPU
          *Expression <UnscaledValue> UnscaledValue(cs_net_profit#768) will run on GPU
      *Expression <AggregateExpression> partial_count(distinct cs_order_number#752) will run on GPU
        *Expression <Count> count(cs_order_number#752) will run on GPU
      *Exec <HashAggregateExec> will run on GPU
        *Expression <AggregateExpression> merge_sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
          *Expression <Sum> sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
            *Expression <UnscaledValue> UnscaledValue(cs_ext_ship_cost#763) will run on GPU
        *Expression <AggregateExpression> merge_sum(UnscaledValue(cs_net_profit#768)) will run on GPU
          *Expression <Sum> sum(UnscaledValue(cs_net_profit#768)) will run on GPU
            *Expression <UnscaledValue> UnscaledValue(cs_net_profit#768) will run on GPU
        *Exec <ShuffleExchangeExec> will run on GPU
          *Partitioning <HashPartitioning> will run on GPU
          *Exec <HashAggregateExec> will run on GPU
            *Expression <AggregateExpression> partial_sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
              *Expression <Sum> sum(UnscaledValue(cs_ext_ship_cost#763)) will run on GPU
                *Expression <UnscaledValue> UnscaledValue(cs_ext_ship_cost#763) will run on GPU
            *Expression <AggregateExpression> partial_sum(UnscaledValue(cs_net_profit#768)) will run on GPU
              *Expression <Sum> sum(UnscaledValue(cs_net_profit#768)) will run on GPU
                *Expression <UnscaledValue> UnscaledValue(cs_net_profit#768) will run on GPU
            *Exec <ProjectExec> will run on GPU
              *Exec <SortMergeJoinExec> will run on GPU
                #Exec <SortExec> could run on GPU but is going to be removed because replacing sortMergeJoin with shuffleHashJoin
                  #Expression <SortOrder> cs_ship_addr_sk#745 ASC NULLS FIRST could run on GPU but is going to be removed because parent plan is removed
                  *Exec <ShuffleExchangeExec> will run on GPU
                    *Partitioning <HashPartitioning> will run on GPU
                    *Exec <ProjectExec> will run on GPU
                      *Exec <BroadcastHashJoinExec> will run on GPU
                        *Exec <ProjectExec> will run on GPU
                          *Exec <BroadcastHashJoinExec> will run on GPU
                            *Exec <SortMergeJoinExec> will run on GPU
                              *Exec <ProjectExec> will run on GPU
                                *Exec <SortMergeJoinExec> will run on GPU
                                  *Expression <Not> NOT (cs_warehouse_sk#749 = cs_warehouse_sk#4377) will run on GPU
                                    *Expression <EqualTo> (cs_warehouse_sk#749 = cs_warehouse_sk#4377) will run on GPU
                                  #Exec <SortExec> could run on GPU but is going to be removed because replacing sortMergeJoin with shuffleHashJoin
                                    #Expression <SortOrder> cs_order_number#752 ASC NULLS FIRST could run on GPU but is going to be removed because parent plan is removed
                                    *Exec <ShuffleExchangeExec> will run on GPU
                                      *Partitioning <HashPartitioning> will run on GPU
                                      *Exec <ProjectExec> will run on GPU
                                        !Exec <FilterExec> cannot run on GPU because not all expressions can be replaced
                                          @Expression <And> ((((isnotnull(cs_ship_date_sk#737) AND isnotnull(cs_call_center_sk#746)) AND isnotnull(cs_ship_addr_sk#745)) AND dynamicpruningexpression(cs_ship_date_sk#737 IN dynamicpruning#4405)) AND dynamicpruningexpression(cs_call_center_sk#746 IN dynamicpruning#4406)) could run on GPU
                                            @Expression <And> (((isnotnull(cs_ship_date_sk#737) AND isnotnull(cs_call_center_sk#746)) AND isnotnull(cs_ship_addr_sk#745)) AND dynamicpruningexpression(cs_ship_date_sk#737 IN dynamicpruning#4405)) could run on GPU
                                              @Expression <And> ((isnotnull(cs_ship_date_sk#737) AND isnotnull(cs_call_center_sk#746)) AND isnotnull(cs_ship_addr_sk#745)) could run on GPU
                                                @Expression <And> (isnotnull(cs_ship_date_sk#737) AND isnotnull(cs_call_center_sk#746)) could run on GPU
                                                  @Expression <IsNotNull> isnotnull(cs_ship_date_sk#737) could run on GPU
                                                    @Expression <AttributeReference> cs_ship_date_sk#737 could run on GPU
                                                  @Expression <IsNotNull> isnotnull(cs_call_center_sk#746) could run on GPU
                                                    @Expression <AttributeReference> cs_call_center_sk#746 could run on GPU
                                                @Expression <IsNotNull> isnotnull(cs_ship_addr_sk#745) could run on GPU
                                                  @Expression <AttributeReference> cs_ship_addr_sk#745 could run on GPU
                                              ! <DynamicPruningExpression> dynamicpruningexpression(cs_ship_date_sk#737 IN dynamicpruning#4405) cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.catalyst.expressions.DynamicPruningExpression
                                                ! <InSubqueryExec> cs_ship_date_sk#737 IN dynamicpruning#4405 cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.execution.InSubqueryExec
                                                  @Expression <AttributeReference> cs_ship_date_sk#737 could run on GPU
                                            ! <DynamicPruningExpression> dynamicpruningexpression(cs_call_center_sk#746 IN dynamicpruning#4406) cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.catalyst.expressions.DynamicPruningExpression
                                              ! <InSubqueryExec> cs_call_center_sk#746 IN dynamicpruning#4406 cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.execution.InSubqueryExec
                                                @Expression <AttributeReference> cs_call_center_sk#746 could run on GPU
                                          *Exec <FileSourceScanExec> will run on GPU
                                  #Exec <SortExec> could run on GPU but is going to be removed because replacing sortMergeJoin with shuffleHashJoin
                                    #Expression <SortOrder> cs_order_number#4380 ASC NULLS FIRST could run on GPU but is going to be removed because parent plan is removed
                                    *Exec <ShuffleExchangeExec> will run on GPU
                                      *Partitioning <HashPartitioning> will run on GPU
                                      *Exec <ProjectExec> will run on GPU
                                        *Exec <FileSourceScanExec> will run on GPU
                              #Exec <SortExec> could run on GPU but is going to be removed because replacing sortMergeJoin with shuffleHashJoin
                                #Expression <SortOrder> cr_order_number#581 ASC NULLS FIRST could run on GPU but is going to be removed because parent plan is removed
                                *Exec <ShuffleExchangeExec> will run on GPU
                                  *Partitioning <HashPartitioning> will run on GPU
                                  *Exec <ProjectExec> will run on GPU
                                    *Exec <FileSourceScanExec> will run on GPU
                            *Exec <BroadcastExchangeExec> will run on GPU
                              *Exec <ProjectExec> will run on GPU
                                *Exec <FilterExec> will run on GPU
                                  *Expression <And> (((isnotnull(d_date#46) AND (d_date#46 >= 2002-04-01)) AND (d_date#46 <= 2002-05-31)) AND isnotnull(d_date_sk#44)) will run on GPU
                                    *Expression <And> ((isnotnull(d_date#46) AND (d_date#46 >= 2002-04-01)) AND (d_date#46 <= 2002-05-31)) will run on GPU
                                      *Expression <And> (isnotnull(d_date#46) AND (d_date#46 >= 2002-04-01)) will run on GPU
                                        *Expression <IsNotNull> isnotnull(d_date#46) will run on GPU
                                        *Expression <GreaterThanOrEqual> (d_date#46 >= 2002-04-01) will run on GPU
                                      *Expression <LessThanOrEqual> (d_date#46 <= 2002-05-31) will run on GPU
                                    *Expression <IsNotNull> isnotnull(d_date_sk#44) will run on GPU
                                  *Exec <FileSourceScanExec> will run on GPU
                        *Exec <BroadcastExchangeExec> will run on GPU
                          *Exec <ProjectExec> will run on GPU
                            *Exec <FilterExec> will run on GPU
                              *Expression <And> (cc_county#299 IN (Walker County,Oglethorpe County,Huron County,Wadena County,Ziebach County) AND isnotnull(cc_call_center_sk#274)) will run on GPU
                                *Expression <In> cc_county#299 IN (Walker County,Oglethorpe County,Huron County,Wadena County,Ziebach County) will run on GPU
                                *Expression <IsNotNull> isnotnull(cc_call_center_sk#274) will run on GPU
                              *Exec <FileSourceScanExec> will run on GPU
                #Exec <SortExec> could run on GPU but is going to be removed because replacing sortMergeJoin with shuffleHashJoin
                  #Expression <SortOrder> ca_address_sk#0 ASC NULLS FIRST could run on GPU but is going to be removed because parent plan is removed
                  *Exec <ShuffleExchangeExec> will run on GPU
                    *Partitioning <HashPartitioning> will run on GPU
                    *Exec <ProjectExec> will run on GPU
                      *Exec <FilterExec> will run on GPU
                        *Expression <And> ((isnotnull(ca_state#8) AND (ca_state#8 = TN)) AND isnotnull(ca_address_sk#0)) will run on GPU
                          *Expression <And> (isnotnull(ca_state#8) AND (ca_state#8 = TN)) will run on GPU
                            *Expression <IsNotNull> isnotnull(ca_state#8) will run on GPU
                            *Expression <EqualTo> (ca_state#8 = TN) will run on GPU
                          *Expression <IsNotNull> isnotnull(ca_address_sk#0) will run on GPU
                        *Exec <FileSourceScanExec> will run on GPU

It looks like the root of this issue is happening here:
...
                                        !Exec <FilterExec> cannot run on GPU because not all expressions can be replaced
...
                                              ! <DynamicPruningExpression> dynamicpruningexpression(cs_ship_date_sk#737 IN dynamicpruning#4405) cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.catalyst.expressions.DynamicPruningExpression
                                                ! <InSubqueryExec> cs_ship_date_sk#737 IN dynamicpruning#4405 cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.execution.InSubqueryExec
                                                  @Expression <AttributeReference> cs_ship_date_sk#737 could run on GPU
                                            ! <DynamicPruningExpression> dynamicpruningexpression(cs_call_center_sk#746 IN dynamicpruning#4406) cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.catalyst.expressions.DynamicPruningExpression
                                              ! <InSubqueryExec> cs_call_center_sk#746 IN dynamicpruning#4406 cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.execution.InSubqueryExec
                                                @Expression <AttributeReference> cs_call_center_sk#746 could run on GPU
...

That would explain the backtrace showing some issue in SubqueryBroadcastExec.  This looks like DPP, but I have also turned off DPP via both spark.sql.optimizer.dynamicPartitionPruning.enabled=false and the original deprecated flag spark.sql.dynamicPartitionPruning.enabled=false (which comes from the AWS EMR documentation here https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-spark-performance.html) as well as set spark.sql.bloomFilterJoin.enabled=false since we don't support that on the GPU.

Actually, went into the Spark History, and pulled out the problematic part of the plan:
                        :           :     :  :     :           +- GpuRowToColumnar targetsize(1073741824)
                        :           :     :  :     :              +- *(1) Filter ((((isnotnull(cs_ship_date_sk#737) AND isnotnull(cs_call_center_sk#746)) AND isnotnull(cs_ship_addr_sk#745)) AND dynamicpruningexpression(cs_ship_date_sk#737 IN dynamicpruning#4431)) AND dynamicpruningexpression(cs_call_center_sk#746 IN dynamicpruning#4432))
                        :           :     :  :     :                 :  :- SubqueryBroadcast dynamicpruning#4431, 0, [d_date_sk#44], [id=#35079]
                        :           :     :  :     :                 :  :  +- OutputAdapter [d_date_sk#44]
                        :           :     :  :     :                 :  :     +- AdaptiveSparkPlan isFinalPlan=true
                        :           :     :  :     :                 :  :        +- *(2) ColumnarToRow
                        :           :     :  :     :                 :  :           +- BroadcastQueryStage 7
                        :           :     :  :     :                 :  :              +- ReusedExchange [d_date_sk#44], GpuBroadcastExchange HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [id=#35320]
                        :           :     :  :     :                 :  +- SubqueryBroadcast dynamicpruning#4432, 0, [cc_call_center_sk#274], [id=#35092]
                        :           :     :  :     :                 :     +- OutputAdapter [cc_call_center_sk#274]
                        :           :     :  :     :                 :        +- AdaptiveSparkPlan isFinalPlan=false
                        :           :     :  :     :                 :           +- BroadcastQueryStage 9
                        :           :     :  :     :                 :              +- ReusedExchange [cc_call_center_sk#274], GpuBroadcastExchange HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [id=#35351]


Update versions for Release 9.6.0

Updated version numbers in preparation for the next Firebase release (9.6.0).
#no-changelog

Regarding some of the failures, the remoteconfig / watchOS one looks to be a flake of some kind. I've seen it appear in the nightlies.
The appcheck / macos is related to GoogleUtilities 7.8.0. The AppCheck tests need to be disabled on macOS. I will send a PR but feel free to not let that failure block you!

mlmodeldownloader / macos is related to keychain fix as well. I will disable offending tests on macOS. MLModelDownloader depends on Installations.

Two of the three failures have been addressed in merged PRs.
The remaining watchOS x remote config failure looks like a flake. Kicked off a deflake: https://github.com/firebase/firebase-ios-sdk/actions/runs/2936339297

Two of the three failures have been addressed in merged PRs.
The remaining watchOS x remote config failure looks like a flake. Kicked off a deflake: https://github.com/firebase/firebase-ios-sdk/actions/runs/2936339297

Ok so the watchOS failure was indeed an integration flake.
@andrewheard, this PR is now unblocked.


Remove deprecated REST API endpoints

This removes the deprecated REST API endpoints from Brooklyn 0.7.0. It also fixes the launcher configuration (as the VersionApi has been entirely removed) and unit tests.
Please note that I didn't touch the LocationApi for a very specific reason: currently, this is the only of getting the locations defined within brooklyn.properties/brooklyn.cfg files. We need to figure out first how to handle those locations before removing the endpoints. As you can see, this is not in the scope of this PR.

BTW, I also checked the JSGUI and it does not use any of the deprecated call so you are good on this part

👍  lgtm; have also tested a variety of br command line operations against this without problems. Will merge.

Awesome, thanks @geomacy! Could you also take a look at https://github.com/apache/brooklyn-client/issues/45 please? That will avoid the build to fail

@tbouron that's done thanks


Can't see points when using scatter.

Hi,
I have been trying to use scatter() to plot some points I have saved in a vector. The idea is to generate an arbitrary number of random 3D vectors, like this (also, we will normalize each vector as if they were points on the surface of a sphere of radius 1:
import numpy as np
import ipyvolume as ipv
vec=np.random.randn(100,3)
for i in range(vec.shape[0]):         vec[i] /= np.linalg.norm(vec[i])
Then, I followed the ipyvolume scatter plot tutorial, where again they plot an arbitrary number (a thousand in this case) of random 3D points. The only difference is that our vec is the transpose of the set of coordinates plotted there. With that in mind, I did:
fig=ipv.figure()
xi, yi, zi = vec.transpose()[0], vec.transpose()[1], vec.transpose()[2]
ipv.scatter(xi,yi,zi)
ipv.show()
Running this in a Jupyter notebook brings up a blank 3D graph with the usual top-left bar and I can rotate, but no points show up. I have to say that neither can I see the plotted dots in the mentioned tutorial.
I have followed the installation procedure listed in the docs so some clarification would be much appreciated.
Thanks in advance!

I will close this since repeating the operation on Chrome web browser fixed the issue.


Rename mixin to helm2

Especially now that helm v2 is being deprecated, we should rename the mixin to make it clear which version it is for and disambiguate it from Mohamed's helm3 mixin. Once we have it renamed, let's update the mixins list to clearly call out both mixins.

@vdice @MChorfa  Let me know if you think this is a good idea or not. I'd like to knock this out soon if we all agree, since helm 2 is ... ☠

👍 From me.  Good call.

I would agree, but this means people would change all theirs porter def? Especially old deployments

I am suggesting that we stop publishing this mixin as "helm" (leaving the old mixin available for people to download who had it scripted). But going forward we publish changes to this mixin as "helm2", and delist "helm" so that people just see "helm2" and "helm3" mixins when looking for available mixins.
Does that sound right?

Yes absolutely. It is a good plan 🙌

Great! I'll submit a PR to day to rename the mixin and announce the change on our mailing list. After helm2 mixin is live, I'll remove the old one from our search listings so people will realize they should all be using yours now.


Add pokemons caught to UpdateLiveStats

Would be nice to have number of pokemons caught to stop it before hitting 1000.

    Available stats :
    - login : The account login (from the credentials).
    - username : The trainer name (asked at first in-game connection).
    - uptime : The bot uptime.
    - km_walked : The kilometers walked since the bot started.
    - level : The current character's level.
    - level_completion : The current level experience, the next level experience and the completion
                         percentage.
    - level_stats : Puts together the current character's level and its completion.
    - xp_per_hour : The estimated gain of experience per hour.
    - xp_earned : The experience earned since the bot started.
    - stops_visited : The number of visited stops.
    - pokemon_encountered : The number of encountered pokemon.
    - pokemon_caught : The number of caught pokemon.
    - captures_per_hour : The estimated number of pokemon captured per hour.
    - pokemon_released : The number of released pokemon.
    - pokemon_evolved : The number of evolved pokemon.
    - pokemon_unseen : The number of pokemon never seen before.
    - pokemon_stats : Puts together the pokemon encountered, caught, released, evolved and unseen.
    - pokeballs_thrown : The number of thrown pokeballs.
    - stardust_earned : The number of earned stardust since the bot started.
    - highest_cp_pokemon : The caught pokemon with the highest CP since the bot started.
    - most_perfect_pokemon : The most perfect caught pokemon since the bot started.

Already there you just have to add it to your config.

Awesome! Thanks a lot!


Add zenodo

Copycat stuff. See https://zenodo.org/record/5851600

Complicated case. It is not strictly a copycat, some repo only exists in Zenodo and are not from Github (https://zenodo.org/record/5862220 for example).
Not sure what to do with it.

fair enough!

Thanks a lot for the suggestion.


Documentation out of date

As of BC14 CU17 there are a number of parameters for TXT2AL that are not included in this description.

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

ID: cfebcfad-5d9d-5365-5ae0-524780e74355
Version Independent ID: 0a3a2ef5-ceeb-7b4d-572f-6a80a4c90c46
Content: The Txt2Al Conversion Tool - Business Central
Content Source: dev-itpro/developer/devenv-txt2al-tool.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for the feedback! We have added the missing parameters to the article. An update will be published soon.