[fix][broker] fix the log format error in the AdminResource

Motivation
The log message in AdminResource was missing a parameter. The topicName was not being included in the success log message when creating partitioned topics for remote clusters.
This results the following errors:
ERROR Unable to format msg: [{}] Successfully created partitioned for topic {} for the remote clusters java.lang.IllegalArgumentException: found 2 argument placeholders, but provided 1 for pattern `[{}] Successfully created partitioned for topic {} for the remote clusters`

This issue was introduced by https://github.com/apache/pulsar/pull/23169, so we also need to cherry-pick this PR to the branch-3.0
Modifications
Corrected the log message by adding the missing topicName parameter to the success log entry in the internalCreatePartitionedTopicToReplicatedClustersInBackground method.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.50%. Comparing base (bbc6224) to head (adec340).
Report is 572 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23278      +/-   ##
============================================
+ Coverage     73.57%   74.50%   +0.93%
- Complexity    32624    33771    +1147
============================================
  Files          1877     1926      +49
  Lines        139502   145037    +5535
  Branches      15299    15856     +557
============================================
+ Hits         102638   108065    +5427
+ Misses        28908    28697     -211
- Partials       7956     8275     +319

Flag
Coverage Δ

inttests
27.93% <100.00%> (+3.34%)
:arrow_up:

systests
24.64% <100.00%> (+0.32%)
:arrow_up:

unittests
73.87% <100.00%> (+1.02%)
:arrow_up:

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

Files with missing lines
Coverage Δ

.../org/apache/pulsar/broker/admin/AdminResource.java
76.26% <100.00%> (-1.37%)
:arrow_down:

... and 552 files with indirect coverage changes


Image reconstruction via Transformer.

Hello, I have a question about the image reconsturction via VAR.
I want the transformer model to predict the ground truth tokens, just like in the training situation, by obtaining image tokens through an vq-encoder, and then interpolating the tokens, finally inputting them into the transformer. (like inversion in diffusion models)
However, when I configured the code, there was a difference from the original image.
Could I have missed something, or is this approach not feasible?
Here's original image and recon image.
original image

recon image

And Here's my code.
gt_idx = vae.img_to_idxBl(img)
tr_input_embed = quantize_local.idxBl_to_var_input(gt_idx)

tr_input_embed's shape is [B, 679, 32]
And I implement this code in the VAR class.
def image_recon_forward(self, tr_input_embed, gt_start_emd):
    bg, ed = self.begin_ends[self.prog_si] if self.prog_si >= 0 else (0, self.L)

    B = tr_input_embed.shape[0]

    with torch.cuda.amp.autocast(enabled=False):
        sos = cond_BD = self.class_emb(torch.tensor(1000).repeat(B).to(tr_input_embed.device)).unsqueeze(1)
        sos = sos.expand(B, self.first_l, -1) + self.pos_start.expand(B, self.first_l, -1)
        if self.prog_si == 0: x_BLC = sos
        else: x_BLC = torch.cat((sos, self.word_embed(tr_input_embed.float())), dim=1)
        x_BLC += self.lvl_embed(self.lvl_1L[:, :ed].expand(B, -1)) + self.pos_1LC[:, :ed] # lvl: BLC;  pos: 1LC

    f_hat = sos.new_zeros(B, self.Cvae, self.patch_nums[-1], self.patch_nums[-1])
    attn_bias = self.attn_bias_for_masking[:, :, :ed, :ed]
    cond_BD_or_gss = self.shared_ada_lin(cond_BD)

    temp = x_BLC.new_ones(8, 8)
    main_type = torch.matmul(temp, temp).dtype

    x_BLC = x_BLC.to(dtype=main_type)
    cond_BD_or_gss = cond_BD_or_gss.to(dtype=main_type)
    attn_bias = attn_bias.to(dtype=main_type)

    AdaLNSelfAttn.forward
    for i, b in enumerate(self.blocks):
        x_BLC = b(x=x_BLC, cond_BD=cond_BD_or_gss, attn_bias=attn_bias)
    x_BLC = self.get_logits(x_BLC.float(), cond_BD)

    idx_Bl = x_BLC.argmax(dim=-1)
    idx_Bl[:,0] = gt_start_emd.squeeze(1)
    h_BChw = self.vae_quant_proxy[0].embedding(idx_Bl)
    h_list = []
    for si, (st, ed) in enumerate(self.begin_ends):
        pn = self.patch_nums[si]
        h_list.append(h_BChw[:,st:ed,:].reshape(B, int((ed-st)**0.5), int((ed-st)**0.5), self.Cvae).permute(0,3,1,2))
        f_hat, next_token_map = self.vae_quant_proxy[0].get_next_autoregressive_input(si, len(self.patch_nums), f_hat, h_BChw[:,st:ed,:].transpose_(1,2).reshape(B, self.Cvae, pn, pn))
    for b in self.blocks: b.attn.kv_caching(False)
    return self.vae_proxy[0].fhat_to_img(f_hat).add_(1).mul_(0.5)

Again, thanks for your great work!

@minimini-1 Hi, I have the same problem as you, did you solve that?


Implement core.clear()

@mafintosh Is core.clear() only a local thing or should it notify peers as well?

@kasperisager local-only, but other peers should be notified using a drop range message. then it can gossip later also if users want 👀

@mafintosh Is that as simple as:
this.replicator.onhave(start, end - start, true)

It is indeed!

@kasperisager and we'd wanna make sure this runs on the mutex also

@mafintosh I also need to make sure that this updates the contig pointer if necessary.

@kasperisager ya good catch on that

@mafintosh This is ready for another review.

@mafintosh Also, are there any observable behaviours during replication that I should test?

@kasperisager added a comment above, i think we can use the bitfield message in the oplog also to make this very safe (ie so it can be applied on restart, if fails half way through)
re replication. test the usual two peers and also a a->b->c scenario where b is the one that clears, so we know that the gossip works

@kasperisager good to go yea?

@mafintosh Should be, yes 👍


documentation for function with args list and kwargs should be worked on

In particular we can use decorators to provide alternative ways of calling them
How does this work again?


Support for clangd's go-to-definition for #include/#import

By forwarding the request to clangd when it fails to give
symbol information, we are able to use its built in
go-to-definition support for headers (jump to header file)

This could use a test - a static tibs test workspace should work, just don't call buildAndIndex and it will have no index data.

Added a test, PTAL

@swift-ci please test

@swift-ci please test

@swift-ci please test Linux

@swift-ci please test

Rebased onto master, please try running on CI again, I can't reproduce the failure in a swift docker container....

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test


feat: initial commit

LGTM

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


v1.8 backports 2020-07-03 - atomically replace endpoint header files

#12380 -- endpoint: atomically replace header files (@tklauser)

Once this PR is merged, you can update the PR labels via:
$ for pr in 12380; do contrib/backporting/set-labels.py $pr done 1.8; done

test-backport-1.8


Add disclaimer text to the contacts page

User Story 178354: Build: iterate 'Trust contacts' disclaimer text
Add disclaimer text to the contacts page. These are added to the Trust contacts to inform users that the emails are for internal use only.
Changes

Created styling for the contacts summary page
Update the contacts page to add the new disclaimer text

Screenshots of UI changes
Before

After

Checklist

[x] Pull request attached to the appropriate user story in Azure DevOps
[x] Release notes added to CHANGELOG.md
[x] Testing complete - all manual and automated tests pass

QA Complete - This passes both manual and accessibility checks with no issues found


Website not working

https://readmeai.streamlit.app/ is not working
Oh no.
Error running app. If this keeps happening, please contact support.

Hey, just rebooted the app. Should be up now.

I think it not working again.. getting this error message:

@elorberb it is back up now! Thank you.

Not working again.
Any fix?

@arielya10 please try again, I rebooted the Streamlit app.

Thank you for the update. Still not working.


Sometimes...it's best to just use Go vs Tasks - worked example below (webhooks/Ingress/routes)

Sharing this data point (of course it's sometimes faster, but here's a real concrete example)
We were looking to use Tekton Tasks for creating Ingress, Routes and webhooks, specifically for the Tekton Webhooks Extension.
Have a look at the following code changes we made:
https://github.com/tektoncd/experimental/commit/a28cd04d1f352fd24fd3692262149d6c8728a0ad
the Tekton tasks involve pulling images and going through the init containers, whereas we can use Go and get things made reeeeeeeeally quickly.
The same goes for Ingress, have a look at https://github.com/tektoncd/experimental/commit/49b61ed5064f78ccf5c1ac4c05b497d0a17f83a6
It'd be useful to investigate the performance impact of Tekton Pipelines - is there a minimum time for something to actually run due to the init container startup? What happens under the covers that makes them relatively heavyweight in comparison to just using Go code? What makes something good to be a Tekton Task? Maybe this is a paper idea...when's it good to use Tekton vs not?

/kind question

The benefit of using a Task is it's declarative interface which makes it easily reusable (hopefully), but certainly there are faster ways of achieving things. When the Task execution time is very low, it would be worth considering alternatives. Another case where this can be seen is conditions. For conditions that are simple string matches or something of the sort, spinning up a container might be too much of an overhead, even when the container image is very small and/or cached.
I think it's good to keep this in the backlog.


emit events from background task

I have a scenario where I have a long running example, such as extracting zip files that might happen in the background and would like to show progress or send a message when it is done to the client in realtime.

When you create your layer or your service with let (layer, io) = SocketIo::new_layer(); you have the io handle which is the same than in nodejs. It is a cheaply clonable handle that lets you retrieve any socket. So you can make your socket join a room when it connects and then you can move the handle into your task and when you need to emit a message you can use io.to() and by specifying your socket room.

Note that if you are using a namespace different than / you have to select your custom namespace with the of operator like this io.of("/custom_nsp").to("my_socket_room").emit()


About causal_conv1d_cuda library

Thank you for your excellent work.
I'm going to read your mamba block carefully, I'm just going to learn about your structure, so I didn't install the environment you provided, and you also provided the mamba file, but while reading, I had a difficulty:
conv1d_out = causal_conv1d_cuda.causal_conv1d_fwd(x, conv1d_weight, conv1d_bias, True).
When I read this line of code, I tried hard to find causal_conv1d_cuda library, I wanted to understand the contents of it, but I couldn't find it, can you help me find it, or give me some pointers and tell me what to do.

causal conv1 is installed as python package. The code is here

After so much exploration, I still haven't solved my problem, and allow me to rephrase it.
I'm trying to visualize the functions in the selective_scan_cuda.fwd library to explore the network model of the DBM blocks you proposed, but I can't find a way to find a way to do it, and I can't read the cuda file that ends in cu. Please give me some advice or point out my mistakes (try to be clear)
Thank you very much for your help!


feat: add PIN Input component

TODO:

[x] fix design, something weird going on when focusing/inputting text
[x] add tests
[x] figure out how all the ids stuff works. no idea what I'm doing with that

TODO:

[ ]  fix design, something weird going on when focusing/inputting text

Hi @ollema, for the inputs you can remove the tracking-[13.87px]. It should fix the issue because the letter spacing is too much.

ready for review now. one test is failing. I think the test looks correct though, so I wonder what's going in there
as always, feel free to update styling/wording etc. I also wonder if I implemented the bring you own ids correctly

tests are passing now after the upstream fix in melt-ui! 🎉
I wonder what happened to packages.json - I did run pnpm format so it adheres to that at least 🤷


Can't create App Insights workbook

Bug Report

import path of package ../services/appinsights/mgmt/2015-05-01/insights/
SDK version v46.1.0
go version go1.15.6 darwin/amd64

What happened?
While trying to create an AppInsihgts Workbook with the CreateOrUpdate method I had the following error.

Original Error: autorest/azure: Service returned an error. Status=400 Code="NoRegisteredProviderFound" Message="No registered resource provider found for location 'westeurope' and API version '2015-05-01' for type 'workbooks'. The supported api-versions are '2018-06-01-preview, 2018-06-17-preview, 2020-02-12, 2020-10-20'. The supported locations are ', westeurope, southcentralus, eastus, northeurope, southeastasia, westus2, japaneast, australiaeast, koreacentral, francecentral, centralus, eastus2, eastasia, westus, canadacentral, centralindia, uksouth, ukwest, southafricanorth, northcentralus, brazilsouth, switzerlandnorth, norwayeast, australiasoutheast'."

What I understand is that API Version 2015-05-01 is not supported for appinsights workbook creation. But it is hardcoded in the SDK.
https://github.com/Azure/azure-sdk-for-go/blob/70d0f828426dae2b24a242cf5ff7e77eca046212/services/appinsights/mgmt/2015-05-01/insights/workbooks.go#L109

What did you expect or want to happen?

I want to be able to create a workbook with the go SDK.

How can we reproduce it?

Just try creating a workbook with SDK, e.g
package main

import (
	"context"
	"github.com/Azure/azure-sdk-for-go/profiles/latest/appinsights/mgmt/insights"
	"github.com/Azure/go-autorest/autorest/azure/auth"
	"log"
)

func main() {
	wClient := insights.NewWorkbooksClient("<sub-id>")
	authorizer, err := auth.NewAuthorizerFromCLI()
	if err == nil {
		wClient.Authorizer = authorizer
	}

	workbookname := "test"
	location := "westeurope"

	parameters := insights.Workbook{
		Kind:               "shared", // "user" workbook will be deprecated early 2021 so forcing shared here https://github.com/microsoft/Application-Insights-Workbooks/blob/master/Documentation/DataSources/PrivateWorkbooksDeprecation.md
		WorkbookProperties: nil,
		Name:               &workbookname,
		Location:           &location,
		Tags:               nil,
	}

	workbook, err := wClient.CreateOrUpdate(context.Background(), "rg", "test", parameters)
	if err != nil {
		log.Print(err)
	}
	log.Print(workbook)
}

Anything we should know about your environment.
🤷

Hi @Tirke thanks for opening this issue!
Regarding the api-version issue, we do have a lot of other api-versions for appinsights, but the appinsights team did not release them in go SDK (taking compute as an example here, you can see a lot of api-versions here: https://github.com/Azure/azure-sdk-for-go/tree/master/services/compute/mgmt).
And also, if an API is not acceptable by the service, that API should not be in the swagger, this is a swagger issue, I will tag this issue and the corresponding service team might take it a look.
For the new packages, I will take some time to notify the service team to release their new api-versions.

Hi @Tirke thanks for opening this issue!
Regarding the api-version issue, we do have a lot of other api-versions for appinsights, but the appinsights team did not release them in go SDK (taking compute as an example here, you can see a lot of api-versions here: https://github.com/Azure/azure-sdk-for-go/tree/master/services/compute/mgmt).
And also, if an API is not acceptable by the service, that API should not be in the swagger, this is a swagger issue, I will tag this issue and the corresponding service team might take it a look.
For the new packages, I will take some time to notify the service team to release their new api-versions.


The order of models with relationships can break DataStore on android.

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v14.16.1
Amplify CLI Version
7.6.4
What operating system are you using?
macOS 12.0.1, android 11
Amplify Codegen Command
codegen models
Describe the bug
When a model has relationships (@hasMany, @belongsTo, ...), amplify codegen models, will create a different output depending on the order in which they are in the schema. This can prevent DataStore from initializing.
For example when I try to use this schema:
type ShareProfile @model {
  id: ID!
  name: String
  profile: Profile @belongsTo
}

type Group @model {
  id: ID!
  name: String!
  profiles: [Profile] @manyToMany(relationName: "ProfileGroups")
}

type Profile @model {
  id: ID!
  name: String!
  groups: [Group] @manyToMany(relationName: "ProfileGroups")
  sharedProfiles: [ShareProfile] @hasMany
}

I get this error when initializing DataStore on android:
I/amplify:aws-datastore: Creating table: PersistentModelVersion I/amplify:aws-datastore: Creating table: Profile I/amplify:aws-datastore: Creating table: LastSyncMetadata I/amplify:aws-datastore: Creating table: Group I/amplify:aws-datastore: Creating table: ShareProfile E/SQLiteLog: (1) duplicate column name: profileSharedProfilesId in "CREATE TABLE IF NOT EXISTS ShareProfile (idTEXT PRIMARY KEY NOT NULL,createdAtTEXT,nameTEXT,profileSharedProfilesIdTEXT,updatedAtTEXT,p`
If I move the model with the @belongsTo definition, below the model with the @hasMany definition for their relationship, DataStore will work without any errors.
type Group @model {
  id: ID!
  name: String!
  profiles: [Profile] @manyToMany(relationName: "ProfileGroups")
}

type Profile @model {
  id: ID!
  name: String!
  groups: [Group] @manyToMany(relationName: "ProfileGroups")
  sharedProfiles: [ShareProfile] @hasMany
}

type ShareProfile @model {
  id: ID!
  name: String
  profile: Profile @belongsTo
}

I/amplify:aws-datastore: Creating table: PersistentModelVersion I/amplify:aws-datastore: Creating table: Profile I/amplify:aws-datastore: Creating table: LastSyncMetadata I/amplify:aws-datastore: Creating table: Group I/amplify:aws-datastore: Creating table: PersistentRecord I/amplify:aws-datastore: Creating table: ProfileGroups I/amplify:aws-datastore: Creating table: ModelMetadata I/amplify:aws-datastore: Creating table: ShareProfile I/amplify:aws-datastore: Creating index for table: PersistentRecord
Expected behavior
amplify codegen models should create working code, no matter what order the models have in the schema file. Or create a warning or error, so the user knows there is something not working properly.
Reproduction steps

Create new android project and add DataStore to it
Create new amplify project
Add models with relationships (@hasOne, @hasMany, @belongsTo) to the schema, where the model with the @belongsTo definition is above the @hasOne or @hasMany definition.
amplify codegen models
The resulting java code will compile, but will not run without errors.

GraphQL schema(s)

# not working schema
type Group @model {
  id: ID!
  name: String!
  profiles: [Profile] @manyToMany(relationName: "ProfileGroups")
}

type Profile @model {
  id: ID!
  name: String!
  groups: [Group] @manyToMany(relationName: "ProfileGroups")
  sharedProfiles: [ShareProfile] @hasMany
}

type ShareProfile @model {
  id: ID!
  name: String
  profile: Profile @belongsTo
}

# working schema
type Group @model {
  id: ID!
  name: String!
  profiles: [Profile] @manyToMany(relationName: "ProfileGroups")
}

type Profile @model {
  id: ID!
  name: String!
  groups: [Group] @manyToMany(relationName: "ProfileGroups")
  sharedProfiles: [ShareProfile] @hasMany
}

type ShareProfile @model {
  id: ID!
  name: String
  profile: Profile @belongsTo
}

Log output

# Put your logs below this line

Additional information
No response

Here is the generated java code
Working.zip
Not_Working.zip
This will be generated if @belongsTo is below @hasMany (this is working)
public final class ShareProfile implements Model {
  public static final QueryField ID = field("ShareProfile", "id");
  public static final QueryField NAME = field("ShareProfile", "name");
  public static final QueryField PROFILE = field("ShareProfile", "profileSharedProfilesId");
  private final @ModelField(targetType="ID", isRequired = true) String id;
  private final @ModelField(targetType="String") String name;
  private final @ModelField(targetType="Profile") @BelongsTo(targetName = "profileSharedProfilesId", type = Profile.class) Profile profile;
  private @ModelField(targetType="AWSDateTime", isReadOnly = true) Temporal.DateTime createdAt;
  private @ModelField(targetType="AWSDateTime", isReadOnly = true) Temporal.DateTime updatedAt;

and this will be generated if @belongsTo is above @hasMany (this is not working)
public final class ShareProfile implements Model {
  public static final QueryField ID = field("ShareProfile", "id");
  public static final QueryField NAME = field("ShareProfile", "name");
  public static final QueryField PROFILE = field("ShareProfile", "profileSharedProfilesId");
  public static final QueryField PROFILE_SHARED_PROFILES_ID = field("ShareProfile", "profileSharedProfilesId");
  private final @ModelField(targetType="ID", isRequired = true) String id;
  private final @ModelField(targetType="String") String name;
  private final @ModelField(targetType="Profile") @BelongsTo(targetName = "profileSharedProfilesId", type = Profile.class) Profile profile;
  private @ModelField(targetType="AWSDateTime", isReadOnly = true) Temporal.DateTime createdAt;
  private @ModelField(targetType="AWSDateTime", isReadOnly = true) Temporal.DateTime updatedAt;
  private final @ModelField(targetType="ID") String profileSharedProfilesId;

Basically it adds
public static final QueryField PROFILE_SHARED_PROFILES_ID = field("ShareProfile", "profileSharedProfilesId");
and
private final @ModelField(targetType="ID") String profileSharedProfilesId;
That is why DataStore complains that profileSharedProfilesId is declared twice.
I/amplify:aws-datastore: Creating table: ShareProfile E/SQLiteLog: (1) duplicate column name: profileSharedProfilesId in "CREATE TABLE IF NOT EXISTS ShareProfile (idTEXT PRIMARY KEY NOT NULL,createdAtTEXT,nameTEXT,profileSharedProfilesIdTEXT,updatedAtTEXT,p

It looks like the topological sort of our models isn't working correctly between Codegen and the Android pipeline. @lawmicha for visibility. @marcvberg to consider as part of the gql compilation rearch work.

@TimmBaier Thanks for bringing this out. I cannot reproduce this issue by the latest version of CLI 8.1.0. After investigating, this was previously fixed and released after CLI version 7.6.9. I suggest you to update the CLI version and the codegen output should stay as the same correct one no matter how the order of types in schema.


Improve article 2206.06921

Exact location of issue
Figure 1
https://ar5iv.labs.arxiv.org/html/2206.06921#S2.F1.pic1
Problem details
Tikz-based figures convert poorly.
The log file hints to some misunderstood directives related to \vskip. Likely needs improvements in latexml.

The issue was originally reported at:
https://github.com/arXiv/arxiv-readability/issues/6

A newer version of this article now also uses tikz-cd.sty

The figure is mostly legible in the latest ar5iv update. I will close here, as we have other issues tracking sizing subtleties in SVG (which we know we still have work on)


LCD Screen - 2nd line missing node address, terminal session

I have one node missing part of its node address on terminal but shows on LCD screen. Hopefully not a big deal.

I usually use ssh with my Linux PC and can't reproduce the issue there.
I see that you are using PuTTY(?), but I can't reproduce it there as well with a windows machine with PuTTY 0.75 (got an issue there with q's & x's showing in the main menu but other than that shows the address fine).
What OS and Software are you using to access the session?


[DRAFT] update octicons to v5.0.1

[DRAFT] update octicons to v5.0.1

update octicons to v5.0.1
removed fill="#000" fill-rule="evenodd"
removed <title>*</title>
tidy xml files for better review
todo: minify xml – Done

svg-caster --svg '/Users/m5o/Downloads/octicons-5.0.1/lib/svg/*.svg' \
           --out-svg-set ./libs/octicons/octicons.svg \
           --pretty \
           --svgo

svg-caster --svg '/Users/m5o/Downloads/octicons-5.0.1/lib/svg/*.svg' \
           --out-svg-set ./libs/octicons/octicons.min.svg \
           --svgo

👋  Hey Icons8 Team – Hi @betula
I would like to learn about update font libs. Could you help me with these open questions:

How is the .min.svg version created?
Is there a workflow to follow, about update libs?

There are a lot of reloading fill="#000" fill-rule="evenodd"
The <title> element seems redundant:

<symbol id="alert" viewBox="0 0 16 16"><title>alert</title>

For welovesvg icons sets generation I used this bash script:
https://gist.github.com/betula/59d4f82721745018feeea30a7536e802
But earlier octicons icons set was provided as SVG font and there weren't any problems in SVG body.
Monochromic icons must be simplified in SVG sets. SVG body of simplified icon must contain only  tag without another shapes or attributes. Color information and title tag must be removed resp.

Thank you @betula for all the information, this is great.
Could you review my last commit?
I've re-generated the octicons.svg and octicons.min.svg removed fill and fill-rule attributes and removed the <title>.
For a better review, I've run tidy on the files.

Very nice! Thank you.

🔔 @betula

[x] minify xml


[Bug]-[132]:Mouse pointer remains as clickIcon on the select widget dropdown icon when the select widget is disabled

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
It is observed that when the select widget is disabled the mouse pointer remains as clickIcon on the select widget dropdown icon

Steps To Reproduce
1.Launch Appmsith app in release/Prod Environment
2.Drag and drop select widget
3.Disable the select widget
4.Mouse hover on the select widget dropdown icon and observe
Environment
Production
Version
Cloud

Reach from the number of users who have set disabled.
Stats

Stat
Values

Reach
66

Effort (months)
0.25

not reproducible anymore
https://github.com/appsmithorg/appsmith/assets/94514895/c9aff226-5854-41a3-88af-ef6362bbab30


[DOC] Typos & improvements

Here are some typos I've found over past few days building for Lukso's Build up #25

Missing comma

Full code at the end rather than before the last piece of code for testing the results

Hey!
Thanks a lot for flagging! I sent the changes in this PR:
https://github.com/lukso-network/docs/pull/723


Provide request information in resolverComposition

Is your feature request related to a problem? Please describe.
Currently, request information is partially available and in a tricky way.
Describe the solution you'd like
An easy, general way to get request info for resolvers

related #4293

Resolvers composition will be deprecated. Closing this issue.


[ZEPPELIN-4375]. Add more flink tutorial notes

What is this PR for?
This PR add 2 tutorial note for flink，one for batch，another for streaming. Besides that, I also update the flink documentation for some improvement.
What type of PR is it?
[ Improvement | Documentation ]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-4375

How should this be tested?

CI pass

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Travis build link https://travis-ci.org/zjffdu/zeppelin/builds/599110436


Crash on Hyprland Launch:  m_sWLRBackend was NULL!

Hyprland Version
hyprland-git-0.28.0.r100.299d201e-
System Information
Kernel: Linux 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64 GNU/Linux
GPU: AMD Radeon 6600
GPU Driver: amdgpu
MESA: mesa-git 23.3.0_devel.177071.5ce6e09ffc7.d41d8cd-1

Bug or Regression?
Bug
Regression
EDIT: Switching back to Arch's "Stable" hyprland 0.28.0-1 pkg seems to resolve the problem for me. It's probably a regression
Description
I'm not sure what is causing it, but whenever I launch Hyprland after getting the latest Arch updates with pacman and AUR, Hyprland has started crashing on login.
The log files show:
[CRITICAL] m_sWLRBackend was NULL!
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!

How to reproduce
I wish I could tell you how to reproduce it on any system.
All I've done is update my system, and try to run Hyprland through the sddm display manager, as well as on the framebuffer.
Crash reports, logs, images, videos
hyprlandd.log
hyprlandCrashReport2046.txt
hypr2046-coredump-bt.txt

When I run Hyprland straight from the TTY, I get the following:
hyprlandd-tty.log
hyprlandCrashReport5188.txt
The program prints the following on the terminal:
00:00:00.000 Llibseat] [Llibseat/backend/seatd.c:641] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.001 [Llibseat] [libseat/libseat.c:761] Backend seatd' failed to open seat, skipping
terminate called after throwing an instance of 'std: :runtime_error ckendd0 as DRM device such file or directory
what: wIr_backend_autocreate() failed!

Switching back to Arch's "Stable" hyprland 0.28.0-1 pkg seems to resolve the problem for me. It's probably a regression

git bisect please

I dont know if this related . I have nvidia and on hyrplad-nvidia git on Arch. After todays kernel and driver update everything was working. Then I update hyprland and it crashed. I tought this either kernel or nvidia driver .
it also crashed with kernel 6.4.11 and 6.4.10  and nvidia drivers 535.104 and 535.98 , it only worked when I down graded to hyprland-nvidia-git version 0.28.0.r68.g942ee943-1 (last weeks update; 19/08/2023) and it works with latest kernel and latest nvidia drivers
This is the first crash report with kernel 6.4.12 and nividia driver 535.104.05 , hyprland version v0.28.0-99-gd63a42e9
hyprlandCrashReport549.txt

Note that this might not be caused by Hyprland itself, I’m unable to launch Plasma on Wayland either…
I tried to revert my flake.lock to one from the 25th, but didn’t change anything though, weird…

Note that this might not be caused by Hyprland itself, I’m unable to launch Plasma on Wayland either… I tried to revert my flake.lock to one from the 25th, but didn’t change anything though, weird…

I am not sure if AMD issue here is the same with the one for Nvidia. Nvidia issue is actually caused by wlroot as discovered By @fazzi from discord channel and he opened an issue at wlroots repo and wlroots devs dont want to deal with because they think it is only nvidia related.
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3724
But again if those 2 issues are related then we would have same problem from AMD users too. So far other than here I have not seen a post on discord or here

Ha, makes sense, thanks.
@"$!# Nvidia, as usual. I really should get myself an AMD card…

well, I will close this as
[CRITICAL] m_sWLRBackend was NULL!

is always wlroots failing to open a backend, which means your gpu drivers are most likely broken

although keep in mind that the original issue creator was using AMD so are all our GPU drivers are bad  ? Or is there something wrong with the wlroots ?
it was working until the commit @fazzi has bisected and found out.
So maybe if they could have a look at it ? Maybe there is actually something wrong in that commit ?
And this is not the first time wlroots breaks thing. last time it was fixed since it effected everyone.

I’ve been at work all week and haven’t had a chance to git bisect.  I’ll try it and will open another issue if I can pinpoint it to a wlroots hyprland change.
That being said, I tend to run bleeding edge kernels and amdgpu drivers, so it’s not entirely impossible for that to be a factor.

Not the best timing for me to try Hyprland it seems 🥲
Here's an easy way to reproduce using Nix: https://github.com/gvolpe/nixos-hyprland

Problem disappears if I enable Multi-Monitor option in BIOS. I have 13700 with IGP and nVidia.


Create a post page

We need to have a unique URL for a single post, so that it can be shared.
if using the title as a unique tag for the post, think about how to handle changing the post's title.

I have decided not to do anything about changing the title's post (KISS).


python312Packages.aioconsole: 0.7.1 -> 0.8.0

Diff: https://github.com/vxgmichel/aioconsole/compare/refs/tags/v0.7.1...v0.8.0
Changelog: https://github.com/vxgmichel/aioconsole/releases/tag/v0.8.0
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 341343 run on x86_64-linux 1

22 packages built:

home-assistant-component-tests.bang_olufsen
home-assistant-component-tests.whirlpool
knowsmore
knowsmore.dist
netexec
netexec.dist
python311Packages.aioconsole
python311Packages.aioconsole.dist
python311Packages.bless
python311Packages.bless.dist
python311Packages.mozart-api
python311Packages.mozart-api.dist
python311Packages.whirlpool-sixth-sense
python311Packages.whirlpool-sixth-sense.dist
python312Packages.aioconsole
python312Packages.aioconsole.dist
python312Packages.bless
python312Packages.bless.dist
python312Packages.mozart-api
python312Packages.mozart-api.dist
python312Packages.whirlpool-sixth-sense
python312Packages.whirlpool-sixth-sense.dist


Improvements core

Hey @owenconti, this PR to improvements core:

Create a Schema::class because every methods need $connection
Unnecessary use illuminate\support, replace by array_map

Thanks.

Awesome PR @dinhquochan, thanks for your help!


add timeouts to QA search

Why was this change made?
Addresses part of #2182 (search timeouts)
Search spinner is in #2567
This is the timeout error message (not great, but matches the error message style you get for other search messages, and a custom message will potentially be substantially more work to implement):

How was this change tested?
Updated tests
Which documentation and/or configurations were updated?

Using this technique for timeing out the fetch calls: whatwg/fetch#951 (comment)

We decided not to pursue this any further unless it becomes a bug report.


Comments after assignment prevents ktfmt indentation

Before (correct)
package test

val foo =
  // This is a comment relative to fooBar
  fooBar {}

After (wrong)
package test

val foo =
// This is a comment relative to fooBar
fooBar {}

I have a fix for this as well, in a few parts. Can anyone coordinate on the PRs with me?


Client Secret question of this library

Hi all,
I am trying to use this library for youtube oauth. I encounter a question, right now, there is no client secret anymore, but this library is still using client secret in the example. How can I avoid to use the client secret?
Thanks a lot.

I am having the exact same problem. Thanks for asking!

Have you solve the issue? I just use "others" instead of "IOS" to get credential in google developer console.

Nope, no really looking now. But maybe you can give this one a try: https://github.com/JonasGessner/google-api-objectivec-client It is a fixed by JonasGessner.

The secret can be empty - https://github.com/google/gtm-oauth2/wiki#registering-your-application
Note: GTMAppAuth is now provided by Google's identity teams and uses the required out of proc webviews to do signins; so gtm-oauth2 is being deprecated.


fix 3.x demo result

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
I replaced the old api with the new one.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

This PR is duplicated in https://github.com/open-mmlab/mmdetection/pull/9153, we will merge PR into dev-3.x not 3.x


CI after 8.1.1 Rebase: sanity check is failing on check format

our CI is using a different setting than facebook's CI and our laptops which causes the CI to fail when it shouldnt
my version is:
clang-format version 10.0.0-4ubuntu1

completed as part of the rebase (https://github.com/speedb-io/speedb/pull/490 ) commit - https://github.com/speedb-io/speedb/commit/e8435af1cc0ec451fd8a1c1dc44f72af937ab0b4


16.3-6

Migratable from CLRS2e's 17.3-7. Also, demands that the implementation should allow for outputing all elements of S in O(|S|) time.


Prototype with online crossword

It looks like you could scrape a bunch of crossword puzzles from Crossword Hobbyist or onlinecrosswords.net. They wouldn't be good for publishing, but would make a good source for prototyping the 4-letter block mechanic. See if any get published with a multiple of four white squares. If so, scrape the clues and reorder them, then split the white squares up into tetrominoes. If none have a multiple of four, then either include a few black squares or use a mixture of tetrominoes and pentominoes.

Lessons from first prototype:

1/4" squares are too small.
15x15 grid is too big, too many pieces to look through.
Finding the rest of a word is too hard, when multiple pieces have the next letter.

Ideas for next prototype:

Use 1/2" squares.
Use 11x11 grid.
Add a hint that all neighbouring pieces have numbers within 10 of each other.

Second prototype was successful. Limit on neighbouring numers wasn't really needed. Pieces would be easier to manipulate if they were thicker. Felt backing? Laser cut wood? Placed on felt board?


Forbidden Lands - attribute score increase

Extended the Attribute range indicators(clickable skulls) to 7 to account for artifacts or...? that might raise a score above 6.

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


Disk Download Error

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.31.1
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20230822.1
Platform
Windows
OS Version
Windows 10
Bug Description
AzCopy failed to complete the transfer.
AzCopy error message: failed to perform copy command due to error: Login Credentials missing. No SAS token or OAuth token is present and the resource is not public
Steps to Reproduce
Browse to the Resource Group, find the file, right-click the disk and choose download.
Actual Experience
I get the error described above with a failure to download
Expected Experience
Download the VHD
Additional Context
No idea why it's missing.

@cooldog77 can you please follow these steps to gather Storage Explorer logs while reproducing the issue? Thanks.
https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/storage-explorer-troubleshooting?tabs=Windows#storage-explorer-logs

Closing due to lack of response.
If you're still encountering this issue, we recommend opening an Azure support ticket via the Azure portal. Alternatively you can open a new issue here. This issue will no longer be monitored.


Create rules notifications URL Broke

URL "Create rules notifications " Link on this page is broke.
(https://github.com/MicrosoftDocs/microsoft-365-docs/tree/public/microsoft-365/security/defender-endpoint)/configure-mssp-notifications.md

@cybernerd2014 Thank you for your feedback. There seems to be an extra  ")" in the URL. I'm able to open the document without the same - https://github.com/MicrosoftDocs/microsoft-365-docs/blob/public/microsoft-365/security/defender-endpoint/configure-mssp-notifications.md
Could you also provide the actual link of the page which contains this broken link?
Thanks
Sri


Problem with icons in RT theme 18

Hello there
I import Config.json and edit my icons. i deselect some icons but thr name of that icons shows in my RT Theme 18 and when i select them nothing will be there. how i should delete icon names that i don't need and also doesn't work?

That's not fontello issue. You can check included demo page if everything is ok.


Off/On

Each time the page is refreshed.
http://<IP_ADDRESS>/off
The device turns on and off
3.1.0.BETA3

Yes, as you can read in the api this is a toggle switch.


Broke single word into two

For some reason, in a wordpress header (php with html code) it broke an "array" into "a rray", which then broke the code. Not sure what this issue may actually be, but thought it should be noted.

Would you be able to provide a small code sample that the bug can be reproduced?

If this issue is still occurring, let us know with some reproducible steps and we can look into it. Thank you.


[DRC-258] [Bug] Value Diff does not work in Postgres

Current Behavior
Value Diff in Postgres Cannot work. It shows the error message below.
Expected Behavior
Show the correct value diff result.
Steps To Reproduce

Update logic for a DBT model in feature branch.
Follow Recce's instructions to run Recce server
Run Recce server
Find the model in DAG Lineage
Click on the model
Pick up primary key of the model
Click Value Diff

Relevant log output
Error: Database Error subquery in FROM must have an alias LINE 2: SELECT COUNT(*) AS INVALIDS FROM ( ^ HINT: For example, FROM (SELECT ...) [AS] foo.

Environment

recce: 0.7.0
Python: 3.11.6
Data Warehouse: Postgres
dbt: 1.7.9

Additional Context
No response
DRC-258

HI @neofreex01 , thanks for your feedback.
I try to reproduce this issue by jaffle-shop on postgres container
docker run --name postgres --rm -p 5432:5432 -e POSTGRES_PASSWORD=postgres postgres

profiles.yml
jaffle_shop:
  target: dev
  outputs:
    dev:
      type: postgres
      threads: 1
      host: localhost
      port: 5432
      user: postgres
      pass: postgres
      dbname: postgres
      schema: public

packages.yml
packages:
  - package: dbt-labs/audit_helper
    version: 0.10.0

Install
pip install dbt-postgres   recce

Steps

dbt deps && dbt build
dbt docs generate
dbt docs generate --target-path target-base
recce server
Go to lineage and select customers model
do value diff, pick the customer_id as pk

Result
I can run successfully.

Could you please check the query in the ./dbt/logs and paste the error sql? My sql is
SELECT COUNT(*) AS INVALIDS FROM (

select
    customer_id as unique_field,
    count(*) as n_records

from "postgres"."public"."customers"
where customer_id is not null
group by customer_id
having count(*) > 1

Hi @popcornylu, thank you for the reply. The following is my sql code.
SELECT COUNT(*) AS INVALIDS FROM (

select
    user_id as unique_field,
    count(*) as n_records

from "pure"."my_base_schema"."users"
where user_id is not null
group by user_id
having count(*) > 1

)

The code seems similar.
Besides, my Postgres version is 14. I guess this might be the issue. In pg14, it's not allowed to select from subqueries without alias.

Thanks for your information. I can reproduce in postgres:14


Ignore Helm-Secrets by default

Exclude secrets of type "helm.sh/release.v1" by default
/kind feature

With #153 resolved, this is no longer needed, as there are no logs for helm-secrets by default.


Sonoff Sensor AM2301 Question

@maximkulkin
I can not read data from original sonoff sensor am2301.
//tried
gpio_set_pullup(SENSOR_GPIO, false, false);
gpio_set_pullup(SENSOR_GPIO, true, true);

Sensor is working with ewelink (sonoff app)
Any idea?

gpio_set_pullup() is not how you read data. Can you provide full code?

This is what I am using for Sonoff TH16 and it works perfect over a year:
https://github.com/AramVartanyan/esp-homekit-demo/tree/master/examples/switch_th16

gpio_set_pullup() is not how you read data. Can you provide full code?

void temperature_sensor_task(void *pvParameters)
{
  gpio_set_pullup(SENSOR_GPIO, false, false);

  while (1) {

    if (dht_read_float_data(DHT_TYPE_DHT22, SENSOR_GPIO, &humidity_value, &temperature_value)) {
      printf(">>> Sensor: temperature %g, humidity %g\n", temperature_value, humidity_value);

      if (temperature_value != old_temperature_value)
      {

        if ( ((temperature_value * 1.018) > old_temperature_value) || ((temperature_value * 0.982) < old_temperature_value) )
        {

          old_temperature_value = temperature_value;
          current_temperature.value = HOMEKIT_FLOAT(temperature_value);
          homekit_characteristic_notify(&current_temperature, current_temperature.value);

          old_humidity_value = humidity_value;
          current_humidity.value = HOMEKIT_FLOAT(humidity_value);
          homekit_characteristic_notify(&current_humidity, current_humidity.value);
          update_state();
        }
      }
    }

    vTaskDelay(POLL_PERIOD / portTICK_PERIOD_MS);
    taskYIELD();
  }
}

DS18B20 works fine.
AM2301 (Alsair brand) works fine.
Original Sonoff AM2301 sensor makes trouble.
I think it is related with dht lib because DHT21 & DHT22 are same in esp-open-rtos but AM2301 is DHT21 (see adafruit dht lib )

@maximkulkin
New original sonoff sensor (v1.0) is different. (not am2301)
Chip is BB1 0 F 2 G A
Found this:
https://electronics.stackexchange.com/questions/443364/itead-sonoff-rf-wifi-433mhz-switch-identifying-an-unknown-chip-on-the-433mhz
https://au.mouser.com/datasheet/2/368/EFM8BB1-DataSheet-958779.pdf
Is there any way to get temp-hum from new sensor?

Old one is blue v0.03 which works - it is really am2301

i think this is a place where you pull out your logic analyzer device and start recording what's happening on a wire.

i think this is a place where you pull out your logic analyzer device and start recording what's happening on a wire.

I bought normal ds18b20 sensors and give up. I will try with logic analyzer later.
Thank you for the idea.


Provide browser instance id for concurrent tests

What is your Test Scenario?
Multiple tests that concurrently use the same data (on a server). When we use concurrent tests execution (-c) race conditions emerge.
What are you suggesting?
We would like to remove the concurrency and run tests in isolated sandboxes, one sandbox per browser instance. To do so we'll need to identify browser instances from test code.
I suggest simply adding concurrentInstanceId or instanceIndex to t.browser with a value unique per browser instance.
What alternatives have you considered?

t.useRole(createRandomRole()) before each test. Aka running every single test in its own sandbox. It works but collisions still may happen and it introduces unnecessary overhead.
t.useRole(presavedRandomRole). Does not work because it seems roles are shared across instances.

Additional context
There is some discussion in this StackOverflow question
I think t.testRun.browserConnection.id is what I am looking for but I am not sure, and also I am not sure if it is something documented.

Thank you for your suggestion. This feature can be really useful to determine using a test in what particular browser it is being executed.
t.testRun.browserConnection.id contains a unique identifier of the browser instance. However, this functionality is intended for internal usage (therefore, it is not documented). So, we cannot guarantee that it won't be changed in the future.


FontAwesome href and  attributes

Error in adding FontAwesome copyright icon. Below code for reference:
<!--link CDN Font Awesome, line 6 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>
<!--adding the icon, line 31 -->
<i class="fa fa-copyright" style="color: #000000;"></i>

Opted to change to text icon instead. Issue averted; still unsure as to where the error was


Are there any commands to delete all watch expressions?

For breakpoints, there is a command to remove all breakpoints by calling
vscode.commands.executeCommand(
'workbench.debug.viewlet.action.removeAllBreakpoints'
);
for all watch expressions, is there any commands as above to do it?
Thanks!

https://github.com/microsoft/vscode/issues/106230
already answered in above issue.


Create SelectionSort

@fms12 Hello I added Selection Sort In java, with proper documentation like what is selection sort, working, correct code with comment and also the Time and space complexity. Please check and merge.


Persistent Data Mode isn't working as expected on zCX

Describe the bug
Persistent mode isn't working as expected on zCX or WLS, instead the toolkit displays a message that its couldn't create CMakeLists.txt file and keeps on searching for it.
To Reproduce
Steps to reproduce the behavior:

After fetching the pre-built container,  run the ./RunToolkit.sh -p ubuntu
At the VSCode editor you will see the error.

Expected behavior
The docs should be updated to point out the workaround which is too run in sandbox mode with the -s flag -> ./RunToolkit.sh -p -s ubuntu.
Environment (please complete the following information):

Host Info (The machine hosting the FHE Toolkit Docker container), please provide the output of running the following commands in a termina window:

uname -
Linux lnxsec1 4.18.0-193.6.3.el8_2.s390x #1 SMP Mon Jun 1 20:38:45 UTC 2020 s390x s390x s390x GNU/Linux
ulimit -a

core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 15275
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 15275
virtual memory (kbytes, -v) unlim

Docker version (run docker -v in Terminal): podman version 1.6.4
Toolkit platform (Fedora, CentOS, Ubuntu): ubuntu

This issue is also occuring on WSL.

I suspect this issue is the same or related to https://github.com/IBM/fhe-toolkit-linux/issues/28

@deanthomasson this is most likely fixed with the last merge but we need to test

@boland25 can we find some time to test this one tomorrow morning before you get into your usual work for the day? If it was sorted with that merge we can close this one out 🤞🏻

@deanthomasson confirmed that it is working as expected ok to close


Zero Order implementation does not converge in CIFAR-10 dataset.

Hi I have implemented Mezo in cifar-10 dataset but the model does not seems to be converging even after large epochs, by taking appropriate parameters it seems to be going down very slowly. And if you increase learning rate it crashes after a certain point giving Nan Values.

Hey there, I'm not an author of the paper or involved in this repo at all (I'm just some researcher who read the paper and finds it interesting), but why would you expect Mezo to learn CIFAR10? From the paper, the algorithm is only applicable for the fine-tuning of LLMs.
Also, if you're interested, I made a small, neat, and well-tested implementation of MeZO (as far as I understand it) here: https://github.com/lebrice/MeZO/tree/main
This hasn't been reviewed by the authors yet, so take it with a grain of salt, but it should make it very easy to play around with it.
Hope that helps! :)


Setting user-agent

Description
How do you set a custom user-agent?
I tried using interceptors but nothing happened:
import { getAllPets } from<EMAIL_ADDRESS>import { client } from '@hey-api/client-fetch'

client.interceptors.request.use((request) => {
  request.headers.set('User-Agent', 'My user agent')
  return request
})

@Zyles Why do you believe this is how you set user agent?

@Zyles Why do you believe this is how you set user agent?

I don't know. I tried using createClient, but there is something I seriously cannot wrap my head around with this package.
I want multiple API clients to different APIs which I generated using the codegen. Some endpoints need authentication and some do not.
I created a wrapper like this:
import { createClient } from '@hey-api/client-fetch'

const apiClient1 = createClient({
  baseUrl: 'https://api1.domain.com',
  global: false,
  headers: {
    'User-Agent': 'Foobar 1.0'
  }
})

apiClient1.interceptors.response.use((response) => {
  if (response.status === 200) {
    console.log(`Request to ${response.url} was successful`)
  } else {
    console.error(`Request to ${response.url} returned an error: ${response.status}`)
  }
  return response
})

export default apiClient1

But how do I use this apiClient1 instance in my requests?
The demo shows calling the methods directly:
import { getAllPets } from<EMAIL_ADDRESS>
async function getAllPetsFromApi() {
  const response = await getAllPets()

  setResponse(response)

  return response
}

But then I am not using my apiClient1 wrapper, but instead the default client that was generated.
What am I missing?

@Zyles it's hard to say without seeing your code, but my best guess would be you're not setting client: '@hey-api/client-fetch' in your Hey API config file and perhaps using the default legacy fetch client. Regarding user agent, I am not sure why you need to do that at all, but I'm not aware that's the way to do it, see https://stackoverflow.com/questions/23248525/setting-a-custom-useragent-in-html-or-javascript

User-agent should be set in the client.
Using normal axios client it is as simple as:
const apiClient= axios.create({
  baseURL: config.baseUrl,
  headers: {
    'User-Agent': 'Foobar',
    Accept: 'application/json',
    'Content-Type': 'application/json'
  }
})

It can also be done on a request basis by passing a headers object.
Does the fetch client not support this?
Looking at the docs I don't understand how to use multiple clients. It mentions configuring a global client. But we have multiple different APIs we need to call and each needs their own client.
And how do you use authorization only on endpoints that require it but not the rest?
For example this request requires a token (code generated by your lib):
export const getOrders = (data: GetOrdersData): CancelablePromise<GetOrdersResponse> => { return __request(OpenAPI, {
    method: 'GET',
    url: '/orders/',
    path: {
    },
    headers: {
        'If-None-Match': data.ifNoneMatch
    },
    query: {
        token: data.token
    },
    errors: {
        304: 'Not modified',
        400: 'Bad request',
        401: 'Unauthorized',
        403: 'Forbidden',
        420: 'Error limited',
        500: 'Internal server error',
        503: 'Service unavailable',
        504: 'Gateway timeout'
    }
}); };

I am using Electron and found out I can set the user-agent using their API:
mainWindow.webContents.setUserAgent('Foobar 1.0')

Now the question remains, how to use multiple clients with different config and auth per endpoint?


Feature request: Possibility to manage ACLs only

This is a lot like #51 , but for a different segment of configuration management.
I'm in a situation where it would be nice to only manage ACLs and not topics. We have a handful of tools that generate topics as needed (ksqldb, flink, some in-house applications), and we're in the middle of setting up ACLs for some of our other topics.
Problem is, any time we leave these configurations out of our state file, kafka-gitops tries to delete our topics.
I saw that #54 got merged in, and I wrote #80 that basically copies that for --skip-topics. I'm wondering if I should instead investigate the possibility of automatically skipping plan segments if their keys are left out of the state file.
For instance, the following will delete all topics
topics: []
services:
  example-service:
      type: application
      produces:
        - example-topic

But this one will leave any existing topics alone:
services:
  example-service:
      type: application
      produces:
        - example-topic

Nevermind, I just found
settings:
  topics:
    blacklist:
      prefixed:
        - ''

Got way too excited to write some java and missed some documentation.


How to disable message "[0:00:24] audio=64000/63573 (bit/s)" while call?

How to disable message "[0:00:24] audio=64000/63573 (bit/s)" while call?

try to enable this in config:
statmode_default       off

or use the command /statmode to toggle it on/off.


Bug: Retrying failed deployments in application groups automatically closes the bulk deploy response modal

📜 Description
It bugs out when you deploy a number of applications via application groups. A new modal pops up showing the status of applications whose deployment was triggered. On clicking retry failed the modal closes automatically which should not happen.
👟 Reproduction steps

In my case I deployed 140+ applications simultaneously via application groups.
On triggering bulk deployment a few get failed.
On clicking retry failed the bulk deploy modal automatically closes. This should not be the correct behaviour.

👍 Expected behavior
Expected behaviour would have been modal not closing automatically
👎 Actual Behavior
modal closes automatically.
☸ Kubernetes version
NA
Cloud provider

NA

🌍 Browser
Chrome
🧱 Your Environment
NA
✅ Proposed Solution
NA
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#7003

@vivek-devtron this should works fine after batching


Fix handling of array types in query string

Rails encodes arrays in the URL query string differently than Elasticsearch, found while testing create_engine() to with the source_engines parameter:
from elastic_enterprise_search import AppSearch

app_search = AppSearch()
app_search.create_engine(
    engine_name="test-engine",
    type="meta",
    source_engines=["source-1", "source-2"]
)

encodes in the URL as ?...&source_engines=source-1,source-2
but should encode as ?...&source_engines[]=source-1&source_engines[]=source-2
This will require a change to how elastic-transport-python handles params

This affects all endpoints that require arrays. For example:
 app_search.create_synonym_set(
                engine_name=ENGINE_NAME,
                synonyms=["abc", "bcd"]
)

returns
elastic_transport.exceptions.BadRequestError: [400] {'errors': ['Synonym set must be an array of strings']}

This affects all endpoints that require arrays. For example:
 app_search.create_synonym_set(
                engine_name=ENGINE_NAME,
                synonyms=["abc", "bcd"]
)

returns
elastic_transport.exceptions.BadRequestError: [400] {'errors': ['Synonym set must be an array of strings']}


Add migration to fix external unit access mode of owner/admin team

Fix the incorrect migration in #23675 and #24012
External Unit (Tracker and Wiki) access mode should be read in owner/admin team.

Maybe a doctor sub-command to check and fix is better than a migration. So that it could be backport to old version.

Maybe a doctor sub-command to check and fix is better than a migration. So that it could be backport to old version.

I guess I do prefer automatic solutions, e.g. migrations.

Codecov Report

Merging #24117 (028ac24) into main (f521e88) will decrease coverage by 0.08%.
The diff coverage is 40.96%.

@@            Coverage Diff             @@
##             main   #24117      +/-   ##
==========================================
- Coverage   47.14%   47.06%   -0.08%
==========================================
  Files        1149     1161      +12
  Lines      151446   153785    +2339
==========================================
+ Hits        71397    72379     +982
- Misses      71611    72889    +1278
- Partials     8438     8517      +79

Impacted Files
Coverage Δ

cmd/dump.go
0.64% <0.00%> (-0.03%)
:arrow_down:

cmd/embedded.go
0.00% <0.00%> (ø)

cmd/mailer.go
0.00% <0.00%> (ø)

cmd/manager.go
0.00% <0.00%> (ø)

cmd/manager_logging.go
0.00% <0.00%> (ø)

cmd/migrate_storage.go
5.76% <0.00%> (-0.12%)
:arrow_down:

cmd/restore_repo.go
0.00% <0.00%> (ø)

cmd/web.go
0.00% <0.00%> (ø)

models/actions/run.go
1.63% <0.00%> (-0.10%)
:arrow_down:

models/actions/runner.go
1.44% <ø> (ø)

... and 60 more

... and 154 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

a doctor command could be used to backport ...


write callback and termination API

Description

Allow write callback.  Application was to use it to leverage the Kubernetes watch API which maintains a long-running connection.
API to terminate connection from another thread.
Fix all the disabled/broken CI tests that block the merge.

Checklist
Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

[X] CI passes
[X] Description of proposed change
[X] Documentation (README, code doc blocks, etc) is updated
[X] Existing issue is referenced if there is one

#162 write callback support
#161 CI does not work locally

[X] Unit tests for the proposed change

@mrtazz I am ready for your review, and hopefully your approval!  I did a lot of work to get the CI working well again.  I enabled all tests, even the OPTIONS test.  I would very much appreciate if this can be approved, or if you can provide any necessary feedback for approval ASAP.  Thank you.

Just updated some documentation and removed an unneeded file I added.

@shawkinsl would you be able to provide any feedback on this merge request?  It fixes CI and allows for stream processing of a GET response via write callback.

@ElonDusk26 and @KaiPetzke would you mind to give a "thumbs up" on this review so I can get it merged with a clean conscience?  Thanks!

Astounding work @edwinpjacques! Hopefully @mrtazz agrees with me.

Got out-of-band permission to merge from @mrtazz based on trust.  Thanks for the kudos @ElonDusk26 !  I hope you can help fix the issue #158.  It would be nice to have that resolved in the next release of code.  Thank you.

Sorry to disagree on this one. The callback declaration:
auto writeCallback = [](void *data, size_t size, size_t nmemb, void *userdata) -> size_t

looks too much old-style C-ish to me. This is a C++ wrapper around libcurl, and we should use C++ APIs, not C APIs.
The C++11 style would be to use std::function.
The Pre-C++11-style would be to use a class with a virtual function callback


Deprecation warning windows_package

Deprecation warnings are being outputted when using the seven_zip cookbook:

WARN: Please use the package resource available in Chef Client 12.6+.
windows_package will be removed in the next major version release
of the Windows cookbook on 4/2017.

How difficult would it be to migrate to the package resource as suggested in the deprecation message?

Fixed by #6

Nevermind, it actually wasn't fixed. Well it was in one commit, then reverted.

It is fine to continue using 'windows_package' resource, as it has been removed from the 'windows' cookbook and added to core Chef.  The OP should be able to eliminate the deprecation warnings by upgrading Chef, and installing the latest versions of the 'windows' and 'seven_zip' cookbooks.


Vue hooks does not update browser render of img tag (onMounted,onBeforeUnmount)

Vue version
3.2.20
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-exy3xk?file=src/components/ImgStrm.vue
Steps to reproduce
Happens on Windows 11, either Edge or Chrome. I am actually running mjpeg stream. stops showing stream but the request is still running in network tab
What is expected?
The image tag is remounted with image requests coming in and renders in browser
What is actually happening?
Does not change rendered image/frame, looks like stuck, but backend requests is fine.
System Info
Windows 11, Edge: 106.0.1370.47, Chrome 106.0.5249.119

Any additional comments?
Does not happen in Windows 10, same browser versions.
Edit: fix some info

Not sure why stackblitz is not showing the code... :/
<template>
  <img ref="myImg" src="" width="200" height="200" />
</template>
<script>
import { ref, onMounted, onBeforeUnmount } from 'vue';

export default {
  name: 'ImgStrm',
  setup() {
    const stream = ref(null);

    onMounted(() => {
      // normally the src is an mjpeg stream
      myImg.value.src = './assets/vue.svg';
    });

    onBeforeUnmount(() => {
      myImg.value.src = '';
    });
    return {
      stream,
    };
  },
};
</script>

Avoid manual dom manipulation, use v-bind as described in docs.
Remember to use the forum or the Discord chat to ask questions!


about.html page #160

Replace dummy tweets in footer of about.html page #160

@Aleem-Reveltek  - please help with this.


usage of TURN server with shared secret

Hi,
my coturn is setup with use-auth-secret and static-auth-secret for my nextcloud talk (which only supports user-auth-secret). This is working fine so far.
Is it possible to use go2rtc with coturn using static-auth-secret instead of user authentication?

I don't know how this secrets looks like. Go2rtc config uses default struct from pion library:
https://github.com/AlexxIT/go2rtc/blob/a5972701d886977c6538649f038366b9f15022c8/internal/webrtc/init.go#L21
https://github.com/pion/webrtc/blob/f9d7579b9639547baa37e84cdb5a658b12c1749e/iceserver.go#L18-L23


Added retry timeouts to write tests

/azp run azure - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/check-enforcer override

Overriding the check enforcer because normal CI is passing and the live tests addressed by this PR are now passing. Another PR will be open to fix further live test failures.


No matter what index type I specify, it is always listed as IVF_PQ.

I've tried creating a IVF_HNSW_SQ index on a dataset that has a vector column called embedding, but it seems the index type is always listed as IVF_PQ no matter what.
Here's a reproducible example. I use lancedb here but I extract the underlying lance dataset right away and create the index on that, so I don't think it's a lancedb issue:
import polars as pl
import numpy as np
from lancedb.db import LanceDBConnection

df = pl.DataFrame({
    'product_id': np.arange(1000),
    'embedding': np.random.rand(1000, 512).astype(np.float32)
    },
    schema_overrides={
        "embedding": pl.Array(inner=pl.Float32, shape=(512,)),
    },
)

db_test = LanceDBConnection('test.lancedb')

db_test.create_table('test_table', df, mode='overwrite')
table_test = db_test['test_table']
dataset_test = table_test.to_lance()

dataset_test.create_index(
    'embedding',
    'IVF_HNSW_SQ',
    metric='cosine',
    num_partitions=16,
    replace=True,
    ef_construction=100,
    M=48,
    max_levels=4
)

dataset_test.list_indices()

# This is my output
# [{'name': 'embedding_idx', 'type': 'IVF_PQ', 'uuid': '32acea8a-b94b-4578-a698-0950facdcf84', 'fields': ['embedding'], 'version': 10, 'fragment_ids': {0}}]

Versions of packages I'm using in this example with Python 3.10:
lancedb==0.17.0
pylance==0.20.0
polars==1.17.0
numpy==1.26.4

Any suggestions would be appreciated. Thanks!

hi @benmayersohn
it's a bug, that the list_indices would always report the vector index type is IVF_PQ even it's not.
just filed a fix #3258

Thanks so much @BubbleCal!


removing manifest from github (unnecessary)

I was wrong (see also convo on slack/general) --> updated the gitignore.

Codecov Report

Merging #63 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   81.16%   81.16%
=======================================
  Files           5        5
  Lines         223      223
=======================================
  Hits          181      181
  Misses         42       42

Continue to review full report at Codecov.

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


Support inverted motor output

Using Kvolt parameter would be better.
No change needed in this case.

implemented as a negative MOTOR_PHASE (-3 means reverse connected three phase motor)


Sort the contacts form relative to peer's contactability

Private peers can't be acted on, so show them below the contactable peers.

Now sorts alphabetically as well, mainly to avoid random reordering of the list during actions:

Now sorts across all nodes, rather than just the results passed in. :P


Regent: Crash on Crusher with multiple GPUs

I'm seeing a crash on Crusher when trying to run rank/node instead of rank/gpu.
Per @elliottslaughter suggestion I tried both rocm 4.5 and rocm 5.2 but both result in a seg fault somewhere in hipModuleLauchKernel when trying to launch a Regent task.
Here is a stack trace:
#0  0x00007fffe3765b41 in ?? () from /opt/rocm-5.2.0/lib/libamdhip64.so.5
#1  0x00007fffe376fbd9 in ?? () from /opt/rocm-5.2.0/lib/libamdhip64.so.5
#2  0x00007fffe3770a4f in hipModuleLaunchKernel () from /opt/rocm-5.2.0/lib/libamdhip64.so.5
#3  0x00007fffea56071c in $<CalcSpeciesTask>.62 ()
   from /gpfs/alpine/scratch/seshuy/cmb103/legion_s3d_nscbc_subrank//build/hept/libphysical_tasks.so
#4  0x00007fffea55de99 in $__regent_task_CalcSpeciesTask_cuda ()
   from /gpfs/alpine/scratch/seshuy/cmb103/legion_s3d_nscbc_subrank//build/hept/libphysical_tasks.so
#5  0x00007fffe5a03b5b in Realm::LocalTaskProcessor::execute_task (this=0x4907570, func_id=62, task_args=...)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/proc_impl.cc:1135
#6  0x00007fffe5a7bbf9 in Realm::Task::execute_on_processor (this=0x7ff9400a5220, p=...)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/tasks.cc:302
#7  0x00007fffe5a7feac in Realm::KernelThreadTaskScheduler::execute_task (this=0x54fa4e0, task=0x7ff9400a5220)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/tasks.cc:1366
#8  0x00007fffe5aceabe in Realm::Hip::GPUTaskScheduler<Realm::KernelThreadTaskScheduler>::execute_task (
    this=0x54fa4e0, task=0x7ff9400a5220)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/hip/hip_module.cc:1527
#9  0x00007fffe5a7ec40 in Realm::ThreadedTaskScheduler::scheduler_loop (this=0x54fa4e0)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/tasks.cc:1105
#10 0x00007fffe5a7f21a in Realm::ThreadedTaskScheduler::scheduler_loop_wlock (this=0x54fa4e0)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/tasks.cc:1217
#11 0x00007fffe5a90cfc in Realm::Thread::thread_entry_wrapper<Realm::ThreadedTaskScheduler, &Realm::ThreadedTaskScheduler::scheduler_loop_wlock> (obj=0x54fa4e0)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/threads.inl:97
#12 0x00007fffe5a93f3a in Realm::KernelThread::pthread_entry (data=0x5f2faf0)
    at /gpfs/alpine/cmb103/scratch/seshuy/legion_s3d_nscbc_subrank/legion/runtime/realm/threads.cc:774
#13 0x00007fffe47176ea in start_thread () from /lib64/libpthread.so.0
#14 0x00007fffebde1a8f in clone () from /lib64/libc.so.6

The best option for debugging this is a minimized reproducer.
Barring that, we could at least try to get a debug ROCm, but that'll be slow both to obtain and to interpret results from.

@elliottslaughter is there a debug ROCm? I thought ROCm is delivered as binary library.

ROCm is open source. You can build it with Spack, and I did so a while back (when I was waiting for ROCm 5.1 to be deployed to the machine). It's finicky, and hideously slow to build, but doable.
Whether Spack lets you do a debug build, I'm not sure, since I didn't try to do that.
But again, this is definitely plan B, and by a wide margin.

I pulled out two of the tasks from S3D that I've seen this crash occur on CalcVolumeTask and CalcSpeciesTask but they seem to work in a standalone example doing a subrank launch. The only other thing I can think that might make a difference is that the standalone example isnt using separate compilation.

I was able to reproduce this using separate compilation with subranks.
There is a standalone example available here on Crusher: /gpfs/alpine/cmb103/world-shared/seshuy/subrank
Run it on an interactive node like this: srun --tasks-per-node 1 --gpus-per-task 8 --cpus-per-task 6 regent.py optimize_index_launch_nested_nodes_cores_4d.rg -ll:gpu 8 -ll:cpu 1 -ll:csize 16384 -ll:fsize 16384 -findex-launch-dynamic 0 -foverride-demand-index-launch 1 -fflow 0 -fseparate 1 -fincr-comp 1 -lg:spy 1 -logfile run_%.log

I'm able to reproduce this.
Some things I've noticed so far:

The code is very slow on account of fill calls. This can be addressed somewhat by reducing problem size. (Reproduction is not sensitive to problem size.)
The code requires at least -ll:gpu 2 (and var subranks = 2) to crash. A single GPU is not sufficient, even with the same launch pattern.
The CalcSpeciesTask is not required. I only need to launch CalcVolumeTask.

Here's a shorter reproducer that works for me:
repro.rg:
import "regent"

extern task gpu_task(r : region(int))

task main()
  var r = region(ispace(ptr, 10), int)
  var t = ispace(int1d, 10)
  var p = partition(equal, r, t)
  for i in t do
    gpu_task(p[i])
  end
end

local tmp_dir = './'
local root_dir = arg[0]:match(".*/") or "./"
local loaders = terralib.newlist()
local regent_exe = os.getenv('REGENT') or 'regent'
local tasks_rg = "repro_gpu_task.rg"
local tasks_h = "repro_gpu_task.h"
local tasks_so = tmp_dir .. "librepro_gpu_task.so"
if os.execute(regent_exe .. " " .. tmp_dir .. tasks_rg .. " -fseparate 1 -fgpu hip -fgpu-arch gfx90a -fincr-comp 1") ~= 0 then
  print("Error: failed to compile " .. tmp_dir .. tasks_rg)
  assert(false)
end
local tasks_c = terralib.includec(tasks_h, {"-I", tmp_dir})
loaders:insert(tasks_c["repro_gpu_task_h_register"])
terralib.linklibrary(tasks_so)

terra loader()
  [loaders:map(function(thunk) return `thunk() end)]
end

regentlib.start(main, loader)

repro_gpu_task.rg:
import "regent"

__demand(__cuda)
task gpu_task(r : region(int))
  for i in r do
  end
end

local repro_gpu_task_h = "./repro_gpu_task.h"
local repro_gpu_task_so = "./librepro_gpu_task.so"
regentlib.save_tasks(repro_gpu_task_h, repro_gpu_task_so, nil, nil, nil, nil, false)

Command:
../regent.py repro.rg -ll:gpu 2 -ll:cpu 1 -ll:csize 1024 -ll:fsize 1024 -fflow 0 -fseparate 1 -fincr-comp 1

Output:
$ ../regent.py repro.rg -ll:gpu 2 -ll:cpu 1 -ll:csize 1024 -ll:fsize 1024 -fflow 0 -fseparate 1 -fincr-comp 1
/opt/rocm-4.5.0/llvm/bin/ld.lld -shared -plugin-opt=mcpu=gfx90a -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=O3 -plugin-opt=-amdgpu-early-inline-all=true -plugin-opt=-amdgpu-function-calls=false -o /tmp/lua_NnKvrd /tmp/lua_sHHPld  /opt/rocm-4.5.0/amdgcn/bitcode/oclc_finite_only_off.bc /opt/rocm-4.5.0/amdgcn/bitcode/ocml.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_daz_opt_off.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_wavefrontsize64_on.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_isa_version_90a.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_unsafe_math_off.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc
/opt/rocm-4.5.0/llvm/bin/clang-offload-bundler --inputs=/dev/null,/tmp/lua_NnKvrd --type=o --outputs=/tmp/lua_JJsskf --targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx90a
[0 - 7fffc17f6780]    0.116352 {4}{hip}: HIP hijack code not active - device synchronizations required after every GPU task!
/opt/rocm-4.5.0/lib/libamdhip64.so.4(+0x11032d) [0x7fffe8db932d]
/opt/rocm-4.5.0/lib/libamdhip64.so.4(+0x118b8d) [0x7fffe8dc1b8d]
/opt/rocm-4.5.0/lib/libamdhip64.so.4(hipModuleLaunchKernel+0x4fa) [0x7fffe8dc27ca]
./librepro_gpu_task.so(+0x73a3) [0x7fffdebb23a3]

I think this is just an issue with registering kernels on multiple GPUs.
Minimal reproducer:
import "regent"

__demand(__cuda)
task gpu_task(r : region(int))
  for i in r do
  end
end

task main()
  var r = region(ispace(ptr, 10), int)
  var t = ispace(int1d, 10)
  var p = partition(equal, r, t)
  for i in t do
    gpu_task(p[i])
  end
end

regentlib.start(main)

Command:
../regent.py repro.rg -ll:gpu 2 -ll:cpu 1 -ll:csize 1024 -ll:fsize 1024 -fflow 0 -fgpu hip -fgpu-arch gfx90a

Result:
$ ../regent.py repro.rg -ll:gpu 2 -ll:cpu 1 -ll:csize 1024 -ll:fsize 1024 -fflow 0 -fgpu hip -fgpu-arch gfx90a
/opt/rocm-4.5.0/llvm/bin/ld.lld -shared -plugin-opt=mcpu=gfx90a -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=O3 -plugin-opt=-amdgpu-early-inline-all=true -plugin-opt=-amdgpu-function-calls=false -o /tmp/lua_rctCwo /tmp/lua_7MBS7l  /opt/rocm-4.5.0/amdgcn/bitcode/oclc_finite_only_off.bc /opt/rocm-4.5.0/amdgcn/bitcode/ocml.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_daz_opt_off.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_wavefrontsize64_on.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_isa_version_90a.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_unsafe_math_off.bc /opt/rocm-4.5.0/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc
/opt/rocm-4.5.0/llvm/bin/clang-offload-bundler --inputs=/dev/null,/tmp/lua_rctCwo --type=o --outputs=/tmp/lua_JlhK6l --targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx90a
[0 - 7fffc19f6780]    0.115502 {4}{hip}: HIP hijack code not active - device synchronizations required after every GPU task!
[0 - 7fffc19f6780]    0.117924 {4}{hip}: HIP hijack is active - device synchronizations not required after every GPU task!
/opt/rocm-4.5.0/lib/libamdhip64.so.4(+0x11032d) [0x7fffe8db932d]
/opt/rocm-4.5.0/lib/libamdhip64.so.4(+0x118b8d) [0x7fffe8dc1b8d]
/opt/rocm-4.5.0/lib/libamdhip64.so.4(hipModuleLaunchKernel+0x4fa) [0x7fffe8dc27ca]
3   terra (JIT)                         0x00007fffed9f73d9 $<gpu_task>.64 + 1529
[0x7fffc17f1788]
[0x1]

No separate compilation required to reproduce.

Note to self: reproduce with C++ circuit next (with HIP).

Confirmed that this bug is still present in Regent Circuit with ROCm 5.4.3, 1 node, 2 GPUs. Backtrace:
(gdb) bt
#0  0x00007fffe87f4cc1 in<EMAIL_ADDRESS>() from /lib64/libc.so.6
#1  0x00007fffe87fa9c3 in nanosleep () from /lib64/libc.so.6
#2  0x00007fffe87fa8da in sleep () from /lib64/libc.so.6
#3  0x00007fffebe031b6 in Realm::realm_freeze (signal=11)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/runtime_impl.cc:200
#4  <signal handler called>
#5  0x00007fffe8cd75c2 in ?? () from /opt/rocm-5.4.3/lib/libamdhip64.so.5
#6  0x00007fffe8cd7c62 in ?? () from /opt/rocm-5.4.3/lib/libamdhip64.so.5
#7  0x00007fffe8ce763c in hipModuleLaunchKernel () from /opt/rocm-5.4.3/lib/libamdhip64.so.5
#8  0x0000000000415395 in $<calculate_new_currents> ()
#9  0x00000000004140d9 in $__regent_task_calculate_new_currents_cuda ()
#10 0x00007fffec227ef0 in Realm::Hip::GPUProcessor::execute_task (this=0x9ad040, func_id=19, task_args=...)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/hip/hip_module.cc:2087
#11 0x00007fffebf7317a in Realm::Task::execute_on_processor (this=0x7ff16805e630, p=...)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/tasks.cc:326
#12 0x00007fffebf77146 in Realm::KernelThreadTaskScheduler::execute_task (this=0xc8bf90, task=0x7ff16805e630)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/tasks.cc:1421
#13 0x00007fffec254a68 in Realm::Hip::GPUTaskScheduler<Realm::KernelThreadTaskScheduler>::execute_task (this=0xc8bf90, task=0x7ff16805e630)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/hip/hip_module.cc:1500
#14 0x00007fffebf75f85 in Realm::ThreadedTaskScheduler::scheduler_loop (this=0xc8bf90)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/tasks.cc:1160
#15 0x00007fffebf765c2 in Realm::ThreadedTaskScheduler::scheduler_loop_wlock (this=0xc8bf90)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/tasks.cc:1272
#16 0x00007fffebf7dca4 in Realm::Thread::thread_entry_wrapper<Realm::ThreadedTaskScheduler, &Realm::ThreadedTaskScheduler::scheduler_loop_wlock> (obj=0xc8bf90) at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/threads.inl:97
#17 0x00007fffebf4d3d7 in Realm::KernelThread::pthread_entry (data=0xb01e70)
    at /autofs/nccs-svm1_home1/eslaught/crusher/legion/runtime/realm/threads.cc:781
#18 0x00007fffe7cb66ea in start_thread () from /lib64/libpthread.so.0
#19 0x00007fffe8830a6f in clone () from /lib64/libc.so.6

Confirmed that multi-GPU works with C++ Circuit with ROCm 5.4.3. So this is probably a bug with either the hipModule* APIs (since hipcc does not use those) or with how Regent is using hipModule*.

Based on feedback from OLCF staff this week, I am testing the following patch for this:
https://gitlab.com/StanfordLegion/legion/-/merge_requests/903
Currently waiting on jobs to finish on Crusher to see if it's working or not.

I fixed some issues and merged the MR. Seshu confirmed that new branch works with HIP multi-GPU.


Discuss how to replace Request OOB release of Azure PowerShell Module

This feature in OpenAPI Hub redirects the user to create a work item in ADO with a pre-populated template.

Is somebody using this?
Is this still needed? Should we document it?
I'll take a look at the code and understand if there's something happening behind the scenes when a user clicks this button.

I took a look at the code and these are my findings:
In general, this feature in OpenAPI Hub is just a go.microsoft.com link that redirects to ADO > Create Work item and contains a templateId and ownerId query params. This link is not owned by any members of our team.  I'll send both links and owners aliases in an internal email thread.
People are creating work items with this templates to request to request an out-of-band release of Azure PowerShell Module, but it is unknown to me if they are actually coming from OpenAPI Hub or somewhere else, since it is just a link.
I don't think we should own or include this link in our documentation since this process is not part of our REST API & SDK processes. @maririos what do you think? Is the request of an out-of-band release part to our team processes?
Should we decide to exclude it from our documentation, I can notify the link's owners via email that the link will no longer be accessible on OpenAPI Hub, allowing them to incorporate it into their own docs or wiki.

I don't think we should own or include this link in our documentation since this process is not part of our REST API & SDK processes. @maririos what do you think? Is the request of an out-of-band release part to our team processes?

I lack context here. @ladonnaq  or @josefree could you help?

People responsible for this have communciated back that they no longer need this functionality so we are good to go to delete it.


(Remote) Reindex Action

 Issue by dbbaughe
Friday May 08, 2020 at 01:53 GMT
Originally opened as https://github.com/opendistro-for-elasticsearch/index-management/issues/220

From Carl in RFC issue: I got feedback from a conversation today to add remote reindex as supported operation to move indexes to another cluster. To add to your list for consideration.

 Comment by psaiz
Wednesday May 19, 2021 at 11:05 GMT

It would be nice to have the reindex in the same cluster as well (like curator does).
The use case I have in mind:

The producer creates big daily indices
After one week, the daily indices will be reindexed into monthly indices, to reduce the total number of indices and shards

Track in https://github.com/opensearch-project/index-management/projects/1#card-71473393


Implemented long string initialization and tests for SymbolicOperator

This allows for operators to be initialized using long strings, e.g.
FermionOperator('2.0 [0^ 1] + -1.0 [2^ 3]')
The format of the string is fairly flexible. For example, the above operator could also be initialized with
FermionOperator('2.0[0^ 1]-[2^ 3]')

Also, it might be good to document this functionality in the demo and/or in the release paper. But I won't require that to merge this PR.

My original thought was to enforce that the input terms had to be separated by +, and then we can use the string method split and a for loop to do this in a few lines of code. The flexibility of @max-radin 's implementation is nice though; it still might be possible to simplify it using the string method split.

Building off @kevinsung suggestion, maybe it's possible to use the regular expression library split method.  It should allow for a variety of matching.  The regex code would probably be fairly complex given the variety of inputs +, \s+\s, -, \s-\s, \s-[,etc...

@babbush I think you're right that complex numbers might be a problem – I'll look into that. With regards to init being the inverse of str, there are tests for both fermions and qubits.
In terms of simplifying the code, I don't think we can use + by itself to split terms because complex coefficients can also contain +. But a regex split might work well.

@max-radin yes you did have those tests there. Don't know how I missed them! I think the main thing then is to make sure we can handle complex coefficients.

Ok, it now works with complex coefficients and should be good to go.

This is great, thanks! Finally, you are welcome to add your name / affiliation to the alphabetical part of the authors section both in NOTICE and README, if you would like. If you don't want to do that, let me know and I will merge as is. Otherwise, I'll wait until you've done those things to merge.


persisting headers and variables

Currently refreshing graphiql query is saved but variables and headers go away. It would be nice if we can save those too.

huh, variables should persist. headers do not

When I have variables set they all go away.

This shouldn't be the case still, is it?

the main reason we don't allow persisting headers by default is the main reason why our last XSS CVE was a level 7 and not 9 🤯

apollo sandbox supports persistent caching in development without the need to change variables manually

Apollo v4 using apollo sandbox has persistent headers in development by default

The default behavior (at least on 3.0.0) seems broken:

Set Persist headers to On in the UI
Add headers
Reload, observe that headers are persisted
Reload again, observe that headers have now vanished

@markedwards can you open a bug ticket?

@markedwards can you open a bug ticket?

#3369

The default behavior (at least on 3.0.0) seems broken:

Set Persist headers to On in the UI
Add headers
Reload, observe that headers are persisted
Reload again, observe that headers have now vanished

And I see that Persist headers in UI also goes back to Off. In other words, the Persist headers setting isn't persisted across refreshes. That also probably explains why headers are restored on the first reload but lost on the second.

@ramnivas see the discussion here that led to a new ticket. Closing to avoid duplicate discussions


Better way of managing singleton classes

Today in top-level classes like CustomerIO we have to have logic in place to determine if the shared singleton instance of CustomerIO has been initialized or not. Today it's done with conditionals in each public facing SDK function but that can get complex to handle and error prone as the SDK grows in functionality.
This issue is to come up with a better solution to this problem so it's simple to handle using a singleton or not a singleton instance of the top-level classes.

Idea:
class CustomerIOImplementation {
  init(config, credentials) {}

  fun identifyCustomer() {
    repository.identify()
   }
}

class CustomerIO {
  init(siteid, apikey) {
     self.implementation = CustomerIOImplementation(...)
  }
  fun identifyCustomer() {
    self.implentation?.identifyCustomer()
  }
}

We have 1 class where all of the logic of the CustomerIO class exists. It never has to handle the different use scenarios if the SDK has been initialized or not. It must be constructed only after the SDK has been initialized. Then, in the public facing API of the CustomerIO class, we simply handle the "have you initialized the SDK?" scenario there in each function.
pros:

scalable
XImplementation class more easily testable
simple

cons:

2 classes required to perform the work of the public facing function. The nice thing is we only need 2 classes for the top-level classes of the SDK like CustomerIO, MessagingPush.


Update README.md

Stong -> Strong

We have manually made the changes, thank you for your reminder. :)


Update ryujinx-ava.json

Fixes the incorrect binary filename in ryujinx-ava's current manifest.
Closes #781

[x] I have read the Contributing Guide.

Going to test this and move it out draft

Looks like the binary name is back to being Ryujinx.Ava.exe. PR is not needed anymore.


Import from collections.abc to avoid deprecation warning

Fixes #756

Bump, be nice to get this merged


Project/data inventory/rmorgan

I added an attribute to the taster class to keep track of all the tracts. I also added a method to the class that can plot the sky area covered using the tracts. The plot is basic, but is probably good enough for exploring datasets. The issue where accessing any of the WIDE, DEEP, and UDEEP repos seems to pool the data for all three together persists.

Main questions for reviewers:

It appears that it is not possible to query the tracts using queryMetadata, but we would still like to do everything in a Butler-like way. Can anyone think of how to collect the tracts via the Butler?
The cell where we call taster.report() in a for loop over the three depths of the HSC dataset shows that the Butler returns the same numbers of fields, sources, and filters through the queryMetadata method, but the tracts (which were not collected by the Butler) show that different sky area is covered in each case. It is almost as if the Butler is grouping the three depths into one dataset. We are curious why this happens and how it can be avoided so that accurate information about the dataset is returned.


[feat] Structure the monorepo with common structure

Describe the feature
https://lucapette.me/writing/how-to-structure-a-monorepo/?utm_source=atom_feed
Examples:
https://github.com/supabase/supabase
https://github.com/microsoft/vscode
https://github.com/vercel/next.js/

I'm going for it if assign me.

Done!


Nodejs bot server (3.0+) received empty attachments array message with image message sent from web chat.

I tested the Nodejs SDK 3.0+ and found that I received an empty text and attachments array message with image message sent from web chat. I received correct attachments data from slack and facebook channel with the same test server code. Also I found that after I sent image from web chat and the server response slowly, the message sent back from server may be showed one step delay to web chat.

Adding dan

Hi @lanma, upload in web chat was broken a few weeks ago but should be working now. I'm seeing it work correctly with my bots. Can you try again and see if it's still broken?

@dandriscoll It works now! Thank you very much!


UCP: Migrate scalar function Lpad from TiDB

Description
Port the scalar function Lpad from TiDB to coprocessor.
Score

50

Mentor(s)

@lonng

Recommended Skills

Rust programming

Learning Materials
Already implemented expressions ported from TiDB

https://github.com/tikv/tikv/tree/master/components/tidb_query/src/rpn_expr)
https://github.com/tikv/tikv/tree/master/components/tidb_query/src/expr)

/pick-up-challenge

/pick-up-challenge


card-columns and google maps issue

Good day,
There is a silly bug when you insert a google map in a card div, inside a card-columns div and it seems to be something to do with the column count property. There are 4 div's in my case, 2 below and 2 above the map that prevent any other element being clicked. In my example below, the update address button cannot be clicked.

I have tried playing around with the z-index of the button, but this does not work.

Can you provide a live demo with a reduced test case?

Will work on it now

On 11 Jun 2019, at 10:19, Florian Lacreuse<EMAIL_ADDRESS>wrote:
Can you provide a live demo with a reduced test case?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/twbs/bootstrap/issues/28891?email_source=notifications&email_token=ADFSA2DJDTPHJCGVVZH4D73PZ5NXRA5CNFSM4HW3JGA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXMKD3Y#issuecomment-500736495, or mute the thread https://github.com/notifications/unsubscribe-auth/ADFSA2BJEQHTIRRHBBNBRDDPZ5NXRANCNFSM4HW3JGAQ.

I have created two fiddles. The only difference is one uses 'card-deck' and the other 'card-columns'.
With card-columns, you cannot click the button as a hidden part of the map is in the way. In fact you can even drag the map from over the button: https://jsfiddle.net/cjshaw/ws46qbv1/
With card-deck, you can click the button and everything works as you would expect: https://jsfiddle.net/cjshaw/ws46qbv1/1/

Card columns use the columns CSS property. If you need columns and have stuff like Google Maps to place within, I'd suggest the grid versus a browser-based content layout mechanism. Content is distributed so oddly across CSS columns and I'm betting they have no idea how to handle these kind of objects within.
Food for thought on eliminating the .card-columns class outright in v5 given their confusion and problems we've seen, @twbs/css-review.

I don't think its a Bootstrap issue ... it only happens in Google Chrome.

Closing as a won’t/can’t fix.


Fix : Groq TPM Limit Handling

Description
Fixes #601 ,

[x] Feature : Added TPM(Token Per Minute) Limit handling to Groq , so if it hits the TPM , it doesnt stop ,instead it wait and retry in the given time

Explain what existing problem does the pull request solve?
Currently if Groq's TPM limit is reached then the agent just pops an error in the backend console and stops the task it was given and it has to start from start again, this is fixed in this PR, if the Groq TPM limit is reached , then devika will just wait for the time to pass and then try again in a few seconds.
Test plan (required)

Closing issues (optional)
Fixes #601

closes #602

Unresolved attribute reference 'response' for class 'Exception'
use this
import requests
try:
....
except requests.exceptions.HTTPError as e:
if e.response.status_code == 429: