Update the URL for the wiki page returned by cam-kp

Per discussion between Kara and Jim, this issue is to request that the URL for the wiki page returned by cam-kp is replaced with this one: https://github.com/NCATSTranslator/Translator-All/wiki/CAM-Provider-KG. This change will necessitate some changes to the code and a new deployment, but it will improve consistency, adhere to NCATS/UI specs for wiki pages, and better serve end users

Am I correct in thinking that this will need to be made in the infores catalog? We currently follow the convention of all the Automat KGs, which sets all the Automat KG xrefs to https://github.com/NCATSTranslator/Translator-All/wiki/Automat, but I think we can change that to https://github.com/NCATSTranslator/Translator-All/wiki/CAM-Provider-KG without too much problem.
https://github.com/biolink/biolink-model/blob/569ecf63ae59bfd200dda8dd871ed50c2dff4345/infores_catalog.yaml#L167-L174
Our /metadata endpoint returns two URLs at https://automat.renci.org/cam-kp/metadata:
      "source_data_url": "https://github.com/ExposuresProvider/cam-kp-api",
      "license": "https://github.com/ExposuresProvider/cam-kp-api/blob/master/LICENSE",
      "attribution": "https://github.com/ExposuresProvider/cam-kp-api",

AFAIK nobody uses these anywhere, but we could consider changing attribution to this URL as well.

To clarify, we (icees-kg) also follow the convention of deferring to Automat as an aggregator knowledge source (infores:automat-icees-kg) and point to https://github.com/NCATSTranslator/Translator-All/wiki/Automat, but we then refer to infores:icees-kg as the primary knowledge source and point to https://github.com/NCATSTranslator/Translator-All/wiki/ICEES. For cam-kp, I'm suggesting that you also refer to infores:automat-cam-kp as the aggregator knowledge source pointing to https://github.com/NCATSTranslator/Translator-All/wiki/Automat and infores:cam-kp as the primary knowledge source, pointing to https://github.com/NCATSTranslator/Translator-All/wiki/CAM-Provider-KG.
Yes, the change will need to be made in both cam-kp and the infores catalog. However, I already have them flagged as part of the infores/wiki effort, so I can create a PR for both icees-kg and cam-kp after the cam-kp URLs have been updated.


Configure RPC Timeout

The RPC timeout is currently a constant. It should be configurable.

Hey @mvandeberg
I figured the only way to configure RPC time out is to be add it to the yaml config with a senisble default as timeout option.
Let me know what you think
Thank you

Hey @mvandeberg
I think to configure RPC timeout, it would desirable to add timeout to the yaml configuration with a  default  option.
Let me know what you think
Thank you

Implemented under #43.


[Node SDK] remove duplicate jwt check. fix for #2561

This PR removes the duplicate JWT verification and relies solely on the implementation in jsonwebtoken using the already existing jwtVerifyOptions
I also added a call to console.error when the connector encounters a token error, in order to provide feedback for otherwise mysterious hangups.
CallConnector.js was built using tsc 2.3.2

@ctstone,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Thanks


Set lines for "Allowed Roles" in pv-inverter to active

uncomment AllowedRoles for pvinverter

lets give a try..


[Bug] ccls call hierarchy not working anymore when starting other LSP in a different buffer

These lines:
https://github.com/ray-x/navigator.lua/blob/d08d78f6a429ad14fafbee7fc5abf4b3b4b36888/lua/navigator/cclshierarchy.lua#L16
https://github.com/ray-x/navigator.lua/blob/d08d78f6a429ad14fafbee7fc5abf4b3b4b36888/lua/navigator/cclshierarchy.lua#L55
https://github.com/ray-x/navigator.lua/blob/d08d78f6a429ad14fafbee7fc5abf4b3b4b36888/lua/navigator/cclshierarchy.lua#L72
https://github.com/ray-x/navigator.lua/blob/d08d78f6a429ad14fafbee7fc5abf4b3b4b36888/lua/navigator/cclshierarchy.lua#L88
Should be changed to:
assert(#vim.tbl_keys(vim.lsp.buf_get_clients()) > 0, 'Must have a client running to use lsp_tags')

otherwise, the number of LSPs attached to the buffer will be reported as 0 when starting another LSP server on a different buffer.
My modification has been tested and it always works. Some possible explanations:
https://github.com/ojroques/nvim-hardline/pull/31
https://github.com/neovim/neovim/issues/14618#issuecomment-846501540
Thus, #vim.lsp.buf_get_clients() returns 0 because of missing entries due to client IDs not being continuous (i.e. when starting new LSPs on new buffers).
Note: my counting method of the currently attached LSPs to a buffer is the same implemented here, which works:
https://github.com/neovim/nvim-lspconfig/blob/f183d35725264d6184146eebcef1ba8338ddbc83/lua/lspconfig/ui/lspinfo.lua#L155

But with changes of
https://github.com/ojroques/nvim-hardline/pull/31/files
The behaviour should be correct, right?

Yes, that should fix the correct way to count the attached LSPs to the buffer (using pairs instead of ipairs).

It should be fixed a while back


Bug Report: Note strums don't appear with middle scroll.

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows x86_64
What version of the game are you using? Look in the bottom left corner of the main menu.
1.8
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
I downloaded the game and ran it, middle scroll doesn't work.
Please describe your issue. Provide extensive detail and images if possible.
I use the middle scroll setting and strums do not appear. I can confirm removing the database file from appdata does not fix the issue.

same problem on linux.
But this problem is only in story mode in my case, in freeplay it's fine
history Mode

Freeplay Mode

also, the wake of the long notes seem to be compressed, when pressed they return to the way they should be, it's strange. Also ends earlier, it is as if it ends when the graph does too
https://user-images.githubusercontent.com/60526375/140760574-014eb1cf-44a9-47df-966e-67c598623eb1.mp4

@mineapi I have done another build, but of the more specific master branch in the last commit 2db8cd2 (at the time I am uploading this), and apparently several of those problems were fixed, except for the early termination.
https://user-images.githubusercontent.com/60526375/140839667-19ff3660-c64b-44a5-8d65-53465594a790.mp4
https://user-images.githubusercontent.com/60526375/140839850-35aaa24d-55de-4674-a534-999c60a8e4f6.mp4


As a user, I want to see the headline details about the photo I uploaded.

1- Render the /getDetailsPage component with retrieved data.

Show the result of the response from clarify api

Components: UploadPhoto, Item
Procedure:
1- Post the photo URL to remove background API and get back a new photo URL.
2- Post the new photo URL to Clarifai APIs and get back all tag names with their percentage (item details).
3- Save item details in (Object || Local Storage || Json File)
4- Render Item component and show All item details on it.


CR filtering & spring cleaning

Closes https://github.com/giantswarm/giantswarm/issues/16844
1. Overview
With this change azure-admission-controller will process only CRs that belong to a cluster from a release that contains azure-operator.
The release to which the CR belongs to will be determined in one of the following ways, whichever is possible:

check release.giantswarm.io/version label from the CR itself
get cluster.x-k8s.io/cluster-name from the CR, and then get the Cluster CR by name and check its release.giantswarm.io/version label
get giantswarm.io/cluster from the CR, and then get the Cluster CR by name and check its release.giantswarm.io/version label

If release cannot be determined in one of the aforementioned 3 ways, azure-admission-controller will skip the CR.
Hard requirement for this logic to work is that Cluster CR has release.giantswarm.io/version label set. Here we have two paths:

release.giantswarm.io/version label is set during Cluster CR creation - AFAIK this is currently how our tooling works.
If not set on Cluster CR creation, release.giantswarm.io/version label is defaulted by Kyverno and it is set to the latest release version. In this case we would probably need to set webhook reinvocationPolicy to IfNeeded, so that azure-admission-controller is invoked again after mutating Cluster CR to set release.giantswarm.io/version.

2. Implementation details
Some parts of the azure-admission-controller had a bit bigger changes, like changing function signature in mutators and validators Mutate and Validate functions, moving some checks and conversions from individual validator/mutator implementation one level above to the mutation/validation handler func, so it's implemented in a centralized place, instead of repeating the same thing many times.
2.1. Validators & mutators interfaces
validator.Validator and mutator.Mutator interfaces have been renamed to validator.WebhookHandler and mutator.WebhookHandler and have been refactored from this:
type Validator interface {
	Validate(ctx context.Context, request *v1beta1.AdmissionRequest) error
	Log(keyVals ...interface{})
}

type Mutator interface {
	Log(keyVals ...interface{})
	Mutate(ctx context.Context, review *v1beta1.AdmissionRequest) ([]PatchOperation, error)
	Resource() string
}

to this:
type Decoder interface {
	Decode(rawObject runtime.RawExtension) (metav1.ObjectMetaAccessor, error)
}

type Logger interface {
	Log(keyVals ...interface{})
}

type WebhookHandler interface {
	generic.Decoder
	generic.Logger
}

type WebhookCreateHandler interface {
	WebhookHandler
	OnCreateValidate(ctx context.Context, object interface{}) error
}

type WebhookUpdateHandler interface {
	WebhookHandler
	OnUpdateValidate(ctx context.Context, oldObject interface{}, object interface{}) error
}

type WebhookHandler interface {
	generic.Decoder
	generic.Logger
	Resource() string
}

type WebhookCreateHandler interface {
	WebhookHandler
	OnCreateMutate(ctx context.Context, object interface{}) ([]PatchOperation, error)
}

type WebhookUpdateHandler interface {
	WebhookHandler
	OnUpdateMutate(ctx context.Context, oldObject interface{}, object interface{}) ([]PatchOperation, error)
}

You can find these new interfaces here:

logger and decoder https://github.com/giantswarm/azure-admission-controller/blob/fdbd8893d34daf324915b5ad3b6a91337cf5c9f4/pkg/generic/types.go
mutation webhook handler https://github.com/giantswarm/azure-admission-controller/blob/fdbd8893d34daf324915b5ad3b6a91337cf5c9f4/pkg/mutator/webhook_handler.go
validation webhook handler https://github.com/giantswarm/azure-admission-controller/blob/fdbd8893d34daf324915b5ad3b6a91337cf5c9f4/pkg/validator/webhook_handler.go

Every CR type has one struct that is implementing both validator and mutator interfaces for both create and update operations (only those that are required), so that there is less repeating code around new types.
All of this was done to facilitate the changes in the validator/mutator HTTP handlers, which you will see in the next two sections.
2.2. Validators & mutators implementation
For every CR type, we used to have 2 validator implementations, one for create and one for update, and 2 mutator implementation, one for create and one for update. All of these implementation were almost identical, with same fields in structures. For every type, these 4 different structs has been merged into a single one.
For example, instead of having:

cluster.CreateMutator with Mutate(...) func
cluster.UpdateMutator with Mutate(...) func
cluster.CreateValidator with Validate(...) func
cluster.UpdateValidator with Validate(...) func

Now there is a single cluster.WebhookHandler type with these 4 functions:

OnCreateMutate(...)
OnUpdateMutate(...)
OnCreateValidate(...)
OnUpdateValidate(...)

These 4 functions are coming from 4 different interfaces, so sometype.WebhookHandler can only implement those that are needed, which preserves the flexibility.
2.3. CR deserialization/decoding
Every validator and mutator implementation has a code like this:
azureClusterCR := &capzv1alpha3.AzureCluster{}
if _, _, err := validator.Deserializer.Decode(rawObject.Raw, nil, azureClusterCR); err != nil {
	return nil, microerror.Maskf(errors.ParsingFailedError, "unable to parse AzureCluster CR: %v", err)
}

This has been now moved to a separate function that implements Decoder interface:
func (h *WebhookHandler) Decode(rawObject runtime.RawExtension) (metav1.ObjectMetaAccessor, error) {
	azureClusterCR := &capz.AzureCluster{}
	if _, _, err := validator.Deserializer.Decode(rawObject.Raw, nil, azureClusterCR); err != nil {
		return nil, microerror.Maskf(errors.ParsingFailedError, "unable to parse AzureCluster CR: %v", err)
	}

	return azureClusterCR, nil
}

With this change CR decoding is called in a validation/mutation HTTP handler. More about "why" in the next section.
2.4. CR filtering
As state previously, validator/mutator HTTP handler is calling CR decoding. This enables the HTTP handler to do CR filtering in one place, instead of every validator/mutator checking the CR on its own - the HTTP handler is checking if the CR should be processed (validated or mutated) at all, here's a snippet:
object, err := webhookCreateHandler.Decode(review.Request.Object)
if err != nil {
    return microerror.Mask(err)
}

ok, err := filter.IsCRProcessed(ctx, h.ctrlClient, object.GetObjectMeta())
if err != nil {
    return microerror.Mask(err)
}

if ok {
    err = webhookCreateHandler.OnCreateValidate(ctx, object)
    if err != nil {
        return microerror.Mask(err)
    }
}

This way the HTTP handler is directly taking care of the CR decoding and filtering, and the individual validator/mutator implementation are called only when the CR should be processed, and they get already decoded CRs, so they only need to assert them to specific types, similarly to what we do in operators based on operatorkit.
func (a *Validator) OnCreateValidate(ctx context.Context, object interface{}) error {
	clusterCR, err := key.ToClusterPtr(object)
	if err != nil {
		return microerror.Mask(err)
	}
// ...

Filtering implementation can be found here https://github.com/giantswarm/azure-admission-controller/blob/fdbd8893d34daf324915b5ad3b6a91337cf5c9f4/pkg/filter/filter.go.
2.5. Mutating dry run
Mutating dry run check has been moved from individual mutator implementations one level up to the common mutator handler, as the behavior is the same for all types.
2.6. Moving functions around
Some functions has been moved to different packages, e.g. some functions for ensuring labels have been moved from pkg/generic to pkg/mutator, as I got into a situation to have some circular dependencies and those functions are specific to and used in mutators anyway.
2.7. Minor test improvements
The tests logic is not modified, all tests should be identical as they were. One minor change that has been made is how the test WebhookHandler (previously Mutator and Validator) objects have been constructed before calling tested function.
We used to have something like this in many places:
validator := &UpdateValidator{
    logger: newLogger,
    ctrlClient: fakeCtrlClient,
    // someField which is not set
    // someOtherField which is not set
}

So we would construct the minimum object that we can so we can test validator.Validate(...) function without panics. This assumes knowledge about internal implementation details and relying on the fact that some of the fields are not used in the function that is being tested.
This seems little wrong and fragile, as the unit test should not care about internal implementation details and it should test the function like a black box, by providing needed input and checking its output. For this we need a fully constructed object on which we will call the function that we want to test.
These cases have been changed to look like more like this (what we already do in many places as well):
handler, err := NewWebhookHandler(WebhookHandlerConfig{
    BaseDomain: "k8s.test.westeurope.azure.gigantic.io",
    CtrlClient: ctrlClient,
    Logger:     newLogger,
})
if err != nil {
    t.Fatal(err)
}

// Run admission request to validate Cluster updates.
err = handler.OnCreateValidate(ctx, &tc.cluster)

So basically constructing the object with provided public API (NewWebhookHandler here) and calling the function we want to test.

I'll test it more, especially "live" on test installations, but it's ready for review @giantswarm/team-celestial.

I only skimmed through this due to size. It could help to distinct individual pattern-like changes into separate PRs so that it's easy to quickly read through each of them as only one thing changes at a time.

Yeah, it would be a lot easier to review this if it was split into multiple PRs. The hard part of it is that most of the changes are breaking, so it's hard to have a PR with only one set of individual pattern-like changes like you suggest, e.g. changing former validators and mutators to webhool handlers breaks main.go and even tests for that validator and mutator.
In any case the splitting would be very good, I'll see what I can do. Splitting per CRD could be easier maybe *that's how I implemented it, CRD by CRD).

Maybe like:
* One PR to change `capiv1alpha3` -> `capi` & `capzv1alpha3` -> `capz`.

* One PR for introducing new webhook type (without usage).

* Distinct PRs to introduce new webhook functions for existing handlers, one function per PR.

  * e.g. `Decode()` for all handlers.

* One PR to refactor unit tests if there's a need?

  * The tests that work at handler top level shouldn't need much changing.

* One PR to refactor usage of old interfaces to new one.

* Last PR to drop any left over old code?

These suggestions could be possible probably, although there could be a lot of double/copied if we want multiple PRs where every one works on its own.


Can't write text on sign

Hello. I have a region setup to allow the placement of signs but the players can't actually leave text on the sign. Is this a bug or did I miss something? Thanks in advance.

Sounds like some other plugin interfering. Did you try removing all other plugigns?

You were absolutely correct. After testing all the plugins I discovered it was CMI doing this. I've opened a ticket here: https://github.com/Zrips/CMI/issues/4223
Cheers!


Inline fetchplan has no effect on binary protocol

Sending a query like SELECT * FROM OUser FETCHPLAN *:2, the fetchplan has no effect. digging a little deeper, I see this:

fetch-plan used only for select queries, otherwise empty

Since I'm sending the fetchplan in the query, rather than separately, I'm sending null (or an empty string "") here, guessing that Orient is seeing that value and overriding the fetchplan in the query. This is nasty because it means that a query executed in the console or studio doesn't work in Oriento.

select from (SELECT EXPAND( $c ) LET $a = ( SELECT expand( out('eat')  ) from #13:0 ), $b = ( select expand( out('Follow').out('eat')  ) from #13:1 ), $c = UNIONALL( $a, $b )) fetchPlan in_eat:2

This query isn't working (in binary protocol) either. I want to get all the restaurant where #13:1 and people #13:1 'follows' eat. It works but i also want the names of the people as well so using fetchplan. It works in studio but not working in binary protocol.

How is the status?

hi, i was not able to reproduce this.
if you can provide a test case, will be much easier to get it fixed :)

@tglman in oriento this should do it:
db.query("SELECT FROM OUser FETCHPLAN roles:1").then(console.log);

Hi,
We refactored the query engine in 3.0 deprecating the fetch plan and providing a new way to do this query, fully supported by the binary protocol, closing this.
Regards


AniDB not scraping anything

What TMM version are you using?
tmm_2.9.16_42413ce_win
release, pre-release, nightly, or directly from GitHub/branch?
release
What is the actual behaviour?
I try to scrape any anime with aniDB but tmm will not find the series. Other scrapers work but anidb doesn't do anything.
What is the expected behaviour?
That the anime is found using the aniDB scraper.
Steps to reproduce:
Start tmm with gui
Go to TV shows
Try to scrape any anime series with the aniDB scraper
Additional
Windows 10
I added the tmm.log
tmm.log

Yes, it seems, they finally switched/corrected their webserver to deliver GZipped content.
We might get this into next v2... already fixed that in v3...

already fixed that in v3...

I tried using the nightly build last night (3.0 SNAPSHOT) and got a IP ban at anidb. I just started up TMM, went trough the initial setup telling tmm which folder contains what. Then I let initialize all the files which took a little while. After tmm finished initializing i tried to scrape one anime...which did not work. When looking at the log I only saw a connection timed out while getting GZ file. I tried to access the anidb.net site and got the same connection timed out error. Seemed i gotten a IP ban because tmm tried to download the titel dump multiple times which is not allowed....
I posted on the anidb forum why i had gotten a IP ban and got the following reply from a mod:

you were banned because the software you used did download the title dump more than once per day. in face it went over the limit way further than that
as specified in https://wiki.anidb.net/w/API#Data_Dumps "YOU DO NOT REQUEST THIS FILE MORE THAN ONCE PER DAY"
automatic
the title dump is only updated once per day. there is no reason to download more than that. the software should cache it and at most download again after 24h. violations against this will lead to bans as you have seen.

Source: https://anidb.net/perl-bin/animedb.pl?show=cmt&id=89531

Yes... AniDB is VERY strict - even accessing a second time results already in a ban :/
It is cached for 24h on our side...
But starting TMM v2 and later v3 are 2 different TMM instances.... so this might explain that...

Ah, I figured that could be the issue. I'll give it a day or 2 and try again with just the v3 version

Ah, I figured that could be the issue. I'll give it a day or 2 and try again with just the v3 version


Implement RFC #0024

RFC #0024: https://github.com/paketo-buildpacks/rfcs/blob/main/text/0024-utility-buildpacks-team.md
RFC #0024 has been accepted. This is a issue placeholder for the creation of a new Utility team.

This has been done for a while now.

Then I will move it into the implemented section!


added tahribat.txt

@HolyOne This domain does not belong to a university, nor to a college. I have to close the request without merging. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.


🐛 suggest modal is active and prevents other suggest modals from triggering, conflicts with other plugins

Input data (markdown source)
I am trying ot use another plugin and this plugin is interfering
Expected Behavior
Please seehere for a full description of the problem. Basically other plugins are being prevented from working due to the behavior of this plugin. Sorry that I cannot give a full explanation, but am not sufficiently aware of the source of the issue to understand why this is happening, but the link provides a better explanation and why it originates in this plugin.
Current behaviour
Please seehere for a full description of the problem.
Steps to reproduce
Please seehere for a full description of the problem.
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
Version 1.6.7 (Installer 1.6.5)
Tasks Plugin Version
?? 2.0.7
Checks

[X] I have tried it in the sandbox vault with only this plugin enabled

Possible solution
do you mean the version of this plugin or of the tasks plugin?

I'm tempted to disable this function entirely until I can understand it better.. will have a look


Support breaking up large super spans

When freeing large allocations >64KiB, the super span should be broken up into 64KiB spans and stored in cache.
The first span should have a master flag and an atomic counter of number of still used sibling spans.
The sibling should have a sibling flag and an offset in number of spans to master. When a sibling is unmapped, the counter is decremented.
When count reach 0 (all spans are "unmapped"), the entire memory range can be unmapped.

Implemented in #50


feat: add SASL mechanisms to the schema

Split into separate commits to make it easier to review the addition I've
made to the schema.
The first commit is just a copy of the 2.0.0.json file
The second commit is the changes for SASL security schemes
The third commit updates the schema version
Contributes to: asyncapi/spec#466
Signed-off-by: Dale Lane<EMAIL_ADDRESS>

@dalelane can you please remove the changes done to package files. We have automated releases and version bumps here. feat: means that after merge it will be automatically released with new minor version and bot will make a commit that updates version in package.json

@dalelane We have automated releases and version bumps here. feat: means that after merge it will be automatically released with new minor version and bot will make a commit that updates version in package.json

That's really cool! Not seen that done before


Bug: running amd64 kubectl on runners returns 'cannot execute binary file: Exec format error'

What happened?
Additionally when leveraging the action
'azure/setup-kubectl@v3'
Error: Error: Kubectl 'v1.28.3' for 'amd64' arch not found.
Version

[X] I am using the latest version

Runner
ubuntu-latest
Relevant log output
  with:
    version: latest
  env:
    VERSION:
    CUSTOMER: thunderdome
    TENANT: test
    COMPONENT_OVERRIDES: ""
    EXCLUSIVE_COMPONENTS: stopevents-gql-api,stopevents-3pi-in-tripevents-to-notifications-con,stopevents-3pi-in-tripevents-to-stopevents-con,stopevents-3pi-out-trackrequests-from-stopevents-con,stopevents-3pi-out-tripevents-from-stopevents-con,stopevents-load-route-vendors-v1-con,stopevents-load-routes-stops-v1-con,stopevents-load-routes-stops-v[2](https://github.com/masterysystems/mastermind-release/actions/runs/6565412886/job/17833883230#step:3:2)-con,stopevents-aggregation-con,stopevents-current-stop-aggregation-con,stopevents-stopex-events-subscription-api-con,stopevents-current-and-next-stop-consumer,stopevents-from-driver-assignments,stopevents-load-routes-v2-con,stopevents-trailer-exception
    ROBOTSLACK_NOTIFICATIONS: Success&Failures
    FIX_OPERATION_IN_PROGRESS:
    FIX_CANNOT_PATCH:
    KONDUCTOR_HOME: .
    KUBECONFIG: /home/runner/work/_temp/kubeconfig_16464116[3](https://github.com/masterysystems/mastermind-release/actions/runs/6565412886/job/17833883230#step:3:3)7[4](https://github.com/masterysystems/mastermind-release/actions/runs/6565412886/job/17833883230#step:3:4)[6](https://github.com/masterysystems/mastermind-release/actions/runs/6565412886/job/17833883230#step:3:6)3
    E2EFLAG:
    RUN_TESTS:
Error: Error: Kubectl 'v1.2[8](https://github.com/masterysystems/mastermind-release/actions/runs/6565412886/job/17833883230#step:3:8).3' for 'amd64' arch not found.```

When trying the workout

name: test-kubectl
run-name: test-kubectl
on:
  workflow_dispatch:

jobs:
  test-kubectl:
    name: test-kubectl
    runs-on: ubuntu-latest
    steps:
      - run: |
          lscpu
          curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.28.2/bin/darwin/amd64/kubectl
          sudo mv ./kubectl /usr/local/bin/kubectl
          sudo chmod +x /usr/local/bin/kubectl
          which kubectl
          kubectl

error

Run lscpu
  lscpu
  curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.[2](https://github.com/masterysystems/mastermind-release/actions/runs/6565473319/job/17834071172#step:2:2)8.2/bin/darwin/amd64/kubectl
  sudo mv ./kubectl /usr/local/bin/kubectl
  sudo chmod +x /usr/local/bin/kubectl
  which kubectl
  kubectl
  shell: /usr/bin/bash -e {0}
Architecture:                       x86_64
CPU op-mode(s):                     [3](https://github.com/masterysystems/mastermind-release/actions/runs/6565473319/job/17834071172#step:2:3)2-bit, 6[4](https://github.com/masterysystems/mastermind-release/actions/runs/6565473319/job/17834071172#step:2:4)-bit
Address sizes:                      46 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             2
On-line CPU(s) list:                0,1
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
CPU family:                         6
Model:                              8[5](https://github.com/masterysystems/mastermind-release/actions/runs/6565473319/job/17834071172#step:2:5)
Thread(s) per core:                 1
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           7
BogoMIPS:                           5187.81
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse3[6](https://github.com/masterysystems/mastermind-release/actions/runs/6565473319/job/17834071172#step:2:6) clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           2 MiB (2 instances)
L3 cache:                           35.8 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0,1
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                 Mitigation; PTE Inversion
Vulnerability Mds:                  Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:             Mitigation; PTI
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Vulnerable
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Vulnerable
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Mitigation; Clear CPU buffers; SMT Host state unknown
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 54 53.3M   54 29.2M    0     0  50.5M      0  0:00:01 --:--:--  0:00:01 50.5M
100 53.3M  100 53.3M    0     0  62.8M      0 --:--:-- --:--:-- --:--:-- 62.8M
/usr/local/bin/kubectl
/home/runner/work/_temp/3a940518-e3ea-45f0-b105-23260ec3c[7](https://github.com/masterysystems/mastermind-release/actions/runs/6565473319/job/17834071172#step:2:7)20.sh: line 6: /usr/local/bin/kubectl: cannot execute binary file: Exec format error
Error: Process completed with exit code [12](https://github.com/masterysystems/mastermind-release/actions/runs/6565473319/job/17834071172#step:2:13)6.

Hello @nathanjulsrud, I am facing the same error since this morning in my pipelines. Restart helps sometimes. Can the issue be reopened?


Docker Gitea latest not starting up (Downgrading Database Error)

After an update to gitea latest, gitea does not start anymore. apparently the version number does not fit anymore!?
Database is MariaDB.
gitea       | 2020/11/09 07:10:42 cmd/web.go:115:runWeb() [I] Starting Gitea on PID: 14
gitea       | 2020/11/09 07:10:42 ...dules/setting/git.go:94:newGit() [I] Git Version: 2.26.2, Wire Protocol Version 2 Enabled
gitea       | 2020/11/09 07:10:42 cmd/web.go:160:runWeb() [I] Global init
gitea       | 2020/11/09 07:10:42 ...dules/setting/git.go:94:newGit() [I] Git Version: 2.26.2, Wire Protocol Version 2 Enabled
gitea       | 2020/11/09 07:10:42 routers/init.go:164:GlobalInit() [T] AppPath: /app/gitea/gitea
gitea       | 2020/11/09 07:10:42 routers/init.go:165:GlobalInit() [T] AppWorkPath: /app/gitea
gitea       | 2020/11/09 07:10:42 routers/init.go:166:GlobalInit() [T] Custom path: /data/gitea
gitea       | 2020/11/09 07:10:42 routers/init.go:167:GlobalInit() [T] Log path: /data/gitea/log
gitea       | Downgrading database version from '159' to '158' is not supported and may result in loss of data integrity.
gitea       | If you really know what you're doing, execute `UPDATE version SET version=158 WHERE id=1;`
gitea-db    | 2020-11-09  6:10:42 9 [Warning] Aborted connection 9 to db: 'gitea' user: 'gitea' host: '<IP_ADDRESS>' (Got an error reading communication packets)
gitea       | Received signal 15; terminating.
gitea exited with code 0

This is resolved with https://github.com/go-gitea/gitea/pull/13448, please wait for it to bulid and publish docker image before updating. In future please use the issue template for reporting as otherwise it adds overhead for issue triaging.

Thank you!


NETOBSERV-1240: prefer flows with DNS records when checking for DNS [backport]

backport fix for #174
Signed-off-by: msherif1234<EMAIL_ADDRESS>(cherry picked from commit cca4aa32f9c3b40d00a1c1225f25ed1ffeea628c)

/approve


[Media] Search over media collections dont work

was fixed when data-navigation was implemented in media bundle


[hi] Localize aggregation-layer.md

Signed-off-by: Bishal Das<EMAIL_ADDRESS>Localizes content/en/docs/reference/glossary/aggregation-layer.md to Hindi content/hi/docs/reference/glossary/aggregation-layer.md
Fixes :- #35937

/assign @anubha-v-ardhan
__
  Summary: :hammer_and_wrench: This code needs a fix

@anubha-v-ardhan @mittalyashu
Could you please leave some suggestions in this PR.
It would be very helpful
__
__
  Summary: :hammer_and_wrench: This code needs a fix

/assign


dirty check should be one fixed-point per rAF

 Issue by jmesserly
Originally opened as dart-lang/sdk#19136

Observable.dirtyCheck is triggering after every async operation. This can get very expensive. Better would be to batch them so we limit to 1 per rAF
discussion here:
https://github.com/Polymer/platform-dev/issues/7

 Comment by sigmundch

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

 Comment by sigmundch

Added PolymerMilestone-Next label.

 Comment by sigmundch

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

 Comment by sigmundch

Added this to the 1.6 milestone.
Removed Priority-Unassigned label.
Added Priority-Medium label.

 Comment by jmesserly

moved

 Comment by sigmundch

Removed Polymer-Milestone-Next label.


Show New message indicator when user is scrolled up and after using the unread message badge

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

Action Performed:

Navigate to a conversation as User A
Scroll up the conversation
As user B (from another device) send some messages to user A
Badge for unread messages should appear
Click on the unread message badge

Expected Result:
There should be a new messages line indicator after using the unread message badge
Actual Result:
There's no indication on which messages are new.
Workaround:
No need, visual issue.
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.0.92-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/44479856/131887445-c56f5f24-42cd-4ca9-a909-363510cb4d8a.mp4
Expensify/Expensify Issue URL:
View all open jobs on GitHub

From @Santhosh-Sellavel

While the user is scrolling through old messages on new messages received,New messages  badge will be shown. On tapping the badge will scroll to new messages at the bottom and should show the unread indicator NEWmarker above new messages. Currently, it's not shown.

Triggered auto assignment to @alex-mechler (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Looks like a good one to go external! Thanks for the video @Santhosh-Sellavel!

Triggered auto assignment to @mallenexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Proposal
Move the following lines to a new method updateUnreadIndicatorPosition & bind it in the constructor.
https://github.com/Expensify/App/blob/a919ee8008071fb1f3964417047fc82a59d4fc74/src/pages/home/report/ReportActionsView.js#L133-L140
The method will look like this with a param unreadActionCount slightly refactored to address this issue & existing workflow

Invoke method from the Line, because we moved it to a new function and it was intended to happen there
https://github.com/Expensify/App/blob/a919ee8008071fb1f3964417047fc82a59d4fc74/src/pages/home/report/ReportActionsView.js#L133
Like this
this.updateUnreadIndicatorPosition(this.props.report.unreadActionCount)

Finally, to show NEW marker  on scroll back, we should invoke the updateUnreadIndicatorPosition method from below block,
https://github.com/Expensify/App/blob/a919ee8008071fb1f3964417047fc82a59d4fc74/src/pages/home/report/ReportActionsView.js#L395-L401
Like this before updating the localUnreadActionCount
updateLocalUnreadActionCount(shouldResetLocalCount = false) {
        this.setState((prevState) => {
            const localUnreadActionCount = shouldResetLocalCount
                ? this.props.report.unreadActionCount
                : prevState.localUnreadActionCount + this.props.report.unreadActionCount;
            this.updateUnreadIndicatorPosition(localUnreadActionCount);
            return {
                localUnreadActionCount,
            };
        });
}

This would solve the issue, thanks!

Triggered auto assignment to @puneetlath (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Upwork job posted https://www.upwork.com/jobs/~0118968e3cb1d7b3c5
@puneetlath can you review @Santhosh-Sellavel 's proposal above?
@Santhosh-Sellavel it might not be til Tuesday til this happens because of the weekend and Monday is a holiday.
Whomever ends up working on this, I've seen this issue addressed a few times, in a few different ways and/or on different platforms.   If possible, it'd be great to try to fix it, so that the unread indicator shows consistently, across platforms, when it should. I'm wanting to avoid us investing resources to fix multiple, similar versions of the problem.

@puneetlath should be able to get to this tomorrow or Wed

Sorry, just to clarify, how is this issue different than https://github.com/Expensify/App/issues/4723?

Ok got it! So if I'm understanding correctly, this issue is a duplicate and should be closed. Please reopen if I've misunderstood.

@puneetlath Reopen this issue is not solved yet

@mallenexpensify Could you help me a bit here, thanks!

@mallenexpensify or @puneetlath  this is not solved yet reopen.

We're in a bit of a loop here, @Santhosh-Sellavel can you confirm

https://github.com/Expensify/App/issues/4723 is 'a mess' with all the auto posting and closing and that that issue never got fully, properly fixed and closed?
This 'clean' issue will replace #4723, you'll submit a PR for this when we should be all good and #4723 can stay closed?

#4723 never got an Upwork job created so I can create one for here once we get ducks in a row...

We're in a bit of a loop here, @Santhosh-Sellavel can you confirm

https://github.com/Expensify/App/issues/4723 is 'a mess' with all the auto posting and closing and that that issue never got fully, properly fixed and closed?

Yes, it's a complete mess. It's not fixed yet.

This 'clean' issue will replace #4723, you'll submit a PR for this when we should be all good and #4723 can stay closed?

Yes this issue is a replacement for #4723.

#4723 never got an Upwork job created so I can create one for here once we get ducks in a row...

Yes, no upwork job was created.

cc: @mallenexpensify @puneetlath
Are we good here to review the proposal?

@puneetlath from what I can tell, we should proceed with this, can you review please and let me know if you recommend hiring @Santhosh-Sellavel ?

@puneetlath can you review when you have time please?

Sorry for the delay. Let's go ahead and hire @Santhosh-Sellavel and go forward with his proposal. Thanks!

@Santhosh-Sellavel , can you apply at https://www.upwork.com/jobs/~0118968e3cb1d7b3c5
then add a comment here so I can hire you? Thanks

@Santhosh-Sellavel can you apply at https://www.upwork.com/jobs/~0118968e3cb1d7b3c5 so I can hire you? thx

cc: @mallenexpensify  Sorry for the delay, applied for the job. Assign this issue to me, I'll submit PR after n6-hold is removed. Thanks!

Hired and assigned @Santhosh-Sellavel! Feel free to submit the PR even with the n6-hold label, the Contributor Manager Engineer (CME) will might put it on hold but we anticipate the N6 hold being removed very soon.

@mallenexpensify Can we close this?


[Bug]: High CPU occupancy of AMS

What happened?
After start AMS, Trash worker thread occupies 100% CPU.

Affects Versions
master/0.4.1
What engines are you seeing the problem on?
AMS
How to reproduce

Set conf/config.yaml, remove arctic.ams.trash.clean.thread.pool-size, or set it to 0
restart AMS

Relevant log output
No response
Anything else
It happens every time.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

It is a bug of jdk 8, we can get more details here .
I believe the simplest solution is to avoid setting corePoolSize to 0 when using ScheduledThreadPoolExecutor.
That means if we set thread pool size to 0 in the AMS config file, we should not create a ScheduledThreadPoolExecutor.

The same problem can be reproduced in version 0.5.0.

@wangtaohz Thanks a lot for reporting this issue.
AFAIK, there is no longer a trash cleaning function and related parameter "trash.clean.thread.pool-size" since version 0.5.0. The default concurrency of other executor-related functions is greater than 0.
But we still need to discuss how to handle the situation when the concurrency of other executors is set to 0 or a smaller value, for example:

Setting it to a negative number is obviously an incorrect configuration, so we should throw an error during parameter checking, prompting the user to modify the parameter and restart.
If it is set to 0, does it mean that the user does not need this background thread to perform the corresponding work? Is this allowed by our system, such as closing the commit executor will cause the core function of AMS self-optimization to not work properly? Should we require that the concurrency configuration of all executors be greater than 0 to avoid this problem?
If we allow some functions to not initialize these background threads, should we open a separate configuration for declaration instead of directly setting the concurrency to 0?

1.Setting it to a negative number is obviously an incorrect configuration, so we should throw an error during parameter checking, prompting the user to modify the parameter and restart.

I agree with this, do you think I should add a configuration check mechanism for fixing this issue?
For 2, I think a mechanism should be provided to avoid starting the background thread pool because some features may be irrelevant to the user, such as Hive sync. The risk of disabling a useful thread pool (such as commit thread pool) would be worth it, because users should be aware of the purpose of thread pools when they disable them.

3.If we allow some functions to not initialize these background threads, should we open a separate configuration for declaration instead of directly setting the concurrency to 0?

For 3, I prefer to directly setting the concurrency to 0, because this is clear and intuitive. On the contrary, if there are two configurations, xxx.enabled and xxx.thread-pool.size, and the user sets xxx.enable=false and xxx.thread-pool.size=10, it is ambiguous whether thread resources are closed or not.


xarcan: bump and add update script

Description of changes

Added update script to all modified packages
arcan: updated to 0.6.3
xarcan: updated to 0.6.3
durden: update to 0.6.1

Pipeworld is already at the latest commit

Things done

Built on platform(s)

[x] 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.05 Release Notes (or backporting 23.05 and 23.11 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.

I suggest you do not mix upgrade of a package and adding an update script. It is better to just add the update script and then, see if the update script is going to properly upgrade the package.

I suggest you do not mix upgrade of a package and adding an update script. It is better to just add the update script and then, see if the update script is going to properly upgrade the package.

I did add the update script, staged it, ran it, realized that the hash didn't update because the rev was hardcoded, reset back to the staged step, changed the rev,  ran the update script again and the hash did change.
This for all three packages.

realized that the hash didn't update because the rev was hardcoded

This is a bug or a feature?

realized that the hash didn't update because the rev was hardcoded

This is a bug or a feature?

This was an intermediary state. Now it's solved. I think the only blocker for this right now is that patch.

Given https://github.com/NixOS/nixpkgs/pull/310831, please work only with Xarcan (since it is not Fossilized yet)
I will try to reach out the Arcan devs to ask about Xarcan patch.

Given Arcan updates #310831, please work only with Xarcan (since it is not Fossilized yet)
I will try to reach out the Arcan devs to ask about Xarcan patch.

Upstream fixed the seat thing in Xarcan but there is no release after that yet. I am not sure if I should close this or just update to the unstable version.

Upstream fixed the seat thing in Xarcan but there is no release after that yet. I am not sure if I should close this or just update to the unstable version.

Feel free to update to master tip.

Reword the commit title to xarcan: <old> -> <new>
In the body you can describe the extra modifications.

Done

@ofborg build xarcan xarcan.passthru.tests

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

1 package failed to build:

xarcan

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

1 package built:

xarcan


fix: language switcher in guides jumps around

Ticket
The page jumps around because when a tab is changed, all other instances update to be on the same selection without a reload. For the fix, only the current tab will be updated, and when the user refreshes the page or visits it again, all tabs will be on the same selection
cc @arjunattam @Nixon-Samuel

Ticket
The page jumps around because when a tab is changed, all other instances update to be on the same selection without a reload. For the fix, only the current tab will be updated, and when the user refreshes the page or visits it again, all tabs will be on the same selection. What should the behaviour be ideally?
cc @arjunattam @Nixon-Samuel

@KaustubhKumar05 The expected behavior of tabs in quickstart guide:

The experience of user switching these tabs should be specific to the current code block only (not across)
Default tab : JS


Bot Authentication error

While running the Bot Authentication I am getting following error
In env file I have given all the details , still I am getting the error.
BotFrameworkAdapter.processActivity(): 401 ERROR - Error: Unauthorized Access. Request is not authorized
(node:16916) UnhandledPromiseRejectionWarning: Error: Error: Unauthorized Access. Request is not authorized
    at BotFrameworkAdapter.processActivity (D:\POC\chatbot\18.bot-authentication\node_modules\botbuilder\lib\botFrameworkAdapter.js:511:19)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:16916) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

What channel are you using? Is this a deployed bot or running locally and/or using the emulator to test?

@KoushikGoramane Just checking in. Do you still need assistance with this?

hi @KoushikGoramane Any updates? Were you able to try clear state?

I tried to this approach also , still the auth is not working in the latest version.

Awesome! Sorry I didn't think to point that out earlier. Had to be some strange caching going on. Glad it's working for you!


Refactored dictionary_encoded_array

Fixes #193

the new "implementation" of dictionary_encoded_array's iterator is not optimal: it could store an iterator on the keys array instead of accessing it through an index. This requires refactoring the functor_index_iterator to avoid code duplication (this iterator works the same sohuld it store an index or a subiterator), that I prefer to do in a dedicated PR to avoid "noise" in this PR.
iterators on the bitmap and the values can be added back later:

this won't affect the current impementation of the element iterator (this one won't become a layout_iterator based on bitmap_iterator and value_iterator as it will complexify the code and degrade performance by introducing many visit in the access operator)
this requires to design a variant-like class that can hold references, unlike std::variant

the array needs to be added the array_factory

Yep but that requires a change in the return_type of the data_type method of array_wrapper. I wanted to avoid conflicts with your incoming PR about run_encoded_layout and do it later. I can wait for your PR to be merge, rebase and add it though.

The last commit is just the rebase, I still need to plug the dictionary_encoded_array into the dispatch and array_factory.


Modified to suit SAS environment

Thanks for the contribution @krishmoodbidri, we are happy to see that you are working with OnDemand. I am going to close this request without a merge because this would change an OSC-specific implementation of Matlab into a UAB-specific implementation of SAS.
Providing a site-generic example like bc_example_jupyter implementation of SAS would be great. If you are interested in producing one we could fork it to host it within the OSC namespace? Or you could advertise the work on the OnDemand Discourse.


[AuraSafe][Multisig Tx] Not display data records in QUEUE tab after switching safe addresses

Description
Not display data records in QUEUE tab after switching safe addresses
Environment

Browser: Chrome
Wallet: Keplr
Safe: AURA
Environment: Serenity

testnet

Precondition:

Connected Keplr wallet 1 - has safe address 1
Added safe address 1: Has transactions in QUEUE tab
Added safe address 2

Steps to reproduce

Connected keplr wallet
Select safe address 1
Select safe address 2
Select safe address 1
Choose Transactions -> QUEUE: Check Transactions in QUEUE tab

Expected result
Display data records in QUEUE tab of safe address 1
Obtained result
Not display data records in QUEUE tab of safe address 1
=>Reload page, display data records
Screenshots

Verified PASS on serenity (01-Aug-2022)


1.20.4 Support?

Can you add 1.20.4 Support?

I'm already on it, but I only recommend updating once the stable builds are out.

Pushed an updated release, please proceed with caution until PaperMC is stable: https://github.com/oddlama/vane/releases/tag/v1.14.0


Cannot index ClassTypeVar's with variable as index

Example:
--!strict
local inst = Instance.new("Part")
local prop = "Name"
inst[prop] = "Test" -- Error: Expected type table, got 'Part' instead

Not sure if this classifies as a duplicate of #533

This one is expected, the thing that's actually unfortunate is the fact we allow this on tables.
Turning that into a type error is also on my to do list, but we need to replace it with another option that's safer, and more sound. I'm currently thinking that we need something like keyof T which would generate a union of all key types from T.

This being expected seems somewhat disappointing IMO - there are logically valid programs which throw false positives here.
One use case I can think of is programmatically updating a batch of properties on a single instance CTV.
I also model Enum's using CTVs, which causes an issue in code such as Enum.HumanoidRigType[getRigType()], but it seems this doesn't error in Studio as it uses a TTV, so that is an improvement I could make on my end (but making this a type error would break this).
Definitely agree modelling it more soundly with something like keyof T would be awesome though. But I imagine it will never be possible to be completely sound here, in particular if the only type known/inferred for prop is just a general string (or number for arrays)

The problem is that you can not model inst[prop] type unless prop is of a string literal type, and that's not terribly useful. If prop is a string, the type you can infer for inst[prop] is either any or a very large union of all possible property types...

The number for arrays makes sense but that's unsound only because indexers are inherently unsound.
We can infer prop in inst[prop] literally as keyof Part because keyof Part is stronger than string, so string & (keyof Part) results in keyof Part. Basically, the change would just be the inference rule for t[k] from just typeof(k) <: string into typeof(k) <: (keyof typeof(t)), and we don't necessarily need to solve for all the keys of t yet in deferred constraint resolution.
As for the result type of inst[prop], yeah the only valid result here is a union of all properties within Part, but then we also need its children. And that's not even talking about metatables with __index.

We can infer prop in inst[prop] literally as keyof Part

Are there examples where this would be meaningfully richer? It's definitely more precise than not being able to infer anything, but I wonder if it's truly useful, especially in absence of a value type...

So, I have a few use cases:

Allowing for the automated deserialization of complex assets. In a framework I created as a more OOP focused version of Elttob's Fusion framework, I need to be able to pass on configured property states to the eventual instance. Here's some example code of what that currently looks like:
local listPadding = fuse.new "UIListLayout" {  	Padding = fuse.Computed(Padding, function(padding)  		if padding then  			return UDim.new(0, padding.Offset*2)  		end  	end):Else(UDim.new(0,0)),  	SortOrder = _PseudoEnum.SortOrder.LayoutOrder,  	FillDirection = _PseudoEnum.FillDirection.Horizontal,  	HorizontalAlignment = _PseudoEnum.HorizontalAlignment.Center,  	VerticalAlignment = _PseudoEnum.VerticalAlignment.Top,  	Parent = header,  }

I've ran into the same error, and was referred to here to comment my usecase.
Roblox has a Enum.StudioStyleGuideColor EnumItem which is only indexable in-studio. As my code supports being ran both in-studio and in-game, I implement UI through e.g. GetColor("ScrollBarBackground"), where GetColor returns Enum.StudioStyleGuideColor[ItemName] if the context is Studio, or indexing a table of constant values if ran in-game.
A workaround to the error could look as such:
local function GetColor(ItemName): EnumItem
	for _, EnumItem in pairs(Enum.StudioStyleGuideColor:GetEnumItems()) do
		if EnumItem.Name == ItemName then
			return EnumItem
		end
	end
	error(tostring(ItemName) .. "is not a valid member of \"Enum.StudioStyleGuideColor\"")
end

But this implementation is a lot more complex than what would otherwise be a single-line function. Being able to limit the scope of a type from string to e.g. keyof( typeof(Enum.StudioStyleGuideColor) ) would be very helpful.

The new solver has an implementation of keyof and rawkeyof now (see https://github.com/luau-lang/rfcs/pull/16), so in a broad sense, this style of problem should be solved in the new solver, but I'll put something with dynamic access of class fields into our test suite to make sure this gets dealt with if it's not already working. I don't see any reason why we shouldn't be able to do something better here, but indeed, the result types from the indexing may not be very specific, depending on the particular class you're working with.


Add Self-Description endpoint

What this PR changes/adds
Adds an endpoint serving Self-Description.
Why it does that
See https://github.com/agera-edc/MinimumViableDataspace/issues/184.
Linked Issue(s)
https://github.com/agera-edc/MinimumViableDataspace/issues/184
https://github.com/agera-edc/IdentityHub/issues/11
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

All tests are OK locally. Don't know why CICD is failing.

All tests are OK locally. Don't know why CICD is failing.

The test failing in CI is the system test:
VerifiableCredentialsIntegrationTest > push_and_get_verifiable_credentials(CredentialsVerifier, DidResolverRegistry) STANDARD_OUT
    INFO 2022-08-01T12:21:34.955721433 Initialized Jetty Service
    INFO 2022-08-01T12:21:34.958441467 Initialized Jersey Web Service
    INFO 2022-08-01T12:21:34.962473418 Initialized Identity Did Core
    INFO 2022-08-01T12:21:34.963818735 Initialized Identity Hub DID extension
    INFO 2022-08-01T12:21:34.964367442 Initialized org.eclipse.dataspaceconnector.identityhub.verifier.CredentialsVerifierExtension
    SEVERE 2022-08-01T12:21:34.968668996 Error booting runtime
    org.eclipse.dataspaceconnector.spi.EdcException: No setting found for key edc.self.description.path

This one does need a special setup to run locally (see README.
The issue is that the system test is not provided with any self description document. My suggestion is (as in my previous) comment to add the self-description to the classpath and load it from there.

All tests are OK locally. Don't know why CICD is failing.

The test failing in CI is the system test:
VerifiableCredentialsIntegrationTest > push_and_get_verifiable_credentials(CredentialsVerifier, DidResolverRegistry) STANDARD_OUT
    INFO 2022-08-01T12:21:34.955721433 Initialized Jetty Service
    INFO 2022-08-01T12:21:34.958441467 Initialized Jersey Web Service
    INFO 2022-08-01T12:21:34.962473418 Initialized Identity Did Core
    INFO 2022-08-01T12:21:34.963818735 Initialized Identity Hub DID extension
    INFO 2022-08-01T12:21:34.964367442 Initialized org.eclipse.dataspaceconnector.identityhub.verifier.CredentialsVerifierExtension
    SEVERE 2022-08-01T12:21:34.968668996 Error booting runtime
    org.eclipse.dataspaceconnector.spi.EdcException: No setting found for key edc.self.description.path

This one does need a special setup to run locally (see README), otherwise it is skipped.
The issue is that the system test is not provided with any self description document. My suggestion is (as mentioned in my previous comment) to add the self-description to the classpath and load it from there.

Thanks! Should be fixed now.

@bscholtes1A I'll remove myself, since there are already two reviewers on it. If you still want me to take a look, please just re-request.


Remove nestingLevel JS code

We can use DDOC_ANCHOR's argument instead, which is fully qualified.

Let's go on with this.


docs: add icon documentation

Signed-off-by: Javier López Barba<EMAIL_ADDRESS>Add documentation for external resources icons

Which version of the CLI and Okteto requires this?

CLI: 2.13 (There is no beta yet)
Okteto chart: 1.5 (There is no beta yet)

this should be pointing to release-1.5 branch?
this would be a link to a new feature under release notes
cc: @jLopezbarb @rberrelleza

Which version of the CLI and Okteto requires this?

CLI: 2.13 (There is no beta yet) Okteto chart: 1.5 (There is no beta yet)

How will this behave in v1.5 if the CLI release isn't ready/done yet? 🤔
@AdrianPedriza do you know? (pinging your since @jLopezbarb is still on PTO)

Which version of the CLI and Okteto requires this?

CLI: 2.13 (There is no beta yet) Okteto chart: 1.5 (There is no beta yet)

How will this behave in v1.5 if the CLI release isn't ready/done yet? 🤔
@AdrianPedriza do you know? (pinging your since @jLopezbarb is still on PTO)

simply the validation of the icon value will not be performed at the time of deployment.

simply the validation of the icon value will not be performed at the time of deployment so I guess we should take into account that the user could set a value outside the available ones because the validation will not be found in cli versions <2.13.0.

Aha, thx for prompt reply and clarifying! The frontend app degrades gracefully showing the default icon if given icon doesn't match any of the predefined ones. Given the API returns a string type (instead of explicit enums) we're technically adhering to the API contract, so does not sounds like a blocker.
I am more worried about failing deployments or other errors being caused by not having CLI updated. Sounds like this is fine for now and will work out in next release then soon enough, right?
BTW, @AdrianPedriza can you take care of getting this PR done for v1.5 docs for @teresaromero ? 🙏

simply the validation of the icon value will not be performed at the time of deployment so I guess we should take into account that the user could set a value outside the available ones because the validation will not be found in cli versions <2.13.0.

Aha, thx for prompt reply and clarifying! The frontend app degrades gracefully showing the default icon if given icon doesn't match any of the predefined ones. Given the API returns a string type (instead of explicit enums) we're technically adhering to the API contract, so does not sounds like a blocker.
I am more worried about failing deployments or other errors being caused by not having CLI updated. Sounds like this is fine for now and will work out in next release then soon enough, right?
BTW, @AdrianPedriza can you take care of getting this PR done for v1.5 docs for @teresaromero ? 🙏

If I remember correctly the only thing we would not have at this point is a validation of the icon value (it would admit any string), if you cover this case with a default icon... then we are covered. I will create a PR with this changes to release-1.5

Yes @AdrianPedriza @teresaromero this should be merged in the 1.5 branch


Fix issue with DB_URL setting during test and deploy

DB_URL needs to handle msw running on localhost during Github actions. However, adding this into the workflow settings has broken the URL when actually making calls to the DB.

Resolved - now working correctly.


Default theme refactoring

What does the pull request do?
This PR adds the ability to switch between theme modes and also optimizes theme modes switching. Now switching takes like 0.1s on the ControlCatalog with those styles removed

AFAIK they are needed just as s hack because ControlCatalog isn't really compatible with the Default theme.
This PR also adds feature parity between fluent and simple theme
What is the current behavior?
Switching between default theme modes takes 0.3s.
Breaking changes
Lots of resources were moved to other files.

@Takoooooo @grokys should we rename assembly to "Avalonia.Themes.Simple" now with this PR?

@Takoooooo @grokys should we rename assembly to "Avalonia.Themes.Simple" now with this PR?

I suggest doing that in the separate PR since it will bring in lots of changes that will make this PR harder to review


Question about the camera matrix

Thanks for sharing the exciting work : )
I have some question about the camera matrix.
In Zero-1-to-3, the camera matrix‘s dimension is 3 * 4, while in your case, it is 16 (maybe 4 * 4), why?

4x4 is just the size of the extrinsic camera matrix.


solved conflict function name init

Close #451

This change is

Reviewed 4 of 4 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Updated 20 year of services issue# 256

Updated the source narration of an image.

@Aini-Bashir please review this pull request.


Support running tests by single tag

Problem statement - No support to run tests by a single tag. i.e. Cannot run only GCP-specific tests. Only option would be to run both GCP-specific (unit-gcp) + platform agnostic (unit) tests. This can both make testing cumbersome and unnecessarily duplicate test runs
Fix - add support to run tests by specific tag.
Changes are backward compatible
Sample test runs
./gradlew runTestsWithTag -PtestTag=unit -Pplatform=aws -Pserver=verily-mc-feature-dev -PtestConfig=verily
> testType: unit / testTag: unit / platform: aws --> allTestTags: [unit, unit-aws]

./gradlew runTestsWithTag -PtestTag=unit-aws -Pplatform=aws -Pserver=verily-mc-feature-dev -PtestConfig=verily
> testType: unit / testTag: unit-aws / platform: aws --> allTestTags: [unit-aws]

./gradlew runTestsWithTag -PtestTag=unit-aws -Pplatform=gcp -Pserver=verily-mc-feature-dev -PtestConfig=verily
> testType: unit / testTag: unit-aws / platform: gcp --> allTestTags: []

./gradlew runTestsWithTag -PtestTag=unit -Pserver=verily-mc-feature-dev -PtestConfig=verily
> testType: unit / testTag: unit / platform: null --> allTestTags: [unit, unit-gcp, unit-aws, unit-azure]

./gradlew runTestsWithTag -PtestTag=unit-aws -Pserver=verily-mc-feature-dev -PtestConfig=verily
> testType: unit / testTag: unit-aws / platform: null --> allTestTags: [unit-aws]

./gradlew runTestsWithTag -PtestTag=integration -Pserver=verily-mc-feature-dev -PtestConfig=verily
> testType: integration / testTag: integration / platform: null --> allTestTags: [integration, integration-gcp, integration-aws, integration-azure]

./gradlew runTestsWithTag -PtestTag=integration-azure -Pplatform=gcp -Pserver=verily-mc-feature-dev -PtestConfig=verily
> testType: integration / testTag: integration-azure / platform: gcp --> allTestTags: []

Not sure I follow one of your examples:
./gradlew runTestsWithTag -PtestTag=unit-aws -Pplatform=gcp -Pserver=verily-mc-feature-dev -PtestConfig=verily
testTag: unit-aws [platform: gcp] ---> [unit-aws]

If testTag is unit-aws and platform is gcp, do we just ignore the platform tag, or do we not run any tests?

Makes sense, and more intuitive. Changed

Only change from this PR - in gradle/test.gradle. All  other files in the changeset show up due to rebase

removing extra changeset files (added due to rebase)
new PR (clean) - https://github.com/DataBiosphere/terra-cli/pull/426


Cannot open Power BI report template.

Project

Enterprise Bot Template
Description

After downloading the PBI report, as instructed in the docs, the file has an error that does not allow me to open it.
To Reproduce

Download the .pbi file from: AI/templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/PowerBI/
Open the file locally using my desktop PBI

Expected behavior

I expected it to open and ask for an App Id as instructed in the docs.
Screenshots

Additional context

Hi @abditimer do you have a screenshot of the error?

@abditimer Do you have PowerBI desktop installed?

I've done some more investigating - I believe it is an issue with the version of PBI I have. Another work colleague opened the file successfully.


feat: show degen or ens name if available on bounty info page

See https://github.com/picsoritdidnthappen/poidh-app/issues/88
This is the updated BountyInfo page

appreciate the help @defichopper!

appreciate the help @defichopper!

pleasure

@defichopper Can you make a claim here? https://degen.poidh.xyz/bounty/205
So that you can then get the bounty 🙂

@defichopper Can you make a claim here? https://degen.poidh.xyz/bounty/205
So that you can then get the bounty 🙂

Sure, I will do that now

@defichopper Can you make a claim here? https://degen.poidh.xyz/bounty/205
So that you can then get the bounty 🙂

Just created a claim here


Updated form and second title-heading

The form was simplified earlier with just 'Name' and 'Address'. I have expanded the form into "Last name", "First name", "Street address", and "Post code and City" for improved detail and clarity.
I have also changed the second title-heading to "Add your name & address", which previously was "Add new address".
Update page display is attached below:

Looks good


Calling an asynchronous function without callback is deprecated - fs.close()

Hi guys. Thank you for this very good package.
But using convert() in Node 7.4.x produces :
DeprecationWarning: Calling an asynchronous function without callback is deprecated.     at makeCallback (fs.js:104:12)     at Object.fs.close (fs.js:522:20)     at .../node_modules/phantom-html2pdf/lib/phantom-html2pdf.js:131:14
Actually,
fs.close(tmpFd);
Should use fs.closeSync.
May I create a PR?

Hi @SimonMARTIN87,
thanks for reporting! PR is very welcome. I will merge it!
Cheers,
Dustin

Closed with #48


WatsonTcp does not work in ExDUIR interface framework with net8.0

The tcp client and server of WatsonTcp cannot receive messages after compiling the .net 8.0.0-preview.7.23375.6 program in visual studio 2022 V17.8.0 Preview 1.0.
dotnet-sdk-8.0.100-preview.7.23376.3-win-x64

Seems to work for me on Windows 11.

I'm also using 17.8 preview 1.0, and
C:\Code\Watson\WatsonTcp\src\Test.Server\bin\Debug\net8.0>dotnet --version
8.0.100-preview.7.23376.3

Can you provide sample code to reproduce?  Can you test with Test.Client and Test.Server?

private static void CreateClient()
{
    client = new WatsonTcpClient("<IP_ADDRESS>", 9000);
    client.Events.ServerConnected += ServerConnected;
    client.Events.ServerDisconnected += ServerDisconnected;
    client.Events.MessageReceived += MessageReceivedClient;
    client.Callbacks.SyncRequestReceived = SyncRequestReceivedClient;
    client.Connect();
}

private static void CreateServer()
{
    server = new WatsonTcpServer("<IP_ADDRESS>", 9000);
    server.Events.ClientConnected += ClientConnected;
    server.Events.ClientDisconnected += ClientDisconnected;
    server.Events.MessageReceived += MessageReceived;
    server.Callbacks.SyncRequestReceived = SyncRequestReceived;
    server.Events.AuthenticationFailed += AuthenticationFailed;
    server.Start();
}

static void AuthenticationFailed(object sender, AuthenticationFailedEventArgs e)
{
    Console.WriteLine("AuthenticationFailed: " + e.ToString());
}

static void MessageReceivedClient(object sender, MessageReceivedEventArgs args)
{
    Console.WriteLine("Message from server: " + Encoding.UTF8.GetString(args.Data));
}

static void ServerConnected(object sender, ConnectionEventArgs args)
{
    Console.WriteLine("Server connected");
}

static void ServerDisconnected(object sender, DisconnectionEventArgs args)
{
    Console.WriteLine("Server disconnected");
}

static SyncResponse SyncRequestReceivedClient(SyncRequest req)
{
    return new SyncResponse(req, "Hello back at you!");
}

static void ClientConnected(object sender, ConnectionEventArgs args)
{
    guid = args.Client.Guid;
    Console.WriteLine("Client connected: " + args.Client.IpPort.ToString());
}

static void ClientDisconnected(object sender, DisconnectionEventArgs args)
{
    Console.WriteLine("Client disconnected: " + args.Client.IpPort.ToString() + ": " + args.Reason.ToString());
}

static void MessageReceived(object sender, MessageReceivedEventArgs args)
{
    Console.WriteLine("Message from " + args.Client.IpPort.ToString() + ": " + Encoding.UTF8.GetString(args.Data));
}

static SyncResponse SyncRequestReceived(SyncRequest req)
{
    return new SyncResponse(req, "Hello back at you!");
}

private static IntPtr OnButtonProc(int hObj, int nID, int nCode, IntPtr wParam, IntPtr lParam)
{
if(hObj == button.handle)
{
var ret = server.Send(guid, "Hello, client!");
Console.WriteLine(ret);
Console.WriteLine(server.IsClientConnected(guid));
}
else if(hObj == button2.handle)
{
client.Send("Hello Server!");
}
return IntPtr.Zero;

}

Singleton mode seems to have problems running.

TestWatsonTcp.zip

Hi @williamlzw I isolated the code down to the following, and modified it to send some messages back and forth:
using System.Text;
using System;
using WatsonTcp;

namespace Isolated
{
    internal class Program
    {
        static WatsonTcpClient _Client = null;
        static WatsonTcpServer _Server = null;
        static Guid _ClientGuid;

        static void Main(string[] args)
        {
            Console.WriteLine("Starting server...");
            CreateServer();
            Task.Delay(2000).Wait();

            Console.WriteLine("Starting client...");
            CreateClient();

            for (int i = 1; i <= 10; i++)
            {
                Console.WriteLine("Sending message from client to server (" + i + "/10)");
                _Client.Send("Message " + i);
            }

            for (int i = 1; i <= 10; i++)
            {
                Console.WriteLine("Sending message from server to client (" + i + "/10)");
                _Server.Send(_ClientGuid, "Message " + i);
            }

            Console.WriteLine("Press ENTER to exit");
            Console.ReadLine();
        }

        private static void CreateClient()
        {
            _Client = new WatsonTcpClient("<IP_ADDRESS>", 9000);
            _Client.Events.ServerConnected += ServerConnected;
            _Client.Events.ServerDisconnected += ServerDisconnected;
            _Client.Events.MessageReceived += MessageReceivedClient;
            _Client.Callbacks.SyncRequestReceived = SyncRequestReceivedClient;
            _Client.Connect();
        }

        private static void CreateServer()
        {
            _Server = new WatsonTcpServer("<IP_ADDRESS>", 9000);
            _Server.Events.ClientConnected += ClientConnected;
            _Server.Events.ClientDisconnected += ClientDisconnected;
            _Server.Events.MessageReceived += MessageReceived;
            _Server.Callbacks.SyncRequestReceived = SyncRequestReceived;
            _Server.Events.AuthenticationFailed += AuthenticationFailed;
            _Server.Start();
        }

        static void AuthenticationFailed(object sender, AuthenticationFailedEventArgs e)
        {
            Console.WriteLine("AuthenticationFailed: " + e.ToString());
        }

        static void MessageReceivedClient(object sender, MessageReceivedEventArgs args)
        {
            Console.WriteLine("Message from server: " + Encoding.UTF8.GetString(args.Data));
        }

        static void ServerConnected(object sender, ConnectionEventArgs args)
        {
            Console.WriteLine("Server connected");
        }

        static void ServerDisconnected(object sender, DisconnectionEventArgs args)
        {
            Console.WriteLine("Server disconnected");
        }

        static SyncResponse SyncRequestReceivedClient(SyncRequest req)
        {
            return new SyncResponse(req, "Hello back at you!");
        }

        static void ClientConnected(object sender, ConnectionEventArgs args)
        {
            _ClientGuid = args.Client.Guid;
            Console.WriteLine("Client connected: " + args.Client.IpPort.ToString());
        }

        static void ClientDisconnected(object sender, DisconnectionEventArgs args)
        {
            Console.WriteLine("Client disconnected: " + args.Client.IpPort.ToString() + ": " + args.Reason.ToString());
        }

        static void MessageReceived(object sender, MessageReceivedEventArgs args)
        {
            Console.WriteLine("Message from " + args.Client.IpPort.ToString() + ": " + Encoding.UTF8.GetString(args.Data));
        }

        static SyncResponse SyncRequestReceived(SyncRequest req)
        {
            return new SyncResponse(req, "Hello back at you!");
        }
    }
}

And it worked for me:
C:\Users\joelc\Downloads\TestWatsonTcp\Isolated\bin\Debug\net8.0>isolated
Starting server...
Starting client...
Server connected
Sending message from client to server (1/10)
Client connected: <IP_ADDRESS>:61378
Sending message from client to server (2/10)
Sending message from client to server (3/10)
Sending message from client to server (4/10)
Sending message from client to server (5/10)
Sending message from client to server (6/10)
Sending message from client to server (7/10)
Sending message from client to server (8/10)
Sending message from client to server (9/10)
Sending message from client to server (10/10)
Sending message from server to client (1/10)
Sending message from server to client (2/10)
Sending message from server to client (3/10)
Sending message from server to client (4/10)
Sending message from server to client (5/10)
Sending message from server to client (6/10)
Sending message from server to client (7/10)
Sending message from server to client (8/10)
Sending message from server to client (9/10)
Sending message from server to client (10/10)
Press ENTER to exit
Message from server: Message 1
Message from <IP_ADDRESS>:61378: Message 1
Message from server: Message 2
Message from server: Message 3
Message from server: Message 4
Message from server: Message 5
Message from server: Message 6
Message from server: Message 7
Message from server: Message 8
Message from <IP_ADDRESS>:61378: Message 2
Message from server: Message 9
Message from server: Message 10
Message from <IP_ADDRESS>:61378: Message 3
Message from <IP_ADDRESS>:61378: Message 4
Message from <IP_ADDRESS>:61378: Message 5
Message from <IP_ADDRESS>:61378: Message 6
Message from <IP_ADDRESS>:61378: Message 7
Message from <IP_ADDRESS>:61378: Message 8
Message from <IP_ADDRESS>:61378: Message 9
Message from <IP_ADDRESS>:61378: Message 10

Here's the .csproj file:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="WatsonTcp" Version="5.1.6" />
  </ItemGroup>

</Project>

The pure console can run, but the message sent by the client cannot be received by using my interface framework. But client messages can be received in net7.

You can change the solution code I posted to the .net7 framework. Messages can be received.

I'm not sure why it's not working via your interface framework.  I've never used it and don't have expertise with it.

I downloaded the source code of WatsonTcp, compiled the class library with .net8.0, and resumed normal use in my interface framework.

The problem is that the package on nuget is only compiled by net7.0, and there will be problems running on net8.0, which may be related to the message loop or multi-threading of the window.

Ah, got it.  Thank you @williamlzw.  As soon as net8.0 is released I'll be sure to update and re-target to include it.
On another note, do you have documentation in English for your framework?  I'd love to learn more.
Cheers, Joel

https://github.com/williamlzw/ExDUIR/blob/master/README_EN.md
https://github.com/williamlzw/ExDUIR.NET
Only the header file of c++, and some components demo of c#.


Proposal: Sblinks - new experience for user in Kaia and EVM

Description

Create a template for developer can create Dapp inside X post using X card component

Bounty track

Developer Tool

I have create repo about this template so any one use
https://github.com/chauanhtuan185/Sblinks

it's not accessible

I just open repo to public

Approved for 2000 KLAY bounty payout

Closing for payout


Howdy cannot use an incomplete config.ini

I'm writing a NixOS module for Howdy, and I'm letting the user define the Howdy config as a nix expression that gets translated to ini and placed in /etc/howdy/config.ini. While doing this, I have looked through the code and found that fallbacks are set, so I assumed they were for values that do not appear in the config file. However, when using this config.ini:
[core]
no_confirmation=true
[debug]
end_report=true
[video]
dark_threshold=90

Howdy gives me errors:
sudo -E howdy test
Traceback (most recent call last):
  File "/nix/store/iw1vmh509hcbby8dbpsaanbri4zsq7dj-python3-3.10.10/lib/python3.10/configparser.py", line 791, in get
    value = d[option]
  File "/nix/store/iw1vmh509hcbby8dbpsaanbri4zsq7dj-python3-3.10.10/lib/python3.10/collections/__init__.py", line 986, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/nix/store/iw1vmh509hcbby8dbpsaanbri4zsq7dj-python3-3.10.10/lib/python3.10/collections/__init__.py", line 978, in __missing__
    raise KeyError(key)
KeyError: 'recording_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/run/current-system/sw/bin/howdy", line 120, in <module>
    import cli.test
  File "/nix/store/yiyrf0igvkax54spw0lqpgrwfr5gyq8g-howdy-unstable-2023-02-28/lib/security/howdy/cli/test.py", line 24, in <module>
    if config.get("video", "recording_plugin") != "opencv":
  File "/nix/store/iw1vmh509hcbby8dbpsaanbri4zsq7dj-python3-3.10.10/lib/python3.10/configparser.py", line 794, in get
    raise NoOptionError(option, section)
configparser.NoOptionError: No option 'recording_plugin' in section: 'video'

Is it possible to have an incomplete config file and have Howdy take care of the missing options?

For sure, we should really enforce that every config option (except maybe device?) has a default value. Preferably a very safe value, maybe even on theore cautious side than the default config is.
If you or anyone would like to go through and add defaults to each config call that would be very appreciated!


Bad sample files

Hi Tony
When I was trying out some image segmentation modelling I was using your pix2code datasets but noticed that some of the samples were incorrect (i.e. the code in the gui files did not correspond to the images).
The files identified were:
WEB: ['7B12BD37-DAF3-48A6-991A-68200B7A9646', '88CF81C4-9D0B-42C8-9DE6-25F81CFDA283',
'0760CA6A-B885-455B-AE48-DD9F8AF4C334', '5404130F-7754-40A8-AF07-82CA2E6CE151',
'9022DD47-2D1B-40F6-84C3-024AB448365F', 'BA6B3726-F0C6-4208-87C4-59E637E184C4',
'FDBD8D36-B4F0-4398-9881-9B4EDE94BED1','16E05E7C-10D2-4A4B-8186-48A1334494CF']
IOS: ['A964B1B0-4E8B-4326-ABC0-F2F3A2730AB0','A964B1B0-4E8B-4326-ABC0-F2F3A2730AB0']
ANDROID: ['A9D42A06-B07C-457B-9D42-21B5523177EF','97174B6D-F65F-4F60-988D-2FA3D7568B3D','4B4940EA-C0B7-4E50-B0B0-0FBA99DAE093', 'B37BC357-9ECF-4F0B-9F2E-E2503C87884F', 'BCAB4BD8-9AF4-4154-93B1-220F0D5870A5']
So I created this pull request where I have removed the files from the zip files.
Merge if you like :)
(There might be additional cases currently overfitted in my training data, I will create an additional pull request if I find any)

Hi Dear @DagSonntag,
I am facing a memory error problem while setting up this project. When getting on training the model I received a memory error while I have 16GB of RAM. So can you figure out this issue?
Waiting for your soon response. Thank You

Hi Dear @DagSonntag,
I am facing a memory error problem while setting up this project. When getting on training the model I received a memory error while I have 16GB of RAM. So can you figure out this issue?
Waiting for your soon response. Thank You

Hi @rafayhasankhan
Hmm, yes, memory usage is always an issue in Tensorflow. The more you use the faster it goes... until you use too much and it crashes. Some things that tend to help is to lower the batch_sizes, so you can try to (considerably) lower that constant variable and see if it works better.
Also some things to note:

From the screenshot it does not seem like you are using a GPU (but CPU only). If so this code will take days to weeks to run (i.e., it is not meant for that). To run Tensorflow efficiently on "real" projects you will need a GPU setup. I do not remember how this will influence the code, but it might cause an abnormal high memory load on the main memory since the load is not distributed.
When counting the memory with a GPU it is the GPU memory that tends to be the limiting factor. I.e. it does not matter if your main board has 16GB memory if the GPU has 4GB.

Hope that helps!
Best regards
Dag

Hi @rafayhasankhan
Hmm, yes, memory usage is always an issue in Tensorflow. The more you use the faster it goes... until you use too much and it crashes. Some things that tend to help is to lower the batch_sizes, so you can try to (considerably) lower that constant variable and see if it works better.
Also some things to note:

From the screenshot it does not seem like you are using a GPU (but CPU only). If so this code will take days to weeks to run (i.e., it is not meant for that). To run Tensorflow efficiently on "real" projects you will need a GPU setup. I do not remember how this will influence the code, but it might cause an abnormal high memory load on the main memory since the load is not distributed.
When counting the memory with a GPU it is the GPU memory that tends to be the limiting factor. I.e. it does not matter if your main board has 16GB memory if the GPU has 4GB.

Hope that helps!
Best regards
Dag

Thanks @DagSonntag :)

Thanks @DagSonntag :)

Hi @DagSonntag,
Hope you are fine. As I contacted you last time over the issue which I've mentioned above is now partially solved as I've now upgraded my system and using a GPU (Nvidia Quadro K2200) 4GB DDR5 with 16GB of dedicated RAM. But as I mentioned above that the problem still persists the first command to train the web training set in the README.md file which was this (train.py ../datasets/web/training_set ../bin) still throwing the Memory Error while the third command is running the epochs without any problem to train the web training features which was (train.py ../datasets/web/training_features ../bin 1). The screenshot is attached for the reference.

Hi @DagSonntag,
Hope you are fine. As I contacted you last time over the issue which I've mentioned above is now partially solved as I've now upgraded my system and using a GPU (Nvidia Quadro K2200) 4GB DDR5 with 16GB of dedicated RAM. But as I mentioned above that the problem still persists the first command to train the web training set in the README.md file which was this (train.py ../datasets/web/training_set ../bin) still throwing the Memory Error while the third command is running the epochs without any problem to train the web training features which was (train.py ../datasets/web/training_features ../bin 1). The screenshot is attached for the reference.

Hi @rafayhasankhan
So that is to be expected no? As noted in the README the first command would load the entire image array into memory (which is quite heavy, larger than 32GB ram I would guess). The third command (which you use) uses batches and only keep one batch at a time in memory, which is the recommended way (as noted in the README)
Note though that from the screenshot is still seems you are not using a GPU. Are you sure you have done the tensorflow GPU installation correctly? Anyway, good luck!
Best regards

Hi @DagSonntag,
Hope you are fine. As I contacted you last time over the issue which I've mentioned above is now partially solved as I've now upgraded my system and using a GPU (Nvidia Quadro K2200) 4GB DDR5 with 16GB of dedicated RAM. But as I mentioned above that the problem still persists the first command to train the web training set in the README.md file which was this (train.py ../datasets/web/training_set ../bin) still throwing the Memory Error while the third command is running the epochs without any problem to train the web training features which was (train.py ../datasets/web/training_features ../bin 1). The screenshot is attached for the reference.

Hi @rafayhasankhan
So that is to be expected no? As noted in the README the first command would load the entire image array into memory (which is quite heavy, larger than 32GB ram I would guess). The third command (which you use) uses batches and only keep one batch at a time in memory, which is the recommended way (as noted in the README)
Note though that from the screenshot is still seems you are not using a GPU. Are you sure you have done the tensorflow GPU installation correctly? Anyway, good luck!
Best regards

Dear @DagSonntag,
Thank you, brother, for your reply, I previously read those comments in the README file that's why I executed the third command but I was not so clear about that memory issue so that's why I asked you but now I am clear about that thank you.
The second thing to mention is that no bro I haven't gone through the Tensorflow GPU installation. I just installed the TensorFlow library which was mentioned in the requirements.txt file. I was not aware of that Tensorflow GPU installation, so, would you kindly guide me on how to do that so the training process will be faster as I already installed a GPU in my system for this training purpose but if the GPU is not utilized for the purpose it was installed then it will be a waste of time for me.
Thanks & Regards,

@rafayhasankhan https://www.tensorflow.org/install/gpu There you have it.
Best regards


Fix circleci caching

vendor folder should not be cached.
Go modules cache directory should only be cached, i.e. /go/pkg folder.
Same go.sum (same modules and releases) may lead to different vendor folder, because vendor only contains used packages, not used modules. /go/pkg folder contains used modules and can be identified uniquely by go.sum. Does not happen the same with vendor folder.

Shouldn't we increase the key version number for the change to take effect?

ready for review @miguelsorianod


General broken-ness with "rclone mount" on ACD encrypted remotes

Hello,
As per the subject above.
First the required data:

What is your rclone version (eg output from rclone -V)

rclone v1.34 (but probably has been happening earlier, as I've only started using "rclone mount" on the latter v.1.33 betas).

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux 64-bit (Devuan Jessie 1.0-Beta).

Which cloud storage system are you using? (eg Google Drive)

Amazon Cloud Drive, encrypted by rclone;

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount command:
rclone -v --debug-fuse --dump-headers --log-file=rclone_mount_ACDE.log mount ACDE:/ /home/rclone/ACDE

A log from the command with the -v flag (eg output from rclone -v copy /tmp remote:tmp)
The log is very large and has lots of sensitive info. Will redact and post later if requested/necessary.

So here's the first issue of this kind I was able to reproduce semi-reliably here:

Mounting the remote as above and just listing the mountpoint with "ls -l":

total 0
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0001
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0002
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0003a
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0003b
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0004a
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0004b
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0005
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0006
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0007
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0008
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0009
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 XXXXXXXXXXX0010
-rw-r--r-- 1 rclone rclone 582582272 Nov  2 21:42 YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY_-_split_aa
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 ZZZZZZZZZZZZ01
drwxr-xr-x 1 rclone rclone         0 Nov  6 10:40 WWWWWWWWWWWWWWWWWWWWW_20160917

I imediatelly suspected the YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY_-_split_aa file listed above, as my top-level ACDE: dir doesn't have any files.

The above suspect is confirmed with an "rclone lsd ACDE:", to wit:

          -1 2016-10-03 06:12:11        -1 WWWWWWWWWWWWWWWWWWWWW_20160917
          -1 2016-10-07 19:24:20        -1 XXXXXXXXXXX0003a
          -1 2016-10-08 01:51:04        -1 XXXXXXXXXXX0002
          -1 2016-10-10 11:34:10        -1 XXXXXXXXXXX0006
          -1 2016-10-10 11:37:07        -1 XXXXXXXXXXX0003b
          -1 2016-10-17 11:20:33        -1 XXXXXXXXXXX0005
          -1 2016-10-20 11:39:49        -1 XXXXXXXXXXX0008
          -1 2016-10-16 03:25:33        -1 XXXXXXXXXXX0004b
          -1 2016-10-19 04:17:03        -1 XXXXXXXXXXX0007
          -1 2016-10-20 20:26:23        -1 XXXXXXXXXXX0009
          -1 2016-10-14 21:56:07        -1 XXXXXXXXXXX0004a
          -1 2016-10-25 23:48:01        -1 ZZZZZZZZZZZZ01
          -1 2016-10-27 11:09:08        -1 XXXXXXXXXXX0001
          -1 2016-10-30 16:04:41        -1 XXXXXXXXXXX0010
2016/11/06 10:58:14
Transferred:      0 Bytes (0 Bytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:        1.6s

In fact, fishing around with rclone lsl shows the YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY_-_split_aa file is actually under the  WWWWWWWWWWWWWWWWWWWWW_20160917 directory:

	rclone lsl acdenc:WWWWWWWWWWWWWWWWWWWWW_20160917
<PHONE_NUMBER>0 2016-10-02 21:07:28.744000000 YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY_-_split_aa
		[...]
		2016/11/06 11:00:35
		Transferred:      0 Bytes (0 Bytes/s)
		Errors:                 0
		Checks:                 9
		Transferred:            0
		Elapsed time:        1.8s

Note that not only the file is showing up at the wrong place, but also its metadata (size and time) are also corrupted.
There's more "stuff" happening with other file operations in the mount (like file contents being silently corrupted", I will post it here when I'm able to reproduce it.
Cheers,
--
Durval.

A quick thought... Try using ACDE: instead of ACDE:/ in your mount command line.

I note also that you've used two different remotes ACDE: and acdenc: in your tests.
What do you get if you do
rclone -q ls --max-depth 1 ACDE:

Hopefully that will show the single file you see in your mount.  That is effectively what mount does anyway.
Note that rclone lsd doesn't show files, so your rclone lsd ACDE: isn't ever going to show that file.
For your final test you seem to be using rclone lsl acdenc: which is a different remote.

Hello @ncw,
Sorry for the long delay getting back to you; just saw your response, for some reason I'm not receiving mails about this and other issues even tho I'm subscribed to them... :-/ More below:

A quick thought... Try using ACDE: instead of ACDE:/ in your mount command line.

Just did, exactly the same results.

I note also that you've used two different remotes ACDE: and acdenc: in your tests.

My mistake during editing my post... it's actually ACDE: all the way.

What do you get if you do
rclone -q ls --max-depth 1 ACDE:
Hopefully that will show the single file you see in your mount. That is effectively what mount does anyway.

You are correct, here's the output:
582582272 YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY_-_split_aa

Note that rclone lsd doesn't show files, so your rclone lsd ACDE: isn't ever going to show that file.

Oh! My mistake... I thought it was the equivalent of a 'ls -d DIR/*'... :-/
In fact, I checked using the ACD web tool and indeed there's a file with that size at the root of my account... which shouldn't be there, but anyway that was probably me messing up my upload somehow, and not rclone.
I'm closing this issue now, sorry for the false alarm.
Thanks,
Durval.


Ultimate Vocal Remover Sample rate

Hi, i'm using the uvr and i don't want to change any sample rate in this program. But when i select the input 48000 sample rate it'll change to 44100 how i can i stop that?

the model is trained in 44100hz, so it can't process audio with 48000hz.

Thanks a lot mate
On 24 Aug 2024 Sat at 3:12 PM meisa233 @.***> wrote:

the model is trained in 44100hz, so it can't process audio with 48000hz.
—
Reply to this email directly, view it on GitHub
https://github.com/Anjok07/ultimatevocalremovergui/issues/1450#issuecomment-2308373741,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7XGNY6SZJKSUCUF2AN6OATZTB2DXAVCNFSM6AAAAABKNG4LSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGM3TGNZUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add endpoint for all connections

Notes for Reviewers
This PR fixes #
Added GET /api/integrations/connections
Signed commits

[x] Yes, I signed my commits.

Merge conflict..

Spreadsheet updated?

@senali-d is this what you need?

Fixed merge conflict

@senali-d is this what you need?

Yes I'm waiting for this.


How does one go about using HIDGuardian?

I'm fed up of the nvidia overlay taking over my DS4 (which it only seemed to start doing recently for some reason) and would like to use hidguardian to prevent this - I notice some functionality relating to it has recently been added but I have no idea for the life of me how to set it up.

It's still work in progress. A test version can be found here: https://vigem.org/hidguardian-v2-secret-alpha-test-area/

I don't think I'll ever be able to play Dark Souls on PC again.  It used to work just fine months ago, then recently it started working only half the time.