Can connect but cannot verify credentials.

What am I doing wrong?
Q1:
I have the service installed in Subscription "A" and I have a subscription "B" where I try to configure an SCIM app. Is that all right? Or maybe both MUST be in the same subscription? I can see that things are happening.
Here is the log:
e:\AzureAD-BYOA-Provisioning-Samples3\FileProvisioning\Host\bin\Debug>FileSvc.exe http://<IP_ADDRESS>:9000 TargetFile.csv
Attempting to listen at this address: http://<IP_ADDRESS>:9000.
The service is listening at this address: http://<IP_ADDRESS>:9000.
Press any key to terminate this service.
00000000-0000-0000-2a00-0080000000fa: This request was received: GET http://<IP_ADDRESS>:9000/Users?filter=externalId+eq+"9edf3db5-
f590-4367-a7b6-d76747c0a509"
ADSCIMVersion: 5.0
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5iQ3dXMTF3M1hrQi14VWFYd0tSU0xqTUhHUSIsImtpZCI6Im5iQ3dXMTF3M1hrQi14
VWFYd0tSU0xqTUhHUSJ9.eyJhdWQiOiIwMDAwMDAwMi0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9jZGVlMmYzN
i0zZWQ0LTQyMWItYjJjMS1iYmJmZGRlM2I0MzgvIiwiaWF0IjoxNTQ2NjEyNjkzLCJuYmYiOjE1NDY2MTI2OTMsImV4cCI6MTU0NjY0MTc5MywiYWlvIjoiNDJSZ1lManFkMWc
wTHE5M1ltYk14eWJoNHMwdkFBPT0iLCJhcHBpZCI6IjAwMDAwMDE0LTAwMDAtMDAwMC1jMDAwLTAwMDAwMDAwMDAwMCIsImFwcGlkYWNyIjoiMiIsImlkcCI6Imh0dHBzOi8vc
3RzLndpbmRvd3MubmV0L2NkZWUyZjM2LTNlZDQtNDIxYi1iMmMxLWJiYmZkZGUzYjQzOC8iLCJvaWQiOiIxNGM4ZTBlZi1mZjk4LTRkNTgtODU0Yi1jOGI2MTgwYTQyMTciLCJ
zdWIiOiIxNGM4ZTBlZi1mZjk4LTRkNTgtODU0Yi1jOGI2MTgwYTQyMTciLCJ0ZW5hbnRfcmVnaW9uX3Njb3BlIjoiRVUiLCJ0aWQiOiJjZGVlMmYzNi0zZWQ0LTQyMWItYjJjM
S1iYmJmZGRlM2I0MzgiLCJ1dGkiOiI4c3pyblR0aklrU1ZRUW45ZlJGZkFBIiwidmVyIjoiMS4wIn0.Wln7QSOc3bef9zZ-Sy1V2C2kw7zv-yk02uXNtqzMCmXu1CeqXdwbmyB
sE4rEvxCsguQht4jQrCI5TpvlpMNMuQOtQZVR0IzalT1KR_mag24T-aPM4OC1jlD-WV3pU6iLWRqow_IBXXiQjzv_o_VwMkDpfsWF_VAGYZjxajtt_6w961gguNmt_59QvimVM
LsGfId-6oeYZlruwB8bmdd_behTBkNI7DvIKRVVLqXU0hymGFg3k9RiqbApc6pPNWNml4Cy2EJiiWr9EvdPXZviSq7Ezq-drdLDaKpMXPPVBdVFC0Ob-5qtSO9Wpb5pR-4_mFu
39vCz3_bMe8pVqj04SA
Host: <IP_ADDRESS>:9000
. (Verbose? False)
Press any key to terminate this service.
00000000-0000-0000-2a00-0080000000fa: System.ArgumentException: The request is invalid.
at Microsoft.SystemForCrossDomainIdentityManagement.RequestExtensions.GetBaseResourceIdentifier(HttpRequestMessage request)
at Microsoft.SystemForCrossDomainIdentityManagement.SystemForCrossDomainIdentityManagementRequest1..ctor(HttpRequestMessage reques t, TPayload payload, String correlationIdentifier, IReadOnlyCollection1 extensions)
at Microsoft.SystemForCrossDomainIdentityManagement.ProviderAdapterTemplate1.<Query>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.SystemForCrossDomainIdentityManagement.ControllerTemplate1.<Get>d__3.MoveNext() (Critical? False)
Press any key to terminate this service.
00000000-0000-0000-2a00-0080000000fa: Processing of this request was completed: GET http://<IP_ADDRESS>:9000/Users?filter=externalI
d+eq+"9edf3db5-f590-4367-a7b6-d76747c0a509"
ADSCIMVersion: 5.0
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im5iQ3dXMTF3M1hrQi14VWFYd0tSU0xqTUhHUSIsImtpZCI6Im5iQ3dXMTF3M1hrQi14
VWFYd0tSU0xqTUhHUSJ9.eyJhdWQiOiIwMDAwMDAwMi0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9jZGVlMmYzN
i0zZWQ0LTQyMWItYjJjMS1iYmJmZGRlM2I0MzgvIiwiaWF0IjoxNTQ2NjEyNjkzLCJuYmYiOjE1NDY2MTI2OTMsImV4cCI6MTU0NjY0MTc5MywiYWlvIjoiNDJSZ1lManFkMWc
wTHE5M1ltYk14eWJoNHMwdkFBPT0iLCJhcHBpZCI6IjAwMDAwMDE0LTAwMDAtMDAwMC1jMDAwLTAwMDAwMDAwMDAwMCIsImFwcGlkYWNyIjoiMiIsImlkcCI6Imh0dHBzOi8vc
3RzLndpbmRvd3MubmV0L2NkZWUyZjM2LTNlZDQtNDIxYi1iMmMxLWJiYmZkZGUzYjQzOC8iLCJvaWQiOiIxNGM4ZTBlZi1mZjk4LTRkNTgtODU0Yi1jOGI2MTgwYTQyMTciLCJ
zdWIiOiIxNGM4ZTBlZi1mZjk4LTRkNTgtODU0Yi1jOGI2MTgwYTQyMTciLCJ0ZW5hbnRfcmVnaW9uX3Njb3BlIjoiRVUiLCJ0aWQiOiJjZGVlMmYzNi0zZWQ0LTQyMWItYjJjM
S1iYmJmZGRlM2I0MzgiLCJ1dGkiOiI4c3pyblR0aklrU1ZRUW45ZlJGZkFBIiwidmVyIjoiMS4wIn0.Wln7QSOc3bef9zZ-Sy1V2C2kw7zv-yk02uXNtqzMCmXu1CeqXdwbmyB
sE4rEvxCsguQht4jQrCI5TpvlpMNMuQOtQZVR0IzalT1KR_mag24T-aPM4OC1jlD-WV3pU6iLWRqow_IBXXiQjzv_o_VwMkDpfsWF_VAGYZjxajtt_6w961gguNmt_59QvimVM
LsGfId-6oeYZlruwB8bmdd_behTBkNI7DvIKRVVLqXU0hymGFg3k9RiqbApc6pPNWNml4Cy2EJiiWr9EvdPXZviSq7Ezq-drdLDaKpMXPPVBdVFC0Ob-5qtSO9Wpb5pR-4_mFu
39vCz3_bMe8pVqj04SA
Host: <IP_ADDRESS>:9000
.
The status code of the response was 400 (Verbose? False)
Press any key to terminate this service.
Q2:
I can Build and Rebuild 2 of the 3 solutions delivered in the sample code. The third solution "FileProvisioningServiceTests" is nog working. Is it a problem at this stage?

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

ID: 45cb3eec-7693-4e22-bcde-3f85d5a4be14
Version Independent ID: 506c3302-e823-8f1e-d547-083ef0b664df
Content: Automate provisioning of apps using SCIM in Azure Active Directory
Content Source: articles/active-directory/manage-apps/use-scim-to-provision-users-and-groups.md
Service: active-directory
GitHub Login: @barbkess
Microsoft Alias: barbkess

@guyhorn1964 Thanks for your feedback! We will investigate and update as appropriate.

I'm getting the same error... System.ArgumentException: The request is invalid.
Any update on this?

Please assign to @CelesteDG

#reassign:@msmimart - @msmimart please reach out to Arvind for help with the reported issue and determine if there's anything here for docs or this should be tracked elsewhere. Thank you.

Thank you for passing this along - I'm reaching out to the product team on this scenario and we're actively tracking it internally. For now I'll close this issue, but we'll update the article as soon as we have clarification. #please-close


Using jest.config.ts causes "ReferenceError: globalThis is not defined"

🐛 Bug Report

If I use a jest.config.ts file to configure Jest as laid out in the Configuring Jest page, then when I run tests I get the following error:
  ● Test suite failed to run

    evalmachine.<anonymous>:1
    globalThis
    ^

    ReferenceError: globalThis is not defined

      at evalmachine.<anonymous>:1:1
      at setupWindow (node_modules/jsdom/lib/jsdom/browser/Window.js:111:55)
      at new Window (node_modules/jsdom/lib/jsdom/browser/Window.js:223:3)
      at exports.createWindow (node_modules/jsdom/lib/jsdom/browser/Window.js:95:10)
      at new JSDOM (node_modules/jsdom/lib/api.js:36:20)

Switching this to a jest.config.js file or moving the config into package.json fixes this.
I have ts-node version 9.1.1 installed in my package.json file.
I wonder if this is because I'm using asdf as my Node version manager and/or because I'm using Node 10.14.2.
envinfo

  System:
    OS: Linux 4.19 Ubuntu 20.04.1 LTS (Focal Fossa)
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
  Binaries:
    Node: 10.14.2 - ~/.asdf/installs/nodejs/10.14.2/bin/node
    npm: 6.13.6 - ~/.asdf/installs/nodejs/10.14.2/bin/npm
  npmPackages:
    jest: 26.6.3 => 26.6.3

Vaguely related to https://github.com/jsdom/jsdom/issues/2961#issuecomment-629707706.
And yes, it's because you run with Node 10. Updating to Node 12 should fix it.
Real fix is the stalled https://github.com/jsdom/jsdom/pull/2975


Want to improve the look

Add or update features of the website to make attractive

we would have to make a website/ webapp from scratch, either in react or node

@Varsha567 @theomkardeshpande @smog-root @Dipanita45 @Ananya-vastare @Sai-ganesh-0004 @sanchitc05 @T-
Rahul-prabhu-38 @shreyad2806 @Muskan-bhatt249 @devxMani @neeru24 @sejals23 @Yash-Vashishth @shauryaq05 if anybody of you want to create a ui from scratch, preferably in react , comment fast!

@tanishaness Add the labels to my PR! You are not relying on the PR!!
#34 add all labels added to the issue!! 💢

#34 it is not reflected to leaderboard!

I don't know react that much, I just have a good proficiency in HTML, CSS, and JS. I could design a simple yet sophisticated structure for your website and to enhance it further other contributors are free to raise issues to it. Let me know what you think @tanishaness

HIii @tanishaness please add labels to my PR #15 messaged you multiple times but no response can u please update if possible?

Hi @tanishaness please add the level 2 tag, gssoc-ext and hacktoberfest tags to pr #21
I would also like to take up the ui issue that is assigned the level 3 tag from you

Hi, @tanishaness Kindly add the labels to my PR https://github.com/tanishaness/SPROCTOR/pull/41

i can do it like this..

using html css js

@tanishaness I know only html, css not react will it be okay if I can still work on this issue


#307: Mixin extension - Providers and License on the item level

That extension name (mixin, prefix: mix) is a bit... strange(?), but describes basically what we are doing here:

using fields from collections as mixin and
mixing providers and licenses in a collection ;-)

Additionally, it is pretty generic and allows to extend it with new fields in future if we like.
Fixes #307.
Further changes in #303 would most likely need to be adopted here.

Fixed the type => roles issues - were copy&paste errors as #303 was not merged yet.
I'm always trying to make this extensible. We are not introducing the mixin concept itself, but leave the door open to add it later. For now we limit it to license and provider. That said, I personally would prefer to deprecate this extension anyway in 0.7.0 based on the planned improvements to the metadata model.
We are recommending prefixes in our spec, so I'd say we should follow our own recommendation. Nevertheless, if you feel it should be without prefixes, I think I'm fine with it.

Maybe we could also go with the prefix "item" and "Single Item Extension"?! That would also make a clearer distinction between the collection provider & license and the item provider and license. Maybe that's a better solution than mixin...


test for github created at text | intro.html

Issue
Example : Closes #<issue_number>
What is the change?
Provide a small description in points of what did you change
Example :

Done this
Made these changes

Is Development Tested?

[ ] Yes
[ ] No

Before / After Change Screenshots
For visual or interaction changes. Please provide a video / screenshot.
Example:
Before :
Image/Video
After :
Image/Video
Note :
What to delete and what not to

Keep the headings and answer the questions.
Delete the examples
Delete the description below headings What is the change? & Before/After Screenshots

Closing this since we've migrated our site to Ember and this PR was opened for Vanilla site


Fix ActiveRecord::Base.find_all_by_timestamp call

Addresses 1 issue in https://github.com/ManageIQ/manageiq/issues/6754

@matthewd @Fryguy please review

:+1:


uiux: Remove the event icon from the event card.

This reduced the overall size of the events page by 36.5 kb (35%)


Remove timeout grace timer for RPC system

Specification
In the RPC system, specifically the server side. The handler can be cancelled or timed out from the ctx: ContextTimed. This will result in a signal that SHOULD cause the handler to end immediately. It is possible for the handler to ignore this however.
Currently there is some logic what will wait a certain delay after cancellation and then force close the stream the handler was handling. This logic needs to be removed.
The reasoning is, we should allow for an arbitrary delay in handling a signal. But also, programmatic problems such as deadlocks should not be silently handled by a fail safe such as this. It should be found and dealt with during testing.
Additional context

Related MatrixAI/Polykey#552

Tasks

[ ] Remove grace timeout timer logic from the RPC system.
[ ] Remove any tests that test this and update ones that depend on it.

The AbortController and Timer logic seems to be implemented for each handler and is used to abort the process or refresh the timeout. The grace timeout mechanism looks to be enforced through a separate Timer (graceTimer).
To remove this grace timeout, remove or comment out the code related with the graceTimer and its event listener (handleAbort).
Remove jests related to same.

Yes grace timer removal is because of these reasons:

Timeouts are advisory always. This is because JS is a cooperative concurrency system not a pre-emptive concurrency system. This advisory cancellation is fundamental.
There is an option for the decorator called lazy. If it is false, the promise rejects but that doesn't mean the underlying operation is finished. It's just an early rejection.
In all cases where IO is involved, early rejection is incorrect. Therefore all uses of times cancellability of RPC calls must have lazy set to true.
We can enforce this in the RPC handlers and callers or... Which would be easier than expecting the user to always set it up correctly. However I'm not sure about ergonomics. Provide some examples of tradeoffs here @addievo

Also remember to tick off the tasks in the OP and not just create new tasks. Always update the OP with tasks.


fix(systemd): fix operator in host detection

Supersedes #22859, as the original community PR author deleted their Github account

Ensures that only the last instance of :xxx... is removed
$ export FOO="localhost:foo:8086"
$ echo ${FOO%:*}
localhost:foo
$ echo ${FOO%%:*}
localhost

$ export BIND_ADDRESS="[2001:db8::1]:808"
$ echo ${BIND_ADDRESS%:*}
[2001:db8::1]
$ echo ${BIND_ADDRESS%%:*}
[2001


[bugfix/fix-declare-network-policy-word] fix🐛:  Remove the extra char

Remove the extra character s
In Chinese documents under Declare Network Policy and Test the service by its function from another Pod, there is an extra character 's'.

Signed-off-by: qi.han<EMAIL_ADDRESS>

/lgtm
/approve


chained search with modifier :missing causes internal error

Working on cloud tenant running IBM FHIR server 4.3.2
Issued via Postman
GET {{base}}{{contextRoot}}Observation?subject:Patient.gender:missing=true
Response (500 Internal Server Error):
{
"resourceType": "OperationOutcome",
"id": "ac-1e-f9-a6-e634f01e-1476-4690-8c08-a53d18328c50",
"issue": [
{
"severity": "fatal",
"code": "exception",
"details": {
"text": "FHIRPersistenceDataAccessException: Server error: failure retrieving count"
}
}
]
}
Expected successful search attempt.
Info from LogDNA provided.
2020Aug14LogDNA.txt

Got around to searching this one and it turns out we already had an issue for it:  #473
That said, I think we should turn that one into the "feature request" for supporting this properly and keep this one (#1413) to fix the error message...specifically, we should return a good message that indicates that we don't support modifiers on chained parameters.

Verified the following behavior on cloud tenant:
"version": "4.4.0",
"name": "IBM FHIR Server",
"status": "active",
"date": "2020-08-24T18:02:12.529Z",
"publisher": "IBM Corporation",
"description": "IBM FHIR Server version 4.4.0 build id development"
GET {{base}}{{contextRoot}}Observation?subject:Patient.gender:missing=true
Returned status ->  400 Bad Request
{
"resourceType": "OperationOutcome",
"id": "ac-1e-ce-12-85028320-9037-4d8f-b945-20fb16e318e0",
"issue": [
{
"severity": "fatal",
"code": "not-supported",
"_code": {
"extension": [
{
"url": "http://ibm.com/fhir/extension/not-supported-detail",
"valueCode": "interaction"
}
]
},
"details": {
"text": "Modifier 'missing' is not yet supported for chained parameters [code=subject]"
}
}
]
}


Loading Wav2Vec2-2-mBart Checkpoints for S2UT

❓ Questions and Help
What is your question?
Many thanks for uploading the fine-tuned model checkpoints for Enhanced Direct Speech-to-Speech Translation in the recent PR https://github.com/facebookresearch/fairseq/pull/4588.
Having downloaded the model weights from:
https://github.com/facebookresearch/fairseq/blob/main/examples/speech_to_speech/docs/enhanced_direct_s2st_discrete_units.md#finetuned-model-checkpoints
and the config file and vocabulary from from:
https://github.com/facebookresearch/fairseq/blob/main/examples/speech_to_speech/docs/enhanced_direct_s2st_discrete_units.md#training
as config_xm_T_1003.yaml and dict_1003_unitmbart.txt respectively, how does one load the pre-trained model?
What have you tried?
First try with the from_pretrained method:
from fairseq.models.speech_to_speech import S2UTConformerModel
model = S2UTConformerModel.from_pretrained(
    "/Users/sanchitgandhi/Downloads",
    checkpoint_file="w2v2_mbart_LND_w_ASR.pt",
    task="speech_to_text",
    )

 `FileNotFoundError`
----> 1 model = S2UTConformerModel.from_pretrained("/Users/sanchitgandhi/Downloads", checkpoint_file="w2v2_mbart_LND_w_ASR.pt", task="speech_to_text")

File ~/fairseq/fairseq/models/fairseq_model.py:267, in BaseFairseqModel.from_pretrained(cls, model_name_or_path, checkpoint_file, data_name_or_path, **kwargs)
    244 """
    245 Load a :class:`~fairseq.models.FairseqModel` from a pre-trained model
    246 file. Downloads and caches the pre-trained model file if needed.
   (...)
    263         model archive path.
    264 """
    265 from fairseq import hub_utils
--> 267 x = hub_utils.from_pretrained(
    268     model_name_or_path,
    269     checkpoint_file,
    270     data_name_or_path,
    271     archive_map=cls.hub_models(),
    272     **kwargs,
    273 )
    274 logger.info(x["args"])
    275 return hub_utils.GeneratorHubInterface(x["args"], x["task"], x["models"])

File ~/fairseq/fairseq/hub_utils.py:73, in from_pretrained(model_name_or_path, checkpoint_file, data_name_or_path, archive_map, **kwargs)
     70 if "user_dir" in kwargs:
     71     utils.import_user_module(argparse.Namespace(user_dir=kwargs["user_dir"]))
---> 73 models, args, task = checkpoint_utils.load_model_ensemble_and_task(
     74     [os.path.join(model_path, cpt) for cpt in checkpoint_file.split(os.pathsep)],
     75     arg_overrides=kwargs,
     76 )
     78 return {
     79     "args": args,
     80     "task": task,
     81     "models": models,
     82 }

File ~/fairseq/fairseq/checkpoint_utils.py:473, in load_model_ensemble_and_task(filenames, arg_overrides, task, strict, suffix, num_shards, state)
    471 argspec = inspect.getfullargspec(task.build_model)
    472 if "from_checkpoint" in argspec.args:
--> 473     model = task.build_model(cfg.model, from_checkpoint=True)
    474 else:
    475     model = task.build_model(cfg.model)

File ~/fairseq/fairseq/tasks/speech_to_text.py:129, in SpeechToTextTask.build_model(self, args, from_checkpoint)
    127 args.input_channels = self.data_cfg.input_channels
    128 args.speaker_to_id = self.speaker_to_id
--> 129 return super(SpeechToTextTask, self).build_model(args, from_checkpoint)

File ~/fairseq/fairseq/tasks/fairseq_task.py:676, in LegacyFairseqTask.build_model(self, args, from_checkpoint)
    664 """
    665 Build the :class:`~fairseq.models.BaseFairseqModel` instance for this
    666 task.
   (...)
    672     a :class:`~fairseq.models.BaseFairseqModel` instance
    673 """
    674 from fairseq import models, quantization_utils
--> 676 model = models.build_model(args, self, from_checkpoint)
    677 model = quantization_utils.quantize_model_scalar(model, args)
    678 return model

File ~/fairseq/fairseq/models/__init__.py:106, in build_model(cfg, task, from_checkpoint)
     98             ARCH_CONFIG_REGISTRY[model_type](cfg)
    100 assert model is not None, (
    101     f"Could not infer model type from {cfg}. "
    102     "Available models: {}".format(MODEL_DATACLASS_REGISTRY.keys())
    103     + f" Requested model type: {model_type}"
    104 )
--> 106 return model.build_model(cfg, task)

File ~/fairseq/fairseq/models/speech_to_text/xm_transformer.py:609, in XMTransformerModel.build_model(cls, args, task)
    607 base_architecture(args)
    608 if getattr(args, "load_pretrained_decoder_from", None):
--> 609     ckpt = torch.load(getattr(args, "load_pretrained_decoder_from", None))
    610     decoder_args_dict = cls.get_decoder_args_from_checkpoint(ckpt["cfg"])
    611     args = cls.override_decoder_args(args, decoder_args_dict)

File ~/venv/lib/python3.8/site-packages/torch/serialization.py:709, in load(f, map_location, pickle_module, **pickle_load_args)
    706 if 'encoding' not in pickle_load_args.keys():
    707     pickle_load_args['encoding'] = 'utf-8'
--> 709 with _open_file_like(f, 'rb') as opened_file:
    710     if _is_zipfile(opened_file):
    711         # The zipfile reader is going to advance the current file position.
    712         # If we want to actually tail call to torch.jit.load, we need to
    713         # reset back to the original position.
    714         orig_position = opened_file.tell()

File ~/venv/lib/python3.8/site-packages/torch/serialization.py:240, in _open_file_like(name_or_buffer, mode)
    238 def _open_file_like(name_or_buffer, mode):
    239     if _is_path(name_or_buffer):
--> 240         return _open_file(name_or_buffer, mode)
    241     else:
    242         if 'w' in mode:

File ~/venv/lib/python3.8/site-packages/torch/serialization.py:221, in _open_file.__init__(self, name, mode)
    220 def __init__(self, name, mode):
--> 221     super(_open_file, self).__init__(open(name, mode))

FileNotFoundError: [Errno 2] No such file or directory: '/checkpoint/pipibjc/u2u/umbart/interspeech/vp_ll.tr.lgtkn.en_es.mbart_large.alp0.7.bmeos.tps1020.mt1024.uf9.sh_tr.sh.ms128.enb.dnb.dr0.1.atdr0.1.actdr0.0.wd0.01.adam.eps1e-06.cl0.1.lr0.0003.wrm10000.fp16.lam10.mask0.3.rl1.rot0.mrnd0.1.ins0.pers1.0.seed2.ngpu64/checkpoint_42_500000.pt'

Try instead checkpoint_utils.load_model_ensemble_and_task:
import fairseq

cp = "/Users/sanchitgandhi/Downloads/w2v2_mbart_LND_w_ASR.pt"
model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([cp], arg_overrides={"data": "/Users/sanchitgandhi/Downloads/", "task": "speech_to_text"})

 `FileNotFoundError`
----> 1 model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([cp], arg_overrides={"data": "/Users/sanchitgandhi/Downloads/", "task":"speech_to_text"})

File ~/fairseq/fairseq/checkpoint_utils.py:473, in load_model_ensemble_and_task(filenames, arg_overrides, task, strict, suffix, num_shards, state)
    471 argspec = inspect.getfullargspec(task.build_model)
    472 if "from_checkpoint" in argspec.args:
--> 473     model = task.build_model(cfg.model, from_checkpoint=True)
    474 else:
    475     model = task.build_model(cfg.model)

File ~/fairseq/fairseq/tasks/speech_to_text.py:129, in SpeechToTextTask.build_model(self, args, from_checkpoint)
    127 args.input_channels = self.data_cfg.input_channels
    128 args.speaker_to_id = self.speaker_to_id
--> 129 return super(SpeechToTextTask, self).build_model(args, from_checkpoint)

File ~/fairseq/fairseq/tasks/fairseq_task.py:676, in LegacyFairseqTask.build_model(self, args, from_checkpoint)
    664 """
    665 Build the :class:`~fairseq.models.BaseFairseqModel` instance for this
    666 task.
   (...)
    672     a :class:`~fairseq.models.BaseFairseqModel` instance
    673 """
    674 from fairseq import models, quantization_utils
--> 676 model = models.build_model(args, self, from_checkpoint)
    677 model = quantization_utils.quantize_model_scalar(model, args)
    678 return model

File ~/fairseq/fairseq/models/__init__.py:106, in build_model(cfg, task, from_checkpoint)
     98             ARCH_CONFIG_REGISTRY[model_type](cfg)
    100 assert model is not None, (
    101     f"Could not infer model type from {cfg}. "
    102     "Available models: {}".format(MODEL_DATACLASS_REGISTRY.keys())
    103     + f" Requested model type: {model_type}"
    104 )
--> 106 return model.build_model(cfg, task)

File ~/fairseq/fairseq/models/speech_to_text/xm_transformer.py:609, in XMTransformerModel.build_model(cls, args, task)
    607 base_architecture(args)
    608 if getattr(args, "load_pretrained_decoder_from", None):
--> 609     ckpt = torch.load(getattr(args, "load_pretrained_decoder_from", None))
    610     decoder_args_dict = cls.get_decoder_args_from_checkpoint(ckpt["cfg"])
    611     args = cls.override_decoder_args(args, decoder_args_dict)

File ~/venv/lib/python3.8/site-packages/torch/serialization.py:709, in load(f, map_location, pickle_module, **pickle_load_args)
    706 if 'encoding' not in pickle_load_args.keys():
    707     pickle_load_args['encoding'] = 'utf-8'
--> 709 with _open_file_like(f, 'rb') as opened_file:
    710     if _is_zipfile(opened_file):
    711         # The zipfile reader is going to advance the current file position.
    712         # If we want to actually tail call to torch.jit.load, we need to
    713         # reset back to the original position.
    714         orig_position = opened_file.tell()

File ~/venv/lib/python3.8/site-packages/torch/serialization.py:240, in _open_file_like(name_or_buffer, mode)
    238 def _open_file_like(name_or_buffer, mode):
    239     if _is_path(name_or_buffer):
--> 240         return _open_file(name_or_buffer, mode)
    241     else:
    242         if 'w' in mode:

File ~/venv/lib/python3.8/site-packages/torch/serialization.py:221, in _open_file.__init__(self, name, mode)
    220 def __init__(self, name, mode):
--> 221     super(_open_file, self).__init__(open(name, mode))

FileNotFoundError: [Errno 2] No such file or directory: '/checkpoint/pipibjc/u2u/umbart/interspeech/vp_ll.tr.lgtkn.en_es.mbart_large.alp0.7.bmeos.tps1020.mt1024.uf9.sh_tr.sh.ms128.enb.dnb.dr0.1.atdr0.1.actdr0.0.wd0.01.adam.eps1e-06.cl0.1.lr0.0003.wrm10000.fp16.lam10.mask0.3.rl1.rot0.mrnd0.1.ins0.pers1.0.seed2.ngpu64/checkpoint_42_500000.pt'

It would seem as though an additional file is required, under the name:
/checkpoint/pipibjc/u2u/umbart/interspeech/vp_ll.tr.lgtkn.en_es.mbart_large.alp0.7.bmeos.tps1020.mt1024.uf9.sh_tr.sh.ms128.enb.dnb.dr0.1.atdr0.1.actdr0.0.wd0.01.adam.eps1e-06.cl0.1.lr0.0003.wrm10000.fp16.lam10.mask0.3.rl1.rot0.mrnd0.1.ins0.pers1.0.seed2.ngpu64/checkpoint_42_500000.pt

What's your environment?

fairseq Version (e.g., 1.0 or main): main
PyTorch Version (e.g., 1.0): 1.13.0
OS (e.g., Linux): MacOS, Linux
How you installed fairseq (pip, source): source
Build command you used (if compiling from source): https://github.com/facebookresearch/fairseq#requirements-and-installation
Python version: 3.8.9
CUDA/cuDNN version: -
GPU models and configuration: -
Any other relevant information: -

cc @sravyapopuri388

Hi, thanks for reaching out. Seems like the issue is with missing pretrained models. A quick fix is to update the paths in the checkpoint. You can update the w2v_path in the encoder to your local path and can set the load_pretrained_decoder_from to None. You can do something like
model = torch.load(MODEL_PATH)
state = model["cfg"]["model"]
state.w2v_path = W2V_PATH
state.load_pretrained_decoder_from = None

Hi @sravyapopuri388, thanks for your prompt response!
To confirm, the w2v_path should be set to the local path? I've set this accordingly and saved the model to a new path. How does one then load the pre-trained model? I've tried:
import torch
from fairseq.models.speech_to_speech import S2UTConformerModel

model = torch.load(MODEL_PATH)

model["cfg"]["model"].w2v_path = MODEL_PATH
model["cfg"]["model"].load_pretrained_decoder_from = None

torch.save(model, NEW_MODEL_PATH)

fairseq_model = S2UTConformerModel.from_pretrained(
    NEW_MODEL_PATH,
    checkpoint_file="w2v2_mbart_LND_w_ASR.pt",
    task="speech_to_text",
    )

But am encountering the same error as before:
FileNotFoundError: [Errno 2] No such file or directory: '/checkpoint/pipibjc/u2u/umbart/interspeech/vp_ll.tr.lgtkn.en_es.mbart_large.alp0.7.bmeos.tps1020.mt1024.uf9.sh_tr.sh.ms128.enb.dnb.dr0.1.atdr0.1.actdr0.0.wd0.01.adam.eps1e-06.cl0.1.lr0.0003.wrm10000.fp16.lam10.mask0.3.rl1.rot0.mrnd0.1.ins0.pers1.0.seed2.ngpu64/checkpoint_42_500000.pt'

@sanchit-gandhi
You have to change w2v_path into a model with load_pretrained_decoder_from=None, i.e. the NEW_MODEL_PATH? (even it does not exist when assgiend)
I believe It is because w2v_path=(the bugged  w2v2_mbart_LND_w_ASR.pt) causes the program to load the old w2v again, which has the load_pretrained_decoder_from refers to a non-existing checkpoint.

Thanks @gmryu! I've changed as suggested, and also updated the config_yaml path as this was hardcoded to a local path too.
Now, I'm not getting any errors when loading the model, but the python process is 'killed' during execution (after ~30s). Were you able to load the pre-trained checkpoint? If so, would you mind sharing your code, even as a direct copy and paste with your absolute paths :)

Hi Sanchit, thanks for your patience. Could you updating the w2v_path in w2v2_mbart_LND_w_ASR.pt state with the original W2v model state. More like
import torch
from omegaconf import OmegaConf
from fairseq.dataclass.utils import convert_namespace_to_omegaconf

MODEL_PATH = Path/to/checkpoint
W2V_PATH = Path/to/w2v2/model
NEW_MODEL_PATH = Path/to/updated/model

model = torch.load(MODEL_PATH)
w2v = torch.load(W2V_PATH)
w2v_args = OmegaConf.create(w2v["cfg"])

state = model["cfg"]["model"]
state.w2v_path = None
state.load_pretrained_decoder_from = None
state.w2v_args = w2v_args

torch.save(model, NEW_MODEL_PATH)

Please let me know if this doesn't work in which case I will update the checkpoints on my end before sharing

Hey @sravyapopuri388, thanks for getting back to me! I actually went in and 'hardcoded' all the paths in the fairseq repo just to cover all grounds. The erroneous path issue seems to be resolved. I'm now attempting to load the checkpoint; given it's size (~10GB) I've been attempting this on a big CPU machine. Will let you know if there are any further issues!

Hi @sravyapopuri388! Thanks for the help. Overriding the W2V2 paths fixed the issue with loading the model. Just to confirm, to run the model correctly, no other changes are needed when instantiating the S2UT model, i.e. the decoder path can be left unchanged?

Hi @sanchit-gandhi  yes the output feature dimension size looks correct to me. Just overriding the w2v_args argument with the args from original w2v2 model and setting the load_pretrained_decoder_from path to None to avoid errors should work and no other changes are required. Please let me know if you encounter any other issues. Thanks!

Okay brilliant, thanks @sravyapopuri388! Closing this as the model can be correctly loaded with the aforementioned w2v_args +  load_pretrained_decoder_from  tricks.


A Lot Of Minecraft Dungeons Weapons Are Missing! (At Most)

bubble bow, bubble burster, twisting vine bow, weeping vine bow, mechanized sawblade, void bow, call of the void, phantom bow, web bow, pride of the piglins, cog crossbow, spell bound crossbows, shadow crossbow, veiled crossbow, and a lot more!

this is not a bug, the mod is not feature complete so all the items are not implemented yet

Which version of the mod is this? Many of them were definitely added in builds made for newer Minecraft versions.

1.16.5, because of an older mod i used to play with

if you want to try out that mod, go to this page. https://legacy.curseforge.com/minecraft/mc-mods/timeless-and-classic-guns-tac

1.19.2 version of minecraft has a horrible bug, so can you port it to 1.20.2?

1.16.5, because of an older mod i used to play with

Okay, well unfortunately, I no longer work on older versions of any of my mods as a policy (I do accept PRs made by others, for backports). The newer content added in newer versions will not be added to 1.16.5 anytime by me.

already transitioned not that long ago, to 1.20.1


docker trust logs are lacking and can be verbose and not useful.

Problem
The docker trust logs are lacking and can be verbose and not useful.
Solution
Review the logging calls in https://github.com/docker/docker/tree/master/trust and use our standard log package github.com/Sirupsen/logrus to make meaningful log messages.
It could be helpful to remove all existing log calls and then go through and log meaning requests, warnings, errors, and debug messages for the API.

Trust is gone.


Mecanum robot Y velocity issue

The robot should move left when given positive Y velocity but instead it moves right and also other way around. Why velocity in Y is reversed.

@Razbotics can you check if your mecanum wheels is in the same orientation as this? https://github.com/linorobot/lino_docs/raw/master/imgs/wiki/2-5.png

Thanks for the info indeed it was reversed


Misleading documentation of "either" and "both" methods. They can return not only functions

Documentation said about the "either" method:
"Returns function a function that applies its arguments to f and g and ||s their outputs together."
But the method returns not only a function, but any applicative functor of corresponded type. Example:
either(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(55)
either([false, false, 'a'], [11]) // => [11, 11, "a"]
This description may mislead.
Same about the "both" method

agreed, would you be willing to submit a PR to update the docs?

hey, here is a fix for that: https://github.com/ramda/ramda/pull/2373

Hello @buzzdecafe!
I guess this issue can be closed now.


author submissions: add author accept curate action

ref: cern-sis/issues-inspire/issues/529

Fixes https://github.com/cern-sis/issues-inspire/issues/529

failing test is fixed once repo is on main


Updated miromico insight with new decoder and added insight lux

Needs a bit more time in the oven. There are some new requirements


Is there any event like onmouseup

I want to merge selected cell on release of fill handle. Is there any such event that I can use?

No, but you can include an external event to handle that.


Examples combining multiple files

Are you able to provide more examples of combining and working with multiple netcdf files. All of the examples appear to be working with the one netcdf file.
I would like to create time series plots and spatial plots of anomalies of climate data for hundreds of netcdf files separated by month.
I must admit I am not very experienced but I think xray may be a better option than how I have been processing netcdf files in the past.
Thanks

Have you tried xray.open_mfdataset? All of the examples should work the same with a dataset loaded with that function as from a single file.
In your case, something like the following should work:
# load data
ds = xray.open_mfdataset('path/to/my/files/*.nc')

# calculate anomalies
clim = ds.groupby('time.month').mean('time')
anom = ds.groupby('time.month') - clim

# plot anomalies over time
# (in practice, would probably want to use .sel here to do
# labeled lookups)
anom.temperature.isel(x=0, y=0).to_pandas().plot()
# plot anomalies over space
plt.imshow(anom.temperature.isel(time=0).values)

Plotting is currently not so easy as it should be with xray (hence why you see me exporting everything to pandas), but that's something we plan to start work on very soon.

That is actually an excellent demonstration of the power of xray for climate data analysis, @shoyer.
Something like this (including the pandas bridge) should be included in the documentation somewhere, for example under Why xray?.
Just a thought...

@j08lue good idea! Right now that page is mostly targeted at non-climate scientists, but it would be nice to include an example for climate scientists, too.


Please invite me to the community

Name
StylishAii
Additional Context
I would like to join this project and contribute a little with my skills.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈


FR: Return UserOpReceipt after waiting for UserOpTransaction

Is your feature request related to a problem? Please describe.
I'd like to be able to check the userOpReceipt after waiting for the transaction. Instead of having to call eth_getUserOperationReceipt the receipt could be returned as well since its already queried.
Describe the solution you would like
Im happy to put in a PR for this since I have the patch using patch-patch but thought I'd hold off to see if its even something you'd consider. I would like access to the entire userOpReceipt so that I can check the status code of the innerOp and handle successful transactions reverting inner userOps. As a general improvement I am wondering why the entire txn payload is not returned since then you can do a lot more with it.
Describe alternatives you have considered
I could query eth_getUserOperationReceipt but it adds unnecessary latency.
Additional context
waitForUserOperationTransaction already has queried the receipt I just thought it makes sense to return it alongside the txn.

oh I knew there was something we meant to include in the v4 changes and it was this exact change!
Unfortunately, changing the API for waitForUserOperationTransaction would make this a breaking change. something we could do is add another action on the client called waitForUserOperationReceipt which would allow you to do this more easily. Happy to accept a PR for this if you've already got something!


feat(react-dom): add InView, useInView

related with #1071
Overview

PR Checklist

[x] I did below actions if need

I read the Contributing Guide
I added documents and tests.

coauthors test

Codecov Report
Attention: Patch coverage is 99.27007% with 1 line in your changes missing coverage. Please review.

Project coverage is 75.50%. Comparing base (fb05601) to head (b369b1f).

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1184      +/-   ##
==========================================
+ Coverage   70.57%   75.50%   +4.92%
==========================================
  Files          70       72       +2
  Lines         656      792     +136
  Branches      132      171      +39
==========================================
+ Hits          463      598     +135
- Misses        171      172       +1
  Partials       22       22

Components
Coverage Δ

@suspensive/utils
47.16% <ø> (ø)

@suspensive/react
100.00% <ø> (ø)

@suspensive/react-dom
99.27% <99.27%> (-0.73%)
:arrow_down:

@suspensive/react-native
100.00% <ø> (ø)

@suspensive/react-query
72.09% <ø> (ø)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/react-query-next-experimental
∅ <ø> (∅)

@suspensive/react-query-next-experimental-4
6.15% <ø> (ø)

@suspensive/jotai
0.00% <ø> (ø)

@suspensive/cache
98.01% <ø> (ø)

@suspensive/react-image
80.39% <ø> (ø)

This is quite big change. Could I request this Pull Request you guys? @gwansikk @kangju2000 @bigsaigon333 @SEOKKAMONI


[4.0] Static exclusivity diagnostics handling of non-escaping closures passed as blocks.

CCC Info:
Explanation: Static exclusivity diagnostics and its supporting analysis whitelist SIL patterns to ensure the diagnostic is sound. This needed to be expanded to handle the unusual case of nested non-escaping closures passed as blocks.
Scope of Issue: This broadens an assert that was recently added on the 4.0 branch. It avoids compiler crashes caused by that assert.
Radar: rdar://problem/32928233 [Exclusivity] Fix static diagnostics to handle non-escaping '@convention(block)' arguments.
Risk: This change strictly decreases risk of compiler crashes. The risk is that code that breaks the exclusivity model could now pass diagnostics, but this possibility is almost inconceivable.
Testing: All usual tests on swift-4.0-branch. Benchmarks. Source compatibility. Other.

@swift-ci test.

@swift-ci Test Source Compatibility.

@devincoughlin I think you already reviewed these. Can you stamp this PR for CCC?


go/build: Build API

Proposal: Add a build API for building Go program in go/build.

Context: `go build` and `go test` use an internal build API to build a Go program
(http://golang.org/src/cmd/go/build.go?#L359). It'd be nice that the API is available to
third party software as well. Google Group discussion is here
(https://groups.google.com/forum/#!topic/golang-nuts/0FBoVbLyfkw).

Use Case: `gotask` (https://github.com/jingweno/gotask) adopts similar approach as `go
test` to write and run task functions. Similar to how `go test` compiles and run test
functions, `gotask` compiles task functions on the fly and run them. The difference is
`go test` uses an internal build API (http://golang.org/src/cmd/go/build.go?#L359) while
`gotask` uses the `go build` command. I'm wondering if it makes sense to add a new build
API for building Go program in go/build so that 3rd party software can make use of.

Thanks,
Owen

This is essentially #15108. This issue is older, but the other one has more discussion. Closing here.


Can't turn off sound after the recent update

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 11
Bug description
Hi,
As mentioned in the title, there seems to be a problem with adjusting sound in runelite since the recent update, and I'd thought I'd let you know!
Thank you for your service!
Screenshots or videos
https://github.com/runelite/runelite/assets/133117199/7187b7e6-cb36-4d40-accd-60361985f273
RuneLite version
Runelite version: <IP_ADDRESS>
OS revision: Rev 213
Launcher version: 2.6.2
Logs
No response

Restart your client.


NIFI-11779 - Override endpoint in PutBigQuery

Summary
NIFI-11779 - Override endpoint in PutBigQuery
Similarly to NIFI-11439 we should provide the option to override the endpoint in the PutBigQuery processor so that a user can specify a private endpoint. For example, something like: https://mybigquery.p.googleapis.com/
See #7172
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

+1 LGTM, thanks for the improvement! Merging to support/nifi-1.x and main


Add view and helper spec helpers

This adds:

a page method for use in view specs to allow for Capybara matcher
use (including have_css and have_link)
a stub_current_user helper for view and helper specs

:+1:

Whoa, neat: https://github.com/jnicklas/capybara/pull/1533

Looks good to me.

@joshuaclayton do we still need this PR?

@tute nope, I'll close it; thanks everyone!


typo fix

idk what to write

workflow is failing please fix your changes

wdym? I just changed one character


portconfigure.tcl - set sdk to "/" if that's what we're using

leaving it as an empty string causes each individual port
to check whether it is empty and set it to "/" if so
closes: https://trac.macports.org/ticket/59798

This breaks usage to construct paths like ${configure.sdkroot}/usr/include/foo.h. I would suggest a new variable to avoid breaking API.

Ah -- I knew there had to be some reason this was being left as an empty string, but I could not see what it was :>

it seemed to be working -- I guess the OS accepts that construction, at least sometimes :
$ ls -la //usr/lib/libc++.dylib
lrwxr-xr-x  1 root  wheel  14 25 Sep  2018 //usr/lib/libc++.dylib -> libc++.1.dylib

And almost every portfile does set it to "/" if it's empty, I notice -- must be dozens of them doing that -- almost every portfile that uses configure.sdkroot has to do it.
I will see if I can find where a new variable might happily exist.

Don't forget this is used in base as well.

And almost every portfile does set it to "/" if it's empty, I notice -- must be dozens of them doing that -- almost every portfile that uses configure.sdkroot has to do it.

I just had a look and it seems like there are more that don't set it to / when it's empty.

I will admit never actually counting them -- just fixing the broken ones.
I actually could not find a lot of uses of this in base.
So -- close this I guess, then, and we can fix it later on when Marcus gets around to it? I don't see a lot of point to adding another variable, as it is configure.sdkroot that we are having trouble with.

I might as well leave this open, as it needs to be fixed.


fixing columns some times not populating when opening a table.

Adding a message indicator if no columns are loaded and fixing columns some times not populating when opening a table.

@SeNaSa231 what's up with this compilation issue?

Should be fixed now @PauliusKu .


Set a Default non event state for the Dev Site to return the home page to after an event concludes

Issue
On many occasions an event we promote on the Dev Site ends and we forget to revert the home page back to a non-event state. This issue could resolve by be able to set  the home page back to a default non-event state manually so an event planner like @jaesius  could easily revert the page back to original non-event state.
BONUS IDEA: could we automate this with a GH ACTION so it would revert after an event ends?
Example revert PR
https://github.com/newrelic/developer-website/pull/1380
Acceptance Criteria

[ ] this solution needs a design decision to made so we provide a  default non-event state, currently we use the Terraform home page a lot, but this is oddly specific. 🤨
[ ] idea Implement an home page event as a component that can easily be added to the home page  so we can quickly swap this out as needed.
[ ] Build a non-event home page component that offers the default state of the home page in the top section of the site. This can quickly be used to revert the home page after an event.
[ ] Document how this component is used in theDev Site Component Guide
[ ] If we decide to automate this setup a GH action to make the change based on a time interval

Mock Up
A component for this would contain the following elements:

given our direction to merge dev into docs this isn't needed. closing


[Adaptive] Support telemetry client in adaptive dialog

This item tracks work to add support for telemetry client in adaptive dialog

https://github.com/daveta/analytics/blob/master/adaptive/README.md

@tomlm, this is a P0 R8 bug. Can you please update the thread?

Spoke with @vishwacsena and I am happy to pick this up with the other telemetry work. Makes sense to tackle them as a group.

Cool, a couple of thoughts

TelemetryLoggerMiddleware should add  IBotTelemetryClient to context.TurnState.Add() so it is available to any component via Context.TurnState.Get()
We should consider instrumenting DialogContext.BeginDialog() EndDialg() etc. as that would give us telemetry for all dialogs regardless if they add additional telemetry or not.
I don't know if we are going to be able to log all instance properties of a declarative dialog, as they can be complex and also expressions.  Thoughts?

@tomlm Thanks.

Sounds sensible - all being well it will be the new abstract class as opposed to IBotTelemetryClient, depending on feedback on my open PR for enabling page views (https://github.com/microsoft/botbuilder-dotnet/pull/3440)

I think this will make sense for some events. i.e. the new page views event we will have once we figure out the other PR. We probably still need to have tracking code in AdaptiveDialog / WaterfallDialog though as we track specific events for adaptive vs waterfall.

I haven't dug into the adaptive bits much yet - so I will comment on that as I get into it tomorrow.

Closing as P0 functionality has now been merged.


Replace Mailhog with custom SMTP server

I don't like docker containers. They are slow. So, no point in adding an additional mailhog container when we can simply run a custom SMTP server inside our CLI for email testing.
Using this library: https://github.com/mhale/smtpd#example
Only problem is, having a UI to present received emails on. But initially for testing, we can spawn new browser tabs to show received HTML emails.

I'm closing this issue, because it's not high priority for us right now. I'll re-open it if we start working on this again.


no such var: executor

In a very simple setup, I try to start an aleph server without quitting immediately. This has been addressed in this issue. However, when I try this solution, I have to use aleph 0.4.2-alpha6, and when I do so, I get this error when starting:
clojure.lang.ExceptionInfo: No such var: executor/with-executor
    data: {:file "aleph/http.clj", :line 203}
java.lang.RuntimeException: No such var: executor/with-executor

My code:
(ns myproject
  (:require [aleph.http :as http]
            [bidi.ring :refer [make-handler} :as bidi]
            ...)
...
(defn -main [& args]
  (http/start-server
    (bidi/make-handler api)
    {:port 3000}))

Are you explicitly specifying your own version of Manifold?  That macro is only available in the latest version.

yes... well, I use yada, and manifold is included in that one. I excluded [manifold "0.1.4"] from yada and added [manifold "0.1.5"]. Seems to work now... Thx!
  :dependencies ...
    [yada "1.1.29" :exclusions [manifold]]
    [manifold "0.1.5"]


Unable to invoke create on AgoraRtcEngine Error occurred "Access denied finding property "net.dns1""

Unable to invoke create AgoraRtcEngine instance following error occurred
RTC Engine version:
agora_rtc_engine: ^1.0.12
Error while executing line
await AgoraRtcEngine.create("AGORA_APP_ID");
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/apk/debug/app-debug.apk.
Debug service listening on ws://<IP_ADDRESS>:43061/dL_wOeaJMg0=/ws
Syncing files to device Android SDK built for x86...
D/EGL_emulation( 6315): eglMakeCurrent: 0xdc1f0640: ver 2 0 (tinfo 0xe0be0b20)
I/flutter ( 6315): initiating state
I/flutter ( 6315): {Permission.camera: PermissionStatus.granted, Permission.microphone: PermissionStatus.granted}
W/Settings( 6315): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
E/BluetoothAdapter( 6315): Bluetooth binder is null
E/libc    ( 6315): Access denied finding property "net.dns1"
E/libc    ( 6315): Access denied finding property "net.dns1"
E/libc    ( 6315): Access denied finding property "net.dns2"
E/libc    ( 6315): Access denied finding property "net.dns2"
E/libc    ( 6315): Access denied finding property "net.dns3"
E/libc    ( 6315): Access denied finding property "net.dns4"
E/libc    ( 6315): Access denied finding property "net.dns3"
E/libc    ( 6315): Access denied finding property "net.dns4"

refer to https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart/issues/41#issuecomment-624979308

@ironynet
Fixed the problem by enclosing the code in try catch and ignoring the error, but is it a good approach to ignore the exception?
By the way, Thanks for the help and quick reply...


perf: Problem in USB Debugging

From @rizvanhaider on June 2, 2015 15:19
Type: perf
Platform: android 4.1 webview
Hi! you are working great!
I am getting a problem after my new installation of window and up-gradation of ionic+cordova. When I run the command [ionic run android] to debug the app directly with device it does not installs the app on the device but the command prompt shows the message that launch successful but actually the app is not installed.
I can only test the app by manually copying and installing of .apk file from the platforms\android\build\outputs\apk directory to my phone.

.

Copied from original issue: driftyco/ionic#3876

From @rizvanhaider on June 2, 2015 18:25
having still same issu... :(

Can you try ionic run android --device

Could you provide the output of ionic info

From @rizvanhaider on June 3, 2015 11:5
Following is the ionic info

I recognized that this is the problem with cordova-cli, any suggestion that how to deal with this problem now?

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.


[No merge] API updated proposal

The goal of this PR is not to be merged but to serve as a support for updates to the EntityRef API contract.
The main point is the way create, fetchEntity and destroy interact between each others or when invoked concurrently.

Were you going to add the blocking versions of any of these calls, at this point, or were we going to first figure out the cases where those actually make sense and see if we even want them?

@jd0-sag I was thinking about addressing what we identified as needed through Ehcache development. As @myronkscott mentioned, the client can use non-blocking ops to perform a blocking one.

I believe there is agreement on this proposal and thus it could be merged.
The only question is whether the creation of an issue that could be referenced from downstream repositories when implementing / adapting to the changes proposed here bring anything vs. a reference to the PR itself.

My thinking is that they could reference the PR, directly, since it already has the context of the discussion.  The commit and PR should probably be named in terms of their conclusive changes, though.

@jd0-sag Given your comment, realised that having an issue is better as it allows the commit to reference it as having it reference its PR would be weird.
Also updated the commit comment and that PR title to match.

Closed by #141 (a rebased version of this same commit)


Offical way to add sponser chanel

hi all dears
today telegram created mtpro bot for server managers
just send your proxy to this bot and add your chanel
sorry for bad english
@MTProxybot

Yes, but it's not enough. On proxy server side need to send proxy tag provided by this bot. I hope it will be added soon to all implementations of mtproxy

we will hope you add this

duplicate #7

Hello Guys.
I found One Official Way To Add Your Sponser Channel.

 Enjoy It From This Tutorial 😘❤

Take a look at MTProtoProxy-npm or MTProtoProxy-github. Using the npm package you can add sponsor channel.


Improve README of initializer

I believe there are things that are missing in the README of the project initialised by the toolkit https://github.com/massalabs/massa-sc-toolkit/blob/main/packages/sc-project-initializer/commands/init/README.md. For instance it's not clear how to build and deploy other SCs than the main.ts. Also there are things that are hidden right now: the deploy command uses a SC to deploy the SC and so the main function will not be executed. I think this can be partly tackled in https://github.com/massalabs/massa-docs/issues/80 and refer to it.
Side note, in the README, constructor should point to the function in the code in the repo.
cc @Thykof

@qdrn does this PR solve this issue: #91 ?

I think this part is still not obvious: Also there are things that are hidden right now: the deploy command uses a SC to deploy the SC and so the main function will not be executed.. You don't necessarily have to tackle it here but I think it would be good to refer to docs.massa.net for more details (and put more details on docs.massa.net).

I have opened a PR to improve documentation about deployment process and create this follow up issue about the sc-deployer documentation itself: https://github.com/massalabs/massa-sc-toolkit/issues/99


Ensure a clear distinction between regular text and clickable links on the 500 error page.

Is your feature request related to a problem?
On the 500 error pages, all the text follows the same formatting, and there's also a clickable text with a link. However, it's often unclear that the text is actually clickable. To ensure clarity, it would be beneficial to establish a clear distinction between regular text and clickable text.
Describe the solution you would like
Would love to see a distinction between the regular and clickable text on the 500 error pages. On first look I was unsure it was clickable text or just normal text until I hovered the mouse over the text.
Describe alternatives you have considered
One effective approach could be assigning different font colors or font weights to these two types of text. This distinction in appearance would significantly improve the user experience and help users easily identify and interact with the relevant links.
Screenshots

Are there opened related issues?
No response

👋

maybe it would be a good time to better handle 4xx and 5xx visually, wyt @exezbcz

the pr is up, I will create issue for me to redesign the pages

continue in #6689


chore: fix first s3 migration step

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


Modify CONTRIBUTING guidelines based in-person discussions

Modifies the CONTRIBUTING.md file slightly to align with the front-end standards, back-end discussions, our team discussion in-person last week, and our "Building and Deploying" working document.
Additions

Adds some additional text about contributing to this repository.

Review
@cfpb/cfgov-platform
Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

:+1:

👍


Modified the application name -> Employee-HR-Bot[OABot], Resume-Bot[QABot] and add new applications -> Assessment-Generator[QABot], Interactive-Audiobook[VoiceBot], and Event-Planning-Assistant[QABot]

Description
These 5 application are part of DA program.
Employee-HR-Bot[QABot] - This will help the employee to solve the queries related to the HR department and organizational level. If the employee has any questions regarding HR.
Resume-Bot[QABot] - The app allows users to upload a PDF resume, ask questions related to the resume, and receive automated responses generated by the Lyzr QA bot which uses the RAG functionality.
Assessment-Generator[QABot] - The user can upload any textbook PDF, specify the subject and major topics, and instantly generate 10 insightful questions per topic using an AI-powered QA bot Agent from Lyzr SDK.
Interactive-Audiobook[VoiceBot] - Uses Lyzr's Voice bot agent to convert children's stories into interactive audiobooks. VoiceBot's Text-to-Speech function can narrate the text.
Event-Panning-Assistant[QABot] - This is built on a QABot Agent to answer attendee questions. Attendees could ask questions about schedules, locations, speakers, or logistics and the bot would answer using event information or connect them with organizers.

What: Changed the Application names and added three more applications.
Why: All these applications are part of the DA program.
How:
What type of PR is this?

[ ] :gift: New feature (non-breaking change which adds functionality)
[ ] :bug: Bug fix (non-breaking change which fixes an issue)
[ ] :bomb: Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] :memo: Documentation update
[ ] :art: Refactor or style update
[ ] :fire: Performance improvements
[ ] :white_check_mark: Test
[ ] :robot: Build
[ ] :repeat: CI, review, release, devops, chore, etc.

Added tests?

[ ] :ballot_box_with_check: Yes
[ ] :negative_squared_cross_mark: No, and this is why:
[ ] :question: No, because I need help.

How can this be tested?
Test A

Description:
Test Configuration:
Test Instructions:
Libraries:
Expected Result:

[optional] Are there any post-deployment tasks we need to perform?
Checklist:

[ ] :sunglasses: My code follows the style guidelines of this project.
[ ] :ballot_box_with_check: I have performed a self-review of my code.
[ ] :bookmark_tabs: I have commented my code, particularly in hard-to-understand areas.
[ ] :bookmark: I have made corresponding changes to the documentation.
[ ] :warning: My changes generate no new warnings.
[ ] :monocle_face: I have added tests that prove my fix is effective or that my feature works.
[ ] :white_check_mark: New and existing unit tests pass locally with my changes.
[ ] :link: Any dependent changes have been merged and published in downstream modules.

Required links:

Linear Issue:
Testing Notebook (Colab):
Code Documentation (Confluence):
User Documentation (Confluence):

Contributors:

Name 1
Name 2

Please review this PR
@praveenlyzr @patel-lyzr

I have added three more applications in this PR.


Mono/C#: Fix crash on exported games that don't use C#

Fixes #32980
The bug was happening on all platforms, hence why I'm not labelling android.

Thanks!


Enable timestamp field in the LogEntry template.

Release note:

This change is

/release-note-none


Feature/consistent scroll events

This implements #396

@nvh do we need docs updates for these?

Hmmm, I think so, let me check

The docs aren't incorrect, so this can be safely merged in. But they could be more specific about which events fire when.


About export_onnx!

Can the onnx model be converted to the result of the operator without adding tensorrt?

@PINTO0309 Are you interested！

I am interested in this repository, but have no plans to do anything with it at this time because the checkpoints are not open to the public.
By the way, I successfully completed CREStereo's TensorRT full mapping yesterday.
https://github.com/PINTO0309/PINTO_model_zoo/tree/main/284_CREStereo


feat: define MaxHistory for Helm releases

Defining the MaxHistory option during the rollback Helm action so that
the releases history is cleaned up accordingly.
Without this option the history would never been cleared which is
accumulating old configuration which can be harmful when a incorrect
rollback is applied. By cleaning up the history, we limit the potential
impact rolling back to a older version.

@surajssd
#1548  was opened for the same.
Can one of this be closed please.


Grouped low level components

This PR is a rebased version of #574 with only simple sublitutions of common low-level component launch code.

The tests keep failing because of https://github.com/ipa320/care-o-bot/issues/34

travis is happy now! thanks @ipa-mdl

I have implemented a little helper script to test the result: https://gist.github.com/ipa-mdl/66b14a895e13003a2f76e483bd00aa63

closing in favour of #583


Updated active_record/README.md with Rails initialization guidance

This pull request adds some additional context to the active_record/README.md for those looking to follow the general conventions on initialising Flipper. This is something that caught my team out in our continuous integration pipeline, so hopefully this is helpful to others that might be following the same pattern.

Hi thanks for caring and taking the time to update.
This only happens if you try to use Flipper prior to the migrations being run. I use flipper exactly as configured here without problems in CI. I’m not sure this is the correct thing to document. Perhaps it should document that using Flipper add, enable or disable would cause the problem you encountered?

Hi, that makes sense and happy to change the pull request to reflect. I'll get a change pushed up either today or over the weekend 👍.

@stuartmccoll I've setup a PR (https://github.com/jnunemaker/flipper/pull/462) that fixes failing tests, including those on this PR : )


Real32

Description
Single precision IEEE floating point numbers often have sufficient precision for many applications, and are used in many binary formats. Additionally, SML/NJ stores Real64.real values as pointers, and the 32-bit variant could potentially have an unboxed representation for additional speed and space savings (on 64-bit installations).
Half-precision IEEE floating point numbers can sometimes be useful as a binary storage format (ex. CBOR), and the 16-bit brain floating point format has support on some processors and is used in some AI applications. These are also options to support (at least for serialization/deserialization to Real64).
Real32 is currently supported by MLton, MLj, and SML.NET.

I plan to add 32-bit reals to the development version of SML/NJ.


Consider removing unused fields (like content_hash) from lock files

I suggest we remove content_hash and some other metadata fields from our implementation, since we are able to verify that a lock-file satisfies certain requirements without all this information anyway.
At the moment rattler_lock is slowly diverging from conda lock. At this point the two formats are no longer compatible anyway. I expect that in the future we'll diverge further anyway.
See https://github.com/conda/conda-lock/issues/432.

yeah I am fine with this. I think we could try to go through a CEP process for the lockfile at some point, and then maybe conda-lock can align themselves with our format.


Tunernome UI update

Description

Tuner has strings displayed behind the text.
Metronome has an actual metronome graphic now, with proper arm motion and a balance weight.
I still need to update the tuner LED and note text positions for the new hardware.
Test Instructions

Ticket Links

Readiness Checklist

[ ] I have run make format to format the changes
[ ] I have compiled the firmware and the changes have no warnings
[x] I have compiled the emulator and the changes have no warnings
[ ] I have run make cppcheck and checked that cppcheck_result.txt has no warnings for the changes
[ ] I have added doxygen comments to any code used by more than one Swadge mode. This includes /*! \file comments with Design Philosophy, Usage, and Example sections for new headers.
[ ] I have run make docs and checked that doxy_warnings.txt has no warnings for the new code

I still need to update the tuner LED and note text positions for the new hardware.

I'm assuming I should wait for this and not merge yet?
Also I fixed a bug in 25a96594c45a2f51edbd22933a2ae61e82ce31b8, so make sure to git pull before other changes. And remember to run make format too (I'm in the habit of doing that before committing)!


Add CPU profiling kwarg option to start_server

This feature is already in the master branch.

This is not in master yet. Everything regarding CPU profiling is now inside cpu-profiling branch.

Yes, I was mistaken. will close this.


Add no-op main class to SingularityServiceIntegrationTests

Sonatype needs a main jar file and associated javadocs for each module when releasing. Adding a no-op main class to solve this.
/cc @tpetr

LGTM, thanks


[Properties] Add platform prefixes for all properties

Can anybody test this: example/js-animation/index.js on Android and IE?

Tested with Sause Labs:

IE Edge works
Android 4.4 - Samsung Galaxy S4, Google Nexus does not. I think elements not being even rendered.


Code Checker: Art is not consistent

'Art Is not Consistent'  Artist is using hash to seed from our template: randomSeed(seed) and he is still getting this error.
Code:
hopa (1).zip
Where can the issue be?  I cannot review his code as Im not sure what Im looking for. @daiagi I added you as you are behinf the code-checker :)

findings:

this does not happen (wiht this art work at least) on Firefox - not much help, can't tell artists to use other browsers

this is a problem that has been raised before with @vikiival , here.
Base64 of visually same images, are not same => failing the test.

as a one off solution - can reassure the artists that this artwork is consistent (i checked it many times, it's ok)
as a more robust solution i offer we add a check mark to toggle the more intensive , image to image comparison
the idea is

pour both base64 onto canvases
convert to grey scale
compare pixel by pixel
declare ok if diff is within acceptable margin (95% same for example)

this solution was previously implemented here
@vikiival  waiting for you call on this

Honestly think that it could be implemented by art
https://github.com/vikiival/kodahash/issues/5

kodahash-main 10.zip
another artist (Reza Milani) most likely has the same issue. Just fyi

kodahash-main 10.zip another artist (Reza Milani) most likely has the same issue. Just fyi

Very Beautiful art
takes clearly longer then 3 seconds
but it is consistent

@daiagi
How about this: is it consistent? It's showing that it's not, but idk. Loading time is more than 3 secs but this is okay as the art is endless animation.

project.zip

After this
https://github.com/vikiival/kodahash/pull/6
Gets merged, we will be able to fix the problem easily.
Until then, did you look at it? @JustLuuuu ?
If it looks consistent, then it is

Gets merged,

It needs to be implemented by the artist anyway.

If it looks consistent, then it is

Have you tested the public.zip above ?

Have you tested the public.zip above ?

it's consistent


iob: add debug info

Summary
just for debug, don't need to submit.
Impact
Testing

Any idea:
  ae101b021f Merge 098996095b9ddca344d2bc235a000195b3d14295 into c60dd72a2a8bace64480c73bc824daf8bb9d41a1 098996095b iob: add debug info ../nuttx/tools/checkpatch.sh -u -m -g c60dd72a2a8bace64480c73bc824daf8bb9d41a1..HEAD Remove Gerrit Change-ID's before submitting upstream Error: Process completed with exit code 1.
Let me restart the jobs

This is not a CI issue, this is a failing lint check on the commit message.
That said it looks like this is not intended to be merged, it was to debug another open issue.

Any idea:
  ae101b021f Merge 098996095b9ddca344d2bc235a000195b3d14295 into c60dd72a2a8bace64480c73bc824daf8bb9d41a1 098996095b iob: add debug info ../nuttx/tools/checkpatch.sh -u -m -g c60dd72a2a8bace64480c73bc824daf8bb9d41a1..HEAD Remove Gerrit Change-ID's before submitting upstream Error: Process completed with exit code 1.
Let me restart the jobs

This is not a CI issue, this is a failing lint check on the commit message.
That said it looks like this is not intended to be merged, it was to debug another open issue.

Thank you Brennan for explanation!

@zhhyu7 may we  close it?


Make it possible to set the LDAP_BASE_DN via env

Pre-submission checklist:

[x] Did you explain what problem does this PR solve? Or what new features have been added?
[x] Have you updated the readme?
[x] Is this PR backward compatible? If it is not backward compatible, please discuss open a ticket first

This is backwards compatible, not setting the value means use the LDAP_DOMAIN - as it was before

I understand that there is this
LDAP_BASE_DN: Ldap base DN. If empty automatically set from LDAP_DOMAIN value. Defaults to (empty)

But i suppose having those differen (like we have) is not very unusual. Being able to setup them seperatly

After testing it a bit i came to the conlusion

this change is backwards compatible, means, that not setting the value, which is/was the default, will fallback to LDAP_DOMAIN which was the default, and is the default now
while setting the LDAP_BASE_DN is possible, there is a known glitch. Assuming one using foo.com as the LDAP_DOMAIN but dc=sub,dc=foo,dc=com as the LDAP_BASE_DN, the actual admin user is created under admin.foo.com, not admin.sub.foo.com`

After understanding my old setup i seem to have confused the LDAP_DOMAIN with the "expected domain the user connects to the ldap server", so basically i understood is as the exposed hostname when clients connect to the ldap server - but this is not the case, the server does not have such a field/header, the client has.
So in the end, i'am just able to switch the actual LDAP_DOMAIN to the LDAP_BASE_DN and thus ensure there is no glitching with the admin user.
Bottom line, offering this setting invites to probably a "flexible" setup, which i'am currently not aware why it would be needed, but it introduces the opportunity for suprising issues.
That said, form my POV, that PR should probably not get merged


Add hooks into the content

Hi! My client wanted to edit the html within the includes/widgets/wsl.users.gateway.php but there was no way to do so. It was actually just CSS, but the usual way recommended by WordPress (https://codex.wordpress.org/Customizing_the_Login_Form) does not work since this page is basically "isolated". I didn't have a choice except to edit the plugin file.
Please add action hooks within the html content. Thank you!

Hi there!
Interested to know how you went with this as I have a custom registration form that needs to be submitted which will create the user according to another specific plugin.
Are you able to assist me with a way to have this custom registration form completed during the login process prior to creation?
This would help us launch our site much better!
Are you in a position to help us?
Regards,
Robert Hunt


Analyze/warnings

Not critical obviously but always nice to have zero warnings in your project. When I analyze, I see 3 files with a few never-read warnings:
<root>/Pods/ZipArchive/ZipArchive.m:468:17: warning: Value stored to 'success' is never read
                success = NO;
                ^         ~~
<root>/Pods/ZipArchive/ZipArchive.m:478:17: warning: Value stored to 'success' is never read
                success = NO;
                ^         ~~
<root>/Pods/ZipArchive/ZipArchive.m:508:21: warning: Value stored to 'success' is never read
                    success = NO;
                    ^         ~~
<root>/Pods/ZipArchive/ZipArchive.m:524:21: warning: Value stored to 'success' is never read
                    success = NO;

<root>/Pods/ZipArchive/minizip/unzip.c:1107:9: warning: Value stored to 'lSeek' is never read
        lSeek+=file_info.size_file_comment - uSizeRead;
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<root>/Pods/ZipArchive/minizip/unzip.c:1110:9: warning: Value stored to 'lSeek' is never read
        lSeek+=file_info.size_file_comment;
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
<root>/Pods/ZipArchive/minizip/unzip.c:1543:9: warning: Value stored to 'err' is never read
        err=UNZ_BADZIPFILE;
        ^   ~~~~~~~~~~~~~~

<root>/Pods/ZipArchive/minizip/zip.c:1037:7: warning: Value stored to 'err' is never read
      err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (short)HeaderID,2);
      ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<root>/Pods/ZipArchive/minizip/zip.c:1038:7: warning: Value stored to 'err' is never read
      err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (short)DataSize,2);
      ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<root>/Pods/ZipArchive/minizip/zip.c:1040:7: warning: Value stored to 'err' is never read
      err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)UncompressedSize,8);
      ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<root>/Pods/ZipArchive/minizip/zip.c:1537:49: warning: Value stored to 'err' is never read
                                                err = ZIP_ERRNO;
                                                ^     ~~~~~~~~~
<root>/Pods/ZipArchive/minizip/zip.c:1682:9: warning: Value stored to 'p' is never read
        p += 8;
        ^    ~

+1
My project has 8 static analyser warnings just because of this lib.

There are a couple of changes in minizip repo, maybe adding that as a submodule to this would be better


Add stubs for unimplemented hostcalls

FYI (in order to avoid duplicated effort), the remaining hostcalls have been implemented. They are going to be merged to Lucet soon.

@jedisct1 great news!

I’m thinking, given that the implementation of the remaining hostcalls will land in lucet soon, perhaps it’d be good to refocus the efforts on streamlining the lib’s interface so that it could be reused in both lucet and wasmtime projects? I’d be happy to transfer the repo to CraneStation, and make any necessary changes to wasmtime (with @sunfishcode mentoring ofc), and obviously help out in lucet if need be.
In steps, I was thinking of such a plan of action:

Transfer repo to CraneStation
Agree on Rust safe interface to the lib (i.e., effectively getting rid of pointers in VmContext trait and making the hostcall impls safe)
3a. Create a branch in wasmtime that would use the lib thus replacing the majority of wasmtime-wasi functionality (l've done some preliminary work on that in my fork already but needs cleaning and would need to incorporate any changes agreed in 2.)
3b. Do the same in lucet

What do guys think @sunfishcode @acfoltzer @jedisct1?

I'm on board at a high level, but the design of the VmContext trait might be tricky. In particular, we recently landed a big change to our context interface that was needed in order to have simultaneous access to the WasiCtx and the instance heap without gross aliasing. Perhaps we can do something similar in the trait?

@acfoltzer sounds good. I’m actually aware of the PR you’ve linked to, and the current trait looks the way it does precisely because of those incompatibilities between lucet and wasmtime. This is not to say that I wouldn’t want to change it, in fact just the opposite since it’s just nasty with all the unsafes flying around. As I’ve mentioned above, I’d be happy to work on wasmtime in order to align both runtimes and hence this crate as much as possible (I’ve already made the first small step here CraneStation/wasmtime#138).
I reckon that if we could flesh out an interface that observes lucet’s approach in fastly/lucet#157, I could work on the necessary changes to wasmtime with some guidance from @sunfishcode. How does that sound to you guys?

@kubkon That sounds good to me. I don't yet have a clear picture for the interface here, but we can figure it out as we go. In the meantime, sure, we can merge this PR :-).

Sounds good to me as well!


Only 3 foreach() statements allowed in a method

If you have 4 or more foreach() statements in an method, the compiler has an error saying a dictionary key already exists.
Error: An item with the same key has already been added.    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add)    at Bridge.Translator.AbstractEmitterBlock.AddLocal(String name, AstType type)    at Bridge.Translator.ForeachBlock.VisitForeachStatement(Nullable1 replaceAwaiterByVar)
at Bridge.Translator.ForeachBlock.DoEmit()
at Bridge.Translator.AbstractEmitterBlock.Emit()
at Bridge.Translator.Emitter.VisitForeachStatement(ForeachStatement foreachStatement)
at ICSharpCode.NRefactory.CSharp.ForeachStatement.AcceptVisitor(IAstVisitor visitor)
at Bridge.Contract.Helpers.AcceptChildren(AstNode node, IAstVisitor visitor)
at Bridge.Translator.ConstructorBlock.EmitCtorForInstantiableClass()
at Bridge.Translator.ConstructorBlock.DoEmit()
at Bridge.Translator.AbstractEmitterBlock.Emit()
at Bridge.Translator.ClassBlock.EmitInstantiableBlock()
at Bridge.Translator.ClassBlock.DoEmit()
at Bridge.Translator.AbstractEmitterBlock.Emit()
at Bridge.Translator.EmitBlock.DoEmit()
at Bridge.Translator.AbstractEmitterBlock.Emit()
at Bridge.Translator.Emitter.Emit()
at Bridge.Translator.Translator.Translate()
at Bridge.Build.GenerateScript.Execute()
public class App
{
[Ready]
public static void Main()
{
int[] numbers = {1,2,3};
    foreach(int a in numbers)
    {
    }

    foreach(int a in numbers)
    {
    }

    foreach(int a in numbers)
    {
    }

    foreach(int a in numbers)
    {
    }
}

}
fails on the live editor because it reuses variable "a1"
/* global Bridge */
Bridge.define('LiveApp.App', {
statics: {
config: {
init: function () {
Bridge.ready(this.main);
}
},
main: function () {
var $t, $t1, $t2, $t3;
var numbers = [1, 2, 3];
        $t = Bridge.getEnumerator(numbers);
        while ($t.moveNext()) {
            var a = $t.getCurrent();
        }

        $t1 = Bridge.getEnumerator(numbers);
        while ($t1.moveNext()) {
            var a1 = $t1.getCurrent();
        }

        $t2 = Bridge.getEnumerator(numbers);
        while ($t2.moveNext()) {
            var a11 = $t2.getCurrent();
        }

        $t3 = Bridge.getEnumerator(numbers);
        while ($t3.moveNext()) {
            var a1 = $t3.getCurrent();
        }
    }
}

});

I cannot reproduce compiler exception with latest code. The issue with variable names is fixed

Hi @gogglespisano. Thank you for reporting this issue!
The same result for me against the latest release1.10 branch - not reproducible now. We have added a unit test to check this issue will not appear anymore.

Thanks.


Add test_calculate

Add tests for calculate.py and minor fixes

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

Project coverage is 58.20%. Comparing base (4bd5c1f) to head (8f578b3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   61.28%   58.20%   -3.09%
==========================================
  Files          37       37
  Lines        4213     4213
==========================================
- Hits         2582     2452     -130
- Misses       1631     1761     +130

Flag
Coverage Δ

python-3.9
58.20% <100.00%> (+0.92%)
:arrow_up:

python-3.9-ace
?

python-3.9-mace
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


fresh install on macos with missing plugin

I made a fresh install on macos. It shows successful on installing all the plugins. However, when I run nvim, it show "No icon plugin found. Please install 'kyazdani42/nvim-web-devicons'".
I check the status and it shows that plugin was installed, and the folder is there too.
Could you please give me some hint on how to fix it?
Many thanks!!!

Try with last commit.


each_with_object behaves differently than in Ruby

I noticed this issue when solving the "Raindrops" problem (similar to the classic FizzBuzz) on http://exercism.io.
I had previously solved the same problem in Ruby using each_with_object("") to iterate through the rules and build up a string of the applicable sounds. So, I tried to reuse the same code in Crystal and I found that each_with_object appears to behave differently.
Here is my code:
class Raindrops
  RULES = [
    {3, "Pling"},
    {5, "Plang"},
    {7, "Plong"}
  ]

  def Raindrops.drops(drop)
    sounds = RULES.each_with_object "" do |(n, sound), result|
      drop % n == 0 ? result + sound : result
    end

    sounds.empty? ? drop.to_s : sounds
  end
end

# Raindrops.drops(35) => ""

This code compiles, but it appears that the result is not being accumulated, and the block returns "".
I was able to get it to work using reduce:
class Raindrops
  RULES = [
    {3, "Pling"},
    {5, "Plang"},
    {7, "Plong"}
  ]

  def Raindrops.drops(drop)
    sounds = RULES.reduce "" do |result, (n, sound)|
      drop % n == 0 ? result + sound : result
    end

    sounds.empty? ? drop.to_s : sounds
  end
end

# Raindrops.drops(35) => "PlangPlong"

In Ruby, reduce and each_with_object both work for the example above. Could this be a bug in the implementation of each_with_object in Crystal?
$ crystal -v
Crystal 0.21.1 [3c6c75e] (2017-03-06) LLVM 3.5.0

Crystal behaves here in the same way as Ruby does, you're just passing a String as initial value which indeed gets returned at the end.
# from Ruby `Enumerable#each_with_index` docs
# works as expected

evens = (1..10).each_with_object([] of Int32) { |i, a| a << i * 2 }
# => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]

You might rewrite it to use String::Builder, like so:
class Raindrops
  RULES = [
    {3, "Pling"},
    {5, "Plang"},
    {7, "Plong"}
  ]

  def Raindrops.drops(drop)
    sounds = String.build do |str|
      RULES.each_with_object str do |(n, sound), result|
        str << sound if drop % n == 0
      end
    end
    sounds.empty? ? drop.to_s : sounds
  end
end

# Raindrops.drops(35) # => "PlangPlong"

Hey, you're the guy who works on Alda, right?

@kirbyfan64 yep, hello!
@Sija That makes sense. The String::Builder semantics are the piece I was missing. Thanks!


Check navigator polling

It looks like the navigator is not doing orb_copy for vehicle_command after the poll.
Found by @simonegu.

Fixed in #5191


Status code 400 when trying to create budget with notification

What am I trying to do?
I'm trying to create a budget for a subscription, with a notification defined.
How?
assert client.budgets.create_or_update(
        budget_name="Monthly Budget",
        parameters={
            'category': 'cost',
            'time_grain': 'Monthly',
            'time_period': {
                'start_date': '2018-10-01T00:00:00Z'
            },
            'amount': 600,
            'notifications': {
                "DevOps": {
                    'enabled': True,
                    'operator': 'GreaterThanOrEqualTo',
                    'threshold': 80,
                    'contact_emails'<EMAIL_ADDRESS>                }
            }
        }
    ), "Could not create budget"

Additional info?
I'm using a service principal account with permissions granted on the Resource Management API.
What's the problem?
The response message says:
File "/Users/kmai/.virtualenvs/tenant-automation/lib/python3.7/site-packages/azure/mgmt/consumption/operations/budgets_operations.py", line 278, in create_or_update
    raise models.ErrorResponseException(self._deserialize, response)

azure.mgmt.consumption.models.error_response.ErrorResponseException: (400) A valid email claim is required. Email claim is missing in the request header. Consider using a service principal with a valid email claim or a user principal/credential with an email claim.

What does this actually mean?

Hi kmai,
Since no one has picked this up yet, I'll point you to the right info...
"Calls to the budgets API enforce a user context. So you will need to call the budgets API in the context of a user and not a service principal. For customers using MFA the ARM client is an option to get a user token to use with the request."
https://azure.microsoft.com/en-us/blog/enhancements-to-azure-budgets-api-supporting-resource-groups-and-usage-budgets/
Sorry, I think they're working on making it open to SPUs, but not yet.  You can, however, use the deprecated UserPassCredentials object to auth and create your ConsumptionManagementClient to work with the budgets.
Thanks,
Murray

Thanks @murraybutler for your answer. I'm sorry I wasn't able to help, I was expecting someone from the service team directly to answer and I should have follow-up. My bad.
Closing, since it seems the issue is solved.
Thanks


Need an alert for bleeding

TG has a sprite for it https://github.com/tgstation/tgstation/blob/master/icons/effects/bleed.dmi

I took it

Closed by #18295


wrong constants (soon) and aliasses plus not working with growatt SPH model. How can this be fixed?

2024-12-21 19:07:43.850 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration growatt_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-12-21 19:07:43.858 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-12-21 19:08:00.187 WARNING (ImportExecutor_0) [homeassistant.backports.enum] StrEnum was used from growatt_local, this is a deprecated alias which will be removed in HA Core 2025.5. Use enum.StrEnum instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.431 WARNING (ImportExecutor_0) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from growatt_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.445 WARNING (ImportExecutor_0) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from growatt_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.457 WARNING (ImportExecutor_0) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from growatt_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.479 WARNING (ImportExecutor_0) [homeassistant.const] FREQUENCY_HERTZ was used from growatt_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.491 WARNING (ImportExecutor_0) [homeassistant.const] POWER_WATT was used from growatt_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.503 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from growatt_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.515 WARNING (ImportExecutor_0) [homeassistant.const] TIME_HOURS was used from growatt_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please report it to the author of the 'growatt_local' custom integration
2024-12-21 19:08:03.522 DEBUG (MainThread) [custom_components.growatt_local] Finished fetching growatt_local data in 0.000 seconds (success: True)
2024-12-21 19:08:03.553 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity sensor.energy_produced_today for domain sensor with platform growatt_local
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 677, in state
numerical_value = float(value)  # type:ignore[arg-type]
ValueError: could not convert string to float: 'unavailable'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 927, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1384, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1148, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1085, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1029, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 679, in state
raise ValueError(
...<5 lines>...
) from err
ValueError: Sensor sensor.energy_produced_today has device class 'energy', state class 'total_increasing' unit 'kWh' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unavailable' (<class 'str'>)
2024-12-21 19:08:03.569 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity sensor.total_energy_produced for domain sensor with platform growatt_local

home-assistant_growatt_local_2024-12-21T18-09-47.743Z.log


Add LHOM biography names to URI spreadsheet

Please use the list of biographies here, chapters 7-15, starting with the later chapters:  https://dh.brill.com/scholarlyeditions/reader/urn:cts:arabicLit:0668IbnAbiUsaibia.Tabaqatalatibba.lhom-comm-eng2:4
Find the person in the Mueller index (the version that shows URIs).
Then enter the section number, person's transcribed name, and person's Arabic name (from header in edition) in this spreadsheet: https://docs.google.com/spreadsheets/d/1qm4SUeYHBjCn43Wxms1Btn8SbhVEngiiG8h8NxTUjpc/edit#gid=400094632

If you are uncertain about whether a link is to the right person (e.g. in Onomasticon Arabicum) then please enter the link with a question mark before the link, e.g., "? http://..."

As you continue with this, you don't need to consult the Mueller index anymore to find the URIs of the people in the biography list. Instead you can just search for the name of the person (in Arabic/Latin characters) in the spreadsheet, since anyone we've worked on should have a name entered. Anyone you don't find you can create a new row for (without a URI, for now).
I've moved all the blank URI rows to a different tab so now you should see only the ones we've entered a name and/or links for.
Let me know if you have questions!


Enable style_transfer model using New API

Type of Change
feature
API not changed
Description
detail description
JIRA ticket: ILITV-2624
Expected Behavior & Potential Risk
style_transfer can quantize and benchmark well using new api.
How has this PR been tested?
Pre-CI and extension test.
Dependency Change?
No.

extension test:
https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-extension-TFnewAPI/339/artifact/report.html


Update color tokens for theming support

General Support Request
In order to make Auro components themeable, we need to make sure there are no hard-coded and correct semanticly named tokens within the component. There also needs to be investigation around border rules which have a combination of size and color tokens, making them more complex, as well as background-color and color rules.
Possible Solution
Work with designers to figure out what tokens need updated values or renamed.
Additional context
This work stems from theming work happening to all Auro components:

https://github.com/AlaskaAirlines/AuroDesignTokens/issues/147

Rules and tokens to be edited can be found in the comments.
Acceptance Criteria:

[ ] All tier 3 token names have been implemented.
[ ] Colors identified below have been updated to their tier 3 token name.

Tier 1

Headerlinkbox color: var(--ds-color-brand-midnight-400, $ds-color-brand-midnight-400); // color for logo

Ondark: var(--ds-color-brand-gray-100, $ds-color-brand-gray-100);

Logo divider border color: var(--ds-color-brand-gray-200, $ds-color-brand-gray-200);

Ondark: var(--ds-color-brand-gray-100, $ds-color-brand-gray-100);

Header title color: var(--ds-color-brand-breeze-400, $ds-color-brand-breeze-400);

Ondark: var(--ds-color-brand-gray-100, $ds-color-brand-gray-100);

Header title tagline color: var(--ds-color-brand-gray-400, $ds-color-brand-gray-400);

Ondark: var(--ds-color-brand-gray-100, $ds-color-brand-gray-100);

Hardcoded

Solid
Transparent

Need design to revise the semantic tokens being used within the tokens.scss file.

@leeejune Review with design team. Need tier 2 token to be used for the alaska logo.

Test comment


Icon.Button won't highlight button on exact touch on Icon

It's great component. Thank you.
I found an issue:  Icon.Button won't highlight button on exact touch on Icon.
Seems like a bug?

Same for me.. in addition to that I can't control the underlayColor on press

I had the same issue. Ended up using my own button instead:
      <TouchableOpacity>
        <View style={styles.button}>
          <Icon name={'account-box'} style={styles.icon} />
          <Text style={styles.text}>Click me</Text>
        </View>
      </TouchableOpacity>

Same problem here but with Ion.Icon
import IonIcon from 'react-native-vector-icons/Ionicons'
...
  <TouchableHighlight underlayColor="red" style={{backgroundColor: "red"}} onPress={props.handleArtist}>
      <IonIcon name="ios-search" style={[styles.IconTitleBar, styles.white]} />
  </TouchableHighlight

@Kufert could you share your css , thanks !

Ended up doing the same.

@alfonsodev doesn't work for me. Highlight occurs way too long after button was pressed. Anyone found any solution ?

This should be fixed in 6.0.0.

Worked for me in this version :
react-native-cli: 2.0.1
react-native: 0.61.5
<View  style={{position : "absolute",bottom : 5,right:260}}>
                <TouchableOpacity>
                  <Icon  size={40} name="reverse-camera" color = {"#e6e6e6"}/>
                </TouchableOpacity>
</View>


allow disabling module autodetection

booster autodetects modules required for booting and add them to image now.
I request config for disabling module autodetection.It is useful if user know every ko needed for booting.
Similar issue is opened at #3.
But disabling autodetection is different from #3.Because I may load exfat.ko before generating image.
It is difficult to notice I can exclude exfat by lsinitcpio /boot/booster-linux.img. Because it is not added to image always.
I think disabling module autodetection is easier from #3.and #3 is not needed.
If you think this issue is same for #3,close this issue.

It is the same as #3.
I have a change sitting in my local testing branch. It adds new operators - (minus sign) to remove modules and * (star) as an alias for "all modules". Using it would be possible to do for example modules: -*,ext4 that removes all predefined modules and adds only ext4.


Docs - update SqlDataAdapter docs re: RetryLogicProvider not being supported

This is for issue #1591 where RetryLogicProvider from the SQLCommand is not supported for the SqlDataAdapter.Fill because System.Data.Common.DbDataAdapter does not allow it.  Therefore, we could mention in documentation the RetryLogicProvider is not supported.

As discussed in #1591, this is no longer needed.


The behaviour of Vector3.rotated() is different in C# than in GDScript

C# code:
var test = new Vector3(100, 100, 100);
GD.print("CSharp: " + test.rotated(new Vector3(0, 1, 0), Mathf.deg2rad(60)));

GDScript code:
var test = Vector3(100,100,100)
print("GD: %s" % test.rotated(Vector3(0,1,0), deg2rad(60)))

Result:
GD: (136.602539, 100, -36.602551)
CSharp: (-36.60255, 100, 136.6025)

This is a part of #49 for reference