Optional Parameters are incorrect

Per the documentation only name is required.
New-RetentionCompliancePolicy -Name "Default 5 Year Retention [US1]"
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo          : InvalidArgument: (:) [New-RetentionCompliancePolicy], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,New-RetentionCompliancePolicy
+ PSComputerName        : nam03b.ps.compliance.protection.outlook.com

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

ID: 7456f5b5-7de8-2c8f-b165-8f6b4e380499
Version Independent ID: 9ea298f4-8f11-0e52-9d73-bf0192dc3c9e
Content: New-RetentionCompliancePolicy (exchange)
Content Source: exchange/exchange-ps/exchange/policy-and-compliance-retention/New-RetentionCompliancePolicy.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

Hello @stephenc01
Thanks for your feedback.
Unless I am not seeing it, I did not find the Required attribute in this article. So if i am not wrong, it is not stating that name is the only parameter required.
Thank you

@get-itips  Thank you very much for the contribution.  @stephenc01 We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if you see an improvement is required in the specific area of this documentation. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close

I found I was able to get this working with the following command.  For some reason it needs to be fed the 'ExchangeLocation' but s ok with getting a null variable.
New-RetentionCompliancePolicy -Name $Name -ExchangeLocation $null


Fix incorrect row count

Closes #8

That's a great fix! Thank you for contributing.

вторник, 11 октября 2016 г. пользователь Ilya Lopukhin написал:

That's a great fix! Thank you for contributing.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/web-pal/DBGlass/pull/13#issuecomment-252753890, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAh5jV45h6vQUI8K4hsA-yrJeXg1Q7P3ks5qyrElgaJpZM4KS9NS
.


IOError - closed stream when using determine_mime_type plugin

Hello, I have this error when I add the determine_mime_type plugin to my uploader. I think that determine_mime_type is closing the file?
 Can you verify that the original file assigned to the Shrine attachment attribute is not already closed to begin with? See https://github.com/janko-m/shrine/issues/107 for more context on why I'm asking that. You can do that by retrieving the ActionDispatch::Http::UploadedFile object from params in the controller and calling #closed? on it and printing out the result.

The problem was this code on my controller:
@product.assign_attributes product_params
## some code
@product.update product_params

Now I have changed to:
@product.assign_attributes product_params
## some code
@product.save

Looks like the temp file got closed on assign_attributes method. By the way, this error only happens when I add the determine_mime_type plugin. So, before that, I was assigning the file already closed and no error was raised. Is that ok for Shrine?

So, before that, I was assigning the file already closed and no error was raised. Is that ok for Shrine?

Shrine is not expected to handle closed IO objects, any give IO objects should be open.
I don't know why Shrine didn't raise an exception when the closed file was supposed to get uploaded to storage. The determine_mime_type plugin calls #read on the IO object, so if that IO object is closed, IOError: closed stream exception will be raised.
You have to make sure not to close the ActionDispatch::Http::UploadedFile before giving it to Shrine.


Change file description and copyright?

Hello, could this tool also allow people to change file description and copyright strings?

I would like to add the product name to this list.

It ChangeString does what I think it does implementing this will be straight forward. Will PR later today if thats the case.

I couldn't set up my windows building environment (what a pain), so I am leaving this for now.

(tagging https://github.com/maxogden/electron-packager/issues/30 so that the status on this issue is reflected on that thread)

this works for me:
$ rcedit "path-to-exe-or-dll" --set-version-string "CompanyName" "MyCompany"
$ rcedit "path-to-exe-or-dll" --set-version-string "FileDescription" "This is an exe"
$ rcedit "path-to-exe-or-dll" --set-version-string "LegalCopyright" "Copyright whatever"
$ rcedit "path-to-exe-or-dll" --set-version-string "ProductName" "MyAwesomeProduct"

this is just a documentation issue

Doh! Looks like you are right @felicienfrancois

Thanks @felicienfrancois. Seriously, this should be documented!


Feature request: hardware control like pulse

I wonder if it is possible to implement a programming kit for hardware-level control  like qiskit.pulse, see

skit pulse: Pro-gramming quantum computers through the cloud with pulses,Quantum Sci. Technol.5, 044006 (2020)

Yes, we have been working on to support pulse instructions. Please keep on to see the update and leave any of your concrete suggestions for development of this function.


Package requests: freepn

Project description
FreePN is an open-source peer-to-peer VPN service.
The two main packages are fpnd and freepn-gtk3-overlay.
Metadata

homepage URL: https://freepn.org
source URL (fpnd): https://github.com/freepn/fpnd
source URL (freepn-gtk3-overlay): https://github.com/freepn/freepn-gtk3-tray
license: agpl-3.0
platforms:  linux

no longer interested


Cannot perform firmware update (R-Pi 3 + HM-MOD-UART)

Hi,
I have a problem performing a firmware update for the co-processor:
eq3configcmd update-coprocessor -p /dev/raw-uart -c -u -l 0
2019/03/18 18:29:53.577 <Debug> firmware filename is: coprocessor_update.eq3

2019/03/18 18:29:55.080 <Debug> () CCU2CommControllerMod::handleIdentifyEvent(): Coprocessor is in bootloader.
2019/03/18 18:29:55.080 <Debug> CCU2CoprocessorCommandMod::CCU2CoprocessorCommandMod(): System frame
2019/03/18 18:29:55.080 <Debug> CCU2CoprocessorCommandMod::isResponseStatusOk(): System status OK
2019/03/18 18:29:55.080 <Debug> CCU2CommControllerMod::handleIncomingResponse() System response OK
2019/03/18 18:29:55.081 <Debug> () CCU2CommControllerMod::handleIdentifyEvent(): Coprocessor is in bootloader.
2019/03/18 18:29:55.098  getApplicationVersion()
2019/03/18 18:29:55.098  CoprocessorUpdate::startApplication()
2019/03/18 18:29:55.099 <Debug> () CCU2CommControllerMod::startCoprocessorApp(): Trying to start coprocessor application
2019/03/18 18:29:55.099 <Debug> CCU2CommControllerMod::sendSystemCommand(): Start Application / Bootloader
2019/03/18 18:29:55.525 <Debug> CCU2CoprocessorCommandMod::CCU2CoprocessorCommandMod(): System frame
2019/03/18 18:29:55.525 <Debug> CCU2CoprocessorCommandMod::isResponseStatusOk(): System status OK
2019/03/18 18:29:55.525 <Debug> CCU2CommControllerMod::handleIncomingResponse() System response OK
2019/03/18 18:29:55.533 <Debug> CCU2CoprocessorCommandMod::CCU2CoprocessorCommandMod(): System frame
2019/03/18 18:29:55.534 <Debug> () CCU2CommControllerMod::handleIdentifyEvent(): Coprocessor is in application.
2019/03/18 18:29:55.599 <Debug> CoprocessorUpdate::startApplication():Coprocessor entered application.
2019/03/18 18:29:56.102 <Debug> CCU2CoprocessorCommandMod::CCU2CoprocessorCommandMod(): System frame
2019/03/18 18:29:56.103 <Debug> CCU2CoprocessorCommandMod::isResponseStatusOk(): System status OK
2019/03/18 18:29:56.103 <Debug> CCU2CommControllerMod::handleIncomingResponse() System response OK
2019/03/18 18:29:56.103 <Info> Version: 1.2.1

2019/03/18 18:29:56.103 <Info> Update necessary, installed: 1.2.1, avaiable 2.8.6

2019/03/18 18:29:56.103  CoprocessorUpdate::startBootloader()
2019/03/18 18:29:56.103 <Debug> () CCU2CommControllerMod::startCoprocessorBootloader(): Trying to start coprocessor bootloader
2019/03/18 18:29:56.103 <Debug> CCU2CommControllerMod::sendSystemCommand(): Start Application / Bootloader
2019/03/18 18:29:56.106 <Debug> CCU2CoprocessorCommandMod::CCU2CoprocessorCommandMod(): System frame
2019/03/18 18:29:56.106 <Debug> CCU2CoprocessorCommandMod::isResponseStatusOk(): System status OK
2019/03/18 18:29:56.106 <Debug> CCU2CommControllerMod::handleIncomingResponse() System response OK
2019/03/18 18:29:57.136 <Debug> CCU2CoprocessorCommandMod::CCU2CoprocessorCommandMod(): System frame
2019/03/18 18:29:57.137 <Debug> () CCU2CommControllerMod::handleIdentifyEvent(): Coprocessor is in bootloader.
2019/03/18 18:29:57.604 <Debug> CoprocessorUpdate::startBootloader():Coprocessor entered bootloader.
2019/03/18 18:29:57.604 <Debug>  deliver firmware...
2019/03/18 18:29:57.740 <Debug> CCU2CoprocessorCommandMod::CCU2CoprocessorCommandMod(): System frame
2019/03/18 18:29:57.740 <Debug> CCU2CommControllerMod::handleIncomingResponse() System response failed
2019/03/18 18:29:57.740 <Info> CCU2CommControllerMod::sendSystemCommand(): failed
2019/03/18 18:29:57.740 <Debug> Firmwareupdate not successfull, at frame 1 of 154

The device seems to be properly connected as I ca read the serial number and RF address:
eq3configcmd update-coprocessor -p /dev/raw-uart -se -c
2019/03/18 18:27:59.139 <Info> SerialNumber: PEQ0532593

eq3configcmd read-default-rf-address -v -f /dev/raw-uart
Initalizing coprocessor...
Requesting default rf address
Default RF-Address is:
6970195

Here is the output of the self test:
eq3configcmd test-coprocessor -p /dev/raw-uart
2019/03/18 18:31:37.529 <Info> Starting speed test
2019/03/18 18:31:37.530 <Info> Retrieving 1000 times firmware version from coprocessor...
2019/03/18 18:31:39.370 <Info> Speed test finished.
2019/03/18 18:31:39.370 <Info> Results:
2019/03/18 18:31:39.370 <Info> Total time needed: 1840 ms
2019/03/18 18:31:39.370 <Info> Mean time: 1.840000 ms
2019/03/18 18:31:39.370 <Info> Variance: 0.174400
2019/03/18 18:31:39.370 <Info> Standard deviation: 0.417612
2019/03/18 18:31:39.370 <Info> Minimum time: 1
2019/03/18 18:31:39.370 <Info> Maximum time: 5

Can you point to what might be cause of the problem? Any comments are highly appreciated!
Thanks in advance,
Todor

With RaspberryMatic there is no need to manually update the coprocessor of the rf module as this is automatically done/checked upon every boot.

Well this actually does not work. So this is why I’ve run the command manually.

Please check if you have a file /etc/config/no-coprocessor-update in your installation. If so, delete it and reboot. This file was unfortunately created by piVCCU installations and should be deleted when moving over to other CCU variants.


Replace server API URL with official one

To get the official glTF URL of a google blocks model currently a server instance is required. I am providing one at https://gblock.herokuapp.com/get-gltf-url/<google-blocks-url>
TODO:

replace custom API with official one once available.

https://github.com/archilogic-com/aframe-gblock/blob/master/src/gblock.js#L10

Wish granted!
https://developers.google.com/poly/

I made a pull request to use official api url #7

thx @antoniohof !


Propagate EOF found while checking trailing whitespace

Currently, if the source iterator returns None while the parser is checking for whitespace before EOF, that None is ignored and the iterator is expected to continue returning None after the whitespace check, i.e., the iterator is expected to be fused.
In general, the iterator may not be fused, and calling next() after the terminating None may lead to, for example, an unnecessary read from blocking IO that hangs indefinitely while waiting for more data.
This change makes the EOF check aware if the iterator returns None in the trailing whitespace check. Since all uses of eof() are preceded by a call to parse_whitespace(), that call is moved into eof() and checked there.
I ran into this while working on an HTTP chunked transfer decoder/iterator, where after indicating EOF to the parser, the parser tries to peek at another byte, which causes a read from a blocking TCP stream that hangs the process.

Thanks! There are some breaking changes on this branch for the upcoming 0.9 release but I cherry-picked your commit across to the 0.8 branch as 944bdf37254a7a5cebdbc456ec1865b063728ccd and released it in serde_json 0.8.5.

Sounds good, thanks!


Logging with log4j

Resolves #40

We could also incorporate changes I mentioned in Issue #54
SonarLint want us to use formatting instead of concatenation.
It should look like this:
LOGGER.info("Started server on port: {}", server.port);
Instead of like it is now:
LOGGER.info("Started server on port: " + server.port);


Vulnerable Log4J version exclusions

Excluding log4j artifacts with know vulnerabilities from
strimzi-test-container.

Failures related to https://github.com/quarkus-qe/quarkus-test-framework/pull/401


experiment result can not have invalid/null/empty/multiple result_value_type

experiment result can not have invalid/null/empty/multiple result_value_type
invalid-result-value-type
{
 "id" : "a123",
 "trial_number": 0,
 "trial_result": "success",
 "result_value_type": "xyz",
 "result_value": 98.78,
 "operation" : "EXP_TRIAL_RESULT"
}

null-result-value-type
{
 "id" : "a123",
 "trial_number": 0,
 "trial_result": "success",
 "result_value_type": null,
 "result_value": 98.78,
 "operation" : "EXP_TRIAL_RESULT"
}

empty-result-value-type
{
 "id" : "a123",
 "trial_number": 0,
 "trial_result": "success",
 "result_value_type":  ,
 "result_value": 98.78,
 "operation" : "EXP_TRIAL_RESULT"
}

multiple-result-value-type
{
 "id" : "a123",
 "trial_number": 0,
 "trial_result": "success",
 "result_value_type": "double",
 "result_value_type": "double",
 "result_value": 98.78,
 "operation" : "EXP_TRIAL_RESULT"
}

Closing this issue, as HPO is now moved to a separate repo and this issue has been fixed there.


Can not send quick replies trough convo.ask()

Are you sure this is an issue with the Botkit core module?
Yes
What are you trying to achieve or the steps to reproduce?
I want to create a convo flow to get feedback with quick replies but I always get only the first letter of text field
  convo.ask(
    {
      text: '¿Es correcta la respuesta?',
      quick_replies: [
        {
          title: "Sí",
          payload: "feedback_ok"
        },
        {
          title: "No",
          payload: "feedback_ko"
        }
      ]
    },
    [
      {
        pattern: /sí|si/i,
        type: 'string',
        handler: async (response, convo, bot) => {
          return await bot.say("¿Puedo ayudar en algo más?");
        }
      },
      {
        pattern: /no/i,
        type: 'string',
        handler: async (response, convo, bot) => {
          return await convo.gotoThread("bad_response");
        }
      },
      {
        default: true,
        handler: async (response, convo, bot) => {
          await convo.say("No lo he entendido");
          // start over!
          return await convo.repeat();
        }
      }
    ],
    {}
  );

What was the result you received?
botkit:web OUTGOING >  { type: 'message', text: '¿' }
What did you expect?
botkit:web OUTGOING > {       text: '¿Es correcta la respuesta?',       quick_replies: [         {           title: "Sí",           payload: "feedback_ok"         },         {           title: "No",           payload: "feedback_ko"         }       ]     }
Context:

Botkit version: 4.0.2
Messaging Platform: web
Node version: 10.15.0
Os: Linux
Any other relevant information: Botkit FTW!

Duplicate of #1679 and #1664

A temporary workaround: put quick_replies field inside channelData field:

convo.ask({
   text: ['What is your favorite color'],
   channelData: {
     quick_replies: [
        {...}
     ]
   }
}, [], 'key');

Oki, sorry an thanks!


Complex names are int, cannot be concatenated with str.

https://github.com/gcorso/DiffDock/blob/2782769ccde3127c72c47033e26face97958d7c8/utils/inference_utils.py#L184
When running inference with the provided data/testset_csv.csv, the following exception has been raised.
Traceback (most recent call last):   File "/app/anaconda3/envs/diffdock/lib/python3.8/runpy.py", line 194, in _run_module_as_main     return _run_code(code, main_globals, None,   File "/app/anaconda3/envs/diffdock/lib/python3.8/runpy.py", line 87, in _run_code     exec(code, run_globals)   File "/mnt/raw_data/DiffDock/inference.py", line 71, in <module>     test_dataset = InferenceDataset(out_dir=args.out_dir, complex_names=complex_name_list, protein_files=protein_path_list,   File "/mnt/raw_data/DiffDock/utils/inference_utils.py", line 185, in __init__     labels.extend([complex_names[i] + '_chain_' + str(j) for j in range(len(s))])   File "/mnt/raw_data/DiffDock/utils/inference_utils.py", line 185, in <listcomp>     labels.extend([complex_names[i] + '_chain_' + str(j) for j in range(len(s))]) TypeError: unsupported operand type(s) for +: 'int' and 'str'
Upon further investigation, the complex names provided in the csv file are integers which cannot be concatenated with str.
A potential fix could be replacing https://github.com/gcorso/DiffDock/blob/2782769ccde3127c72c47033e26face97958d7c8/inference.py#L65
with [name if name is not None and isinstance(name, str) else f"complex_{i}" for i, name in enumerate(complex_name_list)]
Could you please have a look and fix accordingly?

I have the same error
Generating ESM language model embeddings
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  KCX  in the complex. Replacing it with a dash - .
encountered unknown AA:  KCX  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  PTR  in the complex. Replacing it with a dash - .
Traceback (most recent call last):
File "/public/home/wangzq1992/miniconda3/envs/diffdock/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/public/home/wangzq1992/miniconda3/envs/diffdock/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/public/home/wangzq1992/DiffDock/DiffDock-main/inference.py", line 71, in
test_dataset = InferenceDataset(out_dir=args.out_dir, complex_names=complex_name_list, protein_files=protein_path_list,
File "/public/home/wangzq1992/DiffDock/DiffDock-main/utils/inference_utils.py", line 184, in init
labels.extend([complex_names[i] + 'chain' + str(j) for j in range(len(s))])
File "/public/home/wangzq1992/DiffDock/DiffDock-main/utils/inference_utils.py", line 184, in
labels.extend([complex_names[i] + 'chain' + str(j) for j in range(len(s))])
TypeError: unsupported operand type(s) for +: 'int' and 'str'

Same here. Did you resolve the issue?
python -m inference --protein_ligand_csv data/testset_csv.csv --out_dir results/user_predictions_testset --inference_steps 20 --samples_per_complex 40 --batch_size 10 --actual_steps 18 --no_final_step_noise

Generating ESM language model embeddings
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  KCX  in the complex. Replacing it with a dash - .
encountered unknown AA:  KCX  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  CSO  in the complex. Replacing it with a dash - .
encountered unknown AA:  PTR  in the complex. Replacing it with a dash - .
Traceback (most recent call last):
  File "/home/wyddcaltte3/anaconda3/envs/diffdock/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/wyddcaltte3/anaconda3/envs/diffdock/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/wyddcaltte3/DiffDock/inference.py", line 71, in <module>
    test_dataset = InferenceDataset(out_dir=args.out_dir, complex_names=complex_name_list, protein_files=protein_path_list,
  File "/home/wyddcaltte3/DiffDock/utils/inference_utils.py", line 184, in __init__
    labels.extend([complex_names[i] + '_chain_' + str(j) for j in range(len(s))])
  File "/home/wyddcaltte3/DiffDock/utils/inference_utils.py", line 184, in <listcomp>
    labels.extend([complex_names[i] + '_chain_' + str(j) for j in range(len(s))])
TypeError: unsupported operand type(s) for +: 'int' and 'str'


[ISSUE #4617] Correct log info

Make sure set the target branch to develop
What is the purpose of the change
Close #4617
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #4618 (870e8e4) into develop (225bc42) will increase coverage by 0.05%.
The diff coverage is 91.66%.

@@              Coverage Diff              @@
##             develop    #4618      +/-   ##
=============================================
+ Coverage      43.42%   43.48%   +0.05%
- Complexity      6213     6215       +2
=============================================
  Files            817      817
  Lines          57654    57654
  Branches        7873     7873
=============================================
+ Hits           25037    25071      +34
+ Misses         29384    29340      -44
- Partials        3233     3243      +10

Impacted Files
Coverage Δ

...apache/rocketmq/broker/slave/SlaveSynchronize.java
4.67% <0.00%> (ø)

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
68.80% <100.00%> (+0.50%)
:arrow_up:

...org/apache/rocketmq/common/stats/StatsItemSet.java
46.26% <0.00%> (-4.48%)
:arrow_down:

...ketmq/common/protocol/body/ConsumerConnection.java
95.83% <0.00%> (-4.17%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
81.42% <0.00%> (-1.43%)
:arrow_down:

...mq/client/impl/consumer/RebalanceLitePullImpl.java
69.86% <0.00%> (-1.37%)
:arrow_down:

...client/consumer/store/RemoteBrokerOffsetStore.java
67.56% <0.00%> (-0.91%)
:arrow_down:

...a/org/apache/rocketmq/store/StoreStatsService.java
48.61% <0.00%> (-0.56%)
:arrow_down:

.../org/apache/rocketmq/store/ha/DefaultHAClient.java
61.02% <0.00%> (-0.52%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
61.92% <0.00%> (-0.46%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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

Coverage increased (+0.01%) to 47.605% when pulling 870e8e462e861739a30babef99b77650667ec033 on Oliverwqcwrw:develop-same-addr-27 into 00da3e7249d2339717d96f7ea2ab8e4a2fd4242c on apache:develop.


Update the openshift/oadp-operator datamover documentation

https://github.com/openshift/oadp-operator/blob/master/docs/examples/data_mover.md

additional doc was merged. closing


Serenity-bdd 1.0.59 doesn't support Java 6 resulting in impossibility to build Podam with Java 6

Caused by: java.lang.UnsupportedClassVersionError: net/serenitybdd/maven/plugins/SerenityAggregatorMojo : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:643)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)

at java.net.URLClassLoader.access$000(URLClassLoader.java:73)

at java.net.URLClassLoader$1.run(URLClassLoader.java:212)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)

at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)

at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)

at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254)

at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)

at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)

... 41 more

Serenity 1.0.26 was already Java 6 incompatible, and versions below have issue with other Podam dependencies compatibility. I think dropping Java 6 support is an option here.

I agree. We could move compatibility to Java 7
From: Daniil Ivanov<EMAIL_ADDRESS>Reply-To: devopsfolks/podam<EMAIL_ADDRESS>Date: Saturday, 20 August 2016 at 18:49
To: devopsfolks/podam<EMAIL_ADDRESS>Subject: Re: [devopsfolks/podam] Serenity-bdd 1.0.59 doesn't support Java 6 resulting in impossibility to build Podam with Java 6 (#215)
Serenity 1.0.26 was already Java 6 incompatible, and versions below have issue with other Podam dependencies compatibility. I think dropping Java 6 support is an option here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Since Serenity is a test dependency, nothing special is needed. Actually compatibility with Java 6 might be still there, but it just cannot be verified any more.


Added mimimal node version for project for nvm switching

My node version for SFCC was too low for this project so I had to install NVM. I added an nvmrc in order to auto switch when changing into this directory.

Hello @nek4life ,
Thank you for your PR.
Can you please target the develop branch instead?
This way I'll include this change in the next release.
Thanks!

Closing the PR but I included this change in the v1.2.0 version


exit when there are errors deleting objects from S3

Overview
boto3's s3.delete_objects call does not raise an exception when there are errors deleting files, instead it returns an Errors key containing details for each file that failed.
This pr checks for that key, prints error messages and then raises a TaskCatException, which triggers sys.exit(1).
Deleting a file that does not exist does not raise an exception, which is fine imo, as the desired state is is consistent.
Testing/Steps taken to ensure quality
ran taskcat against bucket where policy denied delete. prints error and exits. also ran delete_objects against non existent files (does not error).
Testing Instructions

run taskcat with -u to upload some files.
set a bucket policy denying DeleteObject
delete/rename a file locally
run taskcat again

It should exit with the following:
[INFO   ] :Staging Bucket => mybucket
[S3: DELETE ] s3://mybucket/prefix/test.txt
[ERROR  ] :S3 delete error: {'Key': 'prefix/test.txt', 'Code': 'AccessDenied', 'Message': 'Access Denied'}
[ERROR  ] :Failed to delete one or more files from S3

Closing/reopening to re-trigger travis.

@jaymccon  can you pull in the changes from develop please


You can upload files of any size to the server

This should be maxed out at some value.

Completed in latest PR


[search] broken with --lang en

can't search in english, although i have english installed
bible --lang ro --search 'Meroza' --onlyVerses
=> Blestemaţi pe Meroza, a zis Îngerul Domnului, blestemaţi, blestemaţi pe locuitorii lui; căci n-au venit în ajutorul Domnului, în ajutorul Domnului, printre oamenii viteji.
bible --lang en --search 'jesus'
Results for search: jesus
Error:  Module don't support search method
bible --lang en --onlyVerses 'John 1:1-10' 'Genesis 2:3-7'
God blessed the seventh day and made it holy because on it he ceased all the work that he had been doing in creation.
This is the account of the heavens and the earth when they were created ... ... ...

Well, the error is pretty clear: searching is simply not available for the English version yet.

i was confused by the error, because i don't understand how a search-feature depends on the language im using (isn't it the same feature-function, applied on another source)
maybe you're using a different API target for english, that would explain why
also i didn't found the search function in the code... so i don't know if i could help "fixing" this
i don't wanted to bother you, just wanted to get clear on this error

Each language package implements its own searching method.
For instance, the English version uses an request-based workflow, which also means you should be connected to the internet.
The Romanian one downloads the JSON files locally.
I'm not sure if this API service supports searching. From a quick look, it doesn't seem to: http://labs.bible.org/api_web_service
And as long the API service doesn't have support for searching, we cannot do anything else than switching to a different API service, probably.

/cc https://github.com/BibleJS/bible-english/issues/3


When using $export?_format=foo an unformatted error message is returned

Describe the bug
When using $export?_format=foo an unformatted error message is returned.
To Reproduce
Steps to reproduce the behavior:

Use a _format option that is not valid, e.g. $export?_format=foo

Expected behavior
OperationOutcome with error message of missing format
Actual behavior
The OperationOutcome still has text placeholder
  "resourceType": "OperationOutcome",
  "id": "4248cdfb-e657-4b26-affa-67aff4a01b22",
  "issue": [
    {
      "severity": "error",
      "code": "invalid",
      "diagnostics": "The format '{0}' could not be found."
    }
  ]
}

Related to #1422

AB#77963

AB#77963

AB#77963


Clean up aggregation tests

Related Issue(s):

#290

Description:
General cleanup of the aggregation test in an effort to resolve #290. I am not able to reproduce the error locally, but I have also noticed the issue when testing is run on github. My best guess is that it is an issue with  async tests running in parallel. I made the following changes.

removed all unnecessary uses of the ctx fixture.
removed call for load_test_data

PR Checklist:

[ ] Code is formatted and linted (run pre-commit run --all-files)
[ ] Tests pass (run make test)
[ ] Documentation has been updated to reflect changes, if applicable
[ ] Changes are added to the changelog

And here it is 😅
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED stac_fastapi/tests/extensions/test_aggregation.py::test_post_aggregate_total_count - assert 2 == 1
=========== 1 failed, 189 passed, 18 skipped, 193 warnings in 18.94s ===========
Error: Process completed with exit code 1.

Found it! It is a simple bug I believe. For Elasticsearch, the indices() function was only checking if the input was None. But the test_post_aggregate_total_count  test passed an empty list.  So the assert 2 == 1 was happening because the aggregation was including the collection AND the item.
This has gotten a bit messy. I am going to close this PR and make the fix in a separate PR.


[NoQA] e2e: support for different units

Details
Follow up PR for https://github.com/Expensify/App/pull/43482 In this PR I'm adding different units for different types of measurement.

[!CAUTION]
Highly desirable to merge this PR straight before a new release, since it contains pretty a lot of breaking changes and old .apks will be incompatible with new test runner. Should be merged after https://github.com/Expensify/App/pull/43482

Before
After

Below you can find an example of generated markdown:
Performance Comparison Report 📊
Significant Changes To Duration
There are no entries
Meaningless Changes To Duration

Show entries

Name
Duration

App start nativeLaunchEnd_To_appCreationStart
83.375 ms

App start nativeLaunch
89.375 ms

App start appCreation
90.125 ms

App start appCreationEnd_To_contentAppeared
647.875 ms

App start contentAppeared_To_screenTTI
1267.619 ms

App start runJsBundle
477.125 ms

App start TTI
2178.369 ms

App start regularAppStart
0.025 ms

App start time (CPU)
156.901 %

App start time (FPS)
59.784 FPS

App start time (RAM)
356.692 MB

Show details

Name
Duration

App start nativeLaunchEnd_To_appCreationStart
BaselineMean: 100.750 msStdev: 56.740 ms (56.3%)Runs: 59 67 72 78 85 90 109 246CurrentMean: 83.375 msStdev: 11.916 ms (14.3%)Runs: 60 79 80 81 83 84 100 100

App start nativeLaunch
BaselineMean: 85.375 msStdev: 4.794 ms (5.6%)Runs: 78 80 83 85 86 88 89 94CurrentMean: 89.375 msStdev: 10.012 ms (11.2%)Runs: 77 79 87 88 89 89 94 112

App start appCreation
BaselineMean: 97.875 msStdev: 16.922 ms (17.3%)Runs: 67 90 90 94 96 108 109 129CurrentMean: 90.125 msStdev: 12.634 ms (14.0%)Runs: 74 83 84 85 91 91 93 120

App start appCreationEnd_To_contentAppeared
BaselineMean: 622.125 msStdev: 49.798 ms (8.0%)Runs: 562 577 590 592 635 636 661 724CurrentMean: 647.875 msStdev: 61.310 ms (9.5%)Runs: 568 592 601 606 657 694 726 739

App start contentAppeared_To_screenTTI
BaselineMean: 1305.782 msStdev: 133.131 ms (10.2%)Runs: 1156.5970499999821 1187.303460999974 1206.6081209999975 1241.2006399999955 1265.4872229999746 1362.3920100000105 1497.405487000011 1529.264254000038CurrentMean: 1267.619 msStdev: 105.689 ms (8.3%)Runs: 1140.6160490000038 1201.7801089999848 1205.4019809999736 1207.8677119999775 1233.2525310000055 1293.425217000011 1368.7890729999635 1489.8198379999958

App start runJsBundle
BaselineMean: 460.250 msStdev: 32.771 ms (7.1%)Runs: 430 439 441 442 452 454 489 535CurrentMean: 477.125 msStdev: 55.379 ms (11.6%)Runs: 408 422 422 462 474 528 544 557

App start TTI
BaselineMean: 2211.907 msStdev: 211.166 ms (9.5%)Runs: 2002.5970499999821 2092.4872229999746 2093.2006399999955 2119.303460999974 2126.6081209999975 2161.3920100000105 2412.405487000011 2687.264254000038CurrentMean: 2178.369 msStdev: 167.123 ms (7.7%)Runs: 2005.6160490000038 2038.8677119999775 2039.7801089999848 2054.4019809999736 2153.2525310000055 2301.425217000011 2345.7890729999635 2487.819837999996

App start regularAppStart
BaselineMean: 0.025 msStdev: 0.005 ms (19.3%)Runs: 0.020548000000417233 0.021524999989196658 0.022136000043246895 0.023803999996744096 0.023803999996744096 0.024209999945014715 0.026285999978426844 0.03682500007562339CurrentMean: 0.025 msStdev: 0.004 ms (16.9%)Runs: 0.02172800002153963 0.022054000000935048 0.02229799999622628 0.023111999966204166 0.023763000033795834 0.024169999989680946 0.026082000054884702 0.03535999997984618

App start time (CPU)
BaselineMean: 154.588 %Stdev: 3.032 % (2.0%)Runs:<PHONE_NUMBER>6001842<PHONE_NUMBER>1148448<PHONE_NUMBER>3810605<PHONE_NUMBER>261075<PHONE_NUMBER>1776335<PHONE_NUMBER>731539CurrentMean: 156.901 %Stdev: 4.600 % (2.9%)Runs:<PHONE_NUMBER>273787<PHONE_NUMBER>2323335<PHONE_NUMBER>3324114<PHONE_NUMBER>2339412<PHONE_NUMBER>17591<PHONE_NUMBER>363146<PHONE_NUMBER>3938259<PHONE_NUMBER>8127955

App start time (FPS)
BaselineMean: 57.844 FPSStdev: 1.703 FPS (2.9%)Runs: 55.107489304472004 56.0982928508171 57.39432223546879 57.52587874695508 59.224918773637285 59.58690738429183 59.96670772248177CurrentMean: 59.784 FPSStdev: 0.452 FPS (0.8%)Runs: 58.77512689419158 59.92911343561765 60 60 60 60

App start time (RAM)
BaselineMean: 352.439 MBStdev: 8.207 MB (2.3%)Runs:<PHONE_NUMBER>666667<PHONE_NUMBER>166667<PHONE_NUMBER>5<PHONE_NUMBER> 353.88125<PHONE_NUMBER>625<PHONE_NUMBER>625<PHONE_NUMBER>625CurrentMean: 356.692 MBStdev: 3.676 MB (1.0%)Runs:<PHONE_NUMBER>666667<PHONE_NUMBER>333333 354.5<PHONE_NUMBER>875<PHONE_NUMBER>25<PHONE_NUMBER>166667<PHONE_NUMBER>833333<PHONE_NUMBER>25

Fixed Issues

$ N/A
PROPOSAL: https://github.com/Expensify/App/pull/43482#issuecomment-2172182535
Tests

[ ] run e2e pipeline and be sure it's green;

Offline tests

N/A
QA Steps

N/A
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

Adding @mountiny and @hayata-suenaga who reviewed the original PR

Let's merge https://github.com/Expensify/App/pull/43482 first and then I'll resolve conflicts and revise this PR 👀

@kirillzyusko is this ready to be merged?

https://github.com/Expensify/App/pull/43482 was merged, so this one is ready to be merged 😄

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 9.0.4-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/tgolen in version: 9.0.4-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


RangeError: Invalid time value

I'm submitting a bug report
Brief Description
When clicking on the comment tab of an issue, the screen is blank and the console display:

Error: Invalid LngLat object: (NaN, NaN)
RangeError: Invalid time value

What  is the current behaviour, (attach relevant screenshots) ?

What  is the expected behaviour ?
Display comments of the current changeset
When does this occur ?
On clicking on the Comments tab.
But for filtered changesets by Number of comments ≥ 1
How do we replicate the issue ?

Open this filter or simply this changeset
click on the comments tab of one changeset

Please tell us about your environment:

macOS Big Sure
tested with Chrome, Safari and Firefox

Also got Changeset:107360433 Map failed.null is not an object (evaluating 't.to.toString') for this filter

I replicated the issue on Debian 10 XFCE / Firefox 78.11.0esr

Thanks for the report, @pyrog ! I have already fixed it and OSMCha will be updated on Monday.

Also got Changeset:107360433 Map failed.null is not an object (evaluating 't.to.toString') for this filter

It works now. Maybe when you loaded it, the visualization was not ready yet.

Thank you very much Wille 😃


Log netrc path and hash contents

Why
Despite #236, we're still getting the same error. Instead of guessing, let's see what the state of the world looks like.
What changed
Informational logging around the existence and path of what nix thinks the netrc file looks like. This should be safe to stay to help debug future config drift as well.
Test plan
Tested nix --extra-experimental-features nix-command show-config netrc-file on a devbox
Rollout
N/a

[x] This is fully backward and forward compatible

Not necessary, sem debug job ... allowed me to get access to the environment and confirm the issue.


write_mtz SettingWithCopyWarning

when writing MTZs, the syntax in dataset.py may be a bit out of date. Not a problem right now, but just registering some example warnings.
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:310: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[key] = dataset[key].astype(dtype)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1241: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[["H", "K", "L"]] = asu_hkls[inverse]
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1242: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[["H", "K", "L"]] = dataset[["H", "K", "L"]].astype("HKL")
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1257: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset["M/ISYM"] = DataSeries(m_isym, dtype="M/ISYM", index=dataset.index)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1258: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset.drop(columns="PARTIAL", inplace=True)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:310: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[key] = dataset[key].astype(dtype)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1325: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self["PARTIAL"] = (self[m_isym] / 256).astype(int) != 0
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1326: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self.drop(columns=m_isym, inplace=True)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1334: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self[["H", "K", "L"]] = observed_hkls
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1335: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self[["H", "K", "L"]] = self[["H", "K", "L"]].astype("HKL")
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:310: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[key] = dataset[key].astype(dtype)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1241: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[["H", "K", "L"]] = asu_hkls[inverse]
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1242: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[["H", "K", "L"]] = dataset[["H", "K", "L"]].astype("HKL")
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1257: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset["M/ISYM"] = DataSeries(m_isym, dtype="M/ISYM", index=dataset.index)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1258: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset.drop(columns="PARTIAL", inplace=True)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:310: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  dataset[key] = dataset[key].astype(dtype)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1325: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self["PARTIAL"] = (self[m_isym] / 256).astype(int) != 0
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1326: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self.drop(columns=m_isym, inplace=True)
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1334: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self[["H", "K", "L"]] = observed_hkls
/n/home12/dhekstra/ipython_notebooks/reciprocalspaceship/reciprocalspaceship/dataset.py:1335: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self[["H", "K", "L"]] = self[["H", "K", "L"]].astype("HKL")

Hi -- I'm not able to reproduce this issue using the latest rs and the MTZ files in our tests:
In [1]: import reciprocalspaceship as rs

In [2]: ds = rs.read_mtz("data_merged.mtz")

In [3]: ds.write_mtz("/tmp/test_merged.mtz")

In [4]: ds = rs.read_mtz("data_unmerged.mtz")

In [5]: ds.write_mtz("/tmp/test_unmerged.mtz")

In [6]: rs.__version__
Out[6]: '1.0.1'

I have a hunch this means that the DataSet object you were working with may have had the relevant problem, rather than the code for writing out MTZs. you could probably include a ds = ds.copy() prior to ds.write_mtz() to avoid the warnings, but it also might be worth looking into your code to confirm all the relevant steps are working as intended.
If you still think this is an issue with rs, please include a short example that can be used to reproduce the issue.


Catch UnicodeEncodeErrors in _add_flaky_report()

Fixes #47.
Catch a UncodeEncodeError when writing to the stream, and encode using
utf-8 if needed. Add a new util method ensure_byte_string().

Verified that @anthonywee has signed the CLA. Thanks for the pull request!

lgtm once the history bit is moved


calender don't show the right weekday

Hallo,
the calender don't show the right weekday.
Today is Wednesday the 2015/01/14.
The calender shown tuesday the 2015/01/14.
Current example can show on http://metroui.org.ua/calendar.html
After I removed the utc conversion in the calender component the calender works.

I remove UTC conversion from calendar


Adding content to new pages?

I've added the categories, tags and about pages at the top but they have no content. The archives page works fine. What am I missing here?

Hi, @kiarafrobles .
Here is my hexo demo site source code : https://github.com/iTimeTraveler/hexo-theme-hiero/tree/site-source , Maybe that will be helpful for you.

I checked it out, but I still don't see how to add content to the "categories, tags, and, about" pages. What I have right now is up at → https://kiarafrobles.github.io

@kiarafrobles https://github.com/iTimeTraveler/iTimeTraveler.github.io/tree/site This is my site source, you could try to build it.  In fact, I am also confused this question, Sorry. :cry:

@kiarafrobles I solve your problem !

# ---------------------------------------------------------------
# Site Information Settings
# ---------------------------------------------------------------

# Header Menu
menu:
  Home: /
  Archives: archives
  Categories: categories
  Tags: tags
  About: about
  YourCostomContent: page'sdirname #Add your content here！
rss: /atom.xml

since: 2016
....

Please edit them in hiero's _config.yml

@iTimeTraveler did you mean to link to your actual site's code: https://github.com/iTimeTraveler/iTimeTraveler.github.io/tree/site
In any case, found it useful - maybe you will too @kiarafrobles


Optional checkbox for code of conduct agreement

Thanks for making and maintaining this project! In this PR I’ve implemented an option for a checkbox that ensures the user agrees to a linked code of conduct before requesting an invite. You can see it in action on the TucsonJS slackin. I suspect many other users of slackin may find this feature helpful.
Some notes on the implementation: Adding the option for the checkbox was relatively straightforward in the main interface, however it did add some complications with the badge dialog interface. The fact that the checkbox is optional causes the dialog to be of variable height, so I made the dialog adjust itself to the height of its content before showing itself (using the same methodology the badge uses to adjust its width).
Thanks for considering! Let me know if there is something I should have done differently.

:+1:

:+1:

:+1:

This is awesome! Thanks a lot. I have some concerns about the look n feel, will try to adjust it soon.

I solved this a slightly different and perhaps simpler way in #98 but didn't check all the edge cases (I was focusing on the splash page). Perhaps the two PRs could be combined?

For consistency's sake, would it not be better to handle the validation of the state of the checkbox in the same place as the email is validated: in the /invite handler in index.js?

@megahbite agreed. If we were going to have one and not the other, I would have the /invite handler exclusively. Both sound good, provided that the client-side one provides the user feedback about the error.


Misbehaving driver can cause Fluid to hang on container open

Describe the bug
We found a bug in our driver that resulted in Fluid effectively busy-looping and causing an app hang. We can fix the driver bug, but it would be good to also have the container loading code be a bit more defensive too.
Our driver returned all the messages the service had via the IDocumentDeltaConnection.initialMessages property, but this set of messages erroneously had a gap in the middle. DeltaManager would go through its fetchMissingDeltas path to try to retrieve the messages in the gap, but our implementation of IDocumentDeltaStorageService.fetchMessages would successfully return an empty stream (that is, no messages and done: true) when asked about that gap. This caused DeltaManager to try to keep fetching the gap over, and over, and over, without making forward progress as it would get back an empty stream each time it tried to fill in the gap.

FYI, @rajatch-ff

There is no way for the container to progress until it fills the gap with the ops because the state would not be consistent then. We cannot skip ops and just proceed.

Agreed on not "just proceed" but there should be some sort of additional check that results in load erroring out. If the driver returned success but no messages, should that be an immediate error? Should there be a limit on how many attempts are made for the same gap?

@zagriswo we'll improve the checks here, work backlogged.

Agreed on not "just proceed" but there should be some sort of additional check that results in load erroring out. If the driver returned success but no messages, should that be an immediate error? Should there be a limit on how many attempts are made for the same gap?

Question: In your original description, why did the service kept returning 0 messages and made the container to stuck? Did it ever proceed, or the service lost the messages somehow?

@jatgarg it was a bug uncovered by fuzzing. Basically, a hole was made in the op stream, so our driver returned 0 messages in perpetuity because those messages just didn't exist anymore.

In ODSP driver, we already handle this issue where if we don't make progress in fetching ops using delta storage service, then we give up after 30 secs and container closes.
We use this public utility api for that: requestOps() https://github.com/microsoft/FluidFramework/blob/e9ba4de75adac95337ef57d7955c9c4975345eb8/packages/loader/driver-utils/src/parallelRequests.ts#L545
You can see the usage of it in ODSP driver here: https://github.com/microsoft/FluidFramework/blob/e9ba4de75adac95337ef57d7955c9c4975345eb8/packages/drivers/odsp-driver/src/odspDeltaStorageService.ts#L225
Let me know if you have more questions. You should be able to use it with your driver easily.


Wrong What's new or changed in Microsoft Dynamics 365 Human Resources link is pointing to the old HR CRM release notes

[Enter feedback here]
The What's new or changed in Microsoft Dynamics 365 Human Resources link is pointing to the old HR CRM release notes. It should redirect to the HR merged FO infrastructure release notes.

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

ID: 27899f77-9cc9-1831-fa16-9c0c71f8f1c3
Version Independent ID: 4bfcb1d6-3e1d-b24b-4429-ab3b8f31eb3e
Content: What's new or changed in finance and operations apps home page - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/fin-ops/get-started/whats-new-changed.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @twheeloc
Microsoft Alias: twheeloc

@radu87ro, thank you for the feedback. The updated article will be live later today.


CFBundleSupportedPlatforms error on CircleCI

I am using circleCI for creating and submitting to iTunesConnect.
all over the stack overflow people are talking about .dSYM file. When I check toolbox framework. it seem it has binary file. its not like any other framework. build are rejected by iTunesConnect because of having the .dSYM. files.
Just want to confirm if you are seeing any of these type errors from other people.
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/42/bp51_0vn1kv6lqhv0wmfjrqw0000gn/T/gym_config20170906-4297-mjn0og.plist -archivePath '/Users/distiller/Library/Developer/Xcode/Archives/2017-09-06/firebaseProto-ios 2017-09-06 08.22.23.xcarchive' -exportPath /var/folders/42/bp51_0vn1kv6lqhv0wmfjrqw0000gn/T/gym_output20170906-4297-1vizt2r
2017-09-06 08:24:09.046 xcodebuild[5418:27661] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/42/bp51_0vn1kv6lqhv0wmfjrqw0000gn/T/firebaseProto-ios Adhoc_2017-09-06_08-24-09.045.xcdistributionlogs'.
2017-09-06 08:24:09.503 xcodebuild[5418:27661] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-12154/DVTFoundation/DeveloperStructure/DVTPlatformFamily.m:192
Details:  Error Domain=DVTMachOErrorDomain Code=0 "Found an unexpected Mach-O header code: 0x72613c21" UserInfo={NSLocalizedDescription=Found an unexpected Mach-O header code: 0x72613c21, NSLocalizedRecoverySuggestion=}
Object:   <NSBundle>
Method:   +dvt_platformFamilyForBundleAtPath:error:
Thread:   <NSThread: 0x7f93f8c159c0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-09-06 08:24:09.504 xcodebuild[5418:27661] [MT] IDEDistribution: Failed to generate distribution items with error: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for GoogleToolboxForMac.framework" UserInfo={NSLocalizedDescription=Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for GoogleToolboxForMac.framework}
2017-09-06 08:24:09.504 xcodebuild[5418:27661] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7f93f8e5bcf0>: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for GoogleToolboxForMac.framework" UserInfo={NSLocalizedDescription=Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for GoogleToolboxForMac.framework}
error: exportArchive: Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for GoogleToolboxForMac.framework

Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for GoogleToolboxForMac.framework" UserInfo={NSLocalizedDescription=Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for GoogleToolboxForMac.framework}

** EXPORT FAILED **
[08:24:09]: Exit status: 70

I have just compared the framework generated by repo and frameworks that are provided by firebase for non-cococapods installation. one thing that stands out is none of them have info.plist.
I don't know if that causing a problem.

@alokc83 are you using copy-cartage script to copy your frameworks?
The reason I added the info.plist is to make it work with copy Carthage. Referring to https://github.com/soheilbm/Firebase/issues/4#issuecomment-275930385

@soheilbm: Yes I was using the copy framework script. I am using FastLane to submit an app to the iTunes connect. It seems error was with iTunes validation.
don't know the reason yet. because my mac Mini didn't throw the problem at all but MacBook still have the problem. I am still investigating. what is causing a problem?

We are also facing this issue, also using the copy framework script.

We ran into a similar issue when embedding (not just linking) all the Firebase frameworks into the app.  Only Firebase.framework is a dynamic framework, so it needs to be linked, embedded, and have the Carthage copy-frameworks script run on it.  All of the sublibries (e.g. FirebaseCore.framework, FirebaseCrash.framework) are static frameworks, so they should only be linked, not embedded, nor have the carthage copy-frameworks script run over them.

+1

+1


Grafana dashboard "Celery Overview" is a duplicate of dashboard "Celery task by task" since update of 2023-06-27

Hi
Since the last update (Last update: 2023-06-27T13:49:19), both dashboard are the same :
https://grafana.com/grafana/dashboards/17509-celery-tasks-by-task/
https://grafana.com/grafana/dashboards/17508-celery-tasks-by-task/
Somehow the Celery overview got overwritten

@adinhodovic grafana dashboard expert pls

I'm closing this issue as the dashboard is back !
Thank you


[Bug]: Switchover gets stuck in Primary instance is being restarted in-place for Postgres 12

Is there an existing issue already for this bug?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[X] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[X] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
No response
Version
1.23.2
What version of Kubernetes are you using?
1.30 (unsupported)
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
YAML manifest
What happened?
This happens when doing a switchover in a replica cluster,
After switchover manually by the following command
k cnpg promote cluster-replica-tls 2

The instance manager reconciling the new designated primary changes primary_conninfo in which pending_restart is true for Postgres 12. The cluster reconciliation detects the new designated primary is on the pending restart, it marks the cluster's phase as Primary instance is being restarted in-place  and waits for the instance manger to perform the restart . Unfortunately, the instance manager can only restart the real primary, the designated primary is skipped. Therefore, the cluster' phase is always in Primary instance is being restarted in place
k exec po/cluster-replica-tls-2 -it -- psql -tAc 'select name from pg_settings where pending_restart;'
Defaulted container "postgres" out of: postgres, bootstrap-controller (init)
primary_conninfo
primary_slot_name

https://github.com/cloudnative-pg/cloudnative-pg/blob/5ab2763451a6c20bab6b89b234367fe1eacd0355/internal/management/controller/instance_controller.go#L309
Cluster resource
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: cluster-example
spec:
  instances: 1
  imageName: ghcr.io/cloudnative-pg/postgresql:12.19
  storage:
    size: 1Gi

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: cluster-replica-tls
spec:
  instances: 3
  imageName: ghcr.io/cloudnative-pg/postgresql:12.19
  bootstrap:
    pg_basebackup:
      source: cluster-example

  replica:
    primary: cluster-example
    source: cluster-example

  storage:
    size: 1Gi

  externalClusters:
  - name: cluster-example
    connectionParameters:
      host: cluster-example-rw.default.svc
      user: streaming_replica
      sslmode: verify-full
      dbname: postgres
    sslKey:
      name: cluster-example-replication
      key: tls.key
    sslCert:
      name: cluster-example-replication
      key: tls.crt
    sslRootCert:
      name: cluster-example-ca
      key: ca.crt

Relevant log output
{"level":"info","ts":"2024-08-12T07:05:00Z","msg":"Restarting primary instance in-place","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"cluster-replica-tls","namespace":"default"},"namespace":"default","name":"cluster-replica-tls","reconcileID":"890b265e-9352-4e69-8975-6468db7834e8","primaryPod":"cluster-replica-tls-2","reason":"Postgres needs a restart to apply some configuration changes"}

Code of Conduct

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

the patch to fix this issue was involved in  #5209


[BUG] Cannot read property 'container' of undefined

Information

Version: 5.44.14
OS: Windows 10

Full error:
TypeError: Cannot read property 'container' of undefined
    at HandlerContext.get container [as container] (G:\www\api-profit-new\app\api\node_modules\@tsed\common\src\platform\domain\Handl
erContext.ts:34:29)
    at HandlerContext.<anonymous> (G:\www\api-profit-new\app\api\node_modules\@tsed\common\src\platform\domain\HandlerContext.ts:110:
60)
    at Generator.next (<anonymous>)
    at G:\www\api-profit-new\app\api\node_modules\tslib\tslib.js:113:75
    at new Promise (<anonymous>)
    at Object.__awaiter (G:\www\api-profit-new\app\api\node_modules\tslib\tslib.js:109:16)
    at HandlerContext.callHandler (G:\www\api-profit-new\app\api\node_modules\@tsed\common\lib\platform\domain\HandlerContext.js:71:2
4)
    at PlatformHandler.<anonymous><EMAIL_ADDRESS>  at PlatformHandler.<anonymous><EMAIL_ADDRESS>:189:21)
    at Generator.next (<anonymous>)
    at G:\www\api-profit-new\app\api\node_modules\tslib\tslib.js:113:75

This happens to me from time to time, and it shows up on the terminal, without me doing anything weird.

Hum interesting. It means, the HandlerContext is called after the response is sending.
I'll investigate :)

I have to add: That the App goes on its way, it only shows that error, but I can keep making requests, all this in development mode, I still have nothing in production. But I wanted to report it because it could affect the best in the performance of the application in production. I really don't know.
Yesterday it appeared right after I made a request to this endpoint, I really don't know if it has to see anything.
    @Post('/')
    @Description('List users')
    async index(@Req() request: Express.Request): Promise<User[]> {
        const users= await this.userRepository.find()
        if (!users) {
            throw new NotFound('Not users found')
        }
        return users
    }

userRepository
import { Repository, EntityRepository } from 'typeorm'
import { User } from '@src/Entity/User'

@EntityRepository(User)
export class UserRepository extends Repository<User> {
}

I have the same experience. it seems like that occurs when abort a request before receiving a response.
@Controller('/ping')
export class PingController {
	@Get('/')
	async pong(): Promise<string> {
		return new Promise((resolve, reject) => {
			setTimeout(() => {
				return resolve('pong-v1.1');
			}, 5000);
		});
	}
}

In above controller, call /ping and abort a request at 2.5sec. you'll get the error.

:tada: This issue has been resolved in version 5.45.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Warn using consola instead of throwing Error

We might want so consider stringify Symbols (otherwise apollo breaks as described here)

@manniL do u know a good way to serialize them? I dont know :)
And with this changes it will print warning instead of breaking. They wasnt serializing before too.

The change itself is fine 👏
Not sure. We should consult the serialize-javascript source code for this I think 🤔

seializa-javascript dont do anything with symbols
https://runkit.com/5baa3cac92a46f00121e2985/5bb4e0d021ea590012334d7d

Ah, well then we should just preserve them as they do I guess 🤷♂

This will not fix https://github.com/Rich-Harris/devalue/issues/15

I dont think vuex is supposed to be work with immutable.js in first place.
https://forum.vuejs.org/t/immutable-js-with-vue/6366/8
https://github.com/vuejs/vuex/issues/802#issuecomment-312483951

@aldarund before the switch to devalue there was no problem with using immutable this update is breaking this. And you can use immutable easily with vuex even with Nuxt using https://www.npmjs.com/package/vuex-immutable-replace-state
But that is not my point, devalue state that is like JSON.stringify but it doesn't handle Object that have a toJSON method.


Fix duplicate --bs-emphasis-color set value

Description
--bs-emphasis-color is set 2 times in scss/_root.scss; 1 time with $body-emphasis-color and 1 time with $emphasis-color.
I supposed that the last is the right one based on what we fixed recently on dark mode (having a white color instead of $gray-100) so this PR suggests to have --bs-emphasis-color based on $emphasis-color on light mode and $emphasis-color-dark in dark mode.
It means that $body-emphasis-color and $body-emphasis-color-dark become useless and can be dropped.
@mdo I let you double-check if the rendering is not broken and if this is the way you thought the Sass/CSS vars. We can keep $body-emphasis-color* and remove $emphasis-color* if that makes more sense to you.
Type of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
(NA) My change introduces changes to the documentation
(NA) I have updated the documentation accordingly
(NA) I have added tests to cover my changes
[x] All new and existing tests passed

Live previews

https://deploy-preview-37809--twbs-bootstrap.netlify.app/

@mdo I'm trying to rattle my brain to understand why the following was overwritten on scss/_root.scss.
@each $name, $value in $grid-breakpoints {
    --#{$prefix}breakpoint-#{$name}: #{$value};
  }

The code was merged back in October 2022 via #36095 and I've gone through commit history and found that this pull request changes the content what was already on _root.scss.
Please can we get this $grid-breakpoints back in as it was previously intended.


Can we have validations?

For example if you need to validate a range in a setting, we should be able to add a validation before the setting is saved.
@jezdez what do you think?

Hm, sounds like it would make things horribly complicated and the settings a lot more verbose. I'm -1 on this idea.

@jezdez how would be a good approach to solve this outside constance?

I don't know, sorry.


Where is the Optimize MSBuild property?

This article mentions it without saying where it is.

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

ID: c1800e69-ef84-cc81-234c-7cede0bb67a7
Version Independent ID: 7459b9af-3504-2f20-4e89-a87016294538
Content: JIT Optimization and Debugging - Visual Studio
Content Source: docs/debugger/jit-optimization-and-debugging.md
Product: visual-studio-dev15
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

Thanks


ARTEMIS-1523 Allow MQTT with dynamic cluster

Hi @jbertram
I created a new pull request, I hope it has the needed organization.
Thanks in advance

Hi @jbertram
I created a new pull request, I hope it has the needed organization.
Thanks in advance

The single commit here is much easier to understand so thanks for that.
However, I don't believe technical solution is viable as it relies on the address for the subscription matching the address in the cluster-connection which would likely only happen if it was specifically configured that way which would preclude other clustered addresses.
I think the real solution would be to address why the message-load-balancing-type isn't being set on the subscription queues in the first place.

Hi @jbertram
For what I have analysed in the artemis code, the message-load-balancing-type is only set for queues configured in the broker.xml.
When you publish to an auto created queue it seems the load balancing type isn't set by the postoffice.
So can you help me understand how this is supposed to work in order to fix it? I can do this without using the address and using the value defined in the default cluster connection. What do you think?
Thanks in advance

For what I have analysed in the artemis code, the message-load-balancing-type is only set for queues configured in the broker.xml.

I don't believe that's true.  If you change your example to create subscriptions on "test/1/some/la" instead of "test/+/some/#" and also remove the <addresses> block from the broker.xml files then the address "test/1/some/la" will be created along with the corresponding subscription queues automatically when the client runs.  In this situation I can see that the messages are load-balanced properly among the cluster nodes.  This leads me to believe that the issue is with how the subscription queues with wildcards (i.e. "test/+/some/#") are interacting with the messages send to a specific address (i.e. "test/1/some/la").

Hi @jbertram
I changed the way it create the Bindings based in wildcard. I hope it's good now :)

It looks a lot better, but you need to squash your commits together into a single commit.  Once that's done I'll kick off a full test-suite run with your changes and see how it goes.

It would be ideal to have a real test in the test-suite to validate this functionality instead of just an example.  I think that once a test was created you could get rid of the example completely.  If you wanted to keep the example after the test was created I would move it to the protocols/mqtt section rather than the features/clustered section.

I had some problemas with the squash, so I created a new pull request. https://github.com/apache/activemq-artemis/pull/1690


feat(app): update style for ChangePipette confirm Attach/Detach screens

Overview
This PR updates the styling of the ChangePipette components confirm Attach and Detach screens. closes RLIQ-46

Update ConfirmPipette styling and deprecate old component
Update tests

Review requests

Smoke test on a robot to ensure the screens below work
Detach pipette successfully
Detach pipette without physically detaching to see the pipette still detected screen
Attach a pipette but physically attach the an incorrect pipette to see the incorrect pipette was attached screen
Attempt to attach a pipette without physically attaching it, should show no pipette detected
Attach a pipette successfully (POC data should exist already)
While POC data is deleted, attach a pipette successfully which renders the Calibrate pipette offset button.

Risk assessment
low, behind FF

Also are you missing a test for ConfirmPipette?

also, testing out the PipetteLeveling and got this white screen when I said "Confirm attachment" but didn't actually attach the pipette:


Issue #, if available:

Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Opened by mistake, closing.


Custom section

Hi,
is it possible to add a custom section to the spaceline?
I want to use either of the following plugins:
https://github.com/gcavallanti/vim-noscrollbar
https://github.com/drzel/vim-line-no-indicator
Btw, I'm also using hardcoreplayers/ThinkVim .
Thanks for the support!

@ubmarco  Thanks for issue. i will look at it. By the way  I have not used them. It looks good, but have you tested the performance of these two plugins in large files, will it cause any lag?

The performance is a good point. I did not try the plugins yet.
I'm just tired of pressing <C-g> to see where I am. The lower right corner has the percentage, but it's not easy to identify quickly for my human eyes/brain.
A rough graphical indicator would be cool. An option would maybe to exchange the 3 horizontal lines:

with the drzel/vim-line-no-indicator. I actually don't know what they mean, is that just a separator?

It is just an identifier. There is always such a prompt on emacs modeline, with these 2 vim plugins I will try to achieve a similar effect on spaceline.vim

However, I am very worried about the performance of these two plugins in large files, so I will add an option to control whether it is enabled.

@ubmarco   I would like to add this https://github.com/drzel/vim-line-no-indicator support. what do you think?

@ubmarco  Now it look like this.

Wow, thanks a lot for your fast-as-lightning response. That's a cool addition.
Having an option to disable the indicator is a good idea. I will try it on larger files and come back to you. First experiments look good. How often does the statusline upate?
Maybe the feature can be disabled automatically when files grow over a certain line count based on practical experience.
However, I think there is still a bug in autoload/spaceline/spaceline.vim that I had to fix locally.
The variable spaceline_no_indicator_chars is referred to as line_no_indicator_chars which leads to errors when displaying the statusline. I sent a PR https://github.com/hardcoreplayers/spaceline.vim/pull/18

Btw, what do you think about options to let users configure the location of elements in the statusline?
The code always starts on the left side, so the indicator is easier to spot if it were on the left. I also would not need the percentage indicator anymore (can press <C-g> for this).
However I know opinions might differ from user to user, so a configuration would be awesome for changing positions and deactivating elements.

Oh I see, my PR is already outdated :)

@ubmarco  Sorry. I update a wrong version. please update now.

@ubmarco  This is option spaceline_scroll_bar is  a list
" one char wide solid vertical bar
let g:spaceline_scroll_bar= [
  \  ' ', '▁', '▂', '▃', '▄', '▅', '▆', '▇', '█'
  \  ]

let g:spaceline_scroll_bar = [
  \ '   ', '▏  ', '▎  ', '▍  ', '▌  ',
  \ '▋  ', '▊  ', '▉  ', '█  ', '█▏ ',
  \ '█▎ ', '█▍ ', '█▌ ', '█▋ ', '█▊ ',
  \ '█▉ ', '██ ', '██▏', '██▎', '██▍',
  \ '██▌', '██▋', '██▊', '██▉', '███'
  \ ]

you can custom it like this.

Thanks for the update. I tried to set
let g:spaceline_scroll_bar_chars= [
  \ '   ', '▏  ', '▎  ', '▍  ', '▌  ',
  \ '▋  ', '▊  ', '▉  ', '█  ', '█▏ ',
  \ '█▎ ', '█▍ ', '█▌ ', '█▋ ', '█▊ ',
  \ '█▉ ', '██ ', '██▏', '██▎', '██▍',
  \ '██▌', '██▋', '██▊', '██▉', '███'
  \ ]

in my ~/.thinkvim.d/init.vim but it don't work, it's still at default. When echoing the variable it shows the default value. What am I doing wrong?

@ubmarco  Please update i had fixed.

Thanks a lot for your support and time, it works now.

@ubmarco  No thanks. When i have time. i will rewrite this plugin . its hard to custom function and the code of now looks like shit..


Apple Silicon

TorchDrug library can not be installed on the apple silicon platform.

the installation methods in docs: https://torchdrug.ai/docs/installation.html
works for me
but I have problem to run the training using cpu, I guess gpu not work for Macbook because device is mps?

It works now.

It works now.

updates in recent days? if yes I will try to reinstall it. I have problem to run solver using cpu, the problem seems related to ninja and torch_ext.so, have raised the issue here: #229

It works now.

updates in recent days? if yes I will try to reinstall it. I have problem to run solver using cpu, the problem seems related to ninja and torch_ext.so, have raised the issue here: #229

the comment was about the installation not training but I also tried training process and as you can see It also works. Could you try it with new env?


How  do i provide the apk file to upload to the google play store ?

I've read the following document, but Im still not ablel to figure how do i supply the apk file
for fastlane to deploy the file to the google play store ?
https://docs.fastlane.tools/getting-started/android/release-deployment/#uploading-your-apk
Like in order to deploy the iap file in apple store we provide the location of the file like below.

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.5

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
lane :beta do
  pilot(ipa<EMAIL_ADDRESS>  end

lane :playstore do
  gradle(
    task: 'assemble',
    build_type: 'Release'
  )
end

`./fastlane/Appfile`
json_key_file "/Users/jay/Desktop/googlekey.json" # Path to the json secret file - Follow https://github.com/fastlane/supply#setup to get one
package_name "com.recherry.app" # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.62.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.1

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.13.4

generated on: 2017-10-24

Hey @fastlane/android folks! Any chance you could chime in here? 🐐

@jpca999 Make sure to follow the supply instructions on getting your google JSON key file - https://docs.fastlane.tools/actions/supply/
gradle(
  task: 'assemble',
  build_type: 'Release'
)

# Using `GRADLE_APK_OUTPUT_PATH` to make sure we are only
# getting one APK (sometimes an debug and release are build)
# This gets the release
apk_path = Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]

# Uploading to Google Play
# These are arguments I usually use
# I upload to the "beta" track so it doesn't get automatically released
supply(
  apk: apk_path,
  package_name: package_name,
  track: "beta",
  skip_upload_metadata: true,
  skip_upload_images: true,
  skip_upload_screenshots: true )

Hi,
lane :beta do
  pilot(ipa: "<path_to_the_ipa_file">)
end

will upload your IPA file to Apple's TestFlight.
Analogy for Google Play Store (Alpha track) is:
lane :alpha do
  supply(
    track: "alpha", // "beta" for Beta, "production" for Production ...
    apk: "<path_to_the_apk_file>"
  )
end

Complete documentation for supply can be found here:
https://docs.fastlane.tools/actions/supply/
According to your Screenshot in this Issue, you have:
lane :playstore do
  gradle(
    task: 'assemble',
    build_type: 'Release'
  )
end

This will only use gradle to assemble a Release APK for you. There is no supply which tells Fastlane to upload built APK file to Google Play Store. Add supply after gradle:
lane :playstore do
  gradle(
    task: 'assemble',
    build_type: 'Release'
  )

  supply(
    track: "alpha",
    apk: "#{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]}"
  )
end

SharedValues::GRADLE_APK_OUTPUT_PATH will hold the path to the latest APK file built. This is relevant for most projects...
You can find the complete example here:
https://github.com/igorlamos/udemy-fastlane/blob/master/android/fastlane/Fastfile
Hope this helps.

@igorlamos
Heres my updated code. Kindly help me resolve the issue.
fyi: this is my first time trying to upload apk file to google app store with help of expo and fastlane
Here are the steps.

I used exp build:android
exp build:status
go the apk file and put the location in my fastlane/fastlane file.

so when i tried to upload this file to app store it gave me this error:

Hey @jpca999
look at the last screenshot you posted ... there is an error message, which says:
"APK specifies a version code that has already been used."
Now, open the android/app/build.gradle file and search for versionCode. Everytime you upload a new APK to the Google Play Store, you have to raise this number. Look at the documentation here https://developer.android.com/studio/publish/versioning.html and try to find versionCode. There is a clear explanation of WHY for versionCode.
You can use increment_version_code Fastlane plugin to do this automatically. I've explained this in my Fastlane / Bitrise Course.
And some other points:

You don't need to use sudo with Fastlane ... why are you using it this way? Also the output contains "Get started using a Gemfile for Fastlane ..."
I see you're using Expo for your RN app ... and if it's for the first time for you, I understand you have some issues ... if you continue to experience these issues, and if it's possible, you can share your repo (or some part) with me and I'll help you to set it up. I'm glad I can help :)

Let me know.

@igorlamos
I can't locate this file.
android/app/build.gradle
here is my project structure....

Yes @jpca999 - it's my fault, sorry ... I didn't realize it's different in Expo .. you don't have an Android project :-) sorry for that ...
So for you - you have to locate app.json file (https://github.com/jpca999/fastlane-test-app/blob/master/app.json).
According to Expo documentation here:
https://docs.expo.io/versions/latest/guides/configuration.html
add android section (as well as you have ios now) with a child versionCode and set a value of 2 now (I assume you have successfully uploaded just the first build with versionCode of 1). And everytime you prepare new build using Expo, raise this number by 1 (so next time, you will set it to 3, then 4 and so on).
Details can be found in the docs:
https://docs.expo.io/versions/latest/guides/configuration.html#versioncode
I hope this will help.

okay @igorlamos , so this time after I providing and incrementing the version number  I created a new build for android  & I got this error

My app.json file
{
"expo": {
"name": "App",
"description": "the App",
"slug": "theApp",
"privacy": "unlisted",
"sdkVersion": "21.0.0",
"version": "1.0.20",
"orientation": "portrait",
"primaryColor": "#cccccc",
"icon": "./assets/icons/app.png",
"hideExponentText": true,
"versionCode": "2",
"loading": {
"backgroundImage": "./assets/icons/splash_ink.jpg",
"splash": {
"backgroundColor": "#222127",
"image": {
"ios": {
"backgroundImage": "./assets/icons/splash_ink.jpg"
}
}
}
},
"packagerOpts": {
"assetExts": ["ttf", "mp4"]
},
"ios": {
"bundleIdentifier": "com.theAppp.exp",
"supportsTablet": true
},
"android": {
"package": "org.theAppp.exp",
}
}
}

Wrong placement of versionCode in app.json ... and the error is the same as before.
Try this:
{
  "expo": {
    "name": "App",
    "description": "the App",
    "slug": "theApp",
    "privacy": "unlisted",
    "sdkVersion": "21.0.0",
    "version": "1.0.20",
    "orientation": "portrait",
    "primaryColor": "#cccccc",
    "icon": "./assets/icons/app.png",
    "hideExponentText": true,
    "loading": {
      "backgroundImage": "./assets/icons/splash_ink.jpg",
      "splash": {
        "backgroundColor": "#222127",
        "image": {
          "ios": {
            "backgroundImage": "./assets/icons/splash_ink.jpg"
          }
        }
      }
    },
    "packagerOpts": {
      "assetExts": ["ttf", "mp4"]
    },
    "ios": {
      "bundleIdentifier": "com.theAppp.exp",
      "supportsTablet": true
    },
    "android": {
      "package": "org.theAppp.exp",
      "versionCode": "2"
    }
  }
}

@igorlamos   not the same error but another error

You have to sign the APK with the same key as you've already done with the versionCode 1.
Read here:
https://support.google.com/googleplay/android-developer/answer/113476?hl=en
The updated APK needs to be signed with the same signature as the current version.

I dont think i have the signatures thing,,,  if i create a new app, would it give me new signatures ?