az storage blob upload fails with --content-md5 fails on azure-cli 2.34.0

Describe the bug
Command Name
az storage blob upload ... --content-md5 ...
Errors:
The command failed with an unexpected error. Here is the traceback:
blob_content_md5 must be type bytearray.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/msrest/serialization.py", line 765, in serialize_data
    return self.serialize_type[data_type](data, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/msrest/serialization.py", line 1015, in serialize_bytearray
    return b64encode(attr).decode()
  File "/usr/local/lib/python3.10/base64.py", line 58, in b64encode
    encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/msrest/serialization.py", line 717, in header
    output = self.serialize_data(data, data_type, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/msrest/serialization.py", line 780, in serialize_data
    raise_with_traceback(
  File "/usr/local/lib/python3.10/site-packages/msrest/exceptions.py", line 51, in raise_with_traceback
    raise error.with_traceback(exc_traceback)
  File "/usr/local/lib/python3.10/site-packages/msrest/serialization.py", line 765, in serialize_data
    return self.serialize_type[data_type](data, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/msrest/serialization.py", line 1015, in serialize_bytearray
    return b64encode(attr).decode()
  File "/usr/local/lib/python3.10/base64.py", line 58, in b64encode
    encoded = binascii.b2a_base64(s, newline=False)
msrest.exceptions.SerializationError: Unable to serialize value: 'y3N9S9wst5SO/myHRqM1uQ==' as type: 'bytearray'., TypeError: a bytes-like object is required, not 'str'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 713, in _run_job
    return cmd_copy.exception_handler(ex)
  File "/usr/local/lib/python3.10/site-packages/azure/cli/command_modules/storage/__init__.py", line 380, in new_handler
    first(ex)
  File "/usr/local/lib/python3.10/site-packages/azure/cli/command_modules/storage/__init__.py", line 380, in new_handler
    first(ex)
  File "/usr/local/lib/python3.10/site-packages/azure/cli/command_modules/storage/_exception_handler.py", line 17, in file_related_exception_handler
    raise ex
  File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/usr/local/lib/python3.10/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 547, in upload_blob
    response = client.upload_blob(data=stream, length=length, metadata=metadata,
  File "/usr/local/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 83, in wrapper_use_tracer
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/azure/multiapi/storagev2/blob/v2020_10_02/_blob_client.py", line 713, in upload_blob
    return upload_block_blob(**options)
  File "/usr/local/lib/python3.10/site-packages/azure/multiapi/storagev2/blob/v2020_10_02/_upload_helpers.py", line 99, in upload_block_blob
    return client.upload(
  File "/usr/local/lib/python3.10/site-packages/azure/multiapi/storagev2/blob/v2020_10_02/_generated/operations/_block_blob_operations.py", line 195, in upload
    header_parameters['x-ms-blob-content-md5'] = self._serialize.header("blob_content_md5", _blob_content_md5, 'bytearray')
  File "/usr/local/lib/python3.10/site-packages/msrest/serialization.py", line 721, in header
    raise TypeError("{} must be type {}.".format(name, data_type))
TypeError: blob_content_md5 must be type bytearray.

To Reproduce:

echo 12765 > /tmp/upload-test-12765.txt
openssl dgst -md5 -binary /tmp/upload-test-12765.txt | base64
az storage blob upload --verbose --container-name stuff-and-things --file /tmp/upload-test-12765.txt --content-md5 y3N9S9wst5SO/myHRqM1uQ== --name dev/test-12765.txt

Expected Behavior
Should not fail.
It works on 2.33.1.
On 2.34.0 it works without --content-md5 option.
Environment Summary
Linux-5.10.76-linuxkit-x86_64-with, Alpine Linux v3.15
Python 3.10.2
Installer: PIP

azure-cli 2.34.0

Additional Context

storage

We got hit by this as well. Pinned to 2.33.1 so far as a workaround.

@calvinhzy to have a look

The --content-md5 flag is currently not working properly. Sorry for the inconvenience.
You can try adding storage-blob-preview extension with: az extension add -n storage-blob-preview.
Alternatively, you can pin to the previous version or skip this flag.
We will have this fixed in the next release. Again sorry for the inconvenience.


Sishan/remove known nodes

This PR:

Removed known_nodes and use known_nodes_with_stake instead. This makes sure each node has two public properties: pub_key and stake.
Added functions in bn254_pub.rs to help get node's pub_key from the stake table entry.
Added codes to get a pure list of pub_key (without stake) when calling get_committee() before broadcasting messages to committees, since the broadcasting process does not care about stake values.

The docker test fail is related to https://github.com/EspressoSystems/HotShot/issues/1733 and https://github.com/EspressoSystems/HotShot/issues/1736 .


Support to emojis

Hi,
Would be nice to have support to emojis, the same way commitzen uses [emoji-cz)[https://github.com/kevin940726/emoji-cz].
Amazing job with better-commits. Thanks!
Kind regards
Vitor Jr.

Added, default config is false. Should be deployed on v1.2.0


Fix unknown command for getopts and broken spin

I really appreciate your contribution. thanks!

Thanks for merging so quickly.
FYI if you need getopts there is https://github.com/jorgebucaran/getopts.fish (only found it now). And from my limited testing fish_plugins does nothing for packages, https://github.com/jorgebucaran/fisher/issues/614 It's meant for the user configuration, to install dependencies I migrated to using an installation event https://github.com/jorgebucaran/fisher#event-system
@jorgebucaran does fisher still install dependencies? From my testing it doesn't anymore.

You are correct @publicarray. See https://github.com/jorgebucaran/fisher/issues/609 for more background. 💁♂


Add IP whitelist match rule

My project docker-nginx-unit-hugo makes use of webhook for doing automatic Hugo site rebuilds upon GitHub or GitLab commit pushes.  I would like to support Bitbucket but unfortunately they have no support for sending back a secret token when their webhook fires.  I know that technically this project supports Bitbucket webhooks in the sense that you can create a webhook that does no actual verification that Bitbucket is actually the initiator, but that's really not very safe.
According to Bitbucket's docs, the preferred method to verify that the webhook really came from Bitbucket is to whitelist an IP range.  Since webhook doesn't have an IP whitelist MatchRule, I created one.  It's rather simple, here's what an example trigger-rule looks like:
"trigger-rule": {
  "match": {
    "type": "ip-whitelist",
    "ip-range": "<IP_ADDRESS>/24"
  }
}

ip-range can either be a single IPv4/6 IP address or a range of addresses in CIDR notation.  There is no parameter that needs to be specified.
I can update the wiki if/when this pull request is accepted.  Thanks!

Thanks for your contribution :-)

Hi Adnan, checking back in on this -- any idea when you're going to cut the next release of webhook?  I was looking to add Bitbucket support to my project soon.  Also, how do you want me to update the wiki?  There's no branches so I didn't want to update it before this feature was actually merged into master.  Thanks!

Hey, expect one up tonight :-)

Done, you can update the wiki now :-)

Finished updating the wiki, thanks again.

Thanks for the contribution :-)


VLT vlt-peer-lag support in ansible-role-dellos-interface

Could you please add VLT support to this role ?
Martin

Martin,
Thanks for your interest, VLT support is targeted for end of December. We
will keep you posted.
Thanks,
Senthil Kumar G.
On Sun, Dec 11, 2016 at 3:49 AM, Martin Zidek<EMAIL_ADDRESS>wrote:

Could you please add VLT support to this role ?
Martin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Dell-Networking/ansible-role-dellos-lag/issues/1, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQY8MP8k6nv1Up1tYW0Nao_MbcdlYQWfks5rG-M8gaJpZM4LJ57F
.

@mzi77 we have a new role for vlt. Please refer
https://galaxy.ansible.com/Dell-Networking/dellos-vlt/

Great, I will test it and I will let you know.


Restricted video play back for certain IP addresses

I noticed that from certain ip addresses, certain youtube videos do not play. Quite a fair number actually. I'm not sure if youtube is restricting playback on the basis of country or IPaddress, but I'm leaning toward the former, because I've found that for those ip addresses that can't play videos , there are ip addresses from the same country that can.
My question is, is there a way to either:

get these ip addresses to play these non playable videos
exclude these non playable videos from search results for the effected IP addresses

I also observed these IP addresses do not play these videos on youtube's site on a computer, nor on their app, nor on similar apps.
Any input, suggestions, help would be appreciated!
Thanks :)

I am geting error Grabbing original file location(s) failed. Youtube error message: This video contains content from Tseries Music.


using specific size graphing the model

Is there any way of specific a maximum size when we want to graph the models of our project?.

No I don't think so.
We can scale the image but that doesn't probably help much since it will most likely become unreadable.
Not sure if any of the layout engines actually support this, if they do we are more then happy to include and merge a PR.


OneInchEye Camera Interface Board for CM4

Hi,
I am really interested to build oneincheye camera for my telescope and I working on sourcing PCB from JLCPCB as oneincheye is out of stock. Only concern I am having now is not able to find any baseboard for CM4 with 22Pin CSI interface. I don't want to go with CM4 I/O board which is bulky and looks to be only option for 22Pin CSI connector. There are some base boards with 15pin CSI connectors like PiCam Module for Raspberry Pi Compute Module 4 but again with 15Pin CSI connector. I don't think 15pin is right choice looking at your design. is there any other way to connect oneincheye camera module to CM4 without making it bulky ?
Thanking in advance.
Amit

Yeah that is also the reason why I've build my own CM4 camera board with 22pin 4-lane MIPI connector.
No way other then building yourself one because it is rare for anyone building a CM4 baseboard for almost non existent camera modules.
Another easier option will be using RPI5 directly, which I've been working on updating the driver. Moreover you get the bonus of having PCIe 3.0 x1 connector for faster drive speed if you are planning for planetary Imaging.


ConsumerGroup - retry functionality and events ?

Questions?
Can you document or explain the following properties from ConsumerGroup
  retries?: number;
  retryFactor?: number;
  retryMinTimeout?: number;

retries is the maximum retries ?
What happens when this reaches the maximum, is there some kind of special event that is raised ?
I am listening to
on('error', function (err) {})

But i get a message for each error, and when it reaches say retries: 3 - then messages constantly carry on being streamed.
Is there some other even to say maximum retries reached and then i assume I can do a
process.exit(1)

I am probably not understanding great the funtionality of these 3 properties (above) and the events.
Tried checking the docs but still not sure.
Bug Report
Environment

Node version:11
Kafka-node version:latest
Kafka version:1.2.1

Thanks for your contribution!

I am using ConsumerGroup and not Kafka client, as I understand it, kafka client is create behind the scenes.
So I can't pass in a kafka client to a ConsumerGroup

Actually, out of interest, I was using a Consumer before and passing in a kafkaClient but I had to move over to a ConsumerGroup as the Consumer wasn't registering the groupId with kafka.
Although not specific to the problems above, I thought I would mention it.

Can you document or explain the following properties from ConsumerGroup

Look at the retry module for documentation for those settings.

What happens when this reaches the maximum, is there some kind of special event that is raised ?

if the retry fails either an error is yielded to the callback or an error is emitted on the error event when a number of retries are exhausted.

So I can't pass in a kafka client to a ConsumerGroup

The options passed to the ConsumerGroup is also passed to the underlying kafkaClient.


[frontend][LLM] Improve TextContainer and its test module

1.Support lowercase recognition conversion as option
2.Support Chinese character recognition
3.Support tokenize sentences by root and affix as option
4.Add interface to accept more file types
5.Quantify NLP marks
6.Support decode ids to tokens and merge these tokens
7.Add tokenize testcases
8.Support tokenizer for llama

Merged: https://github.com/buddy-compiler/buddy-mlir/commit/d32f3d48d629d4a1dd58b27ecf0e1da91b004c8d


Build SDL2 libraries in CI

Summary of the PR
Builds SDL2 from source using the CI
Related issues, Discord discussions, or proposals
https://discord.com/channels/521092042781229087/587346162802229298/1102410331524956171

CI is passing, can we merge this @Beyley?

CI is passing, can we merge this @Beyley?

Ready for review/merge!

Just one Q and this may be good to merge.
Also can you fix the duplicate PackageReference in Maths? appreciate this has nothing to do with you, guess is that dependabot went wonky.

I checked the csproj file and dont see a duplicate reference, are you sure its in this branch, or is it something in main?

Oh... It's green now


Fix np.zeros in rakelo.py (#76)

This commit fixes the use of np.zeros, formerly np.zeroes, to resolve
Issue #76
Author: ljvmiranda921
Email<EMAIL_ADDRESS>

Hehehe, I know this is just a simple fix and clicking the green "Merge pull request" button is tempting...
But I guess I'd just follow @ChristianSch on keeping hotfixes waiting for your approval.


Could not update local apps repository on Windows 8

Hello, I have an issue with updating local apps repository on W8 x64. I'm trying to run command foxx-manager.bat update but the answer is always
application download failed: Github download from 'https://github.com/arangodb/foxx-apps/archive/master.zip' failed with error code 500

same url works OK when requested from browser. Am I doing something wrong?

Hi guys,
i've just tried the same command foxx-manager update on Win8 with ArangoDB v2.42, and got the same "download failed" error as above. I've read this and the related tickets, but still couldn't make it.
I made sure that

the default temp directory of arangodb (c:\Users\USERNAME\AppData\Local\Temp) does exist + has the /downloads, /zip, /uploads subdirs
inserted a row temp-path = @ROOTDIR@/tmp_foxx into foxx-manager.conf

When executed foxx-manager update from an elevated command prompt, i could see the /tmp_foxx dir has been created with /downloads and /zip subdirs, but get the error application download failed: Github download from 'https://github.com/arangodb/foxx-apps/archive/master.zip' failed with error code 500.
Could you pls advice what to do step-by-step to be able to start working with foxx-manager?


adding a link to the note text in a quiz field does not work in CMS

The link button properly opens and asks for the link, but does not turn it into a link.

Instead, you have to currently use markdown formatting to render the link in the note.
(minor bug; not urgent since I can still generate link via markdown)

@danamlewis This is the intended behavior of the CMS' markdown field. The button is just a helper, inserting the needed syntax.


Patch 5

Based off jQuery's isDefaultPrevented().
Ensures that event.returnValue is checked for < IE9 support.

Nice.


Snapshot 'suspend' does not exist in one or more devices

When stopping a suspended VM from the guest and changing the hw.

same issue, just broke a newly installed vm randomly

@bran112299 how did you restart? Run without saving changes did not work for me either.

@jasperf I just ran into this problem too. I found I had to restart the UTM app - not the individual VM, I mean UTM itself - for it to resolve itself. I suspect UTM is caching something it shouldn't be.

@jasperf I just ran into this problem too. I found I had to restart the UTM app - not the individual VM, I mean UTM itself - for it to resolve itself. I suspect UTM is caching something it shouldn't.

Did manage to restart and it did work in the end. Was just somehow stuck for a while. Thanks for the feedback @powerstation85 !


mkpr

Applied mkpr on package.json
sed s/"@kronos-integration\/service": "^.*"/"@kronos-integration\/service": "^8.3.13"/

:tada: This PR is included in version 2.0.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Broken status menu

Discord's default status menu shows up no matter the theme. Which means it covers up the attachment button and is just overall ugly.

Worth mentioning that also the notification icons appear over the call and settings buttons when the server list is long enough.

Tell me if still does it with this update : https://github.com/Comfy-Themes/Discord/commit/376c0f13766de2392dab416038238f8a8c071921

Sorry, neglected to say everything has been fine since.


Resources Should Not Be Ambiguous - Clarification

The template at - https://raw.githubusercontent.com/drewkg/Azure/main/ARM/Resource/AppServiceWithMSIAppInsights/azureDeploy.json
Will trigger a Resource Should Not Be Ambiguous test, this is due to the resourceid function within the nested template, but at the same scope of the containing template e.g. resource group.  I am presuming this is triggered because the resource is not deployed within the same template (nested, it is deployed in the outer template) and thus cannot be found.
Should we.

Pass the resource id into the nested template via a parameter
or add the recourse group name to the resourceid function call, this seems against the documentation.

The spirit of the test is that you should have a resourceGroup name parameter in the resourceId function.  Because the resource is not defined in the template that contains the resourceId() call, it could be interpreted as an "existing" resource, which could be in another resourceGroup.  Adding the param ensures each scenario is covered.  So you would pass in a RG name for that resourceId.
However, I think in your case it's a little more nuanced - you're deploying everything to the same RG, that's just not immediately obvious between the nested deployments.
In your "fix" either #1 or #2 would be correct - but in the case of an outer scoped deployment I think the same error would be thrown and the fix seems more unnecessary there.  We may have to roll this one back and think through it some more.
Aside - where are you seeing your #2 contrary to docs?

quote from - https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-
Parameter - resourceGroupName
"Default value is current resource group. Specify this value when you need to retrieve a resource in another resource group. Only provide this value when deploying at the scope of a resource group."
As I am using a nested template, with inner scope, to get around another ARM limitation but all within the same resource group I read this as not requiring the extra parameter of a resource group.
To be fair, this is probably an extreme edge case as its to do with creating App Insight Dashboards within ARM .  The only reason for the nested template is so we can use the reference function to retrieve values to specify the dashboard name, which you can only use within certain areas of an ARM template.
Thinking about this though, in an incremental deployment, this issue could trigger within a single template with no nesting.

Unless I'm missing someting, any template that combines dependsOn and conditional deployment (like standard 'newOrExisting' pattern) will be flagged by this test. Example is https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.compute/vm-new-or-existing-conditions/azuredeploy.json
We use the same patterns in our templates. Usage of resourceId() function inside dependsOn seems to cause the issue. When resource depends on a conditionally deployed resource, it's flagged by this test.

Any suggestions how to update dependsOn code with resource IDs of resources that are not deployed in the template? We are using the same resourceid() function

For conditionally deployed resources, workaround we use for now is a variable:
"thisResourceGroupName": "[resourceGroup().name]"
If you use this variable as first parameter in problematic dependsOn[...resourceId()...] places, it tricks the test into passing.
I hope this gets rolled back or fixed so we can get rid of this hacky solution.

yes - don't work around this I'm going to pull the test for now... there are a bunch of cases we didn't think through (going to start to list them here:

dependsOn for conditional resources (dependsOn never needs the add'l param)
outer scope deployments that do not change scope (scope property, rg property or sub property)
add more as we find 'em

Please Add, Inner scope templates that deploy to the same resource group.

I've updated https://aka.ms/arm-ttk-latest with #480 to remove the test for now...  lmk if you're still seeing issues.


TimePickerDialog

Is there a way to detect when just the start time is updated, or when the tabs change? Basically I'm looking to automatically set the To time to be an hour ahead of the From time when they change the From value and switch tabs.

still no update? :(

You can implement an OnTimeSetListener or OnDateSetListener


pulumi: 3.21.0 -> 3.22.0

pulumi: 3.21.0 -> 3.22.1
chore(pulumi): regenerate data.nix after version bump

Motivation for this change
This PR bumps pulumi to the latest version
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@SuperSandro2000 Would you mind reviewing this? Thanks!

@ofborg build pulumi-bin


How to remove damping effect?

Hi, I want to remove the damping effect in the open and close animations. How can I only set curveEaseOut animation for both? Thanks

You should set useFinishingSpringOption and useCancelingSpringOption of TransitionOptionsBuilder to false and set animationOptions to desired one. It's .curveEaseInOut by default.
It'll look like this
override func menuTransitionOptionsBuilder() -> TransitionOptionsBuilder? {
        return TransitionOptionsBuilder() { builder in
            builder.useFinishingSpringOption = false
            builder.useCancelingSpringOption = false
            builder.animationOptions = .curveEaseOut
        }
    }

You can find more details, concerning menu implementation, into the documentation.

great! thanks a lot!


Submit notebook | run pipeline | export pipeline aren't working as expected when no runtime configurations are defined

Describe the issue
Submit notebook | run pipeline | export pipeline aren't working as expected if no runtime configurations are defined
To Reproduce
Steps to reproduce the behavior:

Remove all runtime configurations (e.g. rename the directory where they are stored if you have some defined)

Open a notebook

Click Submit notebook

[Usability] Observe the error message. From a user's point of view this is not an error condition. Opportunities for improvement:

Rephrase the message text to indicate what the user can do to create a runtime.
Add a link that opens the runtime configuration view OR Add a link that opens the new runtime configuration wizard

Click OK

[Error] A dialog is displayed

Deployment information
Describe what you've deployed and how:

Elyra version: 2+
Operating system: [e.g. macos, linux]
Installation source: from source

Not directly related to this problem but can be addressed in the same PR:
Currently the "Submit XXX..." tool tip is the exact same text as the button label, e.g.:

Perhaps
https://github.com/elyra-ai/elyra/blob/master/packages/pipeline-editor/src/SubmitNotebookButtonExtension.tsx#L112 => Run notebook as batch
https://github.com/elyra-ai/elyra/blob/master/packages/pipeline-editor/src/SubmitScriptButtonExtension.tsx#L121 => Run script as batch


[BUG]: The Longhorn v1.2.3 instance manager reports invalid instance manager

Describe the bug
One Pod of a stan cluster is not coming up. The err is:
kubelet  Unable to attach or mount volumes: unmounted volumes=[stan-pvc], unattached volumes=[stan-pvc pid kube-api-access-pv29v config-volume]: timed out waiting for the condition

dmesg on the worker node hosting the Pod having issues is reporting
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136028, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136029, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136030, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136031, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136032, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136033, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136034, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136035, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136036, lost async page write
[Tue Mar 15 19:12:38 2022] Buffer I/O error on dev sdd, logical block 136037, lost async page write
[Tue Mar 15 19:12:38 2022] sd 3:0:0:1: [sdd] tag#85 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[Tue Mar 15 19:12:38 2022] sd 3:0:0:1: [sdd] tag#85 Sense Key : Medium Error [current]
[Tue Mar 15 19:12:38 2022] sd 3:0:0:1: [sdd] tag#85 Add. Sense: Unrecovered read error
[Tue Mar 15 19:12:38 2022] sd 3:0:0:1: [sdd] tag#85 CDB: Write(10) 2a 00 00 10 a4 e0 00 0a 00 00
[Tue Mar 15 19:12:38 2022] blk_update_request: critical medium error, dev sdd, sector 1090784 op 0x1:(WRITE) flags 0x4800 phys_seg 320 prio class 0
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#86 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#86 Sense Key : Medium Error [current]
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#86 Add. Sense: Unrecovered read error
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#86 CDB: Write(10) 2a 00 00 10 ae e0 00 0a 00 00
[Tue Mar 15 19:12:53 2022] blk_update_request: critical medium error, dev sdd, sector 1093344 op 0x1:(WRITE) flags 0x4800 phys_seg 320 prio class 0
[Tue Mar 15 19:12:53 2022] buffer_io_error: 630 callbacks suppressed
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136668, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136669, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136670, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136671, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136672, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136673, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136674, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136675, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136676, lost async page write
[Tue Mar 15 19:12:53 2022] Buffer I/O error on dev sdd, logical block 136677, lost async page write
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#87 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#87 Sense Key : Medium Error [current]
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#87 Add. Sense: Unrecovered read error
[Tue Mar 15 19:12:53 2022] sd 3:0:0:1: [sdd] tag#87 CDB: Write(10) 2a 00 00 10 b8 e0 00 0a 00 00
[Tue Mar 15 19:12:53 2022] blk_update_request: critical medium error, dev sdd, sector 1095904 op 0x1:(WRITE) flags 0x4800 phys_seg 320 prio class 0
[Tue Mar 15 19:13:10 2022]  connection1:0: detected conn error (1021)
[Tue Mar 15 22:15:38 2022] eth0: renamed from tmp39258
[Tue Mar 15 22:15:38 2022] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[Tue Mar 15 22:15:38 2022] IPv6: ADDRCONF(NETDEV_CHANGE): lxc0c1edbd9df50: link becomes ready
[Wed Mar 16 00:57:12 2022] eth0: renamed from tmp9e73a
[Wed Mar 16 00:57:12 2022] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[Wed Mar 16 00:57:12 2022] IPv6: ADDRCONF(NETDEV_CHANGE): lxce431fd5c01c5: link becomes ready
[Wed Mar 16 04:01:35 2022] eth0: renamed from tmpe2ed8
[Wed Mar 16 04:01:35 2022] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[Wed Mar 16 04:01:35 2022] IPv6: ADDRCONF(NETDEV_CHANGE): lxc9465d2a0c980: link becomes ready
[Wed Mar 16 04:01:49 2022]  connection7:0: detected conn error (1020)
[Wed Mar 16 04:01:49 2022]  connection6:0: detected conn error (1020)

To Reproduce
Steps to reproduce the behavior:
I'm not sure actually as we haven't done anything specifically when this happened. The STAN/NATS cluster was "just" spinning and doing its thing.
I'm suspicious that this could have something to do with the Velero project triggering the Longhorn driver to CSI snapshots. There have been no successful backups for 4 days - and the default schedule is every 8th hour a day. The Longhorn UI is showing no new backup for 4 days.
The Velero Pod is logging:
│ I0316 10:33:27.412373       1 snapshot_controller.go:1480] getSnapshotFromStore: snapshot default/velero-stan-pvc-stan-1-95q82 found                                                                                │
│ I0316 10:33:27.412380       1 snapshot_controller.go:1042] needsUpdateSnapshotStatus[default/velero-stan-pvc-stan-1-95q82]                                                                                │
│ I0316 10:33:27.824394       1 snapshot_controller_base.go:182] enqueued "snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b" for sync                                                                                │
│ I0316 10:33:27.824439       1 snapshot_controller_base.go:284] syncContentByKey[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]                                                                                │
│ I0316 10:33:27.824456       1 util.go:215] storeObjectUpdate updating content "snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b" with version 23109778                                                                                │
│ I0316 10:33:27.824467       1 snapshot_controller.go:87] synchronizing VolumeSnapshotContent[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]: content is bound to snapshot default/velero-stan-pvc-stan-1-95q82                            │
│ I0316 10:33:27.824626       1 snapshot_controller.go:89] syncContent[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]: check if we should add invalid label on content                                                                      │
│ I0316 10:33:27.824646       1 snapshot_controller.go:1480] getSnapshotFromStore: snapshot default/velero-stan-pvc-stan-1-95q82 found                                                                                │
│ I0316 10:33:27.824658       1 snapshot_controller.go:1042] needsUpdateSnapshotStatus[default/velero-stan-pvc-stan-1-95q82]                                                                                │
│ I0316 10:33:28.258731       1 snapshot_controller_base.go:182] enqueued "snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b" for sync                                                                                │
│ I0316 10:33:28.258765       1 snapshot_controller_base.go:284] syncContentByKey[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]                                                                                │
│ I0316 10:33:28.258779       1 util.go:215] storeObjectUpdate updating content "snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b" with version 23109783                                                                                │
│ I0316 10:33:28.258788       1 snapshot_controller.go:87] synchronizing VolumeSnapshotContent[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]: content is bound to snapshot default/velero-stan-pvc-stan-1-95q82                            │
│ I0316 10:33:28.258793       1 snapshot_controller.go:89] syncContent[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]: check if we should add invalid label on content                                                                      │
│ I0316 10:33:28.258801       1 snapshot_controller.go:1480] getSnapshotFromStore: snapshot default/velero-stan-pvc-stan-1-95q82 found                                                                                │
│ I0316 10:33:28.258808       1 snapshot_controller.go:1042] needsUpdateSnapshotStatus[default/velero-stan-pvc-stan-1-95q82]                                                                                │
│ I0316 10:33:28.611820       1 snapshot_controller_base.go:182] enqueued "snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b" for sync                                                                                │
│ I0316 10:33:28.611852       1 snapshot_controller_base.go:284] syncContentByKey[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]                                                                                │
│ I0316 10:33:28.611865       1 util.go:215] storeObjectUpdate updating content "snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b" with version 23109784                                                                                │
│ I0316 10:33:28.611874       1 snapshot_controller.go:87] synchronizing VolumeSnapshotContent[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]: content is bound to snapshot default/velero-stan-pvc-stan-1-95q82                            │
│ I0316 10:33:28.611880       1 snapshot_controller.go:89] syncContent[snapcontent-cf8d1143-21db-4c88-ae9f-f4803ffe1b5b]: check if we should add invalid label on content                                                                      │
│ I0316 10:33:28.611893       1 snapshot_controller.go:1480] getSnapshotFromStore: snapshot default/velero-stan-pvc-stan-1-95q82 found                                                                                │
│ I0316 10:33:28.611904       1 snapshot_controller.go:1042] needsUpdateSnapshotStatus[default/velero-stan-pvc-stan-1-95q82]

So it's constantly trying to touch the PVC
lsblk output

It's the sdd disk.
Expected behavior
That the instance manager do not end up in this rotten state or is able to recover from it
Log or Support bundle
longhorn-support-bundle_70f8d0a6-2bd8-4b44-9530-06e770a3c5dc_2022-03-16T09-24-24Z.zip
Environment

Longhorn version: 1.2.3
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Helm chart
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: K3s v1.22.6+k3s1

Number of management node in the cluster: 3
Number of worker node in the cluster: 3

Node config

OS type and version: Ubuntu 20.04
CPU per node: 8 ( worker ) | 6 ( mater )
Memory per node: 16GB ( worker ) | 12GB ( master )
Disk type(e.g. SSD/NVMe): SSD
Network bandwidth between the nodes: 10Gb

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): VMWare
Number of Longhorn volumes in the cluster: around 12

Additional context
Add any other context about the problem here.

In general, the instance manager shouldn't be related to backup by Velero.
From the dmesg, it seems like the Pod's host node is having a problem.
Could you please check is the failed volumes all happened on the same node?
And try to manually detach and attach to another node to see if it's helpful or not.
For the backup did not be trigger over 4 days, is this volume can't up over 4 days?
If yes, it means that this volume can't took the snapshot, therefore, can't took snapshot backup.

@jenting thank you very much for chiming in. Yes no backups for 4days and the vol. not up for 4 days ( the cluster is not actively being used, it's in the process of being verified to work and so on - before taking it in for production.
I've scaled down Kyverno, so no Kyverno Pods are running. Still seeing the issue and the instance-manager-e-13c70796 Pod is running again.
But, is giving a lot of these lines:

and this is a view of running journalctl -xe -f

Trying to drain the worker node now in order to reboot it.

I find this issue over on the Kubernetes repo quite interesting > https://github.com/kubernetes/kubernetes/issues/70044

Note: not sure if it's related to multipathd issue since I saw multiple multi paths messages.

I'll check up on multipathd.
Furthermore I found out that the worker nodes of the cluster seeing the issue on one of the nodes, where migrated between VMWare clusters the date of when the problems started.
I think that this was related to that. Cordoning >> draining >> rebooting the failing node made things work again and I'm in talks internally with our VMWare people on how to handle this situation going forward.


NotImplementedError: Multiple calendars in one file are not supported by this method. Use ics.Calendar.parse_multiple()

Hi,
I tried out calcure after the reddit post the other day. It looks great, fits my setup perfectly (nextcloud for calendar, taskwarrior for tasks!).
However setting up the calendar sync I receive the titular error:
NotImplementedError: Multiple calendars in one file are not supported by this method. Use ics.Calendar.parse_multiple()

where my calcure/config.ini is the default plus these two lines right after [Parameters]:
ics_event_files = /home/blue/.config/vdirsyncer/data/events.ics
folder_with_datafiles = /home/blue/.config/calcure

and my vdirsyncer config is
[general]
status_path = "~/.vdirsyncer/status/"

# Sync events

[pair events]
a = "events_local"
b = "events_remote"
collections = null

[storage events_local]
type = "singlefile"
path = "~/.config/vdirsyncer/data/events.ics"

[storage events_remote]
type = "caldav"
url = "XXX/nextcloud/remote.php/dav"
username = "XXX"
password.fetch = ["shell", "XXX"]

Before I try to patch this for my case (the error message suggests that switching to ics.Calendar.parse_multiple() might do the job) I thought I'd ask whether there is already a way to support multiple calendars in calcure.

Hi, thank you for reporting!
I didn't know you can put several calendars into one file. So you have more than one calendar in your nextcloud, right?
The way it meant to be used is that different calendars are in different ics files (probably need to change the vdirsyncer settings (collections?) and then in calcure config they are listed as:
ics_event_files = /home/blue/.config/vdirsyncer/data/events1.ics,/home/blue/.config/vdirsyncer/data/events2.ics

(no quotes, no spaces).
However, if this is not working for you, we may look into this ics.Calendar.parse_multiple(). I'll try to replicate your error and see...

Thank you for the quick reply!
Yes I have a "personal" and a "work" calendar on Nextcloud and it looks like vdirsyncer puts them in the same ics file.
I'll try to figure out how to tell vdirsyncer to use one file per calendar when I have some spare time.

Actually, I found a quick fix for you. In you vdirsyncer config, you can specify which calendar to sync as:
url = "https://XXX/remote.php/dav/calendars/admin/personal"

So you need to create two sync records, one for work, another for personal. The whole config would look something like:
[general]
status_path = "~/.vdirsyncer/status/"

# Sync events personal

[pair events_personal]
a = "events_local_personal"
b = "events_remote_personal"
collections = null

[storage events_local_personal]
type = "singlefile"
# type = "filesystem"
path = "~/.config/vdirsyncer/data/events_personal.ics"
# fileext = "ics"

[storage events_remote_personal]
type = "caldav"
url = "https://.../remote.php/dav/calendars/admin/personal"
username = "..."
password = "..."

# Sync events work

[pair events_work]
a = "events_local_work"
b = "events_remote_work"
collections = null

[storage events_local_work]
type = "singlefile"
# type = "filesystem"
path = "~/.config/vdirsyncer/data/events_work.ics"
# fileext = "ics"

[storage events_remote_work]
type = "caldav"
url = "https://.../remote.php/dav/calendars/admin/work"
username = "..."
password = "..."

But let's keep this issue open. It definitely should not crash like that, so I'll see how to improve it.

Well, so for me, the ics.Calendar.parse_multiple() didn't really work, it just seem to return empty list. So for now I just fixed crash, but people will have to separate calendars I guess.

Thank you for the fix/workaround! Given that it's even in the wiki now, that counts as a solution for me :+1:

Okay, I'll close it then, since I don't really see what else I can do here. Thank you for reporting.


Is there a nice way to use ABAP-Logger in OData exceptions?

Hello,
Is there a nice way to use ABAP-Logger along with OData exceptions?
OData exceptions is implemented something along the lines of:
  IF i_msg_type IS NOT INITIAL AND i_msg_text IS NOT INITIAL.
    me->context->get_message_container( )->add_message_text_only(
      EXPORTING
        iv_msg_type               = i_msg_type
        iv_msg_text               = i_msg_text
        iv_add_to_response_header = ls_add_to_header
    ).

    IF i_msg_type = 'E'.
      me->has_errors_flag = abap_true.
    ENDIF.
  ENDIF.

  IF i_raise IS INITIAL.
    RETURN.
  ENDIF.

  IF i_is_tech = abap_true.
    RAISE EXCEPTION TYPE /iwbep/cx_mgw_tech_exception
      EXPORTING
        message_container = me->context->get_message_container( ).
  ELSE.
    RAISE EXCEPTION TYPE /iwbep/cx_mgw_busi_exception
      EXPORTING
        message_container = me->context->get_message_container( ).
  ENDIF.

There is no integration today. As you already pointed out, the backend implementation of an OData service is working with a special message container. The message container has methods to add free text messages, BAPI messages and other type of messages so in this point it is quite similar to the logger interface.
The difference is that the message container and its messages are sent to the OData client. Maybe you don't want that for all internal messages you write to application log.
One approach would be to support the message container type as input of the add() method of the logger interface and extract and log all messages it contains.
As SAP gateway components are available on all systems starting from 7.4, it would increase the requirements for this logger class.
Another approach is to have two calls where you need it: one for the message container, another for the logger. I think I would choose this one. The advantage is that you are more flexible and that the sequence of messages is correct. When you would log the complete message container (containing multiple messages) at the end of the OData method and you would have logged messages with the logger before, the sequence of message could get mixed up.

I would be interested to hear about anything you do in this respect. So far I am just barely dipping my toes, and have set up for one entity set logging (to application log) when a request does not process all the options (DONE-list does not match TODO-list) or an exception occurs - but I am only just getting started and sneak it in along with other changes.
However, it isn't clear to me whether you want to log the gateway exceptions or use the ABAP Logger as source for the messages returned with an exception.
I log the exceptions by catching the business and technical exceptions, adding them to the application log, and then re-raising the exception.
  METHOD log_and_raise_gw_exception.

    DATA(lo_logger) = get_logger( ).
    IF io_busi_exception IS BOUND AND io_busi_exception IS NOT INITIAL.
      IF lo_logger IS BOUND.
        lo_logger->e( io_busi_exception ).
        lo_logger->save( ).
      ENDIF.
      RAISE EXCEPTION io_busi_exception.
    ELSEIF io_tech_exception IS BOUND AND io_tech_exception IS NOT INITIAL.
      IF lo_logger IS BOUND.
        lo_logger->e( io_tech_exception ).
        lo_logger->save( ).
      ENDIF.
      RAISE EXCEPTION io_tech_exception.
    ENDIF.
  ENDMETHOD.

In my query implementation
   TRY.
       set_logger( zcl_logger_factory=>create_log( object    = '...'
                                                   subobject = '...'
                                                   desc      = |OData query: ...|
                                                   auto_save = abap_true ) ).
       get_..._handler(  )->get_entityset( EXPORTING io_request          = io_tech_request_context
                                           IMPORTING es_response_context = es_response_context
                                                     et_entities         = et_entityset
                                                     es_processing_todo  = DATA(ls_requested_processing)
                                                     es_processing_done  = DATA(ls_completed_processing) ).
       IF ls_requested_processing <> ls_completed_processing.
         IF get_logger(  ) IS BOUND.
           MESSAGE w020(zopu_bse) WITH ls_completed_processing ls_requested_processing INTO DATA(l_message).
           get_logger(  )->add( ).
         ENDIF.
       ENDIF.
     CATCH /iwbep/cx_mgw_busi_exception INTO DATA(lo_busi_exception).
       log_and_raise_gw_exception( io_busi_exception = lo_busi_exception ).
     CATCH /iwbep/cx_mgw_tech_exception INTO DATA(lo_tech_exception).
       log_and_raise_gw_exception( io_tech_exception = lo_tech_exception ).
   ENDTRY.

Perhaps neither pretty or fancy, but I have to start somewhere :-)

I see no problem with your approach. Just one hint: Errors raised by OData services are already written to the application log. Just run transaction /IWBEP/ERROR_LOG in your backend system and click on the button "Application Log". You can see that the error is written in the object /IWBEP, subobject RUNTIM.


Forms

For this PR I:
✅  Create forms to perform the following functions:
✔  Creates a Post on behalf of the current_user. 📄
✔  Create a comment on behalf of the current_user. ✍
✅  Allow Users to add likes to Posts. 👍

Hi @DeliceLydia, thanks for the feedback, could you give me a little more explanation about the error, because I'm not getting this error on my side.

Thanks @bimbolabuari


Fix old directories used and windows/linux portability

Fix of old directories that aren't in the raylib repository more ando some windows/linux portability problems.

@noloop Thank you very much for the improvement! I added a couple of comments. Did you try compiling some of the examples for Android? Is the generated .apk working on real device?

Yes, I tested in the one of examples of the core and the apk is working in my cell phone.

@noloop Thanks for the update! :)


Anyone using Parse Server in production as of March 19 2016?

So this isn't really an issue but a question who's answer is probably good to know for a lot of us. Stemming from the implications of #1057 I'm wondering if ParseServer is ready for thin (or even fat for that matter) client applications. If this is not the appropriate place to answer this question, please, by all means reply to this (not my) post

I'm. But honestly, it is really unstable. I have had to switch back to Parse.com 3 times. So many unknown problems happened and I can't even reproduce it. My setup:

Hosted mongoDB at mLab: Shared Cluster
Two VPS running Parse Server
One VPS for load balancing to 2 above server
Background job processing with Kue and Redis
NewRelic for performance measurement and Airbrake for exception notification.

+1. Would like to hear some feedback from a reliability standpoint. These guys have been working very hard on it. Every time I check out this git there's a commit made just a few hours ago, and with the added features at this point parse-server has almost superseded it's predecessor.

TL;DR - Wait with parse-server for at least 2-3 months, let it mature first.
I quickly jumped on the train here, been following pretty much all commits, issues, PR's, etc.
The very first thing you'll notice is how easy it is now to run and debug cloud code locally, this is one of the major improvements we get now.
Stability - I'd stay put for a while, there is no rush yet. You definitely want to migrate your database before the end of April, as the migration docs hints about lower priority for their own mongodb instances.
Following the migration docs, the next "important" date is July 28th, where you are supposed to switch to your own hosted parse-server. The migration docs are pretty spot on and very well written. Read it carefully.

We've switched to parse-server on production, but mainly because our platform is still in beta ~500 daily users. It's stable enough most of the time, but there seems to be a disconnect between the level of activity on parse-server vs. parse-sdk-js; we often find issues with the client-side code arising after updating parse-server. Overall, the issues have been balanced by the ability to test cloud code locally. The lack of timeouts is a massive bonus.

In back4app we have now about 500 apps running in production with Parse Server running in our infra-structure. Honestly most part of them are very simple applications. At this moment, I think that Parse Server is not 100% prepared for existing complex applications. The complex ones still suffer in the migration process mainly with features related to Jobs, Push Notifications and Cloud Code Hosting. BUT I really believe that in a little time Parse Server will be the best framework for API and backend development. We have just to keep working hard and focused to make it real: app developers sending bugs/issues, parse server developers improving the framework and parse hosting services improving tools to make it easier for developers.

what @bohemima said! There is no rush to migrate to parse-server. In the meantime, before July 28th, it's maybe a great time to train your team in deployments, shell scripts, collecting logs from cloud providers, find the provider that best suits you etc...
Use that time to have a good understanding of what you're leaping into, from a fully managed backend to a backend that you manage.
Read on best practices on deploying express apps, do testing on small apps, get familiar with the code base, the inner workings etc... As the code is open-source this doesn't mean you'll ever have full time engineers to fix/patch the problems you face.
Post issues, pull requests, that's one of the best ways to get familiarized with the source.
In the end, even if you deploy to back4app or anywhere else, you'll need to understand why sometimes things don't work as expected.
Keep in mind, that this code, as being open-source is provided as-is. There is nothing forcing the contributors to work on the bugs you discover.
The core contributors are mostly here to ensure feature parity is achieved in a reasonable time frame and make sure the quality of the code in the pull requests match the requirements for such project.

@tobernguyen that would be nice if you managed to repro those problems, that would be valuable information for many users

These comments help frame what should be a reasonable schedule for getting parse server into production... I know, at least for me, it will be somewhat longer than originally desired.
That's OK.
The team that's come around the project thus far has done wonderful work! Thank you all for your input - it really does help.

@tobernguyen would you be able to share more on how you setup the background jobs with kue and redis?

Would like to ask you guys after you migrate to the new parse server, will you keep your old app running with parse.com cloud code? During development, I found some backward compatibility problems. Like parse.com and parse server are using different fields for ACL. The old app are not able to get the images from new s3 buckets...etc.

@carmenlau You should document those problems and open up some issues with logs if you can please.

@omairvaiyani how did u get 500 daily users in beta. i cant even get 100 in my latest production release

@alexrmacleod i don't think that is relevant to parse server but for your curiosity, it's an educational platform and we have a wide reach from our previous product.

You definitely want to migrate your database before the end of April, as the migration docs hints about lower priority for their own mongodb instances.

This is what worries me. If Parse Server is not actually ready for production apps by the end of April, then  it sounds like you're kind of screwed. If you have a successful app in production that is currently hosted with Parse.com, can you actually migrate to Parse Server by end of April and provide a stable experience for your users, or will your users suddenly be experiencing issues now?
If it's not stable/production ready by end of April and you really want to keep using Parse's tools, then you have no choice but to stay on Parse.com for the time being. What will this mean for your app, and your user's experience? Will an app with 10k users start slowing down? What about 50k, 100k+ users?
Please note that none of this is meant as criticism, I'm simply trying to have an open discussion and figure out where we all are on this issue. The parse team has done an amazing job of open sourcing this and I truly hope that we can build a strong community around this.
My problem is that I'm an iOS dev, not a backend dev. As much as there is lots of documentation on how to migrate, most of us won't have the skills yet to handle all of these potential issues that might occur when moving to Parse Server.
This situation might be fine for side projects or personal apps, but what about those of us running a business? What about those of us trying to launch apps that will be featured in the store and receive 100k+ downloads? What about apps built on Parse that already have 100k+ users?
The last thing I want to do is stop using Parse. It would be a shame because I'm already familiar with the iOS SDK and there's already so much built for us.
I'm just trying to take a pulse of the situation and see where everyone is at with this. At this point I'm excited about the potential that Parse Server has, but at the same time I'm worried that it might not be ready in time before they start winding things down over there.

@mitchellporter you can keep your app server on Parse.com after you've migrated your database. We recommend migrating your database by the end of April, but migrating your application logic to Parse Server can wait a few more months. If you have migrated your database by April 28th, we won't deprioritise your application server.

@drew-gross Thanks for the clarification. For anyone else that's curious: https://github.com/ParsePlatform/parse-server/wiki/Migrating-an-Existing-Parse-App

@tobernguyen You said you had switched back to parse.com 3 time so far. Would like to know how do you do the switch? In client side OR server proxy to http://api.parse.com/? Want to find a way so we can do it safety. Thanks!:)

Very interesting thread, and thank you all who have started using Parse Server and contributed to its development.
I am closing this out as we're trying to cut down on the number of non-issues. This will help us focus on the issues that are actively preventing people from migrating their production apps to Parse Server.
As mentioned earlier in the thread, the April 28 date is only about migrating your database. Calls to api.parse.com will continue working, and Parse will just route calls to your database instead of Parse's.
You still have until July 28 to start using Parse Server. This will give you roughly six months to get your active users to update their client apps to the newer version that points to your self-hosted Parse Server before api.parse.com stops handling requests.


Update azure-automation-service-limits.md

I have a support case reporting this message when trying to send a 1 mb parameter in a Runbook:
  'message': '{\\'Message\\':\\'The request is invalid.\\',\\'ModelState\\':{\\'job.properties.parameters\\':[\\'Job parameter values too long. Max allowed length:524288. Parameter names: myString\\']}}'
This suggests to me that the maximum is not 512 kilobits (512000 bits), but 512 kibibits (524288 bits). I don't have any evidence on the webhook payload but I'm just assuming it's the same.
Can you check on these values? For that matter, I now notice that the memory/disk space limits are all MB and GB. Are we sure those are not MiB and GiB?

@dcbrown16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#reassign @MGoedtel

@dcbrown - Due to delays with engineering reviewing my request to validate this and also all of the service limits specified, I'm going to have to close this in order to avoid exceeding our open PR SLAs.  I'm submitting a ICM tonight for this and once I get an answer, I'll open a PR to update this and anything else that may be inaccurate.  My apologies for the delay here... #please-close

Thanks @MGoedtel, no worries!


Investigate FAIR evaluation data extraction

It would be great to include FAIRness information (RE the FAIR principles) about individual repos in our consideration of the health of a piece of software, so towards that I will explore how to grab metrics on FAIRness that we can aim to incorporate.

The FAIR Checker at https://fair-checker.france-bioinformatique.fr/ seems brilliant - type in the URL of a repo and it quickly assesses it in a quantitative way for FAIR principle aspects. I am now looking at what information from those is best to pull out as valuable metrics, and how to extract it.

API is here: https://fair-checker.france-bioinformatique.fr/swagger
It is probably best if we grab the '/api/check/metrics_all' which finds 'Evaluates all FAIR metrics at once', to get everything since all of those metrics are quite important and FAIR is now very well-established.


Spyder 3.2.3 doesn't start

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When I launch spyder from Anaconda suite in a specific environment, It doesn't start: Exit code: 139
In other environments with different version of spyder there is no problem.
What steps reproduce the problem?

Launch Spyder from Anaconda console

What is the expected output? What do you see instead?
Spyder running. I get just an error message.
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version: 3.2.3
Python version: 3.6.13
Qt version: 5.9.7
PyQt version:
Operating System name/version: Linux Mint 20

Dependencies

I'm not able to open Spyder
PASTE DEPENDENCIES HERE

Hi,
I've tried to install the new versione of Spyder, but I got a message saying "Spyder==5.3.3 Cannot be installed on this environment".

Oh I see, that's probably because of your Python version on that env (3.6.11). I think the latest Spyder release that supports Python 3.6 is 5.2.2
Could you try to update to Spyder 5.2.2?
Let us know if you are able to update to that version

Unluckily I get the same error message.
I was making another attempt: I re-created the environment with another name installing the different packages.
Spyder 5.2.2 was installed automatically by Conda, but when I launch it I got this:

Traceback (most recent call last):
File "/home/xap/anaconda3/envs/Cazzaso3/lib/python3.8/site-packages/qtpy/QtWebEngineWidgets.py", line 29, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/xap/anaconda3/envs/Cazzaso3/bin/spyder", line 11, in
sys.exit(main())
File "/home/xap/anaconda3/envs/Cazzaso3/lib/python3.8/site-packages/spyder/app/start.py", line 233, in main
from spyder.app import mainwindow
File "/home/xap/anaconda3/envs/Cazzaso3/lib/python3.8/site-packages/spyder/app/mainwindow.py", line 57, in
from qtpy import QtWebEngineWidgets # analysis:ignore
File "/home/xap/anaconda3/envs/Cazzaso3/lib/python3.8/site-packages/qtpy/QtWebEngineWidgets.py", line 37, in
raise QtModuleNotInstalledError(
qtpy.QtModuleNotInstalledError: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.

Could you try creating or modifying your envs specifing also the pyqt version to be <=5.9.2? I think pyqtwebengine is also not available for Python 3.6 and it is needed for pyqt >=5.12

Hi,
at the moment in the first environment pyqt version was already 5.9.2 therefore it isn't working yet.
In the new environment created, I changed the version in 5.9.2 and now when I launch Spyder it starts regularly.

Seems like you managed to create then an env which works with Python 3.6 and Spyder 5.2.2 :+1:
Regarding your initial env with Python 3.6, maybe if you can get some traceback we could check it but otherwise there isn't much we can do, sorry :/

Closing since no other info was provided


auto add tokens 66961

@solmergeai you are adding a new entry to the token-list (and uploaded image) for each individual NFT. please don't do this. this is a token-list for fungible tokens and additions of tokens with maxSupply=1, decimals=0 are clearly spam

where do I submit for non fungible tokens? What about NFTs with decimals more than 0 and supply=1 that want to be sold in fractions?


New version: TextParse v0.9.1

Registering package: TextParse
Repository: https://github.com/JuliaComputing/TextParse.jl
Created by: @davidanthoff
Version: v0.9.1
Commit: e70e3578db3f1d94d7f412dde2b731bbe2265727
Reviewed by: @davidanthoff
Reference: https://github.com/JuliaComputing/TextParse.jl/commit/e70e3578db3f1d94d7f412dde2b731bbe2265727#commitcomment-33644207

Consider enabling TagBot to make sure the release is persistent in your repo, see https://discourse.julialang.org/t/ann-tagbot-creates-tags-and-releases-for-your-julia-packages-when-theyre-registered/23084


Different definition of throughput on the Caliper FAQ than the actual code.

Which Caliper version are you using?
v0.5.0
Which Node.JS version are you using?
v10.24.1
Which operating system are you using?
Ubuntu 22.04 LTS
Please provide some context for your error. For example, when did the error occur? What were you trying to achieve, and how?
I was using caliper to benchmark my Hyperledger Fabric network, and i was highly interested in the Throughput (TPS) value. Apparently at the https://hyperledger.github.io/caliper/v0.5.0/caliper-faq/ it is insisted that: "The throughput is calculated by Succ/(last committing time - first submitting time), here only successful committed Txs will be calculated.", however when i run an experiment with zero successful TXs i was still getting a valid Throughput which was odd. So i researched the code and at the file report.js i found out that the Throughput (TPS) value is calculated as (Succ+Fail)/(last committing time - first submitting time). Which is the intended way to caclulate the Throughput ?
What was the observed incorrect behavior?
Positive throughput value with zero successful TXs.
Please provide the error logs and their surroundings.
Name	Succ	Fail	Send Rate (TPS)	Max Latency (s)	Min Latency (s)	Avg Latency (s)	Throughput (TPS)
CreateAsset	0	5001	50.0	-	-	-	32.6

Please provide your benchmark configuration file content, if possible.
No response
Please provide your network configuration file content, if possible.
No response
Please provide your workload module content, if possible.
No response
Please provide any additional information you deem relevant to the error.
No response

I'm guessing the FAQ has never been updated. The code has been that way for a while by the looks of things

I see. Thanks !

@stevedimaras I think this is a documentation bug, many thanks for reporting

re-opening as we still need to fix the documentation here, so will use this issue to track that


Add a way to change your password (workaround inside)

If you want to change your password right now, you need to logout.
https://api.ldjam.com/vx/user/logout <-- click me
Then go to this URL:
https://ldjam.com/#user-reset  (this is typically found in the login dialog).
Actually, logging out isn't needed.
Okay, so really what this bug should be is to add a way to trigger this process. Requiring that a password change go through e-mail is probably a very good idea (for security). Most sites let you edit directly, but with the e-mailing we confirm your identity and that you haven't compromised someone's LD account.

Good workaround, would like a more obvious way to get to it.

I tried to reset my password, but it states: unauthorized.

Are you sure your account exists? You can double check by going to https://ldjam.com/users/YOUR-USER-NAME

I have tried it again and now it worked. must have been some overload or
something.
Cheers
Op vr 23 apr. 2021 om 23:16 schreef Mike Kasprzak @.***

:

Are you sure your account exists? You can double check by going to
https://ldjam.com/users/YOUR-USER-NAME
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ludumdare/ludumdare/issues/777#issuecomment-825930097,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2TTQ4KFSF25ND224R7FC3TKHPUHANCNFSM4DIZJENQ
.

--
Vriendelijke groeten,
Peter — Uw Grafisch Ontwerper
—
www.nitras.be
+32(0)496 77 81 00 — @.***
—
Grafisch ontwerp, webdesign, audio design
– Ik verzorg jouw visuele communicatie

Error Unauthorized is coming up for me all the time. I forgot my password and am now unable to reset it.

Working on it. If you send me an email, I'll send you a reset once fixed.
https://ldjam.com/contact
On Sun, Apr 3, 2022, 09:45 gonutz @.***> wrote:

Error Unauthorized is coming up for me all the time. I forgot my password
and am now unable to reset it.
—
Reply to this email directly, view it on GitHub
https://github.com/JammerCore/JammerCore/issues/777#issuecomment-1086872387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL7MCL2R4HA6IMLTXKCOQ3VDGOGZANCNFSM4DIZJENQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Nice, thanks for the quick reply :-D

Ah, I was mistaken. There was an issue, but it was not with resetting passwords.
I've written a guide on what to do if you're having problems.
https://ludumdare.com/resources/questions/how-do-i-reset-password/
Once you've confirmed your email address is correct (see guide), and that your user account exists (also in the guide), if you still have problems, reach out.

Thanks for the update, I have actually found my old password but I will check out your guide just in case :-)


Appstudio update test-custom-default-branch-ycxx

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-vchz-on-pull-request-
creating pipelinerun test-annotations-vchz-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mcmm-on-pull-request-
creating pipelinerun test-simple-build-mcmm-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-imul-on-pull-request-
creating pipelinerun test-simple-build-imul-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nwtb-on-pull-request-
creating pipelinerun test-simple-build-nwtb-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-uqzm-on-pull-request-
creating pipelinerun test-simple-build-uqzm-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ufgi-on-pull-request-
creating pipelinerun test-simple-build-ufgi-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-lqle-on-pull-request-
creating pipelinerun test-simple-build-lqle-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-mijr-on-pull-request-
creating pipelinerun test-annotations-mijr-on-pull-request- in namespace build-e2e-tgrm-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Sync engine attribute flow aggregated

We have a setup with 14 separate import sync rules for Active Directory, all importing users with the same attribute flows (mostly), separated on OU filtering.
In the report, all the fields that are common between the 14 import sync rules appears 14 times PER rule, so I get 196 listings of AccountName, Email and so on.
Title is imported in 13 of the rules, and gives me 169 listings.. and so on and so on 👎
The sync rules have inbound system scoping filter on DN.
connectedSystemScope,"dnENDSWITHOU=Users,OU=_DK,DC=testlab,DC=local",FIM Service,string,16.11.2015 12:34:22

Thanks! We'll display the rule scope when documenting the attribute flows for sync engine. You'll still get as many rows though.

Try the latest release v1.17.0610.0. Closing for now.


extend AwareDatetime with implicit timezone

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
The current AwareDatetime type allows to validate that a datetime field is timezone aware. However, it doesn't allow coercion. I see mentioned here that this wouldn't be safe but I disagree, under certain circumstances. As I see it, pydantic is mainly used on the boundary of a Python program and some form of external input. The API on this boundary would have a contract with its users. It doesn't seem too far-fetched to assume that this contract may specify an assumed timezone for timestamps without an explicit timezone (e.g. UTC). I would like to see an option to AwareDatetime that allows you to specify the implied timezone for any naive timestamps, so that they can be coerced to be timezone aware.
With pydantic v1 (which doesn't have AwareDatetime afaik) we've always used a custom validator for this. We could do the same for v2 but since this seems like a common use case to me I think it could be good to support it natively. The v1 validator we use at the moment looks as follows.
    @pydantic.validator("time")
    @classmethod
    def time_timezone_aware(cls, v: datetime.datetime) -> datetime.datetime:
        """
        Make sure the time field is timezone-aware. Any naive inputs are interpreted as UTC.
        """
        return v if v.tzinfo is not None else v.replace(tzinfo=datetime.timezone.utc)

In case both this suggestion and #5829 are considered as an extra feature, they should probably be worked out in tandem to ensure the two options can be clearly distinguished while still presenting an intuitive interface.
Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[X] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Selected Assignee: @adriangb

We'd need to use Annotated to allow it to be configured anyway, so why not just use it to create a new type?
from datetime import datetime, timezone
from typing import Annotated, TypeVar

from pydantic import TypeAdapter, AfterValidator
import pytz

T = TypeVar('T')

UTCDateTime = Annotated[datetime, AfterValidator(lambda d: d.astimezone(timezone.utc))]

ta = TypeAdapter(UTCDateTime)

print(ta.validate_python(datetime.now()))
#> 2023-07-25 11:19:34.082282+00:00
print(ta.validate_python(pytz.timezone('America/New_York').fromutc(datetime.now())))
#> 2023-07-25 13:20:56.483565+00:00

Thanks for your response. I must confess I'm still working mostly on pydantic v1 and I hadn't yet encountered the AfterValidator with Annotated, looks useful. For completeness sake I'll add that the snippet would need to be slightly modified for what I'm proposing, as astimezone assumes local time and converts to UTC, opposed to replace(tzinfo=timezone.utc), but that's a minor detail. This approach is definitely more easily reusable than the custom validator one in my initial report.


Make local VM a link in the vm list page for local OCP provider

Make local VM a link in the vm list page for local OCP provider
Issue:
currently the vm name for local vms is not a link
Fix:
make the vm name a link

Part of: https://github.com/kubev2v/forklift-console-plugin/issues/670

closed by: #809


Support relative url

Gatling currently support absolute urls.
It could be interesting to configure an url base on the scenario and then have it prepended to all the requests if they don't start with a given prefix (like http).

This would mean that the scenario should be protocol aware, which is not what we tried to do until now.
We may, however, introduce a way to configure the protocols used in the scenario, for example:
val httpCfg = gatlingHttp.configure.baseUrl("http://my_base_url")
scnConf = scn.configure.users(500).ramp(60).protocolConfig(httpCfg)


Test code coverage

Motivation and Resolution
This resolves #1089
I've been able to solve the optional npm dependency error and also pass through setting the global variables into the terminal as shown in the setup guide
...
RPC version (if applicable)
...
Usage related changes

Adds a test code coverage step into Github actions

Change 1.
...

Development related changes

Change 1.
...

Checklist:

[x] Performed a self-review of the code
[x] Rebased to the last commit of the target branch (or merged it into my branch)
[x] Linked the issues which this PR resolves

Hm, should this include devnet ?

The idea is:

a dev can run locally a command to see the code coverage of tests
the same thing can be run on all PR-s on the CI in github

So, first case can be covered by :

for a complete project coverage : npm test -- --coverage
for a single file coverage : npx jest __tests__/utils/uint256.test.ts  --coverage
Maybe should be added in package.json as new commands (and listed in Contribute doc)?

So, first case can be covered by :

for a complete project coverage : npm test -- --coverage
for a single file coverage : npx jest -i __tests__/utils/uint256.test.ts  --coverage
Maybe should be added in package.json as new commands (and listed in Contribute doc)?

yes , definitely!

Also : target to next-version branch.

ok let me work on that real quick.

i already followed the instructions on setting up my local devnet but when i run npm test, i still get the same error again

i already followed the instructions on setting up my local devnet but when i run npm test, i still get the same error again

sorry, which error?

i already followed the instructions on setting up my local devnet but when i run npm test, i still get the same error again

sorry, which error?

Are you working in Linux OS?

Are you working in Linux OS?
nope macOS

We can see the error message "local devnet  is not running". So ...

I ran npm install starknet
then i followed the guide in the contributing.MD

but then once i run the npm test command, i get that error

try with: npm install starknet@next

try with: npm install starknet@next

alright let mw try that

is you local devnet-rs running properly? With the good parameters : https://www.starknetjs.com/docs/next/guides/connect_account/#connect-to-a-pre-deployed-account-in-starknet-devnet-rs


Potential XSS vulnerability in AbstractParam

This came up when a customer ran a scan against a Dropwizard app.  In AbstractParam (here), the input parameter value is sent back unescaped.  While useful, that could enable an attacker to insert scripting into a page that displays those error messages.

This issue was patched in the application in question by overriding AbstractParam#errorMessage in the subclasses in question, but the easy fix in general is simply not to return the input (verbatim) in the response.

It's already escaped as a JSON string but which escaping rules would you additionally apply? SQL? JavaScript? HTML? Python?
I don't think that's a problem you can solve in a generic way.

@joschi I agree that it's a problem without a generic solution, other than perhaps to insist (probably futilely) that UI developers write clean, safe code...  In this case, the security scanning code is attempting to assess the risk of an XSS issue in that it inspects the JSON bodies for the interaction rather than the content actually delivered to the UI layer.
One option would just be to have a global configuration parameter for all AbstractParam and descendants that controls whether input is included with error messages.

I don't see a good way of configuring whether abstract params error messages include the original input other than some static side effect state.
I'm wondering if it makes sense to show the clients the input they send? Would existing users feel we broke backwards compatibility without it? My guess is no. Perhaps we should just send them the general class of error without the input, then we debug log the input & error

@carlo-rtr I'm +1 on that approach

Fixed in #1022


DataGrid Filters Popover position is not relative to the header when using FixedHeader.

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudDataGrid
What happened?
Hello MudBlazor team! I've been using MudBlazor for the past year and it's been really great!
Unfortunately, I've stumbled upon a small bug with the MudDataGrid when using the FixedHeader and Filtrerable attributes.
Once you have applied a filter on a column, if you scroll a bit and re-open the filter menu, it will have moved outside the boundaries of the datagrid, most of the time to the top of the page.
Expected behavior
The Filter menu should stay relative to the Fixed header instead of moving with the rows when you scroll.
Reproduction link
https://try.mudblazor.com/snippet/mkQSFbGuEvNUzirh
Reproduction steps

Use the snippet I provided.
Filter on the Name column, use contains with "N" to have enough data to scroll through.
Scroll down the rows.
Re-open the filter menu and observe that the menu has moved with the scrolling of the rows.
...

Relevant log output
No response
Version (bug)
7.15
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

@versile2 I think that's reproducible even on v8. Would it be easy to fix?

I don't use the E word, that's just challenging fate... I will look at it though :)

@versile2 I think that's reproducible even on v8. Would it be easy to fix?

is this a regression or did it always do it?

is this a regression or did it always do it?

Always.

Understand. It's not "easy" but I'm working on it now.

The popover is placed in the body because it doesn't show inside thead if placed there no matter what. The "body" scrolls even though the header doesn't in this case. I can put a fix in via javascript that will reposition filters-panel to the first cell of the header row? I'm presuming the other filter options work fine.


Offline diags: use proper zonal mean in zonal mean variance

The offline diags had a bug where the mean being used in the zonally averaged variance calculation was the global mean, not the zonal avg mean. This inflates zonal average variance, which in turn inflates R^2.

Exactly why I dislike R^2...funny how often this comes up.
Would you be open to generalizing this function: https://github.com/ai2cm/fv3net/blob/9b2b61d304d6494c3889578a211ed9da5d5d89b1/external/vcm/vcm/calc/metrics.py#L18?
@YakelynRJ and I wrote this r2_score function that works with arbitrary averaging operators: https://github.com/ai2cm/fv3net/blob/9b2b61d304d6494c3889578a211ed9da5d5d89b1/projects/cloud_ml/scripts/scoring.py#L12. It has a similar signature to the other scoring functions in vcm.calc.metrics.

Exactly why I dislike R^2...funny how often this comes up.
Would you be open to generalizing this function:
https://github.com/ai2cm/fv3net/blob/9b2b61d304d6494c3889578a211ed9da5d5d89b1/external/vcm/vcm/calc/metrics.py#L18
?
@YakelynRJ and I wrote this r2_score function that works with arbitrary averaging operators:
https://github.com/ai2cm/fv3net/blob/9b2b61d304d6494c3889578a211ed9da5d5d89b1/projects/cloud_ml/scripts/scoring.py#L12
. It has a similar signature to the other scoring functions in vcm.calc.metrics.

Since I would want to replace the R2 calculation in the offline diags with this function being added to the computation registry, I'll just do that separately and limit this PR to just the bug fix for variance.


[Event Request] Table 9055 "Purchase Cue", OnAfterCountPurchOrdersSetFilters

[Event Request] Table 9055 "Purchase Cue", OnAfterCountPurchOrdersSetFilters
It needs to be possible to set additional filters for counting purchase orders.
procedure CountOrders(FieldNumber: Integer): Integer
var
    PurchaseHeader: Record "Purchase Header";
    CountPurchOrders: Query "Count Purchase Orders";
    Result: Integer;
begin
    case FieldNumber of
        FieldNo("Outstanding Purchase Orders"):
            begin
                CountPurchOrders.SetRange(Status, PurchaseHeader.Status::Released);
                CountPurchOrders.SetRange(Completely_Received, false);
            end;
        FieldNo("Not Invoiced"):
            begin
                CountPurchOrders.SetRange(Completely_Received, true);
                CountPurchOrders.SetRange(Partially_Invoiced, false);
            end;
        FieldNo("Partially Invoiced"):
            begin
                CountPurchOrders.SetRange(Completely_Received, true);
                CountPurchOrders.SetRange(Partially_Invoiced, true);
            end;
    end;
    FilterGroup(2);
    CountPurchOrders.SetFilter(Responsibility_Center, GetFilter("Responsibility Center Filter"));
    OnAfterCountPurchOrdersSetFilter(CountPurchOrders);
    FilterGroup(0);

    CountPurchOrders.Open;
    CountPurchOrders.Read;
    Result := CountPurchOrders.Count_Orders;

    exit(Result);
end;

[IntegrationEvent(false, false)]
local procedure OnAfterCountPurchOrdersSetFilter(var CountPurchOrders: Query "Count Purchase Orders")
begin
end;

Integration Event:
OnAfterCountPurchOrdersSetFilter
Signature:
var CountPurchOrders: Query "Count Purchase Orders"

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Conference room locations

University of Nairobi Towers does not have rooms named Tsavo Hall, Amboselli Hall and Maasai Mara. There is a Tsavo Hall at KICC but probably the room names are specific to the event.  Is it possible to add the regular room names? This would enable creating preliminary indoor maps before the event and also easier direction on initial arrival.

room names are specific to the event.

Yes, these names are specific for the State of the Map. Below is the correspondence to the official room names:

SotM room name
Official Name

Maasai Mara
Chandaria Auditorium

Amboseli Hall
MLT 403

Aberdare Hall
MLT 404

Tsavo Hall
MLT 405

Thanks.


Simbrief Random Passenger Volumes wrong

Describe the bug
When you generate a Simbrief the passenger volumes are meant to be randomly generated using the max passenger volumes and the load percentages however they always only seem to generate with very low numbers (0-5 passengers total)
Version
Latest dev branch
To Reproduce
Create new simbrief
Select aircraft
Simbrief config form shows with very low passenger volumes
Refreshing has no effect
Expected behavior
Should generate passenger volumes in line with the load percentages and aircraft passengers limits.
Screenshots

Additional context
Add any other context and attach logs (from storage/logs/laravel-<date>.log)

Would you please be so kind and provide Load Factor and Load Factor Variance of this flight (not the general settings), if not set please set something in the flight itself for testing.
Seems like you are hitting the below limit for min-max load.

Would you please be so kind and provide Load Factor and Load Factor Variance of this flight (not the general settings), if not set please set something in the flight itself for testing.
Seems like you are hitting the below limit for min-max load.

They are set to blank to inherit the default

They are set to blank to inherit the default

Yes ... Seems like the flight model or flight repo is not reading your general settings and thus reporting 0/0 to simbrief controller.
I can provide a quick fix for the simbrief side but this needs to handled on the flight model/repo too (to prevent further or different issues)

Yes ... Seems like the flight model or flight repo is not reading your general settings and thus reporting 0/0 to simbrief controller.
I can provide a quick fix for the simbrief side but this needs to handled on the flight model/repo too (to prevent further or different issues)


[Enhancement] set empty delta column group when new segment generate

Fixes #20436
Set empty delta column group when new segment generate
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

@Mergifyio backport branch-3.1


Armstrong Number using JavaScript

Describe the project you want to add with tech stack
This project is a simple Javascript project which checks the given number is Armstrong number or not.
Expected behavior
This project has an interface which takes a number as input from user  and displays a text whether the entered number is Armstrong or not.
Screenshots (optional)

Please assign this issue to me

@be11o I raised a new issue to the Repo. Only @pranjay-poddar and other team moderators can assign this issue. As I raised the issue first, I'll work on it and submit it. Hope you got it.


Support custom text formats and recursive

Why are these changes needed?
Address #408
Related issue number
Closes #408
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

We're currently processing your upload.  This comment will be updated when the results are available.

@BeibinLi you created #408 . Would you like to review this PR?

@solarapparition you might be interested in this PR.

@solarapparition you might be interested in this PR.

Ah, I see what you mean. Thank you.

@sonichi @BeibinLi can I get a review on this PR? It has been blocked for 2 weeks now.

Let's also use the custom_text_types parameter in the Notebook example. At least, we should mention it in the notebook.

Let's also use the custom_text_types parameter in the Notebook example. At least, we should mention it in the notebook.

I updated the notebook with new docs_path so it can run w/o setting reference docs and reran the notebook. So it has a lot of changes in the notebook.


Quick start not playing

*Used swift package to create dependency
*included the following:
import AVFoundation
import SwiftUI
import VideoPlayer
import UIKit
added to plist:
App Transport Security Settings
-- Allow Arbitrary Loads
-- Allow Arbitrary Loads for Media
-- AllowArbitrary Loads for Web Content
However, it is still not playing.  Please help

You can try to start with Demo, change the video URL first, and then bring it to your project step by step.
In addition to VideoPlayer having its own Demo, I have another github project that also uses VideoPlayer.
https://github.com/wxxsw/SwiftUI-WeChat


[FLINK-8933] Avoid calling Class#newInstance(part 2)

What is the purpose of the change
This pull request avoid calling Class#newInstance
Brief change log

Replace Class#newInstance to Class#getDeclaredConstructor#newInstance

Verifying this change
This change is already covered by existing tests*.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

hi @zentol I find this pattern has been defined as a BugPattern in google's error-prone which is a lib catches common Java mistakes as compile-time errors. And the link you provided is not the last result, there were review items after that discuss.

and I look at the review threads as well, which apparently didn't address the issue.

I mean the issue was thrown before the review, that may be considered it was not a principal problem, deprecating Class.newInstance most reason is used to fix undeclared checked exceptions (even if there is a little performance cost). And I think JDK's API developer should not make hasty decision. Maybe we can watch the JDK's implementation about both of them with IDE.

I am not sure we should be doing it like this.
The point of discouraging Class.newInstance() is not to copy replace this by a different call. That will not magically make anything better. The whole point is to go from a method that may sneakily throw undeclared exceptions, to a method that declares exceptions.
All places that do not require a change to the try/catch statement (add InvokationTargetException) have reasonable exception handling in place already, and are not vulnerable to the motivating issue.
In fact, for now this makes thing worse because Exceptions get wrapped into InvokationTargetException, with the root cause in the getTargetException(), not in the exception chain.  That would actually be a serious regression.
As a more general comment: Copy/replace style pull requests are a bit tricky, in my opinion - they are rather easy to create (bulk fix tool) and require committers to put up significant time to dig into the matter and to double check that it actually does not cause a regression in the individual spots that are changed. One can probably keep all committers busy for a year with just such fixes without really changing anything for users for the better, and having a high risk of regressions.
I would personally vote to not have many of those pull requests, or clearly label them as "cosmetic" and give them a very low priority in reviewing. Especially given that we have a decent backlog of pull requests for changes that where users will see a difference.

hmm, according to the javadocs the wrapped exception is part of the exception chain and accessible via getCause(). Can't try it out mself at the moment though.

I am not yet convinced that this fixes an actual problem, whereas it is not clear whether it may cause regression (exception traces or performance).
To me this is a case to not do this change, but spend effort on other issues.

OK, I agree @StephanEwen , let's give it a low priority. Actually, I know this big change can bring nondeterminacy to the codebase. So when I assigned this issue to myself, I asked your opinion in JIRA. But it does not matter, the discussion is significative.
Thanks @zentol started the discussion and preciseness about the change. I think we could discuss again about this issue, as I said before, google's error-prone also marked this as a bug pattern and JDK team is also preciseness before they gave this statement.

agree, closing this...


takes a while to load

Basically, when joining the server it takes around 4-5 seconds for the scoreboard to show up when joining. :/

This is usually because of your interval.
If the scoreboard is created right before a player joins, he/she has to wait for the interval to restart.


Fix rlSetUniformSampler

Fix rlSetUniformSampler not setting sampler uniform if the same texture was already passed to a different sampler uniform

@veins1 Good catch! Thanks for the review!


not automatically delete?

WebTorrent version: 0.3.3
I've been watching some movies on it and that movies dont delete automatically they keep in downloads. I think that they should remove automatically, right?

This is an issue for the desktop version, however I'm going to answer here. WebTorrent is a torrents-first streaming client, so like any other torrent client, the torrent will remaing after they have been downloaded. Streaming is just an extra feature it has.

@DiegoRBaquero
But Webtorrent client do have another issue (simmilar to what main tile is saying).
After torrent (movie) is downloaded with Webtorrent client (desktop Win 7) and user delete that same torrent from Webtorrent client, Client removes file only from Webtorrent client, but NOT from PC it self. User need to go to PC directory where that downloaded file is stored and then delete that same file again (which user already deleted that same file from Webtorrent client). Files were not completley removed from PC when downloaded with Webtorrent client and if user try to delete that file with Webtorrent client. It only remove file from client (Webtorrent) but file it self was not deleted from directory where file was downloaded. (I'm sorry if i maybe overlooked and this issue was already menched someplace else, i didn't see it. )
Regards

Yep, @DiegoRBaquero is correct.