Bug: Image URLs that contain markdown formatting don't get parsed correctly when converting to/from markdown

Lexical version: 0.2.9
Steps To Reproduce
This is reproducible on the Lexical playground:

Insert an image that contains some type of markdown formatting in the URL. For example, the following URL contains underscores (markdown italics): https://storage.googleapis.com/dev_papyrus_images/ae676267a8839fec36f0e29551c64369
The image is inserted fine:

Now, toggle to markdown, and the image URL also looks correct:

Toggle back to HTML and the image URL gets malformed, since the underscores get parsed into italics:

The current behavior
Conversions to/from markdown don't preserve the image, if the URL contains markdown formatting.
The expected behavior
The URL should be parsed correctly, and thus the image should be preserved when converting to/from markdown.

Just tested with URLs that contain underscores and the same thing happens.


Stock images url is getting a 404 server error

Category
[ ] Enhancement
[X] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.0.0]
Expected / Desired Behavior / Question
The FilePicker control has a tab to get images from Stock Images, but is getting a 404 server error.
Observed Behavior
This is an example of the url that the FilePicker is generating to get the images from Stock images:
https://hubblecontent.osi.office.net/contentsvc/external/m365contentpicker/index.html?p=3&app=1001&aud=prod&channel=devmain&setlang=en-GB&msel=0&env=prod&premium=1&themecolors={"primaryColor"%3A"%23445068"%2C"textColor"%3A"%23333333"%2C"backgroundColor"%3A"%23ffffff"%2C"neutralLighterColor"%3A"%23f3f2f1"}
As you can see, is getting a 404 error. It seems that it's been changed and now the correct one is:
https://hubblecontent.osi.office.net/contentsvc/m365contentpicker/index.html?p=3&app=1001&aud=prod&channel=devmain&setlang=en-GB&msel=0&env=prod&premium=1&themecolors={"primaryColor"%3A"%23445068"%2C"textColor"%3A"%23333333"%2C"backgroundColor"%3A"%23ffffff"%2C"neutralLighterColor"%3A"%23f3f2f1"}
Just take the '/external' from the url.
Steps to Reproduce
Import a FilePicker in your project and try to browse an image using the Stock Images tab.

Also noticed this too. Thanks for providing the working URL, I have that as a temporary fix now.

Thank you @nviolero for reporting the issue.
It has been fixed and will be included in the next release.


Streaming API Errors

Hi 👋 ,
We're about to go into production with the Streaming API using the replay id extension and have found an issue.
We store the last processed event id in our database, and when reconnecting we use it to get all events since. We have just had a scenario where the last processed item was more than 24 hours old, so is no longer available to use as a replay id - but instead of throwing an error it silently continues to run, but the subscription isn't valid - new items aren't being received.
It would be good if there was a way of choosing the behaviour for error cases listed https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/streaming_error_codes.htm, which includes The replayId {replay_id} you provided was invalid. Please provide a valid ID, -2 to replay all events, or -1 to replay only new events.
We've worked around the original issue by saving a datetime and reverting to use -2 as the event id, but it'd be good to have more visibility of the errors.
Sam

Dealing with the same error and I don't see any way to surface the replayId error.

I cant delete it either?
Get Outlook for Androidhttps://aka.ms/ghei36

From: Kenny Smith<EMAIL_ADDRESS>Sent: Thursday, October 8, 2020 1:35:54 PM
To: jsforce/jsforce<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [jsforce/jsforce] Streaming API Errors (#1061)
Dealing with the same issue and I don't see any way to surface the replayId error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jsforce/jsforce/issues/1061#issuecomment-705750107, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKCLYOQFMAU3ZSQ47N26FADSJYBAVANCNFSM4RAVZY4Q.

Hello guys! Having same issue.
According the jsforce code everything looks ok, it seems like connection is established and everything is ok, but the new events are just not coming in this case.
I assume this might be an issue on SF event bus side, since the only thing jsforce/faye do is passing the replayId at subscription - after that, no communication / configuration can be done.
So I assume the expected behavior is just SF continue push the messages event if the subscription has expired replayId. Does anybody reached SF support? Will try to push it forward a bit.

@khontarau-coverwallet if you're able to raise this through some official channels that'd be great - are you just using the 'support' function in the salesforce web app to do this?

@samjeffress Our SF team will create a SF support case for this particular problem. I will share here all the info that we will be able to get.

Hi people,
Here I'm able to get the error message: 400::The replayId {576368} you provided was invalid.  Please provide a valid ID, -2 to replay all events, or -1 to replay only new events.
With the example bellow:
const replayExt = new StreamingExtension.Replay(topicName, replayId);
client.addExtension(replayExt);
const subscription = client.subscribe(topicName, messageHandler);
try {
  await subscription;
} catch (error) {
  console.log(error);
}

But I was facing another problem with the replayId, the client was receiving a 403::Unknown client error.
The Faye client handles this error and subscribe again to the topics, the problem is that some topics stays more than 72h without receiving a message and in this process the invalid replayId is used. Also the Faye client don't catch the error in their handler, like I did in the example above.
For solve this problem at moment I created another extension to handle this scenario.
Do you think that the StreamingExtension.Replay should handles this scenario?


[vite] internal server error: buildings not found in WebContainers

Pr workaround got merged... https://github.com/kat-tax/vslite/pull/14
It would be great if upstream handled this for us. Ehum.

I'm not sure what you expect this package to do? Always download the babel version just in case you're running in web containers?
I think the long term fix is environment using a wasm build of SWC instead so that you can have the same behaviour (what Stackblitz does for esbuild I think).
For me this is not an issue. Babel is well more suited for demo/sandbox environment.

Or how about doing an async import of the JS plugin?
That way if the user has it in his dependencies, it will just work without userland changes.
I would rather this had it as a devDependency... those are full of junk all the time... this would actually be helpful.

This will be very rare than the babel plugin is also installed. And then I have to be sure the options are compatible.
I think fixing it at the template level or in the repo for people using hybrid environnement is totally fine and doesn't sound like a hack that should be included in this plugin, juts a requirement (working in container environment) that is out of scope of this plugin for now

Yeah something that I can do


Implement Git2Wiki user mapping

When people commit to the repos, it might not be guaranteed that their committer name will be the same as their Wikimedia username. Now that we have a usermap in config.yml for the Wiki2Git mapping, we can use it for the reverse mapping as well. This will allow us to show the proper Wikimedia usernames in the JSS 9 summaries when someone commits to the repos (provided that the mapping for this user has been set up in config.yml, of course).

Works for users in the usermap. If others fail, will reopen.


how to set something as simple as minDate

I have tried :
$('#dtBox').DateTimePicker({
minDate:0,
});
$('#dtBox').DateTimePicker({
minDate:new Date(),
});
It says sDate.split is not a function .  so i tries giving the date by changing to string explicietly , but didnt work

See Examples - Set Today as a min Date and Set Min and Max Dates.

Thanks, works for me .


Poll: minimum Python version

We taking a poll on how you feel about making Python 3.6 or 3.7 a mandatory prerequisite.
Currently we require Python 3.5.

Python 3.6:

According to Pypi, Py3.6 is the 2nd most popular Python release among torch users, in the past 7 months. 2.7 is still the first. REF
Some of Distiller dependencies don't support <3.6 Python releases in their recent (and future) releases. e.g. matplotlib

I tend to give more weight to the 'python 3.5 bunch', simply because these people might not be able to upgrade to a higher version of Python.
Is this a real concern for anyone?


Remove double draw calls

Steps to repro:

Open preferences for anki-forvo-dl
Under deck-specific settings, make sure you have at least 2 decks you can choose from, then switch back and forth between different decks multiple times.
Close the preferences window

Result
A separate dropdown is created for each time you switch decks and is on the main window.

The issue is that currentIndexChanged and currentTextChanged both get fired together (see docs here), so the draw code is getting called twice each time. There's something else going on (probably some code lacks thread safety somewhere) because I don't know why it would cause the dropdowns to draw behind the preference screen, but anyway this fixes the issue of calling draw twice and fixes the issue of multiple dropdowns being created.

Thank you!


Australia East, Japan East

Australia East Max CPU is set as 2, while 3 also works.

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

ID: 4153e809-a854-ff58-3d1e-31770c36a1f9
Version Independent ID: e37b5834-9174-5ea2-567c-7b2628ed9eeb
Content: Resource availability by region - Azure Container Instances
Content Source: articles/container-instances/container-instances-region-availability.md
Service: container-instances
GitHub Login: @macolso
Microsoft Alias: macolso

@ryanbehdad
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@macolso
Can you please check and add your comments on this doc update request as applicable.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. Though the scope of our feedback channel here on GitHub covers specific documentation fixes, we can help redirect you to the right support channel to get an answer to your question: [reference to alternative product/service or community endpoint]. Because this issue does not relate to documentation, we are closing this issue. #please-close


implement mvcc consistency check

Signed-off-by: qupeng<EMAIL_ADDRESS>What problem does this PR solve?
implement mvcc consistency check and use it as defult.
Related changes
Check List
Tests

Unit test
Integration test

Side effects
Release note

No release note

/rebuild

/run-all-tests

/run-all-tests

/merge

LGTM

/merge


python3Packages.weconnect-mqtt: 0.26.1 -> 0.26.2, python3Packages.weconnect: 0.32.0 -> 0.33.0

Motivation for this change
https://github.com/tillsteinbach/WeConnect-python/releases
Required request release only available in staging.
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
[ ] 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.

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

4 packages built:

python310Packages.weconnect
python310Packages.weconnect-mqtt
python39Packages.weconnect
python39Packages.weconnect-mqtt


Review screen numbering of markers

As reported by Frank Smits of KNAW:
" Hi Karl,
I believe I found another bug, this time in your reconciliation viewer. Namely, the count in the list starts at 1 but in the map it starts at 0 (see image below.)"

Analysis: The front-end code was designed on the basis that the first feature in the FeatureCollection provided by the View would have properties.ds="dataset", but this will not be the case where no geometry yet exists for the place.


Running molecule converge returned TypeError: 'NoneType' object is not iterable other=None

Issue Type

Bug report

Molecule and Ansible details
ansible 2.7.4
molecule, version 2.19.0

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Desired Behavior
Desired behavior is to run converge against ansible playbooks.
Actual Behaviour
 Traceback (most recent call last):
  File "/Users/user/github/ansible.php/.venv/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/command/check.py", line 95, in check
    base.get_configs(args, command_args), scenario_name)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/command/base.py", line 121, in get_configs
    ) for c in glob.glob(MOLECULE_GLOB)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 61, in __call__
    obj = type.__call__(cls, *args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 104, in __init__
    self.config = self._get_config()
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 277, in _get_config
    return self._combine(keep_string=MOLECULE_KEEP_STRING)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 320, in _combine
    util.safe_load(interpolated_config))
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/util.py", line 298, in merge_dicts
    anyconfig.merge(a, b, ac_merge=MERGE_STRATEGY)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 294, in merge
    _update_fn(self, other, key, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 234, in _update_with_merge
    merge(self[key], val, merge_lists=merge_lists, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 294, in merge
    _update_fn(self, other, key, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 234, in _update_with_merge
    merge(self[key], val, merge_lists=merge_lists, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 300, in merge
    raise type(exc)("%s other=%r" % (str(exc), other))
TypeError: 'NoneType' object is not iterable other=None
RAW Paste Data

molecule check
Traceback (most recent call last):
  File "/Users/user/github/ansible.php/.venv/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/command/check.py", line 95, in check
    base.get_configs(args, command_args), scenario_name)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/command/base.py", line 121, in get_configs
    ) for c in glob.glob(MOLECULE_GLOB)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 61, in __call__
    obj = type.__call__(cls, *args, **kwargs)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 104, in __init__
    self.config = self._get_config()
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 277, in _get_config
    return self._combine(keep_string=MOLECULE_KEEP_STRING)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/config.py", line 320, in _combine
    util.safe_load(interpolated_config))
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/molecule/util.py", line 298, in merge_dicts
    anyconfig.merge(a, b, ac_merge=MERGE_STRATEGY)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 294, in merge
    _update_fn(self, other, key, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 234, in _update_with_merge
    merge(self[key], val, merge_lists=merge_lists, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 294, in merge
    _update_fn(self, other, key, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 234, in _update_with_merge
    merge(self[key], val, merge_lists=merge_lists, **options)
  File "/Users/user/github/ansible.php/.venv/lib/python2.7/site-packages/anyconfig/dicts.py", line 300, in merge
    raise type(exc)("%s other=%r" % (str(exc), other))
TypeError: 'NoneType' object is not iterable other=None

Returns TypeError: 'NoneType object is not iterable other=None
Removing molecule and reinstalling results in the same error
Recreated virtualenv results in the same error.

Could you please also post a minimum reproducible example for this?
And share the output of pip freeze for the env where it fails vs. the env where it doesn't.

Oh and JFYI currently Molecule targets roles, not playbooks.

Deleting the directory and pulling it down resolved this issue.  Sorry and thank you!

Deleting the directory and pulling it down resolved this issue. Sorry and thank you!

Maybe this will help someone else...
I was experiencing this issue as well. Was able to resolve it by correcting indentation in molecule.yml


Server: Add gift aid support

Add AllowGiftAid parameter to ServerAuthorizeRequest.
Note that "Direct" use another parameter - GiftAidPayment which has a different meaning.

Thank you, and apologies for the the delay.


It's not possible to navigate back away from nuvla.io

solved by https://github.com/nuvla/ui/pull/1072


Discrepancy between onImageSelected and onImage

These two handlers are basically doing the same thing, but they are suspiciously different.
https://github.com/danvick/flutter_form_builder/blob/db1b4c10ec84ecdbc6339feb8ae45b333b65297e/lib/src/fields/form_builder_image_picker.dart#L177-L186
I'm concerned that this may be a bug. 🐞 This is on the version_4 branch.

This widget is moved to form_builder_image_picker


Issue with install

I've attempted to install this stack on multiple machines, and each and every time the install uses more and more HDD space, until it eventually grinds to a halt. There are no abnormal logs to report other than the fact that I let it install overnight and I awoke to the virtual HDD expanded to over 300 GB!
What is going on here?

My bad it was an error on my part I think


Fix isort linting issues

I ran uv run isort .

Should be both.

I can see that uv run pre-commit run --all-files changes the same imports as uv run isort . does


python37Packages.djangorestframework: 3.9.4 -> 3.10.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-djangorestframework/versions.
meta.description for python37Packages.djangorestframework is: '"Web APIs for Django, made easy"'.
meta.homepage for python37Packages.djangorestframework is: '"https://www.django-rest-framework.org/"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.10.2 with grep in /nix/store/3ccg8kmglsaz3hmmzcgkdvy900zn5a67-python3.7-djangorestframework-3.10.2

directory tree listing: https://gist.github.com/09e38fedbe39e440ba367a9dba659ca1

du listing: https://gist.github.com/17e2b4b11580f10d3355d31338263c61

Rebuild report (if merged into master) (click to expand)

32 total rebuild path(s)
9 package rebuild(s)
9 x86_64-linux rebuild(s)
8 i686-linux rebuild(s)
7 x86_64-darwin rebuild(s)
8 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
paperless
python27Packages.django-rest-auth
python27Packages.djangorestframework
python27Packages.djangorestframework-jwt
python37Packages.django-rest-auth
python37Packages.djangorestframework
python37Packages.djangorestframework-jwt
python37Packages.hyperkitty
python37Packages.mailman-web

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3ccg8kmglsaz3hmmzcgkdvy900zn5a67-python3.7-djangorestframework-3.10.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.djangorestframework https://github.com/r-ryantm/nixpkgs/archive/2057ccb335cac3f7fee53003447d41ffb0408f0d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3ccg8kmglsaz3hmmzcgkdvy900zn5a67-python3.7-djangorestframework-3.10.2
ls -la /nix/store/3ccg8kmglsaz3hmmzcgkdvy900zn5a67-python3.7-djangorestframework-3.10.2/bin

cc @desiderius for testing.

PR obsolete


If i can use 3rd party component as custom nodetype. I can't access react-redux context value

If i can use 3rd party component as my custom node component i am getting following issue.
Error: could not find react-redux context value; please ensure the component is wrapped in a <Provider>
Thanks for any suggested solution.

Is your ReactFlow component wrapped in the ReactFlowProvider? If not, wrap it and see if this error still happens. If the error doesn't go away, please add an explanation of what you're trying to achieve.
See: https://reactflow.dev/docs/api/components/provider/

I have following components to render.

ComponentA
ComponentB
ComponentC
ComponentD
ComponentRenderer

ComponentRenderer Will takes care of render the components form A to D by conditional rendering.
My main component like
class MainComponent {
nodeTypes = {
'a': ComponentA,
'b': ComponentB,
'c': ComponentC,
'd': ComponentD,
'renderer': ComponentRenderer,
}
nodesList = [
{
id: '1',
type: 'renderer',
position: {
x: 20,
y: 200,
},
data: {
...customdata,
},
}
]
render() {

}
}
Note:

All components under the same package.
ComponentRenderer renders remaining components based on internal business conditions.

Thanks
Jagadeeswara Rao patta

Have you tried wrapping MainComponent in the ReactFlowProvider ? You could also setup a Codesandbox so that I can investigate this issue quicker.

I have moved all used components under the one folder structure then its working fine.
Thanks for support.


update remote fetch logic

update remote fetch logic

@mumoshu @xiaomudk all is done. please review. thanks.


Fix ssr auth bug and dependency problems

described in #5542
closes #5542

@janek26 This bug is still happening for me, the cookie never gets removed on signout.


Fix PE-D bugs

Fix incorrect error message in delete command. Fixes Issue #95
Fix UpdateTaskCommand bug of deleting task when duplicate task received. Fixes Issue #102 , Fixes Issue #112, Fixes Issue #120, Fixes Issue #123

Codecov Report

Merging #134 (2061213) into master (8226d97) will decrease coverage by 0.12%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #134      +/-   ##
============================================
- Coverage     74.88%   74.76%   -0.13%
+ Complexity      528      525       -3
============================================
  Files            87       87
  Lines          1672     1668       -4
  Branches        177      175       -2
============================================
- Hits           1252     1247       -5
  Misses          370      370
- Partials         50       51       +1

Impacted Files
Coverage Δ

...eedu/address/logic/commands/DeleteTaskCommand.java
93.75% <ø> (ø)

...eedu/address/logic/commands/UpdateTaskCommand.java
94.23% <ø> (-0.22%)
:arrow_down:

.../java/seedu/address/model/task/UniqueTaskList.java
100.00% <ø> (ø)

.../address/logic/parser/DeleteTaskCommandParser.java
100.00% <100.00%> (ø)

.../address/logic/parser/UpdateTaskCommandParser.java
91.30% <100.00%> (ø)

src/main/java/seedu/address/model/task/Task.java
68.42% <0.00%> (-5.27%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

LGTM 🔥


Example server fails to start

When attempting to start the example server, I trip over:
penberg@vonneumann chiselstore % cargo run --example gouged -- --id 1 --peers 2 3
    Updating crates.io index
   Compiling event-listener v2.5.3
   Compiling chiselstore v0.1.0 (/Users/penberg/src/chiselstrike/chiselstore/core)
   Compiling async-mutex v1.4.0
    Finished dev [unoptimized + debuginfo] target(s) in 6.63s
     Running `target/debug/examples/gouged --id 1 --peers 2 3`
RPC listening to <IP_ADDRESS>:50001 ...
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))', core/src/rpc.rs:55:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))', core/src/rpc.rs:55:52

I bisected the problem to 75ec0c75950499a91ef5dffcdc368cdc67924e38

I tried this commit and it worked for me. will investigate more

89a1a1fbd3eaaad23d386be8da01d9b4c6c3d653 OTOH breaks it.


Dataset format compatibility between LLaVA-NexT and Qwen-VL2 for custom JSON datasets

Hello,
I noticed that the dataset format (video finetuning) differs between the LLaVA-NexT and Qwen-VL2 models

llava-next
https://swift.readthedocs.io/en/latest/Multi-Modal/llava-video-best-practice.html#fine-tuning

qwen-vl2
https://swift.readthedocs.io/en/latest/Multi-Modal/qwen2-vl-best-practice.html#video-fine-tuning

Do  I still need to create a different dataset, e.g. <video> put the token directly in it?

It is not necessary; if  does not exist in the query, it will be added before the earliest history/query based on the number of videos.

It is not necessary; if <video> does not exist in the query, it will be added before the earliest history/query based on the number of videos.

Thanks for your response!
How about image finetuning, is that as same as video? [without  tag also be approved？]


Date Metadata in Folder Context View

In the folder context view the default context is created. This is "ctime" data or the creation date of the .md note.
I tried to insert the "created" metadata and "updated" metadata which includes these dates which are modifiable within the note.
The file date is difficult to modify whilst metadata dates are and it would be useful to include that.

Those dates are not modifiable because they're read from the filesystem and the default fields use the Lookup type which is non-editable. Is there something specific you're trying to achieve?

I would like to include my own metadata in the table view

You can add a field that has the same property name as the one in your notes (ctime for example) and it will directly sync. Use the date type if you want it to be editable

This will create a new metadata item in the note called Created when in all my notes the "created" metadata already exists. I would  like to access that metadata as a collum in the table view

That's not the expected behavior when you create a metadata property with the same name, it should be importing your created metadata. When you create the column, it doesn't sync in the value?

it does not. The "created" metadata which is a date in all my notes will not appear in the collum.  The error message si "duplicate" as it assumes that I want to create the "Created" collumn with capital C which is the filesystem created date and not the metadata created date.
The same happens with "updated" when I create it as a date it picks un the "Updated" capital U from the filesystem

Delete the original created column first or rename it. The capitalization is a CSS rule, it may be confusing and will be added as a setting to turn off.

Worked thanks


6502 ops 0x63 0x73 swapped in table

ROR opcodes (0x63, 0x73) are swapped up in the table
https://github.com/kpmiller/emulator101/blob/master/6502Disassembler/6502ops.csv#L130
0x63 should be ABS, 0x73 should be ABSX.
Other than that. Thank you very much!

I encountered this issue independently, and this issue has a typo (0x6e should be ABS, 0x7e should be ABSX)
Creator of this repo hasn't contributed on GitHub in over a year so it's not looking like #8 will be merged anytime soon.


Vulnerability in node-sass > sass-graph > yargs > yargs-parser

After npm install --save-dev node-sass sass-loader

"node-sass": "^4.14.0",

"sass-loader": "^8.0.2"

Get this report:
Low             Prototype Pollution
Package         yargs-parser
Patched in      >=13.1.2 <14.0.0 || >=15.0.1 <16.0.0 || >=18.1.2
Dependency of   node-sass [dev]
Path            node-sass > sass-graph > yargs > yargs-parser
More info       https://npmjs.com/advisories/1500

This is affecting me too...

I'm having the same issue too...

Also affected by this.

Fixed in v4.14.1


Roadmap

[ ] Update examples to use new interface.
[ ] Add docs.
[ ] Add MNIST example (#6).
[ ] Add intractable angular diffusion, and example.
[ ] Add Von Mises approx diffusion, and example.

I made a PR #6 for the MNIST example.

"Self-conditioning" feeds the predictions from the previous timestep to the model at the current timestep (https://arxiv.org/pdf/2208.04202.pdf). This can sometimes make a big practical difference. My intuitive understanding is that this gives the model a snapshot of where all the variables are heading to, and helps the model handle conditional dependencies between variables. This needs a modification during training (see eg. https://github.com/lucidrains/denoising-diffusion-pytorch/issues/94), which can be handled by the user, but it also needs a slightly different flow during the reverse diffusion, which we'll need to implement.

To achieve the self-conditioned sampling, we don't need to modify our code if we use a closure trick that looks like this:
function selfconditioned(x)
    x_0 = zero(x)
    function (x_t, t)
        x_0 = net(x_t, x_0, t)
        return x_0
    end
end

x = randn(10)
samplebackward(selfconditioned(x), process, timesteps, x)

We need to name our processes consistently. Since this is Diffusions.jl, I suggest:
OrnsteinUhlenbeckDiffusion
RotationDiffusion
WrappedBrownianDiffusion
UniformDiscreteDiffusion
IndependentDiscreteDiffusion
etc.


Script Editor Find in Files Dialog Feature Request

Feature Request - Find in Files
I'd like to be able to search all scripts in the project for a string. Here's a demo of the fantastic implementation from JetBrains.
https://www.youtube.com/watch?v=Y8kVJF1ho88&feature=youtu.be

Example Scenario
I change the name of some entity in my system and would like to update all references in all scripts accordingly.
In order to accomplish this I would:

Press a shortcut key to bring up a dialog.
Type the string that I wish to find (the needle). (Optionally, select to search in project or specific path)
See a list of all scripts containing that needle (preferably with preview of the actual relevant section)
Act upon the results by:

Clicking into a single script which is then loaded into the editor with the cursor position at the first instance of needle.
Choose to do a massive search/replace by filling a 'replace' field and clicking 'replace all'.

I implemented a Find in Files in master some time ago.

Thanks. In that case, I'll close the issue.


Added viewport

Added missing viewport in line 69

Thank you. I will put this live on the site this weekend!

Looks like I forgot to add viewport to the homepage 😃. Could you please add that too


Add an R script that downloads the SSA life tables

This downloads the relevant tables from the SSA used to produce the aging curve. You could use this to reproduce the analysis in 2018 or future years.

Thanks for your note. This is a cool addition! Since this repository is a record of the data and code that was used in our stories, we're going to keep in there only what we used to produce the story. Thanks!


kvm: fix issue that network rules for secondary IPs are not applied

Description

When I add a secondary IP to a nic on shared network in advanced zone with security groups, the network rules for new IP are not applied on KVM hypervisors.
It is because "--action -A" cannot be recognized in security_group.py after commit ac73e7e671ba107830f96b9fb534eb716956e405. changing to "--action=-A" will fix it.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

When add a ip (ip must to be specified see https://github.com/apache/cloudstack/pull/3635) to a nic, in advanced zone with security groups, the network rules for the ip should be added on hypervisor. However it does not work in 4.13/master.
in agent.log it gives the following error
root@node32:~# /usr/share/cloudstack-common/scripts/vm/network/security_group.py network_rules_vmSecondaryIp --vmname i-14-54-VM --nicsecips <IP_ADDRESS> --action -A
usage: security_group.py [-h] [--vmname VMNAME] [--vmip VMIP] [--vmip6 VMIP6]
                         [--vmid VMID] [--vmmac VMMAC] [--vif VIF] [--sig SIG]
                         [--seq SEQ] [--rules RULES] [--brname BRNAME]
                         [--localbrname LOCALBRNAME] [--dhcpSvr DHCPSVR]
                         [--hostIp HOSTIP] [--hostMacAddr HOSTMACADDR]
                         [--nicsecips NICSECIPS] [--action ACTION]
                         [--privnic PRIVNIC] [--isFirstNic] [--check]
                         command
security_group.py: error: argument --action: expected one argument

The rules (ipset, iptables, ebtables) are added after this fix.

@wido @GabrielBrascher could you please review and test it ?

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-343

Requires SG env that BO cannot kick by default, since manually tested, not kicking explicit test.


[CI] Migrate Tensorflow and Tensorflow lite in CI to  2.1.0

This shows the changes needed to CI and the testsuite to get CI to support TF/TFLite 1.15.2 and then on to TF / TFlite 2.1.0 . I have kept 1.15.2 in my git history as a stepping stone to see whether the problems I was hitting were specific to a specific version of Tensorflow but the end goal is to try and move to TF2.1.0 but since TF 2.1.0 works reliably I think we should just move up to it.
There were a couple of related issues found with Tensorflow 2.1.0 which are fixed with #5391 . However issues still remain.
The 3 tflite failures that I see in the run:
_test_forward_elemwise(partial(_test_add, fused_activation_function="RELU6"))
_test_forward_unary_elemwise(_test_tan)
test_forward_qnn_mobilenet_v3_net
There are 3 open issues with running Tensorflow tests with 2.1.0 which need investigation.
FAILED tests/python/frontend/tensorflow/test_forward.py::test_tensor_array_size
FAILED tests/python/frontend/tensorflow/test_forward.py::test_tensor_array_stack
FAILED tests/python/frontend/tensorflow/test_forward.py::test_tensor_array_unstack
Next steps here :

I would suggest merging this given additional support being added for operators > 1.13.x and migrate up our CI images to using TF2.1.0
File issues for each of the issues with help wanted tag. I'll try and tackle them in due course.

@tqchen @FrozenGene  @kevinthesun , please help review and merge.
regards
Ramana

Gentle ping .

This PR is merged. WIll update the thread when the CI binary get updated

NOTE: the mainline ci-gpu now takes in effect


Step 5 : Migrate Products

Step 5 : Migrate Products taking too long time. This step is running now for 5 Hours. I have 2105 products.
Is it normal??
Thanks

Hi afoysal,
Thank you working around with this tool.
Did you finished the step 5?
Also, please note that for technical question you should submit here:
https://www.ubertheme.com/questions/
Regards,
Mall.


Updating module 'app' to Java 8 syntax

@seventhmoon looks great, thank you for being so responsive and flexible!


High scores shown in pinup popper shown before launching the game.

While browsing for a game to play in pinup popper it would be nice to have something that shows the high scores of the game before launching the game. (This might be possible already and I'm missing it)

Yes, this is already part of pinup popper. I only provide the highscore as an asset for another Popper screen.
E.g. you can bind the Other2 screen in the controller section. If you configured the screen correctly, you can invoke the scores for the selected game before launching it.
See also: https://www.nailbuster.com/wikipinup/doku.php?id=other_settings
I close this ticket then.


UE5 - ProjectVersionFromGitBPLibrary.h - LNK2019 Fix - add PROJECTVERSIONFROMGIT_API to class declaration

Without macro 'PROJECTVERSIONFROMGIT_API' in ProjectVersionFromGitBPLibrary class declaration, VisualStudio will throw LNK2019 linker error if any static method from plugin was called inside of other C++ class. (https://github.com/mrbindraw/ProjectVersionFromGit/issues/2)
This PR fixes this issue for UE5
This macro should only be inside of UE5 plugin version. It will mess version for UE4

Hi!
Thanks for research and fix
Have a epic day!


Margins in Containers doesn't work

Godot version:

v3.0.2.stable.official
OS/device including version:

Ubuntu 16.04.3 LTS
Issue description:

When I change margin for any child node which is in some Container so after run
scene the changes doesn't show..:
margin-test-video.zip
And after restart Godot are margins reseted in inspector although in main.tscn are different values for margin..:

Steps to reproduce:
Open Minimal reproduction project -> change some margin of any label -> run scene
Minimal reproduction project:

TestMargin.zip

@legione Where in the container?? When I have more containers in one container as children it is same problem..
I want have to the result in game same as in the editor..:

@groud OK and When it will be implemented that editor prevent modifying the position or size??
This is very confusing for beginner users...
I hope that exists somewhere ticket for this.. or not??

Reduz is reworking the inspector, this is the first step before such improvements.


How can I click

url:http(s)://bbs.ngacn.cc/nuke.php?__lib=login&__act=login_ui
xxxxxxxx
script = '''
function main(splash)
     splash.images_enabled = false
     splash.resource_timeout = 100.0
     splash:autoload('http://code.jquery.com/jquery-2.1.3.min.js')
     assert(splash:go(splash.args.url))
     splash:wait(1)
     splash:runjs("$('#showcaptchad').click()")
     splash:wait(0.5)
     return splash:html()
end
'''

it never works.
but
document.getElementById("showcaptchad").click()
worked well.
1.Whether jQuery does not support click .
2.how can I click the link like
xxxxxxx62791
or
2
they don't contain id='xxx' or  name='xxx' .
I can't use 'getElementById()' or 'getElementsByName()'.
what should I do?

It's easy if you choose selenium.webdriver to implement a 'click'.
However, if you want to crawl a huge number of pages, it may not work any more.
I'm trying to crawl thousands of pages, and for each page I may have to 'click next' many times to get the next pages. I have tried three possible webdrivers (chrome, firefox and PhantomJS). All of them are too slow (30s+ to load one page).
That's why I'm considering if scrapy+splash can help me. I'm still digging...

Hey,
In Splash 2.1 there is splash:mouse_click method; check an example here: http://splash.readthedocs.io/en/latest/scripting-ref.html#splash-mouse-click

regarding JQuery - see http://stackoverflow.com/questions/1694595/can-i-call-jquery-click-to-follow-an-a-link-if-i-havent-bound-an-event-hand

Hi, kmike,
Sorry for the delay. Thank you for you quick solution. I will try to figure it out with your suggestions.
Thanks.


Basic Manual add question, convert URL get to bridge object

So I have a Broad link Rm 3 mini IR blaster that I am controling through the RM tasker plugin running on my Nvidia Shield TV. Using the RM tasker plugin I am now running an HTTP bridge on the shield that can receive commands and execute them on the IR blaster.
Through the API I have determined that if I enter as an example http://<IP_ADDRESS>:9876/execute?macroId=123 in a webrowser it successfully executes the command on Shield TV.
my question
How do I create a manual device for the bridge that will send a get or post command to a url.
here is my URL that works in my web browser
http://<IP_ADDRESS>:9876/execute?macroId=xxxxxxxxx-bef9-xxxxxxx-bca4-883baab6195f
Which fields do I need to fill in. I have tried several approaches but I'm not well versed in JSON or the basics of the API from the Readme.

Just use the UI and put that into your on/dim/off target item as an HTTP device

Awesome!  Works like a charm!!!


HotChocolate attempts to register return Types on fields ignored or rebound via type extension

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Issue Description
In the sample project attached there are two separate Dimension types, one is used by a Scenario type(Domain namespace) and the other by a Model Type(Shared namespace).
I want to keep the Domain.Dimension type hidden from the GraphQL schema so have added a TypeExtension class for Scenario which attempts to replace the Scenario.Dimensions member with a new resolver returning an enumerable of a new ScenarioDimension type.
When attempting to query the GraphQL server a SchemaException("The name Dimension was already registered by another type. (HotChocolate.Types.ObjectType<HotChocolateBugSample.API.Domain.Types.Dimension>)") is thrown.
What I would expect
As the original Dimensions field has now been replaced with the new resolver, I would have expected the schema builder to ignore the Domain.Dimension type, ending with the schema containing only the Shared.Dimension type from Model and the ScenarioDimension type, but it looks to register both types regardless.
I have also attempted to Ignore the type via the BindMember attribute on the TypeExtension class. Is there a way to Ignore the type on the schema, or at least rename it to resolve the type conflict?
Steps to reproduce

Download the attached sample project and launch it.
A SchemaException is immediately thrown as introspection begins.

Relevant log output
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      HotChocolate.SchemaException: For more details look at the `Errors` property.

      1. The name `Dimension` was already registered by another type. (HotChocolate.Types.ObjectType<HotChocolateBugSample.API.Domain.Types.Dimension>)

         at HotChocolate.Configuration.TypeRegistry.Register(NameString typeName, RegisteredType registeredType)
         at HotChocolate.Configuration.TypeInitializer.CompleteTypeName(RegisteredType registeredType)
         at HotChocolate.Configuration.TypeInitializer.ProcessTypes(TypeDependencyKind kind, Func`2 action)
         at HotChocolate.Configuration.TypeInitializer.CompleteNames()
         at HotChocolate.Configuration.TypeInitializer.Initialize()
         at HotChocolate.SchemaBuilder.Setup.InitializeTypes(SchemaBuilder builder, IDescriptorContext context, IReadOnlyList`1 types, LazySchema lazySchema)
         at HotChocolate.SchemaBuilder.Setup.Create(SchemaBuilder builder, LazySchema lazySchema, IDescriptorContext context)
         at HotChocolate.SchemaBuilder.Create(IDescriptorContext context)
         at HotChocolate.SchemaBuilder.HotChocolate.ISchemaBuilder.Create(IDescriptorContext context)
         at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaAsync(NameString schemaName, RequestExecutorSetup options, RequestExecutorOptions executorOptions, IServiceProvider serviceProvider, TypeModuleChangeMonitor typeModuleChangeMonitor, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaServicesAsync(NameString schemaName, RequestExecutorSetup options, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorNoLockAsync(NameString schemaName, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorAsync(NameString schemaName, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorProxy.GetRequestExecutorAsync(CancellationToken cancellationToken)
         at HotChocolate.AspNetCore.HttpPostMiddlewareBase.HandleRequestAsync(HttpContext context, AllowedContentType contentType)
         at HotChocolate.AspNetCore.HttpPostMiddlewareBase.InvokeAsync(HttpContext context)
         at Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.<>c__DisplayClass13_0.<<UseCancellation>b__1>d.MoveNext()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Additional Context?
HotChocolateBugSample.zip
Product
Hot Chocolate
Version
12.15.0

Thanks for reporting. This bug is known.  Its an issue in the type initialization. In your case you can work around it with a fluent type. I will fix this one but it might still be 2 or 3 month out before a fix will arrive.
Something like this will work in your case.
public class ScenarioType : ObjectType<Scenario>
{
    protected override void Configure(IObjectTypeDescriptor<Scenario> descriptor)
    {
        descriptor.Field(t => t.Dimensions).ResolveWith...
    }
}

This is now solved with the new ObjectTypeAttribute which introduces a new way for type extension in Hot Chocolate 14.


Magic Leap SDK update

The current version is 0.0.16. Without it newer SD users will get confusing simulator connection errors.

SDK 0.0.16 linkage is on npm


Use rmarkdown

Now {targets} supports rmarkdown in 0.6.0 or later. It would be a better option to integrate these into rmarkdown.

In this way, TarScript could be removed then.


App Configuration Use labels should follow sample code

In the quickstart guide they take the AppConfig from the settings that are build. That means you can load them from any configured config source.
In this page Use labels for per-environment configuration the AppConfig is loaded from the environment variable, which is more restrictive. Suggested change:
// Current code sample
        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
            .ConfigureWebHostDefaults(webBuilder =>
            webBuilder.ConfigureAppConfiguration((hostingContext, config) =>
            {
                var settings = config.Build();
                config.AddAzureAppConfiguration(options =>
                    options
                        .Connect(Environment.GetEnvironmentVariable("AppConfigConnectionString"))
                        // Load configuration values with no label
                        .Select(KeyFilter.Any, LabelFilter.Null)
                        // Override with any configuration values specific to current hosting env
                        .Select(KeyFilter.Any, hostingContext.HostingEnvironment.EnvironmentName)
                );
            })
            .UseStartup<Startup>());

// Suggested change
        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
            .ConfigureWebHostDefaults(webBuilder =>
            webBuilder.ConfigureAppConfiguration((hostingContext, config) =>
            {
                var settings = config.Build();
                var connection = settings.GetConnectionString("AppConfig"); // or settings.GetValue<string>("AppConfigConnectionString");
                config.AddAzureAppConfiguration(options =>
                    options
                        .Connect(connection)
                        // Load configuration values with no label
                        .Select(KeyFilter.Any, LabelFilter.Null)
                        // Override with any configuration values specific to current hosting env
                        .Select(KeyFilter.Any, hostingContext.HostingEnvironment.EnvironmentName)
                );
            })
            .UseStartup<Startup>());

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

ID: ae5af4ea-811d-94c7-e9fe-c5a64ad4ebd1
Version Independent ID: 31ed8aed-42d1-62d8-e5e4-466399647478
Content: Use per-environment configuration - Azure App Configuration
Content Source: articles/azure-app-configuration/howto-labels-aspnet-core.md
Service: azure-app-configuration
GitHub Login: @AlexandraKemperMS
Microsoft Alias: alkemper

@svrooij Thank you for the feedback.  I've assigned this to the document author for review.

@maud-lv looks like the code is already updated as suggested. This issue can be closed.

#please-close


🔖(ashley) bump to version 1.0.0

Fixed

limit the scope of the unread topics view to the current LTIContext

v1 !!

Yes, it was time to release this one! :partying_face:


chore: refactoring AWS code out of the core crate

This change was quite time-consuming and as such changes a lot of files to ensure that unit and integration tests are cleaned up properly.
What should be done in a follow up pull request is the creation of the deltalake-gcs and deltalake-azure crates to contain their objectstore registration code and integration tests. I consider that out of the scope of this change.
This is a prerequisite for my work on #1601

@rtyler - took the liberty to disable auto-merge since I think we should squash that one. The indivisula commits don't seem to be valuable on their own.
More importantly though, I started to do a proper review. Off the bat I was wondering if we need a dedicated test crate to place all the data, or if we can just keep that in the core crate, and then test integrations.
In any case i the way things are going, it makes sense to just move the example table to the root of the repository, rather then in a crate. Eventually we would likely add or even replace with the DAT tables.


Please add INR(₹) to supported currency list

Thank You for the app!
I really liked your app with its minimal looks and it fits my needs perfectly.
However Indian Rupee is not in the supported currency list which makes it a bit difficult to use it as my main money manager. So it would be great if you can add that. 😃

Please dev add ₹

Hey guys, this project uses numbro internally...
If you can add the currency on numbro that would be better.
https://github.com/BenjaminVanRyseghem/numbro/tree/develop/languages
but i can also add the language config within the project if you send me config. here's a reference for the config json.
{
  languageTag: 'fil-PH',
  delimiters: {
    thousands: ',',
    decimal: '.',
  },
  abbreviations: {
    thousand: 'k',
    million: 'm',
    billion: 'b',
    trillion: 't',
  },
  ordinal: (number) => {
    let b = number % 10;
    // eslint-disable-next-line no-bitwise
    return ~~((number % 100) / 10) === 1
      ? 'th'
      : b === 1
      ? 'st'
      : b === 2
      ? 'nd'
      : b === 3
      ? 'rd'
      : 'th';
  },
  currency: {
    position: 'prefix',
    symbol: '₱',
    code: 'PHP',
  },
  currencyFormat: {
    thousandSeparated: true,
    totalLength: 4,
    spaceSeparated: true,
    spaceSeparatedCurrency: true,
    average: true,
  },
  formats: {
    fourDigits: {
      totalLength: 4,
      spaceSeparated: true,
      average: true,
    },
    fullWithTwoDecimals: {
      thousandSeparated: true,
      mantissa: 2,
    },
    fullWithTwoDecimalsNoCurrency: {
      mantissa: 2,
      thousandSeparated: true,
    },
    fullWithNoDecimals: {
      output: 'currency',
      thousandSeparated: true,
      mantissa: 0,
    },
  },
}

+1 👍 for indian currency

There seems to be a pull request with config in numbro for the Indian rupee. https://github.com/BenjaminVanRyseghem/numbro/pull/650

Looks like it would be merged to Numbro soon, then I can just simply update the numbro package.
if it takes a week or so for it to get merged, I'll manually copy the currency data so we can have it on our end.

Looks like it would be merged to Numbro soon, then I can just simply update the numbro package.
if it takes a week or so for it to get merged, I'll manually copy the currency data so we can have it on our end.

It would be better to wait for numbro to merge. There seems to be some internal changes to support the Indian Rupee number system.

Yes. I have made some internal changes... I feel it's better to wait for the merge of pull request.

any updates on this?

Can a temporary fix for this be done i really like this app so please add a temporary fix until the numbro has added the en-in

@jerameel Any update on this? Would really appreciate if this could be included in the app :)
Also, as per, https://github.com/BenjaminVanRyseghem/numbro/pull/650, it appears that numbro has added INR (Indian Rupee).

the PR is still open, that one you linked is the old PR @SubhamV
This is the latest one
https://github.com/BenjaminVanRyseghem/numbro/pull/655
@theY2Kbug how can i use your branch instead? as it seems numbro is not actively maintained right now.

Any update on this ?

@jerameel @IsotoxalDev @jerryn70
Let's wait.  Let's see what he says. If seen-zones as usual, I'll pull this code and add it here but it needs to maintained actively.

@jerameel @IsotoxalDev @jerryn70
Let's wait.  Let's see what he says. If he seen-zones as usual, I'll pull this code and add it here but it needs to maintained actively.

Thank you for your contribution. I saw his replies and it does seem like he is not at all interested. But I also do wonder how many of us would have personal finance numbers in "lakhs & crores" 😂

@bagajohny
It doesn't matter how many of us use INR or the denomination style. Do you want it or not?

@bagajohny
It doesn't matter how many of us use INR or the denomination style. Do you want it or not?

Yes, I want it. I was just saying if its too much hassle to add "lakhs & crores" then you can just keep the current mil & bil as it is. Just adding INR symbol will be enough. I was trying to make a joke about personal finance being in crores, I mean why would anyone who spends that much would be using this app?

Any update on this?


fix: typo in feature.md (sovled > solved)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Gesture navigation

Explore and create an API for navigating with gestures

Also please note Android 13 predictive back gesture. Support for it would be awesome!
https://developer.android.com/guide/navigation/predictive-back-gesture

@amal I think it's already in place https://github.com/bumble-tech/appyx/pull/32

@KovalevAndrey it's awesome, thank you!

I'm curious, what's the reason for promoting this instead of encouraging people to use, say, horizontal pager from Accompanist?

@saket having a consistent API is one of the reasons. You could easy change from a full screen implementation to horizontal pager without a potentially substantial refactor.

@saket NavModel at any given level of the tree coordinates navigation of the subtree. It allows us to keep our codebase organised in a tree structure, and use to use parent-child api, etc. Implementing it with, say, horizontal pager breaks this tree structure.

Closing as done in the scope of 2.x


Feature request:  Use response files for rustc build/doc.

(EDIT: rustc response files are not yet stabilized, but it looks like they will be in 1.41?)
Describe the problem you are trying to solve
Some crates have hundreds upon hundreds - if not thousands - of features to manage compile times.  If writing wildcard features that include a significant subset of these features, it's easy to exceed command line length limits on Windows:
error: could not compile `jni-android-sys`.

Caused by:
  could not execute process `rustc --edition=2018 --crate-name ...
  ...thousands of --cfg "feature=\"x-y-z\"" flags...
  ... (never executed)

Caused by:
  The filename or extension is too long. (os error 206)

As an awkward workaround, you can have a feature simply not specify the features it depends on, and instead do them all in code.  E.g. instead of:
#[cfg(feature = "java-lang-Object")]

I've been generating:
#[cfg(any(feature = "all", feature = "java", feature = "java-lang", feature = "java-lang-Object"))]

But this has to be done every time you want to check the existence of java::lang::Object, and this isn't even the worst version.
Describe the solution you'd like
rustc already supports @path arguments / response files... so we could just leverage those.  The main annoyances are refactoring and figuring out what commands need to use response files ("all rustc invokes"?)
Notes
I'm taking a quick stab at seeing how easy this is to implement... by which I mean all the unit tests are failing and it's probably my fault...

This sounds like a duplicate of #1241 which I think was resolved in #10546.
@weihanglo does it look like we can close this?

I believe it was resolved in #10546. Closing.


Added Unifi Identity Desktop <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Initial release of the Identity for Windows desktop app. This is the new 'free tier' Identity solution, not the enterprise solution (UbiquitiInc.UI).
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

(Automated response - build 516.)

Is this a bug? The validation passed.

Is this a bug? The validation passed.

          > @walderston I'm not able to find the download link in the publisher page to confirm the URI. Could you provide a link to the downloads page where you got this URI from? I did confirm that ubnt.com forwards to ui.com, but I'd want to see something pointing from ui.com to ubnt.com to be completely sure.

@lechacon
You have to be signed into a UI account to be shown the download links for their new application 'UI Desktop'.
Doing a registration lookup on ubnt.com shows it is owned by Ubiquiti Networks the same as UI.com - https://lookup.icann.org/lookup?q=ubnt.com&t=a (registration last updated in 2018 and valid to 2026).
Also looking at an archive from 2018 shows the main website on ubnt.com. In 2018, they started to move things over to UI.com however have not moved over all their downloads. - such as https://web.archive.org/web/20180223141805/https://www.ubnt.com/
Also looking at the community support site shows many threads about both the move from ubnt.com to ui.com such as XX  and general support issues around using the ubnt.com page (https://community.ui.com/questions/unifi-crededentials-not-working-at-ui-com-but-ubnt-com-seems-OK/0c4eac0c-10f9-4147-8d3e-a18d6e3b6b92)
If this isn't good enough, I'll close this PR.
Originally posted by @walderston in https://github.com/microsoft/winget-pkgs/issues/57788#issuecomment-1099969928
Just found this on the UI Desktop client pull request. Can someone add a validation waiver to verify? Same issue as the UI Desktop client, this is the new 'free' tier Identity client, whereas the UI Desktop client is intended for the Enterprise variant.

Hi @bearmannl,
Could you add an InstallerUrl?
(Automated response - build 528.)

Hi @bearmannl,
Could you add an InstallerUrl?
(Automated response - build 528.)

Sure, here you go:
https://fw-download.ubnt.com/data/uid-identity-standard-desktop-app/d41c-windows-0.1.10-44709fd3-e269-4184-af77-77292f4aa332.exe

Hi @bearmannl,
Could you add an InstallerUrl?
(Automated response - build 528.)

Sure, here you go: https://fw-download.ubnt.com/data/uid-identity-standard-desktop-app/d41c-windows-0.1.10-44709fd3-e269-4184-af77-77292f4aa332.exe

Thanks - I had a typo in my automated response. Could you provide the PackageUrl?
Additionally, I couldn't find executables for this package. How should I be interacting with it?

Hmmm, I thought the silent switch installs the application, but appears I already had it running during testing and it doesn't actually install.
Let me close and figure this out later.


Please invite me to the GitHub Community Organization

Name
Arafat O. Olayiwola
Discord Username (if applicable)
No response
Additional Context
https://www.linkedin.com/in/arafat-o-olayiwola-b52087191/
https://www.section.io/engineering-education/authors/arafat-olayiwola/

Welcome on back @Horlawhumy-dev 🎉🥳


Decerotor for /admin/

So let's say I have a decorator called @admin_required and instead of doing all of Flask-Login integration I just want to put the decorator on the /admin/ view, is that possible?

Sure, admin views are ordinary flask views. You can use decorators if you want to.

@mrjoes May I know which file exactly should I navigate to so I could add the decorator on that has the /admin/ view on it?

You change base classes of Flask-Admin, like IndexView or base model views.
https://github.com/flask-admin/flask-admin/blob/master/flask_admin/base.py#L391

@mrjoes Done, thank you!


feat: Implement readCallers cheatcode for era

What :computer:

Add readCallers cheatcode implementation & tests

Evidence :camera:

superseded by #202


Fix to work with high side v2 registry

Silo is currently unable to scan the high side v2 registry.

Closed by https://github.com/ngageoint/seed-common/pull/16


Implement CCPPized check_energy_chng and check_energy_fix

Fixes #114

Companion PR in CAM: https://github.com/ESCOMP/CAM/pull/1180
Companion PR in CAM-SIMA: https://github.com/ESCOMP/CAM-SIMA/pull/316

This PR fixes the following NCAR/atmospheric_physics Github issues: #114

Implements check_energy_chng. The routine computes total energies using physics and dycore formula and takes in boundary fluxes of vapor, liquid+ice, ice, sensible heat, and writes to log significant energy conservation errors.
In order to take in the scheme name and fluxes from the last calling physics scheme (usually zero) a check_energy_zero_fluxes has to be ran before the scheme, then the physics scheme to be checked, then check_energy_chng.

Implements check_energy_fix. The routine computes the heating rate required for global mean total energy conservation which is later applied by apply_heating_rate.
Supporting routines include the global mean calculator for total energy (check_energy_gmean) - stored in separate folder to prevent CAM from building it.
The global means are very useful for diagnosing model state (as the computed energy numbers include all model state incl. constituents) through a simple one-line printout. check_energy_gmean_diagnostics implements this.
At the end of the timestep check_energy_save_teout has to be ran in order to save total energies at the end of the timestep for use in the next timestep.

Diagnostics of intermediate quantities used in check_energy_diagnostics.

List all existing files that have been added (A), modified (M), or deleted (D),
and describe the changes:
- Docs:
M       doc/ChangeLog

- check_energy_chng and supporting routines:
A       schemes/check_energy/check_energy_chng.F90
A       schemes/check_energy/check_energy_chng.meta
A       schemes/check_energy/check_energy_chng_namelist.xml
A       schemes/check_energy/check_energy_scaling.F90
A       schemes/check_energy/check_energy_scaling.meta
A       schemes/check_energy/check_energy_zero_fluxes.F90
A       schemes/check_energy/check_energy_zero_fluxes.meta

- check_energy_fix and supporting routines:
A       schemes/check_energy/check_energy_fix.F90
A       schemes/check_energy/check_energy_fix.meta
A       schemes/check_energy/check_energy_gmean/check_energy_gmean.F90
A       schemes/check_energy/check_energy_gmean/check_energy_gmean.meta
A       schemes/check_energy/check_energy_save_teout.F90
A       schemes/check_energy/check_energy_save_teout.meta

- check_energy related diagnostics:
A       schemes/sima_diagnostics/check_energy_diagnostics.F90
A       schemes/sima_diagnostics/check_energy_diagnostics.meta

- check_energy_gmean "nstep, te" atm.log output:
A       schemes/sima_diagnostics/check_energy_gmean_diagnostics.F90
A       schemes/sima_diagnostics/check_energy_gmean_diagnostics.meta

- test SDF including all functionality:
A       test/test_suites/suite_check_energy.xml

List and Describe any test failures: N/A
Summarize any changes to answers: none

Hi @nusbaume, I've added adiabatic scheme and tested with --analytic-ic and snapshots, and added dycore_energy_consistency_adjust CCPP-ized scheme. Ready for review again now. Thank you!


[Event Request] codeunit 6620 "Copy Document Mgt."- OnBeforeUpdatePurchWhenCopyFromPurchHeader

Hi, would it be possible to get an event OnBeforeUpdatePurchWhenCopyFromPurchHeader codeunit 6620 "Copy Document Mgt.", like this :
    procedure UpdatePurchHeaderWhenCopyFromPurchHeader(var PurchaseHeader: Record "Purchase Header"; OriginalPurchaseHeader: Record "Purchase Header"; FromDocType: Enum "Purchase Document Type From")
    var
        IsHandled: Boolean;
    begin
        IsHandled:= false;
        OnBeforeUpdatePurchWhenCopyFromPurchHeader(IsHandled);
        if IsHandled then
            exit;
        ClearPurchLastNoSFields(PurchaseHeader);
        with PurchaseHeader do begin

    [IntegrationEvent(false, false)]
    local procedure OnBeforeUpdatePurchWhenCopyFromPurchHeader(var IsHandled: Boolean)
    begin
    end;

Thanks!

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Adding testing libraries

Adding Testing library like Jest and react-testing-library

As the project is in rapid development, I think it is best to first scaffold the test framework and workflow, as it is not realistic to complete all missing test cases before merging to the development branch.
After that, we could start adding the test cases for the existing code. At the mean time, the new code should comes with test cases.

Added. Done


TypeError in Lightning sensor support

ecowitt2mqtt version
2022.04.0
Describe the bug
The data coming into the lightning sensor needs to be converted from a string to a float before it is passed to the calculate_distance function. This should be fixable by changing the val to float(val) on this line: https://github.com/bachya/ecowitt2mqtt/blob/dev/ecowitt2mqtt/data.py?rgh-link-date=2022-04-19T09%3A38%3A53Z#L58
To Reproduce
Steps to reproduce the behavior:

Install version 2022.04.0
Send some example lighting data, see this comment: https://github.com/bachya/ecowitt2mqtt/issues/105#issue-1111203195

Expected behavior
The data be processed without error
Additional context
Reported by a user to the downstream home assistant addon: https://github.com/smarthall/hassio-addons/pull/9

@smarthall FYI, just cut 2022.04.1 – the Docker image should be built in the next 5-10 minutes (https://github.com/bachya/ecowitt2mqtt/actions/runs/2191206025).


Added projects tab

Added project tab.
If users click the tab, they will see your 4 projects, if they tap it, it will take them to the github page of that project, and if they hover, will show the github url with the https://.
Final edits deploy: https://projects-tab.netlify.app

@nairvarun Let me know if I should link this project too in that tab.

I didn't inculde dots or eva, because I think their just your self-note repos and not projects as of such. Let me know if I should inculde them.

oh sick! i'll merge it for now but i dont think i'll make this the main look. as for this repo, this was mostly just to test a few things so i probably wont update anything over here.

I didn't inculde dots or eva, because I think their just your self-note repos and not projects as of such. Let me know if I should inculde them.

yeah i wouldn't include those

oh sick! i'll merge it for now but i dont think i'll make this the main look. as for this repo, this was mostly just to test a few things so i probably wont update anything over here.

Ok cool! Depending on how hard the code is for your new portfolio, I'll see if I'll be able to help you.

I didn't inculde dots or eva, because I think their just your self-note repos and not projects as of such. Let me know if I should inculde them.

yeah i wouldn't include those

Ok cool! I thought so!

@nairvarun Just a heads up, I also made a projects.css, but you can merge it into the main css file, I can do that too if you want.

nah it fine. dont worry about updating this repo. if i ever make any changes it's gonna be on the gitlab repo

Ok cool! Depending on how hard the code is for your new portfolio, I'll see if I'll be able to help you.

thanks man. i really appreciate it.
i dont think anything i code is gonna be too hard for you :)


Skip install for particular dep

I am looking for this kind of feature with NPM/verdaccio:
https://stackoverflow.com/questions/51888198/skip-install-for-particular-dep
Is there a way to run npm install but skip a particular dependency?
Something like:
npm install --skip=lodash --skip=rxjs

In my case, I have some developer tooling and some dependencies may not actually be in the NPM registry yet, so I want to skip those.

@ORESoftware if the clients do not support that. I really doubt verdaccio can deal with that.
https://docs.npmjs.com/cli/install
https://yarnpkg.com/en/docs/cli/add
Anway, the general policy of all those clients is ALL or NOTHING, whether one dep is missing, the whole process fails.

Yeah the problem I have, is for development, sometimes I want to run an npm install for a package that hasn't been published to the NPM registry yet...after the install command finishes, then I link the local dependency with npm link, but npm install will always fail as it stands if there is a missing dep (something isn't in the registry).

Then if the package is not published anywhere, I only recommend do not include it in your dependencies or use a git reference instead. I think you should double check your workflow there.
I'll close this due is not related with verdaccio.

Thanks, I created an idea/feature request in the NPM community forum:
https://npm.community/t/allow-npm-install-to-work-with-missing-dependency/1526
I tagged this issue on there.


onCancel never gets called for iOS

The callback onCancel never gets called. I have followed the instruction on README for iOS, everything was working fine except the onCancel never gets called. I looked into the source code and I think onCancel is passed down to /react-native-file-selector/ios/RNFileSelector.m and it seem like that onCancel is never used. But I am not 100% sure since I have knowledge for swift or objective C.

There is no status change for this issue. Is the issue fixed by any chance? I too am facing the same issue


Transcoding percentage stops at 64%/65% when clipping a video.

Dumping out the percentage transcoded of a video being clipped (Only take the first 30% of the video length). Transcoding goes up to 64% or 65%. Then it stops.
The video is correctly clipped in the output folder, but I would like to know the moment it gets done, to add another operation to the completed video.
Any ideas why this isn't working?
        $format->on('progress', function ($video, $format, $percentage) use ($ffmpegservice, $videoExportPath, $temporaryVideoPath) {
            dump("$percentage % transcoded");
            if($percentage == 100) {
                dump("$percentage % transcoded");
                $ffmpegservice->concatWithOutro($videoExportPath, $temporaryVideoPath);

            }
        });

Edit:
After some tests it would appear that this bug has something to do directly with the clipped video. If I take 100% of the video, then the percentage transcoded goes up to 100%. If I take only 30% of the video, then the percentage transcoded goes up tot 64-65%.
http://stackoverflow.com/questions/35549912/percentage-transcoded-never-goes-past-65-php-ffmpeg

I have found a temporary solution, which is to calculate roughly the percentage "limit". It has it's downsides and occasionally throws a "unable to probe" error.

@Grimbode Do you have code examples? Is it possible you can fix it in PHP-FFMpeg?

Here is my code dump. As you can see I do a little calculation to find the "percent limit"
$max = $duration * (0.3); // 0.3 signifies I only want the first 30% of the video
$temp = ($max * 100 / $duration);
$percentLimit = (95 - ceil($temp)); //I don't even know how this works but it works.

$format->on('progress', function ($video, $format, $percentage) use ($ffmpegservice, $videoExportPath, $videoExportPathFinal, $outro_path, $percentLimit, $array_info) {
                //If we reach the limit, we know we can now concatenate the new temporarly clipped video with the temporary resized outdo
                if ($percentage == $percentLimit) {
                    $array_info[] = "$percentage == $percentLimit, concatenating now...";
                    $array_info[] = $ffmpegservice->concatWithOutro($videoExportPath, $videoExportPathFinal, $outro_path);

                }
            });

Sorry for the late response.

Yh just came across the same thing. The $percentage emitted by PHP-FFMpeg is in relation to the duration of the final clipped video. For me my solution was similar:
`//$clipDuration is how long the final video clip is. $mainDuration is the total duration of the main video you're clipping from. Basically we calculate the fraction the clipped video is in relation to the whole video and convert to a percentage (multiply by 100)
$clipPercentage = floor(($clipDuration / $mainDuration) * 100);
$format->on('progress', function($video, $format, $progress) use ($clipPercentage) {
// percentage emitted by $progress is in relation to the clipped video. So actual percentage
// of the progress of the clipped video is found by calculating the fraction of
// $progress in relation to the total $clipPercentage and converting to percentage again
$percentage = ($progress / $clipPercentage) * 100;
        event(new TranscodeProgress($percentage));

        if ($percentage >= 100)
            exec("forever stop ".base_path('socket.js'));
    });`

You can ignore the code after 'event(new Transcode...)'. I'm using Laravel in my project and am firing an event (Redis backend) to catch in a node server and send to front end via socket.io. That way I can give user real time feedback on transcode progress


Echo Sever does't work on the applications with chip-shell

Problem
The application can't correctly respond to the ping command form chip-shell.
Description
1.Build the Linux examples in all-clusters-app and lighting-app using
gn gen out/debug --args='chip_bypass_rendezvous=true chip_app_use_echo=true'
ninja -C out/debug

2.Start the Linux application and send the ping command with chip-shell, the chip-shell receives no response, and the application log is
CHIP:IN: Secure transport received message, but failed to decode it, discarding

@gjc13 the real example app does not use TestSecret, you can not ping them directly from chip-shell without pairing first.
I tried pairing from chip-tool, ./chip-tool pairing bypass <IP_ADDRESS> 11097. but it seems not working. We can either to add the ping command to chip-tool or pairing command to chip-shell


Incorrect base64 encoding for at_hash

Hey there, the scheme encoding for at_hash supposed to be Base64 URL rather than Base64.
In SingPass OIDC interface specification version 1.5, it states that the payload is Base64 URL encoded.
In file assertion.js
const hashAccessToken = (accessToken) => {
  const fullHash = crypto.createHash('sha256')
  fullHash.update(accessToken, 'utf8')
  const fullDigest = fullHash.digest()
  return fullDigest.slice(0, fullDigest.length / 2).toString('base64')
}

Thanks for pointing this out! if you are to send in a pull request with the corrections we will be happy to have it reviewed and merged.

Thanks for pointing this out! if you are to send in a pull request with the corrections we will be happy to have it reviewed and merged.

generally speaking however, base64 strings are URL-safe, and URL encoding them will mostly result in the same string. If you are able to produce a test case where this is failing, I'll be happy to investigate further.

generally speaking however, base64 strings are URL-safe, and URL encoding them will mostly result in the same string. If you are able to produce a test case where this is failing, I'll be happy to investigate further.


community-operators kogito-operator (1.8.0)

Signed-off-by: Vaibhav Jain<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@mvalarh
PR check is failing with below error. It doesn't seems to be related my PR changes.
error: unable to connect to image repository registry.ci.openshift.org/ocp/release@sha256:4543d903ba4d1d066b931ef31e6bb117f5b5b1b492cb974c3bf7665506ad7c9b: Get "https://registry.ci.openshift.org/v2/": connection error: PROTOCOL_ERROR

retest

/retest

/merge possible

Closing due to https://github.com/operator-framework/community-operators/issues/4159. Thanks for understanding.


Adding detail RE default value of collapse key.

Together with a doc CL, this addresses internal bug 189890961.
Thanks!

@egilmorez this is failing a style check (see CI logs).
/home/runner/work/firebase-admin-java/firebase-admin-java/src/main/java/com/google/firebase/messaging/AndroidConfig.java:118: error: Empty line should be followed by <p> tag on the next line.

Can you please address that?


Fix tox.ini config to mimic .travis.yml

Without mock installed it was ImportError: No module named mock for py27

Actually, since I'm not using tox at all, I'd rather remove the file altogether.
Thanks for spotting the issue though :)


[BUG]: Apple Certificate Fails to Install on macos-15

New issue checklist

[x] I searched for existing GitHub issues
[x] I read pipeline troubleshooting guide
[x] I checked how to collect logs

Task name
InstallAppleCertificate@2
Task version
2
Issue Description
This is related to https://github.com/microsoft/azure-pipelines-tasks/issues/19383, but I'm opening another issue for Azure pipeline task InstallAppleCertificate:

macos-15.
Xcode 16

I receive the following error in the pipeline task (there's a 50% chance this issue appears on certain cases):
/usr/local/bin/openssl pkcs12 -in /Users/runner/work/_temp/<redacted>.p12 -nokeys -passin pass:*** | /usr/local/bin/openssl x509 -sha1 -noout -fingerprint -subject -dates -nameopt utf8,sep_semi_plus_space
Error outputting keys and certificates
<redacted>:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:355:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
Could not find certificate from <stdin>
##[warning]Error parsing certificate. This might be caused by an unsupported algorithm. If you're using old certificate with a new OpenSSL version try to set -legacy flag in opensslPkcsArgs input.
##[error]Error: /usr/local/bin/openssl failed with return code: 1
Finishing: InstallAppleCertificate

Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[x] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
macos-15
Relevant log output
/usr/local/bin/openssl pkcs12 -in /Users/runner/work/_temp/<redacted>.p12 -nokeys -passin pass:*** | /usr/local/bin/openssl x509 -sha1 -noout -fingerprint -subject -dates -nameopt utf8,sep_semi_plus_space
Error outputting keys and certificates
<redacted>:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:355:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
Could not find certificate from <stdin>
##[warning]Error parsing certificate. This might be caused by an unsupported algorithm. If you're using old certificate with a new OpenSSL version try to set -legacy flag in opensslPkcsArgs input.
##[error]Error: /usr/local/bin/openssl failed with return code: 1
Finishing: InstallAppleCertificate

Full task logs with system.debug enabled
No response
Repro steps

We are experiencing the exact same issue after being forced to move from macOS-14 to macOS-15 due to Xcode 16 being removed from the macOS-14 image. Considered critical to get this fixed in macOS-15 as we are unable to build and distribute iOS apps at the moment.

Hi @shatodj, @pkennedy-nz thanks for bringing this issue up, I believe it is caused by the recent removal of openssl 1.1 from macos images. Looks like this change is going to be reverted soon: https://github.com/actions/runner-images/issues/10817#issuecomment-2465799411
Right now, it looks like agents with image versions with both openssl 1.1 and 3.0 may be assigned to execute tasks, I think it can be an explanation of why the issue does not reproduce consistently.
As a workaround for now, I suggest you try the approach described here: https://github.com/actions/runner-images/issues/10703#issuecomment-2472826230


validation retry policy

First of all, great project, I love it.
Would be cool if it would support validation retry of a given link, through some configuration file.
I know that some of my links fail randomly and would like to protect from having error reports in such case, instead I would like to configure that for a given link validation retry should be perform, 3 or 5 or whatever times, with 1, 2 or 5 sec delay between retires ;)
Cheers
Lukasz

implemented


Fixed JSON parsing with eval

Please never use eval to parse JSON data.
JSON is not JavaScript, but a subset of the object literal notation from there.
I know using eval works, but better solutions exist, and browsers have supported them for ages.

Thanks.


Fix wordings

This PR uses the new translation system, thus bumping minimum compatibility to 1.7

I compared your PR to my PR. The only diff is https://github.com/PrestaShop/gsitemap/pull/53/commits/bd49fda1fff69891e2ab28083e19e433cd1f777d
If you merge my PR, you can close this. Then there will be no conflicts :)

@Mreker @eternoendless is currently busy, he will have a check on monday :)

This can be closed :-)

Thanks @Mreker


Mixed chapter Polish translation

Hey! Here it is another chunk of Polish translation.
Have a nice day

Awesome progress! Thanks again for continuing to crank on all of this 🎉


Handle optional route URL params

Is your feature request related to a problem? Please describe.
In Sapper, I wanted to have two index pages like so:
rfrndm.com/[topic_id]
rfrndm.com

And then point both files to a single route component: /routes/[optional_topic_id].svelte
Wherein I could then just say if topic_id == null and then handle things accordingly.

Describe the solution you'd like
I would like to define /routes/[topic_id].svelte
And have it match requests to /domain.com/foobar and /domain.com both, so long as a specific /routes/foobar.svelte isn't defined.
Describe alternatives you've considered
Creating two route components works ok, but its not DRY.
How important is this feature to you?
It's not to bad to work around with two landing pages, but it's annoying and might become problematic as the app grows larger.
Additional context
Not sure if this is still a thing in SvelteKit, but I image it might be.

You can achieve this with rest parameters

OK, sounds like with SvelteKit, unlike Sapper, if I do routes/[topic_id].svelte
It will match both /domain.com/foobar and /domain.com
I'll give it a whirl when we build up the gumption to migrate.

BTW, don't forget to sleep.


Plan confirmation should be linked to user account instead of client_id

This saves us in the situation where we relink a user to another client number and/or location code, otherwise they get stuck wondering why they can't sign (no submit button will appear).

I think we can save staff a lot of grief if we tackle this next sprint @LisaMoore1 @ZoeSimon  and also add logic to the import job to make sure that if the person doesn't change (but client number does) then not require a new signature.

I've got a bit of time to look at this I'll at least see if i can flush out what needs to be done this afternoon.

Things we want to factor in when reworking this, anyone else feel free to pipe in with suggestions here:

We want to link a user_id to all client_id's matching the client number.  Don't need to rework user_client_link to do that, but need to address the front end code and perhaps the endpoint to handle that.
We want the import job to keep that in synch.  We don't want dispositions to unlink people.
We don't want a disposition* to wipe a signature, unless it's a primary becoming a secondary.
We want to factor in that later we should be notifying staff and agreement holders of what they need to sign and why.  It might be we need a whole new table or perhaps column that keeps a history of signatures for each plan, and a reason for each.

A disposition is a change of client_id : agreement_id, or in MyRange the client_agreement records.  Just because someone's location_code is changing, doesn't necessarily mean they are a different person and we need to handle that.  Conversely if it is a new person we need to require a new signature.

Looks pretty good. “Renewal” isn’t really a thing. Here is life of RUP:

initial RUP created/signed
amendments created/signed
RUP is extended (marked as extended and end date extended by up to 5 years) — DM signature only but AH must “request” it (no set “extension request” process in place)
RUP doesn’t get completed/signed in time so “exemption” is offered (exemption is in the form of either “follow the previous RUP until X date or Y condition met” OR “follow this incomplete (most often consultation incomplete) until X date or Y condition met”)
RUP expires so a new RUP is created/signed (if amendments were kept up to date the “new” RUP is just a newly signed copy of the most recent version)

Extension is most like an amendment changing end date but must be identified as extension and a RUP can only be extended once — both AH and DM signature required
Exemption is most like an “interim” plan where DM agrees to an old/incomplete RUP for a limit period of time — no defined process re. signing (DM for sure, possibly AH...often AH has signed but there is something outstanding preventing DM signature)

Side note: any decision made by DM needs option for them to provide conditions
Policy on Extension/Exemption
https://app.zenhub.com/files/120951690/fd3b104a-e9a5-4731-bd69-65867ec3c145/download

Note for self - look at expanding plan confirmation object to include bceid + client num + location code so all the meta data is visible under versions list

and thanks @LisaMoore1 !

  We made some steps forward in the last change to client linking and I think also a step backward, and this part of the app (along with signatures) needs to be bullet proof.
I'm going to start with this ticket to look at linking and plan signatures as a whole first, rather than independently (as that has led to some issues).  I'll then break this down once I have the solution ironed out.
We made good progress on cypress tests but getting them to work on my interim workstation is a losing battle and probably not where my effort needs to be given I have another workstation on the way with its own set up work.

I think part of the winning strategy will be to keep a log of signature records and associate them to particular snapshots, and when we move to a new 'need to act/sign eventually' status we create a fresh batch for each RUP.  I think a lot of the client linking pain can be resolved by changing the page to link all client_id's for a given client number, and amend the sync job to 'keep that user id subscribed' to new client_ids and prune off extras as it does now, however I think after some digging I think what the problem is we have been wiping signatures when a disposition happens because we aren't looking at the plan's status in the sync job (or really the trigger).

The 'new' plan confirmation table will look like
id plan_id user_id plan_version confirmed date and maybe reason.
The client linking table we can keep the same, but change either the endpoint or the UI to handle linking the client ID's as a group.
The sync job and the trigger that cleans up old client agreements will need to look at  the plans status.
The sync job and the trigger that cleans up old client agreements will need to update a given users client links should a new one be created, this should stop staff from needing to go and relink.

The big operational problem with this one is caused by how FTA and Myra handle dispositions which I fixed in a PR.  I think we'll still want to move to user_id  instead of client ID in this table but I think the fix just mentioned is worth getting out prior to that.

Let's test this against a prod backup and run the import against it and see if it stops signatures from getting wiped.  Keep the issue open for now anyway as there's other work to be done on it.

I'm going to move this out of QA because we haven't actually implemented the user_account link yet, on either the backend or frontend.

All good,  I'll see if I can find time to test the interim solution so we can push it out this week, ideally i run it against a prod backup.

Just because someone's location_code is changing, doesn't necessarily mean they are a different person and we need to handle that. Conversely if it is a new person we need to require a new signature.

I think this is the trickiest thing to handle. How do we determine if a different location_code is a different person?

@calebissharp I think we identify if it is a different person by if the staff person links that location code to a different BCeID (hence my concern about what looked like an automatic link one user to all locations in a different #843

@calebissharp @micheal-w-wells. Also note that when entries in FTA/CLIENT are correct, for individuals:

-00 location is the individual alone
-01-anything else is the individual as a joint venture partner with someone else
in both of these cases they are the same individual (but they could have different agents)

For businesses

-00 location is the original business entry

01-anything else is the business in either a JV or a separate “office” of same business

they may have different managers (i.e. person who signs) for the different locations

The bulk of our agreements are held by individuals in JV relationships — over the 80:20 individuals:businesses ratio I think.  Not sure if that helps any. Let me now if we need a conversation on this.

How are we able to determine the type of relationship? Is that actually explicitly recorded, or just something that people know?


throw on missing function

Closing this PR in favor of variant:
https://github.com/firebase/bolt/pull/22


Add macros to ease the creation of structures

I'm not a fan, TBH. Macros are a different, library-specific language, are not discoverable (you need to read the docs or the implementation instead of relying on auto-complete), and can interact poorly with IDEs.
They're fine as an alternative, but I wouldn't want todl deprecate the current approach.

are not discoverable (you need to read the docs or the implementation instead of relying on auto-complete)

And no plans to deprecate the public fields in the structs, if users want to create them that way.

Macros are a different, library-specific language, are not discoverable

I can understand this criticism of macros in general. I think it's less problematic here, because I'm hoping that the "library specific language" we use in this case is geojson. I'm not sure if it's viable, but I was envisioning something like theserde_json::json! macro, which is used like this:
// The type of `john` is `serde_json::Value`
let john = json!({
    "name": "John Doe",
    "age": 43,
    "phones": [
        "+44 1234567",
        "+44 2345678"
    ]
});

Yes that macro is using a DSL - but the DSL is JSON. I think it's pretty reasonable for people generating JSON to understand how to read/write JSON. So I'm imagining something like that, but it would be more restrictive than serde_json::json! in that it only accepts valid geojson.
I too am in favor of keeping the idiomatic verbose rust way of building all these structures for those that prefer it. Presumably any DSL would ultimately be building those things anyway.