[BUG]Object reference not set to an instance of an object. Calling Update-PnPTeamsUser -Team $TeamID -User $UserUPN -Role 'Member' -force

Reporting an Issue
when executing the command below on certain Team objects the error message above is returned. The command is used to change an owner to a member (there is more than 1 owner on this object). Only certain teams for this user is failing. I haven't been able to find a common factor among the teams that fail with this command.
Update-PnPTeamsUser -Team $TeamID -User $UserUPN -Role 'Member' -force
Expected behavior
The user's membership should be changed to Member.
Actual behavior
It fails with the message below:
Object reference not set to an instance of an object
Steps to reproduce behavior
$UserUPN<EMAIL_ADDRESS>$TeamID = "xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb"
Update-PnPTeamsUser -Team $TeamID -User $UserUPN -Role 'Member' -force
What is the version of the Cmdlet module you are running?
2.5.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Could you please run these commands ?
Update-PnPTeamsUser -Team $TeamID -User $UserUPN -Role 'Member' -force -ErrorAction:Stop
(Get-PnPException).Exception | select *

and post the output. It should show the stacktrace with the file and line where the exception happened, which will help to understand the issue.

ErrorRecord    : Object reference not set to an instance of an object.
TargetSite     : Void ProcessRecord()
Message        : Object reference not set to an instance of an object.
Data           : {}
InnerException :
HelpLink       :
Source         : PnP.PowerShell
HResult        : -2146233079
StackTrace     :    at PnP.PowerShell.Commands.Base.PnPConnectedCmdlet.ProcessRecord() in
                 c:\build\src\Commands\Base\PnPConnectedCmdlet.cs:line 101
                    at System.Management.Automation.CommandProcessor.ProcessRecord()

Is that with the -ErrorAction:Stop parameter passed to Update-PnPTeamsUser ?

I used a Try / Catch block that does the same thing.

But you need to pass -ErrorAction:Stop to the command, otherwise the callstack will not be useful as it will not show where the exception happened but only where it was rethrown.

Sorry for the confusion. Here it is after following your instructions:
TargetSite     : Void ExecuteCmdlet()
Message        : Object reference not set to an instance of an object.
Data           : {[CorrelationId, ], [TimeStampUtc, 7/3/2024 4:40:50 PM]}
InnerException :
HelpLink       :
Source         : PnP.PowerShell
HResult        : -2147467261
StackTrace     :    at PnP.PowerShell.Commands.Teams.UpdateTeamsUser.ExecuteCmdlet() in
                 c:\build\src\Commands\Teams\UpdateTeamsUser.cs:line 46
                    at PnP.PowerShell.Commands.Base.PnPConnectedCmdlet.ProcessRecord() in
                 c:\build\src\Commands\Base\PnPConnectedCmdlet.cs:line 53

By the look of that part of the code, that happens when a Owner is only Owner and not Owner+Member.
I will try to reproduce the issue that way to see if I get the same error.

I was able to reproduce the issue by removing a member from Teams client and then running Update-PnPTeamsUser right away.
The user was found in the M365 group but not in the Team, as that takes a few seconds. See in the screenshot below how specifiedUser != null is false (so the user is in the M365 group) but then teamUserWithDisplayName is empty:

Running the same command a few seconds later returns correctly Update-PnPTeamsUser: User not found in the team .
I will open a PR with a better error message than Object reference not set to an instance of an object for this case.

I was able to reproduce the issue by removing a member from Teams client and then running Update-PnPTeamsUser right away. The user was found in the M365 group but not in the Team, as that takes a few seconds. See in the screenshot below how specifiedUser != null is false (so the user is in the M365 group) but then teamUserWithDisplayName is empty:

Running the same command a few seconds later returns correctly Update-PnPTeamsUser: User not found in the team .
I will open a PR with a better error message than Object reference not set to an instance of an object for this case.

Thanks for the update. I am just wondering how much sleep time does the script need before attempting the update call. Are you suggesting that there is an inconsistency between the M365 groups and Teams ?, if this is the case, how do I correct it. The script's purpose is to refresh a user's membership in Teams by going through each user's Teams and flip a user's membership from member to owner and back. The reason we are doing it is because after some users are migrated from one on-premise domain to another they lose some of their membership in Teams they belonged before the domain migration. The manual way we learned this was fixable was to go to the Sharepoint Admin site and flip a user's membership back and forth. I wanted to do the same using PnP.PowerShell but I ran into this issue.

That's sounds like a strange issue 😮
I haven't really used Update-PnPTeamsUser before so not sure what its behavior is when flipping back and forth between Member and Owner. I used mostly cmdlets like Remove-PnPMicrosoft365GroupMember and Add-PnPMicrosoft365GroupMember which work at M365 group level instead of Teams team.
As for how much time to sleep, a retry pattern is usually the best, where you throw the exception only after enough failed retries. M365 Groups and Teams seem to take a few seconds to sync, so not that long.

Hello, @MarkF26 , @jackpoz submitted a PR to improve the error message .
As suggested here, would suggest a retry pattern for the actual issue, closing this.


Add Power and Battery usage tables

This should take care of usage pages 0x84 and 0x85 in issue #2.

Thank you~


CosmosDB Bindings using Powershell

Hi,
What would be a practical code example for Function App using (CosmosDB) output bindings using Powershell, other than simple picking up the connectiong string and using third party Powershell Cmdlets?
Kind regards,
Arjen Gerritsen

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

ID: 7d575e82-637b-32de-e64d-75adf4b6d976
Version Independent ID: e346a973-fcb9-0c10-c1ed-17acd806ced9
Content: Triggers and bindings in Azure Functions
Content Source: articles/azure-functions/functions-triggers-bindings.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Hi @aggerritsen, Glad to hear the issue was resolved and you're unblocked. Please feel free to reopen if you have any questions.


Missing NameOf in Visual Basic Language Reference

The NameOf keyword is missing in the keyword page, and according to #366, the keyword is missing in the language reference.
The Visual Basic What's New topic should also be updated to link to this topic for detailed information.

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

ID: bb2d0d24-a228-ab33-1c62-3b0a701ff318
Version Independent ID: 9ef3c275-ce7b-808b-8acd-3d394296d897
Content: Keywords (Visual Basic)
Content Source: docs/visual-basic/language-reference/keywords/index.md
Product: dotnet-visualbasic
GitHub Login: @KathleenDollard
Microsoft Alias: kdollard

@KathleenDollard should we add docs for this?

yes, it should be a keyword.


TRIVIAL: bundle facter gem

Build succeeded (check pipeline).

LGTM

Sonar scan result

No issue found. Congratulations!

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=serverspec-core-gate-PR78
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/serverspec-core-merge-compliance-check/10/ : SUCCESS in 24s
https://checklist.intgdc.com/job/compliance/job/serverspec-core-fossa-scanning-zuul-el7/3/ : FAILURE in 1m 07s (non-voting)
https://checklist.intgdc.com/job/compliance/job/serverspec-core-sonarqube-scan-zuul-gate/2/ : SUCCESS in 40s


Pretraining HuBERT

Hi,
I tried to pretrain HuBERT on LibriSpeech960. I followed this guide and created {train, valid}.tsv files and {train, valid}.km k-means labels. After running
$ HYDRA_FULL_ERROR=1 python fairseq_cli/hydra_train.py \   --config-dir /path/to/fairseq-py/examples/hubert/config/pretrain \   --config-name hubert_base_librispeech \   task.data=/path/to/data task.label_dir=/path/to/labels model.label_rate=100
I meet
Traceback (most recent call last):
File "fairseq_cli/hydra_train.py", line 88, in
cli_main()
File "fairseq_cli/hydra_train.py", line 84, in cli_main
hydra_main()
File "/opt/conda/lib/python3.8/site-packages/hydra/main.py", line 48, in decorated_main
_run_hydra(
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 377, in _run_hydra
run_and_report(
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 214, in run_and_report
raise ex
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 211, in run_and_report
return func()
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 378, in
lambda: hydra.run(
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 111, in run
_ = ret.return_value
File "/opt/conda/lib/python3.8/site-packages/hydra/core/utils.py", line 233, in return_value
raise self._return_value
File "/opt/conda/lib/python3.8/site-packages/hydra/core/utils.py", line 160, in run_job
ret.return_value = task_function(task_cfg)
File "fairseq_cli/hydra_train.py", line 28, in hydra_main
_hydra_main(cfg)
File "fairseq_cli/hydra_train.py", line 53, in _hydra_main
distributed_utils.call_main(cfg, pre_main, **kwargs)
File "/root/fairseq/fairseq/distributed/utils.py", line 369, in call_main
main(cfg, **kwargs)
File "/root/fairseq/fairseq_cli/train.py", line 97, in main
model = task.build_model(cfg.model)
File "/root/fairseq/fairseq/tasks/fairseq_task.py", line 320, in build_model
model = models.build_model(cfg, self)
File "/root/fairseq/fairseq/models/init.py", line 107, in build_model
return model.build_model(cfg, task)
File "/root/fairseq/fairseq/models/hubert/hubert.py", line 320, in build_model
model = HubertModel(cfg, task.cfg, task.dictionaries)
File "/root/fairseq/fairseq/tasks/hubert_pretraining.py", line 142, in dictionaries
return self.state.dictionaries
File "/root/fairseq/fairseq/tasks/fairseq_task.py", line 42, in __getattr__
self._state[name] = self._factories[name]()
File "/root/fairseq/fairseq/tasks/hubert_pretraining.py", line 152, in load_dictionaries
dictionaries = [Dictionary.load(f"{label_dir}/dict.{label}.txt") for label in self.cfg.labels]
File "/root/fairseq/fairseq/tasks/hubert_pretraining.py", line 152, in
dictionaries = [Dictionary.load(f"{label_dir}/dict.{label}.txt") for label in self.cfg.labels]
File "/root/fairseq/fairseq/data/dictionary.py", line 226, in load
d.add_from_file(f)
File "/root/fairseq/fairseq/data/dictionary.py", line 239, in add_from_file
raise fnfe
File "/root/fairseq/fairseq/data/dictionary.py", line 236, in add_from_file
with open(PathManager.get_local_path(f), "r", encoding="utf-8") as fd:
FileNotFoundError: [Errno 2] No such file or directory: 'examples/hubert/simple_kmeans/data/labels/dict.ltr.txt'
There is no info about this txt file. How can i fix it?

You can download here https://dl.fbaipublicfiles.com/fairseq/wav2vec/dict.ltr.txt


Junkers Excellence (1480.json) update

Hi
I've updated the 1480.json file, for JUNKERS Excellence devices.
It is also sold as GREE Excellence, and it may also be compatible with many other brands, as GREE sells it to other brands.
Current 1480.json files does not have commands for Dry and Fan_Only.
I've added them, and it also includes auto and heat/cool codes. Feel free to delete one of them if wanted/needed.
Swing is set to auto. Some of the past codes the swing was set to low.
Thanks
1480.txt

Added. Thanks for your contribution


docs(diagnostic): moves diagnostic message to individual html page

Diagnostic Pages changes

moves under Troubleshooting nav item
diagnostic page from nav is a table of error code and message that links to each diagnostic page
diagnostic pages is a single HTML page with the error message and text on the diagnosis and possible fixes.

what's the status of this?

what's the status of this?

I was looking for a way to implement the idea in the comments (if a url to an error code does not exist show a generic page and a link to create the page/issue) but it looks like antora does not seem to do this. There is one way to configure error pages for the whole antora site and I have not found any antora plugin to help. Some solutions rely on an nginx running along with antora and dealing with redirects from nginx.
At this point I am thinking of shelving this PR, create an issue and see if I can come up with another way to implement the idea. If there are any thoughts or known solutions to this please share.

what's the status of this?

I was looking for a way to implement the idea in the comments (if a url to an error code does not exist show a generic page and a link to create the page/issue) but it looks like antora does not seem to do this. There is one way to configure error pages for the whole antora site and I have not found any antora plugin to help. Some solutions rely on an nginx running along with antora and dealing with redirects from nginx.
At this point I am thinking of shelving this PR, create an issue and see if I can come up with another way to implement the idea. If there are any thoughts or known solutions to this please share.

Hmm. Assuming that the error codes reference things in the documentation, and there is a degree of versioning, I wonder if we could just have a unit test that iterates over the cases of the error code (this is possible with strum) and verify that we have an error page in the Antora doc-src.
In the future (if/when we want to version things), we can actually do something like link to <doc_version>/errors/<error_code>, and use Antora to manage versioned docs and embed a doc_version in the binary so it knows which version to link against.
That seems like a minimal fix for now -- just make sure we created a placeholder for each error code. Thoughts?

what's the status of this?

I was looking for a way to implement the idea in the comments (if a url to an error code does not exist show a generic page and a link to create the page/issue) but it looks like antora does not seem to do this. There is one way to configure error pages for the whole antora site and I have not found any antora plugin to help. Some solutions rely on an nginx running along with antora and dealing with redirects from nginx.
At this point I am thinking of shelving this PR, create an issue and see if I can come up with another way to implement the idea. If there are any thoughts or known solutions to this please share.

Hmm. Assuming that the error codes reference things in the documentation, and there is a degree of versioning, I wonder if we could just have a unit test that iterates over the cases of the error code (this is possible with strum) and verify that we have an error page in the Antora doc-src.
In the future (if/when we want to version things), we can actually do something like link to <doc_version>/errors/<error_code>, and use Antora to manage versioned docs and embed a doc_version in the binary so it knows which version to link against.
That seems like a minimal fix for now -- just make sure we created a placeholder for each error code. Thoughts?

Seems reasonable. I'll give it a shot.


feat(csi-external-snapshotter): bump to 4.0.0 picks up skipped versio…

…n #207
Signed-off-by: Andrew Zammit<EMAIL_ADDRESS>Description
Merge this PR first and publish 4.0.0, after merge and publish of 3.0.3 via PR #208
This will make 4.0.0 = latest
Checklist

[X] All commits are signed off. See the section Developer’s Certificate of Origin
[X] Provide a title or release-note blurb suitable for the release notes.
[ ] All pre-commit hook validation passed successfully.

[ ] All workflow validation and compliance checks are passing.

Issue Ref (Optional)
Part 2 of 2, fixes #207

Thanks once again @zamnuts please let us know if this has resolved the issue.


Inaccessible links for programmes

The first links a user of the site encounters are inaccessible.

Each link uses the same text: 'Enter'. Link text should tell me where I'm going, particularly if I'm using the page in a screen reader.

The clickable area is tiny. In the screenshot, tapping on either the graphic or the title does nothing. The actual link is the tiny text at the bottom of the screen.

Recommendation
Wrap the whole card in an anchor, to make it clickable, and set the link text to the programme title.

See also WCAG 2.4.4 Link Purpose (In Context.)


Improve Evaluation (Matrix) Infrastructure

Before #334, we were only supporting evaluating the model on a single fixed evaluation dataset.
In #334, we introduce a evaluation matrix in which we evaluate each trained model on each trigger training set at the end. However, the current implementation is quite hacky:

We extended the evaluation code path with some optionals that indicate the use of the OnlineDataset in the evaluator. We might just want to have two different kinds of evaluation requests instead of checking for Nones everywhere.  The control flow needs cleaning.

We can parallelize the evaluations (depending on GPU capacity) and also overlap evaluation and training. We need to make the supervisor (server) less sequential anyways, and implement a queue of requests that we want to do per pipeline after the supervisor server is implemented. This avoids doing the entire matrix at the end.

In the matrix scenario, we currently take some settings from training and some from evaluation of the pipeline, which is not very clean. We should instead add the evaluation options to the pipeline and differentiate between fixed evaluation and matrix evaluation.

We need to add tests for this.

PR #354 contains the (not yet good) code we used for the arXiv submission.


Added search bar component

This PR adds a simple component that contains UISearchBar.
Motivation
Sometimes it might be needed just to display a search bar in the cell without the luggage of UISearchViewController which might be hard sometimes to tweak to fit particular UX, and something that requires less customisation than UITextField to make it look like UISearchBar.
Alternatives considered
There is currently TextInput component in BentoKit but it kind of serves a different purpose and also requires quite some tweaking and style additions to make it fit this use case. Also UISearchBar is not a subclass of UITextField and have some extra features like showing cancel button and search icon out of the box (still could be done with TextInput but not without more changes to it).
UISearchViewController also does not fit here very well as it requires navigationItem and it can be tricky to make it work with DrawerKit used here (see screenshot)
Example

@sergdort I've addressed your comments

@sergdort addressed 😉


Position 0 Detection

Ce serait cool de savoir s'il y a une position 0 sur la SERP, avec un picto par ex. Et de savoir quel site a cette position 0.

This is the biggest issue with Serposcope and restricts websites from using it for rank tracking. Without featured snippet/position 0 results included in rank, the result gets all messed up. For position 0, Serposcope report keyword is out. When featured snippet is given by google, this is the most important position and it should be position 1.


Use DT labels for UART driver names (based on PR #208)

Convert over drivers that are used on DTS platforms to use a device tree label as the means to generate the driver instance name.  This is based on PR #208.

Adding @atorgue for stm32 dts file review

One question: Will it be ok for vendors to modify names for a specific reason (for instance specific use in Linux)? Or is that PR binding to a zephyr naming convention ?
Reason for this question is to understand possible constraints raised on Linux side (field is not used today, but it might be in future, and we'd like to understand the nature of the constraint)

I expect someone can change the label as they see fit, no different than someone setting the Kconfig name to whatever they wanted.

Rebased after merging #208


Finish Spin-off of Prow Unit Tests and Fix Typo

See Istio Prow Presubmit Profiling and Improvement Plan for more details
/assign @yutongz @sebastienvas

Doc now linked in the PR description

@chxchx: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
f641e97b883beaf74088df1ac25e733d65ebda66
link
/test istio-pilot-e2e

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

out of curiosity which PR broke it and how come that PR passed tests ?

test-infra codebase enabled the test, which surfaced broken tests in this repo.

@ldemailly
This PR actually fixed the failing prow unit tests. The error was the extra space in # !/bin/bash. Since Prow config was in test-infra repo, there is no way to do an atomic PR to both create the test and enable the test. After I updated the Prow config the bug I just mentioned surfaced and I fixed it in 10 min. Unfortunately, this job takes longer than that to run, and many PRs were testing with the buggy unit test job.
TL;DL It has been fixed!

sorry I wasn't clear, I know it was fixed by this pr, I asked when/how did break (which PR this PR fixes)

Yes it will be good to root cause this and find the PR that broke things, and prevent that from happening again. Charles, do you know?

@ldemailly @hklai
The issue of having an extra space in # !/bin/bash was introduced when the file prow/istio-unit-tests.sh was first created in this PR https://github.com/istio/istio/pull/2740, which passed all checks because prow/istio-unit-tests.sh was not triggered, and for Prow to trigger this test we have to add this job to the config map of Prow in istio/test-infra, a different repo from istio/istio that https://github.com/istio/istio/pull/2740 based on. Therefore, like aforementioned, there is no way to atomically create the test and enable the test. After the test was enabled in testinfra, the issue of having an extra space in # !/bin/bash surfaced and was fixed under 10 minutes. However, other PRs that started testing in this period had yet to pick up the fix and were therefore failed.

I see. Thanks Charles.

thx for the details @chxchx !
I hope we get that vm test integrated soon (though I'm concerned it may be broken on master again by now)


Add viewBox to SVG (close #2680)

Reference Issue

Close #2680
What does this implement/fix? Explain your changes.
Write viewBox attribute in RDKit::MolDraw2DSVG::initDrawing.

Thanks!


Adapt code for Google Generative AI [ Gemini ] [ free ]

Hi @tom-doerr can you merge this?

Oh wow, thank you @Panchajanya1999 !


Relation mode + upsert(): Internal error: Attempted to serialize empty result.

Bug description
When the relationMode is configured as Prisma, if there are multiple model relations within a Prisma model bound to the same id field and an upsert method is called to perform an update operation, an error occurs.
log:
debug: BEGIN {"params":"[]","source":"PrismaClient","target":"quaint::connector::metrics","timestamp":"2024-01-04T10:07:40.306Z"}
debug: SELECT "graphql"."gg2"."id" FROM "graphql"."gg2" WHERE ("graphql"."gg2"."id" = $1 AND 1=1) OFFSET $2 {"duration":"1 ms","params":"[\"clqyxhu5y0000qpnyssdcmes3\",0]","source":"PrismaClient","target":"quaint::connector::metrics","timestamp":"2024-01-04T10:07:40.308Z"}
debug: SELECT "graphql"."gg6_ttt_aaa"."id", "graphql"."gg6_ttt_aaa"."t2" FROM "graphql"."gg6_ttt_aaa" WHERE (1=1 AND "graphql"."gg6_ttt_aaa"."t2" IN ($1)) OFFSET $2 {"duration":"1 ms","params":"[\"clqyxhu5y0000qpnyssdcmes3\",0]","source":"PrismaClient","target":"quaint::connector::metrics","timestamp":"2024-01-04T10:07:40.310Z"}
debug: SELECT "graphql"."gg3"."id", "graphql"."gg3"."relation" FROM "graphql"."gg3" WHERE (1=1 AND "graphql"."gg3"."relation" IN ($1)) OFFSET $2 {"duration":"1 ms","params":"[\"clqyxhu5y0000qpnyssdcmes3\",0]","source":"PrismaClient","target":"quaint::connector::metrics","timestamp":"2024-01-04T10:07:40.312Z"}
debug: SELECT "graphql"."gg2"."id" FROM "graphql"."gg2" WHERE ("graphql"."gg2"."id" = $1 AND ("graphql"."gg2"."id" = $2 AND 1=1)) LIMIT $3 OFFSET $4 {"params":"[\"clqyxhu5y0000qpnyssdcmes3\",\"clqyxhu5y0000qpnyssdcmes3\",1,0]","source":"PrismaClient","target":"quaint::connector::metrics","timestamp":"2024-01-04T10:07:40.312Z"}
thread 'tokio-runtime-worker' panicked at query-engine\core\src\response_ir\ir_serializer.rs:57:40debug: SELECT "graphql"."gg2"."id" FROM "graphql"."gg2" WHERE "graphql"."gg2"."id" = $1 LIMIT $2 OFFSET $3 {"params":"[\"clqyxhu5y0000qpnyssdcmes3\",1,0]","source":"PrismaClient","target":"quaint::connector::metrics","timestamp":"2024-01-04T10:07:40.313Z"}
:
Internal error: Attempted to serialize empty result.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error:
Invalid `prisma.gg2.upsert()` invocation in
C:\Users\guonaihao\Documents\code\graphql-boilerplate\src\graphql\gg2\mutations\upsertOne.ts:11:23

   8   update: nonNull('gg2UpdateInput'),
   9 },
  10 resolve(_parent, args, { prisma, select }) {
→ 11   return prisma.gg2.upsert(
Internal error: Attempted to serialize empty result.

This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.

https://github.com/prisma/prisma/issues/new?body=Hi+Prisma+Team%21+My+Prisma+Client+just+crashed.+This+is+the+report%3A%0A%23%23+Versions%0A%0A%7C+Name++++++++++++%7C+Version++++++++++++%7C%0A%7C-----------------%7C--------------------%7C%0A%7C+Node++++++++++++%7C+v16.20.0+++++++++++%7C+%0A%7C+OS++++++++++++++%7C+windows++++++++++++%7C%0A%7C+Prisma+Client+++%7C+5.7.1++++++++++++++%7C%0A%7C+Query+Engine++++%7C+0ca5ccbcfa6bdc81c003cf549abe4269f59c41e5%7C%0A%7C+Database++++++++%7C+postgresql+++++++++%7C%0A%0A%0A%0A%23%23+Logs%0A%60%60%60%0Aprisma%3AtryLoadEnv+Environment+variables+loaded+from+C%3A%5CUsers%5Cguonaihao%5CDocuments%5Ccode%5Cgraphql-boilerplate%5C.env%0Aprisma%3Aclient+checkPlatformCaching%3Apostinstall+%0Aprisma%3Aclient+checkPlatformCaching%3AciName+%0Aprisma%3AtryLoadEnv+Environment+variables+loaded+from+C%3A%5CUsers%5Cguonaihao%5CDocuments%5Ccode%5Cgraphql-boilerplate%5C.env%0Aprisma%3Aclient+dirname+C%3A%5CUsers%5Cguonaihao%5CDocuments%5Ccode%5Cgraphql-boilerplate%5Cnode_modules%5C.pnpm%5C%40prisma%2Bclient%405.7.1_prisma%405.7.1%5Cnode_modules%5C.prisma%5Cclient%0Aprisma%3Aclient+relativePath+..%2F..%2F..%2F..%2F..%2F..%2Fprisma%0Aprisma%3Aclient+cwd+C%3A%5CUsers%5Cguonaihao%5CDocuments%5Ccode%5Cgraphql-boilerplate%5Cprisma%0Aprisma%3Aclient+clientVersion+5.7.1%0Aprisma%3Aclient%3AlibraryEngine+internalSetup%0Aprisma%3Aclient%3Aengines%3AresolveEnginePath+enginePath+C%3A%5CUsers%5Cguonaihao%5CDocuments%5Ccode%5Cgraphql-boilerplate%5Cnode_modules%5C.pnpm%5C%40prisma%2Bclient%405.7.1_prisma%405.7.1%5Cnode_modules%5C.prisma%5Cclient%5Cquery_engine-windows.dll.node%0Aprisma%3Aclient%3AlibraryEngine+sending+request%2C+this.libraryStarted%3A+false%0Aprisma%3Aclient%3AlibraryEngine+library+starting%0Aprisma%3Aclient%3AlibraryEngine+library+started%0A%60%60%60%0A%0A%23%23+Client+Snippet%0A%60%60%60ts%0A%2F%2F+PLEASE+FILL+YOUR+CODE+SNIPPET+HERE%0A%60%60%60%0A%0A%23%23+Schema%0A%60%60%60prisma%0A%2F%2F+PLEASE+ADD+YOUR+SCHEMA+HERE+IF+POSSIBLE%0A%60%60%60%0A%0A%23%23+Prisma+Engine+Query%0A%60%60%60%0A%7B%22X%22%3Atrue%7D%7D%7D%0A%60%60%60%0A&title=Internal+error%3A+Attempted+to+serialize+empty+result.&template=bug_report.yml

If you want the Prisma team to look into it, please open the link above 🙏
To increase the chance of success, please post your schema and a snippet of
how you used Prisma Client in the issue.
 {"source":"PrismaClient","target":"gg2.upsert","timestamp":"2024-01-04T10:07:40.324Z"}

How to reproduce

Create a Prisma model that establishes a relationship between two models using the id field, with the relationMode configured as prisma.

datasource db {
  provider = "postgresql"
  url      = "xxx"
  relationMode = "prisma"
}
model gg3 {
  ///
  id       String  @id @default(uuid()) @db.VarChar(255)
  dd       String? @db.VarChar(255)
  gg333    gg2     @relation("gg3_gg333", fields: [relation], references: [id], onDelete: Restrict, onUpdate: Restrict)
  relation String  @unique @db.VarChar(255)
}

model gg2 {
  ggg333        gg3?         @relation("gg3_gg333", map: "23333")
  aa            gg6_ttt_aaa? @relation("gg6_tt_aaa_gg")
  id            String       @id @default(cuid())
  di2           String?
  name          String?
  gg6_ttt_aaaId String?
}

model gg6_ttt_aaa {
  id String  @id @default(cuid())
  t1 String?
  gg gg2?    @relation("gg6_tt_aaa_gg", fields: [t2], references: [id], onDelete: Restrict, onUpdate: Restrict)
  t2 String? @unique
  t3 String?
}

Call the gg2.upsert method, passing in the existing id value as the where condition.

Expected behavior
Return the normal data operation result.
Prisma information

datasource db {
  provider = "postgresql"
  url      = "xxx"
  relationMode = "prisma"
}
model gg3 {
  ///
  id       String  @id @default(uuid()) @db.VarChar(255)
  dd       String? @db.VarChar(255)
  gg333    gg2     @relation("gg3_gg333", fields: [relation], references: [id], onDelete: Restrict, onUpdate: Restrict)
  relation String  @unique @db.VarChar(255)
}

model gg2 {
  ggg333        gg3?         @relation("gg3_gg333", map: "23333")
  aa            gg6_ttt_aaa? @relation("gg6_tt_aaa_gg")
  id            String       @id @default(cuid())
  di2           String?
  name          String?
  gg6_ttt_aaaId String?
}

model gg6_ttt_aaa {
  id String  @id @default(cuid())
  t1 String?
  gg gg2?    @relation("gg6_tt_aaa_gg", fields: [t2], references: [id], onDelete: Restrict, onUpdate: Restrict)
  t2 String? @unique
  t3 String?
}

import { mutationField, nonNull } from 'nexus'

export const Gg2UpsertOneMutation = mutationField('upsertOneGg2', {
  type: nonNull('gg2'),
  args: {
    where: nonNull('gg2WhereUniqueInput'),
    create: nonNull('gg2CreateInput'),
    update: nonNull('gg2UpdateInput'),
  },
  resolve(_parent, args, { prisma, select }) {
    return prisma.gg2.upsert({
      ...args,
      ...select,
    })
  },
})

Environment & setup

OS: Windows
Database: PostgreSQL

Prisma Version
prisma                  : 5.7.1
@prisma/client          : 5.7.1
Computed binaryTarget   : windows
Operating System        : win32
Architecture            : x64
Node.js                 : v16.20.0
Query Engine (Node-API) : libquery-engine 0ca5ccbcfa6bdc81c003cf549abe4269f59c41e5 (at node_modules\.pnpm\@prisma+engines<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 0ca5ccbcfa6bdc81c003cf549abe4269f59c41e5 (at node_modules\.pnpm\@prisma+engines<EMAIL_ADDRESS>
Schema Wasm             : @prisma/prisma-schema-wasm 5.7.1-1.0ca5ccbcfa6bdc81c003cf549abe4269f59c41e5
Default Engines Hash    : 0ca5ccbcfa6bdc81c003cf549abe4269f59c41e5
Studio                  : 0.495.0

Thank you for reporting the issue, @GuoNH! We are currently testing the fix for this problem. Would it be possible for you to check your code against this version of Prisma?
npm i<EMAIL_ADDRESS>
Bear in mind that this is a development version and should not be used in production. This is only to check if the issue is fixed.

This issue was fixed in Prisma 5.13.0.


raftstore: fix redundant heartbeat (#3864)

cherry-pick #3864.

/run-all-tests tidb=release-2.1 tikv=release-2.1 tidb-test=release-2.1

Test test_delay_split_region failed, @overvenus should we cherry pick this test's fix to branch 2.1?

Failed tests are not related. Merging.


Add "How to read this guide" page

another good idea for the unknown volunteer

https://build.fhir.org/ig/Xt-EHR/xt-ehr-common/howto.html
Feel free to fix or add.


KML refactoring

Instead of embedding dropbox URLs in KML we should

Use KMZ  instead of KML with the image embedded it
Reference the image using a relative URL

NOTE: No need for fancy external libraries other than zipfile with cStringIO

exact documentation about kmz structure including where to save the images:
https://developers.google.com/kml/documentation/kmzarchives

Development on this should avoid the use of any external dependencies like SimpleKML or lxml

This should better be implemented client-side s. #27


chore(ci): just shuffle to test order

This should avoid host spots, etc. and distribute the load of tests somewhat more evenly.

from eric: log the test order
dpc: it's logged in order by testing


problem: unclear code

Codecov Report

Merging #1227 (3b15080) into master (d29b3c4) will increase coverage by 39.46%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1227       +/-   ##
===========================================
+ Coverage   36.92%   76.39%   +39.46%
===========================================
  Files         422       33      -389
  Lines        9795     1004     -8791
  Branches     1790      222     -1568
===========================================
- Hits         3617      767     -2850
+ Misses       5890      225     -5665
+ Partials      288       12      -276

Impacted Files
Coverage Δ

src/index.ts
100.00% <0.00%> (ø)

src/blockchains/index.ts
100.00% <0.00%> (ø)

src/add-account/selectors.ts

src/remote-access/AddressBook.ts

...ateSpeedUpTransaction/CreateSpeedUpTransaction.tsx

src/components/common/CoinIcon/CoinAvatar.tsx

src/settings/types.ts

src/transaction/CreateTx/GasLimitField/index.ts

src/hwkey/actions.ts

.../app/vault/PasswordMigration/PasswordMigration.tsx

... and 381 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[iOS] Ensure $(inherited) flag is present in Xcode project build settings

Currently an iOS build outputs this warning:
[!] The `FirebaseTest [Debug]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-FirebaseTest/Pods-FirebaseTest.debug.xcconfig'. This can lead to problems with the CocoaPods installation

[!] The `FirebaseTest [Release]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-FirebaseTest/Pods-FirebaseTest.release.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

This can lead to iOS build issues (see #22).
So the plugin hook scripts need to ensure the $(inherited) flag is present in the LD_RUNPATH_SEARCH_PATHS field of the Xcode project build settings.

Fix published in<EMAIL_ADDRESS>

FWIW I still see these warnings in 3.0.7.

you will see the warnings on cordova platform add ios because that's before the after_prepare script has run.

Ah. It's ok then, I guess. Thanks.

I actually see the warning in both places -  cordova platform add ios as well as cordova build ios, using version 6.0.2.


This repository has no license

Thanks for this awesome package. I've noticed that this repository does not have an open source license yet. Please consider adding a license.
Follow the links to learn more about how to add a license to a repository, which licenses are available and why you should do so.
Thank you very much in advance for adding a license to your project.

It's at the bottom of the README.md.

Thank you @adrianmcli for your quick answer. You're right, the information is there.
To explain why I wrote the ticket: I came here from an automated tool, which is called license-ls and does scan licenses by walking through the node modules dependency graph. This package is listed as unknown because it does not add license information in the package.json and no LICENSE file in the project's root directory (not sure if this is tested by the tool).
Large companies typically scan their code bases for legal issues and this is why I found your package. You're a false positive, but still you might consider to also add a license file as described in the link above and also mention this license in the package.json file.
Thank you very much for your support and help to maintain the downstream processes. :)

Steps to reproduce:
cd /path/to/some/dir
npm init -y
npm install --save react-rotating-text
npx license-ls --format=json > deps.json

And then run
$ cat deps.json | grep -C 5 react-rotating-text
[
  {
    "id": 0,
    "name": "react-rotating-text",
    "version": "1.4.1",
    "license": "unknown (?)",
    "repository": "git+https://github.com/adrianmc/react-rotating-text.git",
    "author": "Adrian Li",
    "homepage": "https://github.com/adrianmc/react-rotating-text",
    "dependencyLevel": "production"
  },
  {
    "id": 1,
    "name": "classnames",

Which shows that react-rotating-text is listed with an unknown license.

Happy to take a PR for it!


license

May I ask which kind of license this project is using?

@suice07  I have added a MIT license


nix version is not compatible cross linux os

i export proxychains closure package from nixos4.14.52 to rhel6.
but it report the error:
[op@cms ~] proxychains4 curl www.google.com
[proxychains] config file found: /home/op/.proxychains/proxychains.conf
[proxychains] preloading /nix/store/vjly36mdg7gn0hr08mwim37iz8l8khrm-proxychains-4.2.0/lib/libproxychains4.so
curl: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /nix/store/vjly36mdg7gn0hr08mwim37iz8l8khrm-proxychains-4.2.0/lib/libproxychains4.so)

Try unsetting any LD_LIBRARY_PATH or LD_PRELOAD environment variables.

nope. it seems my linux kernel is too old.
[op@cms ~] uname -a
Linux cms 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

Oops, I probably misunderstood what this proxychains does. Try running it against the Nix version of curl, not the system version of curl.


TST: See if percentile is breaking devdeps

Attempt to understand failures in #93

hmmm, can you cherrypick https://github.com/kecnry/lcviz/pull/5 here (which will break all other CI runs, but hopefully let the dev one run)?

I was hoping I don't have to do clone this repo locally... I guess I will have to now...

Okie dokie... Gonna branch from #68 instead.


Fixed minor typo in comments

Hi,
I fixed a minor typo in comments

Hi @davecheney
Is there any chance to merge it?

@davecheney are there active maintainers for this package?

@eikenb @gbbr @mdlayher @kuba-- can we have active maintainers assigned to pkg/errors?


Binaries missing from $out/bin/

Similar to https://github.com/nix-community/naersk/issues/324, I'm finding that my "api" binary is missing from $out/bin when building with crane. Running cargo build manually creates target/debug/api, but I'm not seeing it compiled or generated by crane.
Perhaps this is some kind of issue pervasive to the nix rust builders?

Is it in the ./target during Nix build? You can add ls ... somewhere in a preInstall hook or something like that.


JSON output format

Q
A

Issue Type
Feature Request

Deployer Version
6.0.2

Local Machine OS
Does not apply

Remote Machine OS
Does not apply

Description
I am trying to run commands programmatically from PHP. Now the output of informational commands like "dep config:dump staging" is in a table like terminal format. Would be awesome if it would be possible to specify a format to receive the output in JSON for instance to read it easily in code.
If any more information or testing is needed, please let me know!

What kind of information you want to see?

Can you an example of expected json file?

Now when doing a config dump I end up with this array, it's really hard to extract values from here.

Would be awesome to do something like "dep config:dump staging --format=json
Which would result in something like
{"stage":"staging","branch":"staging","shared_files":["staging_config.php"],"deploy_path":"\/path\/to\/deploy","releases_list":[1,2,3,4,5], "etc": "etc"}
I you see a better way of solving this that would be an solution for me as well. But this would awesome in my opinion for automating stuff and any future informational commands.
Thanks!

Yes, this will be cool to have.

Cool, will also looking into adding this myself. Not sure if my skills will manage.
For anyone else trying to add support for this, I know WP CLI supports different formats for an example: https://github.com/wp-cli/wp-cli


Building on Windows

Is it possible to build libcxx on Windows? Are there any known issues that were encountered that blocked this previously?

Please see PR ( https://github.com/conda-forge/libcxx-feedstock/issues/8 ).


Example

Are there any example of how to implement this solution and it's require dependencies?

Hello Gregg, there are no dependencies. Just compile with esp-idf and upload to your esp32!


What About Video Support On Android Devices

The feature doesn't seem to have been added yet. Any plan about that?

Hi,
Maintaining such a plugin takes a lot of time that I personnaly don't have these days.
The official plugin is supported by google and seems way ahead of camerAwesome now. It's maybe time to ask if that's worth working on it anymore.


Add Contributor

@all-contributors please add @yunkuangao for resource.

@all-contributors please add @yunkuangao for resource.


[besu] Add extradata field in genesis file

Primary Changes

Add extradata field in genesis file. platforms/hyperledger-besu/configuration/roles/create/genesis role
Fixed duplicate app label in platforms/hyperledger-besu/charts/generate_ambassador_certs

Modifications in roles and tpl files
platforms/hyperledger-besu/charts/generate_ambassador_certs/templates/job.yaml
platforms/hyperledger-besu/configuration/roles/create/genesis/ibft/tasks/main.yaml

With this PR now we can remove the genesis creation logic from the create/crypto roles which will be done with issue #2116


⚠ Bofrost.es has degraded performance

In 8ec368e, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1437 ms

Resolved: Bofrost.es performance has improved in 15f4d19 after 8 minutes.


WIP test cases for tracking render counts on grid table rows/columns

A similar PR has been merged since that accomplishes the same goal. It includes test cases such as: https://github.com/homebound-team/beam/blob/main/src/components/Table/GridTable.test.tsx#L2011


⚠ Bofrost.de has degraded performance

In 1fb9185, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 979 ms

Resolved: Bofrost.de performance has improved in 38fcdcf.


limit for arrays, field defaults for arrays, refactoring

Also:

Refactored crazy redundant event handlers
Documented methods
Reduced redundant refreshes

Looks good to me Tom. Made a fix here 0164028 and an adjustment here 08b3469.

I agree, being at the max is not an error.  Calling some attention to it seems appropriate but red will make people think they Did It Wrong.


HRToVRC breaks my gestures and some animations

Hello !
I wanted to add HRtoVRC to my avatar, except that it completely breaks my gestures and animations.
For example, the animations aren't fully reset to the Idle animation (you can also notice that the tongue is still active because the animation is surely a bit activated), my tail that's supposed to move doesn't move anymore, the animations of the ears linked to the gestures don't work, etc.
Here's a video that shows the import, the addition to the avatar (totally basic), the upload and the before/after test: https://streamable.com/sa3izx
I hope that a solution can be found,
Thank you,
Lupsoris

Hi, this is a very common issue with Write Defaults. When you were Creating the Animations, I noticed you had Write Defaults disabled. While VRChat recommends this, most of the time, people make animations with Write Defaults On. So, when you mix the two, it tends to cause issues like this, most notably, gestures getting stuck.
The solution here is to Create the Animations again, however this time, be sure to enable Write Defaults in the options tab, then get back to me if that worked or not 😸

Hello,
It works, so I'm sorry I created an "Issues" for nothing.
Maybe think about adding the information, or the advice to check this if people have a gesture/animation problem.
Thanks,
Lupsoris

Yeah, I'm planning on adding it to the FAQ section of the wiki for future references, as I've had a couple of peeps inquire this on the discord server already. However, this issue will be a great reference example for those who think they have the same issue or not, as the issue is very informative! Thanks much!
(closing unless needed)


Add the steps about how to schedule the backup

The steps are merged from https://support.microsoft.com/en-us/help/323330.

#sign-off


Update backup.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane 👍


Add a non breaking feature for module configs to support validation & rejection of config sets

Add a non breaking feature for module configs to support validation & rejection of config sets
Also added integration testing for validation of new functionality and to ensure it is non breaking
Implements https://github.com/valkey-io/valkeymodule-rs/issues/123

nit:  could you please rebase with PR I just merged run cargo fmt please?

Thank you for helping review this, @dmitrypol. I addressed the comments in this commit: https://github.com/valkey-io/valkeymodule-rs/pull/144/commits/809af261edabf345f1b236fab28956d2ee860058


Upgrade to prompt tool kit 2.0

Upgrade to prompt tool kit 2.0 with initial smoke/sanity testing.

Referencing these awesome PRs :) :
https://github.com/dbcli/pgcli/pull/930
https://github.com/dbcli/pgcli/pull/826
https://github.com/dbcli/mycli/pull/666

In the toolbar, options that are ON are not highlighted:

They are in master:

Merging this change with known bug of key bindings not being highlighted. Will open a new issue to track this.


Audio Issue while Filtering Existing Video

Hello, I am applying filters to existing video and saving that video using GPUImage2 but after applying filters there is no audio.
@BradLarson

Is your problem solved? I also encountered such a problem, hope some help.
@Rakesh33888


Cypress test for issue 1498

Add Cypress test for issue 1498
Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 7102

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 69.729%

Totals

Change from base Build 7097:
0.02%

Covered Lines:
11750

Relevant Lines:
16392

💛  - Coveralls


added documentation on Hue control issues with GuiColorPicker

I added some Notes, to hopefully point people in the right direction when facing issue #369

@LievenPetersen thanks for the review!


Use Let's encrypt certificates

Maybe use Lets encrypt ssl certificates?

Duplicates https://github.com/modoboa/modoboa-installer/issues/50.


Run TFLITE Faster Grad-CAM on Google Edge-TPU

I'm interested in running a grad-cam model on a Google Edge-TPU device like the Google Coral USB Accelerator. Do you have a idea on how this can be implemented?
Any help is greatly appreciated.

Please take a look here.
https://github.com/shinmura0/Faster-Grad-CAM


Add missing argument to CoverletTasks

First PR, I think this will enable the 'merge-with' ability from coverlet, allowing one to merge several code-coverage results together, from GlobalTool Documentation the '--merge-with' feature

Thanks for your contribution! 😄🎉


[ACL] Add ACL checks to event management

Problem
Fixes #14435
Change overview

Add code for checking ACL when fetching events

Testing
@mlepage-google will add test cases and fix potential bugs.

Terminology wise, please change "ACL check" to "Access Control check" where it occurs. Access can be granted without an ACL. I only actually use the term ACL (more specifically, ACL entry) for the data thing that is used as part of those checks. Thanks.


HDF5 table view bug for virtual datasets in the same file

Closes #3571

The first virtual source is
/data/id21/inhouse/eduardo/out/fitted_EP_701_1_859_12158.h5::/2.1/blisspymca.1/results/parameters/Al_K

Alternatively this could also be
.::/2.1/blisspymca.1/results/parameters/Al_K

I prefer the first (absolute path) because it might not be clear that a "dot" refers to the current file and not to the current directory.

I would use:
os.path.abspath(filename) + firstExtSource[1:]
and
return os.path.join(os.path.dirname(os.path.abspath(filename)), firstExtSource)
if you want absolute paths everywhere.

I would use:
os.path.abspath(filename) + firstExtSource[1:]
and
return os.path.join(os.path.dirname(os.path.abspath(filename)), firstExtSource)
if you want absolute paths everywhere.

this is a good question. Do we want absolute path everywhere. If we go for it I guess we should add somewhere information regarding if the virtual dataset contains some relative / absolute path. Because this is very convenient to have this information (even if for now it is here only partially because only the first virtual source is checked)

@vasole filename is an already absolute path and it is the file that is open (i.e. the one containing the link, not the destination file). Then firstExtSource is the URI of the destination which is either /abs/path/to/file.h5::/dataset/in/file or .::/dataset/in/file where the "dot" refers to filename.

I missed one case

./path/to/file.h5::/dataset/in/file

I missed one case

./path/to/file.h5::/dataset/in/file

@woutdenolf does that cause trouble with silx view? Need a bug fix release?

the displayed URL is wrong but it doesn't affect anything else

I'll make a bug fix as soon as I have time.

OK, great! I opened issue #3716 for it for next release, so we don't forget it.


Adds support to 3Dconnexion SpaceExplorer

3Dconnexion SpaceExplorer is now sold for fraction of original price (I got mine for ~ 15usd) and it has all of the features of current 3Dconnexion products

Am I asking you about the name of the store? Thanks

You cannot buy new one, people are selling used ones on multiple classifieds portals around world (like ebay)


[web_wallet] accounts for dry run 3 gui is not showing up

This commit might related:
https://github.com/BitShares/bitshares/commit/12c27a1da3529aff30ab1e935ddaae7764fd74b1#diff-465d87b32b11682583d9acca38ec50eeR358
is_my_account was removed.

I can see the accounts on mac version,
but on windows they are missing

seems I didn't get the latest webwallet codes, let me rebuild it

https://github.com/BitShares/web_wallet/issues/637#issuecomment-77273084


.testcaferc.json location in angular.json

Is it possible to create a property in schemas (f.e. configFilePath) to set up .testcaferc.json location instead of configure options separately.
It will be nice when you already have a .testcaferc.json and you don't want to describe everything again in angular.json file.
Another advantage is to have all configurations in one place.
Thanks in advance.

Hi @alemp,
The idea using this builder is to configure your testcafe run(s) in the angular.json, I you want to use your testcaferc config, I suggest you call testcafe from the command line. This builder uses the programming interface which does not support the use of testcafe config file.
Best practice for you is probably to transfer your setting over to one or more angular.json configs.


Update postgres-operator.yaml

Tags are of fixed length (not arbitrary long prefixes of commit hashes)

👍

:+1:

Coverage remained the same at 11.278% when pulling 69e4ae2d95211ae7f56c2571b863835ed4730bfb on zerg-junior-patch-3 into 9c86f8bd9694d1af4ea062c6f698a8d3324b865f on master.


Regarding the dataset and configuration file

I'm very interested in your model, and I find your achievements very meaningful. Therefore, I would like to request the BC5, NCBI, and GENIA datasets along with their respective configuration files in order to deepen my learning. Thanks~

<EMAIL_ADDRESS>


Use variables for reds and white

Replaces all #b70101, #900, #600, and #fff in the .my-uw namespace with their respective uw-ui-toolkit variables.

Awesomeness :+1:


very slow run

hi
the my phone this project (JetNews) very slow run
Background sticky concurrent mark sweep GC freed 43281(2MB) AllocSpace objects, 24(432KB) LOS objects, 3% free, 48MB/50MB, paused 5.623ms total 69.124ms
my phone huawei ascend p7
api 21

why? /:


Refactor the dataset generator

Description
This PR does a major refactoring of the dataset generator in an effort to make the API and code cleaner:

There were several places where things were converted between lists and hugging face datasets, I tried to reduce the number of conversions.
There were places where caches were written out as a side effect of the main function effect, I removed these.
I reduced the length of comments, particularly for tests and for inline comments where the comment was redundant with the code itself.

References

Part of: https://github.com/neulab/prompt2model/issues/333
Fixes: https://github.com/neulab/prompt2model/issues/334

Blocked by

NA

Amazing! Is #333 fixed totally?

No, not yet, I'm actually debugging now.

Another thing is that I am not sure that all the API-based models use tiktoken to compute input tokens. Thus, the num of input tokens may slightly differ between these models. But that's minimal.

Another thing is that I am not sure that all the API-based models use tiktoken to compute input tokens. Thus, the num of input tokens may slightly differ between these models. But that's minimal.

Excellent point @zhaochenyang20. I was thinking of creating an issue for this, but I think for simplicity we can leave this as-is until someone complains about it. Maybe @saum7800 could keep it in mind when we try the non-API-based models though. It might become even more of a problem due to the limited context windows.


ASP.NET 5 Build Azure Web App

Hi
Following this article to upload my project to azure web app.
https://msdn.microsoft.com/Library/vs/alm/Build/azure/deploy-aspnet5
I have encounter an error on step 8.
/t:Build,FileSystemPublish /p:PublishConfiguration=$(BuildConfiguration) /p:PublishOutputPathNoTrailingSlash=$(Build.SourcesDirectory){yourProjectName}\artifacts\bin$(BuildConfiguration)\Publish
{yourProjectName} do i need to change this value to something else?
what value should it looks like.
Below is the log from Build solution src/CMS/CMS.xproj
2015-06-21T13:25:44.4666304Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\tasks\VSBuild\1.0.11\VSBuild.ps1
2015-06-21T13:25:46.6363981Z C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe "C:\a\557e1857\9ilin CMS\src\CMS\CMS.xproj" /nologo /m /nr:false /fl /flp:"logfile=C:\a\557e1857\9ilin CMS\src\CMS\CMS.xproj.log" /dl:CentralLogger,"C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agent\worker\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"*ForwardingLogger,"C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agent\worker\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /t:Build,FileSystemPublish /p:PublishConfiguration=release /p:PublishOutputPathNoTrailingSlash=C:\a\557e1857\9ilin CMS{yourProjectName}\artifacts\bin\release\Publish /p:platform="any cpu" /p:configuration="release"
2015-06-21T13:25:46.9020288Z MSBUILD : error MSB1008: Only one project can be specified.
2015-06-21T13:25:46.9020288Z Switch: CMS{yourProjectName}\artifacts\bin\release\Publish
2015-06-21T13:25:46.9020288Z For switch syntax, type "MSBuild /help"
2015-06-21T13:25:46.9176536Z ##[error]Unexpected exit code received from msbuild.exe: 1

YourProjectName needs to be the name of the folder created by VS for your project.  If you look at this sample https://github.com/chrisrpatterson/TeamBuildAspNet5Sample it is the default directory structure from a file new project in VS.  The project name in this case is AspNet5.


DataGrid: Allow using enum with Display attributes for filter #7621

Description
Fix: #7621
Fix: #5766
Using name of enum in filter of DataGrid by Display attribute, for example:

public enum EducationFinance
{
    [Display(Name = "Бюджет")]
    Free = 0,
    [Display(Name = "Внебюджет")]
    Paid = 1
}

if attribute non exists, will be returns default value of enum
Added

How Has This Been Tested?
Compiled and test in my project

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

It should probably fallback so you don't need both attributes on the enum, like for example:
    /// <summary>
    /// Returns the best display name for the given type.
    /// </summary>
    /// <param name="shortName">Try to find the shorter version of the name</param>
    public static string GetDisplayName(this Type type, bool shortName = false) =>
        (shortName ? type?.GetCustomAttribute<DisplayAttribute>()?.ShortName : null) ??
            type?.GetCustomAttribute<DisplayAttribute>()?.Name ??
            type?.GetCustomAttribute<DisplayNameAttribute>()?.DisplayName ??
            type?.GetCustomAttribute<DescriptionAttribute>()?.Description ??
            type?.Name;

But Isn't there a source generator for this or something? @ScarletKuro

But Isn't there a source generator for this or something? @ScarletKuro

The source generator is only working with the DisplayNameAttribute attribute, it's not available for user code, and it won't help you if you pass an enum in the runtime which is the case here.
I do not understand why Adornment was annotated with DisplayAttribute when we talk about the Enums in DataGrid that are supplied in the model?
For unit testing the author should create own enum type and test it, and not pick any of the existing ones.
I'm also not sure if this is fixing localization issues, what if you want multi-languages for the enum?
Theoretically it would require a method that first reads the value of the attribute, then checks via localizer that such key exist in the localization and returns a translation, if doesn't exist then fallback to the attribute value. Aka something similar what does the aspnetcore with Data Annotation attributes for the validation localization.
I will let @tjscience and maybe @mikes-gh (if he is interested) to review this instead.

Hi.
I appreciate you keep this branch up to date. But as you can see your code is failing to build:

EnumFormTraining.cs has a wrong encoding.
You modified Adornment for some reason.

@meenzen, wouldn't it be better to do something like injecting the InternalMudLocalizer into the DataGrid and then just do:
-<MudSelectItem T="Enum" Value="@((Enum)item)">@item</MudSelectItem>
+<MudSelectItem T="Enum" Value="@Localizer[item]</MudSelectItem>

It would be more universal. There is one problem that enumeration names can clash like this:
public enum Enum1
{
    Test1
}

public enum Enum2
{
    Test1
}

But maybe we could use a bit of reflection and do something like @Localizer[enumTypeName_enumMemberName], aka Enum1_Test1. This still creates a potential issue that the enums might be more or less the same but live in different namespaces and require different localization. Chances are low, though.
Is there a possibility to add support for DisplayAttribute in the localizer? What are your thoughts on that?

@ScarletKuro thanks, sry for my mistakes. It my first PR

I usially prefer manual mappings like this:
public enum Foo
{
    Bar,
    Baz,
}

public static class FooLocalizationExtensions
{
    public static string GetLocalizationKey(this Foo foo) => foo switch
    {
        Foo.Bar => "Foo_Bar",
        Foo.Baz => "Foo_Baz",
        _ => throw new ArgumentOutOfRangeException(nameof(foo), foo, null),
    };
}

But since that won't work for user code I'm not sure what the best approach would be. Maybe we should add a separate callback to the DataGrid like EnumLocalizationFunc:
[Parameter]
public Func<object,string>? EnumLocalizationFunc { get; set; }

An implementation could then look like this:
private string EnumLocalizationFunc(object @enum)
{
    if (@enum is Foo foo)
    {
        return foo switch
        {
            Foo.Bar => "Bar",
            Foo.Baz => "Baz",
            _ => throw new ArgumentOutOfRangeException(nameof(foo), foo, null),
        };
    }

    return @enum.ToString() ?? string.Empty;
}

But since that won't work for user code I'm not sure what the best approach would be. Maybe we should add a separate callback to the DataGrid like EnumLocalizationFunc:
[Parameter]
public Func<object,string>? EnumLocalizationFunc { get; set; }

This sounds as decent idea. I will try to implement that later

@meenzen in my opinion the best option is to specify the attribute

I disagree because it only provides one way for translations. With a callback, you can have a default way that uses attributes, and the user has the ability to override it. Your implementation has a significant drawback: it doesn't support cases where you need to provide more than one translation, as the GetDisplayName method doesn't handle it.

@henon @meenzen, I have improved the originally suggested implementation:
Improvements:

Custom Implementations: You can now provide your own implementation.
Multi-language Support: The original PR supported only one language by extracting the value from an attribute. This new implementation extracts the name, uses it as a key, and tries to find the localization string in the localizer. This approach is very standard in aspnetcore.

Challenges:

Default Implementation: I cannot use a Func as @meenzen suggested, because it's hard to provide a default implementation for the Func property because in this case only static fields can be used, but I need to access the InternalMudLocalizer Localizer.
IStringLocalizer Usage: Since InternalMudLocalizer is internal, it cannot be used in IEnumLocalizationStrategy. Instead, I had to use IStringLocalizer, which is logical since it would be used in user's code. Consequently, I created MudLocalizerStringLocalizerAdapter. Should we create own public interface for the localizer, or should InternalMudLocalizer implement IStringLocalizer directly?
Location: Where should this functionality live? I have currently added it to utilities, but should it be placed in Service.Localization or DataGrid.Localization, anywhere else?

Do you have any suggestions for further refining this implementation?

@ScarletKuro no suggestions. Thanks for helping

Default Implementation: I cannot use a Func as @meenzen suggested, because it's hard to provide a default implementation for the Func property because in this case only static fields can be used, but I need to access the InternalMudLocalizer Localizer.

It is a reasonable default implementation that just returns the value of the DisplayAttribute. I don't think we need more than that.

IStringLocalizer Usage: Since InternalMudLocalizer is internal, it cannot be used in IEnumLocalizationStrategy. Instead, I had to use IStringLocalizer, which is logical since it would be used in user's code in custom implementation. Consequently, I created MudLocalizerStringLocalizerAdapter. Should we create own public interface for the localizer, or should InternalMudLocalizer implement IStringLocalizer directly?

I guess InternalMudLocalizer to implement IStringLocalizer would make sense, right? The name  MudLocalizerStringLocalizerAdapter is a bit over the top, but if we implement IStringLocalizer we won't even need it any more if I understand it correctly.

Location: Where should this functionality live? I have currently added it to utilities, but should it be placed in Service.Localization or DataGrid.Localization, anywhere else?

It would really fit well in Services.Localization where also MudLocalizer lives. Better not spread localization functionality in different places.

Oh right, one other thing, we'll forget how to use this if we don't have an example in the docs. Since this is probably not gonna stay a DataGrid specific functionality I'd add it to https://mudblazor.com/features/localization

Since this is probably not gonna stay a DataGrid specific functionality

Wait a moment, it it won't be datagrid specific should we even have the
https://github.com/MudBlazor/MudBlazor/blob/5cc027111933082ed16ad8c92900ade9f3abc899/src/MudBlazor/Components/DataGrid/MudDataGrid.razor.cs#L703
in the datagrid?
Or perhaps we should make as DI registration same way it's done for MudLocalizer and ILocalizationInterceptor so you could replace it globally and it's getting used for all components (if there will be any new in future)?

Or perhaps we should make it a DI registration in the same way it's done for MudLocalizer and ILocalizationInterceptor, so you could replace it globally and it gets used for all components (if there will be any new in the future)?

Yes, let's do that.

Will add docs later. This makes https://github.com/MudBlazor/MudBlazor/pull/9527 PR useless, but guess we can keep it for now, maybe we will find a use of that, it's internal and the cleanup can be done anytime.

this change makes "Services.AddMudLocalization();"  required. otherwise Application and tests are failing from upgrade to previous version if we dont use Localization all. this is definitely big breaking change and needs to be documented.

But AddMudLocalization is already required, and it comes by default with AddMudServices.
Proof:
https://github.com/MudBlazor/MudBlazor/blob/65b04da3d1fb0cdff8ff5e06e40c1898d7544898/src/MudBlazor/Extensions/ServiceCollectionExtensions.cs#L304
It’s been this way since localization was first introduced and we assume this call is mandatory and not that someone is registering them themselves.
The only case where it might fail is with customers' bUnit tests of DataGrid if they manually register services one by one and didn’t include it before. However, this isn't considered a "big breaking change." We generally don’t classify changes in bUnit as breaking unless they impact the web application itself.
Also, this change hasn’t been merged yet and is still in a very early preview stage.

It’s been this way since localization was first introduced and we assume this call is mandatory and not that someone is registering them themselves.

Any component that depends on InternalMudLocalizer (https://github.com/search?q=repo%3AMudBlazor%2FMudBlazor InternalMudLocalizer&type=code) requires AddMudLocalization. Otherwise, you will get an exception, whether it's in bUnit tests or a normal application.
So I'm not sure what the concern is here.

Also, this change hasn’t been merged yet and is still in a very early preview stage.

Haha, you are right. Sorry, got confused for a minute, removed the accidental break. I agree, this is not a breaking change in the sense we define it. Users will have to update their unit tests.

At least it wasnt required with version 6.x.x, once I upgraded to the latest 7.6.0 version, everything start failing because of i didnt have this line. You can try using MudAlert with 6.x and it works without using this line.

ok, but this is actually off-topic for this PR which isn't even merged yet. I'll discuss with Kuro and we'll add a note to the migration guide.

ok, but this is actually off-topic for this PR which isn't even merged yet. I'll discuss with Kuro and we'll add a note to the migration guide.

I just posted the error message as  "Cannot provide value for property 'Localizer' on type MudBlazor.MudAlert. There is no registered service of type 'MudBlazor.InternalMudLocalizer'.  this only occurs after 6.x to 7.6.0 upgrade

Yes thank you, but it is still off topic and should have been posted here: #8447

I just posted the error message as "Cannot provide value for property 'Localizer' on type MudBlazor.MudAlert. There is no registered service of type 'MudBlazor.InternalMudLocalizer'. this only occurs after 6.x to 7.6.0 upgrade

You must be using an old version of v6. The InternalMudLocalizer was introduced in v6.5.0 via this pull request https://github.com/MudBlazor/MudBlazor/pull/7024, so you would encounter the same exception if you upgrade to the latest version of v6. This is not a breaking change between v6 and v7. However, we need to move forward, as this change was made a long time ago. Personally, I do not consider it a breaking change since the registration is included by default in AddMudServices.

The only thing that changed in v7 is that MudAlert started using InternalMudLocalizer for accessibility. It was just a coincidence that you weren't using components relying on InternalMudLocalizer in v6, (mainly the DataGrid and possibly the table). Now, more components rely on it. That’s the only difference.

@henon @meenzen I reworked it completely, again.
The main improvement is that it’s now part of InternalMudLocalizer.
In the previous code in DataGrid, you had to inject both InternalMudLocalizer and IEnumLocalizer which bothered me a lot.
Now it also uses the same concept, ILocalizationEnumInterceptor, as the original localizer,  in case you want to override the logic for how the enum is localized.
Earlier, the enum localizer looked like an abomination, but now it actually fits into the localization ecosystem.
A lot better tests.
And you can use it in two ways:
 [Display(Name = "Enum value is localized")]
ValueWithDisplay,

[Display(Name = LanguageResource.MudDataGrid_IsEmpty)]
ValueWithDisplayLanguageResource,

The first one is a hard-coded string, second if it finds the key in the LanguageResource then it will use that instead.

Should we add some simple docs?

Should we add some simple docs?

we can do it after


Clarify how Braintree payments are integrated

how_to_integrate_payment.rst states "This is the type of payment source used (eg PayPal, DataCash, BrainTree)", however I cannot find any other references to "Braintree" in the repository. I can see plenty of other "django-oscar-paypal/stripe/eway/etc" repositories, but no django-oscar-braintree -- has Braintree support been integrated yet?

Are there any updates regarding Braintree integration??

Not that I'm aware of, no. This seems to be confusing, so I removed any mention of BrainTree in https://github.com/django-oscar/django-oscar/commit/effdc77b92caefa8f56cb5ae10a4c8b1eb1e663a.
If this is a necessary requirement for you, you are free to write your own extension, or we're happy to explore options. In that case, please get in touch.


015/06/18 18:31:26 router.go:415: [fatal] suicide {Id:proxy_4 Addr:KDXF-KYLS-CODIS2.localdomain:6379 LastEvent: LastEventTs:0 State:online Description: DebugVarAddr:KDXF-KYLS-CODIS2.localdomain:9001}

015/06/18 18:31:26 router.go:415: [fatal] suicide {Id:proxy_4 Addr:KDXF-KYLS-CODIS2.localdomain:6379 LastEvent: LastEventTs:0 State:online Description: DebugVarAddr:KDXF-KYLS-CODIS2.localdomain:9001}
现网出现这个问题，Codis全部连接不上了。

dashboard上有没有进行slot迁移或者设置proxy状态等操作？

没有

github.com/wandoulabs/codis/pkg/proxy/router/helper.go:139:
github.com/wandoulabs/codis/pkg/proxy/router/router.go:269:
2015/06/18 18:31:27 router.go:248: [warning] op: HGETALL, key:res:col:base:1, on: <IP_ADDRESS>:6381, too long 137
2015/06/18 18:31:27 router.go:287: [warning] close connection <IP_ADDRESS>:38897, &{r:0xc20b8aaf60 w: Conn:0xc208138b98 CreateAt:2015-06-18 18:29:11.027054208 +0800 CST Ops:0}, write tcp <IP_ADDRESS>:38897: connection reset by peer
github.com/wandoulabs/codis/pkg/proxy/router/helper.go:139:
github.com/wandoulabs/codis/pkg/proxy/router/router.go:269:
2015/06/18 18:31:27 router.go:287: [warning] close connection <IP_ADDRESS>:38889, &{r:0xc209a09ec0 w: Conn:0xc208034ba8 CreateAt:2015-06-18 18:29:10.816590451 +0800 CST Ops:0}, write tcp <IP_ADDRESS>:38889: connection reset by peer
github.com/wandoulabs/codis/pkg/proxy/router/helper.go:139:
github.com/wandoulabs/codis/pkg/proxy/router/router.go:269:
2015/06/18 18:31:27 router.go:287: [warning] close connection <IP_ADDRESS>:58549, &{r:0xc20b7d6ba0 w: Conn:0xc208138a60 CreateAt:2015-06-18 18:29:10.736157184 +0800 CST Ops:0}, write tcp <IP_ADDRESS>:58549: connection reset by peer
github.com/wandoulabs/codis/pkg/proxy/router/helper.go:139:
github.com/wandoulabs/codis/pkg/proxy/router/router.go:269:
2015/06/18 18:31:27 router.go:287: [warning] close connection <IP_ADDRESS>:58544, &{r:0xc209a098c0 w: Conn:0xc2081389a8 CreateAt:2015-06-18 18:29:10.597139715 +0800 CST Ops:0}, write tcp <IP_ADDRESS>:58544: connection reset by peer
github.com/wandoulabs/codis/pkg/proxy/router/helper.go:139:
github.com/wandoulabs/codis/pkg/proxy/router/router.go:269:
2015/06/18 18:31:27 router.go:248: [warning] op: ZCARD, key:res:column:rings:33, on: <IP_ADDRESS>:6381, too long 137
2015/06/18 18:31:27 router.go:287: [warning] close connection <IP_ADDRESS>:58529, &{r:0xc20b7d64e0 w: Conn:0xc20c09e410 CreateAt:2015-06-18 18:29:09.94051034 +0800 CST Ops:0}, write tcp <IP_ADDRESS>:58529: connection reset by peer
github.com/wandoulabs/codis/pkg/proxy/router/helper.go:139:
github.com/wandoulabs/codis/pkg/proxy/router/router.go:269:
2015/06/18 18:31:27 router.go:415: [fatal] suicide {Id:proxy_3 Addr:KDXF-KYLS-CODIS1.localdomain:6379 LastEvent: LastEventTs:0 State:online Description: DebugVarAddr:KDXF-KYLS-CODIS1.localdomain:9001}

是否是Redis的问题导致？

dashboard的log里有没有什么报错？

dashboard 我们都没有开这个，我们的版本比较老，可以不开dashboard

我检查了一下我们四个redis日志，
发现有一台有问题：
[4468] 18 Jun 18:30:10.672 # MASTER timeout: no data nor PING received...
[4468] 18 Jun 18:30:10.672 # Connection with master lost.
[4468] 18 Jun 18:30:10.672 * Caching the disconnected master state.
[4468] 18 Jun 18:30:10.672 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:10.672 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:13.674 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:13.680 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:13.680 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:22.733 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:23.706 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:23.706 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:25.734 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:26.714 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:26.715 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:28.735 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:29.723 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:29.723 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:34.789 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:35.740 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:35.741 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:37.790 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:38.749 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:38.749 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:40.791 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:41.758 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:41.758 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:43.792 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:44.766 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:44.766 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:46.793 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:47.774 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:47.774 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:49.794 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:50.782 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:50.782 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:52.795 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:53.790 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:53.790 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:55.796 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:56.798 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:56.799 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:58.797 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:30:58.805 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:58.805 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:01.805 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:01.812 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:01.812 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:04.806 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:04.819 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:04.819 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:07.807 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:07.827 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:07.827 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:10.808 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:10.835 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:10.835 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:13.809 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:13.842 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:13.842 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:16.810 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:16.850 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:16.850 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:19.811 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:19.858 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:19.858 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:22.813 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:22.865 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:22.865 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:25.813 # Error condition on socket for SYNC: No route to host
[4468] 18 Jun 18:31:25.872 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:25.872 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:28.096 * Discarding previously cached master state.
[4468] 18 Jun 18:31:28.096 * MASTER MODE enabled (user request)

如果dashboard没开，那zk不会发offline的事件给proxy，只能是外部有系统信号让proxy退出了
yuruli2058<EMAIL_ADDRESS>
我检查了一下我们四个redis日志，
发现有一台有问题：
[4468] 18 Jun 18:30:10.672 # MASTER timeout: no data nor PING received...
[4468] 18 Jun 18:30:10.672 # Connection with master lost.
[4468] 18 Jun 18:30:10.672 * Caching the disconnected master state.
[4468] 18 Jun 18:30:10.672 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:10.672 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:13.674 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:13.680 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:13.680 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:22.733 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:23.706 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:23.706 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:25.734 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:26.714 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:26.715 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:28.735 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:29.723 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:29.723 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:34.789 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:35.740 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:35.741 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:37.790 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:38.749 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:38.749 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:40.791 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:41.758 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:41.758 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:43.792 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:44.766 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:44.766 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:46.793 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:47.774 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:47.774 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:49.794 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:50.782 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:50.782 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:52.795 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:53.790 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:53.790 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:55.796 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:56.798 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:56.799 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:30:58.797 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:30:58.805 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:30:58.805 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:01.805 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:01.812 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:01.812 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:04.806 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:04.819 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:04.819 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:07.807 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:07.827 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:07.827 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:10.808 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:10.835 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:10.835 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:13.809 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:13.842 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:13.842 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:16.810 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:16.850 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:16.850 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:19.811 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:19.858 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:19.858 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:22.813 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:22.865 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:22.865 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:25.813 # Error condition on socket for SYNC: No route
to host
[4468] 18 Jun 18:31:25.872 * Connecting to MASTER <IP_ADDRESS>:6381
[4468] 18 Jun 18:31:25.872 * MASTER <-> SLAVE sync started
[4468] 18 Jun 18:31:28.096 * Discarding previously cached master state.
[4468] 18 Jun 18:31:28.096 * MASTER MODE enabled (user request)
—
Reply to this email directly or view it on GitHub
https://github.com/wandoulabs/codis/issues/274#issuecomment-113135804.

--
Best Regards,
杨哲

我们通过keeplived脚本来进行主备切换的，到redis主备切换以后，通过命令让新的主online的。


Use a script to check cabal files in GH actions

Description
I've noticed that the GH actions workflow step that runs  cabal check inlines the script we have in ./scropts. This PR calls the script and also modifies it to exit on the first cabal check failure.

You shouldn't need the no changelog flag anymore 😄


Implement expand_task and list_macros in proc_macro_srv

This PR finish up the remain proc_macro_srv implementation :

Added dylib loading code for proc-macro crate dylib. Note that we have to add some special flags for unix loading because of a bug in old version of glibc, see https://github.com/fedochet/rust-proc-macro-panic-inside-panic-expample/issues/1 and https://github.com/rust-lang/rust/issues/60593 for details.

Added tests for proc-macro expansion: We use a trick here by adding serde_derive to dev-dependencies and calling cargo-metadata for searching its dylib path, and expand it in our tests.

[EDIT]
Note that this PR DO NOT implement the final glue code with rust-analzyer and proc-macro-srv yet.

I changed to use std::io::Error for all dylib loading code and fixed others some nits too.

bors r+


make 'advanced options' more catchy

Description
The advanced options is awesome, and helpful, but it is hard to find.

I noticed this feature from PR screenshot, so, when I testing out this feature, I was unable to find it on the interface, so I went back PR detail to checkout the screenshots. It is kind of weird to have 'Advanced Options' placed in pipeline name input.
Describe the solution you'd like
Move 'Advanced Options' to place 1 or 2 as screenshot indicated.

Merged


docs(icp): Added Guide for setting up isolated control plane

Added guide for configuring isolated control planes using plane helm deployments.

@ThomasK33 I'll do my copy edits after Fabian has done his technical review.

Looks good to me @aimeeu


Setup github actions pipeline

Reason for this PR

Setup github actions pipeline for lagom

Changes in this PR

Add pipeline yaml

Unix systems require a different formatting of the .sbtopts file:
-J-Xms512M
-J-Xmx4096M
-J-Xss2M
-J-XX:MaxMetaspaceSize=1024M
```

After exploring different options to handle the .sbtopts incompatbility, the simplest solution is to let the pipeline adjust the .sbtopts file to the required format. This way we allow Windows user to continue development without problems.


Update cumulative confirmed source for 18 May 2020

Updating the source for cumulative confirmed for 18 May as the NICD SA twitter handle does not provide a detailed provincial breakdown of confirmed cases in their twitter post. We should probably double check all the other twitter sources and update where possible.

The image attached to the twitter post does have provincial breakdown of confirmed cases.  I don't see a problem here?

Ah yes -silly me. I actually never spotted those numbers on the map lol :see_no_evil:. Sorry will close this diff -thanks for the comment @dmackie -had a silly moment there (for a while actually lol).


Readme link to tagged version

Use tagged version in the readme.

Wonder if there is a general way/url to reference the latest?

I did not find an easy way to do it, there would be two curls, one to API to get the latest tag and second to download the template.


feat(CategoryTheory/Filtered): finality and initiality of projections on (co)structured arrow cats

bors r+


fix: do not allow invalid hazardous keys in query

I drew attention to that when parsing the search query, it is possible to some extent manipulate the prototype of the returned object. I added a few checks so that at least partially prevent it.

As a more rigorous and reliable alternative: return the Map or URLSearchParams instead of the object. Of course, this us breaking changes.

I think I will revert this change as it forbids keys like toString which are totally valid keys in objects and one can still avoid any set of query keys by provide a parseQuery and stringifyQuery.
__proto__ cannot be overridden anyway.
Do you have any real scenario cases where this is a problem? Otherwise I will proceed to revert this change in the next patch @cawa-93

No. I have no real scenarios. I see this as a safeguard against mistakes may by developer that lead to security risks

so what security risks where you thinking about? That's a scenario

I thinking about Prototype pollution, but I don't have any real example. I only assume that there may be some scenarios that may have some scenarios may exist when the developer makes some non-standard behavior when it can lead to problems. I only guess that there may be some scenarios (maybe when the developer makes some non-standard behavior) when it can lead to problems.

Thanks for the input!


Simple PowerShell Script

I hope this is an appropriate place to post this. I've created a simple PowerShell script to aid in running the rigol_grab.py script. All it does is prompt for an IP Address and File name which I found quite useful when needing to do lots of repetitive but unique captures. Below is a short video showing the primary usecase, however it has some error handling built in as well! Let me know what people think about this or if I should create a pull request to add this in. (Used ChatGPT for a lot of the script creation FYI)

Have all dependencies setup as described here.
Place the script into the folder containing "rigol_grab.py" (Likely \rigol-grab-master)
Launch the script, it will prompt for an IP Address which will be saved to a .txt file for future use.
Enter what the name of the image should be.
Profit $

.ps1 Script Download: Grab Rigol Screen V3.zip
(If the script isn't launching properly due to a ExecutionPolicy error then just copying the script into a new file and execute that. PowerShell by default doesn't like you running random scripts from the internet, fair enough lol)
https://github.com/rdpoor/rigol-grab/assets/24278368/c5f495a1-1dcb-4b6d-a6d5-d9b23f2045ec
PS1 Code:

# Define an array of affirmative responses
$affirmativeResponses = @("Y", "y", "Yes", "yes")

# Define a function to run the script
function RunScript {
    # Get the directory path of the script file
    $scriptDirectory = $PSScriptRoot

    # Define the path to the file to store the IP address
    $ipFilePath = Join-Path -Path $scriptDirectory -ChildPath "rigol_ip_address.txt"

    Write-Host "----------------------------------------------------------------------" -ForegroundColor Blue
    Write-Host "--Grab Rigol Screen V3 Script. Will save outputs to \output folder.--" -ForegroundColor Blue
    Write-Host "--By Justin W. (And ChatGPT)--" -ForegroundColor Blue

    # Check if the IP address file exists
    if (Test-Path $ipFilePath) {
        # If the file exists, read the IP address from it
        $ipAddress = Get-Content $ipFilePath
        Write-Host "Found rigol_ip_address.txt file. IP: $ipAddress"
    } else {
        # If the file doesn't exist, prompt for IP address
        Write-Host "Couldn't find rigol_ip_address.txt file..."
        $ipAddress = Read-Host "Enter IP Address"
        # Save the entered IP address to the file
        $ipAddress | Out-File $ipFilePath
        Write-Host "IP Address saved to rigol_ip_address.txt file."
    }

    # Prompt user for filename
    $filename = Read-Host "Enter filename (without extension)"

    # Append .png extension to the filename
    $filename += ".png"

    # Define the subfolder path
    $subfolderPath = Join-Path -Path $scriptDirectory -ChildPath "output"

    # Ensure the subfolder exists, if not, create it
    if (-not (Test-Path $subfolderPath)) {
        New-Item -Path $subfolderPath -ItemType Directory | Out-Null
    }

    # Activate the Pipenv shell and execute the command
    pipenv run python rigol_grab.py --verbose --filename $filename --port $ipAddress

    # Attempt to move the outputted file to the subfolder
    try {
        Move-Item -Path $filename -Destination $subfolderPath -ErrorAction Stop
        Write-Host "Output file moved successfully."
        # Display the path of the moved file
        Write-Host "Output file path: $($subfolderPath)\$filename"
		Write-Host "Finished! Restarting..." -ForegroundColor Green
    } catch {
        Write-Host "Error occurred while moving the output file: $_" -ForegroundColor Red
        # Prompt the user if they want to change the IP address in the .txt file
        $changeIP = Read-Host "Do you want to change the IP address in the rigol_ip_address.txt file? (yes/no)"
        if ($affirmativeResponses -contains $changeIP) {
            $ipAddress = Read-Host "Enter new IP Address"
            $ipAddress | Out-File $ipFilePath
            Write-Host "IP Address updated in rigol_ip_address.txt file."
            # Restart the script
            RunScript
            return
        }
    }
}

# Run the script in a loop
do {
    RunScript
} while ($true)

Write-Host "Script has ended."

@jwidess I appreciate your work, but I won't incorporate it into the rigol-grab repository.  This is because rigol-grab is a low-level tool.  For your specific needs, your specific script does the job.  Other users may have entirely different requirements, such as "grab a screenshot once a minute and save with an ISO-formatted timestamp."  MacOS and Linux users don't have PowerShell at all.  Myself, my primary testing is on Windows, but I use a bash shell.  Etc.  I'm sure other people have created custom scripts -- keep yours in a safe place; I trust it will be helpful to your future work!
Best,

rdp


Please add MarkDown support for titles

*Species name* in the article or figure titles are not italicised. They are in the descriptions, and in the titles when using <i>Species name</i>. Please compare the title and topmost figure in my test article with the code here and here.

Good idea - I've added the markdownify filter in the places that it's missing.

Merci :-)

PS: I notices that plain URLs are not converted to clickable links, despite markdownify being set to act on the sections I tested it in. Can it generally not convert plain URLs? If yes, is using another parser/converted feasible?

I notices that plain URLs are not converted to clickable links, despite markdownify being set to act on the sections I tested it in. Can it generally not convert plain URLs?

According to the Markdown syntax, URLs will be automatically converted to hyperlinks if they're surrounded by angle brackets, like this:
http://example.com

The problem now is that markdownify wraps everything in <p> tags, which breaks the HTML when the text being converted is not actually a paragraph.

Fixed by converting inline Markdown with JavaScript: https://github.com/PeerJ/paper-now/commit/5286b1462ee36086a1fce4ad84a6f7956a81b067


Add release version as workflow input

Add a new releaseVersion input to the workflow.
The passed value is then stored properly in release.json. For Example:
{
  "0.4.21": { },
   "0.4.22": {
     "release": "v0.70.0"
   }
}

If release is present, the frontend will render it properly in the dropdown.

I was confused by an upgrade yesterday when I got 0.4.22 in backstage.json - isn’t that a really old version? Where does that number come from, and why is the release different? 🤔